summaryrefslogtreecommitdiff
path: root/i386
AgeCommit message (Collapse)Author
2013-12-05i386/i386at/kd.c: remove forward declarationsMarin Ramesa
* i386/i386at/kd.c (kd_enqsc, kdcheckmagic, do_modifier, bmpch2bit, bmppaintcsr, bit2fbptr): Remove forward declarations. * i386/i386at/kd.h: Include device/buf.h. Include i386at/kdsoft.h. (kdcheckmagic, do_modifier, bmpch2bit, bmppaintcsr, bit2fbptr): Add prototypes. * i386/i386at/kd_event.h (kd_enqsc): Add prototype.
2013-12-05i386/i386at/conf.c: remove forward declarationsMarin Ramesa
* i386/Makefrag.am: Include i386/i386at/model_dep.h and i386/i386at/mem.h. * i386/i386at/com.h (comgetstat, comsetstat): Declare as extern. (comopen, comclose, comread, comwrite, comportdeath): Add prototypes. * i386/i386at/conf.c: Include kern/mach_clock.h and i386at/model_dep.h. (timeopen, timeclose, timemmap): Remove forward declarations. (kdopen, kdclose, kdread, kdwrite, kdgetstat, kdsetstat, kdportdeath, kdmmap): Likewise. (comopen, comclose, comread, comwrite, comportdeath, comgetstat, comsetstat): Likewise. (lpropen, lprclose, lprread, lprwrite, lprportdeath, lprgetstat, lprsetstat): Likewise. (kbdopen, kbdclose, kbdread, kbdgetstat, kbdsetstat): Likewise. (mouseopen, mouseclose, mouseread, mousegetstat): Likewise. (memmmap): Likewise. (kmsgopen, kmsgclose, kmsgread, kmsggetstat): Likewise. (hypcnopen, hypcnclose, hypcnread, hypcnwrite, hypcnportdeath, hypcngetstat, hypcnsetstat): Likewise. Include i386at/kd.h. Include i386at/com.h. Include i386at/lpr.h. Include i386at/kd_event.h. Include i386at/kd_mouse.h. Include i386at/mem.h. Include device/kmsg.h. Include xen/console.h. * i386/i386at/kd.h: Include device/io_req.h. (kdopen, kdclose, kdread, kdwrite, kdgetstat, kdsetstat, kdportdeath, kdmmap): Add prototypes. * i386/i386at/kd_event.h (kbdopen, kbdclose, kbdread, kbdgetstat, kbdsetstat): Likewise. * i386/i386at/kd_mouse.h (mouseopen, mouseclose, mouseread, mousegetstat): Likewise. * i386/i386at/lpr.h (lpropen, lprclose, lprread, lprwrite, lprportdeath): Likewise. (lprgetstat, lprsetstat): Declare as extern. * i386/i386at/mem.h: New file. Add copyright. [_MEM_H_]: Add ifndef. (memmmap): Add prototype. * i386/i386at/model_dep.c: Include i386/i386at/model_dep.h. (timemmap): Fix argument list. * i386/i386at/model_dep.h: New file. Add copyright. [_MODEL_DEP_H_]: Add ifndef. (timemmap): Add prototype. * kern/mach_clock.h (timeopen, timeclose): Add prototypes. * xen/console.h (hypcnopen, hypcnclose, hypcnread, hypcnwrite, hypcnportdeath, hypcngetstat, hypcnsetstat): Add prototypes.
2013-12-05i386/i386at/autoconf.c, com.c, lpr.c: remove forward declarationsMarin Ramesa
* i386/i386/autoconf.c (comintr, lprintr): Remove forward declarations. Include i386at/com.h. Include i386at/lprreg.h. * i386/i386at/com.c (comprobe, commctl, comstart, comstop, comattach, comintr, comgetstat, comsetstat): Remove forward declarations. * i386/i386at/com.h: Include device/tty.h. (comprobe, commctl, comstart, comstop, comattach, comintr, comgetstat, comsetstat): Add prototypes. * i386/i386at/lpr.c (lprprobe, lprstop, lprintr, lprstart, lprattach, lprgetstat, lprsetstat, lprpr_addr): Remove forward declarations. (lprprobe): Fix argument list. (lprpr): Define argument type. lprpr_addr): Likewise. * i386/i386at/lprreg.h (lprprobe, lprstop, lprintr, lprstart, lprattach, lprgetstat, lprsetstat, lprpr_addr): Add prototypes.
2013-12-05kern/exception.c: remove forward declarationsMarin Ramesa
* i386/i386/trap.h (thread_kdb_return): Add prototype. * kern/exception.c (thread_kdb_return, db_printf): Remove forward declarations. Include machine/trap.h. Include ddb/db_output.h.
2013-12-05kern: new header file exception.hMarin Ramesa
* Makefrag.am: Include kern/exception.h. * i386/i386/trap.c: Include kern/exception.h. (exception, thread_exception_return): Remove forward declarations. * kern/exception.c: Include kern/exception.h. (exception, exception_try_task, exception_no_server, exception_raise, exception_parse_reply, exception_raise_continue, exception_raise_continue_slow, exception_raise_continue_fast): Remove forward declarations. * kern/exception.h: New file. Add copyright. [_KERN_EXCEPTION_H_]: Add ifndef. (exception, exception_try_task, exception_no_server, exception_raise, exception_parse_reply, exception_raise_continue, exception_raise_continue_slow, exception_raise_continue_fast): Add prototypes.
2013-12-05i386/i386/pcb.c: remove forward declarationsMarin Ramesa
* i386/i386/pcb.c (Load_context, Switch_context, Thread_continue, user_ldt_free): Remove forward declarations. * i386/i386/pcb.h (Load_context, Switch_context, Thread_continue): Add prototypes. * i386/i386/user_ldt.h (user_ldt_free): Add prototype.
2013-12-05i386/i386/io_perm.c: remove forward declarationMarin Ramesa
* i386/i386/io_perm.c: Include pcb.h. (update_ktss_iopb): Remove forward declaration. * i386/i386/pcb.h (update_ktss_iopb): Add prototype.
2013-12-05i386/i386/fpu.c, trap.c: remove forward declarationsMarin Ramesa
* i386/i386/fpu.c: Include i386/trap.h. (void i386_exception, fp_save, fp_load): Remove forward declaration. * i386/i386/trap.c (void i386_exception): Remove forward declaration. * i386/i386/trap.h (void i386_exception): Add prototype.
2013-12-05i386/i386/db_trace.c: remove forward declarationMarin Ramesa
* i386/i386/db_interface.h: Include ddb/db_variables.h. (db_i386_reg_value): Add prototype. * i386/i386/db_trace.c (db_i386_reg_value): Remove forward declaration.
2013-12-05ddb/db_command.c: remove forward declarationMarin Ramesa
* ddb/db_command.c (db_reset_cpu): Remove forward declaration. * i386/i386/db_interface.h (db_reset_cpu): Add prototype. * i386/i386at/model_dep.c: Include i386/db_interface.h.
2013-12-05ddb/db_command.c: remove forward declarationsMarin Ramesa
* ddb/db_command.c: Include machine/db_interface.h. (db_help_cmd, db_stack_trace_cmd): Remove forward declarations. * ddb/db_command.h (db_help_cmd): Add prototype. * i386/i386/db_interface.h (db_stack_trace_cmd): Add prototype.
2013-11-24Modify struct db_variableMarin Ramesa
* ddb/db_macro.c (db_arg_variable): Make function void. * ddb/db_macro.h (db_arg_variable): Declare void return. * ddb/db_task_thread.c (db_set_default_thread): Make function void. (db_get_task_thread): Make function void. * ddb/db_variables.c (db_set_default_thread, db_get_task_thread, db_arg_variable): Declare void return. (db_read_write_variable): Use void in initialization. * ddb/db_variables.h (db_variable): Make third member return void. [FCN_NULL]: Define void. * i386/i386/db_trace.c (db_i386_reg_value): Make function void.
2013-11-24Remove leftover register qualifiersMarin Ramesa
* ddb/db_break.c: Remove register qualifiers. * i386/i386/pcb.c: Likewise. * i386/i386at/com.c: Likewise. * i386/i386at/lpr.c: Likewise. * i386/intel/pmap.c: Likewise. * kern/machine.c: Likewise. * kern/queue.h: Likewise. * kern/sched_prim.c: Likewise. * kern/sched_prim.h: Likewise. * kern/timer.c: Likewise. * vm/vm_fault.c: Likewise. * vm/vm_resident.h: Likewise.
2013-11-21i386/i386/db_interface.h: fix implicit declaration of functionMarin Ramesa
* i386/i386/db_interface.h (cnpollc): Add prototype.
2013-11-21i386/i386at/kd.h: fix implicit declaration of functionMarin Ramesa
* i386/i386at/kd.h [MACH_KDB] (kdb_kintr): Add prototype.
2013-11-20i386/i386/trap.c: fix implicit declaration of functionMarin Ramesa
* i386/i386/trap.c: Include machine/db_interface.h.
2013-11-20i386/i386/db_trace.c: don't cast to db_addr_tMarin Ramesa
* i386/i386/db_trace.c (db_check_thread_address_valid): Don't cast argument 1 to db_addr_t.
2013-11-20Comment out db_search_nullSamuel Thibault
* i386/i386/db_interface.c (db_search_null) [!GNU]: Do not define db_search_null.
2013-11-20i386/i386/db_interface.c: add comments after else and endifMarin Ramesa
* i386/i386/db_interface.c [GNU]: Add comments after else and endif.
2013-11-20i386/i386/db_interface.c: remove return valueMarin Ramesa
Void function returns with FALSE. Remove return value. * i386/i386/db_interface.c (db_task_name): Remove return value.
2013-11-20i386/i386/db_trace.c: fix implicit declaration of functionMarin Ramesa
* i386/i386/db_trace.c: Include machine/db_interface.h.
2013-11-20i386/i386/db_interface.c: fix implicit declaration of functionMarin Ramesa
* i386/i386/db_interface.c: Include string.h.
2013-11-20i386/i386/db_interface.c: fix implicit declaration of functionMarin Ramesa
* i386/i386/db_interface.c: Include vm/vm_fault.h.
2013-11-20Fix implicit declaration of functionMarin Ramesa
* ddb/db_sym.c (aout_db_sym_init): Remove forward declaration. * ddb/db_sym.h (aout_db_sym_init): Add prototype. * i386/i386at/model_dep.c (aout_db_sym_init): Fix call. [MACH_KDB]: Include ddb/db_sym.h. [MACH_KDB]: Add comment after else and endif.
2013-11-20Drop volatile function qualifierSamuel Thibault
* i386/i386/setjmp.h (_longjmp): Drop volatile function qualifier.
2013-11-17Remove dead codeSamuel Thibault
Thanks Marin Ramesa for the report. * i386/i386/user_ldt.c (selector_check): Remove function. * i386/i386/user_ldt.h (S_CODE, S_STACK, S_DATA): Remove macros. (selector_check): Remove declaration.
2013-11-15i386/intel/read_fault.c: remove register qualifierMarin Ramesa
* i386/intel/read_fault.c: Remove register qualifier.
2013-11-15i386/intel/pmap.h: remove register qualifiersMarin Ramesa
* i386/intel/pmap.h: Remove register qualifiers.
2013-11-15i386/intel/pmap.c: remove register qualifiersMarin Ramesa
* i386/intel/pmap.c: Remove register qualifiers.
2013-11-15i386/i386at/rtc.h: remove register qualifiersMarin Ramesa
* i386/i386at/rtc.h: Remove register qualifiers.
2013-11-15i386/i386at/rtc.c: remove register qualifierMarin Ramesa
* i386/i386at/rtc.c: Remove register qualifier.
2013-11-15i386/i386at/lpr.c: remove register qualifierMarin Ramesa
* i386/i386at/lpr.c: Remove register qualifier.
2013-11-15i386/i386at/kd_mouse.c: remove register qualifiersMarin Ramesa
* i386/i386at/kd_mouse.c: Remove register qualifiers.
2013-11-15i386/i386at/kd.c: remove register qualifiersMarin Ramesa
* i386/i386at/kd.c: Remove register qualifiers.
2013-11-15i386/i386at/kd_event.c: remove register qualifiersMarin Ramesa
* i386/i386at/kd_event.c: Remove register qualifiers.
2013-11-15i386/i386at/int_init.h: add comment after endifMarin Ramesa
* i386/i386at/int_init.h (__ASSEMBLER__): Add comment after endif.
2013-11-15i386/i386at/idt.h: add comment after endifMarin Ramesa
* i386/i386at/idt.h (__ASSEMBLER__): Add comment after endif.
2013-11-15i386/i386at/com.c: remove register qualifiersMarin Ramesa
* i386/i386at/com.c: Remove register qualifiers.
2013-11-15i386/i386at/com.c: trivial stylistic fix for consistencyMarin Ramesa
* i386/i386at/com.c: Trivial stylistic fix for consistency.
2013-11-15i386/i386at/autoconf.c: remove register qualifiersMarin Ramesa
* i386/i386at/autoconf.c: Remove register qualifiers.
2013-11-15i386/i386/trap.c: remove register qualifiersMarin Ramesa
* i386/i386/trap.c: Remove register qualifiers.
2013-11-15i386/i386/thread.h: add comment after endifMarin Ramesa
* i386/i386/thread.h (LINUX_DEV): Add comment after endif.
2013-11-15i386/i386/pic.h: add comment after endifMarin Ramesa
* i386/i386/pic.h (__ASSEMBLER__): Add comment after endif.
2013-11-15i386/i386/pcb.c: remove register qualifiersMarin Ramesa
* i386/i386/pcb.c: Remove register qualifiers.
2013-11-15i386/i386/mp_desc.c: remove register qualifiersMarin Ramesa
* i386/i386/mp_desc.c: Remove register qualifiers.
2013-11-15i386/i386/machine_routines.h: add comment after endifMarin Ramesa
* i386/i386/machine_routines.h (_I386_MACHINE_ROUTINES_H_): Add comment after endif.
2013-11-15i386/i386/loose_ends.c: remove unused variableMarin Ramesa
* i386/i386/loose_ends.c (boothowto): Remove unused variable.
2013-11-15i386/i386/loose_ends.c: add comment after endifMarin Ramesa
* i386/i386/loose_ends.c (NDEBUG): Add comment after endif.
2013-11-15i386/i386/lock.h: remove register quaalifierMarin Ramesa
* i386/i386/lock.h: Remove register qualifier.
2013-11-15i386/i386/kttd_interface.c: trivial stylistic fix for consistencyMarin Ramesa
* i386/i386/kttd_interface.c: Trivial stylistic fix for consistency.