Age | Commit message (Collapse) | Author |
|
* include/sys/types.h (int8_t, uint8_t, u_int8_t, int16_t, uint16_t,
u_int16_t, int32_t, uint32_t, u_int32_t, int64_t, uint64_t,
u_int64_t): New types.
|
|
* i386/i386/db_interface.c (db_read_bytes): Do not increment the
address before printing it.
|
|
* i386/i386/db_disasm.c (Iba): New macro.
(db_inst_table): Use Iba for aam and aad instructions.
(db_disasm): Decode operands for Iba case.
|
|
* device/dev_pager.c (device_pager_data_request,
device_pager_data_request_done, device_pager_init_pager): Fix printf
formats.
* i386/i386/debug_i386.c (dump_ss): Likewise.
* i386/i386/trap.c (user_trap): Likewise.
* i386/i386at/com.c (comtimer): Likewise.
* ipc/ipc_notify (ipc_notify_port_deleted, ipc_notify_msg_accepted,
ipc_notify_port_destroyed, ipc_notify_no_senders,
ipc_notify_send_once, ipc_notify_dead_name): Likewise.
* kern/ipc_kobject.c (ipc_kobject_destroy): Likewise.
* kern/sched_prim.c (do_runq_scan): Likewise.
* linux/pcmcia-cs/clients/smc91c92_cs.c (smc_start_xmit): Likewise.
* linux/src/drivers/net/sundance.c (start_tx): Likewise.
* vm/vm_fault.c (vm_fault_page): Likewise.
* vm/vm_map.c (vm_map_pmap_enter): Likewise.
* vm/vm_object.c (vm_object_collapse): Likewise.
|
|
* ipc/mach_port.h: New header.
* ipc/mach_port.c: Include <ipc/mach_port.h>.
(mach_port_get_receive_status): Add forward declaration.
* kern/bootstrap.c: Include <ipc/mach_port.h>.
* kern/ipc_mig.c: Likewise.
* kern/syscall_sw.c: Likewise.
|
|
* i386/i386/model_dep.h: New header.
* i386/i386at/model_dep.c: Include <i386/model_dep.h>.
* kern/debug.c: Include <machine/model_dep.h>.
* kern/mach_clock.c: Likewise.
* kern/sched_prim.c: Likewise.
* kern/startup.c: Likewise.
* kern/machine.c: Likewise.
(halt_cpu): Remove prototype.
* vm/pmap.h (pmap_grab_page): Add prototype.
|
|
* device/chario.c: Include <vm/vm_user.h>
* device/device_init.c (chario_init): Remove prototype.
* device/tty.h (ttyinput_many, tty_cts, tty_get_status,
tty_set_status, tty_flush, ttrstrt, ttstart, ttyclose, tty_portdeath,
chario_init): Add prototypes.
|
|
* ipc/ipc_kmsg.c: Include <vm/vm_user.h> and <ipc/ipc_hash.h>.
* ipc/ipc_mqueue (ipc_mqueue_copyin): Add prototype.
* kern/bootstrap.c: Include <vm/vm_user.h>.
* kern/exceptions.c: Include <ipc/ipc_notify.h>.
* kern/ipc_kobject.h (ipc_kobject_notify): Add prototype.
* kern/ipc_mig.c: Include <device/dev_hdr.h>.
* kern/pc_sample.c: Include <machine/trap.h>.
* kern/printf.h (safe_gets): Add prototype.
* kern/processor.c: Include <kern/ipc_tt.h>.
* kern/queue.h (insque): Add prototype.
* kern/startup.c: Include <kern/mach_factor.h> and <kern/xpr.h>.
* kern/thread.h (thread_start, kernel_thread, thread_priority,
thread_set_own_priority, thread_max_priority, thread_policy,
consider_thread_collect, stack_privilege): Add prototypes.
* kern/timer.h (timer_normalize, timer_init, init_timers): Add
prototypes.
* vm/vm_map.h (vm_map_lookup_entry, vm_map_entry_delete): Add
prototypes.
|
|
* kern/time_stamp.h (timestamp_init): Add prototype.
* kern/startup.c: Include <kern/time_stamp.h>.
|
|
* kern/priority.c: Include <kern/sched_prim.h>.
* kern/sched_prim.c (recompute_priorities, update_priority): Remove
prototypes.
* kern/sched_prim.h (update_priority, compute_my_priority): Add
prototypes.
|
|
* kern/ipc_kobject.c: Include <vm/vm_object.h>
* vm/vm_object.h: Include <sys/types.h> and <ipc/ipc_types.h>.
(vm_object_coalesce, vm_object_pager_wakeup): Add prototypes.
|
|
* i386/i386at/kd.h (kd_isupper, kd_islower, kd_senddata, kd_sendcmd,
kd_cmdreg_write, kd_mouse_drain, set_kd_state, kd_setleds1, kd_setleds2,
cnsetleds, kdreboot, kd_putc, kd_parseesc, kd_down, kd_up, kd_cr,
kd_tab, kd_left, kd_right, kd_scrollup, kd_scrolldn, kd_cls, kd_home,
kd_atoi, kd_insch, kd_cltobcur, kd_cltopcur, kd_cltoecur, kd_clfrbcur,
kd_eraseln, kd_insln, kd_delln, kd_delch, kd_erase, kd_bellon,
kd_belloff, kdinit, kdsetkbent, kdgetkbent, kdsetbell, kd_resend,
kd_handle_ack, kd_kbd_magic, kdstate2idx, kd_parserest, kdcnmaygetc,
kd_slmwd, kd_slmscu, kd_slmscd): Add prototypes.
* i386/i386at/kd.c (do_modifier): Add prototype.
|
|
* device/net_io.h (net_ast): Add prototype.
* ipc/ipc_kmsg.c: Include <device/net_io.h>
* kern/ast.c: Include <device/net_io.h>
|
|
* device/ds_routine.h (ds_notify): Add prototype.
* kern/ipc_kobject.c: Include <device/ds_routines.h>
|
|
* device/ds_routines.c: Include <machine/locore.h>
* ipc/ipc_kmsg.c: Likewise.
* kern/bootstrap.c: Likewise.
* kern/exception.c: Likewise.
* kern/ipc_mig.c: Likewise.
* kern/sched_prim.c: Likewise.
* kern/time_stamp.c: Likewise.
* vm/vm_kern.c: Likewise.
|
|
* device/cons.c (cnputc): Turn parameter `c' into a char.
* device/cons.h (cninit, cngetc, cnmaygetc, cnputc): Add prototypes.
* i386/i386at/model_dep.c: Include <device/cons.h>
* kern/printf.c: Include <device/cons.h>
(cnputc): Remove prototype.
(vprintf, iprintf): Explicitely cast cnputc into the type _doprnt
expects.
* linux/dev/kernel/printk.c: Include <device/cons.h>
(cnputc): Remove prototype.
|
|
initialization after ring initialization.
|
|
* linux/dev/include/asm/segment.h (__put_user, __get_user): Add
always_inline attribute.
|
|
* i386/i386/fpu.c (fpintr): Do not panic if the we receive the
interrupt twice in the same thread.
|
|
[bug #23417, patch #6508 -- Building with -g3]
* Makefile.am (MIGCOM): Revert the 2008-05-19 change.
|
|
* ddb/db_aout.c (aout_db_symbol_values): Add stab parameter.
* ddb/db_sym.h (db_sym_switch): Add stab parameter to symbol_values
member.
(X_db_symbol_values): Pass stab parameter to symbole_values function.
|
|
[patch #6508 -- Building with -g3]
* Makefile.am (MIGCOM): Let it filter through CPP again.
Suggested by Andrei Barbu <teval0@gmail.com>.
|
|
* i386/i386/loose_ends.c (DELAY): Use volatile qualifier instead of
register to prevent optimization.
|
|
|
|
|
|
Mastering if not enabled by BIOS.
|
|
* linux/dev/glue/block.c (MAX_BUF): Set to sane stack-friendly 8
instead of blindly following VM_MAP_COPY_PAGE_LIST_MAX.
(rdwr_full): increment blk by cc >> bshift instead of nb.
|
|
* kern/debug.c (panic) [MACH_KDB]: Don't wait before running the
debugger.
|
|
* linux/dev/include/linux/nfs.h: Remove unused file.
* linux/src/include/linux/nfs.h: Likewise.
|
|
* i386/Makefrag.am (i386/i386at/boothdr.o, i386/i386at/interrupt.o)
(i386/i386/cswitch.o, i386/i386/locore.o): Remove targets.
* configure.ac <Dependency tracking for `.S' files>: Add a hack to
re-add the four targets with have been removed above for the (legacy)
case only where they are actually needed.
|
|
* i386/Makefrag.am (i386/i386at/interrupt.o): New target, depends on
i386/i386/i386asm.h
(i386/i386/cswitch.o): Likewise.
(i386/i386/locore.o): Likewise.
|
|
* i386/intel/pmap.c (pmap_map_bd): Use
INTEL_PTE_NCACHE|INTEL_PTE_WTHRU. Get pmap lock.
|
|
* ddb/db_examine.c (db_strcpy): Add extra parentheses around
assignment used as boolean.
* ddb/db_sym.c (db_qualify, db_lookup): Likewise.
|
|
* doc/mach.texi: Do the copyright and licensing things as suggested by
the GNU Texinfo manual.
|
|
* linux/dev/glue/net.c (device_open) <LINUX_IFF_ALLMULTI>: Comment.
|
|
* linux/dev/glue/net.c (device_open): Set LINUX_IFF_ALLMULTI flag
on device and propagate.
|
|
* kern/zalloc.c (zget_space): Fix last change.
|
|
* kern/zalloc.c (zget_space): Align zalloc_next_space again after
calling kmem_alloc_wired (which may sleep).
|
|
* Makefile.am (clib_routines): Add udivdi3, __udivdi3 and _end. Fix
edata into _edata.
(gnumach-undef): Do not remove heading _s.
(clib-routines.o): Add -lgcc.
|
|
* i386/i386/db_interface.c (int_regs): Drop gs and fs fields.
(kdb_kentry): Get fs and gs from struct i386_interrupt_state instead of
struct int_regs.
* i386/i386/kttd_interface.c (int_regs, kttd_netentry): Likewise.
* i386/i386/locore.S (all_intrs): Save fs and gs and set them to kernel
segment too.
(return_to_iret): Restore fs and gs too.
(return_to_iret_i): Likewise.
(ast_from_interrupt): Set fs and gs to kernel segment too.
(kdb_from_iret): Don't save/restore fs and gs either.
(ttd_from_iret): Likewise.
* i386/i386/thread.h (i386_interrupt_state): Add gs and fs fields.
* linux/src/include/asm-i386/irq.h (SAVE_ALL): Set gs to kernel
segment too.
|
|
* linux/dev/arch/i386/kernel/irq.c: Include <asm/hardirq.h>.
(local_bh_count, local_irq_count, global_irq_holder, global_irq_lock)
(global_irq_count, check_smp_invalidate, show, wait_on_bh)
(wait_on_irq, synchronize_bh, synchronize_irq, get_irqlock)
(__global_cli, __global_sti, __global_save_flags)
(__global_restore_flags): New variables and functions from Linux 2.2
* linux/src/drivers/net/3c515.c (test_and_set_bit): Remove macro.
* linux/src/drivers/net/de4x5.c (test_and_set_bit): Remove macro.
* linux/src/drivers/net/eth16i.c (test_and_set_bit): Remove macro.
* linux/src/drivers/net/kern_compat.h (test_and_set_bit): Remove macro.
* linux/src/drivers/net/pcnet32.c (test_and_set_bit): Remove macro.
* linux/src/include/linux/compatmac.h (test_and_set_bit)
(test_and_clear_bit): Remove macro.
* linux/src/include/asm-i386/atomic.h (atomic_read): New macro.
* linux/src/include/asm-i386/bitops.h (test_and_set_bit)
(test_and_clear_bit, test_and_change_bit): New inline functions.
* linux/src/include/asm-i386/hardirq.h (local_bh_count): New
declaration.
* linux/src/include/linux/tasks.h (NR_CPUS): Set to NCPUS.
(NO_PROC_ID): New macro.
|
|
* configfrag.ac (mach_ncpus): Define to 1.
(NCPUS): Set to $mach_ncpus.
[$mach_ncpus > 1] (MULTIPROCESSOR): Set to 1.
* linux/configfrag.ac [$mach_ncpus > 1] (__SMP__): Define.
|
|
* linux/dev/include/asm-i386/system.h: Update to Linux 2.2 for SMP.
|
|
* linux/pcmcia-cs/modules/cs_internal.h: Use __SMP__ instead of
USE_SPIN_LOCKS.
* linux/pcmcia-cs/modules/i82365.c: Likewise.
* linux/pcmcia-cs/modules/rsrc_mgr.c: Likewise.
|
|
* linux/dev/init/main.c [__SMP__ && __i386] (smp_loops_per_tick):
Restore variable.
|
|
* linux/dev/include/asm-i386/smp.h: New file.
|
|
* i386/linux/dev/include/linux/autoconf.h [NCPUS > 1]: Define
CONFIG_SMP and __SMP__.
|
|
* i386/i386/mp_desc.c: (cpu_control, interrupt_processor, cpu_start)
(start_other_cpus): New functions.
* i386/i386/i386asm.sym (MP_GDT, MP_IDT): Remove macros.
* i386/i386/lock.h: Don't include_next "lock.h".
|
|
* i386/i386at/model_dep.c: Make init_alloc_aligned() extern.
|
|
* i386/i386/cswitch.S: Use EXT(interrupt_stack) instead of
_interrupt_stack.
|