|
|
1.1.1.8 ! root 1: 2015-10-31 Thomas Schwinge <[email protected]> ! 2: ! 3: GNU Mach 1.6 ! 4: * version.m4 (AC_PACKAGE_VERSION): Set to 1.6. ! 5: * NEWS: Finalize for 1.6. ! 6: ! 7: 2015-10-31 Thomas Schwinge <[email protected]> ! 8: ! 9: Rework *.msgids handling when neither client nor server stubs are required ! 10: Originally added in commit 255c47e669819f153c722c98a230f6fe4e6ece08, but "make ! 11: distcheck" didn't like that: ! 12: ! 13: [...] ! 14: ERROR: files left in build directory after distclean: ! 15: ./ipc/notify.msgids ! 16: Makefile:7489: recipe for target 'distcleancheck' failed ! 17: make[1]: *** [distcleancheck] Error 1 ! 18: make[1]: Leaving directory '[...]/gnumach/release.build/gnumach-1.5/_build/sub' ! 19: Makefile:7416: recipe for target 'distcheck' failed ! 20: make: *** [distcheck] Error 1 ! 21: ! 22: Instead of special-casing that, generalize the Makefile rules. ! 23: ! 24: * Makefrag.am (nodist_lib_dep_tr_for_defs_a_SOURCES): Add ! 25: ipc/notify.none.defs.c. ! 26: (nodist_libkernel_a_SOURCES): Add ipc/notify.none.msgids. ! 27: (gnumach.msgids): Remove ipc/notify.msgids prerequisite. ! 28: * Makerules.mig.am (%.msgids): Remove rule, and instead... ! 29: (%.none.defs.c, %.none.msgids): ... add these rules. ! 30: ! 31: 2015-10-05 Justus Winter <[email protected]> ! 32: ! 33: Update NEWS file ! 34: ! 35: 2015-10-05 Samuel Thibault <[email protected]> ! 36: ! 37: Fix time going back in Xen case ! 38: when backward time correction happens to get bigger than the tick duration. ! 39: ! 40: * kern/mach_clock.c (clock_interrupt): When `tickdelta' is bigger than `usec', ! 41: truncate it to `usec-1'. ! 42: ! 43: 2015-10-05 Joshua Branson <[email protected]> ! 44: ! 45: Add generated mach documentation files to gitignore ! 46: * .gitignore: Add doc/mach.aux doc/mach.cp doc/mach.cps doc/mach.fn ! 47: doc/mach.fns doc/mach.ky doc/mach.log doc/mach.pdf doc/mach.pg doc/mach.toc ! 48: doc/mach.tp doc/mach.vr. ! 49: ! 50: 2015-09-29 Justus Winter <[email protected]> ! 51: ! 52: kern/slab: print total used and reclaimable memory ! 53: * kern/slab.c (_slab_info): Print total used and reclaimable memory. ! 54: ! 55: kern/slab: include flags in the slab information ! 56: * kern/slab.c (_slab_info): Include flags in the slab information. ! 57: ! 58: ddb: fix line formatting ! 59: * ddb/db_output.c (db_putchar): Fix off-by-one, allowing one more ! 60: character to be printed before the newline is inserted. ! 61: ! 62: ddb: add new command `show slabinfo' ! 63: * ddb/db_command.c (db_show_cmds): Add `slabinfo'. ! 64: * kern/slab.c (slab_info): Generalize so that it can be used with ! 65: different printf-like functions, and turn it into a static function. ! 66: (slab_info): New wrapper retaining the old behaviour. ! 67: (db_show_slab_info): New wrapper that uses `db_printf' instead. ! 68: * kern/slab.h (db_show_slab_info): New declaration. ! 69: ! 70: 2015-09-27 Justus Winter <[email protected]> ! 71: ! 72: i386: trace syscalls of a single task ! 73: * i386/i386/debug_i386.c (syscall_trace_task): New variable. ! 74: (syscall_trace_print): If set, trace only syscalls from this task. ! 75: ! 76: i386: improve syscall tracing ! 77: * kern/syscall_sw.h (mach_trap_t): Turn unused field into `mach_trap_name'. ! 78: (MACH_TRAP, MACH_TRAP_STACK): Record name. ! 79: * i386/i386/debug_i386.c (syscall_trace_print): Use the name and ! 80: format the arguments to look like c. ! 81: ! 82: Fix build with -DDEBUG ! 83: * device/cirbuf.c: Add missing include. ! 84: * i386/i386/debug.h (dump_ss): Hide declaration from assembler. ! 85: * i386/i386/debug_i386.c: Fix include. ! 86: * kern/sched_prim.h: Add missing include, fix declaration. ! 87: ! 88: kern/bootstrap: drop into the debugger ! 89: * kern/bootstrap.c (boot_script_prompt_task_resume): Drop into the ! 90: debugger instead of merely waiting for return using `safe_gets', which ! 91: disables interrupts, making it impossible to break into the debugger ! 92: using the magic keys. ! 93: ! 94: 2015-09-19 Flávio Cruz <[email protected]> ! 95: ! 96: Add macros to convert between time_value_t and timespec ! 97: * include/mach/time_value.h (TIME_VALUE_TO_TIMESPEC, ! 98: TIMESPEC_TO_TIME_VALUE): New macros ! 99: ! 100: 2015-09-07 Justus Winter <[email protected]> ! 101: ! 102: kern: use proper memory fences when handling the mapped time ! 103: * include/mach/time_value.h (struct mapped_time_value): Adjust comment. ! 104: * kern/mach_clock.c (mtime): Likewise. Also make it volatile. ! 105: (update_mapped_time): Use full hardware barriers. ! 106: (read_mapped_time): New macro with proper fences. ! 107: (record_time_stamp, host_get_time): Use the new macro. ! 108: ! 109: 2015-09-07 Justus Winter <[email protected]> ! 110: ! 111: kern: fix loop reading the time value ! 112: Previously, recent versions of gcc would hoist the loads out of the ! 113: loop reading the time value. ! 114: ! 115: * kern/macros.h (access_once): New macro. ! 116: * kern/mach_clock.c (host_get_time): Use the new macro to prevent the ! 117: loads from being hoisted out of the loop. ! 118: ! 119: 2015-09-07 Rik van Riel <[email protected]> ! 120: ! 121: commit fce798016c4bd2be89b86b0d343ab54505409412 ! 122: [PATCH] advansys.c buffer overflow ! 123: ! 124: The Stanford checker found an error in advansys.c, the driver ! 125: is accessing field 6 in an array[6]. Since this is the only ! 126: place where this field is accessed it should be safe to simply ! 127: remove this line. ! 128: ! 129: 2015-08-31 Samuel Thibault <[email protected]> ! 130: ! 131: Reserve 64k at beginning of memory, not just 4k ! 132: Linux does this to be extra careful with some BIOSes which apparently ! 133: spuriously write between 4k and 64k. ! 134: ! 135: * i386/i386at/model_dep.c (RESERVED_BIOS): New macro. ! 136: (avail_next, mem_size_init, init_alloc_aligned): Use RESERVED_BIOS instead ! 137: of hardcoded 0x1000. ! 138: ! 139: 2015-08-30 James Clarke <[email protected]> ! 140: ! 141: Fix printk not handling ANSI escape codes ! 142: * i386/i386at/kd.c (kdstart): Moved escape sequence handling to new ! 143: kd_putc_esc function. ! 144: (kd_putc_esc): New function with logic from kdstart. ! 145: (kdcnputc): Call kd_putc_esc rather than kd_putc to allow for ANSI ! 146: escape codes. ! 147: * i386/i386at/kd.h (kd_putc_esc): New function. ! 148: ! 149: 2015-08-28 Flávio Cruz <[email protected]> ! 150: ! 151: Make sure the reply port's reference is released when the thread needs to be halted. ! 152: * kern/thread.h (thread_halt_self): Add continuation_t parameter. ! 153: * kern/thread.c (thread_halt_self): Pass continuation_t parameter to ! 154: thread_block instead of thread_exception_return. ! 155: * kern/ast.c (ast_taken): Pass thread_exception_return to thread_halt_self. ! 156: * kern/profile.c (profile_thread): Likewise. ! 157: * kern/exception.c (exception_no_server): Likewise. ! 158: (thread_release_and_exception_return): New function. ! 159: (exception_raise_continue_slow): Pass thread_release_and_exception_return to ! 160: thread_halt_self. ! 161: ! 162: 2015-08-28 Flávio Cruz <[email protected]> ! 163: ! 164: Add a thread_no_continuation definition ! 165: to replace the use of the NULL pointer. ! 166: ! 167: * kern/sched_prim.h (thread_no_continuation): New macro. ! 168: * kern/machine.c (processor_assign, processor_doaction): Use ! 169: thread_no_continuation instead of 0. ! 170: * kern/profile.c (send_last_sample_buf): Likewise ! 171: * kern/sched_prim.c (thread_sleep, thread_invoke, thread_dispatch): ! 172: Likewise. ! 173: * kern/task.c (task_terminate, task_assign): Likewise. ! 174: * kern/thread.c (thread_suspend): Likewise. ! 175: * kern/thread.h (struct thread): Change type of swap_func field to ! 176: continuation_t. ! 177: ! 178: 2015-08-20 Justus Winter <[email protected]> ! 179: ! 180: kern/bootstrap: tune locking ! 181: * kern/bootstrap.c (boot_script_exec_cmd): Avoid holding the lock ! 182: across the call to `thread_create'. ! 183: ! 184: i386: enable assertions ! 185: * i386/intel/pmap.c (pmap_page_protect): Enable assertions. ! 186: (phys_attribute_clear, phys_attribute_test): Likewise. ! 187: ! 188: kern: really zero-out unused simple lock info entries ! 189: * kern/lock.c (simple_unlock): Really zero-out unused simple lock info ! 190: entries. ! 191: ! 192: 2015-08-18 Justus Winter <[email protected]> ! 193: ! 194: i386: fix panic message ! 195: * i386/intel/pmap.c (pmap_page_protect): Fix function name in panic ! 196: message. ! 197: ! 198: vm: collapse unreachable branch into assertion ! 199: * vm/vm_object.c (vm_object_collapse): Collapse unreachable branch ! 200: into assertion. ! 201: ! 202: 2015-08-17 Justus Winter <[email protected]> ! 203: ! 204: kern: keep track of the writer when debugging locks ! 205: * configfrag.ac (MACH_LDEBUG): Adjust comment, we use it to sanity ! 206: check all locks now. ! 207: * kern/lock.c (lock_write): Keep track of the writer thread. ! 208: (lock_done): Clear writer. ! 209: (lock_read_to_write): Keep track of the writer thread. ! 210: (lock_write_to_read): Assert that the current thread holds the lock. ! 211: Clear writer. ! 212: (lock_try_write): Keep track of the writer thread. ! 213: (lock_try_read_to_write): Likewise. ! 214: (lock_set_recursive): Assert that the current thread holds the lock. ! 215: * kern/lock.h (struct lock): New field `writer'. ! 216: (have_read_lock, have_write_lock, have_lock): New macros that can be ! 217: used to assert that the current thread holds the given lock. If ! 218: MACH_LDEBUG is not set, they evaluate to true. ! 219: ! 220: 2015-08-17 Justus Winter <[email protected]> ! 221: ! 222: kern: improve simple lock debugging ! 223: Do not bother saving the return address when acquire a simple lock. ! 224: Save the location as provided by the compiler as string instead. Also ! 225: save the lock parameter. ! 226: ! 227: * kern/lock.c (struct simple_locks_info): Drop `ra', add `expr', `loc'. ! 228: (simple_lock): Rename to `_simple_lock', add expression and location ! 229: parameters and save them. ! 230: (simple_lock_try): Likewise. ! 231: (simple_unlock): Zero-out the now unused slot in the list of taken locks. ! 232: (db_show_all_slocks): Use the new information. ! 233: * kern/lock.h (simple_lock, simple_lock_try): Provide macro versions ! 234: passing the location and expression as string. ! 235: ! 236: 2015-08-17 Justus Winter <[email protected]> ! 237: ! 238: kern: disable the simple lock checks while debugging ! 239: * kern/lock.c (do_check_simple_locks): New variable. ! 240: (check_simple_locks): Make check conditional. ! 241: (check_simple_locks_{en,dis}able): New functions. ! 242: * kern/lock.h (check_simple_locks_{en,dis}able): New declarations. ! 243: * ddb/db_trap.c (db_task_trap): Disable simple lock checks. ! 244: ! 245: 2015-08-15 Justus Winter <[email protected]> ! 246: ! 247: vm: fix compiler warning ! 248: * vm/vm_user.c (vm_wire): Drop unused but set variable `host'. ! 249: ! 250: vm: enable extra assertions ! 251: * vm/vm_fault.c (vm_fault_page): Enable extra assertions. ! 252: ! 253: Avoid re-defining macros ! 254: * kern/macros.h: Avoid re-defining macros. ! 255: * linux/src/include/linux/compiler-gcc.h: Likewise. ! 256: * linux/src/include/linux/compiler.h: Likewise. ! 257: ! 258: 2015-07-25 Justus Winter <[email protected]> ! 259: ! 260: kern: add boot-time clock, use it for time stamps ! 261: The kernel keeps track of task and thread creation times by saving a ! 262: time stamp. Previously, the real-time clock was used for this. When ! 263: the real-time clock is changed, however, the reference frame for the ! 264: time stamps is lost. This surfaced in Hurd systems reporting ! 265: spuriously long uptimes. ! 266: ! 267: Fix this by creating a boot-time clock and use it as reference frame ! 268: for the time stamps. ! 269: ! 270: * kern/mach_clock.c (clock_boottime_offset): Create clock by keeping ! 271: track of the offset from the real-time. ! 272: (clock_boottime_update): New function. ! 273: (record_time_stamp): Use the boot-time clock for time stamps. ! 274: (read_time_stamp): New function to convert it back to real-time. ! 275: (host_set_time): Call `clock_boottime_update'. ! 276: * kern/mach_clock.h (record_time_stamp): Amend comment. ! 277: (read_time_stamp): New declaration. ! 278: * kern/task.c (task_info): Use `read_time_stamp'. ! 279: * kern/thread.c (thread_info): Likewise. ! 280: ! 281: 2015-07-25 Justus Winter <[email protected]> ! 282: ! 283: include: provide time-value substraction ! 284: * include/mach/time_value.h (time_value_assert): New macro to assert ! 285: that the given value is well-formed. ! 286: (time_value_add_usec): Use the new macro. ! 287: (time_value_sub_usec): New macro. ! 288: (time_value_add): Use `time_value_add_usec'. ! 289: (time_value_sub_usec): New macro. ! 290: ! 291: kern/lock: make sure the macros are only used on simple locks ! 292: * kern/lock.h (struct slock, simple_lock_data_empty): Add field ! 293: `is_a_simple_lock'. ! 294: (simple_lock_assert): New macro that tests for `is_a_simple_lock'. ! 295: Use this macro to assert that the arguments to various other macros ! 296: are indeed simple locks. ! 297: ! 298: Disable the kernel tracing system XPR ! 299: * configfrag.ac (XPR_DEBUG): Disable tracing system. ! 300: ! 301: ipc/space: inline reference counting ! 302: * ipc/ipc_space.h (is_{reference,release}): Use the macro variant. ! 303: ! 304: Make sure the field offsets are updated ! 305: * Makerules.am: Make sure the field offsets are updated. ! 306: ! 307: 2015-07-20 Justus Winter <[email protected]> ! 308: ! 309: kern/bootstrap: deallocate thread ! 310: Previously, killing the thread would fail because of the extra ! 311: reference, making task_terminate loop forever. ! 312: ! 313: * kern/bootstrap.c (boot_script_exec_command): Deallocate thread. ! 314: ! 315: 2015-07-19 Justus Winter <[email protected]> ! 316: ! 317: kern/bootstrap: deallocate task ! 318: * kern/bootstrap.c (boot_script_free_task): Deallocate task. ! 319: ! 320: 2015-07-18 Justus Winter <[email protected]> ! 321: ! 322: linux/net: fix build with -O0 ! 323: * linux/src/drivers/net/pci-scan.c: Avoid #erroring out. ! 324: ! 325: 2015-07-18 Justus Winter <[email protected]> ! 326: ! 327: kern/printf: do not serialize printf and co ! 328: A lot of code assumes that printf is re-entrant, e.g. the pagination ! 329: code in the debugger, or any use of assert inside the console driver. ! 330: ! 331: * kern/printf.c: Drop the lock serializing calls to `_doprnt'. ! 332: (printf_init): Remove function. ! 333: * kern/printf.h (printf_init): Remove declaration. ! 334: * kern/startup.c (setup_main): Remove call to `printf_init'. ! 335: ! 336: 2015-07-18 Justus Winter <[email protected]> ! 337: ! 338: kern/lock: use compiler built-in functions to get return address ! 339: * kern/lock.c (struct simple_locks_info): Fix type of `ra'. ! 340: (simple_lock, simple_lock_try): Use compiler built-in functions to get ! 341: return address. ! 342: ! 343: kern/bootstrap: fix locking ! 344: * kern/bootstrap.c (boot_script_exec_cmd): Add missing unlock. ! 345: (user_bootstrap): Likewise. ! 346: ! 347: kern/slab: fix locking ! 348: * kern/slab.c (host_slab_info): Fix locking. ! 349: ! 350: 2015-07-15 Justus Winter <[email protected]> ! 351: ! 352: ipc: use a general lock to protect IPC spaces ! 353: This fixes a corruption in the radix trees representing the IPC spaces ! 354: when memory was tight. ! 355: ! 356: * ipc/ipc_space.h: Use a general lock to protect IPC spaces. ! 357: ! 358: 2015-07-15 Justus Winter <[email protected]> ! 359: ! 360: ipc: fix the locking of the IPC entry allocation functions ! 361: * ipc/ipc_entry.c (ipc_entry_alloc): Assume the space is write-locked. ! 362: (ipc_entry_alloc_name): Likewise. ! 363: * ipc/ipc_object.c: Fix the locking around all call sites to the two ! 364: functions where the space was not locked before. ! 365: ! 366: i386: fix typo ! 367: * i386/intel/pmap.c: Fix typo. ! 368: ! 369: 2015-07-12 Justus Winter <[email protected]> ! 370: ! 371: ipc: avoid kmem_alloc ! 372: * ipc/ipc_table.c (ipc_table_alloc): Unconditionally use `kalloc'. ! 373: (ipc_table_free): Unconditionally use `kfree'. ! 374: ! 375: 2015-07-12 Justus Winter <[email protected]> ! 376: ! 377: vm: really fix traversing the list of inactive pages ! 378: Previously, the pageout code traversed the list of pages in an object ! 379: instead of the list of inactive pages. ! 380: ! 381: * vm/vm_pageout.c (vm_pageout_scan): Fix traversing the list of ! 382: inactive pages. ! 383: ! 384: 2015-07-11 Justus Winter <[email protected]> ! 385: ! 386: kern: make sure the queue macros are only used on queues ! 387: This turns mistakes as the one corrected in e59f05e9 into compile-time ! 388: errors. ! 389: ! 390: * kern/queue.h: Add a new macro, queue_assert, and use it to assert ! 391: that all arguments given to the queue macros have the correct type. ! 392: * device/net_io.c (ENQUEUE_DEAD): Adapt to the fact that ! 393: `queue_next(q)' is no longer an lvalue. ! 394: ! 395: 2015-07-11 Justus Winter <[email protected]> ! 396: ! 397: vm: fix traversing the list of inactive pages ! 398: Previously, the pageout code traversed the hash table chain instead of ! 399: the list of inactive pages. The code merely compiled by accident, ! 400: because the `struct page' also has a field called `next' for the hash ! 401: table chain. ! 402: ! 403: * vm/vm_pageout.c (vm_pageout_scan): Fix traversing the list of ! 404: inactive pages. ! 405: ! 406: 2015-07-10 Justus Winter <[email protected]> ! 407: ! 408: vm: drop debugging remnants ! 409: * vm/vm_object.c (vm_object_terminate): Drop debugging remnants. ! 410: ! 411: kern: make printf handle long long integers ! 412: * Makefile.am (clib_routines): Steal `__umoddi3'. ! 413: * kern/printf.c (MAXBUF): Increase size. ! 414: (printnum, _doprnt): Handle long long integers. ! 415: * kern/printf.h (printnum): Adjust declaration. ! 416: ! 417: 2015-07-09 Justus Winter <[email protected]> ! 418: ! 419: vm: fix panic message ! 420: * vm/vm_kern.c (kmem_init): Fix panic message. ! 421: ! 422: i386: fix line wrapping in the immediate console ! 423: * i386/i386at/immc.c (immc_cnputc): Fix line wrapping. ! 424: ! 425: kern: remove superfluous file ! 426: * kern/server_loop.ch: Remove superfluous file. ! 427: ! 428: kern: improve error handling ! 429: * kern/bootstrap.c (boot_script_exec_cmd): Improve error handling. ! 430: ! 431: 2015-07-09 Samuel Thibault <[email protected]> ! 432: ! 433: Allow non-privileged tasks to wire 64KiB task memory ! 434: * doc/mach.texi (vm_wire): Document that the host port does not have to be ! 435: privileged. ! 436: * include/mach/mach_hosts.defs (vm_wire): Use mach_port_t instead of ! 437: host_priv_t. ! 438: * vm/vm_map.h (vm_map): Add user_wired field. ! 439: * vm/vm_map.c (vm_map_setup): Initialize user_wired field to 0. ! 440: (vm_map_pageable_common, vm_map_entry_delete, vm_map_copy_overwrite, ! 441: vm_map_copyout_page_list, vm_map_copyin_page_list): When switching ! 442: user_wired_count field of entry between 0 and non-0, accumulate the ! 443: corresponding size into the user_wired field of map. ! 444: * vm/vm_user.c (vm_wire): Turn host parameter into port parameter, and ! 445: inline a version of convert_port_to_host_priv which records whether the host ! 446: port is privileged or not. When it is not privileged, check whether ! 447: the additional amount to user_wired will overcome 64KiB. ! 448: ! 449: 2015-07-07 Samuel Thibault <[email protected]> ! 450: ! 451: Fix build with -O0 ! 452: * linux/src/include/linux/string.h (strcpy, strncpy, strcat, strncat, ! 453: strchr, strrchr, strlen, strnlen, strcmp, strncmp, memmove, ! 454: memscan): Comment out extern declarations. ! 455: * linux/dev/include/asm-i386/string.h (strcpy, strncpy, strcat, strncat, ! 456: strcmp, strncmp, strchr, strrchr, strlen, __memcpy, __constant_memcpy, ! 457: memmove, memchr, __memset_generic, __constant_c_memset, strnlen, ! 458: __constant_c_and_count_memset, memscan): Turn extern inline into static ! 459: inline. ! 460: * linux/dev/include/linux/fs.h (mark_buffer_uptodate): Likewise. ! 461: * linux/src/include/asm-i386/bitops.h (set_bit, clear_bit, change_bit, ! 462: test_and_set_bit, test_and_clear_bit, test_and_change_bit, test_bit, ! 463: find_first_zero_bit, find_next_zero_bit, ffz, ffs): Likewise. ! 464: * linux/src/include/asm-i386/io.h (virt_to_phys, phys_to_virt, __out##s, ! 465: __in##s, ins##s, outs##s): Likewise. ! 466: * linux/src/include/asm-i386/semaphore.h (down, down_interruptible, up): ! 467: Likewise. ! 468: * linux/src/include/asm-i386/segment.h [!__OPTIMIZE]: Emit an ud2 instruction ! 469: instead of an undefined reference. ! 470: ! 471: 2015-07-05 Samuel Thibault <[email protected]> ! 472: ! 473: Add missing distributed file ! 474: * Makefrag.am (EXTRA_DIST): Add ipc/notify.defs. ! 475: ! 476: 2015-06-30 Justus Winter <[email protected]> ! 477: ! 478: Fix re-configuring out-of-tree builds ! 479: Previously, running `../configure ...' to reconfigure an out-of-tree ! 480: build would link `machine' to `i386/i386' instead of `../i386/i386' ! 481: (i.e. point to the build directory instead to the source) if ! 482: `i386/i386' also exists in the build directory because of a previous ! 483: build. ! 484: ! 485: * configfrag.ac: Prefix machine link target with `$srcdir'. ! 486: ! 487: 2015-06-30 Samuel Thibault <[email protected]> ! 488: ! 489: Fix restoring interrupts on timeout ! 490: * linux/dev/drivers/block/ahci.c (ahci_identify): Restore flags before ! 491: returning on timeout. ! 492: ! 493: 2015-06-29 Samuel Thibault <[email protected]> ! 494: ! 495: Print about powered-down AHCI ports ! 496: * linux/dev/drivers/block/ahci.c (ahci_probe_dev): Print messages when ! 497: device is present but powered down. ! 498: ! 499: 2015-06-28 Justus Winter <[email protected]> ! 500: ! 501: ddb: automatically display stack traces ! 502: * ddb/db_trap.c (db_task_trap): Automatically display stack traces if ! 503: an unexpected trap occurs. ! 504: ! 505: 2015-06-28 Justus Winter <[email protected]> ! 506: ! 507: i386: improve the immediate console ! 508: Improve the immediate console to the point that it can be enabled and ! 509: display e.g. assertion failures from very early on (i.e. from ! 510: `c_boot_entry'). ! 511: ! 512: * device/cons.h (romgetc, romputc): New declarations. ! 513: * i386/configfrag.ac: Add configuration variable. ! 514: * i386/i386at/conf.c (dev_name_list): Add entry. ! 515: * i386/i386at/cons_conf.c (constab): Add entry. ! 516: * i386/i386at/immc.c: Add missing includes. ! 517: (immc_cnprobe, immc_cninit, immc_cngetc, immc_romputc): New functions. ! 518: (immc_cnputc): Fix signature, use virtual addresses. ! 519: * i386/i386at/immc.h: New file. ! 520: * i386/i386at/kd.c: Use `#if ENABLE_IMMEDIATE_CONSOLE'. ! 521: * i386/i386at/kd.h (kd_setpos): Add missing declaration. ! 522: * i386/i386at/model_dep.c (c_boot_entry): Install immediate console as ! 523: early boot console. ! 524: ! 525: 2015-06-26 Justus Winter <[email protected]> ! 526: ! 527: i386: add comment ! 528: * i386/i386at/model_dep.c (rebootflag): Explain flag. ! 529: ! 530: 2015-06-20 Justus Winter <[email protected]> ! 531: ! 532: kern: fix error handling ! 533: This avoids calling `thread_deallocate' with an uninitialized value, ! 534: as found by the Clang Static Analyzer. ! 535: ! 536: * kern/thread.c (kernel_thread): Fix error handling. ! 537: ! 538: 2015-06-09 Justus Winter <[email protected]> ! 539: ! 540: kern: add function attributes to the printf-functions ! 541: * kern/printf.h (sprintf, snprintf, vsnprintf, printf): Add the ! 542: `printf' function attribute that allows the compiler to check the ! 543: format strings and arguments. ! 544: ! 545: 2015-06-05 Flávio Cruz <[email protected]> ! 546: ! 547: Fix typo ! 548: * vm/vm_kern.c (kmem_alloc_aligned): Fix typo. ! 549: ! 550: Use custom port macros. ! 551: * ipc/ipc_port.c (ipc_port_alloc_special): Use ip_alloc and ip_lock_init ! 552: macros instead of manually inlining them. ! 553: ! 554: 2015-05-31 Justus Winter <[email protected]> ! 555: ! 556: ipc: fix typo ! 557: * ipc/notify.defs: Fix typo. ! 558: ! 559: Include the notify protocol in `gnumach.msgids' ! 560: * Makefrag.am (gnumach.msgids): Add `notify.msgids' as prerequisite. ! 561: * Makerules.mig.am: Add rule to generate the list of message ids when ! 562: neither the client nor the server stubs are required. ! 563: * ipc/notify.defs: New file. ! 564: ! 565: 2015-05-29 Justus Winter <[email protected]> ! 566: ! 567: kern: fix argument handling ! 568: Previously, the processor argument was not checked. If called with a ! 569: non-processor argument (like a task), `processor' is set to NULL, ! 570: triggering a page fault. Likewise for the other functions. ! 571: ! 572: * kern/processor.c (processor_get_assignment): Fix argument handling. ! 573: * kern/task.c (task_get_assignment): Likewise. ! 574: * kern/thread.c (thread_get_assignment): Likewise. ! 575: ! 576: 2015-05-23 Justus Winter <[email protected]> ! 577: ! 578: Restrict `-fno-strict-aliasing' to the Linux drivers ! 579: * Makefile.am: Move `-fno-strict-aliasing'... ! 580: * linux/Makefrag.am: ... here. ! 581: ! 582: i386: avoid breaking the strict-aliasing rules ! 583: * i386/i386/pcb.c (switch_ktss): Cleanly convert the value. ! 584: ! 585: kern: avoid breaking the strict-aliasing rules ! 586: * kern/exception.c (exception_parse_reply): Use `BAD_TYPECHECK'. ! 587: ! 588: vm: drop unused `kmem_realloc' ! 589: * vm/vm_kern.c (kmem_realloc): Remove function. ! 590: (kmem_alloc_wired): Adopt comment. ! 591: * vm/vm_kern.h (kmem_realloc): Remove declaration. ! 592: ! 593: 2015-05-23 Samuel Thibault <[email protected]> ! 594: ! 595: Add stdint integer types in Linux glue ! 596: * linux/dev/include/linux/types.h (int8_t, uint8_t, int16_t, uint16_t, ! 597: int32_t, uint32_t, int64_t, uint64_t): New types. ! 598: ! 599: 2015-05-22 Justus Winter <[email protected]> ! 600: ! 601: ipc: drop remnants of the IPC tables ! 602: * ipc/ipc_table.c (ipc_table_entries): Remove. ! 603: (ipc_table_entries_size): Likewise. ! 604: (ipc_table_init): Remove initialization of `ipc_table_entries'. ! 605: (ipc_table_realloc): Remove function. ! 606: * ipc/ipc_table.h: Adjust comments. ! 607: (ipc_table_entries): Remove declaration. ! 608: (ipc_table_realloc): Likewise. ! 609: (it_entries_{alloc,reallocable,realloc,free}): Remove macros. ! 610: ! 611: ipc: drop size parameter from `ipc_space_create' ! 612: * ipc/ipc_space.c (ipc_space_create): Drop size parameter. ! 613: * ipc/ipc_space.h (ipc_space_create): Adopt declaration, fix comment. ! 614: * kern/ipc_tt.c (ipc_task_init): Adopt accordingly. ! 615: ! 616: 2015-05-20 Justus Winter <[email protected]> ! 617: ! 618: ipc: inline key ipc entry lookup functions ! 619: Declare functions looking up IPC entries that were previously inlined ! 620: manually with `static inline' so that they will be inlined into the ! 621: fast paths by the compiler. ! 622: ! 623: * ipc/ipc_entry.c (ipc_entry_lookup, ipc_entry_get, ! 624: ipc_entry_dealloc): Move functions... ! 625: * ipc/ipc_space.h: ... here, and declare them as `static inline'. ! 626: * ipc/ipc_entry.h: Drop associated declarations. ! 627: ! 628: 2015-05-20 Justus Winter <[email protected]> ! 629: ! 630: ipc: replace the IPC table with a radix tree ! 631: Currently, the port names are mapped to an IPC object (e.g. a port) ! 632: using a table. This, however, requires large chunks of continuous ! 633: memory, and leads to scalability problems as virtual kernel memory is ! 634: a scarce resource. To avoid excessive overhead, non-contiguous port ! 635: names are spilled into a splay tree. ! 636: ! 637: Replace the IPC table with a radix tree. As the radix tree is able to ! 638: store non-contiguous names with reasonable overhead, we can drop the ! 639: splay tree as well. ! 640: ! 641: * ipc/ipc_entry.c (ipc_entry_tree_collision): Remove function. ! 642: (ipc_entry_cache): New variable. ! 643: (ipc_entry_lookup): Replace with a radix tree lookup. ! 644: (ipc_entry_get): The free list handling is changed a little. Adopt ! 645: accordingly. ! 646: (ipc_entry_free_name): New function. ! 647: (ipc_entry_alloc): Adopt accordingly. ! 648: (ipc_entry_alloc_name): Likewise. ! 649: (ipc_entry_dealloc): Likewise. ! 650: (ipc_entry_grow_table): Remove function. ! 651: * ipc/ipc_entry.h (struct ipc_entry): Update comment, add field for ! 652: name and free list, remove unused fields. ! 653: (ipc_entry_cache, ie_alloc, ie_free): New declarations. ! 654: (struct ipc_tree_entry): Remove. Also remove any related declarations. ! 655: (ipc_entry_grow_table): Remove declaration. ! 656: * ipc/ipc_init.c (ipc_bootstrap): Adopt initialization. ! 657: * ipc/ipc_kmsg.c (ipc_kmsg_copyout_header): Use `ipc_entry_alloc' ! 658: instead of re-coding it. Adopt free list handling. ! 659: (ipc_kmsg_copyout_object): Adopt free list handling, store the name. ! 660: * ipc/ipc_object.c (ipc_object_copyout): Likewise. ! 661: (ipc_object_copyout_multiname): Likewise. ! 662: * ipc/ipc_space.c (ipc_space_create): Initialize radix tree and free list. ! 663: Drop table and splay tree initialization. ! 664: (ipc_space_destroy): Free ipc entries and radix tree, remove table and ! 665: splay tree cleanup. ! 666: * ipc/ipc_space.h (struct ipc_space): Add radix tree, free list, and size. ! 667: Remove all fields related to the table and splay tree. ! 668: * ddb/db_print.c (db_port_iterate): Adopt iteration. ! 669: (db_lookup_port): Adopt lookup. ! 670: * include/mach_debug/ipc_info.h: Remove unused parts of the debug interface. ! 671: * include/mach_debug/mach_debug.defs: Likewise. ! 672: * include/mach_debug/mach_debug_types.defs: Likewise. ! 673: * ipc/mach_debug.c: Likewise. ! 674: * ipc/ipc_right.c (ipc_right_reverse): Adopt lookup, store name. ! 675: (ipc_right_check): Adopt removal. ! 676: (ipc_right_destroy): Likewise. ! 677: (ipc_right_dealloc): Likewise. ! 678: (ipc_right_delta): Likewise. ! 679: (ipc_right_copyin): Adopt insertion, adopt removal. ! 680: (ipc_right_copyin_two): Adopt removal. ! 681: (ipc_right_copyout): Adopt insertion, adopt removal. ! 682: (ipc_right_rename): Likewise, also update comment. ! 683: * ipc/mach_port.c (mach_port_names): Adopt iteration. ! 684: (mach_port_get_set_status): Likewise. ! 685: * ipc/port.h: Update comment. ! 686: * ipc/ipc_hash.c: Delete file. ! 687: * ipc/ipc_hash.h: Likewise. ! 688: * ipc/ipc_splay.c: Likewise. ! 689: * ipc/ipc_splay.h: Likewise. ! 690: * Makefrag.am (libkernel_a_SOURCES): Remove these files. ! 691: ! 692: 2015-05-20 Justus Winter <[email protected]> ! 693: ! 694: ipc: replace reverse hash table with a radix tree ! 695: Currently, there is a hash table mapping (space, object) tuples to ! 696: `ipc_entry' objects. This hash table is intertwined with the IPC ! 697: tables. There is one hash table per IPC space, but it is only for the ! 698: entries in the IPC table. This hash table is called `local' in the ! 699: source. All IPC entries being spilled into the splay tree are instead ! 700: mapped by a global hash table. ! 701: ! 702: Replace the local (i.e. per IPC space) reverse hash table with a radix ! 703: tree. ! 704: ! 705: * ipc/ipc_entry.c (ipc_entry_grow_table): Adjust accordingly. ! 706: * ipc/ipc_entry.h (struct ipc_entry): Adjust comment. ! 707: * ipc/ipc_hash.c: Adjust comment explaining the local lookup table. ! 708: (IPC_LOCAL_HASH_INVARIANT): New macro. ! 709: (ipc_hash_local_lookup): Use the new `ipc_reverse_lookup' function. ! 710: (ipc_hash_local_insert): Use the new `ipc_reverse_insert' function. ! 711: (ipc_hash_local_delete): Use the new `ipc_reverse_remove' function. ! 712: * ipc/ipc_space.c (ipc_space_create): Initialize radix tree. ! 713: (ipc_space_destroy): Free radix tree. ! 714: * ipc/ipc_space.h (struct ipc_space): Add radix tree. ! 715: (ipc_reverse_insert): New function. ! 716: (ipc_reverse_remove): Likewise. ! 717: (ipc_reverse_remove_all): Likewise. ! 718: (ipc_reverse_lookup): Likewise. ! 719: * ipc/ipc_right.c (ipc_right_clean): Update comment. ! 720: ! 721: 2015-05-20 Justus Winter <[email protected]> ! 722: ! 723: ipc: undo manual inlining of `ipc_entry_X' functions ! 724: Today we can rely on the compiler to inline functions. Undoing this ! 725: manual optimization is a first step to replace the IPC tables. ! 726: ! 727: * ipc/mach_msg.c (mach_msg_trap): Undo the manual inlining of ! 728: `ipc_entry_lookup', `ipc_entry_dealloc', and `ipc_entry_get'. ! 729: * ipc/ipc_kmsg.c (ipc_kmsg_copyin_header, ipc_kmsg_copyout_header): Likewise. ! 730: * kern/exception.c (exception_raise): Likewise. ! 731: * kern/ipc_mig.c (fast_send_right_lookup): Likewise. ! 732: ! 733: 2015-05-20 Justus Winter <[email protected]> ! 734: ! 735: kern: add radix tree library ! 736: Import a radix tree library from Richard Braun's librbraun. ! 737: ! 738: * Makefile.am (clib_routines): Steal `__ffsdi2'. ! 739: * Makefrag.am (libkernel_a_SOURCES): Add new files. ! 740: * kern/rdxtree.c: New file. ! 741: * kern/rdxtree.h: Likewise. ! 742: * kern/rdxtree_i.h: Likewise. ! 743: * kern/startup.c (setup_main): Initialize radix tree library. ! 744: ! 745: 2015-05-20 Justus Winter <[email protected]> ! 746: ! 747: kern: gracefully handle resource shortage ! 748: * kern/thread.c (stack_alloc): Report resource shortage. ! 749: * kern/sched_prim.h (stack_alloc): Adjust declaration accordingly. ! 750: * kern/thread_swap.c (thread_doswapin): Report resource shortage. ! 751: (swapin_thread_continue): If the swap-in fails, put the thread back on ! 752: the queue and go back to sleep. ! 753: * kern/thread_swap.h (thread_doswapin): Adjust declaration accordingly. ! 754: ! 755: vm: gracefully handle resource shortage ! 756: * vm/vm_object.c (vm_object_copy_call): Gracefully handle resource ! 757: shortage by doing the allocation earlier and aborting the function if ! 758: unsuccessful. ! 759: ! 760: kern: gracefully handle resource shortage ! 761: * kern/task.c (task_create): Gracefully handle resource shortage. ! 762: ! 763: 2015-05-19 Justus Winter <[email protected]> ! 764: ! 765: kern: import `macros.h' from x15 ! 766: Import the macro definitions from the x15 kernel project, and replace ! 767: all similar definitions littered all over the place with it. ! 768: ! 769: Importing this file will make importing code from the x15 kernel ! 770: easier. We are already using the red-black tree implementation and ! 771: the slab allocator from it, and we will import even more code in the ! 772: near future. ! 773: ! 774: * kern/list.h: Do not define `structof', include `macros.h' instead. ! 775: * kern/rbtree.h: Likewise. ! 776: * kern/slab.c: Do not define `ARRAY_SIZE', include `macros.h' instead. ! 777: * i386/grub/misc.h: Likewise. ! 778: * i386/i386/xen.h: Do not define `barrier', include `macros.h' instead. ! 779: * kern/macro_help.h: Delete file. Replaced by `macros.h'. ! 780: * kern/macros.h: New file. ! 781: * Makefrag.am (libkernel_a_SOURCES): Add new file, remove old file. ! 782: * device/dev_master.h: Adopt accordingly. ! 783: * device/io_req.h: Likewise. ! 784: * device/net_io.h: Likewise. ! 785: * i386/intel/read_fault.c: Likewise. ! 786: * ipc/ipc_kmsg.h: Likewise. ! 787: * ipc/ipc_mqueue.h: Likewise. ! 788: * ipc/ipc_object.h: Likewise. ! 789: * ipc/ipc_port.h: Likewise. ! 790: * ipc/ipc_space.h: Likewise. ! 791: * ipc/ipc_splay.c: Likewise. ! 792: * ipc/ipc_splay.h: Likewise. ! 793: * kern/assert.h: Likewise. ! 794: * kern/ast.h: Likewise. ! 795: * kern/pc_sample.h: Likewise. ! 796: * kern/refcount.h: Likewise. ! 797: * kern/sched.h: Likewise. ! 798: * kern/sched_prim.c: Likewise. ! 799: * kern/timer.c: Likewise. ! 800: * kern/timer.h: Likewise. ! 801: * vm/vm_fault.c: Likewise. ! 802: * vm/vm_map.h: Likewise. ! 803: * vm/vm_object.h: Likewise. ! 804: * vm/vm_page.h: Likewise. ! 805: ! 806: 2015-05-17 Justus Winter <[email protected]> ! 807: ! 808: i386: avoid compiler warning ! 809: * i386/i386/phys.c (pmap_zero_page, pmap_copy_page, copy_to_phys, ! 810: copy_from_phys): Avoid compiler warning about `map' being used ! 811: uninitialized. ! 812: ! 813: 2015-05-14 Justus Winter <[email protected]> ! 814: ! 815: i386: use macro to compute address of saved registers ! 816: * i386/i386/pcb.c (stack_attach): Use `USER_REGS'. ! 817: (stack_handoff): Likewise. ! 818: ! 819: 2015-05-02 Samuel Thibault <[email protected]> ! 820: ! 821: Fix semaphore failure path special calling convention ! 822: * linux/src/include/asm-i386/semaphore.h (down): Pass semaphore address to ! 823: down_failed through ecx. ! 824: (down_interruptible): Likewise to down_failed_interruptible. ! 825: (up): Likewise to up_wakeup. ! 826: ! 827: 2015-05-02 Justus Winter <[email protected]> ! 828: ! 829: kern: fix comment ! 830: * kern/rbtree.h: Fix comment. ! 831: ! 832: 2015-05-02 Samuel Thibault <[email protected]> ! 833: ! 834: Fix warning ! 835: * i386/i386at/rtc.c (rtcget, rtcput): Make functions take an rtc_st ! 836: structure which it casts to char * itself. ! 837: ! 838: Fix warnings ! 839: * device/ds_routines.c (device_open, ds_open_done, device_close, ! 840: device_write, device_write_inband, ds_write_done, device_read, ! 841: device_read_inband, ds_read_done, device_set_status, mach_device_get_status, ! 842: device_set_filter, device_map, ds_no_senders): Convert from K&R declaration, ! 843: fix type of `device' into void*. ! 844: ! 845: Fix block_io_mmap prototype ! 846: * device/blkio.c (block_io_mmap): Fix prototype of dummy function. ! 847: * device/blkio.h (block_io_mmap): Likewise. ! 848: ! 849: 2015-05-01 Samuel Thibault <[email protected]> ! 850: ! 851: Use gnu89 inline style ! 852: * Makefile.am (AM_CFLAGS): Add -fgnu89-inline option. ! 853: ! 854: 2015-05-01 Samuel Thibault <[email protected]> ! 855: ! 856: Replace clobbers with earlyclobbers ! 857: Newer gccs consider the former "impossible" ! 858: ! 859: * linux/src/include/asm-i386/bitops.h (find_first_zero_bit): Replace ! 860: clobbers with earlyclobbers. ! 861: * linux/src/include/asm-i386/semaphore.h (down, down_interruptible, up): ! 862: Likewise. ! 863: ! 864: 2015-04-30 Samuel Thibault <[email protected]> ! 865: ! 866: Fix build with gcc-5 ! 867: * linux/src/include/linux/compiler-gcc5.h: New file. ! 868: ! 869: 2015-04-24 Justus Winter <[email protected]> ! 870: ! 871: kern: avoid hardcoding the lowest priority ! 872: The number of priorities has been changed from 32 to 50 in ! 873: 6a234201081156e6d5742e7eeabb68418b518fad. ! 874: ! 875: * kern/syscall_subr.c (thread_depress_priority): Avoid hardcoding the ! 876: lowest priority. ! 877: ! 878: 2015-04-23 Justus Winter <[email protected]> ! 879: ! 880: kern: disable stack allocation counters by default ! 881: Disable the stack allocation counters by default. Casual checking ! 882: revealed that the hits-to-miss ratio is excellent. ! 883: ! 884: * kern/thread.c (stack_alloc_{hits,misses,max}): Move variables... ! 885: * kern/counters.c: ... here, and add the usual counter prefix. ! 886: * kern/counters.h: New declarations. ! 887: ! 888: 2015-04-23 Samuel Thibault <[email protected]> ! 889: ! 890: Avoid accessing ip_protected_payload without the lock. ! 891: * ipc/ipc_kmsg.c (ipc_kmsg_copyout_header): Avoid accessing ! 892: dest->ip_protected_payload without the lock. ! 893: * ipc/mach_msg.c (ipc/mach_msg.c): Avoid accessing ! 894: dest_port->ip_protected_payload without the lock. ! 895: ! 896: Prepend 0x to hexadecimal offset ! 897: * i386/i386/db_trace.c (db_i386_stack_trace): Prepend 0x to hexadecimal offset. ! 898: 1.1.1.7 root 899: 2015-04-10 Thomas Schwinge <[email protected]> 900: 901: GNU Mach 1.5. 902: * version.m4 (AC_PACKAGE_VERSION): Set to 1.5. 903: * NEWS: Finalize for 1.5. 904: 905: 2015-03-19 Samuel Thibault <[email protected]> 906: 907: Give the Debian package name for the non-multilib libc.a 908: * Makefile.am (clib-routines.o): Mention the Debian libc6-dev:i386 package. 909: 910: 2015-03-08 Samuel Thibault <[email protected]> 911: 912: Remove spl debugging in Xen case 913: xen cli/sti doesn't use IF 914: 915: * i386/i386/spl.S [MACH_XEN]: Disable IF check. 916: 917: 2015-03-05 Samuel Thibault <[email protected]> 918: 919: Show odd number of ports 920: * linux/dev/drivers/block/ahci.c (ahci_probe_dev): Show odd number of ports. 921: 922: 2015-02-26 Samuel Thibault <[email protected]> 923: 924: Use printf_once instead of recoding it 925: * i386/i386at/kd_event.c: Call printf_once instead of recoding it. 926: * i386/i386at/kd_mouse.c: Likewise. 927: 928: Limit printing "queue full" messages 929: * i386/i386at/kd_event.c (kbd_enqueue): Print "queue full" warning only 930: once. 931: * i386/i386at/kd_mouse.c (mouse_enqueue): Likewise. 932: 933: 2015-02-25 Justus Winter <[email protected]> 934: 935: kern: inherit the name of the parent task 936: * kern/task.c (task_create): Inherit the name of the parent task. 937: 938: 2015-02-20 Justus Winter <[email protected]> 939: 940: i386: specialize `copyinmsg' and `copyoutmsg' 941: Previously, `copyinmsg' was the same function as `copyin'. The former 942: is for messages, and the size of messages is a multiple of four. 943: Likewise for `copyoutmsg'. 944: 945: Provide a specialized version of both functions. This shaves off a 946: couple of instructions and improves our IPC performance. 947: 948: * i386/i386/locore.S (copyinmsg): New function. 949: (copyoutmsg): New function. 950: 951: 2015-02-20 Justus Winter <[email protected]> 952: 953: i386: drop needless instruction from `copyout' 954: * i386/i386/locore.S (copyout): Do not needlessly copy length to %eax 955: first. 956: 957: 2015-02-20 Justus Winter <[email protected]> 958: 959: kern: improve assert 960: Use the ternary operator to implement `assert' like it is done in the 961: glibc. The glibcs changelog does not mention the rationale behind 962: this change, but doing the same seems to improve our IPC performance. 963: 964: * kern/assert.h (assert): Define macro using the ternary operator. 965: 966: 2015-02-20 Justus Winter <[email protected]> 967: 968: linux: fix compiler warning 969: If the loop above completes at least one iteration, `i' will be larger 970: than zero. 971: 972: * linux/dev/glue/block.c (rdwr_full): Add assertion to appease the 973: compiler. 974: 975: 2015-02-20 Justus Winter <[email protected]> 976: 977: kern: reduce the size of `struct thread' 978: Reduce the size of `struct thread' by twelve bytes making it fit into 979: exactly five cache lines (on 32-bit platforms). 980: 981: * kern/thread.h (struct thread): Group the state and all flags in a 982: bitfield. 983: (TH_EV_WAKE_ACTIVE, TH_EV_STATE): Provide macros that generate keys 984: for synchronization primitives like `thread_wakeup'. 985: * kern/thread.c (thread_halt, thread_dowait, thread_suspend): Use the 986: new keys instead of addresses of fields for the synchronisation. 987: * kern/ipc_sched.c (thread_handoff): Likewise. 988: * kern/sched_prim.c (thread_invoke, thread_dispatch): Likewise. 989: 990: 2015-02-18 Justus Winter <[email protected]> 991: 992: kern: avoid #if 0ing out thread_collect_scan 993: Currently, `thread_collect_scan' does nothing because `pcb_collect' is 994: a nop. Its body is exempt from compilation by means of the 995: preprocessor. 996: 997: This is unfortunate as it increases the risk of bitrot, and we still 998: need to pay the price of rate-limiting thread_collect_scan. 999: 1000: * kern/thread.c (thread_collect_scan): Drop #if 0 around the body. 1001: * vm/vm_pageout.c (vm_pageout_scan): Do not call 1002: `consider_thread_collect' and document why. 1003: 1004: 2015-02-18 Justus Winter <[email protected]> 1005: 1006: vm: fix typo 1007: * vm/vm_resident.c: Fix typo. 1008: 1009: 2015-01-22 Justus Winter <[email protected]> 1010: 1011: ipc: warn about more port management bugs 1012: * ipc/mach_port.c (mach_port_destroy): Simplify expression. Reword warning. 1013: (mach_port_deallocate): Likewise. 1014: (mach_port_mod_refs): Also warn about errors when using this function. 1015: 1016: 2015-01-02 Stefan Weil <[email protected]> 1017: 1018: vm: Fix typo in comment (found by codespell) 1019: 1020: kern: Fix typos in comments (found by codespell) 1021: 1022: ipc: Fix typo in comment (found by codespell) 1023: 1024: include: Fix typos in comments (found by codespell) 1025: 1026: i386: Fix typos in comments (found by codespell) 1027: 1028: device: Fix typos in comments (found by codespell) 1029: 1030: Makefile.am: Fix typos and grammar in comment 1031: 1032: ddb: Fix typos in comments (found by codespell) 1033: 1034: 2015-01-02 Samuel Thibault <[email protected]> 1035: 1036: Handle kernel traps happening before starting userland 1037: * i386/i386/trap.c (kernel_trap): When current_thread is null, assume that 1038: we are in kernel land. 1039: 1040: 2014-12-16 Justus Winter <[email protected]> 1041: 1042: kern: gracefully handle bogus sample pc sequence number 1043: If a sequence number larger than the sample control sequence number is 1044: supplied, `nsamples' becomes negative. Handle this gracefully. 1045: 1046: * kern/pc_sample.c (get_sampled_pcs): Handle bogus sequence number. 1047: 1048: 2014-12-16 Justus Winter <[email protected]> 1049: 1050: ipc: guard test code with `MACH_IPC_TEST' 1051: * ipc/ipc_kmsg.h (ikm_mark_bogus): New macro. 1052: (ipc_kmsg_rmqueue_first_macro): Use `ikm_mark_bogus'. 1053: * ipc/ipc_kmsg.c (ipc_kmsg_rmqueue): Likewise. 1054: 1055: 2014-12-16 Justus Winter <[email protected]> 1056: 1057: ipc: tune size of cached kernel message buffers 1058: The previous limit was 256 bytes. That seems a little crummy by 1059: todays standards, and we are frequently sending bigger packets 1060: (e.g. every RPC containing a string_t on Hurd). 1061: 1062: Use the page size for IKM_SAVED_KMSG_SIZE to make sure the page is 1063: pinned to a single processor. 1064: 1065: * ipc/ipc_kmsg.h (IKM_SAVED_KMSG_SIZE): Define to `PAGE_SIZE'. 1066: 1067: 2014-12-15 Samuel Thibault <[email protected]> 1068: 1069: Make spl7 just clear IF instead of setting the PIC mask 1070: * i386/i386/spl.S (spl7): Just set curr_ipl and cli. 1071: (splx) [MACH_KDB || MACH_TTD]: When curr_ipl is 7, make sure that IF is cleared. 1072: (splx): When staying at ipl7, do not enable interrupts. 1073: (spl) [MACH_KDB || MACH_TTD]: When curr_ipl is 7, make sure that IF is cleared. 1074: (spl): When new ipl is 7, branch to spl7. 1075: * i386/i386/locore.S (TIME_TRAP_UENTRY, TIME_TRAP_SENTRY): Save flags, and 1076: restore them instead of blindly using sti. 1077: 1078: 2014-12-11 Samuel Thibault <[email protected]> 1079: 1080: Ship missing file 1081: * Makefrag.am (EXTRA_DIST): Add kern/task_notify.cli. 1082: 1083: 2014-12-09 Justus Winter <[email protected]> 1084: 1085: include: add X_IMPORTS to ipc definitions 1086: This makes it possible to inject imports. 1087: 1088: * include/mach/gnumach.defs: Make it possible to inject imports. 1089: * include/mach/mach.defs: Likewise. 1090: * include/mach/mach_host.defs: Likewise. 1091: 1092: 2014-12-09 Justus Winter <[email protected]> 1093: 1094: kern: provide notifications about new tasks 1095: These notifications are sent to the port registered via 1096: `register_new_task_notification' and provide a robust parental 1097: relation between tasks to a userspace server. 1098: 1099: * Makefrag.am: Add task_notify.defs. 1100: * include/mach/gnumach.defs: Add register_new_task_notification. 1101: * include/mach/task_notify.defs: New file. 1102: * kern/task.c (new_task_notification): New variable. 1103: (task_create): Send new task notifications. 1104: (register_new_task_notification): Add server function. 1105: * kern/task_notify.cli: New file. 1106: 1107: 2014-12-09 Justus Winter <[email protected]> 1108: 1109: Retire procedure `old_mach_port_get_receive_status' 1110: Retire the compatibility RPC `old_mach_port_get_receive_status' that 1111: works like `mach_port_get_receive_status' but returns an 1112: `old_mach_port_status' object that lacks the `mps_seqno' field. 1113: 1114: Do not remove the type yet, so we do not break anyones build. The RPC 1115: stubs currently distributed with the glibc require it. 1116: 1117: * include/mach/mach_port.defs (old_mach_port_get_receive_status): Drop RPC. 1118: * include/mach/mach_types.defs (old_mach_port_status_t): Drop type. 1119: * include/mach/port.h (old_mach_port_status_t): Add note to remove 1120: this for the 1.6 release. 1121: * ipc/mach_port.c (old_mach_port_get_receive_status): Drop function. 1122: 1123: 2014-12-07 Samuel Thibault <[email protected]> 1124: 1125: Fix pthread_create warning on translator termination 1126: This was due to task_terminate not actually properly suspending threads 1127: before disable the task port, which was thus preventing pthread_create 1128: from being able to create a stack. Thanks Gabriele Giacone for finding 1129: out a reproducer of this. 1130: 1131: * kern/task.h (task_hold_locked): New declaration. 1132: * kern/task.c (task_hold): Move the locked part of the code into... 1133: (task_hold_locked): ... new function. 1134: (task_terminate): Call task_hold_locked just before deactivating the 1135: task. Call ipc_task_disable after waiting for threads to actually 1136: suspend with task_dowait. 1137: 1138: 2014-12-01 Justus Winter <[email protected]> 1139: 1140: kern: disable all counters by default 1141: Make all five non-conditional counters conditional ones. Casual 1142: checking revealed that the hits-to-miss ratio is excellent. 1143: 1144: * kern/counters.c: Make all counters conditional. 1145: * kern/counters.h: Likewise. 1146: * kern/ipc_sched.c: Likewise. 1147: * kern/sched_prim.c: Likewise. 1148: 1149: 2014-11-28 Justus Winter <[email protected]> 1150: 1151: include: make `mach_port_t' payload-aware 1152: Honor a new macro `MACH_PAYLOAD_TO_PORT' to inject a translation 1153: function mapping payloads to port names in the definition of 1154: `mach_port_t'. 1155: 1156: * include/mach/std_types.defs (mach_port_t): Honor 1157: `MACH_PAYLOAD_TO_PORT'. 1158: * include/device/device.defs (reply_port_t): Likewise. 1159: * include/device/device_reply.defs (reply_port_t): Likewise. 1160: * include/device/device_request.defs (reply_port_t): Likewise. 1161: 1162: 2014-11-23 Samuel Thibault <[email protected]> 1163: 1164: Fix programming PIT counter 1165: * linux/dev/arch/i386/kernel/irq.c (init_IRQ): Properly mask 8 bits of 1166: PIT counter. 1167: 1168: 2014-11-21 David Michael <[email protected]> 1169: 1170: Correct GCC's -Wformat-security issues 1171: * linux/pcmcia-cs/clients/axnet_cs.c (axdev_init): Add a format string 1172: literal where printk only has a single variable argument. 1173: * linux/src/drivers/net/3c507.c (el16_probe1): Likewise. 1174: * linux/src/drivers/net/3c509.c (el3_probe): Likewise. 1175: * linux/src/drivers/net/3c515.c (init_module): Likewise. 1176: (tc515_probe): Likewise. 1177: * linux/src/drivers/net/ac3200.c (ac_probe1): Likewise. 1178: * linux/src/drivers/net/apricot.c (apricot_probe): Likewise. 1179: * linux/src/drivers/net/at1700.c (at1700_probe1): Likewise. 1180: * linux/src/drivers/net/de4x5.c (de4x5_hw_init): Likewise. 1181: * linux/src/drivers/net/de600.c (de600_probe): Likewise. 1182: * linux/src/drivers/net/de620.c (de620_probe): Likewise. 1183: * linux/src/drivers/net/depca.c (depca_hw_init): Likewise. 1184: * linux/src/drivers/net/e2100.c (e21_probe1): Likewise. 1185: * linux/src/drivers/net/eepro.c (eepro_probe1): Likewise. 1186: * linux/src/drivers/net/eepro100.c (speedo_found1): Likewise. 1187: * linux/src/drivers/net/eexpress.c (eexp_hw_probe): Likewise. 1188: * linux/src/drivers/net/ewrk3.c (ewrk3_hw_init): Likewise. 1189: * linux/src/drivers/net/fmv18x.c (fmv18x_probe1): Likewise. 1190: * linux/src/drivers/net/hp-plus.c (hpp_probe1): Likewise. 1191: * linux/src/drivers/net/hp.c (hp_probe1): Likewise. 1192: * linux/src/drivers/net/lance.c (lance_probe1): Likewise. 1193: * linux/src/drivers/net/ne.c (ne_probe1): Likewise. 1194: * linux/src/drivers/net/pcnet32.c (pcnet32_probe1): Likewise. 1195: * linux/src/drivers/net/seeq8005.c (seeq8005_probe1): Likewise. 1196: * linux/src/drivers/net/smc-ultra.c (ultra_probe1): Likewise. 1197: * linux/src/drivers/net/smc-ultra32.c (ultra32_probe1): Likewise. 1198: * linux/src/drivers/net/wd.c (wd_probe1): Likewise. 1199: 1200: 2014-11-16 Samuel Thibault <[email protected]> 1201: 1202: Only set debug registers when they are used 1203: * i386/i386/db_interface.c (zero_dr): New variable 1204: (db_load_context): Do not set debug registers to zero when they are already 1205: zero. 1206: (db_dr): When kernel debug registers get zero, record that the debug 1207: registers have been zeroed. 1208: 1209: 2014-11-13 Samuel Thibault <[email protected]> 1210: 1211: Add nodma options 1212: Some very slow qemu instances would eventually trigger DMA timeouts, 1213: let's give a way to disable DMA there, it does not actually slow down 1214: operations anyway. 1215: 1216: * linux/src/drivers/block/ide.h (ide_drive_s): Add nodma field. 1217: * linux/src/drivers/block/ide.c (do_identify): Do not call 1218: dmaproc(ide_dma_check) when nodma is 1. 1219: (ide_setup): Add nodma option. 1220: 1221: 2014-11-12 Samuel Thibault <[email protected]> 1222: 1223: Pass ide and hd kernel options to ide driver 1224: * linux/dev/drivers/block/genhd.c: Include <linux/hdreg.h> and 1225: <alloca.h> 1226: (device_setup): Look for ide and hd options, and call ide_setup with 1227: them. 1228: * linux/src/drivers/block/ide.c (ide_setup) [MACH]: Parse hd[0-7] instead 1229: of hd[a-h]. 1230: 1231: 2014-11-10 Samuel Thibault <[email protected]> 1232: 1233: Fix documentation for vm_map 1234: doc/mach.texi (vm_map): Document that vm_map uses the address as a 1235: starting hint even when anywhere is TRUE. 1236: 1237: Revert "Make vm_map really ignore `address' when `anywhere' is true" 1238: This reverts commit 5ae510e35c54009626999a88f0f1cb34d6dfc94f. 1239: 1240: 2014-11-03 Justus Winter <[email protected]> 1241: 1242: include: add a payload-aware intran mutator for device_t 1243: * include/device/device_types.defs (device_t): Add a payload-aware 1244: intran mutator. 1245: 1246: include: add a payload-aware intran mutator for notify_port_t 1247: * include/mach/notify.defs (notify_port_t): Add a payload-aware intran 1248: mutator. 1249: 1250: include: add a payload-aware intran mutator for memory_object_t 1251: * include/mach/mach_types.defs (memory_object_t): Add a payload-aware 1252: intran mutator. 1253: * include/mach/memory_object.defs: Likewise in the inlined type 1254: declarations. 1255: 1256: 2014-11-03 Samuel Thibault <[email protected]> 1257: 1258: Fix link refusal 1259: * Makefile.am (clib-routines.o): Refuse to link only when multiarch is 1260: detected. 1261: 1262: 2014-11-03 Samuel Thibault <[email protected]> 1263: 1264: Refuse to link against a libc with multiarch support 1265: We don't have support for this yet. 1266: 1267: * Makefile.am (clib-routines.o): Check for the presence of 1268: __init_cpu_features, and in such case refuse to continue. 1269: 1270: 2014-11-02 Samuel Thibault <[email protected]> 1271: 1272: Fix build when gcc avoids inlining 1273: * ipc/ipc_port.h (ipc_port_flag_protected_payload, 1274: ipc_port_flag_protected_payload_set, 1275: ipc_port_flag_protected_payload_clear): Use static inline qualifier instead 1276: of extern inline. 1277: 1278: 2014-10-22 Samuel Thibault <[email protected]> 1279: 1280: Revert "Make sure mig is available" 1281: This reverts commit b28e05e203e0739fa5db59c5af378b29eea7a232. 1282: 1283: 2014-10-10 Justus Winter <[email protected]> 1284: 1285: doc: restore section `Inherited Ports' 1286: Previously, the section `Inherited Ports' was commented out. This was 1287: done, as the functionality was unused by the Hurd. The functions 1288: `mach_ports_register' and `mach_ports_lookup' were never removed, and 1289: are exposed to user space. 1290: 1291: This patch brings the documentation back and adds a remark at the top, 1292: that the section documents the original intentions for this interface. 1293: 1294: I chose bringing back the documentation over removing the 1295: functionality because I like to make use of it as a method for service 1296: discovery that is deliberately orthogonal to the way the service 1297: lookup is usually done in the Hurd. This can be used to implement 1298: robust low-level debugging facilities. 1299: 1300: * doc/mach.texi: Restore section `Inherited Ports'. 1301: 1302: 2014-10-01 Justus Winter <[email protected]> 1303: 1304: Add protected payloads to NEWS 1305: 1306: ipc: provide the protected payload in ipc_kmsg_copyout_header 1307: * ipc/ipc_kmsg.c (ipc_kmsg_copyout_header): If a protected payload is 1308: set for the destination port, provide it in msgh_protected_payload. 1309: * ipc/mach_msg.c (mach_msg_trap): Likewise in the fast paths. 1310: * doc/mach.texi (Message Receive): Document message semantics with 1311: protected payloads. 1312: 1313: include: define MACH_MSG_TYPE_PROTECTED_PAYLOAD 1314: * include/mach/message.h: Define MACH_MSG_TYPE_PROTECTED_PAYLOAD. 1315: (MACH_MSG_TYPE_LAST): Adjust accordingly. 1316: * doc/mach.texi (Message Format): Document 1317: MACH_MSG_TYPE_PROTECTED_PAYLOAD. 1318: 1319: include: add msgh_protected_payload to mach_msg_header_t 1320: * include/mach/message.h (mach_msg_header_t): Add 1321: msgh_protected_payload as a union with msgh_local_port. 1322: * doc/mach.texi (Message Format): Document msgh_protected_payload. 1323: 1324: ipc: implement mach_port_{set,clear}_protected_payload 1325: * include/mach/mach_port.defs: Add mach_port_{set,clear}_protected_payload. 1326: * ipc/mach_port.c: Implement mach_port_{set,clear}_protected_payload. 1327: * doc/mach.texi (Receive Rights): Document 1328: mach_port_{set,clear}_protected_payload. 1329: 1330: 2014-10-01 Justus Winter <[email protected]> 1331: 1332: ipc: add protected payload 1333: Add a field ip_protected_payload and a flag ip_has_protected_payload 1334: to struct ipc_port. 1335: 1336: Clear the protected payload when a receive port is moved from one ipc 1337: space to another. This is done to retain the old behavior of 1338: mach_msg, so that a port name is sent in the msgh_local_port field. 1339: If the new owner of that receive right wishes to use the protected 1340: payload mechanism, it has to be explicitly set again. 1341: 1342: * ipc/ipc_port.h (struct ipc_port): Add field ip_protected_payload. 1343: (ipc_port_set_protected_payload): Add function declaration. 1344: (ipc_port_clear_protected_payload): Likewise. 1345: (ipc_port_flag_protected_payload): Add accessor for the protected 1346: payload flag. 1347: (ipc_port_flag_protected_payload_set): Likewise. 1348: (ipc_port_flag_protected_payload_clear): Likewise. 1349: * ipc/ipc_port.c (ipc_port_init): Initialize protected payload. 1350: (ipc_port_print): Print protected_payload. 1351: (ipc_port_set_protected_payload): New function. 1352: (ipc_port_clear_protected_payload): Likewise. 1353: (ipc_port_destroy): Clear the payload when moving a receive port. 1354: * ipc/ipc_right.c (ipc_right_copyin): Likewise. 1355: (ipc_right_copyout): Likewise. 1356: * ipc/ipc_object.c (ipc_object_copyin_from_kernel): Likewise. 1357: * ipc/ipc_object.h (IO_BITS_PROTECTED_PAYLOAD): New bitmask. 1358: (IO_BITS_OTYPE): Adjust accordingly. 1359: 1360: 2014-09-30 Justus Winter <[email protected]> 1361: 1362: ipc: use fast modulo operation in local hash table 1363: * ipc/ipc_table.h: Document that table sizes must be powers of two. 1364: * ipc/ipc_hash.c (IH_LOCAL_HASH): Use fast modulo operation. 1365: 1366: kern: silence compiler warning about uninitialized variable 1367: * kern/slab.c (kmem_cache_compute_sizes): Initialize optimal_size and 1368: assert that a size is selected. 1369: 1370: kern: fix type of recompute_priorities 1371: * kern/sched_prim.c (recompute_priorities): Fix type. 1372: * kern/sched_prim.h (recompute_priorities): Likewise. 1373: 1374: 2014-09-26 Justus Winter <[email protected]> 1375: 1376: kern: create send rights as they are inserted at bootstrap time 1377: Previously, it was impossible to hand e.g. the master device port to 1378: more than one bootstrap task. Fix this by creating the send right as 1379: it is inserted into the target task. 1380: 1381: * kern/bootstrap.c (bootstrap_create): Do not create the send rights 1382: here... 1383: (boot_script_insert_right): ... but here. 1384: 1385: 2014-09-25 Justus Winter <[email protected]> 1386: 1387: Update NEWS file 1388: 1389: 2014-09-17 Justus Winter <[email protected]> 1390: 1391: ddb: add support for ELF symbol tables 1392: * ddb/db_elf.c: New file. 1393: * ddb/db_elf.h: Likewise. 1394: * Makefrag.am (libkernel_a_SOURCES): Add db_elf.{c,h}. 1395: * ddb/db_sym.c (dummy_db_sym_init): New stub db_sym_init function. 1396: (db_sym_switch): Add ELF functions. 1397: * ddb/db_sym.h (SYMTAB_ELF): New macro. 1398: (elf_db_sym_init): New declaration. 1399: * i386/i386at/model_dep.c (c_boot_entry): Get ELF section header 1400: information from the multiboot structure, and call elf_db_sym_init. 1401: 1402: ddb: add `show all tasks' command 1403: * ddb/db_command.c (db_show_all_cmds): Add `tasks'. 1404: * ddb/db_print.c (db_show_all_tasks): New function. 1405: * ddb/db_print.h (db_show_all_tasks): New prototype. 1406: 1407: 2014-09-17 Samuel Thibault <[email protected]> 1408: 1409: Report DR6 to userland 1410: * i386/i386/trap.c (user_trap): On T_DEBUG, record the content of dr6 in 1411: PCB, and clear it. 1412: 1413: 2014-09-06 Samuel Thibault <[email protected]> 1414: 1415: Make vm_map really ignore `address' when `anywhere' is true 1416: As vm_allocate does. 1417: 1418: * vm/vm_user.c (vm_map): When `anywhere' is true, set `address' to the 1419: minimum address of the `target_map'. 1420: 1421: 2014-09-01 Pietro Braione <[email protected]> 1422: 1423: Fix printf warning 1424: linux/src/drivers/net/sundance.c (start_tx): Fix format string according 1425: to parameter. 1426: 1427: 2014-08-30 Samuel Thibault <[email protected]> 1428: 1429: Tune pageout parameters 1430: This targets having always at least 8% free memory instead of just 1%. 1431: This has shown improving buildd stability a lot. Also increase the 1432: reserved amount to nowadays standards. 1433: 1434: * vm/vm_pageout.c (VM_PAGE_FREE_TARGET): Increase to 10%. 1435: (VM_PAGE_FREE_MIN): Increase to 8%. 1436: (VM_PAGE_FREE_RESERVED): Increase to 500 pages. 1437: (VM_PAGEOUT_RESERVED_INTERNAL): Increase to 150 pages. 1438: (VM_PAGEOUT_RESERVED_REALLY): Increase to 100 pages. 1439: 1440: 2014-08-30 Samuel Thibault <[email protected]> 1441: 1442: Increate the pageout thread priority 1443: * vm/vm_pageout.c (vm_pageout): Set the priority to 0. 1444: 1445: 2014-08-30 Samuel Thibault <[email protected]> 1446: 1447: Bump NR_GRANT_PAGES 1448: This has shown needed on buildds with several disks and network 1449: interfaces. 1450: 1451: * xen/grant.c (NR_GRANT_PAGES): Increase from 4 to 8. 1452: 1453: 2014-08-22 Samuel Thibault <[email protected]> 1454: 1455: Fix computation 1456: * i386/i386at/com.c (comintr): Fix computation of '@'. 1457: 1458: 2014-08-22 Neal H. Walfield <[email protected]> 1459: 1460: Even less magic-looking control value 1461: * i386/i386at/com.c (comintr): Use 'A'-1 instead of '@'. 1462: 1463: 2014-08-22 Justus Winter <[email protected]> 1464: 1465: Support invoking the debugger over the serial console 1466: * i386/i386at/com.c (comintr): Invoke the debugger if ctrl-alt-d is 1467: pressed. 1468: * i386/i386at/com.h (kdb_kintr): Add declaration. 1469: 1470: 2014-07-25 Samuel Thibault <[email protected]> 1471: 1472: Drop debugging prints 1473: * i386/i386at/acpi.c (grub_machine_acpi_get_rsdpv2): Drop debugging 1474: prints. 1475: 1476: 2014-07-06 Samuel Thibault <[email protected]> 1477: 1478: Do not unmap page 0 when not needed 1479: Since we need it to access some BIOS information, e.g. at ACPI shutdown. When 1480: the kernel VM is not starting at 0, there is already nothing mapped there in 1481: user tasks, anyway. 1482: 1483: * i386/i386at/model_dep.c (machine_init) [VM_MIN_KERNEL_ADDRESS != 0]: 1484: Do not call pmap_unmap_page_zero. 1485: * i386/intel/pmap.c (pmap_unmap_page_zero): Warn that unmapping page 1486: zero may break some BIOS functions. 1487: 1488: 2014-07-06 Samuel Thibault <[email protected]> 1489: 1490: Document that io_map_cached leaks memory 1491: 1492: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 1493: 1494: 2014-07-06 Justus Winter <[email protected]> 1495: 1496: i386: use ACPI to power off the machine 1497: This is a mostly verbatim copy of acpihalt.c from GRUB2 with a little 1498: bit of glue code. 1499: 1500: * i386/Makefrag.am (libkernel_a_SOURCES): Add the new files. 1501: * i386/grub/acpi.h: Verbatim copy from GRUB2. 1502: * i386/grub/compiler.h: Likewise. 1503: * i386/grub/cpu/io.h: Likewise. 1504: * i386/grub/cpu/time.h: Likewise. 1505: * i386/grub/cpu/types.h: Likewise. 1506: * i386/grub/err.h: Likewise. 1507: * i386/grub/misc.h: Likewise. 1508: * i386/grub/mm.h: Likewise. 1509: * i386/grub/symbol.h: Likewise. 1510: * i386/grub/time.h: Likewise. 1511: * i386/grub/types.h: Likewise. 1512: * i386/i386at/acpi.c: Likewise. 1513: * i386/i386at/acpihalt.c: Likewise. 1514: (grub_acpi_halt): Map physical addresses. 1515: * i386/i386at/acpihalt.h: New file. 1516: * i386/grub/glue.h: Some glue macros. 1517: * i386/grub/i18n.h: Stub out i18n. 1518: * i386/i386at/grub_glue.c: Some glue code. 1519: * i386/i386at/model_dep.c (halt_all_cpus): Use grub_acpi_halt. 1520: 1521: 2014-07-06 Justus Winter <[email protected]> 1522: 1523: i386: add io_map_cached 1524: io_map_cached is like io_map, but reuses the old mapping if it is 1525: applicable. 1526: 1527: * i386/i386/io_map.c: Add io_map_cached. 1528: 1529: 2014-06-11 Justus Winter <[email protected]> 1530: 1531: doc: explain the floating point flag in kdb output 1532: * doc/mach.texi (Kernel Debugger Commands): Explain the floating point 1533: flag. 1534: 1535: 2014-06-11 Justus Winter <[email protected]> 1536: 1537: i386: remap some keys 1538: As a convenience for the nice people using our debugger, remap some 1539: keys to the readline-like shortcuts supported by dde. 1540: 1541: * i386/i386at/kd.c (kdcnmaygetc): Remap some keys. 1542: 1543: 2014-06-11 Justus Winter <[email protected]> 1544: 1545: i386: reformat the key map 1546: * i386/i386at/kd.c (key_map): Remove superfluous newlines so that 1547: every entry fits into one line. This way line numbers can be used as 1548: an index into the map. 1549: 1550: ddb: use db_thread_stat to format the flags 1551: * ddb/db_print.c (db_print_thread): Use db_thread_stat to format the 1552: flags. 1553: 1554: ddb: print task names if available 1555: * ddb/db_print.c (db_print_task): Print task name if available. 1556: * i386/i386/db_interface.c (db_task_name): Likewise. 1557: * i386/i386/db_machdep.h (DB_GNUMACH_TASK_NAME): Remove unused definition. 1558: 1559: kern: set the name of the kernel task to 'gnumach' 1560: * kern/taks.c (task_init): Set the name of the kernel task to 'gnumach'. 1561: 1562: 2014-06-11 Justus Winter <[email protected]> 1563: 1564: device: fix net_rcv_msg-messages 1565: Previously, all net_rcv_msg-messages sent by net_deliver were 1566: malformed. It never was a problem in practice, since the messages are 1567: not complex and thus the kernel does not try to parse the message. 1568: 1569: struct net_rcv_msg contains an additional field of type boolean_t. 1570: This field has no associated type descriptor, so it must not be 1571: included in the message. 1572: 1573: * device/net_io.c (net_deliver): Account for the extra field in the 1574: msgh_size calculation. 1575: 1576: 2014-05-27 Samuel Thibault <[email protected]> 1577: 1578: Add missing memory clobber 1579: * i386/i386/xen.h (mb, rmb, wmb): Add memory clobber. 1580: 1581: 2014-05-25 Justus Winter <[email protected]> 1582: 1583: Rewrite old-style #endif FOO directives 1584: * i386/include/mach/i386/cthreads.h: Rewrite old-style #endif FOO 1585: directives. 1586: * include/device/tape_status.h: Likewise. 1587: * include/mach/alert.h: Likewise. 1588: * include/mach/boot.h: Likewise. 1589: * include/mach/default_pager_types.defs: Likewise. 1590: * include/mach/default_pager_types.h: Likewise. 1591: * include/mach/multiboot.h: Likewise. 1592: * include/mach/notify.defs: Likewise. 1593: * include/mach_debug/pc_info.h: Likewise. 1594: * kern/act.h: Likewise. 1595: * kern/refcount.h: Likewise. 1596: * kern/shuttle.h: Likewise. 1597: 1598: 2014-05-25 Justus Winter <[email protected]> 1599: 1600: include: fix the embedded type definitions in memory_object.defs 1601: In order to use MIG translation functions to lookup memory objects, 1602: preprocessor macros have been introduced into the definition of 1603: memory_object_t in 50cc5152. 1604: 1605: The procedure definitions contain inlined type definitions in order to 1606: change the type of the argument in question (i.e. to make it 1607: polymorphic). The inline definitions however lack the destructor 1608: function, leading to reference leaks when a reference is acquired in 1609: the intran function. 1610: 1611: * include/mach/memory_object.defs: Add the destructor functions to the 1612: inlined type definitions. 1613: 1614: 2014-05-03 Justus Winter <[email protected]> 1615: 1616: ddb: add "halt" command 1617: * ddb/db_command.c (db_command_table): Add "halt" command. 1618: * i386/i386/db_interface.h (db_halt_cpu): New declaration. 1619: * i386/i386at/model_dep.c (db_halt_cpu): New function. 1620: 1621: 2014-04-30 Justus Winter <[email protected]> 1622: 1623: vm: make struct vm_map fit into a cache line 1624: Currently, the size of struct vm_map is 68 bytes. By using a bit 1625: field for the boolean flags, it can be made fit into a cache line. 1626: 1627: * vm/vm_map.h (struct vm_map): Use a bit field for the boolean flags 1628: wait_for_space and wiring_required. 1629: 1630: 2014-04-30 Justus Winter <[email protected]> 1631: 1632: i386: fix MACHINE_SERVER_HEADER 1633: Commit b6dab094 introduced a way to include the MIG-generated server 1634: files for the machine specific interface in ipc_kobject.c. 1635: 1636: This broke out-of-tree builds. Here, 'machine' is a symlink to 1637: '../i386/i386', it points into the source tree. The MIG-generated 1638: files however are put in the build tree in i386/i386. 1639: 1640: * i386/i386/machine_routines.h (MACHINE_SERVER_HEADER): Fix path. 1641: 1642: 2014-04-30 Justus Winter <[email protected]> 1643: 1644: kern: include the MIG-generated server headers for MACHINE_SERVER 1645: GNU MIG recently gained support for emitting x_server_routine 1646: declarations in the generated server header file. Using this 1647: declaration, the x_server_routine functions can be inlined into the 1648: ipc_kobject_server function. 1649: 1650: * kern/ipc_kobject.c: Include the MIG-generated server headers for the 1651: machine-dependent interfaces. 1652: (ipc_kobject_server): Drop the simple declaration of 1653: MACHINE_SERVER_ROUTINE. 1654: * i386/i386/machine_routines.h (MACHINE_SERVER_HEADER): New 1655: definition. 1656: 1657: 2014-04-30 Justus Winter <[email protected]> 1658: 1659: include: do not guard the host_slab_info RPC with MACH_VM_DEBUG 1660: Previously, the definition of the host_slab_info RPC was guarded with 1661: MACH_VM_DEBUG, even though it is not at all concerned with the VM 1662: subsystem. Furthermore, there was no "skip" directive for 1663: host_slab_info. 1664: 1665: The function host_slab_info is guarded with MACH_DEBUG. The server 1666: for the RPCs in mach_debug.defs is only used if MACH_DEBUG is 1667: defined. There is no need to guard host_slab_info. 1668: 1669: * include/mach_debug/mach_debug.defs (host_slab_info): Unconditionally 1670: include the RPC. 1671: 1672: 2014-04-30 Justus Winter <[email protected]> 1673: 1674: Install the mach_debug header files 1675: The task_set_name RPC introduced in 877a319c changed 1676: include/mach/gnumach.defs to include mach_debug/mach_debug_types.defs. 1677: Previously though, the debug headers were not installed. 1678: 1679: * Makefrag.am: Install the mach_debug header files. 1680: 1681: 2014-04-30 Justus Winter <[email protected]> 1682: 1683: doc: fix the number of priorities 1684: The number of priorities has been changed from 32 to 50 in 1685: 6a234201081156e6d5742e7eeabb68418b518fad. 1686: 1687: * doc/mach.texi: Update accordingly. 1688: 1689: 2014-04-25 Samuel Thibault <[email protected]> 1690: 1691: Make sure mig is available 1692: * configure.ac (MIG): Error out if MiG was not found. 1693: 1694: 2014-04-13 Justus Winter <[email protected]> 1695: 1696: kern: set the name of tasks created during the bootstrap 1697: * kern/bootstrap.c (boot_script_task_create): Set the name of newly 1698: created tasks. 1699: 1700: 2014-04-10 Justus Winter <[email protected]> 1701: 1702: include: fix the definition of device_open 1703: Previously, every userspace server implementing the device protocol 1704: filtered the device definitions to replace the device_t type with 1705: mach_port_send_t to make the device argument of device_open 1706: polymorphic. Rather than doing that, which makes it impossible to use 1707: translation functions, fix the definition of device_open. 1708: 1709: * include/device/device.defs (device_open): Redefine the device 1710: argument to make it polymorphic unless a outran function is specified. 1711: 1712: 2014-04-08 Justus Winter <[email protected]> 1713: 1714: include: make the device_t types translation functions mutable 1715: Make the intran, outtran and destructor functions mutable using 1716: preprocessor macros. Make it possible to inject imports using the 1717: DEVICE_IMPORTS macro. This way, userspace servers can provide their 1718: own translation functions. 1719: 1720: * include/device/device_types.defs: Honor DEVICE_IMPORTS. 1721: (device_t): Make the translation mutable using preprocessor macros. 1722: 1723: 2014-04-05 Justus Winter <[email protected]> 1724: 1725: include: make the notify_port_t types translation functions mutable 1726: Make the intran, outtran and destructor functions mutable using 1727: preprocessor macros. Make it possible to inject imports using the 1728: NOTIFY_IMPORTS macro. This way, userspace servers can provide their 1729: own translation functions. 1730: 1731: * include/mach/notify.defs: Honor NOTIFY_IMPORTS. 1732: (notify_port_t): Make the translation mutable using preprocessor macros. 1733: 1734: 2014-04-04 Marin Ramesa <[email protected]> 1735: 1736: Convert from K&R to ANSI 1737: Convert from K&R style function definitions to ANSI style 1738: function definitions. 1739: 1740: * ddb/db_access.c: Convert function prototypes from K&R to ANSI. 1741: * ddb/db_aout.c: Likewise. 1742: * ddb/db_break.c: Likewise. 1743: * ddb/db_command.c: Likewise. 1744: * ddb/db_cond.c: Likewise. 1745: * ddb/db_examine.c: Likewise. 1746: * ddb/db_expr.c: Likewise. 1747: * ddb/db_ext_symtab.c: Likewise. 1748: * ddb/db_input.c: Likewise. 1749: * ddb/db_lex.c: Likewise. 1750: * ddb/db_macro.c: Likewise. 1751: * ddb/db_mp.c: Likewise. 1752: * ddb/db_output.c: Likewise. 1753: * ddb/db_print.c: Likewise. 1754: * ddb/db_run.c: Likewise. 1755: * ddb/db_sym.c: Likewise. 1756: * ddb/db_task_thread.c: Likewise. 1757: * ddb/db_trap.c: Likewise. 1758: * ddb/db_variables.c: Likewise. 1759: * ddb/db_watch.c: Likewise. 1760: * device/blkio.c: Likewise. 1761: * device/chario.c: Likewise. 1762: * device/dev_lookup.c: Likewise. 1763: * device/dev_name.c: Likewise. 1764: * device/dev_pager.c: Likewise. 1765: * device/ds_routines.c: Likewise. 1766: * device/net_io.c: Likewise. 1767: * device/subrs.c: Likewise. 1768: * i386/i386/db_interface.c: Likewise. 1769: * i386/i386/fpu.c: Likewise. 1770: * i386/i386/io_map.c: Likewise. 1771: * i386/i386/loose_ends.c: Likewise. 1772: * i386/i386/mp_desc.c: Likewise. 1773: * i386/i386/pcb.c: Likewise. 1774: * i386/i386/phys.c: Likewise. 1775: * i386/i386/trap.c: Likewise. 1776: * i386/i386/user_ldt.c: Likewise. 1777: * i386/i386at/com.c: Likewise. 1778: * i386/i386at/kd.c: Likewise. 1779: * i386/i386at/kd_event.c: Likewise. 1780: * i386/i386at/kd_mouse.c: Likewise. 1781: * i386/i386at/kd_queue.c: Likewise. 1782: * i386/i386at/lpr.c: Likewise. 1783: * i386/i386at/model_dep.c: Likewise. 1784: * i386/i386at/rtc.c: Likewise. 1785: * i386/intel/pmap.c: Likewise. 1786: * i386/intel/read_fault.c: Likewise. 1787: * ipc/ipc_entry.c: Likewise. 1788: * ipc/ipc_hash.c: Likewise. 1789: * ipc/ipc_kmsg.c: Likewise. 1790: * ipc/ipc_marequest.c: Likewise. 1791: * ipc/ipc_mqueue.c: Likewise. 1792: * ipc/ipc_notify.c: Likewise. 1793: * ipc/ipc_port.c: Likewise. 1794: * ipc/ipc_right.c: Likewise. 1795: * ipc/mach_debug.c: Likewise. 1796: * ipc/mach_msg.c: Likewise. 1797: * ipc/mach_port.c: Likewise. 1798: * ipc/mach_rpc.c: Likewise. 1799: * kern/act.c: Likewise. 1800: * kern/exception.c: Likewise. 1801: * kern/ipc_mig.c: Likewise. 1802: * kern/ipc_tt.c: Likewise. 1803: * kern/lock_mon.c: Likewise. 1804: * kern/mach_clock.c: Likewise. 1805: * kern/machine.c: Likewise. 1806: * kern/printf.c: Likewise. 1807: * kern/priority.c: Likewise. 1808: * kern/startup.c: Likewise. 1809: * kern/syscall_emulation.c: Likewise. 1810: * kern/syscall_subr.c: Likewise. 1811: * kern/thread_swap.c: Likewise. 1812: * kern/time_stamp.c: Likewise. 1813: * kern/timer.c: Likewise. 1814: * kern/xpr.c: Likewise. 1815: * vm/memory_object.c: Likewise. 1816: * vm/vm_debug.c: Likewise. 1817: * vm/vm_external.c: Likewise. 1818: * vm/vm_fault.c: Likewise. 1819: * vm/vm_kern.c: Likewise. 1820: * vm/vm_map.c: Likewise. 1821: * vm/vm_pageout.c: Likewise. 1822: * vm/vm_user.c: Likewise. 1823: 1824: 2014-04-04 Samuel Thibault <[email protected]> 1825: 1826: Fix prototype 1827: * linux/dev/glue/block.c (device_set_status): Fix prototype. 1828: 1829: 2014-04-04 Marin Ramesa <[email protected]> 1830: 1831: Use explicit prototypes for struct dev_ops fields 1832: * device/conf.h: Include <sys/types.h>, <mach/port.h>, <mach/vm_prot.h>. 1833: Predefine struct io_req, io_req_t and io_return_t. 1834: (dev_ops): Add explicit prototypes for d_open, d_close, d_read, d_write, 1835: d_getstat, d_setstat, d_mmap, d_port_death. 1836: (nulldev_open, nulldev_close, nulldev_read, nulldev_write, 1837: nulldev_getstat, nulldev_setstat, nulldev_portdeath): Add prototypes. 1838: (nomap): Fix prototype. 1839: * device/dev_name.c (nulldev_open, nulldev_close, nulldev_read, 1840: nulldev_write, nulldev_getstat, nulldev_setstat, nulldev_portdeath): New 1841: functions. 1842: (nomap): Fix prototype. 1843: * device/ds_routines.c (dev_close): Pass 0 as flag parameter. 1844: * device/kmsg.c (kmsgclose): Drop return value. 1845: * device/kmsg.h (kmsgclose): Fix prototype. 1846: * i386/i386at/com.c (comopen): Fix prototype. 1847: (comclose): Fix prototype, drop return value. 1848: (comread, comwrite): Fix prototype. 1849: * i386/i386at/com.h (comopen, comclose, comread, comwrite): Fix 1850: prototype. 1851: * i386/i386at/conf.c (dev_ops): Use nulldev_open, nulldev_close, 1852: nulldev_read, nulldev_write, nulldev_getstat, nulldev_setstat, 1853: nulldev_portdeath where appropriate. 1854: * i386/i386at/kd.c (kdclose, kdread, kdwrite, kdmmap): Fix prototype. 1855: * i386/i386at/kd.h (kdclose, kdread, kdwrite, kdmmap): Likewise. 1856: * i386/i386at/kd_event.c (kbdopen): Likewise. 1857: * i386/i386at/kd_event.h (kbdopen): Likewise. 1858: * i386/i386at/kd_mouse.c (mouseopen): Likewise. 1859: * i386/i386at/kd_mouse.h (mouseopen): Likewise. 1860: * i386/i386at/lpr.c (lpropen, lprclose, lprread, lprwrite): Likewise. 1861: * i386/i386at/lpr.h (lpropen, lprclose, lprread, lprwrite): Likewise. 1862: * i386/i386at/mem.c (memmmap): Likewise. 1863: * i386/i386at/mem.h (memmmap): Likewise. 1864: * i386/i386at/model_dep.c (timemmap): Likewise. 1865: * i386/i386at/model_dep.h (timemmap): Likewise. 1866: * kern/mach_clock.c (timeopen, timeclose): Likewise. 1867: * kern/mach_clock.h: Include <sys/types.h>, predefine struct io_req and 1868: io_req_t. 1869: (timeopen, timeclose): Fix prototype. 1870: 1871: 2014-03-28 Samuel Thibault <[email protected]> 1872: 1873: Assume EGA/VGA card 1874: CGA and MONO cards are more than hard to find nowadays, and some buggy BIOSes 1875: claim running them nowadays... 1876: 1877: * i386/i386at/kd.c (kd_xga_init): Do not handle CGA and MONO cases any 1878: more, which thus default to EGA/VGA. 1879: 1880: 2014-03-28 Samuel Thibault <[email protected]> 1881: 1882: Really default to EGA/VGA on unknown CMOS values 1883: * i386/i386at/kd.c (kd_xga_init): Use CM_EGA_VGA behavior as default 1884: case for unknown values of CMOS data. 1885: 1886: 2014-03-26 Justus Winter <[email protected]> 1887: 1888: kern: fix formatting of multiboot modules 1889: Previously, bootstrap_create would print the multiboot modules with 1890: padding applied to the end of the line. As multiboot modules as used 1891: by the Hurd span more than one line. This makes the list of modules 1892: hard to read and it looks unclean, more like an accident. 1893: Furthermore, it is not clear what the intend of this was, as the 1894: padding is applied at the end of the line, with no further information 1895: printed thereafter. 1896: 1897: * kern/bootstrap.c (bootstrap_create): Remove variable maxlen and len, 1898: update printfs. 1899: 1900: 2014-03-25 Justus Winter <[email protected]> 1901: 1902: include: make the memory_object_t types translation functions mutable 1903: Make the intran, outtran and destructor functions mutable using 1904: preprocessor macros. Make it possible to inject imports using the 1905: MEMORY_OBJECT_IMPORTS macro. This way, userspace servers can provide 1906: their own translation functions. 1907: 1908: * include/mach/mach_types.defs (memory_object_t): Make the translation 1909: mutable using preprocessor macros. 1910: * include/mach/memory_object.defs: Likewise for the inlined type declarations. 1911: Honor MEMORY_OBJECT_IMPORTS. 1912: * include/mach/memory_object_default.defs: Likewise. 1913: 1914: 2014-03-22 Samuel Thibault <[email protected]> 1915: 1916: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 1917: 1918: 2014-03-22 Samuel Thibault <[email protected]> 1919: 1920: Fix overflow 1921: We were filling much more than the mapwindows array, thus overwriting in 1922: at least debugger variables. 1923: 1924: * i386/intel/pmap.c (pmap_bootstrap): Make sure to limit mapwindows 1925: initialization within PMAP_NMAPWINDOWS. 1926: 1927: 2014-03-20 Justus Winter <[email protected]> 1928: 1929: xen: fix error handling 1930: Previously, the error KERN_RESOURCE_SHORTAGE was not properly 1931: propagated. 1932: 1933: Found using the Clang Static Analyzer. 1934: 1935: * xen/block.c (device_open): Fix error handling, remove unused label. 1936: * xen/net.c (device_open): Likewise. 1937: 1938: 2014-03-20 Samuel Thibault <[email protected]> 1939: 1940: Only complain once per boot about Xen console smash 1941: * xen/console.c (hypputc): Make `complain' variable static. 1942: 1943: 2014-03-17 Samuel Thibault <[email protected]> 1944: 1945: Increase possible number of AHCI devices to 8 1946: by reducing possible number of partitions to 32. 1947: 1948: * linux/dev/drivers/block/ahci.c (MAX_PORTS): Set to 8. 1949: (PARTN_BITS): Set to 5. 1950: 1951: 2014-03-03 Samuel Thibault <[email protected]> 1952: 1953: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 1954: 1955: 2014-03-03 Samuel Thibault <[email protected]> 1956: 1957: Keep two virtual pages as mapping windows to access physical memory 1958: PCI devices expose their memory etc. way beyond last_phys_addr. Userland 1959: drivers opening /dev/mem need to open those too, even if phystokv() will 1960: not work for them. 1961: 1962: * i386/intel/pmap.h (pmap_mapwindow_t): New type. 1963: (pmap_get_mapwindow, pmap_put_mapwindow): New prototypes. 1964: (PMAP_NMAPWINDOWS): New macro. 1965: * i386/intel/pmap.c (mapwindows): New array. 1966: (pmap_get_mapwindow, pmap_put_mapwindow): New functions. 1967: (pmap_bootstrap, pmap_virtual_space): Reserve virtual pages for the mapping 1968: windows. 1969: * i386/i386/phys.c: Include <i386/model_dep.h> 1970: (INTEL_PTE_W, INTEL_PTE_R): New macros 1971: (pmap_zero_page, pmap_copy_page, copy_to_phys, copy_from_phys): Use 1972: `pmap_get_mapwindow' to temporarily map physical pages beyond last_phys_addr. 1973: 1974: 2014-02-26 Justus Winter <[email protected]> 1975: 1976: kern: fix mig_strncpy 1977: Previously, the function mig_strncpy would always zero-terminate the 1978: destination string. Make mig_strncpy behave like mig_strncpy and 1979: strncpy in the glibc. Also fix the implementation of mig_strncpy to 1980: return the length of the written string to align the implementation 1981: with the declaration in include/mach/mig_support.h. 1982: 1983: * kern/ipc_mig.c (mig_strncpy): Do not zero-terminate the destination 1984: string. Return length of destination string. 1985: 1986: 2014-02-23 Samuel Thibault <[email protected]> 1987: 1988: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 1989: 1990: AHCI driver cleanups 1991: * linux/dev/drivers/block/ahci.c (struct port): Add id and is_cd fields. 1992: (ahci_end_request): Only print error if quiet flag of the request is not 1993: set. 1994: (ahci_do_port_request): Upgrade sector parameter to 64 bit. Include 1995: those bits in the LBA48 request. 1996: (ahci_do_request): Upgrade sector count to 64bit. Only print errors if 1997: quiet flag of the request is not set. 1998: (ahci_probe_port): Move identify code... 1999: (ahci_identify): ... to new function. Handle WIN_PIDENTIFY case to 2000: recognize ATAPI devices. 2001: (ahci_probe_port): Also try WIN_PIDENTIFY command. 2002: (ahci_geninit): Avoid checking partition table on empty devices. 2003: 2004: 2014-02-19 Justus Winter <[email protected]> 2005: 2006: include: skip routines related to migrating threads 2007: * include/mach/mach_port.defs: Skip the routines mach_port_set_rpcinfo 2008: and mach_port_create_act if MIGRATING_THREADS is not defined. 2009: 2010: 2014-02-12 Samuel Thibault <[email protected]> 2011: 2012: Reduce kmem_map to make room for kentry_data_size 2013: * kern/slab.c (KMEM_MAP_SIZE): Decrease from 128MiB to 96MiB. 2014: 2015: 2014-02-10 Samuel Thibault <[email protected]> 2016: 2017: Make open return ENXIO on missing CD-ROM 2018: * linux/src/drivers/block/ide-cd.c (ide_cdrom_open): Return -ENXIO when 2019: CD sense failed. 2020: 2021: Add quiet flag to CD I/O 2022: * linux/src/drivers/block/ide-cd.c (cdrom_queue_packet_command): Add `quiet' 2023: parameter, copied into the request. 2024: (cdrom_decode_status): Do not print I/O error when `quiet' field of 2025: request is non-zero. 2026: (cdrom_end_request): Do not print sense results when `quiet' field of 2027: request is non-zero. 2028: (cdrom_check_status, cdrom_read_capacity, cdrom_read_tocentry): Pass 1 to 2029: `cdrom_queue_packet_command''s `quiet' parameter. 2030: (cdrom_lockdoor, cdrom_eject, cdrom_pause, cdrom_startstop, 2031: cdrom_read_subchannel, cdrom_mode_sense, cdrom_mode_select, 2032: cdrom_play_lba_range_1, cdrom_read_block, cdrom_load_unload, 2033: ide_cdrom_ioctl): Pass 0 to `cdrom_queue_packet_command''s `quiet' parameter. 2034: 2035: Add missing initialization 2036: * linux/src/drivers/block/ide.c (ide_init_drive_cmd): Initialize `quiet' 2037: field of request to 0; 2038: 2039: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 2040: 2041: 2014-02-10 Samuel Thibault <[email protected]> 2042: 2043: Add quiet flag to block I/O 2044: This avoids grub & such making Mach print flurries of floppy errors. 2045: 2046: * linux/dev/include/linux/blkdev.h (request): Add `quiet' field. 2047: * linux/dev/include/linux/blk.h (end_request): Print I/O error only if 2048: the `quiet' field of the request is 0. 2049: * linux/dev/include/linux/fs.h (ll_rw_block): Add `quiet' parameter. 2050: * linux/dev/glue/block.c (ll_rw_block): Add `quiet' parameter, copied into 2051: the request. 2052: (bread, rdwr_partial, rdwr_full): Pass 0 to `ll_rw_block''s `quiet' parameter. 2053: * linux/dev/drivers/block/floppy.c (floppy_revalidate): Pass 1 to 2054: `ll_rw_block''s `quiet' parameter. 2055: 2056: 2014-02-06 Richard Braun <[email protected]> 2057: 2058: vm: trigger garbage collection on kernel memory pressure 2059: In addition to physical pages, the slab allocator also consumes kernel 2060: virtual memory, so reclaim pages on failure to allocate from a kernel map. 2061: This method isn't foolproof but helps alleviate fragmentation. 2062: 2063: * vm/vm_kern.c (kmem_alloc): Call slab_collect and retry allocation 2064: once on failure. 2065: (kmem_realloc): Likewise. 2066: (kmem_alloc_wired): Likewise. 2067: (kmem_alloc_wired): Likewise. 2068: (kmem_alloc_aligned): Likewise. 2069: 2070: 2014-02-05 Samuel Thibault <[email protected]> 2071: 2072: Remove duplicate typedef 2073: * device/net_io.c (net_rcv_port_t, net_hash_entry_t, net_hash_header_t): 2074: Remove duplicate typedefs. 2075: 2076: 2014-02-05 Justus Winter <[email protected]> 2077: 2078: doc: document task_set_name 2079: * doc/mach.texi (Task Information): Document the new task_set_name 2080: procedure. 2081: 2082: 2014-02-05 Justus Winter <[email protected]> 2083: 2084: include: add task_set_name 2085: task_set_name sets the name of a task. This is a debugging aid. The 2086: name will be used in error messages printed by the kernel. 2087: 2088: * include/mach/gnumach.defs (task_set_name): New procedure. 2089: 2090: 2014-02-05 Justus Winter <[email protected]> 2091: 2092: kern: implement task_set_name 2093: task_set_name sets the name of a task. This is a debugging aid. The 2094: name will be used in error messages printed by the kernel. 2095: 2096: * kern/task.c (task_set_name): New function. 2097: * kern/task.h (task_set_name): New declaration. 2098: 2099: 2014-02-04 Samuel Thibault <[email protected]> 2100: 2101: Fix comstart when the queue is empty 2102: Found by Coverity 2103: 2104: * i386/i386at/com.c (comstart): Make `nch' an int. When `getc' returns 2105: -1, just return. 2106: 2107: 2014-02-04 Samuel Thibault <[email protected]> 2108: 2109: Fix potential NULL dereference 2110: Found by Coverity 2111: 2112: * i386/i386/user_ldt.c (i386_get_ldt): Fetch `pcb' field of `thread' 2113: only after looking for `thread' being NULL. 2114: 2115: 2014-02-04 Samuel Thibault <[email protected]> 2116: 2117: Fix potential NULL dereference 2118: * vm/vm_kern.c (projected_buffer_deallocate): Look for `map' being NULL 2119: or kernel_map before locking it. 2120: 2121: 2014-02-04 Samuel Thibault <[email protected]> 2122: 2123: Fix potential NULL dereference 2124: Found by Coverity 2125: 2126: * i386/i386/db_trace.c (db_find_kthread): Handle case when task is NULL. 2127: 2128: 2014-02-04 Samuel Thibault <[email protected]> 2129: 2130: Fix potential NULL dereference 2131: Found by Coverity. 2132: 2133: * i386/i386at/com.c (comopen): On com_reprobe() returning success, check 2134: for `isai' again. 2135: 2136: 2014-02-04 Justus Winter <[email protected]> 2137: 2138: xen: fix buffer size 2139: Previously, only strlen(device_name) bytes were allocated, missing one 2140: byte for the terminating zero. 2141: 2142: * xen/block.c (hyp_block_init): Fix buffer size. 2143: 2144: 2014-02-04 Justus Winter <[email protected]> 2145: 2146: ddb: safely copy symbol names into the symtab structure 2147: Use strncpy instead of strcpy to copy the name of a symbol into the 2148: symtab structure. Make sure that the string is properly terminated. 2149: 2150: Found using Coverity. 2151: 2152: * ddb/db_sym.c (db_add_symbol_table): Use strncpy instead of strcpy, 2153: ensure string termination. 2154: 2155: 2014-02-04 Justus Winter <[email protected]> 2156: 2157: kern: make kmem_error panic 2158: The slab allocator relies on the fact that kmem_cache_error does not 2159: return. Previously, kmem_error was using printf. Use panic instead. 2160: 2161: Found using the Clang Static Analyzer. 2162: 2163: * kern/slab.c (kmem_error): Use panic instead of printf. 2164: 2165: 2014-02-04 Justus Winter <[email protected]> 2166: 2167: kern: use kmem_warn instead of kmem_error in kmem_cache_error 2168: * kern/slab.c (kmem_cache_error): Use kmem_warn instead of kmem_error 2169: to print the cache name and its address. 2170: 2171: 2014-02-04 Samuel Thibault <[email protected]> 2172: 2173: Fix FPU state copy size 2174: * i386/i386/fpu.c (fpu_set_state, fpu_get_state): Fix size of 2175: `user_fp_regs' access. 2176: 2177: Make empty while loops more prominent 2178: * i386/i386at/kd.c (kdintr, kd_senddata, kd_sendcmd, kd_getgata, 2179: kd_cmdreg_read, kd_cmdreg_write, kd_mouse_drain): Move semi colon of 2180: empty while loops on a single line to make it more visible. 2181: 2182: 2014-02-04 Samuel Thibault <[email protected]> 2183: 2184: Fix FPU state access 2185: Found by coverity. 2186: 2187: * i386/i386/fpu.c (fpu_set_state, fpu_get_state): Fix out of bound 2188: `user_fp_regs' access. 2189: 2190: 2014-02-04 Samuel Thibault <[email protected]> 2191: 2192: Fix typo 2193: * i386/i386at/kd_mouse.c (mouseopen): Fix typo. 2194: 2195: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 2196: 2197: 2014-02-04 Samuel Thibault <[email protected]> 2198: 2199: Add missing break 2200: Found by Coverity 2201: 2202: * i386/i386at/kd_mouse.c (mouseopen): Add missing break. 2203: 2204: 2014-02-01 Justus Winter <[email protected]> 2205: 2206: include: add a fixed-size string type for debugging purposes 2207: * include/mach/debug.defs: New file. 2208: * include/mach/debug.h: Likewise. 2209: 2210: ipc: use the name of the task for error messages 2211: * ipc/mach_port.c (mach_port_destroy): Use the name of the task for 2212: error messages. 2213: (mach_port_deallocate): Likewise. 2214: 2215: kern: add a name field to struct task 2216: * kern/task.c (task_create): Initialize name with the address of the task. 2217: * kern/task.h (TASK_NAME_SIZE): New definition. 2218: (struct task): Add field name. 2219: 2220: kern: add snprintf 2221: * kern/printf.c (snprintf): New function. 2222: * kern/printf.h (snprintf): New declaration. 2223: 2224: 2014-01-16 Justus Winter <[email protected]> 2225: 2226: kern: include the mig-generated server headers in ipc_kobject.c 2227: GNU MIG recently gained support for emitting x_server_routine 2228: declarations in the generated server header file. Using this 2229: declaration, the x_server_routine functions can be inlined into the 2230: ipc_kobject_server function. 2231: 2232: * kern/ipc_kobject.c: Include the mig-generated server headers. 2233: 2234: 2014-01-16 Justus Winter <[email protected]> 2235: 2236: vm: remove the declaration of memory_object_create_proxy 2237: It is not clear to me why the declaration was put there in the first 2238: place. It is not used anywhere, and it conflicts with the declaration 2239: generated by mig. 2240: 2241: * vm/memory_object_proxy.h (memory_object_create_proxy): Remove declaration. 2242: 2243: 2014-01-09 Justus Winter <[email protected]> 2244: 2245: kern: align kmem_cache objects using __cacheline_aligned 2246: * kern/slab.h (struct kmem_cache): Align kmem_cache objects using 2247: __cacheline_aligned. 2248: 2249: include: add new file for cache-related definitions 2250: * include/cache.h (__cacheline_aligned): This macro can be used to 2251: align statically allocated objects so that they start at a cache line. 2252: 2253: 2014-01-06 Justus Winter <[email protected]> 2254: 2255: kern: optimize the layout of struct kmem_cache 2256: * kern/slab.h (struct kmem_cache): Reorder the fields so that all hot 2257: fields are within the first cache line. 2258: 2259: 2014-01-05 Justus Winter <[email protected]> 2260: 2261: kern: explain the significance of the chosen length 2262: * kern/slab.h (KMEM_CACHE_NAME_SIZE): Explain the significance of the 2263: chosen length. 2264: 2265: 2014-01-05 Justus Winter <[email protected]> 2266: 2267: linux: fix bit tests 2268: The pattern is !x&y. An expression of this form is almost always 2269: meaningless, because it combines a boolean operator with a bit 2270: operator. In particular, if the rightmost bit of y is 0, the result 2271: will always be 0. 2272: 2273: Fixed using coccinelle. 2274: 2275: // !x&y combines boolean negation with bitwise and 2276: // 2277: // Confidence: High 2278: // Copyright: (C) Gilles Muller, Julia Lawall, EMN, DIKU. GPLv2. 2279: // URL: http://www.emn.fr/x-info/coccinelle/rules/notand.html 2280: // Options: 2281: 2282: @@ expression E1,E2; @@ 2283: ( 2284: !E1 & !E2 2285: | 2286: - !E1 & E2 2287: + !(E1 & E2) 2288: ) 2289: 2290: * linux/src/drivers/scsi/FlashPoint.c: Fix bit tests. 2291: 2292: 2014-01-05 Justus Winter <[email protected]> 2293: 2294: linux: fix bit tests 2295: The pattern is !x&y. An expression of this form is almost always 2296: meaningless, because it combines a boolean operator with a bit 2297: operator. In particular, if the rightmost bit of y is 0, the result 2298: will always be 0. 2299: 2300: Fixed using coccinelle. 2301: 2302: // !x&y combines boolean negation with bitwise and 2303: // 2304: // Confidence: High 2305: // Copyright: (C) Gilles Muller, Julia Lawall, EMN, DIKU. GPLv2. 2306: // URL: http://www.emn.fr/x-info/coccinelle/rules/notand.html 2307: // Options: 2308: 2309: @@ expression E; constant C; @@ 2310: ( 2311: !E & !C 2312: | 2313: - !E & C 2314: + !(E & C) 2315: ) 2316: 2317: * linux/src/drivers/net/tlan.c: Fix bit tests. 2318: * linux/src/drivers/scsi/AM53C974.c: Likewise. 2319: * linux/src/drivers/scsi/FlashPoint.c: Likewise. 2320: * linux/src/drivers/scsi/NCR5380.c: Likewise. 2321: * linux/src/drivers/scsi/t128.c: Likewise. 2322: 2323: 2014-01-03 Justus Winter <[email protected]> 2324: 2325: kern: make struct kmem_cache fit into two cache lines 2326: Previously, the size of struct kmem_cache was 136 bytes, just eight 2327: bytes larger than 128 bytes, which is typically two cache lines on 2328: today's CPUs. 2329: 2330: By reducing the size of the name field which holds a human-readable 2331: description by eight bytes to 24 bytes, the struct kmem_cache can be 2332: made fit into two cache lines. This change should not affect the 2333: usefulness of this field. For reference, the length of the largest 2334: hard-coded name is 17. 2335: 2336: * kern/slab.h (KMEM_CACHE_NAME_SIZE): Define to 24. 2337: 2338: 2014-01-03 Justus Winter <[email protected]> 2339: 2340: kern: reduce the size of struct task 2341: * kern/task.h (struct task): Reduce the size of struct task by 2342: 2 * sizeof boolean_t by using a bit field for the boolean flags. 2343: 2344: 2014-01-03 Justus Winter <[email protected]> 2345: 2346: vm: reduce the size of struct vm_page 2347: Previously, the bit field left 31 bits unused. By reducing the size 2348: of wire_count by one bit, the size of the whole struct is reduced by 2349: four bytes. 2350: 2351: * vm/vm_page.h (struct vm_page): Reduce the size of wire_count to 15 2352: bits. 2353: 2354: 2014-01-03 Justus Winter <[email protected]> 2355: 2356: vm: merge the two bit fields in struct vm_page 2357: * vm/vm_page.h (struct vm_page): Merge the two bit fields. 2358: 2359: 2014-01-03 Justus Winter <[email protected]> 2360: 2361: vm: remove NS32000-specific padding from struct vm_page 2362: Apparently, the NS32000 was a 32-bit CPU from the 1990ies. The string 2363: "ns32000" appears nowhere else in the source. 2364: 2365: * vm/vm_page.h (struct vm_page): Remove NS32000-specific padding. 2366: 2367: 2014-01-02 Samuel Thibault <[email protected]> 2368: 2369: Make sure cursor is initialized 2370: * i386/i386at/kd.c (kd_xga_init): Add start, stop variables, read them 2371: from CRT registers, make sure the cursor is enabled and is not reduced 2372: to 0, and write them back to CRT registers. 2373: * i386/i386at/kd.h (C_START, C_STOP): New macros. 2374: 2375: 2014-01-01 Marin Ramesa <[email protected]> 2376: 2377: i386/include/mach/i386/mach_i386_types.h: add comments after else and endif 2378: * i386/include/mach/i386/mach_i386_types.h (MACH_KERNEL): Add comments after else and endif. 2379: 2380: Add comment after endif 2381: * i386/i386/io_perm.h (_I386_IO_PERM_H_): Add comment after endif. 2382: 2383: 2013-12-20 Samuel Thibault <[email protected]> 2384: 2385: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 2386: 2387: 2013-12-20 Marin Ramesa <[email protected]> 2388: 2389: Mark pure functions with attribute pure 2390: 2391: kern/strings.c (strlen): mark with attribute pure 2392: * kern/strings.c (strlen): Mark with attribute pure. 2393: 2394: ddb/db_watch.c (db_watchpoint_cmd): remove forward declaration 2395: * ddb/db_watch.c (db_watchpoint_cmd) (db_option): Remove forward declaration. 2396: 2397: 2013-12-20 Marin Ramesa <[email protected]> 2398: 2399: Declare void argument lists (part 2) 2400: Declare void argument lists that were not declared in the first 2401: part of this patch and 2402: 2403: * kern/sched_prim.h (recompute_priorities): Fix prototype. 2404: * kern/startup.c (setup_main) (recompute_priorities): Fix call. 2405: 2406: 2013-12-18 Justus Winter <[email protected]> 2407: 2408: i386: add missing includes 2409: * i386/i386at/kd_event.h: Add missing includes. 2410: 2411: 2013-12-17 Marin Ramesa <[email protected]> 2412: 2413: kern: avoid the casts in enqueue_head() and enqueue_tail() 2414: * kern/eventcount.c (simpler_thread_setrun) (enqueue_head) (th): Avoid the cast. 2415: * kern/thread.c (thread_halt_self) (enqueue_tail) (thread): Likewise. 2416: * kern/thread_swap.c (thread_swapin) (enqueue_tail) (thread): Likewise. 2417: 2418: Mark functions that don't return with attribute noreturn 2419: 2420: vm: qualify pointers whose dereferenced values are constant with const 2421: 2422: util: qualify pointers whose dereferenced values are constant with const 2423: 2424: kern: qualify pointers whose dereferenced values are constant with const 2425: 2426: ipc: qualify pointers whose dereferenced values are constant with const 2427: 2428: i386: qualify pointers whose dereferenced values are constant with const 2429: 2430: device: qualify pointers whose dereferenced values are constant with const 2431: 2432: Cleanup of the copyin() and copyout() calls 2433: * device/ds_routines.c (device_write_trap) (copyin) (data): Cast to (void *). Argument is an address. 2434: (device_write_trap) (copyin) (io_data): Don't cast. 2435: (device_writev_trap) (copyin) (iovec, stack_iovec): Likewise. 2436: (device_writev_trap) (copyin) (data, p): Cast to (void *). Arguments are addresses. 2437: * kern/bootstrap.c (build_args_and_stack) (copyout) (arg_count, string_pos, zero): Don't cast. 2438: * kern/ipc_mig.c (syscall_vm_map) (copyin, copyout) (addr, address): Likewise. 2439: (syscall_vm_allocate) (copyin, copyout) (addr, address): Likewise. 2440: (syscall_task_create) (copyout) (name, child_task): Likewise. 2441: (syscall_mach_port_allocate) (copyout) (name, namep): Likewise. 2442: * kern/time_stamp.c (copyout) (temp, tsp): Likewise. 2443: 2444: 2013-12-17 Marin Ramesa <[email protected]> 2445: 2446: kern/sched_prim.h: remove unnecessary __GNUC__ #ifdef 2447: Attribute noreturn is used irrespective of __GNUC__. Remove 2448: unnecessary #ifdef. 2449: 2450: * kern/sched_prim.h [__GNUC__]: Remove #ifdef. 2451: 2452: 2013-12-17 Justus Winter <[email protected]> 2453: 2454: xen: add missing includes 2455: * xen/console.h: Add missing includes. 2456: 2457: 2013-12-16 Marin Ramesa <[email protected]> 2458: 2459: kern: quiet GCC warnings about set but unused variables 2460: * kern/lock.h (simple_lock_data_empty): Define. 2461: (decl_simple_lock_data, simple_unlock): Likewise. 2462: * kern/sched_prim.c (lock): Declare. 2463: [MACH_SLOCKS]: Remove #ifs. 2464: * kern/task.c (task_lock, task_unlock): Remove address operator. 2465: 2466: Quiet GCC warning about uninitialized variable 2467: * ddb/db_command.h (db_error): Mark with attribute noreturn. 2468: * i386/i386/setjmp.h (_longjmp): Likewise. 2469: 2470: 2013-12-15 Marin Ramesa <[email protected]> 2471: 2472: i386/i386/db_trace.c: use (long *) instead of an (int *) 2473: * i386/i386/db_trace.c (db_lookup_i386_kreg) (kregp): Use (long *) instead of an (int *). 2474: 2475: device/dev_pager.c (device_pager_data_request_done): cast to size_t instead to unsigned 2476: * device/dev_pager.c (device_pager_data_request_done) (memset) (io_residual): Cast to size_t instead to unsigned. 2477: 2478: 2013-12-15 Marin Ramesa <[email protected]> 2479: 2480: device/dev_pager.c: remove unnecessary casts 2481: Variable pager is already of ipc_port_t type. 2482: 2483: * device/dev_pager.c: Remove unnecessary casts. 2484: 2485: 2013-12-15 Marin Ramesa <[email protected]> 2486: 2487: kern/sched_prim.c: avoid casts 2488: Avoid the casts by passing the address of the links thread 2489: structure member to enqueue_tail(). 2490: 2491: * kern/sched_prim.c: Avoid casts. 2492: 2493: 2013-12-15 Marin Ramesa <[email protected]> 2494: 2495: ddb: qualify pointers whose dereferenced values are constant with const 2496: 2497: 2013-12-15 Samuel Thibault <[email protected]> 2498: 2499: Fix gcc signedness warning 2500: Thanks Marin Ramesa and Richard Braun for investigating. 2501: 2502: * i386/i386at/kd.c (kdintr): Make `char_idx' and `max' unsigned. 2503: (kdstate2idx): Make function take and return unsigned ints for the state. 2504: * i386/i386at/kd.h (kdstate2idx): Likewise. 2505: 2506: 2013-12-15 Marin Ramesa <[email protected]> 2507: 2508: Type definition 2509: * i386/i386/ast_check.c (init_ast_check, cause_ast_check): Define return type. 2510: * i386/i386/pic.c (intnull, prtnull): Define argument types. 2511: * i386/i386at/com.c (compr_addr): Likewise. 2512: (compr): Likewise. 2513: (compr_addr): Fix printf format. 2514: * i386/i386at/kd.c (kd_cmdreg_write, kd_kbd_magic): Define argument types. 2515: * i386/i386at/kd_mouse.c (init_mouse_hw): Likewise. 2516: * ipc/mach_port.c (sact_count): Define return type. 2517: * ipc/mach_rpc.c (mach_port_rpc_sig): Define argument types. 2518: * kern/act.c (dump_act): Define return type. 2519: * kern/lock_mon.c (simple_lock, simple_lock_try, simple_unlock, lip, lock_info_sort, lock_info_clear, print_lock_info): Define return type. 2520: (time_lock): Define return type and argument type. 2521: * kern/timer.c (time_trap_uexit): Define argument type. 2522: 2523: 2013-12-15 Marin Ramesa <[email protected]> 2524: 2525: ddb/db_expr.c (db_mult_expr): initialize lhs 2526: Initialize lhs to zero to avoid uninitialized usage in db_unary(). 2527: 2528: * ddb/db_expr.c (db_mult_expr) (lhs): Initialize to zero. 2529: 2530: 2013-12-15 Marin Ramesa <[email protected]> 2531: 2532: ddb/db_break.c (db_delete_cmd): remove unnecessary initialization 2533: Now that we have returns there are no more warnings from GCC about 2534: uninitialized variable. Remove unnecessary initialization of variable 2535: bkpt. 2536: 2537: * ddb/db_break.c (db_delete_cmd) (bkpt): Remove unnecessary initialization. 2538: 2539: 2013-12-15 Marin Ramesa <[email protected]> 2540: 2541: ddb/db_break.c (db_find_breakpoint_here): remove unnecessary casts 2542: Variable addr and member address are already of db_addr_t type which 2543: is type defined as vm_offset_t. 2544: 2545: * ddb/db_break.c (db_find_breakpoint_here) (DB_PHYS_EQ) (addr, address): Remove unecessary casts. 2546: 2547: 2013-12-15 Marin Ramesa <[email protected]> 2548: 2549: vm/vm_resident.c (vm_page_print): remove unnecessary casts 2550: Members offset and phys_addr are of vm_offset_t types. 2551: 2552: * vm/vm_resident.c (vm_page_print) (offset, phys_addr): Remove unnecessary casts. 2553: 2554: 2013-12-15 Marin Ramesa <[email protected]> 2555: 2556: vm/vm_kern.c (kmem_submap): remove unnecessary cast 2557: The return value from vm_map_min() is already of vm_offset_t type. 2558: 2559: * vm/vm_kern.c (kmem_submap) (addr): Remove unnecessary cast. 2560: 2561: 2013-12-15 Marin Ramesa <[email protected]> 2562: 2563: i386/i386/ldt.c: remove forward declaration 2564: * i386/i386/ldt.c (syscall): Remove forward declaration. 2565: Include locore.h. 2566: * i386/i386/locore.h (syscall): Add prototype. 2567: 2568: 2013-12-15 Marin Ramesa <[email protected]> 2569: 2570: kern/mach_clock.c: update comment 2571: This is mach_clock.c, not clock_prim.c. 2572: 2573: * kern/mach_clock.c: Update comment. 2574: 2575: 2013-12-15 Marin Ramesa <[email protected]> 2576: 2577: Declare void argument lists 2578: 2579: 2013-12-11 Marin Ramesa <[email protected]> 2580: 2581: i386/i386at/kd_mouse.c (kd_mouse_open): remove forward declaration 2582: * i386/i386at/kd_mouse.c (kd_mouse_open) (kdintr): Remove forward declaration. 2583: 2584: i386/i386at/kd.c (kdinit): remove forward declaration 2585: * i386/i386at/kd.c (kdinit) (kd_xga_init): Remove forward declaration. 2586: * i386/i386at/kd.h (kd_xga_init): Add prototype. 2587: 2588: 2013-12-11 Marin Ramesa <[email protected]> 2589: 2590: i386/i386at/kd.c (kdmmap): remove unnecessary cast 2591: Variable off is already an unsigned int. 2592: 2593: * i386/i386at/kd.c (kdmmap) (off): Remove unnecessary cast. 2594: 2595: 2013-12-11 Marin Ramesa <[email protected]> 2596: 2597: i386/i386at/kd.c: remove forward declarations 2598: * i386/i386at/kd.c (kd_getdata, state2leds, kdstart, kdstop): Remove forward declarations. 2599: * i386/i386at/kd.h (kd_getdata, state2leds, kdstart, kdstop): Add prototypes. 2600: Include device/tty.h. 2601: 2602: 2013-12-11 Marin Ramesa <[email protected]> 2603: 2604: i386/i386/db_trace.c (db_i386_stack_trace): remove unnecessary cast 2605: Argument to INKERNEL() is already cast to vm_offset_t in the macro itself. 2606: 2607: * i386/i386/db_trace.c (db_i386_stack_trace) (INKERNEL) (callpc): Don't cast to unsigned long. 2608: (db_i386_stack_trace) (INKERNEL) (frame): Likewise. 2609: 2610: 2013-12-11 Marin Ramesa <[email protected]> 2611: 2612: i386/i386/db_trace.c: remove forward declaration 2613: * i386/Makefrag.am: List i386/i386/db_trace.h. 2614: * i386/i386/db_trace.c: Include machine/db_trace.h. 2615: (db_i386_stack_trace): Remove forward declaration. 2616: * i386/i386/db_trace.h: New file. 2617: Add copyright. 2618: [_I386_DB_TRACE_H_]: Add ifndef. 2619: (i386_frame): Declare forward. 2620: (db_i386_stack_trace): Add prototype. 2621: 2622: 2013-12-11 Marin Ramesa <[email protected]> 2623: 2624: ipc/mach_debug.c (mach_port_kernel_object): remove unnecessary cast 2625: Member ip_kobject is of type vm_offset_t. 2626: 2627: * ipc/mach_debug.c (mach_port_kernel_object) (ip_kobject): Remove unnecessary cast. 2628: 2629: 2013-12-11 Marin Ramesa <[email protected]> 2630: 2631: ipc/mach_debug.c (mach_port_kernel_object): remove unnecessary cast 2632: Return value from ip_kotype is an unsigned int. 2633: 2634: * ipc/mach_debug.c (mach_port_kernel_object) (ip_kotype): Remove unnecessary cast. 2635: 2636: 2013-12-11 Marin Ramesa <[email protected]> 2637: 2638: Cleanup of the memcpy(), memmove(), memcmp() and memset() calls 2639: Addresses were cast to (void *). Pointers uncasted. 2640: 2641: * device/ds_routines.c (ds_read_done) (memset) (start_sent): Cast to (void *) instead to (char *). Argument is an address. 2642: (ds_read_done) (memset) (end_data): Likewise. 2643: * i386/i386/pcb.c (thread_getstatus) (memcpy) (pm): Don't cast. Argument is a pointer. 2644: (thread_getstatus) (memcpy) (iopb): Likewise. 2645: * i386/i386at/immc.c (immc_cnputc) (memmove): Cast first argument to (void *). Argument is an address. 2646: (immc_cnputc) (memmove): Cast second argument to (void *). Argument is an address. 2647: (immc_cnputc) (memset): Cast first argument to (void *). Argument is an address. 2648: * i386/i386at/model_dep.c (i386at_init) (memcpy) (phystokv): Cast to (void *) instead to (char *). Argument is an address. 2649: * i386/intel/pmap.c (pmap_init) (memset) (addr): Likewise. 2650: * ipc/mach_debug.c (mach_port_space_info) (memset) (table_addr + size_used): Likewise. 2651: (mach_port_space_info) (memset) (tree_addr + size_used): Likewise. 2652: * kern/host.c (host_processor_sets) (memcpy) (newaddr): Likewise. 2653: (host_processor_sets) (memcpy) (addr): Likewise. 2654: * kern/xpr.c (xprbootstrap) (memset) (addr): Likewise. 2655: * vm/vm_debug.c (mach_vm_object_pages) (memset) (addr + size_used): Likewise. 2656: 2657: 2013-12-10 Marin Ramesa <[email protected]> 2658: 2659: device/subrs.c: use io_req_t instead of struct buf 2660: Struct buf is not defined. Use io_req_t instead of it. 2661: 2662: * device/subrs.c (harderr) (bp): Change name to ior and use io_req_t as type instead of (struct buf *). 2663: (harderr) (minor): Use io_unit instead of b_dev. 2664: (harderr): Use io_recnum instead of b_blkno. 2665: (gateblk): Use io_req_t as return value instead of (struct buf *). 2666: (brelse) (bp): Change name to ior and use io_req_t as type instead of (struct buf *). 2667: (brelse) (ior): Remove variable. 2668: 2669: 2013-12-10 Marin Ramesa <[email protected]> 2670: 2671: device/net_io.c: remove forward declarations 2672: * device/net_io.c (bpf_hash, net_do_filter, bpf_do_filter, hash_ent_remove, net_free_dead_infp, net_free_dead_entp, bpf_validate, bpf_eq, net_add_q_info, bpf_match): Remove forward declarations. 2673: * device/net_io.h (net_rcv_port, net_hash_entry, net_hash_header): Declare forward. 2674: (bpf_hash, net_do_filter, bpf_do_filter, hash_ent_remove, net_free_dead_infp, net_free_dead_entp, bpf_validate, bpf_eq, net_add_q_info, bpf_match): Add prototypes. 2675: 2676: device/dev_pager.c: remove forward declarations 2677: * device/dev_pager.c (device_pager_data_request_done, device_pager_data_write_done): Remove forward declarations. 2678: * device/dev_pager.h (device_pager_data_request_done, device_pager_data_write_done): Add prototypes. 2679: 2680: device/dev_pager.c: remove forward declaration 2681: * Makefrag.am: Include device/blkio.h. 2682: * device/blkio.h: New file. 2683: Add copyright. 2684: [_DEVICE_BLKIO_H_]: Add ifndef. 2685: (block_io_mmap): Add prototype. 2686: * device/dev_pager.c: Include device/blkio.h. 2687: (block_io_mmap): Remove forward declaration. 2688: 2689: 2013-12-10 Marin Ramesa <[email protected]> 2690: 2691: device/dev_pager.c (device_pager_data_request_done): remove unnecessary cast 2692: The argument to trunc_page() is already cast to vm_offset_t in the 2693: macro itself. 2694: 2695: * device/dev_pager.c (device_pager_data_request_done) (trunc_page) (io_data): Don't cast to vm_offset_t. 2696: 2697: 2013-12-10 Marin Ramesa <[email protected]> 2698: 2699: device/dev_pager.c (device_pager_data_request): cast to (void *) instead to (char *) 2700: * device/dev_pager.c (device_pager_data_request) (vm_object_page_map) (ds): Cast to (void *) instead to (char *). 2701: 2702: device/dev_pager.c (device_pager_data_request): remove forward declaration 2703: * Makefrag.am: Include device/dev_pager.h. 2704: * device/dev_pager.c: Likewise. 2705: (device_map_page): Remove forward declaration. 2706: * device/dev_pager.h: New file. 2707: Add copyright. 2708: [_DEVICE_DEV_PAGER_H_]: Add ifndef. 2709: (device_map_page): Add prototype. 2710: 2711: device/cons.c: fix argument list 2712: * device/cons.c (romgetc, romputc): Fix argument list. 2713: 2714: 2013-12-10 Marin Ramesa <[email protected]> 2715: 2716: device/cirbuf.c (cb_free): use vm_size_t instead of an int 2717: This is more in line with the call to kfree() in cb_free(). 2718: 2719: * device/cirbuf.c (cb_free) (size): Use vm_size_t instead of an int. 2720: 2721: 2013-12-10 Marin Ramesa <[email protected]> 2722: 2723: device/cirbuf.c (cb_alloc): use vm_size_t instead of an int 2724: This is more in line with the call to kalloc() in cb_alloc(). 2725: 2726: * device/chario.c (tty_inq_size, tty_outq_size): Use unsigned int instead if an int. 2727: * device/cirbuf.c (cb_alloc) (buf_size): Use vm_size_t instead of an int. 2728: * device/cirbuf.h (cb_alloc) (buf_size): Likewise. 2729: 2730: 2013-12-10 Marin Ramesa <[email protected]> 2731: 2732: device/chario.c: trivial stylistic fix for consistency 2733: * device/chario.c: Trivial stylistic fix for consistency. 2734: 2735: 2013-12-10 Marin Ramesa <[email protected]> 2736: 2737: i386/i386/db_interface.c: use vm_offset_t instead of an unsigned int 2738: This is more in line with how the function db_user_to_kernel_address() is 2739: called. In this way there is one cast less and several GCC warnings are 2740: silenced. 2741: 2742: * i386/i386/db_interface.c (db_set_hw_watchpoint) (kern_addr): Use vm_offset_t instead of an unsigned int. 2743: (db_user_to_kernel_address) (kaddr): Likewise. 2744: (db_user_to_kernel_address) (ptetokv): Don't cast return value. 2745: (db_read_bytes) (kern_addr): Use vm_offset_t instead of an unsigned int. 2746: (db_write_bytes_user_space) (kern_addr): Likewise. 2747: (db_task_name) (vaddr, kaddr): Likewise. 2748: * i386/i386/db_interface.h (db_user_to_kernel_address) (kaddr): Likewise. 2749: 2750: 2013-12-10 Marin Ramesa <[email protected]> 2751: 2752: i386/i386at/kd_event.c (kbdsetstat): fix difference in signedness 2753: * i386/i386at/kd_event.c (X_kdb_enter_init, X_kdb_exit_init): Cast first arguments to (unsigned int *). 2754: 2755: 2013-12-10 Marin Ramesa <[email protected]> 2756: 2757: i386: move prototypes to fix implicit declaration of function 2758: This fixes the implicit declarations in kern/machine.c and kern/debug.c. 2759: 2760: * i386/i386/model_dep.h (halt_cpu, halt_all_cpus): Add prototypes. 2761: * i386/i386at/model_dep.h (halt_cpu, halt_all_cpus): Remove prototypes. 2762: 2763: 2013-12-08 Marin Ramesa <[email protected]> 2764: 2765: ddb/db_trap.c (db_task_trap): remove forward declarations 2766: * ddb/db_break.h (db_check_breakpoint_valid): Add prototype. 2767: * ddb/db_trap.c (db_init_default_thread, db_check_breakpoint_valid): Remove forward declarations. 2768: 2769: 2013-12-08 Marin Ramesa <[email protected]> 2770: 2771: Use db_addr_t instead of db_expr_t 2772: In this way everything falls into place and there is one cast less. 2773: 2774: Function db_task_printsym() is already always called with the cast to 2775: db_addr_t in the first argument. 2776: 2777: * ddb/db_aout.c (aout_db_line_at_pc): Use db_addr_t instead of db_expr_t. 2778: (aout_db_search_by_addr): Don't cast to vm_offset_t. Argument is already 2779: db_addr_t. 2780: * ddb/db_aout.h (aout_db_line_at_pc): Use db_addr_t instead of db_expr_t. 2781: * ddb/db_sym.c (db_task_printsym): Likewise. 2782: (db_line_at_pc): Likewise. 2783: * ddb/db_sym.h (db_task_printsym): Likewise. 2784: (db_line_at_pc): Likewise. 2785: * i386/i386/db_trace.c (db_task_printsym): Cast to db_addr_t instead of db_expr_t. 2786: Member swap_func is a pointer to void. 2787: 2788: 2013-12-08 Marin Ramesa <[email protected]> 2789: 2790: ddb/db_print.c: use unsigned long instead of an unsigned int 2791: Variable db_maxoff is in other files declared as unsigned long. 2792: 2793: * ddb/db_print.c (db_maxoff): Use unsigned long instead of an unsigned int. 2794: 2795: 2013-12-08 Marin Ramesa <[email protected]> 2796: 2797: ddb/db_mp.c: definition of db_console() only if CONSOLE_ON_MASTER 2798: Function db_console() is called only if CONSOLE_ON_MASTER. 2799: 2800: If it stays this way, db_console() will not compile. I don't know 2801: if it should be removed. Maybe someone will rewrite it. 2802: 2803: * ddb/db_mp.c (db_console): Definition only if CONSOLE_ON_MASTER. 2804: * ddb/db_mp.h [CONSOLE_ON_MASTER] (db_console): Add prototype. 2805: 2806: 2013-12-08 Marin Ramesa <[email protected]> 2807: 2808: ddb/db_mp.c: use boolean instead of an int 2809: * ddb/db_mp.c (db_enter_debug): Use boolean instead of an int. 2810: 2811: ddb/db_examine.c: trivial stylistic fix for consistency 2812: * ddb/db_examine.c: Trivial stylistic fix for consistency. 2813: 2814: ddb/db_examine.c (db_examine_cmd): remove forward declaration 2815: * ddb/db_examine.c (db_option): Remove forward declaration. 2816: 2817: ddb/db_command.c (db_command): remove forward declaration 2818: * ddb/db_command.c (db_fncall): Remove forward declaration. 2819: 2820: ddb/db_command.c: use boolean values 2821: * ddb/db_command.c (db_cmd_loop_done): Use boolean values. 2822: 2823: 2013-12-08 Marin Ramesa <[email protected]> 2824: 2825: i386/i386at/kd.c: use io_req instead of uio 2826: Struct uio is nowhere defined and in device/buf.h the string uio is defined 2827: as io_req. Remove all declarations of uio structure and use io_req_t instead 2828: of it. 2829: 2830: * device/buf.h (uio, io_req): Remove definition. 2831: * i386/i386at/kd.c: Remove comment. 2832: (kdread): Use io_req_t. 2833: (kdwrite): Likewise. 2834: * i386/i386at/kd.h (kdread, kdwrite): Use io_req_t as argument type. 2835: 2836: 2013-12-08 Marin Ramesa <[email protected]> 2837: 2838: ddb/db_break.c (db_find_thread_breakpoint_here): remove unnecessary cast 2839: Variable addr is already of type db_addr_t. 2840: 2841: * ddb/db_break.c (db_find_thread_breakpoint_here) (addr): Don't cast to db_addr_t. 2842: 2843: 2013-12-08 Marin Ramesa <[email protected]> 2844: 2845: ddb/db_break.c (db_add_thread_breakpoint): fix argument list 2846: * ddb/db_break.c (db_add_thread_breakpoint): Fix argument list. 2847: 2848: ddb/db_aout.c (aout_db_lookup): remove forward declaration 2849: * ddb/db_aout.c (db_sym_parse_and_lookup): Remove forward declaration. 2850: * ddb/db_sym.h (db_sym_parse_and_lookup): Add prototype. 2851: 2852: 2013-12-08 Marin Ramesa <[email protected]> 2853: 2854: ddb/db_aout.c (aout_db_qualified_search): use DB_SYM_NULL as return value 2855: Function aout_db_qualified_search() returns db_sym_t. Use DB_SYM_NULL as 2856: return value instead of zero. 2857: 2858: * ddb/db_aout.c (aout_db_qualified_search): Use DB_SYM_NULL as return value. 2859: 2860: 2013-12-08 Marin Ramesa <[email protected]> 2861: 2862: i386/i386/db_interface.c: remove forward declaration 2863: * i386/i386/db_interface.c (db_write_bytes_user_space): Remove forward declaration. 2864: * i386/i386/db_interface.h (db_write_bytes_user_space): Add prototype. 2865: 2866: i386/i386at/lpr.c: fix initalization from incompatible pointer type 2867: * i386/i386at/lpr.c (lprprobe): Modify argument types. 2868: * i386/i386at/lpr.h (lprprobe): Likewise. 2869: 2870: i386/i386at/com.c: fix assignment from incompatible pointer type 2871: * device/tty.h (tty): Modify so that correct argument list and return type is listed. 2872: 2873: i386/i386at/com.c: fix initialization from incompatible pointer type 2874: * i386/i386at/com.c (comprobe): Modify argument types. 2875: (comprobe): Cast from (struct bus_ctrl *) to (struct bus_device *). 2876: comprobe_general() uses only a small subset of members, so it's all 2877: the same which struct it is. 2878: * i386/i386at/com.h (comprobe): Modify argument types. 2879: 2880: kern/startup.c: use boolean values 2881: * kern/startup.c (reboot_on_panic): Use boolean values. 2882: 2883: vm/vm_map.c: use boolean instead of an int 2884: * vm/vm_map.c (vm_map_pmap_enter_print, vm_map_pmap_enter_enable): Use boolean instead of an int. 2885: 2886: vm/vm_object.c: remove unused variable 2887: * vm/vm_object.c (vm_object_terminate_remove_all): Remove unused variable. 2888: 2889: vm/vm_pageout.c: remove forward declarations 2890: * vm/vm_pageout.c (vm_pageout_continue, vm_pageout_scan_continue): Remove forward declarations. 2891: * vm/vm_pageout.h (vm_pageout_continue, vm_pageout_scan_continue): Add prototypes. 2892: 2893: i386/i386at/pic_isa.c: remove forward declaration 2894: * i386/Makefrag.am: Include i386/i386/hardclock.h. 2895: * i386/i386/hardclock.h: New file. 2896: Add copyright. 2897: [_I386_HARDCLOCK_H_]: Add ifndef. 2898: (hardclock): Add prototype. 2899: * i386/i386at/pic_isa.c (hardclock): Remove forward declaration. 2900: Include i386/hardclock.h. 2901: 2902: i386/i386at/model_dep.c: fix argument list 2903: * i386/i386at/model_dep.c (timemmap): Fix argument list. 2904: 2905: i386/i386at/lpr.c: fix argument list 2906: * i386/i386at/lpr.c (lprprobe): Fix argument list. 2907: 2908: ddb/db_output.c: remove forward declaration 2909: * ddb/db_input.h (db_check_interrupt): Add prototype. 2910: * ddb/db_output.c: Include ddb/db_input.h. 2911: (db_check_interrupt): Remove forward declaration. 2912: 2913: 2013-12-08 Marin Ramesa <[email protected]> 2914: 2915: kern/act.h: remove unnecessary include 2916: File kern/act.h includes itself. Remove this include. 2917: 2918: * kern/act.h: Don't include kern/act.h. 2919: 2920: 2013-12-08 Marin Ramesa <[email protected]> 2921: 2922: Cleanup of the prototypes 2923: * device/cirbuf.h (nqdb): Remove prototype without definition. 2924: * device/conf.h (dev_set_indirect): Likewise. 2925: * kern/boot_script.h (boot_script_read_file): Likewise. 2926: * kern/eventcount.h (evc_notify_abort): Remove duplicate prototype. 2927: * kern/thread.h (thread_set_own_priority): Likewise. 2928: * kern/thread_swap.h (thread_swapout): Remove prototype without definition. 2929: * kern/timer.h (softclock): Remove duplicate prototype. 2930: * vm/pmap.h (pmap_resident_count, pmap_access, pmap_phys_address, pmap_phys_to_frame): Remove prototypes without function definition. 2931: * vm/vm_page.h (vm_set_page_size): Likewise. 2932: 2933: vm/vm_page.h: remove unused variables 2934: * vm/vm_page.h (first_phys_addr, last_phys_addr): Remove unused variables. 2935: 2936: kern/syscall_sw.c: use boolean instead of an int 2937: * kern/syscall_sw.c (kern_invalid_debug): Use boolean instead of an int. 2938: 2939: 2013-12-08 Marin Ramesa <[email protected]> 2940: 2941: kern/refcount.h: remove unnecessary include 2942: File kern/refcount.h includes itself. Remove this include. 2943: 2944: * kern/refcount.h: Don't include kern/refcount.h. 2945: 2946: 2013-12-08 Marin Ramesa <[email protected]> 2947: 2948: kern/rbtree.h: remove unnecessary include 2949: File kern/rbtree.h includes itself. Remove this include. 2950: 2951: * kern/rbtree.h: Don't include kern/rbtree.h. 2952: 2953: 2013-12-08 Marin Ramesa <[email protected]> 2954: 2955: kern/priority.c: update comment 2956: This is priority.c. Not clock_prim.c. 2957: 2958: * kern/priority.c: Update comment. 2959: 2960: 2013-12-08 Marin Ramesa <[email protected]> 2961: 2962: kern/pc_sample.c: remove unused variables 2963: * kern/pc_sample.c (pc_sampling_enabled, pc_sampling_lock): Remove unused variables. 2964: 2965: kern/lock_mon.c: remove dead assignments 2966: * kern/lock_mon.c (scurval, ssum, sli): Remove variables. 2967: (scurval, ssum, sli): Remove dead assignments. 2968: 2969: 2013-12-08 Marin Ramesa <[email protected]> 2970: 2971: kern/lock_mon.c: use spl_t instead of an int 2972: Variable curr_ipl is in other files declared as spl_t. 2973: 2974: * kern/lock_mon.c (curr_ipl): Use spl_t instead of an int. 2975: 2976: 2013-12-08 Marin Ramesa <[email protected]> 2977: 2978: kern/act.h: remove prototype without definition 2979: * kern/act.h (act_create_kernel): Remove prototype without definition. 2980: 2981: 2013-12-08 Samuel Thibault <[email protected]> 2982: 2983: Add comment 2984: 2985: 2013-12-08 Marin Ramesa <[email protected]> 2986: 2987: ipc/port.h: update comment 2988: This is ipc/port.h. Not ipc/ipc_port.h. 2989: 2990: * ipc/port.h: Update comment. 2991: 2992: 2013-12-08 Marin Ramesa <[email protected]> 2993: 2994: ipc/mach_port.c: use boolean instead of an int 2995: * ipc/mach_port.c (mach_port_deallocate_debug): Use boolean instead of an int. 2996: 2997: ipc/ipc_init.c: qualify constant with const 2998: * ipc/ipc_init.c (ipc_kernel_map_size): Qualify constant with const. 2999: 3000: i386/intel/pmap.c: remove unused variable 3001: * i386/intel/pmap.c (end): Remove unused variable. 3002: 3003: i386/intel/pmap.c: use boolean instead of an int 3004: * i386/intel/pmap.c (pmap_debug): Use boolean instead of an int. 3005: 3006: time: remove unused variable 3007: * i386/i386at/rtc.c (tz): Remove unused variable. 3008: * xen/time.c (tz): Remove unused variable. 3009: 3010: i386/i386at/rtc.c: use boolean instead of an int 3011: * i386/i386at/rtc.c (first_rtcopen_ever): Use boolean instead of an int. 3012: 3013: i386/i386at/kd.c: use boolean instead of an unsigned int 3014: * i386/i386at/kd.c (kd_bellstate): Use boolean instead of an unsigned int. 3015: 3016: i386/i386at/kd.c: use boolean instead of an int 3017: * i386/i386at/kd.c (mouse_in_use): Use boolean instead of an int. 3018: Remove duplicate declaration. 3019: 3020: i386/i386at/model_dep.c, kd.c: use boolean instead of an int 3021: * i386/i386at/kd.c (rebootflag): Use boolean instead of an int. 3022: Remove duplicate variable declaration. 3023: * i386/i386at/model_dep.c (rebootflag): Use boolean instead of an int. 3024: 3025: i386/i386at/immc.c, kd.c: use boolean instead of an int 3026: * i386/i386at/immc.c (immediate_console_enable): Use boolean instead of an int. 3027: * i386/i386at/kd.c (immediate_console_enable): Likewise. 3028: 3029: i386/i386/user_ldt.c: remove unused variable 3030: * i386/i386/user_ldt.c (acc_type): Remove unused variable. 3031: 3032: i386/i386/trap.c: remove unused variables 3033: * i386/i386/trap.c (v86_assist_on, v86_unsafe_ok, v86_do_sti_cli, v86_do_sti_immediate, cli_count, sti_count): Remove unused variables. 3034: 3035: i386/i386/trap.c: remove unused variable 3036: * i386/i386/trap.c (brb): Remove unused variable. 3037: 3038: i386/i386/pit.c: remove unused variables 3039: * i386/i386/pit.c (pitctr1_port, pitctr2_port): Remove unused variables. 3040: 3041: i386/i386/pic.c: remove unused variables 3042: * i386/i386/pic.c (nintr, npics): Remove unused variables. 3043: 3044: i386/i386/mp_desc.c: remove unused variable 3045: * i386/i386/mp_desc.c (avail_start): Remove unused variable. 3046: 3047: 2013-12-08 Marin Ramesa <[email protected]> 3048: 3049: i386/i386/ipl.h: remove ifdef and add ifndef 3050: This code is used even if KERNEL is not defined. Remove the ifdef. 3051: 3052: * i386/i386/ipl.h [_I386_IPL_H_]: Add ifndef. 3053: 3054: 2013-12-08 Marin Ramesa <[email protected]> 3055: 3056: i386/i386/db_interface.c: use boolean instead of an int 3057: * i386/i386/db_interface.c (kernel_dr): Use boolean instead of an int. 3058: 3059: 2013-12-08 Marin Ramesa <[email protected]> 3060: 3061: device/tty.h, chario.h: move prototype 3062: Now that we have device/chario.h move the chario_init() prototype 3063: from device/tty.h to device/chario.h. 3064: 3065: * device/chario.h (chario_init): Add prototype. 3066: * device/device_init.c: Include device/chario.h. 3067: * device/tty.h (chario_init): Remove prototype. 3068: 3069: 2013-12-08 Marin Ramesa <[email protected]> 3070: 3071: device/kmsg.c: use boolean instead of an int 3072: * device/kmsg.c (kmsg_init_done): Use boolean instead of an int. 3073: 3074: device/kmsg.c: use boolean instead of an int 3075: * device/kmsg.c (kmsg_in_use): Use boolean instead of an int. 3076: 3077: device/if_ether.h: remove unused variable 3078: * device/if_ether.h (etherbroadcastaddr): Remove unused variable. 3079: * device/subrs.c (etherbroadcastaddr): Remove initialization. 3080: 3081: device/dev_lookup.c: remove unused lock 3082: * device/dev_lookup.c (dev_port_lock): Remove unused lock. 3083: 3084: device/cirbuf.c: use boolean instead of an int 3085: * device/cirbuf.c (cb_check_enable): Use boolean instead of an int. 3086: 3087: device/chario.c: use boolean instead of an int 3088: * device/chario.c (pdma_default): Use boolean instead of an int. 3089: 3090: 2013-12-08 Marin Ramesa <[email protected]> 3091: 3092: ddb/db_output.c: remove duplicate function 3093: Function kdbprintf() and db_printf() are the same function. Remove 3094: kdbprintf() and define kdbprintf to db_printf. 3095: 3096: * ddb/db_output.c (kdbprintf): Remove function. 3097: * ddb/db_output.h: Define kdbprintf to db_printf. 3098: (kdbprintf): Remove prototype. 3099: 3100: 2013-12-08 Marin Ramesa <[email protected]> 3101: 3102: ddb/db_output.c: remove call to nonexistent db_printf_enter() 3103: * ddb/db_output.c [db_printf_enter] (db_printf_enter): Remove call to nonexistent function. 3104: 3105: ddb/db_command.h: remove duplicate variable declaration 3106: * ddb/db_command.h (db_recover): Remove duplicate variable declaration. 3107: 3108: ddb/db_command.c: remove forward declaration 3109: * ddb/db_command.c (db_skip_to_eol): Remove forward declaration. 3110: 3111: 2013-12-08 Marin Ramesa <[email protected]> 3112: 3113: i386/i386/setjmp.h: remove ifdef 3114: Function _longjmp() is used even if __GNUC__ is not defined. Avoid 3115: implicit declaration in that case by removing the ifdef. 3116: 3117: * i386/i386/setjmp.h [__GNUC__] (_longjmp): Remove ifdef. 3118: 3119: 2013-12-08 Marin Ramesa <[email protected]> 3120: 3121: kern/machine.c: remove __volatile__ 3122: Shutdown can be optimised. Remove __volatile__. 3123: 3124: * kern/machine.c [__GNUC__] (processor_doshutdown): Remove volatile function qualifier. 3125: 3126: 2013-12-08 Marin Ramesa <[email protected]> 3127: 3128: ipc/ipc_port.c: trivial stylistic fix for consistency 3129: * ipc/ipc_port.c (indent): Trivial stylistic fix for consistency. 3130: 3131: 2013-12-08 Samuel Thibault <[email protected]> 3132: 3133: Make unsigned character constants unsigned 3134: Thanks Marin Ramesa for the report. 3135: 3136: * i386/i386at/kd.h (K_DONE, NC, K_SCAN): Make constants unsigned. 3137: 3138: 2013-12-08 Samuel Thibault <[email protected]> 3139: 3140: Always make Assert trigger debugger 3141: * kern/debug.c (Assert): Always call Debugger, even if db_breakpoints_insert 3142: is not set. 3143: 3144: 2013-12-08 Samuel Thibault <[email protected]> 3145: 3146: Fix implicit declaration of function 3147: Thanks Marin Ramesa for the report. 3148: 3149: * device/ds_routines.h (device_deallocate): Move declaration to... 3150: * include/device/device_types.h (device_deallocate): ... here. 3151: 3152: 2013-12-08 Marin Ramesa <[email protected]> 3153: 3154: device/device_types_kernel.h: remove redeclaration of dev_port_lookup() 3155: * device/device_types_kernel.h (dev_port_lookup): Remove prototype. 3156: 3157: Add ifndefs 3158: * i386/i386at/cram.h [_CRAM_H_]: Add ifndef. 3159: * i386/i386at/disk.h [_DISK_H_]: Likewise. 3160: * i386/i386at/i8250.h [_I8250_H_]: Likewise. 3161: * i386/include/mach/i386/asm.h [_MACH_I386_ASM_H_]: Likewise. 3162: * i386/include/mach/i386/disk.h [_MACH_I386_DISK_H_]: Likewise. 3163: 3164: Add comments after endifs 3165: * device/cons.c [MACH_KMSG]: Likewise. 3166: [CONSBUFSIZE > 0]: Likewise. 3167: * i386/i386/trap.c [MACH_KDB]: Likewise. 3168: [MACH_PV_PAGETABLES]: Likewise. 3169: * i386/i386at/kd.c [ENABLE_IMMEDIATE_CONSOLE]: Likewise. 3170: * ipc/ipc_kmsg_queue.h [_IPC_KMSG_QUEUE_H_]: Likewise. 3171: * kern/act.c [ACTWATCH]: Likewise. 3172: * kern/refcount.h [MACHINE_REFCOUNT]: Likewise. 3173: * kern/task.c [FAST_TAS]: Likewise. 3174: 3175: 2013-12-04 Samuel Thibault <[email protected]> 3176: 3177: Add missing include 3178: * ddb/db_variables.h: Include <machine/db_machdep.h>. 3179: 3180: 2013-12-04 Marin Ramesa <[email protected]> 3181: 3182: i386/i386at/com.h: include chips/busses.h for struct bus_device 3183: * i386/i386at/com.h: Include chips/busses.h. 3184: 3185: ddb/db_variables.c: fix near initialization 3186: * ddb/db_task_thread.c (db_set_default_thread): New parameter. 3187: * ddb/db_task_thread.h (db_set_default_thread): Likewise. 3188: 3189: kern/mach_clock.c: remove forward declaration 3190: * Makefrag.am: Include kern/priority.h. 3191: * kern/mach_clock.c (thread_quantum_update): Remove forward declaration. 3192: Include kern/priority.h. 3193: * kern/priority.h: New file. 3194: Add copyright. 3195: [_KERN_PRIORITY_H_]: Add ifndef. 3196: (thread_quantum_update): Add prototype. 3197: 3198: ipc/mach_port.c: remove forward declaration 3199: * ipc/mach_port.c (mach_port_get_receive_status): Remove forward declaration. 3200: * ipc/mach_port.h (mach_port_get_receive_status): Add prototype. 3201: 3202: ipc/ipc_entry.c: remove forward declaration 3203: * ipc/ipc_entry.c (db_ipc_object_by_name): Remove forward declaration. 3204: * ipc/ipc_entry.h (db_ipc_object_by_name): Add prototype. 3205: 3206: i386/i386at/model_dep.c: remove forward declaration 3207: * i386/i386at/model_dep.c (init_alloc_aligned): Remove forward declaration. 3208: * i386/i386at/model_dep.h (init_alloc_aligned): Add prototype. 3209: 3210: kern/time_stamp.c: remove multimax code 3211: * kern/time_stamp.c [multimax]: Remove code. 3212: 3213: 2013-12-04 Samuel Thibault <[email protected]> 3214: 3215: Remove unnecessary file 3216: * i386/Makefrag.am: Don't include i386/include/mach/i386/rpc.h. 3217: * i386/include/mach/i386/rpc.h: Remove file. 3218: 3219: 2013-12-04 Marin Ramesa <[email protected]> 3220: 3221: vm/vm_user.c: remove forward declaration 3222: * vm/vm_user.c (vm_map_machine_attribute): Remove forward declaration. 3223: 3224: 2013-12-04 Marin Ramesa <[email protected]> 3225: 3226: vm/vm_resident.c: correct comment 3227: This is vm_resident.c, not vm_page.c. 3228: 3229: * vm/vm_resident.c: Correct comment. 3230: 3231: 2013-12-04 Marin Ramesa <[email protected]> 3232: 3233: vm/vm_map.c: remove forward declarations 3234: * vm/vm_map.c (_vm_map_clip_start, _vm_map_copy_clip_start, _vm_map_clip_end, _vm_map_copy_clip_end): Remove forward declarations. 3235: * vm/vm_map.h (_vm_map_clip_end): Correct prototype. 3236: 3237: vm/vm_kern.c: remove forward declarations 3238: * vm/vm_kern.c (kmem_alloc_pages, kmem_remap_pages): Remove forward declarations. 3239: * vm/vm_kern.h (kmem_alloc_pages, kmem_remap_pages): Add prototypes. 3240: 3241: vm/vm_fault.c: remove forward declaration 3242: * vm/vm_fault.c (vm_fault_wire_fast): Remove forward declaration. 3243: * vm/vm_fault.h (vm_fault_wire_fast): Add prototype. 3244: 3245: 2013-12-04 Marin Ramesa <[email protected]> 3246: 3247: ipc/ipc_kmsg.h: update comment 3248: Struct ipc_kmsg_queue is not defined in kern/thread.h. 3249: 3250: * ipc/ipc_kmsg.h: Update comment. 3251: 3252: 2013-12-04 Marin Ramesa <[email protected]> 3253: 3254: kern: remove forward declaration 3255: * kern/xpr.c (db_printf): Remove forward declaration. 3256: [MACH_KDB] Include ddb/db_output.h. 3257: 3258: kern/thread.c: remove forward declaration 3259: * i386/i386/pcb.h (pcb_module_init): Add prototype. 3260: * kern/thread.c (pcb_module_init): Remove forward declaration. 3261: 3262: kern/task.c: remove forward declarations 3263: * ipc/ipc_mqueue.h: Include ipc/ipc_kmsg_queue.h. 3264: * kern/ipc_kobject.h: Move includes into ifndef. 3265: * kern/syscall_emulation.h: Include kern/task.h. 3266: (eml_init, eml_task_reference, eml_task_deallocate): Add prototypes. 3267: * kern/task.c: Include kern/syscall_emulation.h. 3268: (eml_init, eml_task_reference, eml_task_deallocate): Remove forward declarations 3269: 3270: kern/syscall_sw.c: remove forward declarations 3271: * kern/eventcount.h (evc_wait_clear): Add prototype. 3272: * kern/ipc_mig.h: Include device/device_types.h. 3273: (syscall_vm_map, syscall_vm_allocate, syscall_vm_deallocate, syscall_task_create, syscall_task_terminate, syscall_task_suspend, syscall_task_set_special_port, syscall_mach_port_allocate, syscall_mach_port_deallocate, syscall_mach_port_insert_right, syscall_mach_port_allocate_name, syscall_thread_depress_abort, syscall_device_write_request, syscall_device_writev_request): Add prototypes. 3274: * kern/syscall_sw.c (syscall_vm_map, syscall_vm_allocate, syscall_vm_deallocate, syscall_task_create, syscall_task_terminate, syscall_task_suspend, syscall_task_set_special_port, syscall_mach_port_allocate, syscall_mach_port_deallocate, syscall_mach_port_insert_right, syscall_mach_port_allocate_name, syscall_thread_depress_abort, evc_wait, evc_wait_clear, syscall_device_write_request, syscall_device_writev_request): Remove forward declarations. 3275: Include kern/ipc_mig.h. 3276: Include kern/eventcount.h. 3277: 3278: kern/syscall_subr.c: remove forward declaration 3279: * kern/syscall_subr.c (thread_depress_priority): Remove forward declaration. 3280: * kern/syscall_subr.h (thread_depress_priority): Add prototype. 3281: 3282: kern/startup.c: remove forward declarations 3283: * Makefrag.am: Include kern/bootstrap.h. 3284: Include vm/vm_init.h. 3285: Include device/device_init.h. 3286: * device/device_init.h: New file. 3287: Add copyright. 3288: [_DEVICE_DEVICE_INIT_H_]: Add ifndef. 3289: (device_service_create): Add prototype. 3290: * i386/i386/mp_desc.h (start_other_cpus): Add prototype. 3291: * kern/bootstrap.h: New file. 3292: Add copyright. 3293: [_KERN_BOOTSTRAP_H_]: Add ifndef. 3294: (bootstrap_create): Add prototype. 3295: * kern/sched_prim.h (idle_thread, sched_thread): Add prototypes. 3296: * kern/startup.c: Include kern/bootstrap.h. 3297: Include kern/startup.h. 3298: Include vm/vm_init.h. 3299: Include vm/vm_pageout.h. 3300: Include device/device_init.h. 3301: (vm_mem_init, vm_mem_bootstrap, init_timeout, machine_init, idle_thread, vm_pageout, reaper_thread, swapin_thread, sched_thread, bootstrap_create, device_service_create, cpu_launch_first_thread, start_kernel_threads, start_other_cpus, action_thread): Remove forward declarations. 3302: [NCPUS > 1] Include machine/mp_desc.h and kern/machine.h. 3303: * kern/startup.h: Include kern/thread.h. 3304: (cpu_launch_first_thread, start_kernel_threads): Add prototypes. 3305: * vm/vm_init.h: New file. 3306: Add copyright. 3307: [_VM_VM_INIT_H_]: Add ifndef. 3308: (vm_mem_init, vm_mem_bootstrap): Add prototypes. 3309: * vm/vm_pageout.h (vm_pageout): Add prototype. 3310: 3311: kern/sched_prim.c: remove forward declarations 3312: * kern/sched_prim.c (set_pri, do_thread_scan, choose_pset_thread, checkrq, thread_check): Remove forward declarations. 3313: * kern/sched_prim.h (set_pri, do_thread_scan, choose_pset_thread, checkrq, thread_check): Add prototypes. 3314: 3315: kern/processor.c: remove forward declarations 3316: * kern/processor.c (quantum_set, pset_init, processor_init): Remove forward declarations. 3317: * kern/processor.h (quantum_set, pset_init, processor_init): Add prototypes. 3318: 3319: kern/ipc_mig.c: remove forward declarations 3320: * device/ds_routines.h (ds_device_write_trap, ds_device_writev_trap): Add prototypes. 3321: * kern/ipc_mig.c (ds_device_write_trap, ds_device_writev_trap): Remove forward declarations. 3322: 3323: kern/debug.c: remove forward declaration 3324: * kern/debug.c (cnputc): Remove forward declaration. 3325: Include device/cons.h. 3326: 3327: kern/bootstrap.c: remove forward declarations 3328: * i386/i386/pcb.h: Include mach/thread_status.h. 3329: Include machine/thread.h. 3330: * kern/bootstrap.c: Include machine/pcb.h. 3331: (user_stack_low, set_user_regs): Remove forward declarations. 3332: 3333: ipc/mach_msg.c: remove forward declarations 3334: * ipc/mach_msg.c: Include kern/exception.h. 3335: (exception_raise_continue, exception_raise_continue_fast): Remove forward declarations. 3336: * kern/exception.h: Include ipc/ipc_types.h. 3337: Include ipc/ipc_kmsg.h. 3338: 3339: ipc/ipc_table.c: remove forward declaration 3340: * ipc/ipc_table.c (ipc_table_fill): Remove forward declaration. 3341: * ipc/ipc_table.h (ipc_table_fill): Add prototype. 3342: 3343: ipc/ipc_kmsg.c: remove forward declarations 3344: * ipc/ipc_kmsg.c (copyinmap, copyoutmap, ipc_msg_print): Remove forward declarations. 3345: * ipc/ipc_kmsg.h (ipc_msg_print): Add prototype. 3346: 3347: i386/intel/pmap.c: remove forward declarations 3348: * i386/intel/pmap.c (pmap_remove_range, signal_cpus): Remove forward declarations. 3349: * i386/intel/pmap.h (pmap_remove_range, signal_cpus): Add prototypes. 3350: 3351: 2013-12-04 Samuel Thibault <[email protected]> 3352: 3353: Drop duplicate declaration 3354: * i386/i386/model_dep.h (halt_cpu, halt_all_cpus): Remove duplicate 3355: declaration. 3356: * i386/i386at/model_dep.h (halt_cpu, halt_all_cpus): Add comments. 3357: 3358: 2013-12-04 Marin Ramesa <[email protected]> 3359: 3360: i386/i386at: remove forward declarations 3361: * Makefrag.am: Include kern/startup.h. 3362: * i386/i386at/model_dep.c: Include kern/startup.h. 3363: Include i386at/model_dep.h. 3364: (setup_main, halt_all_cpus, halt_cpu, inittodr): Remove forward declarations. 3365: * i386/i386at/model_dep.h (halt_all_cpus, halt_cpu, inittodr): Add prototypes. 3366: * kern/startup.h: New file. 3367: Add copyright. 3368: [_KERN_STARTUP_H_]: Add ifndef. 3369: (setup_main): Add prototype. 3370: 3371: i386/i386at/kd_mouse.c: remove forward declarations 3372: * i386/i386at/kd_mouse.c (mouseintr, mouse_enqueue, mouse_read_done): Remove forward declarations. 3373: (mouseintr): Define argument type. 3374: * i386/i386at/kd_mouse.h (mouseintr, mouse_enqueue, mouse_read_done): Add prototypes. 3375: 3376: i386/i386at/kd_event.c: remove forward declarations 3377: * i386/i386at/kd_event.c (kbd_enqueue, X_kdb_enter_init, X_kdb_exit_init, kbd_read_done): Remove forward declarations. 3378: * i386/i386at/kd_event.h (kbd_enqueue, X_kdb_enter_init, X_kdb_exit_init, kbd_read_done): Add prototypes. 3379: 3380: i386/i386at/kd.c: remove forward declarations 3381: * i386/i386at/kd.c (kd_enqsc, kdcheckmagic, do_modifier, bmpch2bit, bmppaintcsr, bit2fbptr): Remove forward declarations. 3382: * i386/i386at/kd.h: Include device/buf.h. 3383: Include i386at/kdsoft.h. 3384: (kdcheckmagic, do_modifier, bmpch2bit, bmppaintcsr, bit2fbptr): Add prototypes. 3385: * i386/i386at/kd_event.h (kd_enqsc): Add prototype. 3386: 3387: i386/i386at/conf.c: remove forward declarations 3388: * i386/Makefrag.am: Include i386/i386at/model_dep.h and i386/i386at/mem.h. 3389: * i386/i386at/com.h (comgetstat, comsetstat): Declare as extern. 3390: (comopen, comclose, comread, comwrite, comportdeath): Add prototypes. 3391: * i386/i386at/conf.c: Include kern/mach_clock.h and i386at/model_dep.h. 3392: (timeopen, timeclose, timemmap): Remove forward declarations. 3393: (kdopen, kdclose, kdread, kdwrite, kdgetstat, kdsetstat, kdportdeath, kdmmap): Likewise. 3394: (comopen, comclose, comread, comwrite, comportdeath, comgetstat, comsetstat): Likewise. 3395: (lpropen, lprclose, lprread, lprwrite, lprportdeath, lprgetstat, lprsetstat): Likewise. 3396: (kbdopen, kbdclose, kbdread, kbdgetstat, kbdsetstat): Likewise. 3397: (mouseopen, mouseclose, mouseread, mousegetstat): Likewise. 3398: (memmmap): Likewise. 3399: (kmsgopen, kmsgclose, kmsgread, kmsggetstat): Likewise. 3400: (hypcnopen, hypcnclose, hypcnread, hypcnwrite, hypcnportdeath, hypcngetstat, hypcnsetstat): Likewise. 3401: Include i386at/kd.h. 3402: Include i386at/com.h. 3403: Include i386at/lpr.h. 3404: Include i386at/kd_event.h. 3405: Include i386at/kd_mouse.h. 3406: Include i386at/mem.h. 3407: Include device/kmsg.h. 3408: Include xen/console.h. 3409: * i386/i386at/kd.h: Include device/io_req.h. 3410: (kdopen, kdclose, kdread, kdwrite, kdgetstat, kdsetstat, kdportdeath, kdmmap): Add prototypes. 3411: * i386/i386at/kd_event.h (kbdopen, kbdclose, kbdread, kbdgetstat, kbdsetstat): Likewise. 3412: * i386/i386at/kd_mouse.h (mouseopen, mouseclose, mouseread, mousegetstat): Likewise. 3413: * i386/i386at/lpr.h (lpropen, lprclose, lprread, lprwrite, lprportdeath): Likewise. 3414: (lprgetstat, lprsetstat): Declare as extern. 3415: * i386/i386at/mem.h: New file. 3416: Add copyright. 3417: [_MEM_H_]: Add ifndef. 3418: (memmmap): Add prototype. 3419: * i386/i386at/model_dep.c: Include i386/i386at/model_dep.h. 3420: (timemmap): Fix argument list. 3421: * i386/i386at/model_dep.h: New file. 3422: Add copyright. 3423: [_MODEL_DEP_H_]: Add ifndef. 3424: (timemmap): Add prototype. 3425: * kern/mach_clock.h (timeopen, timeclose): Add prototypes. 3426: * xen/console.h (hypcnopen, hypcnclose, hypcnread, hypcnwrite, hypcnportdeath, hypcngetstat, hypcnsetstat): Add prototypes. 3427: 3428: i386/i386at/autoconf.c, com.c, lpr.c: remove forward declarations 3429: * i386/i386/autoconf.c (comintr, lprintr): Remove forward declarations. 3430: Include i386at/com.h. 3431: Include i386at/lprreg.h. 3432: * i386/i386at/com.c (comprobe, commctl, comstart, comstop, comattach, comintr, comgetstat, comsetstat): Remove forward declarations. 3433: * i386/i386at/com.h: Include device/tty.h. 3434: (comprobe, commctl, comstart, comstop, comattach, comintr, comgetstat, comsetstat): Add prototypes. 3435: * i386/i386at/lpr.c (lprprobe, lprstop, lprintr, lprstart, lprattach, lprgetstat, lprsetstat, lprpr_addr): Remove forward declarations. 3436: (lprprobe): Fix argument list. 3437: (lprpr): Define argument type. 3438: lprpr_addr): Likewise. 3439: * i386/i386at/lprreg.h (lprprobe, lprstop, lprintr, lprstart, lprattach, lprgetstat, lprsetstat, lprpr_addr): Add prototypes. 3440: 3441: kern/exception.c: remove forward declarations 3442: * i386/i386/trap.h (thread_kdb_return): Add prototype. 3443: * kern/exception.c (thread_kdb_return, db_printf): Remove forward declarations. 3444: Include machine/trap.h. 3445: Include ddb/db_output.h. 3446: 3447: kern: new header file exception.h 3448: * Makefrag.am: Include kern/exception.h. 3449: * i386/i386/trap.c: Include kern/exception.h. 3450: (exception, thread_exception_return): Remove forward declarations. 3451: * kern/exception.c: Include kern/exception.h. 3452: (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. 3453: * kern/exception.h: New file. 3454: Add copyright. 3455: [_KERN_EXCEPTION_H_]: Add ifndef. 3456: (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. 3457: 3458: i386/i386/pcb.c: remove forward declarations 3459: * i386/i386/pcb.c (Load_context, Switch_context, Thread_continue, user_ldt_free): Remove forward declarations. 3460: * i386/i386/pcb.h (Load_context, Switch_context, Thread_continue): Add prototypes. 3461: * i386/i386/user_ldt.h (user_ldt_free): Add prototype. 3462: 3463: i386/i386/io_perm.c: remove forward declaration 3464: * i386/i386/io_perm.c: Include pcb.h. 3465: (update_ktss_iopb): Remove forward declaration. 3466: * i386/i386/pcb.h (update_ktss_iopb): Add prototype. 3467: 3468: i386/i386/fpu.c, trap.c: remove forward declarations 3469: * i386/i386/fpu.c: Include i386/trap.h. 3470: (void i386_exception, fp_save, fp_load): Remove forward declaration. 3471: * i386/i386/trap.c (void i386_exception): Remove forward declaration. 3472: * i386/i386/trap.h (void i386_exception): Add prototype. 3473: 3474: i386/i386/db_trace.c: remove forward declaration 3475: * i386/i386/db_interface.h: Include ddb/db_variables.h. 3476: (db_i386_reg_value): Add prototype. 3477: * i386/i386/db_trace.c (db_i386_reg_value): Remove forward declaration. 3478: 3479: device/device_init.c: remove forward declarations 3480: * device/dev_lookup.c: Include device/ds_routines.h. 3481: * device/device_init.c: Include device/ds_routines.h. 3482: Include device/net_io.h. 3483: (mach_device_init, dev_lookup_init, net_io_init, device_pager_init, io_done_thread, net_thread): Remove forward declarations. 3484: * device/ds_routines.h (mach_device_init, dev_lookup_init, device_pager_init, io_done_thread): Add prototypes. 3485: * device/net_io.h (net_io_init, net_thread): Add prototypes. 3486: 3487: ddb/db_variables.c: remove forward declarations 3488: * ddb/db_task_thread.h: Include ddb/db_variables.h. 3489: (db_set_default_thread, db_get_task_thread): Add prototypes. 3490: * ddb/db_variables: Include ddb/db_macro.h. 3491: (db_set_default_thread, db_get_task_thread, db_arg_variable): Remove forward declarations. 3492: 3493: ddb/db_trap.c: remove forward declarations 3494: * ddb/db_run.h (db_restart_at_pc, db_stop_at_pc): Add prototypes. 3495: * ddb/db_trap.c (db_restart_at_pc, db_stop_at_pc): Remove forward declarations. 3496: Include ddb/db_run.h. 3497: 3498: ddb/db_command.c: remove useless forward declaration without definition 3499: * ddb/db_command.c (ddb_display): Remove forward declaration. 3500: Remove ddb_display call. 3501: 3502: ddb/db_command.c: remove forward declaration 3503: * ddb/db_command.c (db_reset_cpu): Remove forward declaration. 3504: * i386/i386/db_interface.h (db_reset_cpu): Add prototype. 3505: * i386/i386at/model_dep.c: Include i386/db_interface.h. 3506: 3507: ddb/db_sym.c: fix argument list 3508: * ddb/db_sym.c (dummy_db_free_symbol): Fix argument list. 3509: 3510: ddb/db_sym.c: remove useless forward declarations without definitions 3511: * ddb/db_sym.c (coff_db_sym_init, coff_db_line_at_pc, db_sym_t coff_db_lookup, coff_db_search_symbol, coff_db_symbol_values): Remove forward declarations. 3512: (x_db): Modify field definition. 3513: 3514: ddb: new header file db_aout.h 3515: * Makefrag.am: Include ddb/db_aout.h. 3516: * ddb/db_aout.c: Include ddb/db_aout.h. 3517: * ddb/db_aout.h: New file. 3518: Add copyright. 3519: [_DDB_DB_AOUT_H_]: Add ifndef. 3520: Include ddb/db_sym.h. 3521: Include machine/db_machdep.h. 3522: (aout_db_line_at_pc, aout_db_lookup, aout_db_search_symbol, aout_db_symbol_values): Add prototypes. 3523: * ddb/db_sym.c: Include ddb/db_aout.h. 3524: (db_search_in_task_symbol, aout_db_line_at_pc, aout_db_lookup, aout_db_search_symbol, aout_db_symbol_values): Remove forward declarations. 3525: * ddb/db_sym.h (db_search_in_task_symbol): Add prototype. 3526: 3527: ddb/db_aout.c: trivial stylistic fix for consistency 3528: * ddb/db_aout.c: Trivial stylistic fix for consistency. 3529: 3530: ddb/db_run.c: add comment after endif 3531: * ddb/db_run.c [FIXUP_PC_AFTER_BREAK]: Add comment after endif. 3532: 3533: ddb/db_mp.c: add comment after else and endif 3534: * ddb/db_mp.c [CONSOLE_ON_MASTER]: Add comment after else and endif. 3535: 3536: ddb/db_input.c: add comment after endif 3537: * ddb/db_input.c [DB_HISTORY_SIZE]: Add comment after endif. 3538: 3539: ddb/db_command.c: remove forward declarations 3540: * ddb/db_command.c: Include machine/db_interface.h. 3541: (db_help_cmd, db_stack_trace_cmd): Remove forward declarations. 3542: * ddb/db_command.h (db_help_cmd): Add prototype. 3543: * i386/i386/db_interface.h (db_stack_trace_cmd): Add prototype. 3544: 3545: device/net_io.c: initialize hash_entp to NULL 3546: * device/net_io.c (hash_entp): Initialize to NET_HASH_ENTRY_NULL. 3547: 3548: 2013-11-24 Marin Ramesa <[email protected]> 3549: 3550: Modify struct db_variable 3551: * ddb/db_macro.c (db_arg_variable): Make function void. 3552: * ddb/db_macro.h (db_arg_variable): Declare void return. 3553: * ddb/db_task_thread.c (db_set_default_thread): Make function void. 3554: (db_get_task_thread): Make function void. 3555: * ddb/db_variables.c (db_set_default_thread, db_get_task_thread, db_arg_variable): Declare void return. 3556: (db_read_write_variable): Use void in initialization. 3557: * ddb/db_variables.h (db_variable): Make third member return void. 3558: [FCN_NULL]: Define void. 3559: * i386/i386/db_trace.c (db_i386_reg_value): Make function void. 3560: 3561: device: new header file chario.h 3562: * Makefrag.am: Include device/chario.h. 3563: * device/chario.c (queue_delayed_reply, tty_output, char_open_done, char_read_done, char_write_done): Remove forward declarations. 3564: * device/chario.h: New file. 3565: Add copyright. 3566: [_DEVICE_CHARIO_H_]: Add ifndef. 3567: Include device/tty.h. 3568: (queue_delayed_reply, tty_output, char_open_done, char_read_done, char_write_done): Add prototypes. 3569: 3570: ddb/db_examine.c: trivial stylistic fix for consistency 3571: * ddb/db_examine.c: Trivial stylistic fix for consistency. 3572: 3573: ddb: move forward declarations into a header file 3574: * ddb/db_examine.c (db_disasm, db_search): Remove forward declarations. 3575: * ddb/db_examine.h (db_disasm, db_search): Add prototypes. 3576: 3577: ddb: move forward declaration into a header file 3578: * ddb/db_sym.c (db_lookup): Remove forward declaration. 3579: * ddb/db_sym.h (db_lookup): Add prototype. 3580: 3581: ddb: create new header file db_mp.h 3582: * Makefrag.am: Include ddb/db_mp.h. 3583: * ddb/db_mp.c (remote_db, lock_db, unlock_db): Remove forward declarations. 3584: * ddb/db_mp.h: New file. 3585: Add copyright. 3586: [_DDB_DB_MP_H_]: Add ifndef. 3587: (remote_db, lock_db, unlock_db): Add prototypes. 3588: 3589: ddb: move forward declarations into a header file 3590: * ddb/db_run.c (db_set_task_single_step, db_clear_task_single_step): Remove forward declarations. 3591: * ddb/db_run.h (db_set_task_single_step, db_clear_task_single_step): Add prototypes. 3592: 3593: 2013-11-24 Samuel Thibault <[email protected]> 3594: 3595: Simplify test 3596: * ddb/db_sym.c (db_name_is_ambiguous): Simplify test for value returned by 3597: X_db_lookup. 3598: 3599: Drop spurious volatile qualifier 3600: * kern/processor.h (processor_doshutdown): Drop spurious volatile qualifier. 3601: 3602: 2013-11-24 Marin Ramesa <[email protected]> 3603: 3604: kern: move forward declarations into a header file 3605: * kern/machine.c (processor_doaction, processor_doshutdown): Remove forward declarations. 3606: * kern/processor.h (processor_doaction, processor_doshutdown): Add prototypes. 3607: 3608: kern: move forward declaration into a header file 3609: * kern/eventcount.c [NCPUS] (simpler_thread_setrun): Remove forward declaration. 3610: * kern/eventcount.h [NCPUS] (simpler_thread_setrun): Add prototype. 3611: 3612: kern: move forward declaration into a header file 3613: * kern/timer.c (timer_init): Remove forward declaration. 3614: * kern/timer.h (timer_init): Add prototype. 3615: 3616: kern: move forward declaration into a header file 3617: * kern/mach_clock.c (softclock): Remove forward declaration. 3618: * kern/timer.h (softclock): Add prototype. 3619: 3620: kern: move forward declarations into a header file 3621: * kern/thread.c [MACH_DEBUG] (stack_init, stack_finalize): Remove forward declarations. 3622: * kern/thread.h [MACH_DEBUG] (stack_init, stack_finalize): Add prototypes. 3623: 3624: vm: move forward declarations into a header file 3625: * vm/vm_map.c (vm_map_delete, vm_map_copyout_page_list, vm_map_copy_page_discard, vm_map_lookup_entry): Remove forward declarations. 3626: * vm/vm_map.h (vm_map_delete, vm_map_copyout_page_list, vm_map_copy_page_discard, vm_map_lookup_entry): Add prototypes. 3627: 3628: vm: move forward declarations into a header file 3629: * vm/vm_object.c (memory_object_release, vm_object_deactivate_pages, vm_object_copy_delayed): Remove forward declarations. 3630: * vm/vm_object.h (memory_object_release, vm_object_deactivate_pages, vm_object_copy_delayed): Add prototypes. 3631: 3632: 2013-11-24 Samuel Thibault <[email protected]> 3633: 3634: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 3635: 3636: 2013-11-24 Marin Ramesa <[email protected]> 3637: 3638: Remove leftover register qualifiers 3639: * ddb/db_break.c: Remove register qualifiers. 3640: * i386/i386/pcb.c: Likewise. 3641: * i386/i386at/com.c: Likewise. 3642: * i386/i386at/lpr.c: Likewise. 3643: * i386/intel/pmap.c: Likewise. 3644: * kern/machine.c: Likewise. 3645: * kern/queue.h: Likewise. 3646: * kern/sched_prim.c: Likewise. 3647: * kern/sched_prim.h: Likewise. 3648: * kern/timer.c: Likewise. 3649: * vm/vm_fault.c: Likewise. 3650: * vm/vm_resident.h: Likewise. 3651: 3652: 2013-11-24 Richard Braun <[email protected]> 3653: 3654: New RPC for thread destruction 3655: A new call, thread_terminate_release, is added to support self 3656: destruction in threading libraries. 3657: 3658: * include/mach/gnumach.defs (thread_terminate_release): New 3659: simpleroutine declaration. 3660: * kern/thread.c: Include vm/vm_user.h and ipc/mach_port.h. 3661: (thread_terminate_release): New function. 3662: * kern/thread.h (thread_terminate_release): New prototype. 3663: 3664: 2013-11-24 Richard Braun <[email protected]> 3665: 3666: Export mach_port_destroy declaration 3667: * ipc/mach_port.h (mach_port_destroy): Add prototype. 3668: 3669: 2013-11-22 Marin Ramesa <[email protected]> 3670: 3671: ddb/db_break.c: remove duplicate include 3672: * ddb/db_break.c: Don't include ddb/db_access.h. 3673: 3674: 2013-11-21 Marin Ramesa <[email protected]> 3675: 3676: i386/i386/db_interface.h: fix implicit declaration of function 3677: * i386/i386/db_interface.h (cnpollc): Add prototype. 3678: 3679: ddb/db_sym.c: move assignment outside if 3680: * ddb/db_sym.c: Move assignment outside of if. 3681: (db_lookup): New variable. 3682: 3683: i386/i386at/kd.h: fix implicit declaration of function 3684: * i386/i386at/kd.h [MACH_KDB] (kdb_kintr): Add prototype. 3685: 3686: ddb/db_break.c: fix implicit declaration of functions 3687: * ddb/db_break.c: Include machine/db_interface.h. 3688: 3689: 2013-11-20 Marin Ramesa <[email protected]> 3690: 3691: i386/i386/trap.c: fix implicit declaration of function 3692: * i386/i386/trap.c: Include machine/db_interface.h. 3693: 3694: i386/i386/db_trace.c: don't cast to db_addr_t 3695: * i386/i386/db_trace.c (db_check_thread_address_valid): Don't cast argument 1 to db_addr_t. 3696: 3697: 2013-11-20 Samuel Thibault <[email protected]> 3698: 3699: Comment out db_search_null 3700: * i386/i386/db_interface.c (db_search_null) [!GNU]: Do not define 3701: db_search_null. 3702: 3703: 2013-11-20 Marin Ramesa <[email protected]> 3704: 3705: i386/i386/db_interface.c: add comments after else and endif 3706: * i386/i386/db_interface.c [GNU]: Add comments after else and endif. 3707: 3708: 2013-11-20 Marin Ramesa <[email protected]> 3709: 3710: i386/i386/db_interface.c: remove return value 3711: Void function returns with FALSE. Remove return value. 3712: 3713: * i386/i386/db_interface.c (db_task_name): Remove return value. 3714: 3715: 2013-11-20 Marin Ramesa <[email protected]> 3716: 3717: i386/i386/db_trace.c: fix implicit declaration of function 3718: * i386/i386/db_trace.c: Include machine/db_interface.h. 3719: 3720: i386/i386/db_interface.c: fix implicit declaration of function 3721: * i386/i386/db_interface.c: Include string.h. 3722: 3723: i386/i386/db_interface.c: fix implicit declaration of function 3724: * i386/i386/db_interface.c: Include vm/vm_fault.h. 3725: 3726: Fix implicit declaration of function 3727: * ddb/db_sym.c (aout_db_sym_init): Remove forward declaration. 3728: * ddb/db_sym.h (aout_db_sym_init): Add prototype. 3729: * i386/i386at/model_dep.c (aout_db_sym_init): Fix call. 3730: [MACH_KDB]: Include ddb/db_sym.h. 3731: [MACH_KDB]: Add comment after else and endif. 3732: 3733: kern/xpr.c: quiet warning about uninitialized variable 3734: * kern/xpr.c (s): Initialize. 3735: 3736: kern/startup.c: fix implicit declaration of function 3737: * kern/startup.c [MACH_KDB]: Include device/cons.h. 3738: 3739: ipc/ipc_print.h: include ipc/ipc_pset.h for ipc_pset_t 3740: * ipc/ipc_print.h: Include ipc/ipc_pset.h for ipc_pset_t. 3741: 3742: ddb/db_variables.c: fix initializations from incompatible pointer type 3743: * ddb/db_variables.c (db_set_default_thread, db_get_task_thread, db_arg_variable, fcn): Declare long return type. 3744: 3745: ddb/db_run.c: move declaration of brpc into SOFTWARE_SSTEP 3746: * ddb/db_run.c (brpc): Move declaration into SOFTWARE_SSTEP code. 3747: 3748: ddb/db_run.c: trivial stylistic fix for consistency 3749: * ddb/db_run.c: Trivial stylistic fix for consistency. 3750: 3751: ddb/db_run.c: remove set but unused variable 3752: * ddb/db_run.c (ins): Remove variable. 3753: 3754: ddb: fix implicit declaration of function 3755: * ddb/db_variables.c (db_read_write_variable): Remove forward declaration. 3756: * ddb/db_variables.h (db_read_write_variable): Add prototype. 3757: 3758: ddb/db_examine.c: add missing cast 3759: ddb/db_examine.c (addr, count): Cast to (db_expr_t *). 3760: 3761: Add comment 3762: * ddb/db_command.c [DB_MACHINE_COMMANDS]: Add comment after endif. 3763: 3764: 2013-11-20 Samuel Thibault <[email protected]> 3765: 3766: Drop volatile function qualifier 3767: * i386/i386/setjmp.h (_longjmp): Drop volatile function qualifier. 3768: 3769: 2013-11-20 Marin Ramesa <[email protected]> 3770: 3771: ddb/db_break.c: quiet GCC warning about uninitialized variable 3772: * ddb/db_break.c (bkpt): Initialize. 3773: 3774: 2013-11-19 Marin Ramesa <[email protected]> 3775: 3776: kern/slab.c: initialize info_size 3777: info_size is initialized to a random value. Quiet the warning by 3778: initializing to zero. 3779: 3780: * kern/slab.c (info_size): Initialize to zero. 3781: 3782: 2013-11-19 Marin Ramesa <[email protected]> 3783: 3784: kern/slab.c: initialize optimal_embed 3785: optimal_embed is initialized to a random value. Quiet the warning by 3786: initializing to zero. 3787: 3788: * kern/slab.c (optimal_embed): Initialize to zero. 3789: 3790: 2013-11-19 Marin Ramesa <[email protected]> 3791: 3792: Add copyright 3793: * ddb/db_write_cmd.h: Add copyright. 3794: * ipc/ipc_print.h: Likewise. 3795: * vm/vm_print.h: Likewise. 3796: 3797: 2013-11-18 Marin Ramesa <[email protected]> 3798: 3799: Add ifndefs 3800: Finish up with the addition of ifndefs. 3801: 3802: * device/buf.h: Add ifndef. 3803: * device/dev_master.h: Likewise. 3804: * include/device/tty_status.h: Likewise. 3805: * include/mach/version.h: Likewise. 3806: * ipc/ipc_machdep.h: Likewise. 3807: 3808: 2013-11-17 Marin Ramesa <[email protected]> 3809: 3810: ddb/stab.h: add ifndef 3811: * ddb/stab.h: Add ifndef. 3812: 3813: ddb/db_write_cmd.c: remove register qualifiers 3814: * ddb/db_write_cmd.c: Remove register qualifiers. 3815: 3816: ddb/db_watch.c: remove register qualifiers 3817: * ddb/db_watch.c: Remove register qualifiers. 3818: 3819: ddb/db_variables.c: remove register qualifiers 3820: * ddb/db_variables.c: Remove register qualifiers. 3821: 3822: ddb/db_task_thread.c: remove register qualifiers 3823: * ddb/db_task_thread.c: Remove register qualifiers. 3824: 3825: ddb/db_sym.h: add comment after endif 3826: * ddb/db_sym.h: Add comment after endif. 3827: 3828: ddb/db_sym.c: remove register qualifiers 3829: * ddb/db_sym.c: Remove register qualifiers. 3830: 3831: ddb/db_run.h: add ifndef 3832: * ddb/db_run.h: Add ifndef. 3833: 3834: ddb/db_run.c: remove register qualifiers 3835: * ddb/db_run.c: Remove register qualifiers. 3836: 3837: ddb/db_print.c: remove register qualifiers 3838: * ddb/db_print.c: Remove register qualifiers. 3839: 3840: ddb/db_output.h: add ifndef 3841: * ddb/db_output.h: Add ifndef. 3842: 3843: ddb/db_output.c: remove register qualifiers 3844: * ddb/db_output.c: Remove register qualifiers. 3845: 3846: ddb/db_mp.c: remove register qualifier 3847: * ddb/db_mp.c: Remove register qualifier. 3848: 3849: ddb/db_macro.c: remove register qualifiers 3850: * ddb/db_macro.c: Remove register qualifiers. 3851: 3852: ddb/db_lex.h: add ifndef 3853: * ddb/db_lex.h: Add ifndef. 3854: 3855: ddb/db_lex.c: remove register qualifiers 3856: * ddb/db_lex.c: Remove register qualifiers. 3857: 3858: ddb/db_input.c: remove register qualifiers 3859: * ddb/db_input.c: Remove register qualifiers. 3860: 3861: ddb/db_expr.c: remove register qualifier 3862: * ddb/db_expr.c: Remove register qualifier. 3863: 3864: ddb/db_examine.c: remove register qualifiers 3865: * ddb/db_examine.c: Remove register qualifiers. 3866: 3867: ddb/db_cond.c: remove register qualifiers 3868: * ddb/db_cond.c: Remove register qualifiers. 3869: 3870: ddb/db_command.h: add ifndef 3871: * ddb/db_command.h: Add ifndef. 3872: 3873: ddb/db_command.c: remove register qualifiers 3874: * ddb/db_command.c: Remove register qualifiers. 3875: 3876: ddb/db_break.c: remove register qualifiers 3877: * ddb/db_break.c: Remove register qualifiers. 3878: 3879: ddb/db_aout.c: remove register qualifiers 3880: * ddb/db_aout.c: Remove register qualifiers. 3881: 3882: ddb/db_access.h: add ifndef 3883: * ddb/db_access.h: Add ifndef. 3884: 3885: ddb/db_access.c: remove register qualifiers 3886: * ddb/db_access.c: Remove register qualifiers. 3887: 3888: 2013-11-17 Samuel Thibault <[email protected]> 3889: 3890: Remove dead code 3891: Thanks Marin Ramesa for the report. 3892: 3893: * i386/i386/user_ldt.c (selector_check): Remove function. 3894: * i386/i386/user_ldt.h (S_CODE, S_STACK, S_DATA): Remove macros. 3895: (selector_check): Remove declaration. 3896: 3897: 2013-11-15 Marin Ramesa <[email protected]> 3898: 3899: i386/intel/read_fault.c: remove register qualifier 3900: * i386/intel/read_fault.c: Remove register qualifier. 3901: 3902: i386/intel/pmap.h: remove register qualifiers 3903: * i386/intel/pmap.h: Remove register qualifiers. 3904: 3905: i386/intel/pmap.c: remove register qualifiers 3906: * i386/intel/pmap.c: Remove register qualifiers. 3907: 3908: i386/i386at/rtc.h: remove register qualifiers 3909: * i386/i386at/rtc.h: Remove register qualifiers. 3910: 3911: i386/i386at/rtc.c: remove register qualifier 3912: * i386/i386at/rtc.c: Remove register qualifier. 3913: 3914: i386/i386at/lpr.c: remove register qualifier 3915: * i386/i386at/lpr.c: Remove register qualifier. 3916: 3917: i386/i386at/kd_mouse.c: remove register qualifiers 3918: * i386/i386at/kd_mouse.c: Remove register qualifiers. 3919: 3920: i386/i386at/kd.c: remove register qualifiers 3921: * i386/i386at/kd.c: Remove register qualifiers. 3922: 3923: i386/i386at/kd_event.c: remove register qualifiers 3924: * i386/i386at/kd_event.c: Remove register qualifiers. 3925: 3926: i386/i386at/int_init.h: add comment after endif 3927: * i386/i386at/int_init.h (__ASSEMBLER__): Add comment after endif. 3928: 3929: i386/i386at/idt.h: add comment after endif 3930: * i386/i386at/idt.h (__ASSEMBLER__): Add comment after endif. 3931: 3932: i386/i386at/com.c: remove register qualifiers 3933: * i386/i386at/com.c: Remove register qualifiers. 3934: 3935: i386/i386at/com.c: trivial stylistic fix for consistency 3936: * i386/i386at/com.c: Trivial stylistic fix for consistency. 3937: 3938: i386/i386at/autoconf.c: remove register qualifiers 3939: * i386/i386at/autoconf.c: Remove register qualifiers. 3940: 3941: i386/i386/trap.c: remove register qualifiers 3942: * i386/i386/trap.c: Remove register qualifiers. 3943: 3944: i386/i386/thread.h: add comment after endif 3945: * i386/i386/thread.h (LINUX_DEV): Add comment after endif. 3946: 3947: i386/i386/pic.h: add comment after endif 3948: * i386/i386/pic.h (__ASSEMBLER__): Add comment after endif. 3949: 3950: i386/i386/pcb.c: remove register qualifiers 3951: * i386/i386/pcb.c: Remove register qualifiers. 3952: 3953: i386/i386/mp_desc.c: remove register qualifiers 3954: * i386/i386/mp_desc.c: Remove register qualifiers. 3955: 3956: i386/i386/machine_routines.h: add comment after endif 3957: * i386/i386/machine_routines.h (_I386_MACHINE_ROUTINES_H_): Add comment after endif. 3958: 3959: i386/i386/loose_ends.c: remove unused variable 3960: * i386/i386/loose_ends.c (boothowto): Remove unused variable. 3961: 3962: i386/i386/loose_ends.c: add comment after endif 3963: * i386/i386/loose_ends.c (NDEBUG): Add comment after endif. 3964: 3965: i386/i386/lock.h: remove register quaalifier 3966: * i386/i386/lock.h: Remove register qualifier. 3967: 3968: i386/i386/kttd_interface.c: trivial stylistic fix for consistency 3969: * i386/i386/kttd_interface.c: Trivial stylistic fix for consistency. 3970: 3971: i386/i386/hardclock.c: add comment after endif 3972: * i386/i386/hardclock.c (LINUX_DEV): Add comment after endif. 3973: 3974: i386/i386/fpu.h: remove register qualifiers 3975: * i386/i386/fpu.h: Remove register qualifiers. 3976: 3977: i386/i386/fpu.c: remove register qualifiers 3978: * i386/i386/fpu.c: Remove register qualifiers. 3979: 3980: i386/i386/db_trace.c: qualify constants with const 3981: * i386/i386/db_trace.c: Qualify constants with const. 3982: 3983: i386/i386/db_trace.c: remove register qualifiers 3984: * i386/i386/db_trace.c: Remove register qualifiers. 3985: 3986: i386/i386/db_interface.c: remove register qualifiers 3987: * i386/i386/db_interface.c: Remove register qualifiers. 3988: 3989: Fix typo 3990: 3991: i386/i386/vm_tuning.h: remove file 3992: * i386/Makefrag.am: Remove i386/i386/vm_tuning.h. 3993: * i386/i386/vm_tuning.h: Remove file. 3994: * vm/vm_pageout.c: Don't include i386/i386/vm_tuning.h. 3995: 3996: i386/i386at: add ifndefs 3997: * i386/i386at/kd_queue.h: Add ifndef. 3998: * i386/i386at/kdsoft.h: Likewise. 3999: * i386/i386at/lprreg.h: Likewise. 4000: * i386/i386at/rtc.h: Likewise. 4001: 4002: chips/busses.c: remove register qualifiers 4003: * chips/busses.c: Remove register qualifiers. 4004: 4005: chips/busses.c: use boolean instead of an int 4006: * chips/busses.c (found): Constrain range of values to a boolean. 4007: 4008: vm/vm_user.c: remove register qualifiers 4009: * vm/vm_user.c: Remove register qualifiers. 4010: 4011: vm/vm_resident.c: remove register qualifiers 4012: * vm/vm_resident.c: Remove register qualifiers. 4013: 4014: vm/vm_pageout.c: remove register qualifiers 4015: * vm/vm_pageout.c: Remove register qualifiers. 4016: 4017: vm/vm_object.c: remove register qualifiers 4018: * vm/vm_object.c: Remove register qualifiers. 4019: 4020: vm/vm_map.c: remove register qualifiers 4021: * vm/vm_map.c: Remove register qualifiers. 4022: 4023: vm/vm_map.c: trivial stylistic fix for consistency 4024: * vm/vm_map.c: Trivial stylistic fix for consistency. 4025: 4026: vm/vm_kern.c: remove register qualifiers 4027: * vm/vm_kern.c: Remove register qualifiers. 4028: 4029: vm/vm_fault.c: remove register qualifiers 4030: * vm/vm_fault.c: Remove register qualifiers. 4031: 4032: vm/vm_fault.c: remove unused variable 4033: * vm/vm_fault.c: Remove unused variable. 4034: 4035: vm/memory_object_proxy.h: fix definition 4036: * vm/memory_object_proxy.h (_VM_MEMORY_OBJECT_PROXY_H_): Fix definition. 4037: 4038: vm/memory_object.c: remove register qualifiers 4039: * vm/memory_object.c: Remove register qualifiers. 4040: 4041: 2013-11-13 Marin Ramesa <[email protected]> 4042: 4043: kern: remove register qualifiers 4044: * kern/xpr.c: Remove register qualifiers. 4045: 4046: kern: remove register qualifiers 4047: * kern/timer.h: Remove register qualifiers. 4048: 4049: kern: remove register qualifiers 4050: * kern/timer.c: Remove register qualifiers. 4051: 4052: kern: remove register qualifiers 4053: * kern/thread_swap.c: Remove register qualifiers. 4054: 4055: kern: remove register qualifiers 4056: * kern/thread.c: Remove register qualifiers. 4057: 4058: kern: remove register qualifiers 4059: * kern/task.c: Remove register qualifiers. 4060: 4061: kern: remove register qualifiers 4062: * kern/syscall_subr.c: Remove register qualifiers. 4063: 4064: kern: remove register qualifiers 4065: * kern/syscall_emulation.c: Remove register qualifiers. 4066: 4067: kern: remove register qualifiers 4068: * kern/strings.c: Remove register qualifiers. 4069: 4070: kern: remove register qualifiers 4071: * kern/startup.c: Remove register qualifiers. 4072: 4073: kern: remove register qualifiers 4074: * kern/sched_prim.c: Remove register qualifiers. 4075: 4076: kern: remove register qualifiers 4077: * kern/sched.h: Remove register qualifiers. 4078: 4079: kern: remove register qualifiers 4080: * kern/queue.h: Remove register qualifiers. 4081: 4082: kern: remove register qualifiers 4083: * kern/queue.c: Remove register qualifiers. 4084: 4085: kern: remove register qualifiers 4086: * kern/processor.c: Remove register qualifiers. 4087: 4088: kern: remove register qualifiers 4089: * kern/priority.c: Remove register qualifiers. 4090: 4091: kern: remove register qualifiers 4092: * kern/printf.c: Remove register qualifiers. 4093: 4094: kern: remove register qualifiers 4095: * kern/pc_sample.c: Remove register qualifiers. 4096: 4097: kern: remove register qualifiers 4098: * kern/machine.c: Remove register qualifiers. 4099: 4100: kern: remove register qualifiers 4101: * kern/mach_factor.c: Remove register qualifiers. 4102: 4103: kern: remove register qualifiers 4104: * kern/mach_clock.c: Remove register qualifiers. 4105: 4106: kern: remove register qualifiers 4107: * kern/lock_mon.c: Remove register qualifiers. 4108: 4109: kern: remove register qualifiers 4110: * kern/lock.c: Remove register qualifiers. 4111: 4112: kern: remove register qualifiers 4113: * kern/ipc_tt.c: Remove register qualifiers. 4114: 4115: kern: remove register qualifiers 4116: * kern/ipc_sched.c: Remove register qualifiers. 4117: 4118: kern: remove register qualifiers 4119: * kern/ipc_mig.c: Remove register qualifiers. 4120: 4121: kern: remove register qualifiers 4122: * kern/host.c: Remove register qualifiers. 4123: 4124: kern: remove register qualifiers 4125: * kern/exception.c: Remove register qualifiers. 4126: 4127: kern: remove register qualifiers 4128: * kern/eventcount.c: Remove register qualifiers. 4129: 4130: kern: remove register qualifiers 4131: * kern/bootstrap.c: Remove register qualifiers. 4132: 4133: kern: remove register qualifiers 4134: * kern/ast.c: Remove register qualifiers. 4135: 4136: kern: remove register qualifiers 4137: * kern/act.c: Remove register qualifiers. 4138: 4139: 2013-11-11 Marin Ramesa <[email protected]> 4140: 4141: ipc: remove register qualifiers 4142: * ipc/ipc_thread.h: Remove register qualifiers. 4143: 4144: ipc: remove register qualifiers 4145: * ipc/mach_msg.c: Remove register qualifiers. 4146: 4147: ipc: qualify constants with const 4148: * ipc/ipc_table.c: Qualify constants with const. 4149: 4150: ipc: trivial stylistic fix for consistency 4151: * ipc/ipc_pset.c: Trivial stylistic fix for consistency. 4152: 4153: 2013-11-11 Samuel Thibault <[email protected]> 4154: 4155: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 4156: 4157: 2013-11-11 Marin Ramesa <[email protected]> 4158: 4159: ipc: remove register qualifiers 4160: * ipc/ipc_kmsg.c: Remove register qualifiers. 4161: 4162: 2013-11-11 Justus Winter <[email protected]> 4163: 4164: kern: fix the error handling in exec_load 4165: Found using the Clang Static Analyzer. 4166: 4167: * kern/elf-load.c (exec_load): Properly propagate errors. 4168: 4169: 2013-11-10 Marin Ramesa <[email protected]> 4170: 4171: kern: comment unused variable 4172: Variable reply_port is never used. There is indication in the comments 4173: that it might be used in future function call, so comment it. 4174: 4175: * kern/ipc_mig.c (syscall_device_writev_request): Comment variable. 4176: 4177: 2013-11-10 Marin Ramesa <[email protected]> 4178: 4179: device: initialize to zero offset 4180: Initialize addr to zero offset to quiet warnings about uninitialized 4181: deallocation. 4182: 4183: * device/chario.c (addr): Initialize to zero. 4184: 4185: 2013-11-10 Marin Ramesa <[email protected]> 4186: 4187: remove register qualifiers 4188: * device/subrs.c: Remove register qualifiers. 4189: 4190: remove register qualifiers 4191: * device/net_io.c: Remove register qualifiers. 4192: 4193: remove definitions of ETHERMTU and ETHERMIN 4194: * device/if_ether.h (ETHERMTU, ETHERMIN): Remove unused definitions. 4195: 4196: remove register qualifiers 4197: * device/blkio.c: Remove register qualifiers. 4198: 4199: 2013-11-09 Vladimir 'φ-coder/phcoder' Serbinenko <[email protected]> 4200: 4201: Fix overflow in Xen clock computation 4202: * xen/time.c (hyp_get_stime): Split `delta` into `delta_high` and 4203: `delta_low`, as it may overflow 4 second timing nowadays. 4204: 4205: 2013-11-09 Marin Ramesa <[email protected]> 4206: 4207: Remove lint code 4208: 4209: 2013-10-10 Richard Braun <[email protected]> 4210: 4211: Increase kernel map entry pool size 4212: * vm/vm_map.h (KENTRY_DATA_SIZE): Set to 256 pages. 4213: 4214: 2013-09-28 Samuel Thibault <[email protected]> 4215: 4216: Add files missing in distrib tarball 4217: * Makefrag.am (libkernel_a_SOURCES): Add ddb/db_write_cmd.h, 4218: ipc/ipc_print.h, vm/vm_print.h 4219: * linux/Makefrag.am (EXTRA_DIST): Add linux/src/drivers/scsi/FlashPoint.c, 4220: linux/src/drivers/scsi/eata_pio_proc.c, linux/src/drivers/scsi/scsiiom.c. 4221: 1.1.1.6 root 4222: 2013-09-27 Thomas Schwinge <[email protected]> 4223: 1.1.1.7 root 4224: Merge remote-tracking branch 'savannah/master' into master 4225: 1.1.1.6 root 4226: GNU Mach 1.4. 4227: * version.m4 (AC_PACKAGE_VERSION): Set to 1.4. 4228: * NEWS: Finalize changes for 1.4. 4229: * README: Update. 4230: 4231: * configure.ac (AM_INIT_AUTOMAKE): Add dist-bzip2. 4232: 4233: Generate ChangeLog files for distributions. 4234: * gitlog-to-changelog: New file; import from gnulib's 4235: 9fc81090f6c5590bd1b0e0fa5087577a2ee43a3e:build-aux/gitlog-to-changelog. 4236: * Makefile.am (gen-ChangeLog): New target. 4237: (dist-hook): Depend on it. 4238: 4239: dist-hook extensibility. 4240: * Makefile.am (dist-hook): Rename to... 4241: (dist-rm-CVS): ... this new target. 4242: (dist-hook): Depend on it. 4243: 4244: * README: Simplify build instructions. 4245: Follow-up to commit 471e5b080f7790c2cf95e3069d9fed1173c9ec17. 4246: 1.1.1.7 root 4247: 2013-09-27 Svante Signell <[email protected]> 4248: 4249: Fix typo 4250: * README: Fix typo. 4251: 1.1.1.6 root 4252: 2013-09-26 Samuel Thibault <[email protected]> 4253: 4254: Fix gpl.texi build 4255: texinfo does not support @heading/@center in the middle of an enumerate. 4256: 4257: * doc/gpl.texi: Move "NO WARRANTY" to item heading. 4258: 4259: 2013-09-26 Samuel Thibault <[email protected]> 4260: 4261: Really update README 4262: * README: Network drivers are actually enabled by default. 4263: 4264: Update README 4265: * README: Update default drivers notice. Mention cross-compilation flags 4266: for 64bit systems. 4267: 4268: 2013-09-24 Samuel Thibault <[email protected]> 4269: 4270: Drop Invariant, Front-Cover and Back-Cover references 4271: The referenced Invariant sections does not exist, and the front and back 4272: covers do not hold much information. 4273: 4274: 2013-09-22 Marin Ramesa <[email protected]> 4275: 4276: device: remove unused file dk_label.c 4277: * device/dk_label.c: Remove file. 4278: 4279: 2013-09-21 Marin Ramesa <[email protected]> 4280: 4281: add comments after endifs 4282: * device/ds_routines.c [CONFIG_PCMCIA, CONFIG_INET, LINUX_DEV, MACH_HYP]: Add comments after endifs. 4283: 4284: remove lint code 4285: * device/ds_routines.c [lint]: Remove ifdefs and associated code. 4286: 4287: remove register qualifiers 4288: * device/ds_routines.c: Remove register qualifiers. 4289: 4290: remove lint code 4291: * device/dev_pager.c [lint]: Remove ifdefs and associated code. 4292: 4293: Coding style trivial fixes 4294: 4295: remove register qualifiers 4296: * device/dev_pager.c: Remove register qualifiers. 4297: 4298: 2013-09-16 Marin Ramesa <[email protected]> 4299: 4300: another small change in style for consistency 4301: * device/dev_name.c: Change in coding style. 4302: 4303: 2013-09-16 Marin Ramesa <[email protected]> 4304: 4305: use boolean_t instead of an int 4306: Variable 'found' already receives values TRUE and FALSE, so why not make 4307: it a boolean. 4308: 4309: * device/dev_name.c: Use boolean_t instead of an int. 4310: 4311: 2013-09-16 Marin Ramesa <[email protected]> 4312: 4313: remove preprocessor comments 4314: The first one is a message that name lookup has been called, which 4315: I think is safe to remove, or maybe add #if DEBUG. Second one is a 4316: alternate calculation that I doubt it will ever be used, so I think 4317: it's safe to remove it. 4318: 4319: * device/dev_name.c: Remove preprocessor comments. 4320: 4321: 2013-09-16 Marin Ramesa <[email protected]> 4322: 4323: another small change in style for consistency 4324: * device/dev_name.c: Change in coding style. 4325: 4326: small style changes for consistency 4327: * device/dev_name: Changes in coding style. 4328: 4329: remove register qualifiers 4330: * device/dev_name.c: Remove register qualifiers. 4331: 4332: 2013-09-15 Marin Ramesa <[email protected]> 4333: 4334: remove definition of NDEVICES 4335: NDEVICES is never used. Judging by the position and the comments 4336: it was once used in initialization, but it's not anymore. I think 4337: it's safe to remove it. 4338: 4339: * device/dev_lookup.c (NDEVICES): Remove definition. 4340: 4341: 2013-09-15 Marin Ramesa <[email protected]> 4342: 4343: remove register qualifiers 4344: * device/dev_lookup.c: Remove register qualifiers. 4345: 4346: 2013-09-11 Marin Ramesa <[email protected]> 4347: 4348: remove register qualifiers. 4349: * device/cirbuf.c: Remove register qualifiers. 4350: 4351: 2013-09-11 Marin Ramesa <[email protected]> 4352: 4353: track the console init with a boolean instead of an int 4354: A variable that keeps track if the console init has been called. It should 4355: never receive values other than 0 and 1, so constrain it's possible range of 4356: values to a boolean. 4357: 4358: * device/cons.c (cn_inited): Use boolean_t instead of an int. 4359: 4360: 2013-09-11 Marin Ramesa <[email protected]> 4361: 4362: track the console buffer usage with a boolean instead of an int 4363: A variable that keeps track of the console buffer usage should never receive 4364: values other than 0 and 1, so constrain it's value range to boolean. Plus, it's 4365: more readable this way. 4366: 4367: * device/cons.c (consbufused): Use boolean_t instead of an int. 4368: 4369: 2013-09-11 Marin Ramesa <[email protected]> 4370: 4371: drop unused CONSMAJOR 4372: CONSMAJOR is never used. I'm guessing that in the past it was 4373: a part of some problematic code. I don't see a reason to keep 4374: it's definition. 4375: 4376: * device/cons.h (CONSMAJOR): Remove definition. 4377: 4378: 2013-09-09 Marin Ramesa <[email protected]> 4379: 4380: Remove register qualifiers 4381: * device/chario.c: Remove register qualifiers. 4382: 4383: Add const qualifiers. 4384: * device/chario.c (tty_inq_size, tty_outq_size): Qualify constants as const. 4385: 4386: Drop useless forward declaration 4387: * device/chario.c (tty_flush): Remove forward declaration (prototype is in tty.h). 4388: 4389: Drop luna88k bits 4390: * device/tty.h [luna88k]: Remove ifdef and include for nonexistent header files. 4391: * kern/debug.c: Remove check for luna88k. 4392: 4393: 2013-08-28 Samuel Thibault <[email protected]> 4394: 4395: Drop FXSR initialization message 4396: * i386/i386/fpu.c (init_fpu): Drop FXSR initialization message 4397: 4398: 2013-07-18 Marin Ramesa <[email protected]> 4399: 4400: kern: add missing prototype 4401: * kern/lock.h (db_show_all_slocks): Add prototype. 4402: 4403: ipc: organize ipc print function prototypes 4404: * ipc/ipc_print.h: New file. 4405: [MACH_KDB] Include <mach/mach_types.h>. 4406: [MACH_KDB] Include <mach/message.h>. 4407: [MACH_KDB] Include <ipc/ipc_types.h>. 4408: (ipc_port_print): Add prototype. 4409: (ipc_pset_print): Likewise. 4410: (ipc_kmsg_print): Likewise. 4411: (ipc_msg_print): Likewise. 4412: * ipc/ipc_port.h (ipc_port_print): Remove prototype. 4413: * ipc/ipc_port.c [MACH_KDB]: Include <ipc/ipc_print.h>. 4414: * ipc/ipc_pset.h (ipc_pset_print): Remove prototype. 4415: * ipc/ipc_pset.c [MACH_KDB]: Include <ipc/ipc_print.h>. 4416: * ipc/ipc_kmsg.c [MACH_KDB]: Include <ipc/ipc_print.h>. 4417: 4418: vm: organize vm print function prototypes 4419: * vm/vm_print.h: New file. 4420: Include <vm/vm_map.h>. 4421: Include <machine/db_machdep.h>. 4422: (vm_map_print): Add prototype. 4423: (vm_map_copy_print): Likewise. 4424: (vm_object_print): Likewise. 4425: (vm_page_print): Likewise. 4426: Include <vm/vm_object.h>. 4427: Include <vm/vm_page.h> 4428: * vm/vm_map.h (vm_map_print): Remove prototype. 4429: * vm/vm_map.c [MACH_KDB]: Include <vm/vm_print.h>. 4430: * vm/vm_object.h (vm_object_print): Remove prototype. 4431: * vm/vm_object.c [MACH_KDB]: Include <vm/vm_print.h>. 4432: * vm/vm_resident.c [MACH_KDB]: Include <vm/vm_print.h>. 4433: 4434: ddb: cleanup db_command.c 4435: * ddb/db_command.c (_longjmp): Remove prototype. 4436: (vm_map_print): Likewise. 4437: (vm_object_print): Likewise. 4438: (vm_page_print): Likewise. 4439: (vm_map_copy_print): Likewise. 4440: (ipc_port_print): Likewise. 4441: (ipc_pset_print): Likewise. 4442: (db_show_all_slocks): Likewise. 4443: (ipc_kmsg_print): Likewise. 4444: (ipc_msg_print): Likewise. 4445: Include <vm/vm_print.h>. 4446: Include <ipc/ipc_print.h>. 4447: Include <kern/lock.h>. 4448: * i386/i386/setjmp.h [__GNUC__] (_longjmp): Add prototype. 4449: 4450: 2013-07-07 Marin Ramesa <[email protected]> 4451: 4452: fix implicit declarations 4453: * ddb/db_trap.c: Include <machine/setjmp.h>. 4454: * i386/i386/setjmp.h (_setjmp): Add prototype. 4455: 4456: 2013-07-07 Samuel Thibault <[email protected]> 4457: 4458: Restore db_help_cmd 4459: * ddb/db_command.c (db_help_cmd): Restore function. 4460: 4461: 2013-07-06 Marin Ramesa <[email protected]> 4462: 4463: ddb: cleanup db_command.c 4464: * ddb/db_write_cmd.h: New file. 4465: (db_write_cmd): Add prototype. 4466: Include <mach/boolean.h>. 4467: Include <machine/db_machdep.h>. 4468: * ddb/db_break.h (db_listbreak_cmd): Add prototype. 4469: (db_delete_cmd): Likewise. 4470: (db_breakpoint_cmd): Likewise. 4471: * ddb/db_watch.h (db_listwatch_cmd): Likewise. 4472: (db_deletewatch_cmd): Likewise. 4473: (db_watchpoint_cmd): Likewise. 4474: * ddb/db_print.h (db_show_one_thread): Likewise. 4475: (db_show_all_threads): Likewise. 4476: * ddb/db_examine.h (db_print_cmd): Likewise. 4477: (db_examine_forward): Likewise. 4478: (db_examine_backward): Likewise. 4479: (db_search_cmd): Likewise. 4480: * ddb/db_variables.h (db_set_cmd): Likewise. 4481: * ddb/db_run.h (db_trace_until_call_cmd): Likewise. 4482: (db_trace_until_matching_cmd): Likewise. 4483: (db_continue_cmd): Likewise. 4484: * ddb/db_command.h (db_fncall): Likewise. 4485: * ddb/db_command.c: Include <ddb/db_break.h>. 4486: Include <ddb/db_watch.h>. 4487: Include <ddb/db_variables.h>. 4488: Include <ddb/db_write_cmd.h>. 4489: Include <ddb/db_run.h>. 4490: Include <ddb/db_cond.h>. 4491: (db_listbreak_cmd): Remove prototype. 4492: (db_listwatch_cmd): Likewise. 4493: (db_show_one_thread): Likewise. 4494: (db_show_all_threads): Likewise. 4495: (db_show_macro): Likewise. 4496: (db_show_help): Likewise. 4497: (db_print_cmd): Likewise. 4498: (db_examine_cmd): Likewise. 4499: (db_set_cmd): Likewise. 4500: (db_examine_forward): Likewise. 4501: (db_examine_backward): Likewise. 4502: (db_search_cmd): Likewise. 4503: (db_write_cmd): Likewise. 4504: (db_delete_cmd): Likewise. 4505: (db_breakpoint_cmd): Likewise. 4506: (db_deletewatch_cmd): Likewise. 4507: (db_watchpoint_cmd): Likewise. 4508: (db_single_step_cmd): Likewise. 4509: (db_trace_until_call_cmd): Likewise. 4510: (db_trace_until_matching_cmd): Likewise. 4511: (db_continue_cmd): Likewise. 4512: (db_cond_cmd): Likewise. 4513: (db_help_cmd): Likewise. 4514: (db_def_macro_cmd): Likewise. 4515: (db_del_macro_cmd): Likewise. 4516: (db_fncall): Likewise. 4517: 4518: 2013-07-05 Marin Ramesa <[email protected]> 4519: 4520: ddb: use and cleanup db_print.h 4521: * ddb/db_command.c: Include db_print.h. 4522: Remove extern db_show_regs(). 4523: Remove extern db_show_one_task(). 4524: Remove extern db_show_port_id(). 4525: * ddb/db_print.c: Include db_print.h 4526: * ddb/db_print.h (db_show_all_acts): Remove prototype. 4527: (db_show_one_act): Likewise. 4528: (db_show_shuttle): Likewise. 4529: (db_show_one_task_vm): Likewise. 4530: (db_show_all_task_vm): Likewise. 4531: (db_show_one_space): Likewise. 4532: (db_show_all_spaces): Likewise. 4533: (db_sys): Likewise. 4534: (db_port_kmsg_count): Likewise. 4535: (db_show_one_simple_lock): Likewise. 4536: (db_show_one_mutex): Likewise. 4537: (db_show_subsystem): Likewise. 4538: (db_show_runq): Likewise. 4539: 4540: 2013-07-04 Marin Ramesa <[email protected]> 4541: 4542: ddb: fix implicit declarations 4543: * ddb/db_break.c: Include ddb/db_access.h. 4544: * ddb/db_examine.h (db_xcdump): Add prototype. 4545: * ddb/db_ext_symtab.c: Include vm/vm_user.h. 4546: * ddb/db_input.c: Include device/cons.h. 4547: * ddb/db_output.c: Likewise. 4548: 4549: 2013-06-29 Marin Ramesa <[email protected]> 4550: 4551: (slab_info): fix format warnings 4552: * kern/slab.c (slab_info): Fix format for vm_size_t. 4553: 4554: Add device_pager_setup prototype 4555: * device/ds_routines.h (device_pager_setup): Add prototype. 4556: 4557: Add [nh]to[hn][ls] prototypes 4558: * device/net_io.h (ntohl, htonl, ntohs, htons): Add prototypes. 4559: 4560: 2013-06-29 Samuel Thibault <[email protected]> 4561: 4562: Fix int/long discrepancy 4563: * device/net_io.c (bpf_match): Make the `keys' parameter a pointer to 4564: unsigned int instead of unsigned long. 4565: (bpf_do_filter): Make `A', `B' and `mem' unsigned ints instead of unsigned 4566: longs. Also turn long casts into int casts. 4567: 4568: 2013-06-24 Samuel Thibault <[email protected]> 4569: 4570: Add partitioning reload support to ahci 4571: * linux/dev/drivers/block/ahci.c (port): Add `gd' field. 4572: (ahci_ioctl): New function. 4573: (ahci_fops): Fill `ioctl' field with `ahci_ioctl'. 4574: (ahci_probe_pci): Fill `gd' field with `gd'. 4575: 4576: Fix printing ahci PCI dev and fun 4577: * linux/dev/drivers/block/ahci.c (ahci_probe_dev): Compute `dev' and `fun' 4578: earlier so they can be printed. 4579: 4580: 2013-06-10 Samuel Thibault <[email protected]> 4581: 4582: Add missing 4KiB memory 4583: * i386/i386at/model_dep.c (init_alloc_aligned): Let allocated area last 4584: until end of memory map. 4585: 4586: Add non-contiguous mmap support 4587: * i386/include/mach/i386/multiboot.h (multiboot_mmap): New structure 4588: * i386/i386at/model_dep.c (mem_size_init): Parse boot_info.mmap_addr if 4589: available. 4590: (init_alloc_aligned): Likewise. 4591: 4592: 2013-06-09 Samuel Thibault <[email protected]> 4593: 4594: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 4595: 4596: 2013-06-09 Samuel Thibault <[email protected]> 4597: 4598: Do not skip AHCI controller without HOST_CAP_ONLY 4599: We rather rely on the announced PCI type to determine whether to use IDE or 4600: AHCI. 4601: 4602: * linux/dev/drivers/block/ahci.c (ahci_probe_dev): Do not skip AHCI 4603: controller without HOST_CAP_ONLY. 4604: 4605: 2013-06-09 Samuel Thibault <[email protected]> 4606: 4607: Add timeout to ahci IDENTIFY 4608: * linux/dev/drivers/block/ahci.c (identify_timeout): New function. 4609: (identify_timer): New variable. 4610: (ahci_probe_port): Add timer to abandon identify command. 4611: 4612: Fix printf format 4613: * linux/dev/drivers/block/ahci.c (ahci_do_request): Cast capacity into unsigned 4614: long and use %lu format. 4615: (ahci_probe_port): Cast size into unsigned and use %u format. 4616: 4617: Fix format 4618: 4619: 2013-06-09 Richard Braun <[email protected]> 4620: 4621: Fix object construction in the slab allocator 4622: There is currently no actual use of constructors, which is why this bug has 4623: been long overlooked. 4624: 4625: * kern/slab.c (kmem_cpu_pool_fill): Call constructor on buffers unless 4626: verification is enabled for the cache, or the constructor is NULL. 4627: 4628: 2013-06-04 Marin Ramesa <[email protected]> 4629: 4630: Comment unused variable 4631: * kern/ipc_mig.c (syscall_device_write_request): Comment unused variable. 4632: 4633: 2013-06-04 Samuel Thibault <[email protected]> 4634: 4635: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 4636: 4637: 2013-06-04 Miguel Figueiredo <[email protected]> 4638: 4639: Fix format warnings 4640: * vm/vm_resident.c (pmap_startup): Fix printf format. 4641: * xen/block.c (hyp_block_init, device_write): Likewise. 4642: * xen/net.c (hyp_net_init): Likewise. 4643: 4644: 2013-06-02 Miguel Figueiredo <[email protected]> 4645: 4646: Remove unused variable 4647: * kern/act.c (act_create): Remove unused variable. 4648: 4649: 2013-06-02 Richard Braun <[email protected]> 4650: 4651: Fix yet another locking error in the slab allocator 4652: * kern/slab.c (kmem_cache_free): Relock cache before retrying releasing 4653: an object to the CPU pool layer. 4654: 4655: 2013-06-02 Miguel Figueiredo <[email protected]> 4656: 4657: Remove unused variable 4658: * ipc/mach_port.c (mach_port_set_syscall_right): Remove unused variable. 4659: 4660: 2013-05-30 Samuel Thibault <[email protected]> 4661: 4662: Add LBA48 support to AHCI driver 4663: * linux/dev/drivers/block/ahci.c (port): Extend `capacity' field type to 4664: unsigned long long. Add `lba48' field. Make `identify' field unsigned. 4665: (ahci_do_port_request): When `lba48' is true, use WIN_READDMA_EXT and 4666: WIN_WRITEDMA_EXT commands. 4667: (ahci_probe_port): Test lba48 flag, read capacity and set `lba48' 4668: accordingly. Display size in GiB above 10GiB. 4669: * linux/src/include/linux/hdreg.h (WIN_READDMA_EXT, WIN_WRITEDMA_EXT): New 4670: macros 4671: (hd_driveid): Add `command_set_2' and lba_capacity_2' fields. 4672: 4673: 2013-05-27 Miguel Figueiredo <[email protected]> 4674: 4675: Remove old elevator algorithm function 4676: * device/blkio.c (disksort): remove unused function 4677: 4678: 2013-05-19 Miguel Figueiredo <[email protected]> 4679: 4680: Remove unneeded variable initialization 4681: * kern/thread.c (thread_force_terminate): Remove unneeded variable 4682: initialization. 4683: 4684: 2013-05-19 Samuel Thibault <[email protected]> 4685: 4686: Remove duplicate line 4687: Reported by Miguel Figueiredo 4688: 4689: * kern/thread.c (thread_create): Remove duplicate reset of 4690: new_thread->pc_sample.buffer to 0. 4691: 4692: 2013-05-16 Richard Braun <[email protected]> 4693: 4694: Reduce fragmentation in the slab allocator 4695: This reverts a change brought when reworking slab lists handling that made 4696: the allocator store slabs in LIFO order, whatever their reference count. 4697: While it's fine for free slabs, it actually increased fragmentation for 4698: partial slabs. 4699: 4700: * kern/slab.c (kmem_cache_alloc_from_slab): Insert slabs that become partial 4701: at the end of the partial slabs list. 4702: 4703: 2013-05-16 Richard Braun <[email protected]> 4704: 4705: Rename list_insert to list_insert_head 4706: This change increases clarity. 4707: 4708: * kern/list.h (list_insert): Rename to ... 4709: (list_insert_head): ... this. 4710: * kern/slab.c: Update calls to list_insert. 4711: 4712: 2013-05-15 Richard Braun <[email protected]> 4713: 4714: Fix itemization errors in the texinfo documentation 4715: * doc/mach.texi: Replace @itemx with @item for --enable-tulip and 4716: --enable-epic100. 4717: 4718: 2013-05-13 Miguel Figueiredo <[email protected]> 4719: 4720: Drop unused variables 4721: * kern/slab.c (kalloc_init): Remove unused variables. 4722: 4723: 2013-05-11 Samuel Thibault <[email protected]> 4724: 4725: Add missing parameters to printf 4726: * linux/dev/drivers/block/ahci.c (ahci_probe_dev): Add missing parameters to 4727: printf. 4728: 4729: 2013-05-10 Samuel Thibault <[email protected]> 4730: 4731: Fix ahci.h path 4732: * linux/Makefrag.am (liblinux_a_SOURCES): Fix path to ahci.h 4733: 4734: Add AHCI driver 4735: * linux/dev/glue/kmem.c (vmtophys): New function. 4736: * linux/dev/include/linux/mm.h (vmtophys): New prototype. 4737: * linux/src/include/linux/pci.h (PCI_CLASS_STORAGE_SATA, 4738: PCI_CLASS_STORAGE_SATA_AHCI): New macros. 4739: * linux/dev/drivers/block/ahci.c: New file. 4740: * linux/dev/include/ahci.h: New file. 4741: * linux/Makefrag.am (liblinux_a_SOURCES): Add linux/dev/drivers/block/ahci.c 4742: and linux/dev/drivers/block/ahci.h. 4743: * linux/src/drivers/block/ide.c: Include <ahci.h>. 4744: (probe_for_hwifs): Call ahci_probe_pci. 4745: 4746: 2013-05-02 Samuel Thibault <[email protected]> 4747: 4748: Fix non-block-aligned-offset reads 4749: This fixes grave issues when device_read is called with non-block-aligned 4750: offset, e.g. when using grub-probe with a non-block-aligned partition table. 4751: 4752: * linux/dev/glue/block.c (rdwr_full): Use current position instead of base 4753: buffer position to check for alignment. 4754: 4755: 2013-05-01 Samuel Thibault <[email protected]> 4756: 4757: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 4758: 4759: Fix macro name 4760: * linux/dev/glue/block.c (device_get_status): Use 4761: DEV_GET_RECORDS_RECORD_SIZE for DEV_GET_RECORDS instead of 4762: DEV_GET_SIZE_RECORD_SIZE. 4763: 4764: 2013-04-21 Richard Braun <[email protected]> 4765: 4766: Optimize slab reaping 4767: Instead of walking the list of free slabs while holding the cache lock, 4768: detach the list from the cache and directly compute the final count values, 4769: and destroy slabs after releasing the cache lock. 4770: 4771: * kern/slab.c (kmem_cache_reap): Optimize. 4772: 4773: 2013-04-21 Richard Braun <[email protected]> 4774: 4775: Rework slab lists handling 4776: Don't enforce strong ordering of partial slabs. Separating partial slabs 4777: from free slabs is already effective against fragmentation, and sorting 4778: would sometimes cause pathological scalability issues. In addition, store 4779: new slabs (whether free or partial) in LIFO order for better cache usage. 4780: 4781: * kern/slab.c (kmem_cache_grow): Insert new slab at the head of the slabs list. 4782: (kmem_cache_alloc_from_slab): Likewise. In addition, don't sort partial slabs. 4783: (kmem_cache_free_to_slab): Likewise. 4784: * kern/slab.h: Remove comment about partial slabs sorting. 4785: 4786: 2013-04-21 Richard Braun <[email protected]> 4787: 4788: Fix locking error in the slab allocator 4789: * kern/slab.c (kmem_cache_free): Lock cache before releasing an object to 4790: the slab layer. 4791: 4792: 2013-04-08 Samuel Thibault <[email protected]> 4793: 4794: Add -fno-optimize-sibling-calls option for better kdb traces 4795: * Makefrag.am (AM_CFLAGS) [enable_kdb]: Add -fno-optimize-sibling-calls 4796: option. 4797: 4798: 2013-03-11 Samuel Thibault <[email protected]> 4799: 4800: Update BASEPRI_USER 4801: * kern/sched.h (BASEPRI_USER): Increase to 25. 4802: 4803: Fix build without kdb 4804: * i386/i386/db_interface.h [! MACH_KBD] (db_set_hw_watchpoint, 4805: db_clear_hw_watchpoint, db_dr): Do not declare functions. 4806: 4807: 2013-03-06 Samuel Thibault <[email protected]> 4808: 4809: Increase number of priorities 4810: * kern/sched.h (NRQS): Increase to 50. 4811: 4812: 2013-03-05 Samuel Thibault <[email protected]> 4813: 4814: Do not hardcode maximum priority value 4815: * kern/sched_prim.c (do_priority_computation): Replace 31 with NRQS - 1. 4816: idle_thread: Likewise. 4817: 4818: 2013-02-04 Samuel Thibault <[email protected]> 4819: 4820: Include machine/db_interface instead of hardcoding function prototypes 4821: * ddb/db_access.c: Include <machine/db_interface.h>. 4822: (db_read_bytes, db_write_bytes): Remove functions prototypes. 4823: (db_get_task_value): Fix calling db_read_bytes. 4824: (db_put_task_value): Fix calling db_write_bytes. 4825: * ddb/db_watch.c: Include <machine/db_interface.h>. 4826: (db_set_hw_watchpoint, db_clear_hw_watchpoint): Remove functions prototypes. 4827: 4828: 2013-02-04 Samuel Thibault <[email protected]> 4829: 4830: Plug hw debug register support into kdb 4831: Make the `watch' command use hw debug registers whenever possible. 4832: 4833: * ddb/db_watch.c (db_set_hw_watchpoint, db_clear_hw_watchpoint): Add 4834: functions prototypes. 4835: (db_set_watchpoints): Try to call db_set_hw_watchpoint. 4836: (db_clear_watchpoints): Call db_clear_hw_watchpoint. 4837: * i386/i386/db_interface.c: Include <ddb/db_watch.h> 4838: (db_set_hw_watchpoint): Take a db_watchpoint_t WATCH parameter instead of 4839: its content. Remove support for clearing a debug register. 4840: (db_clear_hw_watchpoint): Add function. 4841: * i386/i386/db_interface.h: Include <ddb/db_watch.h>. 4842: (db_set_hw_watchpoint): Fix function prototype. 4843: (db_clear_hw_watchpoint): Add function prototype. 4844: * i386/i386/db_machdep.h: Do not include <machine/db_interface.h> 4845: 4846: 2013-02-04 Samuel Thibault <[email protected]> 4847: 4848: Document dwatch 4849: * doc/mach.texi: Add dwatch documentation. 4850: 4851: 2013-02-04 Samuel Thibault <[email protected]> 4852: 4853: Add x86 hardware debugging register support 4854: This adds using the x86 hardware debugging registers, either from the kernel 4855: through db_set_hw_watchpoint, or from userland through i386_DEBUG_STATE. 4856: While the kernel is using the registers, the userland values are ignored. 4857: 4858: * i386/i386/db_interface.c (kernel_dr, ids): New variables. 4859: (db_load_context, db_get_debug_state, db_set_debug_state, db_dr, 4860: db_set_hw_watchpoint): New functions. 4861: (kdb_trap): Use get_dr* instead of dr_addr[]. 4862: * i386/i386/db_interface.h (db_user_to_kernel_address, db_set_hw_watchpoint) 4863: (db_dr, db_get_debug_state, db_set_debug_state, db_load_context): Add functions 4864: prototypes. 4865: (dr0, dr1, dr2, dr3): Remove functions prototypes. 4866: * i386/i386/locore.S (dr6, dr0, dr1, dr2, dr3): Remove functions. 4867: (dr_msk, dr_addr): Remove variables. 4868: * i386/include/mach/i386/thread_status.h (i386_DEBUG_STATE): Add macro. 4869: (i386_debug_state): Add structure. 4870: (i386_DEBUG_STATE_COUNT): Add macro. 4871: * i386/i386/thread.h: Include <mach/machine/thread_status.h>. 4872: (i386_machine_state): Add `struct i386_debug_state ids' field. 4873: * i386/i386/pcb.c: Include <i386/db_interface.h>. 4874: (switch_ktss): Call db_load_context. 4875: (thread_setstatus, thread_getstatus): Add I386_DEBUG_STATE case. 4876: * i386/i386/proc_reg.h (get_dr0, set_dr0, get_dr1, set_dr1, get_dr2, 4877: set_dr2, get_dr3, set_dr3, get_dr6, set_dr6, get_dr7, set_dr7): Add macros. 4878: 4879: 2013-02-03 Samuel Thibault <[email protected]> 4880: 4881: Prevent the kernel from making any FPU use 4882: * i386/Makefrag.am (AM_CFLAGS): Add -mno-3dnow -mno-mmx -mno-sse -mno-sse2. 4883: 4884: 2013-01-31 Samuel Thibault <[email protected]> 4885: 4886: Implement pmap_map_mfn for the PVH case 4887: * i386/intel/pmap.c (pmap_map_mfn) [MACH_XEN && !MACH_PV_PAGETABLES]: 4888: Implement. 4889: 4890: Make the PVH variant get sure that the support is available in the hypervisor 4891: * i386/xen/xen_boothdr.S (FEATURES): Mark PVH features as required. 4892: 4893: 2013-01-30 Samuel Thibault <[email protected]> 4894: 4895: Add comment for TODO 4896: 4897: Do not use 4gb segment assistance in PVH 4898: * i386/i386/gdt.c (gdt_init) [MACH_PV_DESCRIPTORS && !MACH_PV_PAGETABLES]: 4899: Do not enable VMASST_TYPE_4gb_segments. 4900: * i386/i386/trap.c (user_trap): Do not handle trap 15, 4gb segment 4901: assist notification. 4902: 4903: Drop spurious inclusion 4904: * i386/i386/vm_param.h [MACH_XEN && !MACH_PV_PAGETABLES]: Do not include 4905: <xen/public/xen.h>. 4906: 4907: Increase VM_MAX_KERNEL_ADDRESS for PVH case 4908: * i386/i386/vm_param.h (VM_MAX_KERNEL_ADDRESS) [MACH_XEN && 4909: !MACH_PV_PAGETABLES]: Remove hypervisor area from VM_MAX_KERNEL_ADDRESS 4910: restriction. 4911: 4912: 2013-01-28 Samuel Thibault <[email protected]> 4913: 4914: More ifdef fixes for ring1 support and pv descriptors support 4915: * i386/i386/idt_inittab.S: Turn MACH_XEN test into MACH_PV_DESCRIPTORS test. 4916: * i386/i386/fpu.c: Turn appropriate MACH_HYP/XEN tests into MACH_RING1 tests. 4917: * i386/i386/ktss.c: Likewise. 4918: * i386/i386/locore.S: Likewise. 4919: * i386/i386/mp_desc.c: Likewise. 4920: * i386/i386/pcb.c: Likewise. 4921: * i386/i386/proc_reg.h: Likewise. 4922: * i386/i386/trap.c: Likewise. 4923: 4924: Add initial code for disabling PV pagetables 4925: * xen/configfrag.ac (--disable-pv-pagetables): Add option. 4926: * i386/xen/xen_boothdr.S (XEN_ELFNOTE_FEATURES) [!MACH_PV_PAGETABLES]: Add 4927: writable_page_tables. 4928: * i386/i386/gdt.c: Turn appropriate MACH_XEN/MACH_HYP tests into 4929: MACH_PV_PAGETABLES tests. 4930: * i386/i386/i386asm.sym: Likewise 4931: * i386/i386/ldt.c: Likewise 4932: * i386/i386/locore.S: Likewise 4933: * i386/i386/proc_reg.h: Likewise 4934: * i386/i386/user_ldt.c: Likewise 4935: * i386/i386/vm_param.h: Likewise 4936: * i386/i386/xen.h: Likewise 4937: * i386/i386at/model_dep.c: Likewise 4938: * i386/intel/pmap.h: Likewise 4939: * include/mach/xen.h: Likewise 4940: * xen/console.c: Likewise 4941: * xen/store.c: Likewise 4942: * i386/intel/pmap.c: Likewise. Define pmap_map_mfn as TODO stub. 4943: 4944: Fix comments 4945: 4946: Fix build with --disable-pseudo-phys 4947: * i386/i386/i386asm.sym (PFN_LIST) [!MACH_PSEUDO_PHYS]: Do not define. 4948: 4949: Add initial code for disabling ring1 xen execution 4950: * xen/configfrag.ac (--disable-ring1): Add option. 4951: * i386/xen/xen_boothdr.S (XEN_ELFNOTE_FEATURES) [!MACH_RING1]: Add 4952: supervisor_mode_kernel. 4953: * i386/i386/seg.h (KERNEL_RING) [!MACH_RING1]: Set macro to 0. 4954: 4955: Add initial code for disabling PV descriptors 4956: * xen/configfrag.ac (--disable-pv-descriptors): Add option 4957: * i386/xen/xen_boothdr.S (XEN_ELFNOTE_FEATURES) [!MACH_PV_DESCRIPTORS]: Add 4958: writable_descriptor_tables. 4959: * i386/i386/gdt.c: Turn appropriate MACH_XEN/MACH_HYP tests into 4960: MACH_PV_DESCRIPTORS tests. 4961: * i386/i386/gdt.h: Likewise. 4962: * i386/i386/i386asm.sym: Likewise. 4963: * i386/i386/idt.c: Likewise. 4964: * i386/i386/idt_inittab.S: Likewise. 4965: * i386/i386/ldt.c: Likewise. 4966: * i386/i386/pcb.c: Likewise. 4967: * i386/i386/seg.h: Likewise. 4968: * i386/i386/user_ldt.c: Likewise. 4969: * i386/i386/user_ldt.h: Likewise. 4970: 4971: 2013-01-22 Richard Braun <[email protected]> 4972: 4973: Add the mach_print debugging system call 4974: The purpose of this system call is to help debugging in situations where 4975: it's desirable to bypass the mach_msg call entirely. 4976: 4977: * include/mach/syscall_sw.h (mach_print): Generate system call code. 4978: * kern/syscall_subr.c: Include <kern/printf.h>. 4979: [MACH_KDB] (mach_print): New function. 4980: * kern/syscall_subr.h (mach_print): New prototype. 4981: * kern/syscall_sw.c [MACH_KDB] (mach_trap_table): Declare mach_print 4982: system call. 4983: 4984: 2013-01-13 Samuel Thibault <[email protected]> 4985: 4986: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 4987: 4988: Fix task stats incrementations 4989: * vm/vm_fault.c (vm_fault_page): Properly increment 4990: current_task()->zero_fills and cow_faults. 4991: 4992: 2013-01-13 David Höppner <[email protected]> 4993: 4994: Add statistics for task_events_info 4995: * ipc/ipc_mqueue.c (ipc_mqueue_send, ipc_mqueue_receive): Increment 4996: counters for message sent and received. 4997: * kern/ipc_kobject.c (ipc_kobject_server): Increment sent and received 4998: counters for the kernel task. 4999: * kern/task.c (task_create): Zero statistics. 5000: * kern/task.c (task_info): Add task_events_info call. 5001: * kern/task.h: Add statistics. 5002: * vm/vm_fault.c (vm_fault_page): Increment zero_fills, pageins, 5003: reactivations and cow_faults counters. 5004: * vm/vm_fault.c (vm_fault_wire_fast): Increment faults counters. 5005: * vm/vm_pageout.c (vm_pageout_scan): Increment reactivations counter. 5006: 5007: 2013-01-08 Richard Braun <[email protected]> 5008: 5009: Fix slab cache list locking 5010: This problem was overlooked because of simple locks being no-ops. 5011: 5012: * kern/slab.c (slab_collect): Fix lock name to kmem_cache_list_lock. 5013: (host_slab_info): Likewise. 5014: 5015: 2013-01-08 Richard Braun <[email protected]> 5016: 5017: Add function to dump a raw summary of the slab allocator state 5018: The purpose of this function is to allow kernel code to display the state 5019: of the slab caches in situations where the host_slab_info RPC wouldn't be 5020: available, e.g. before a panic. 5021: 5022: * kern/slab.c (slab_info): New function. 5023: * kern/slab.h: Add declaration for slab_info. 5024: 5025: 2013-01-06 Samuel Thibault <[email protected]> 5026: 5027: Double KENTRY_DATA_SIZE 5028: * vm/vm_map.h (KENTRY_DATA_SIZE): Bump from 32 pages to 64 pages. 5029: 5030: 2013-01-04 David Höppner <[email protected]> 5031: 5032: Fix compilation warning implicit function declaration kdbprintf 5033: When kernel debugger support is requested ipc and vm need 5034: the prototype for the debugger function kdbprintf. 5035: 5036: * ddb/db_output.h: Add prototype for kdbprintf. 5037: * ipc/ipc_object.c: Add include file ddb/db_output.h 5038: * ipc/ipc_port.c: Likewise. 5039: * ipc/ipc_pset.c: Likewise. 5040: * vm/vm_map.c: Likewise. 5041: * vm/vm_object.c: Likewise. 5042: * vm/vm_resident.c: Likewise. 5043: 5044: 2012-12-27 Samuel Thibault <[email protected]> 5045: 5046: Fix slow boot in virtualbox 5047: By disabling some of the most slow drivers by default, and giving progress 5048: feedback to the user. 5049: 5050: * linux/configfrag.ac (CONFIG_SCSI_NCR53C7xx, CONFIG_SCSI_AIC7XXX, 5051: CONFIG_SCSI_GDTH): Disable by default 5052: * linux/src/drivers/scsi/eata.c (__initfunc): Don't feed line in probe 5053: message. 5054: * linux/src/drivers/scsi/hosts.c (scsi_init): Print SCSI probe progress. 5055: 5056: 2012-12-27 Samuel Thibault <[email protected]> 5057: 5058: Fix spurious error on accessing fd1 5059: Cherry picked from Linux kernel commit 76c25284e0d845bff4ee1031721556148af4db1c 5060: 5061: * linux/dev/drivers/block/floppy.c (config_types): Clear from 5062: `allowed_drive_mask' floppy drives whose cmos type is 0. 5063: 5064: 2012-12-23 Samuel Thibault <[email protected]> 5065: 5066: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 5067: 5068: 2012-12-23 Samuel Thibault <[email protected]> 5069: 5070: Make thread_suspend wait for !TH_UNINT 5071: 0a55db5 made thread_suspend return KERN_FAILURE when the target thread is in 5072: TH_UNINT state. That however is not currently handled by libc, and it's more 5073: useful to just wait for the thread to get interruptible. 5074: 5075: * kern/sched_prim.c (thread_invoke): Wake NEW_THREAD->STATE for thread_suspend. 5076: * kern/thread.c (thread_suspend): Wait on NEW_THREAD->STATE as long as THREAD 5077: has TH_UNINT. 5078: 5079: 2012-12-21 David S. Miller <[email protected]> 5080: 5081: ide: Increase WAIT_DRQ to accomodate some CF cards and SSD drives. 5082: Based upon a patch by Philippe De Muyter, and feedback from Mark 5083: Lord and Robert Hancock. 5084: 5085: As noted by Mark Lord, the outdated ATA1 spec specifies a 20msec 5086: timeout for setting DRQ but lots of common devices overshoot this. 5087: 5088: (cherry picked from Linux kernel commit 602da297e293eb2cbd28dcdbbe247593a46a853a) 5089: 5090: * linux/src/drivers/block/ide.h (WAIT_DRQ): Increase to 1 s. 5091: 5092: 2012-12-21 Thomas Schwinge <[email protected]> 5093: 5094: IDE disk drives with unusual C/H/S. 5095: * linux/src/drivers/block/ide.c: Partially update to Linux 2.0.40 code. 5096: 5097: 2012-12-05 Richard Braun <[email protected]> 5098: 5099: Fix kernel task creation time 5100: The mapable_time_init function is called before machine_init, but the 5101: latter sets the system boot time. Fix their calling order. 5102: 5103: * kern/startup.c (setup_main): Call machine_init before mapable_time_init. 5104: 5105: 2012-12-04 Richard Braun <[email protected]> 5106: 5107: Strongly reduce risks of name capture in rbtree macros 5108: * kern/rbtree.h (rbtree_lookup): Prefix local variable names with three 5109: underscores. 5110: (rbtree_lookup_nearest): Likewise. 5111: (rbtree_insert): Likewise. 5112: (rbtree_lookup_slot): Likewise. 5113: (rbtree_insert_slot): Rewrite as an inline function. 5114: 5115: 2012-11-21 Richard Braun <[email protected]> 5116: 5117: Fix calls to vm_map when size is 0 5118: * vm/vm_map.c (vm_map_enter): return KERN_INVALID_ARGUMENT if size is 0. 5119: * vm/vm_user.c (vm_map): Likewise. 5120: 5121: 2012-11-19 Matthew Leach <[email protected]> 5122: 5123: Fix compilation error with older versions of GCC 5124: Some versions of GCC will error if you define a type twice (even if 5125: the definition is the same). The NCR53C8XX SCSI driver defines 5126: 'vm_offset_t', this is also defined in vm_types.h and will therefore 5127: cause a compilation error depending on the GCC version. 5128: 5129: * linux/src/drivers/scsi/ncr53c8xx.c [!MACH] (vm_offset_t, vm_size_t): Don't 5130: define types. 5131: 5132: 2012-09-23 Samuel Thibault <[email protected]> 5133: 5134: Fix gnumach_server_routine prototype 5135: * kern/ipc_kobject.c (ipc_kobject_server): Set gnumach_server_routine 5136: prototype to mig_routine_t. 5137: 5138: 2012-09-23 Richard Braun <[email protected]> 5139: 5140: Add missing file for page statistics 5141: * kern/gnumach.srv: New file. 5142: 5143: Add missing file for page statistics 5144: * include/mach/vm_cache_statistics.h: New file 5145: 5146: 2012-09-23 Gianluca Guida <[email protected]> 5147: 5148: Fix panic on irq >= 16 5149: * linux/src/drivers/net/pci-scan.c (pci_drv_register): Skip device 5150: if we are getting an invalid IRQ >= 16 and different from 255 (it 5151: happens in some motherboard). 5152: 5153: 2012-09-23 Sergio Lopez <[email protected]> 5154: 5155: Update DMA auto-enabling, make forcing DMA an option 5156: * linux/configfrag.ac (--enable-ide-forcedma): Add option. 5157: * linux/src/drivers/block/ide.c (ide_probe_promise_20246): Do not call 5158: ide_init_promise. 5159: (probe_for_hwifs): Add SI, VIA, AL PCI probing. 5160: * linux/src/drivers/block/ide.h (hwif_chipset_t): Add hpt343, udma and 5161: ultra66 chipsets. 5162: * linux/src/drivers/block/triton.c: Update to upstream 1.14 version. 5163: * linux/src/include/linux/hdreg.h (HDIO_GET_IDENTITY): Rename to ... 5164: (HDIO_OBSOLETE_IDENTITY): ... new macro. 5165: (HDIO_GET_IDENTITY): New macro. 5166: (hd_driveid): Add fields for extended identification. 5167: 5168: 2012-09-23 Alexey Dejneka <[email protected]> 5169: 5170: Fix CDROM door unlock on closure without device_close 5171: * linux/dev/glue/block.c 5172: (device_open): Properly return devp on multiple opens. 5173: (device_close_forced): Renamed from device_close, when force parameter is 1, do 5174: not wait for open_count to become 0 before closing. 5175: (device_close): New function. 5176: (device_no_senders): New function. 5177: linux_block_emulation_ops: Use (device_no_senders). 5178: 5179: 2012-09-23 Richard Braun <[email protected]> 5180: 5181: Provide basic page cache statistics 5182: * Makefrag.am (EXTRA_DIST): Add kern/gnumach.srv. 5183: (include_mach_HEADERS): Add include/mach/gnumach.defs and 5184: include/mach/vm_cache_statistics.h 5185: (nodist_libkernel_a_SOURCES): Add kern/gnumach.server.defs.c, 5186: kern/gnumach.server.h, kern/gnumach.server.c, kern/gnumach.server.msgids, 5187: kern/gnumach.server.defs. 5188: * include/mach/mach_types.h: Add #include <mach/vm_cache_statistics.h>. 5189: * kern/ipc_kobject.c (ipc_kobject_server): Declare and call 5190: gnumach_server_routine. 5191: * vm/vm_object.c (vm_object_cached_pages): New variable. 5192: (vm_object_cached_pages_lock_data): Likewise. 5193: (vm_object_deallocate): Update number of cached pages. 5194: (vm_object_lookup): Likewise. 5195: (vm_object_lookup_name): Likewise. 5196: (vm_object_destroy): Likewise. 5197: (vm_object_enter): Likewise. 5198: * vm/vm_object.h (ref_count): Declare as int. 5199: (resident_page_count): Likewise. 5200: (vm_object_cached_count): Add extern declaration. 5201: (vm_object_cached_pages): Likewise. 5202: (vm_object_cached_pages_lock_data): Likewise. 5203: (vm_object_cached_pages_update): New macro. 5204: * vm/vm_resident.c (vm_page_insert): Assert resident page count doesn't 5205: overflow, update number of cached pages as appropriate. 5206: (vm_page_replace): Likewise. 5207: (vm_page_remove): Update number of cached pages as appropriate. 5208: * vm/vm_user.c: Add #include <mach/vm_cache_statistics.h>. 5209: (vm_cache_statistics): New function. 5210: * vm/vm_user.h: Add #include <mach/mach_types.h>. 5211: (vm_cache_statistics): New declaration. 5212: * include/mach/gnumach.defs: New file. 5213: 5214: 2012-08-24 Richard Braun <[email protected]> 5215: 5216: Store threads waiting on a message queue in LIFO order 5217: * ipc/ipc_thread.h (ipc_thread_enqueue_macro): Insert thread at the 5218: head of the list instead of the tail. 5219: 5220: 2012-07-14 Samuel Thibault <[email protected]> 5221: 5222: Fix Xen boot at linear address 0xC0000000 5223: * i386/intel/pmap.c (pmap_bootstrap): Interate over linear addresses and compute 5224: l3 and l2 offsets from it instead of assuming nul l3 offset. 5225: 5226: 2012-07-08 Richard Braun <[email protected]> 5227: 5228: Fix slab collection timing 5229: The slab garbage collector uses sched_tick as its time reference, which 5230: is increased every seconds, while the interval is expressed in clock 5231: ticks. Use the proper time reference instead. 5232: 5233: * kern/slab.c (kmem_gc_last_tick): Declare as unsigned long. 5234: (slab_collect): Use elapsed_ticks instead of sched_tick. 5235: 5236: 2012-07-08 Richard Braun <[email protected]> 5237: 5238: Increase the slab collection interval 5239: * kern/slab.c (KMEM_GC_INTERVAL): Increase to 5 seconds. 5240: 5241: 2012-07-07 Richard Braun <[email protected]> 5242: 5243: Allocate kernel thread stacks out of kmem_map 5244: The kernel submaps eat most of the available kernel space. Using the 5245: main kernel map for thread stacks sometimes lead to exhaustion when many 5246: threads are created. Use kmem_map instead to increase this limit. 5247: 5248: * kern/thread.c (stack_alloc): Use kmem_map instead of kernel_map for 5249: stack allocation. 5250: (stack_collect): Likewise for release. 5251: 5252: 2012-07-07 Richard Braun <[email protected]> 5253: 5254: Merge kalloc_map into kmem_map 5255: * ipc/ipc_table.c: Add #include <kern/slab.h>. 5256: (ipc_table_alloc): Use kmem_map instead of kalloc_map when allocating 5257: a table. 5258: (ipc_table_realloc): Likewise for reallocation. 5259: (ipc_table_free): Likewise for release. 5260: * kern/kalloc.h (kalloc_map): Remove declaration. 5261: * kern/slab.c (KMEM_MAP_SIZE): Increase to 128 MiB. 5262: (KALLOC_MAP_SIZE): Remove macro. 5263: (kalloc_map_store): Remove variable. 5264: (kalloc_map): Likewise. 5265: (kalloc_pagealloc): Use kmem_map instead of kalloc_map for general 5266: purpose allocations. 5267: (kalloc_pagefree): Likewise. 5268: (kalloc_init): Remove the creation of kalloc_map. 5269: 5270: 2012-06-10 Samuel Thibault <[email protected]> 5271: 5272: Permit to select/deselect whole driver groups 5273: * linux/configfrag.ac (AC_OPTION_Linux_group): New function 5274: (AC_OPTION_Linux_ix86_at): Do not enable driver by default if the group was 5275: explicitly disabled. 5276: (scsi, net, pcmcia, wireless): Define groups. 5277: 5278: 2012-05-17 Samuel Thibault <[email protected]> 5279: 5280: Offset bios32 entry 5281: * linux/src/arch/i386/kernel/bios32.c (check_pcibios, pcibios_init): Convert 5282: physical bios32 entry address to kernel virtual address. 5283: 5284: 2012-05-17 Samuel Thibault <[email protected]> 5285: 5286: Clear direction flag after bios32 call 5287: Linux does this, there are probably wild BIOSes out there. 5288: 5289: * linux/src/arch/i386/kernel/bios32.c (bios32_service, check_pcibios, 5290: pci_bios_find_class, pci_bios_find_device, pci_bios_read_config_byte, 5291: pci_bios_read_config_word, pci_bios_read_config_dword, 5292: pci_bios_write_config_byte, pci_bios_write_config_word, 5293: pci_bios_write_config_dword): Clear direction flag after lcall to bios32. 5294: 5295: 2012-05-05 Samuel Thibault <[email protected]> 5296: 5297: Offset kernel addresses by 3GiB 5298: This permits better trace support in kdb. 5299: 5300: * i386/i386/vm_param.h (VM_MIN_KERNEL_ADDRESS): Set to 0xC0000000 5301: * i386/Makefrag.am (_START): Set to 0xC0100000. 5302: 5303: 2012-05-05 Samuel Thibault <[email protected]> 5304: 5305: Document how to offset the kernel to get better debugging 5306: * i386/i386/vm_param.h (VM_MIN_KERNEL_ADDRESS): Document that it can be 5307: changed, but _START has to be offset too. 5308: (INIT_VM_MIN_KERNEL_ADDRESS): Document that it should remain 0. 5309: 5310: 2012-04-27 Richard Braun <[email protected]> 5311: 5312: Augment VM maps with a red-black tree 5313: * vm/vm_map.c: Add #include <kern/rbtree.h>. 5314: (vm_map_setup): Initialize the map red-black tree. 5315: (vm_map_entry_cmp_lookup): New function. 5316: (vm_map_entry_cmp_insert): Likewise. 5317: (_vm_map_entry_link): Insert map entry in the red-black tree. 5318: (_vm_map_entry_unlink): Remove map entry from the red-black tree. 5319: (vm_map_lookup_entry): Rework the way the VM map hint is used, and 5320: replace the linear search with a binary search tree lookup. 5321: (vm_map_copy_insert): Move map entries from the map copy tree to the 5322: destination map tree. 5323: (vm_map_copyin): Initialize the map copy red-black tree. 5324: * vm/vm_map.h: Add #include <kern/rbtree.h>. 5325: (vm_map_entry): Add `tree_node' member. 5326: (vm_map_header): Add `tree' member. 5327: 5328: 2012-04-22 Richard Braun <[email protected]> 5329: 5330: Update comments. 5331: Literature about red-black trees vary concerning the cases numbering, 5332: and the implementation doesn't make all of them clearly appear. Remove 5333: cases numbering references to avoid confusion. 5334: 5335: 2012-04-22 Richard Braun <[email protected]> 5336: 5337: Fix copyright assignment 5338: Maksym and I have assigned copyright to the Free Software Foundation. 5339: In addition, restore the original upstream copyrights for correctness. 5340: 5341: * kern/list.h: Fix copyright assignment. 5342: * kern/rbtree.c: Likewise. 5343: * kern/rbtree.h: Likewise. 5344: * kern/rbtree_i.h: Likewise. 5345: * kern/slab.c: Likewise. 5346: * kern/slab.h: Likewise. 5347: 5348: 2012-04-06 Samuel Thibault <[email protected]> 5349: 5350: Check hyp_stack_switch return 5351: * i386/i386/pcb.c (switch_ktss): Check value returned by hyp_stack_switch. 5352: 5353: Fix integer type 5354: * kern/thread.c (host_stack_usage): Set `total' type to natural_t. 5355: 5356: 2012-04-06 Samuel Thibault <[email protected]> 5357: 5358: Do not take address of va_list variable 5359: This breaks on x86_64, where it is an array and thus gets bogus results. 5360: 5361: * ddb/db_output.c (db_printf, kdbprintf): Pass copy of va_list variable instead 5362: of its address. 5363: * kern/debug.c (panic, log): Likewise. 5364: * kern/printf.c (vprintf, iprintf, sprintf, vsnprintf): Likewise. 5365: (_doprnt): Take va_list instead of va_list *, fix usage and comment accordingly. 5366: * kern/printf.h (_doprnt): Take va_list instead of va_list *. 5367: 5368: 2012-03-24 Samuel Thibault <[email protected]> 5369: 5370: Fix Xen boot after c74adfe 5371: * i386/Makefrag.am (_START_MAP): Define symbol to 0x100000. 5372: * i386/xen/Makefrag.am (_START_MAP): Define symbol to 0xC0000000. 5373: * i386/ldscript: Use _START_MAP instead of hardcoding 0x100000. 5374: 5375: 2012-03-24 Samuel Thibault <[email protected]> 5376: 5377: Relocate kernel at bootup 5378: Grub is not able to map us at high addresses. We can however make it load us at 5379: low addresses (through the linker script mapping), then use segmentation to move 5380: ourselves to high addresses, and switch to C which uses high addresses 5381: (through _START definition). 5382: 5383: * i386/ldscript: Force mapping kernel at 0x100000, regardless of the value 5384: of _START. 5385: * i386/i386at/boothdr.S (boot_entry): Set up initial segments to project the 5386: bootstrap linear space to high addresses. 5387: 5388: 2012-03-24 Samuel Thibault <[email protected]> 5389: 5390: Make sure BIOS area is mapped in kernel threads 5391: * i386/i386at/model_dep.c (i386at_init): Map BIOS memory at 0. 5392: * i386/intel/pmap.c (pmap_create): Do not map BIOS memory in user tasks. 5393: 5394: 2012-03-24 Samuel Thibault <[email protected]> 5395: 5396: Separate INIT_VM_MIN_KERNEL_ADDRESS from VM_MIN_KERNEL_ADDRESS 5397: The former is the initial value set by the bootloader. It may not be the 5398: same as what Mach will set up. 5399: 5400: * i386/i386/vm_param.h (INIT_VM_MIN_KERNEL_ADDRESS): New macro. 5401: * i386/i386at/model_dep.c (i386at_init): Use INIT_VM_MIN_KERNEL_ADDRESS 5402: instead of VM_MIN_KERNEL_ADDRESS. 5403: 5404: 2012-03-24 Samuel Thibault <[email protected]> 5405: 5406: Add missing phystokv/kvtophys calls 5407: * i386/i386/vm_param.h [!MACH_XEN]: Do not include <xen/public/xen.h>. 5408: * i386/i386at/model_dep.c (init_alloc_aligned): Use phystokv to compare physical 5409: memory addresses with kernel start, end, and symbol table. 5410: * i386/intel/pmap.c (pmap_enter): Use kvtophys to convert ptp pointer to pte 5411: entry. 5412: * linux/dev/init/main.c (alloc_contig_mem, linux_init): Use phystokv to convert 5413: allocated pages to virtual pointer. 5414: * linux/src/include/asm-i386/io.h: Include <machine/vm_param.h>. 5415: (virt_to_phys): Call _kvtophys. 5416: (phys_to_virt): Call phystokv. 5417: * linux/src/include/linux/compatmac.h: Include <asm/io.h>. 5418: (ioremap): Use phys_to_virt to convert physical address to virtual pointer. 5419: (my_iounmap): Likewise. 5420: * linux/dev/include/asm-i386/page.h: Include <mach/vm_param.h>. 5421: (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK): Remove macros. 5422: * linux/src/drivers/scsi/ncr53c8xx.c (vm_size_t): Remove type. 5423: * linux/dev/glue/net.c: Include <machine/vm_param.h> 5424: (device_write): Call phystokv to convert from physical page address to 5425: virtual pointer. 5426: * linux/dev/glue/block.c (alloc_buffer, free_buffer, rdwr_full): Likewise. 5427: 5428: Fix issig crash at boot 5429: * linux/dev/glue/misc.c (issig): Return 0 if current_thread() is NULL. 5430: 5431: Fix wrap-around in pmap bootstrap 5432: * i386/intel/pmap.c (pmap_bootstrap): Check against `va' wrap around 5433: 0xffffffff. 5434: 5435: 2012-03-23 Samuel Thibault <[email protected]> 5436: 5437: Fix boot with big values of _start 5438: When _start is not close to 0, just using init_alloc_aligned() is not enough 5439: to know how much should be duplicated between linear and virtual mappings. 5440: Just mapping everything that can be is not very costly and should just work 5441: when it can work. 5442: 5443: * i386/i386at/model_dep.c (i386at_init) [VM_MIN_KERNEL_ADDRESS != 5444: LINEAR_MIN_KERNEL_ADDRESS]: Extend `nb_direct' to VM_MIN_KERNEL_ADDRESS - 5445: LINEAR_MIN_KERNEL_ADDRESS. 5446: 5447: 2012-03-22 Ludovic Courtès <[email protected]> 5448: 5449: Refer to `PFN_LIST' on Xen only. 5450: * i386/i386/i386asm.sym (PFN_LIST): Enclose in #ifdef MACH_XEN. Thanks 5451: to Samuel Thibault for the suggestion. 5452: 5453: 2012-03-20 Samuel Thibault <[email protected]> 5454: 5455: Use long types 5456: * ddb/db_examine.c (db_xcdump): Do not cast addr before passing to 5457: db_read_bytes. 5458: * ddb/db_macro.c (db_arg_variable): Return long. 5459: * ddb/db_macro.h (db_arg_variable): Likewise. 5460: * ddb/db_sym.c (db_maxoff): Set type to unsigned long. 5461: * ddb/db_task_thread.c (db_set_default_thread, db_get_task_thread): Return 5462: long. 5463: * ddb/db_variables.h (db_variable): Make fcn function field to return long. 5464: (FCN_NULL): Make function type return long. 5465: * i386/i386/db_interface.c (int_regs): Set field sizes to long. 5466: * i386/i386/db_machdep.h (db_expr_t): Set type to long. 5467: * i386/i386/db_trace.c (db_i386_reg_value): Return long. Use long types. 5468: (i386_frame, i386_kregs, interrupt_frame, db_nextframe): Set field sizes to 5469: long. 5470: (db_regs, i386_kregs): Use long * pointers. 5471: (db_lookup_i386_kreg): Return long *. 5472: (db_numargs, db_nextframe, db_stack_trace_cmd, db_i386_stack_trace): Use long 5473: types. 5474: * i386/i386/debug_i386.c (dump_ss): Fix format. 5475: * i386/i386/ktss.c (ktss_init): Use long type. 5476: * i386/i386/pcb.c (set_user_regs): Likewise. 5477: * i386/i386/thread.h (i386_saved_state, v86_segs, i386_kernel_state, 5478: i386_interrupt_state): Set field sizes to long. 5479: * i386/i386/trap.c (kernel_trap, user_trap): Fix formats. 5480: * kern/ast.h (ast_t): Set type to long. 5481: * kern/boot_script.c (create_task, resume_task, prompt_resume_task, 5482: boot_script_set_variable): Use long types. 5483: * kern/boot_script.h (boot_script_set_variable): Use long type. 5484: * kern/bootstrap.c (bootstrap_create): Pass long type. 5485: * kern/lock.c (simple_lock, simple_lock_try): Use long type. 5486: * linux/dev/kernel/softirq.c (linux_soft_intr): Fix format. 5487: 5488: Complain about Xen console smash only once at a time 5489: * xen/console.c (hypputc): Warning only once per console write about console 5490: ring smash. 5491: 5492: Make xchgl arch-neutral 5493: * i386/i386/xen.h (xchgl): Use xchg instruction instead of xchgl, so the 5494: assembler can detect unsigned long size. 5495: 5496: 2012-03-20 Guillem Jover <[email protected]> 5497: 5498: Use compiler defined __i386__ symbol instead of use defined i386 5499: * i386/configfrag.ac (i386): Remove definition. 5500: * i386/intel/pmap.c (pmap_update_interrupt): Rename i386 to __i386__. 5501: * i386/intel/pmap.h: Likewise. 5502: * kern/debug.c (Debugger): Likewise. 5503: * kern/lock.c (simple_lock, simple_lock_try, db_show_all_slocks): Likewise. 5504: 5505: 2012-03-20 Guillem Jover <[email protected]> 5506: 5507: Change types holding cpu flags from int to long 5508: On amd64 the cpu flags is a 64-bit word, and long on 32-bit systems is 5509: 32-bit wide anyway. 5510: 5511: * linux/dev/glue/kmem.c (linux_kmalloc, linux_kfree, __get_free_pages, 5512: free_pages): Use unsigned long instead of unsigned. 5513: * linux/dev/include/asm-i386/system.h (__save_flags, __restore_flags): 5514: Likewise. 5515: * linux/dev/kernel/printk.c (printk): Likewise. 5516: * linux/src/drivers/scsi/advansys.c (DvcEnterCritical, DvcLeaveCritical, 5517: advansys_queuecommand, advansys_abort, advansys_reset, advansys_interrupt, 5518: interrupts_enabled, AdvISR): Likewise. 5519: * linux/src/drivers/scsi/aha152x.c (aha152x_intr): Likewise. 5520: * linux/src/drivers/scsi/aha1542.c (aha1542_intr_handle): Likewise. 5521: * linux/src/drivers/scsi/aic7xxx.c (aic7xxx_done_cmds_complete): Likewise. 5522: * linux/src/drivers/scsi/ultrastor.c (log_ultrastor_abort, 5523: ultrastor_queuecommand, ultrastor_abort): Likewise. 5524: 5525: 2012-03-20 Guillem Jover <[email protected]> 5526: 5527: Match type for count with tty_get_status and tty_set_status 5528: * i386/i386at/com.c (comgetstat): Use natural_t instead of `unsigned int'. 5529: (comsetstat): Likewise. 5530: * i386/i386at/kd.c (kdgetstat, kdsetstat): Likewise. 5531: * i386/i386at/lpr.c (lprgetstat, lprsetstat): Likewise. 5532: 5533: 2012-03-19 Samuel Thibault <[email protected]> 5534: 5535: Use unsigned int for ELF 32bit values 5536: * i386/include/mach/i386/exec/elf.h (Elf32_Addr, Elf32_Off, Elf32_Sword, 5537: Elf32_Word): Use int type instead of long. 5538: 5539: 2012-03-18 Samuel Thibault <[email protected]> 5540: 5541: Fix assembly snippet portability 5542: * xen/evt.c (hyp_c_callback): Do not set assembly instruction suffixes, 5543: using 1UL constant instead. 5544: 5545: Use unsigned long types for addresses 5546: * i386/include/mach/i386/vm_param.h (i386_btop, i386_ptob, i386_round_page, 5547: i386_trunc_page): Cast to unsigned long. 5548: 5549: Use unsigned long for registers 5550: * i386/i386/proc_reg.h (get_eflags, get_esp, get_eflags, get_cr0, get_cr2, 5551: get_cr3, get_cr4): Return unsigned long type. 5552: (set_eflags, set_cr0, set_cr3, set_cr4): Take unsigned long type. 5553: 5554: Do not hardcode structure offset 5555: * i386/i386/i386asm.sym (R_EDI): Define macro. 5556: * i386/i386/locore.S (t_page_fault): Use R_CR2-R_EDI instead of hardcoded 5557: 12. 5558: 5559: 2012-03-18 Samuel Thibault <[email protected]> 5560: 5561: Set Xen kernel virtual address to 0xC0000000 5562: That makes the virtual addressing equal to linear addressing, thus optimizing 5563: some computations away. 5564: 5565: * i386/i386/vm_param.h (VM_MIN_KERNEL_ADDRESS) [MACH_XEN]: Set to 5566: 0xC0000000UL. 5567: * i386/xen/Makefrag.am (gnumach_LINKFLAGS): Set _START to 0xC0000000. 5568: * i386/xen/xen_boothdr.S (VIRT_BASE, ELF_PADDR_OFFSET): Set to 0xC0000000. 5569: 5570: 2012-03-18 Samuel Thibault <[email protected]> 5571: 5572: Fix access above 4GiB in bootstrap page table 5573: * i386/intel/pmap.c (pmap_set_page_readonly_init) [PAE]: Access the bootstrap 5574: dirbase with PTEMASK (1 page) instead of PDEMASK (4 pages) through pmap_pde. 5575: 5576: 2012-03-15 Thomas Schwinge <[email protected]> 5577: 5578: Fix build error introduced in 5f701793f63f16d111db3e3d2e91134fcc179c5b. 5579: * linux/src/include/linux/interrupt.h (intr_count): Declare as unsigned int. 5580: 5581: 2012-03-14 Samuel Thibault <[email protected]> 5582: 5583: Simplify splx 5584: * i386/i386/spl.S (splx): Use S_ARG0 instead of reimplementing it. 5585: 5586: Fix variable types according to assembly use 5587: * linux/dev/arch/i386/kernel/irq.c (intr_count): Set to int type. 5588: * linux/dev/kernel/softirq.c (bh_active, bh_mask): Likewise. 5589: (linux_soft_intr: active, mask, left): Likewise 5590: * linux/src/include/linux/interrupt.h (bh_active, bh_mask): Likewise. 5591: * linux/src/kernel/softirq.c (intr_count, bh_active, bh_mask): Likewise. 5592: (do_bottom_half: active, mask, left): Likewise 5593: 5594: Stick to binutils ELF scripts 5595: * i386/ldscript: Reformat to follow binutils version 5596: 5597: Fix PAE page frame number mask. 5598: * i386/intel/pmap.h (INTEL_PTE_PFN): Keep only 47bits, others are not usable. 5599: 5600: Fix Xen bootstrap at virtual address above 1GiB 5601: * i386/intel/pmap.h (lin2pdpnum): New macro. 5602: * i386/intel/pmap.c (pmap_set_page_readonly_init): Use lin2pdpnum macro 5603: instead of hardcoding 0. 5604: 5605: Simplify i386at_init 5606: * i386/i386at/model_dep.c (i386at_init): Do not copy linear into virtual kernel 5607: mapping when they are equal, and do not drop the former either. Use the 5608: function `i' variable. 5609: 5610: Simplify kvtophys 5611: * i386/i386/phys.c (kvtophys): Use pte_to_pa macro instead of reimplementing 5612: it. 5613: 5614: 2012-03-09 Samuel Thibault <[email protected]> 5615: 5616: Use unsigned long for addresses and sizes 5617: TODO: remonter formats 5618: 5619: * i386/include/mach/i386/vm_types.h (vm_offset_t): Define to unsigned long. 5620: (signed32_t): Define to signed int. 5621: (unsigned32_t): Define to unsigned int. 5622: * i386/include/mach/sa/stdarg.h (__va_size): Use sizeof(unsigned long)-1 5623: instead of 3. 5624: * include/mach/port.h (mach_port_t): Define to vm_offset_t instead of 5625: natural_t. 5626: * include/sys/types.h (size_t): Define to unsigned long instead of 5627: natural_t. 5628: * linux/src/include/asm-i386/posix_types.h (__kernel_size_t): Define to 5629: unsigned long. 5630: (__kernel_ssize_t): Define to long. 5631: * linux/src/include/linux/stddef.h (size_t): Define to unsigned long. 5632: 5633: * device/dev_pager.c (dev_pager_hash): Cast port to vm_offset_t insted of 5634: natural_t. 5635: (device_pager_data_request): Fix format. 5636: 5637: * device/ds_routines.c (ds_no_senders): Fix format. 5638: * i386/i386/io_map.c (io_map): Likewise. 5639: * i386/i386at/autoconf.c (take_dev_irq): Likewise. 5640: * i386/i386at/com.c (comattach): Likewise. 5641: * i386/i386at/lpr.c (lprattach): Likewise. 5642: * i386/i386at/model_dep.c (mem_size_init, mem_size_init, c_boot_entry): 5643: Likewise. 5644: * i386/intel/pmap.c (pmap_enter): Likewise. 5645: * ipc/ipc_notify.c (ipc_notify_port_deleted, ipc_notify_msg_accepted, 5646: ipc_notify_dead_name): Likewise. 5647: * ipc/mach_port.c (mach_port_destroy, mach_port_deallocate): Likewise. 5648: * kern/ipc_kobject.c (ipc_kobject_destroy): Likewise. 5649: * kern/slab.c (kalloc_init): Likewise. 5650: * vm/vm_fault.c (vm_fault_page): Likewise. 5651: * vm/vm_map.c (vm_map_pmap_enter): Likewise. 5652: * xen/block.c (device_read): Likewise. 5653: 5654: * device/net_io.c (bpf_match): Take unsigned long * instead of unsigned int 5655: *. 5656: (bpf_do_filter): Make mem unsigned long instead of long. 5657: * i386/i386/ktss.c (ktss_init): Cast pointer to unsigned long instead of 5658: unsigned. 5659: * i386/i386/pcb.c (stack_attach, switch_ktss): Cast pointers to long instead of 5660: int. 5661: * i386/i386/trap.c (dump_ss): Likewise. 5662: * ipc/ipc_hash.c (IH_LOCAL_HASH): Cast object to vm_offset_t. 5663: * ipc/mach_msg.c (mach_msg_receive, mach_msg_receive_continue): Cast kmsg to 5664: vm_offset_t instead of natural_t. 5665: * kern/pc_sample.c (take_pc_sample): Cast to vm_offset_t instead of 5666: natural_t. 5667: * kern/boot_script.c (sym, arg): Set type of `val' field to long instead of int. 5668: (create_task, builtin_symbols, boot_script_parse_line, 5669: boot_script_define_function): Cast to long instead of int. 5670: * kern/bootstrap.c (bootstrap_create): Likewise. 5671: * kern/sched_prim.c (decl_simple_lock_data): Likewise. 5672: * kern/printf.c (vsnprintf): Set size type to size_t. 5673: * kern/printf.h (vsnprintf): Likewise. 5674: * vm/vm_map.h (kentry_data_size): Fix type to vm_size_t. 5675: * vm/vm_object.c (vm_object_pmap_protect_by_page): Fix size parameter type 5676: to vm_size_t. 5677: 5678: 2012-03-08 Samuel Thibault <[email protected]> 5679: 5680: Move kentry_data_size initial value to header 5681: * vm/vm_map.h (KENTRY_DATA_SIZE): Define macro. 5682: * vm/vm_map.c (kentry_data_size): Initialize to KENTRY_DATA_SIZE. 5683: 5684: 2012-03-03 Gabriele Giacone <[email protected]> 5685: 5686: Set default serial parameters to 8N1 instead of 7E1 5687: * i386/i386at/com.c (comcninit): Set LINE_CTL register to i8BITS instead of 5688: i7BITS|iPEN. 5689: 5690: 2012-02-19 Samuel Thibault <[email protected]> 5691: 5692: Fix format for string print 5693: * linux/src/drivers/net/3c505.c (elp_sense): Use %s format for printing a mere 5694: string, not the string. 5695: 5696: Fix format for string print 5697: * linux/src/drivers/net/8390.c: Use %s format for printing a mere string, not 5698: the string. 5699: 5700: Fix format for string print 5701: * linux/src/drivers/net/3c503.c (el2_probe1): Use %s format for printing a mere 5702: string, not the string. 5703: 5704: Fix format for string print 5705: * linux/src/drivers/scsi/aha1542.c (aha1542_setup): Use %s format for printing a 5706: mere string, not the string. 5707: 5708: Fix format for string print 5709: * linux/src/drivers/scsi/advansys.c (asc_prt_line): Use %s format for 5710: printing a mere string, not the string. 5711: 5712: Fix format for string print 5713: * i386/i386at/model_dep.c (c_boot_entry): Use %s format for printing a mere 5714: string, not the string. 5715: 5716: 2012-01-28 Samuel Thibault <[email protected]> 5717: 5718: Merge branch 'master' into master-slab 5719: 5720: 2012-01-22 Samuel Thibault <[email protected]> 5721: 5722: Fix build on 64bit host 5723: When stealing the memset function from the 32bit host libc on a 64bit host 5724: system, glibc tends to bring unwanted references to _Unwind_Resume, 5725: __gcc_personality_v0, etc. So let's stop stealing memset. 5726: 5727: * kern/strings.c (memset): New function. 5728: * Makefile.am (clib_routines): Remove memset. 5729: 5730: 2012-01-09 Richard Braun <[email protected]> 5731: 5732: Improve ipc hash/marequest init readability 5733: Use macros instead of raw numeric values. 5734: 5735: * ipc/ipc_hash.h (IPC_HASH_GLOBAL_SIZE): New macro. 5736: * ipc/ipc_hash.c (ipc_hash_init): Directly set the global hash table 5737: size to IPC_HASH_GLOBAL_SIZE. 5738: * ipc/ipc_marequest.h (IPC_MAREQUEST_SIZE): New macro. 5739: * ipc/ipc_marequest.c (ipc_marequest_init): Directly set the marequest 5740: hash table size to IPC_MAREQUEST_SIZE. 5741: 5742: 2011-12-30 Samuel Thibault <[email protected]> 5743: 5744: Cope with dom0s which do not respect feature-no-csum-offload 5745: Event with feature-no-csum-offload=1, some dom0s (such as Debian Squeeze's 5746: 2.6.32) send packets with a blank checksum. Recompute them before givin the 5747: packet to pfinet. 5748: 5749: * xen/net.c (recompute_checksum): New function. 5750: (hyp_net_intr): Call recompute_checksum when the checksum is blank but the 5751: data is validated. 5752: 5753: 2011-12-29 Samuel Thibault <[email protected]> 5754: 5755: Fix typo 5756: 5757: Upgrade number of event queues 5758: * kern/sched_prim.c (NUMQUEUES): Increase to 1031 5759: 5760: 2011-12-17 Richard Braun <[email protected]> 5761: 5762: Remove arbitrary limits used by the zone system 5763: The zone allocator could limit the size of its zones to an arbitrary 5764: value set at zinit() time. There is no such parameter with the slab 5765: module. As a result of removing those limits, the kern/mach_param.h 5766: header becomes empty, and is simply removed altogether. 5767: 5768: * Makefrag.am (libkernel_a_SOURCES): Remove kern/mach_param.h. 5769: * i386/i386/fpu.c: Remove #include <kern/mach_param.h>. 5770: * i386/i386/machine_task.c: Likewise. 5771: * i386/i386/pcb.c: Likewise. 5772: * ipc/ipc_init.c: Likewise. 5773: (ipc_space_max): Remove variable. 5774: (ipc_tree_entry_max): Likewise. 5775: (ipc_port_max): Likewise. 5776: (ipc_pset_max): Likewise. 5777: * ipc/ipc_init.h (IPC_ZONE_TYPE): Remove macro. 5778: (ipc_space_max): Remove extern declaration. 5779: (ipc_tree_entry_max): Likewise. 5780: (ipc_port_max): Likewise. 5781: (ipc_pset_max): Likewise. 5782: * ipc/ipc_hash.c (ipc_hash_init): Don't use ipc_tree_entry_max to 5783: compute ipc_hash_global_size. 5784: * ipc/ipc_marequest.c: Remove #include <kern/mach_param.h>. 5785: (ipc_marequest_max): Remove variable. 5786: (ipc_marequest_init): Don't use ipc_marequest_max to compute 5787: ipc_marequest_size. 5788: (ipc_marequest_info): Return (unsigned int)-1 in maxp. 5789: * kern/act.c: Remove #include <kern/mach_param.h>. 5790: * kern/mach_clock.c: Likewise. 5791: * kern/priority.c: Likewise. 5792: * kern/task.c: Likewise. 5793: * kern/thread.c: Likewise. 5794: * vm/memory_object_proxy.c: Likewise. 5795: * vm/vm_fault.c: Likewise. 5796: 5797: 2011-12-17 Richard Braun <[email protected]> 5798: 5799: Remove the defunct kernel_task_create() function 5800: The kmem_suballoc() function, which has been replaced with 5801: kmem_submap(), is called by kernel_task_create(). Rather than update it, 5802: remove this now unused function. 5803: 5804: * kern/task.c (kernel_task_create): Remove function. 5805: * kern/task.h (kernel_task_create): Remove prototype. 5806: 5807: 2011-12-17 Richard Braun <[email protected]> 5808: 5809: Fix kern/kalloc.h includes 5810: * device/dev_pager.c: Remove #include <kern/kalloc.h>. 5811: * i386/i386/io_perm.c: Add #include <kern/kalloc.h>. 5812: * kern/bootstrap.c: Likewise. 5813: * kern/ipc_tt.c: Likewise. 5814: * kern/pc_sample.c: Likewise. 5815: * kern/processor.c: Likewise. 5816: * kern/server_loop.ch: Likewise. 5817: * kern/thread.c: Likewise. 5818: * linux/dev/glue/block.c: Likewise. 5819: * linux/dev/glue/net.c: Likewise. 5820: * vm/vm_map.c: Likewise. 5821: * xen/block.c: Likewise. 5822: * xen/net.c: Likewise. 5823: * xen/store.c: Likewise. 5824: 5825: 2011-12-17 Richard Braun <[email protected]> 5826: 5827: Adjust VM initialization 5828: Unlike the zone allocator, the slab code can't be fed with an initial 5829: chunk of memory. Some VM objects used early during startup now have to 5830: be statically allocated, and kernel map entries need a special path 5831: to avoid recursion when being allocated. 5832: 5833: * vm/vm_map.c (vm_submap_object_store): New variable. 5834: (vm_submap_object): Point to vm_submap_object_store. 5835: (kentry_data_size): Initialize to arbitrary value. 5836: (kentry_count): Remove variable. 5837: (kentry_pagealloc): New function. 5838: (vm_map_setup): Likewise. 5839: (vm_map_create): Replace initialization with a call to vm_map_setup(). 5840: * vm/vm_map.h (vm_map_setup): New prototype. 5841: * vm/vm_kern.c (kernel_map_store): New variable. 5842: (kernel_map): Point to kernel_map_store. 5843: (kmem_suballoc): Remove function. Replaced with... 5844: (kmem_submap): New function. 5845: (kmem_init): Call vm_map_setup() instead of vm_map_create(). 5846: * vm/vm_kern.h (kmem_suballoc): Remove prototype. 5847: (kmem_submap): New prototype. 5848: * vm/vm_object.c (kernel_object_store): New variable. 5849: (kernel_object): Point to kernel_object_store. 5850: (vm_object_template): Change type from vm_object_t to struct vm_object. 5851: (_vm_object_setup): New function. 5852: (_vm_object_allocate): Replace initialization with a call to 5853: _vm_object_setup(). 5854: (vm_object_bootstrap): Don't allocate vm_object_template, and use it as 5855: a structure instead of a pointer. Initialize kernel_object and 5856: vm_submap_object with _vm_object_setup() instead of 5857: _vm_object_allocate(). 5858: * vm/vm_resident.c (vm_page_bootstrap): Don't initialize 5859: kentry_data_size. 5860: * device/ds_routines.c (device_io_map_store): New variable. 5861: (device_io_map): Point to device_io_map_store. 5862: (mach_device_init): Call kmem_submap() instead of kmem_suballoc(). 5863: * ipc/ipc_init.c (ipc_kernel_map_store): New variable. 5864: (ipc_kernel_map): Point to ipc_kernel_map_store. 5865: 5866: 2011-12-17 Richard Braun <[email protected]> 5867: 5868: Adjust the kernel to use the slab allocator 5869: * device/dev_lookup.c: Replace zalloc header, types and function calls 5870: with their slab counterparts. 5871: * device/dev_pager.c: Likewise. 5872: * device/ds_routines.c: Likewise. 5873: * device/io_req.h: Likewise. 5874: * device/net_io.c: Likewise. 5875: * i386/i386/fpu.c: Likewise. 5876: * i386/i386/io_perm.c: Likewise. 5877: * i386/i386/machine_task.c: Likewise. 5878: * i386/i386/pcb.c: Likewise. 5879: * i386/i386/task.h: Likewise. 5880: * i386/intel/pmap.c: Likewise. 5881: * i386/intel/pmap.h: Remove #include <kernel/zalloc.h>. 5882: * include/mach_debug/mach_debug.defs (host_zone_info): Replace 5883: routine declaration with skip directive. 5884: (host_slab_info): New routine declaration. 5885: * include/mach_debug/mach_debug_types.defs (zone_name_t) 5886: (zone_name_array_t, zone_info_t, zone_info_array_t): Remove types. 5887: (cache_info_t, cache_info_array_t): New types. 5888: * include/mach_debug/mach_debug_types.h: Replace #include 5889: <mach_debug/zone_info.h> with <mach_debug/slab_info.h>. 5890: * ipc/ipc_entry.c: Replace zalloc header, types and function calls with 5891: their slab counterparts. 5892: * ipc/ipc_entry.h: Likewise. 5893: * ipc/ipc_init.c: Likewise. 5894: * ipc/ipc_marequest.c: Likewise. 5895: * ipc/ipc_object.c: Likewise. 5896: * ipc/ipc_object.h: Likewise. 5897: * ipc/ipc_space.c: Likewise. 5898: * ipc/ipc_space.h: Likewise. 5899: * ipc/ipc_table.c (kalloc_map): Remove extern declaration. 5900: * kern/act.c: Replace zalloc header, types and function calls with their 5901: slab counterparts. 5902: * kern/kalloc.h: Add #include <vm/vm_types.h>. 5903: (MINSIZE): Remove definition. 5904: (kalloc_map): Add extern declaration. 5905: (kget): Remove prototype. 5906: * kern/mach_clock.c: Adjust comment. 5907: * kern/processor.c: Replace zalloc header, types and function calls with 5908: their slab counterparts. 5909: * kern/startup.c: Remove #include <kernel/zalloc.h>. 5910: * kern/task.c: Replace zalloc header, types and function calls with 5911: their slab counterparts. 5912: * kern/thread.c: Likewise. 5913: * vm/memory_object_proxy.c: Likewise. 5914: * vm/vm_external.c: Likewise. 5915: * vm/vm_fault.c: Likewise. 5916: * vm/vm_init.c: Likewise. 5917: * vm/vm_map.c: Likewise. 5918: * vm/vm_object.c: Likewise. 5919: * vm/vm_page.h: Remove #include <kernel/zalloc.h>. 5920: * vm/vm_pageout.c: Replace zalloc header, types and function calls with 5921: their slab counterparts. 5922: * vm/vm_resident.c: Likewise. 5923: (zdata, zdata_size): Remove declarations. 5924: (vm_page_bootstrap): Don't steal memory for the zone system. 5925: 5926: 2011-12-17 Richard Braun <[email protected]> 5927: 5928: Import the slab allocator 5929: As it is intended to completely replace the zone allocator, remove it on 5930: the way. So long to the venerable code ! 5931: 5932: * Makefrag.am (libkernel_a_SOURCES): Add kern/slab.{c,h}, remove kern/kalloc.c 5933: and kern/zalloc.{c,h}. 5934: * configfrag.ac (SLAB_VERIFY, SLAB_USE_CPU_POOLS): Add defines. 5935: * i386/Makefrag.am (libkernel_a_SOURCES): Remove i386/i386/zalloc.h. 5936: * i386/configfrag.ac (CPU_L1_SHIFT): Remove define. 5937: * include/mach_debug/slab_info.h: New file. 5938: * kern/slab.c: Likewise. 5939: * kern/slab.h: Likewise. 5940: * i386/i386/zalloc.h: Remove file. 5941: * include/mach_debug/zone_info.h: Likewise. 5942: * kern/kalloc.c: Likewise. 5943: * kern/zalloc.c: Likewise. 5944: * kern/zalloc.h: Likewise. 5945: 5946: 2011-12-17 Richard Braun <[email protected]> 5947: 5948: Import utility files 5949: * Makefrag.am (libkernel_a_SOURCES): Add kern/list.h, kern/rbtree.c, 5950: kern/rbtree.h and kern/rbtree_i.h. 5951: * kern/list.h: New file. 5952: * kern/rbtree.c: Likewise. 5953: * kern/rbtree.h: Likewise. 5954: * kern/rbtree_i.h: Likewise. 5955: * kern/macro_help.h (MACRO_BEGIN): Use GNU C compound statement 5956: enclosed in parentheses. 5957: (MACRO_END): Likewise. 5958: 5959: 2011-11-27 Samuel Thibault <[email protected]> 5960: 5961: Keep frame pointer when debugger is enabled 5962: * Makefrag.am (AM_CFLAGS) [enable_kdb]: Add -fno-omit-frame-pointer. 5963: 5964: 2011-10-16 Samuel Thibault <[email protected]> 5965: 5966: Merge branch 'master' of callisto:gnumach 5967: 5968: 2011-10-16 Samuel Thibault <[email protected]> 5969: 5970: Do not map xen driver pages 5971: * xen/block.c (hyp_block_init): Use vm_page_grab_phys_addr instead of 5972: kmem_alloc_wired to allocate driver pages. 5973: * xen/net.c (hyp_net_init): Likewise. 5974: 5975: 2011-10-16 Samuel Thibault <[email protected]> 5976: 5977: Increase kmem area for the Xen case. 5978: Kernel tacks are 4 pages in the Xen case, so we need more kmem space. 5979: 5980: * i386/i386/vm_param.h (VM_KERNEL_MAP_SIZE) [MACH_XEN]: Increase to 224MiB. 5981: 5982: 2011-10-10 Samuel Thibault <[email protected]> 5983: 5984: Raise block device interrupt level to SPL6 5985: * linux/dev/drivers/block/genhd.c (device_setup): Set linux_intr_pri to 5986: SPL6. 5987: * linux/dev/glue/block.c (init_partition, device_open): Likewise. 5988: 5989: Raise Linux kmem memory size 5990: * linux/dev/glue/kmem.c (MEM_CHUNKS): Increase to 32. 5991: 5992: 2011-10-10 Samuel Thibault <[email protected]> 5993: 5994: Leave interrupts enabled in sym53c8xx driver 5995: The driver can work with them, and request_irq works fine with them. 5996: 5997: * linux/src/drivers/scsi/sym53c8xx.c (ncr_attach): Do not pass SA_INTERRUPT to 5998: request_irq(). 5999: 6000: 2011-10-09 Samuel Thibault <[email protected]> 6001: 6002: Define BITS_PER_LONG for Linux code 6003: * linux/src/include/asm-i386/types.h (BITS_PER_LONG): Define to 32. 6004: 6005: 2011-10-08 Samuel Thibault <[email protected]> 6006: 6007: Add sym53c8xx driver from linux 2.2 6008: This driver supports qemu's SCSI host device. 6009: Unfortunately it seems to be breaking the network device, so test with care. 6010: 6011: * linux/Makefrag.am (liblinux_a_SOURCES): Add 6012: linux/src/drivers/scsi/sym53c8xx{.c,_comm.h,.h,_defs.h} 6013: * linux/configfrag.ac: Add AC_Linux_DRIVER([sym53c8xx] to enable 6014: CONFIG_SCSI_SYM53C8XX. 6015: * linux/dev/glue/kmem.c (MEM_CHUNKS): Increase to 16. 6016: * linux/src/drivers/scsi/hosts.c [CONFIG_SCSI_SYM53C8XX]: Include "sym53c8xx.h". 6017: (builtin_scsi_hosts): include SYM53C8XX. 6018: 6019: 2011-09-28 Sergio Lopez <[email protected]> 6020: 6021: fix copy out-of-line data when length >= 512MB 6022: * ipc/ipc_kmsg.c (ipc_kmsg_copyin_body): Change length type to 6023: unsigned64_t. Cast number to unsigned64_t. 6024: (ipc_kmsg_copyout_body): Likewise. 6025: 6026: 2011-09-28 Sergio López <[email protected]> 6027: 6028: Make thread_suspend honor the TH_UNINT flag 6029: Interrupting a thread without a continuation, puts it in a 6030: inconsistent state. This is the cause for the bug described in 6031: https://lists.gnu.org/archive/html/bug-hurd/2011-09/msg00148.html 6032: 6033: * kern/thread.c (thread_suspend): Fail with KERN_FAILURE if thread is 6034: uninterruptible. 6035: 6036: 2011-09-12 Guillem Jover <[email protected]> 6037: 6038: Remove unused [!MACH_KERNEL] driver code 6039: Use «unifdef -DMACK_KERNEL=1» as a starting point, but only remove 6040: the code not exposed on public headers, the rest is needed to build 6041: properly from userland. 6042: 6043: * device/cons.c [!MACH_KERNEL]: Remove includes. 6044: [!MACH_KERNEL] (constty): Remove variable. 6045: (cninit, cnmaygetc) [MACH_KERNEL]: Remove preprocessor conditionals. 6046: [!MACH_KERNEL] (cnopen, cnclose, cnread, cnwrite, cnioctl, cnselect) 6047: (cncontrol): Remove functions. 6048: * device/cons.h (struct consdev) [MACH_KERNEL]: Remove preprocessor 6049: conditional. 6050: * device/kmsg.h [MACH_KERNEL]: Likewise. 6051: * i386/i386at/autoconf.c [!MACH_KERNEL]: Remove includes. 6052: * i386/i386at/kd_event.c [!MACH_KERNEL]: Likewise. 6053: [!MACH_KERNEL] (kbd_sel, kbdpgrp, kbdflag): Remove variables. 6054: [!MACH_KERNEL] (KBD_COLL, KBD_ASYNC, KBD_NBIO): Remove macros. 6055: (kbdopen, kbdclose, kbd_enqueue) [!MACH_KERNEL]: Remove code. 6056: [!MACH_KERNEL] (kbdioctl, kbdselect, kbdread): Remove functions. 6057: [!MACH_KERNEL] (X_kdb_enter_init, X_kdb_exit_init: Likewise. 6058: * i386/i386at/kd_mouse.c [!MACH_KERNEL]: Remove includes. 6059: [!MACH_KERNEL] (mouse_sel, mousepgrp, mouseflag): Remove variables. 6060: [!MACH_KERNEL] (MOUSE_COLL, MOUSE_ASYNC, MOUSE_NBIO): Remove macros. 6061: (mouseopen, mouseclose, kd_mouse_read, mouse_enqueue) [!MACH_KERNEL]: Remove 6062: code. 6063: [!MACH_KERNEL] (mouseioctl, mouseselect, mouseread): Remove functions. 6064: * i386/i386at/lpr.c [!MACH_KERNEL]: Remove includes. 6065: (lpropen) [MACH_KERNEL]: Remove preprocessor conditionals. 6066: (lpropen, lprclose, lprstart) [!MACH_KERNEL]: Remove code. 6067: [!MACH_KERNEL] (lprwrite, lprioctl, lprstop): Remove functions. 6068: * i386/i386at/rtc.c (readtodc, writetodc) [!MACH_KERNEL]: Remove code. 6069: * kern/mach_factor.c [MACH_KERNEL]: Remove preprocessor conditional. 6070: * xen/time.c (readtodc) [!MACH_KERNEL]: Remove code. 6071: 6072: 2011-09-09 Samuel Thibault <[email protected]> 6073: 6074: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 6075: 6076: 2011-09-09 Guillem Jover <[email protected]> 6077: 6078: Do not take unused strpbrk() from libc 6079: * Makefile.am (clib_routines): Remove strpbrk. 6080: 6081: 2011-09-06 Thomas Schwinge <[email protected]> 6082: 6083: * .gitignore: Tighten some rules, and distribute others to... * doc/.gitignore: ... here; * i386/i386/.gitignore: ... here; * tests/.gitignore: ..., and here. 6084: 6085: * i386/i386/pcb.h (stack_attach): Parameterize the continuation parameter's parameter list. * i386/i386/pcb.c (stack_attach): Likewise. 6086: 6087: Move i386/i386/locore.S declarations. 6088: * i386/i386/trap.c (recover_table, recover_table_end, retry_table) 6089: (retry_table_end): Move declarations to... 6090: * i386/i386/locore.h: ... here. 6091: 6092: 2011-09-06 Thomas Schwinge <[email protected]> 6093: 6094: Further prototyping work for memory_object_proxy.c functions. 6095: * vm/memory_object_proxy.h: Add #includes. 6096: (memory_object_proxy_lookup): New declaration. 6097: * vm/memory_object_proxy.c: #include <vm/memory_object_proxy.h>. 6098: * vm/vm_user.c: Likewise. 6099: (memory_object_proxy_lookup): Drop declaration. 6100: 6101: Parts based on a patch by Fridolín Pokorný <[email protected]>. 6102: 6103: 2011-09-05 Samuel Thibault <[email protected]> 6104: 6105: Drop module memory free verbosity 6106: * kern/bootstrap.c (bootstrap_create): Do not show freed module memory. 6107: 6108: Free memory used by boot modules 6109: * vm/vm_resident.c (pmap_startup): Warn when some pages could not be included 6110: in the allocator due to bad estimation. 6111: * kern/bootstrap.c: Include <vm/pmap.h>. 6112: (bootstrap_create): Call vm_page_create on bootstrap modules content. 6113: 6114: 2011-09-03 Fridolín Pokorný <[email protected]> 6115: 6116: Add prototypes for memory_object_proxy.c functions 6117: * vm/memory_object_proxy.h: Add file. 6118: * vm/vm_init.c: Include <vm/memory_object_proxy.h>. 6119: * kern/ipc_kobject.c: Likewise. 6120: * Makefile.am (libkernel_a_SOURCES): Add vm/memory_object_proxy.h. 6121: 6122: 2011-09-03 Samuel Thibault <[email protected]> 6123: 6124: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 6125: 6126: 2011-09-02 Guillem Jover <[email protected]> 6127: 6128: Remove long obsolete RPC routines 6129: * kern/compat_xxx_defs.h: Remove file. 6130: * Makefrag.am (libkernel_a_SOURCES): Remove `kern/compat_xxx_defs.h'. 6131: 6132: * include/mach/mach_types.defs (xxx_emulation_vector_t): Remove type. 6133: 6134: * device/device.srv: Do not simport <kern/compat_xxx_defs.h>. 6135: * kern/mach.srv: Likewise. 6136: * kern/mach_host.srv: Likewise. 6137: 6138: * include/device/device.defs [MACH_KERNEL]: Do not simport 6139: <kern/compat_xxx_defs.h>. 6140: (xxx_device_set_status, xxx_device_get_status) 6141: (xxx_device_set_filter): Replace routine declarations with skip 6142: directives. 6143: * include/mach/mach.defs [MACH_KERNEL]: Do not simport 6144: <kern/compat_xxx_defs.h>. 6145: (xxx_memory_object_lock_request, xxx_task_get_emulation_vector) 6146: (xxx_task_set_emulation_vector, xxx_host_info, xxx_slot_info) 6147: (xxx_cpu_control, xxx_task_info, xxx_thread_get_state) 6148: (xxx_thread_set_state, xxx_thread_info): Replace routine declarations 6149: with skip directive. 6150: * include/mach/mach_host.defs [MACH_KERNEL]: Do not simport 6151: <kern/compat_xxx_defs.h>. 6152: (yyy_host_info, yyy_processor_info, yyy_processor_control) 6153: (xxx_processor_set_default_priv, yyy_processor_set_info): Replace 6154: routine declarations with skip directive. 6155: 6156: * kern/ipc_host.c (xxx_processor_set_default_priv): Remove function. 6157: * kern/machine.c (xxx_host_info, xxx_slot_info) 6158: (xxx_cpu_control): Likewise. 6159: * kern/syscall_emulation.c (xxx_task_set_emulation_vector) 6160: (xxx_task_get_emulation_vector): Likewise. 6161: * vm/memory_object.c (xxx_memory_object_lock_request): Likewise. 6162: 6163: 2011-09-02 Guillem Jover <[email protected]> 6164: 6165: Do not remap errno codes from E* to LINUX_E* 6166: Mach no longer uses any of the old and clashing errno E* codes, so 6167: it's safe to use them now w/o namespacing. This also means one less 6168: modification needed to the Linux code. 6169: 6170: * linux/dev/include/asm-i386/errno.h: Remove file. 6171: * linux/dev/kernel/dma.c (notifier_chain_unregister) [MACH_INCLUDE]: Remove 6172: code. 6173: * linux/dev/include/linux/notifier.h: Likewise. 6174: * linux/dev/arch/i386/kernel/irq.c (setup_x86_irq): Rename LINUX_EBUSY 6175: to EBUSY. 6176: (request_irq): Rename LINUX_EINVAL to EINVAL. 6177: * linux/dev/glue/block.c (register_blkdev): Rename LINUX_EBUSY to EBUSY 6178: and LINUX_EINVAL to EINVAL. 6179: (unregister_blkdev): Rename LINUX_EINVAL to EINVAL. 6180: (rdwr_partial) Rename LINUX_ENOMEM to ENOMEM and LINUX_EIO to EIO. 6181: * linux/dev/glue/misc.c (linux_to_mach_error): Rename LINUX_EPERM to 6182: EPERM, LINUX_EIO to EIO, LINUX_ENXIO to ENXIO, LINUX_EACCES to EACCES, 6183: LINUX_EFAULT to EFAULT, LINUX_EBUSY to EBUSY, LINUX_EINVAL to EINVAL, 6184: LINUX_EROFS to EROFS, LINUX_EWOULDBLOCK to EWOULDBLOCK and LINUX_ENOMEM 6185: to ENOMEM. 6186: (verify_area): Rename LINUX_EFAULT to EFAULT. 6187: * linux/dev/kernel/resource.c (check_region): Rename LINUX_EBUSY to 6188: EBUSY. 6189: * linux/dev/kernel/sched.c (__do_down): Rename LINUX_EINTR to EINTR. 6190: 6191: 2011-09-02 Guillem Jover <[email protected]> 6192: 6193: Use Mach native error codes instead of POSIX errno E* ones 6194: * device/errno.h: Remove file. 6195: * Makefrag.am (libkernel_a_SOURCES): Remove `device/errno.h'. 6196: * i386/i386at/com.c: Include <device/device_types.h> instead of 6197: <device/errno.h>. 6198: (comopen): Replace ENXIO with D_NO_SUCH_DEVICE. 6199: * i386/i386at/kd_event.c: Include <device/device_types.h> instead of 6200: <device/errno.h>. 6201: * i386/i386at/kd_mouse.c: Likewise. 6202: (mouseopen): Replace ENODEV with D_NO_SUCH_DEVICE and EBUSY with 6203: D_ALREADY_OPEN. 6204: * i386/i386at/lpr.c: Include <device/device_types.h> instead of 6205: <device/errno.h>. 6206: (lpropen): Replace ENXIO with D_NO_SUCH_DEVICE and EBUSY with 6207: D_ALREADY_OPEN. 6208: 6209: 2011-09-02 Guillem Jover <[email protected]> 6210: 6211: Change argument name to match function body usage 6212: Otherwise the function wrongly uses the global symbol. 6213: 6214: * linux/src/drivers/scsi/ppa.c (ppa_nibble_in): Rename `str_p' argument 6215: to `base'. 6216: 6217: 2011-09-02 Guillem Jover <[email protected]> 6218: 6219: Disable set but unused variable 6220: * linux/src/drivers/scsi/gdth.c (gdth_detect): Conditionalize `b' on 6221: [LINUX_VERSION_CODE < 0x020000]. Do not preset it to 0, it's initialized 6222: later on when needed. 6223: 6224: Remove set but unused variables 6225: * linux/dev/drivers/block/floppy.c (setup_rw_floppy): Remove `dflags'. 6226: (floppy_eject): Remove `dummy'. 6227: * linux/src/drivers/net/8390.c (ethdev_init): Remove `ei_local'. 6228: * linux/src/drivers/scsi/ppa.c (ppa_detect): Remove `ppb'. 6229: 6230: Cast addr argument to vm_offset_t 6231: * linux/dev/glue/kmem.c (vfree): Cast `addr' argument on kfree_mem 6232: function to vm_offset_t. 6233: 6234: Add vsnprintf prototype 6235: * kern/printf.h (vsnprintf): New prototype. 6236: 6237: Add missing headers 6238: * linux/dev/init/main.c: Include <linux/pci.h>. 6239: * linux/dev/kernel/printk.c: Include <kern/printf.h>. 6240: 6241: 2011-09-01 Ludovic Courtès <[email protected]> 6242: 6243: Add missing header file to the distribution. 6244: * linux/Makefrag.am (liblinux_a_SOURCES): Add `linux/dev/glue/glue.h', 6245: which appeared in commit 2b4bff9914d57bff600ac70194b8b1aab3485bee 6246: ("Fix declarations"). 6247: 6248: 2011-09-01 Samuel Thibault <[email protected]> 6249: 6250: Fix documentation 6251: 6252: Close kernel stacks. 6253: * i386/i386/pcb.c (stack_attach): Initialize ebp to 0. 6254: 6255: 2011-09-01 Samuel Thibault <[email protected]> 6256: 6257: Fix PC sampling 6258: interrupt.S now saves the IRQ on the stack to acknowledge it later. 6259: 6260: * i386/i386/hardclock.c (hardclock): Add irq parameter. 6261: * i386/i386at/kd.c (kdintr, kdcheckmagic): Remove regs parameter. 6262: * i386/i386at/kd.h (kdintr): Likewise. 6263: 6264: 2011-08-31 Guillem Jover <[email protected]> 6265: 6266: Add silent rules support if available and disable it by default 6267: * configure.ac (AM_SILENT_RULES): Add silent rules support if available, 6268: and disable it by default. 6269: * Makefile.am (AWK_V, AWK_V_, AWK_V_0): New variables. 6270: (NM_V, NM_V_, NM_V_0): Likewise. 6271: (GZIP_V, GZIP_V_, GZIP_V_0): Likewise. 6272: (MIGCOM_V, MIGCOM_V_, MIGCOM_V_0): Likewise. 6273: (gnumach-undef): Use NM_V in front of NM. 6274: (gnumach-undef-bad): Use AM_V_GEN in front of sed. 6275: (clib-routines.o): Use AM_V_at in fron of undefined symbols check. 6276: Use AM_V_CCLD in front of CCLD. 6277: * Makefrag.am (gnumach.msgids): Use AM_V_GEN in front of cat. 6278: * Makerules.am (%.symc): Use AWK_V in front of AWK. 6279: (%.symc.o): Use AM_V_CC in front of COMPILE. 6280: (%.h): Use AM_V_GEN in front of sed. 6281: (%.gz): Use GZIP_V in front of GZIP. 6282: * Makerules.mig.am (%.user.defs.c): Use AM_V_GEN in front of command. 6283: (%.server.defs.c): Likewise. 6284: (%.user.h %.user.c %.user.msgids): Use MIGCOM_V in front of MIGCOM. 6285: (%.server.h %.server.c %.server.msgids): Likewise. 6286: 6287: 2011-08-31 Samuel Thibault <[email protected]> 6288: 6289: Optimize copyout path 6290: * i386/i386/locore.S (copyout): Remove RETRY() use from >=i486 variant. Move 6291: copyout_ret and copyout_fail. 6292: 6293: Fix copyout retry on lazy allocation on >= i486 6294: * i386/i386/locore.S (copyout): Add a >=i486 variant of copyout which uses 6295: no loop, but simply retries rep mov. 6296: 6297: Disable global page while writing in kernel space 6298: * i386/i386/db_interface.c (db_write_bytes): If CPU has PGE feature, disable 6299: CR4_PGE before enabling kernel page write access, and re-enable the former after 6300: disabling the latter. 6301: 6302: 2011-08-31 Samuel Thibault <[email protected]> 6303: 6304: Protect set_cr3 against compiler assignment optimizations 6305: This fixes the kdb `break' command. 6306: 6307: i386/i386/proc_reg.h (set_cr3): Add "memory" clobber. 6308: 6309: 2011-08-31 Guillem Jover <[email protected]> 6310: 6311: Fix undefined operation on assigning self pre-incremented variable 6312: * linux/src/drivers/scsi/wd7000.c (mail_out): Add `1' instead of 6313: pre-incrementing self assigned variable. 6314: * linux/src/drivers/net/de4x5.c (de4x5_sw_reset, de4x5_queue_pkt, de4x5_rx) 6315: (de4x5_tx, de4x5_rx_ovfc, set_multicast_list, ping_media, mii_get_phy) 6316: (de4x5_ioctl): Likewise. 6317: * linux/src/drivers/net/depca.c (depca_rx, depca_tx, load_packet): Likewise. 6318: 6319: Honour type promotion on variable argument handling 6320: * linux/dev/lib/vsprintf.c (linux_vsprintf): Use `int' when retrieving 6321: a `short' through `va_arg'. 6322: 6323: Correct MiG Mach types to fix compilation warnings 6324: * include/mach/mach_types.defs (thread_info_t): Change from array of 6325: natural_t to integer_t. 6326: (task_info_t): Likewise. 6327: (host_info_t): Likewise. 6328: (processor_info_t): Likewise. 6329: (processor_set_info_t): Likewise. 6330: 6331: Denote __exit symbols as used 6332: * linux/src/include/linux/init.h: Include <linux/compiler.h>. 6333: (__exitused): New macro. 6334: (__exit): Define to ` __exitused __cold notrace'. 6335: * linux/src/include/linux/kcomp.h (__exit): Remove. 6336: 6337: Move <linux/init.h> from linux/pcmcia-cs to linux/src 6338: * linux/pcmcia-cs/include/linux/init.h: Move to ... 6339: * linux/src/include/linux/init.h: ... here. 6340: 6341: Import Linux 3.1 compiler definitions 6342: * linux/src/include/linux/compiler.h: New file. 6343: * linux/src/include/linux/compiler-gcc.h: Likewise. 6344: * linux/src/include/linux/compiler-gcc3.h: Likewise. 6345: * linux/src/include/linux/compiler-gcc4.h: Likewise. 6346: * linux/dev/include/linux/kernel.h (barrier): Remove definition and 6347: include <linux/compiler.h> instead. 6348: 6349: Import Linux 3.1 ctype code 6350: * linux/src/include/linux/ctype.h: Update file. 6351: * linux/src/lib/ctype.c: Likewise. 6352: 6353: Remove unused and non-functional string specialization header 6354: * linux/src/include/asm-i386/string-486.h: Remove. 6355: 6356: Fix memcmp prototype 6357: * include/string.h (memcmp): Remove bogus `*' from return type. 6358: 6359: 2011-08-31 Samuel Thibault <[email protected]> 6360: 6361: Fix declarations 6362: * device/ds_routines.h (io_done_list): Add variable declaration. 6363: (device_io_map): Keep variable declaration and move definition to... 6364: * device/ds_routines.c: ... here. 6365: * i386/i386/fpu.c: Include <i386/pic.h> 6366: (curr_ipl): Remove declaration. 6367: (fpintr): Add int unit parameter. 6368: * linux/dev/glue/glue.h: New header. 6369: * i386/i386/fpu.h (fpintr): Add function prototype. 6370: * i386/i386/hardclock.c (clock_interrupt, linux_timer_intr): Remove prototypes. 6371: [LINUX_DEV]: Include <linux/dev/glue/glue.h> 6372: * i386/i386/ipl.h (curr_ipl): Add declaration. 6373: * i386/i386/pic.h (curr_pic_mask, pic_mask, prtnull, intnull): Add 6374: declarations. 6375: * i386/i386at/kd.h (kdintr): Add declaration. 6376: * i386/i386at/pic_isa.c: Include <i386/fpu.h> and <i386at/kd.h> 6377: (intnull, fpintr, hardclock, kdintr, prtnull): Remove prototypes. 6378: * i386/xen/xen.c: Include <kern/mach_clock.h> 6379: (clock_interrupt): Remove prototype. 6380: * linux/dev/arch/i386/kernel/irq.c: Include <linux/dev/glue/glue.h> and 6381: <machine/machspl.h> 6382: (linux_timer_intr, splhigh, spl0, curr_ipl, curr_pic_mask, pic_mask, 6383: get_options): Remove declarations. 6384: * linux/dev/drivers/block/floppy.c: Include <linux/dev/glue/glue.h> 6385: (issig, get_options): Remove declarations. 6386: * linux/dev/drivers/block/genhd.c: Include <linux/dev/glue/glue.h> 6387: (linux_intr_pri): Remove declaration. 6388: * linux/dev/glue/block.c: Include <devices/ds_routines.h> and 6389: <linux/dev/glue/glue.h>. 6390: (device_io_map, blksize_size): Remove declarations. 6391: * linux/dev/glue/kmem.c: Include <kern/printf.h> and <linux/dev/glue/glue.h> 6392: (alloc_contig_mem, printf): Remove declarations. 6393: * linux/dev/glue/misc.c: Include <printf.h> and <linux/dev/glue/glue.h> 6394: (vm_map_lookup_entry, printf): Remove prototypes. 6395: * linux/dev/glue/net.c: Include <kern/printf.h>, <device/ds_routines.h> and 6396: <linux/dev/glue/glue.h>. 6397: (linux_intr_pri, io_done_list): Remove declarations. 6398: * linux/dev/init/main.c: Include <machine/model_dep.h> and 6399: <linux/dev/glue/glue.h>. 6400: (phys_last_addr, alloc_contig_mem, free_contig_mem, init_IRQ, 6401: restore_IRQ, startrtclock, linux_version_init, linux_kmem_init, pci_init, 6402: linux_net_emulation_init, device_setup, linux_printk, linux_timer_intr, spl0, 6403: splhigh, form_pic_mask, linux_bad_intr, prtnull, intnull, linux_sched_init, 6404: pcmcia_init): Remove declarations. 6405: * linux/dev/kernel/sched.c: Include <kern/printf.h>, <machine/machspl.h> and 6406: <linux/dev/glue/glue.h>. 6407: (alloc_contig_mem, free_contig_mem, splhigh, splx, linux_soft_intr, issig, 6408: printf, linux_auto_config): Remove prototypes. 6409: * linux/dev/kernel/softirq.c: Include <linux/dev/glue/glue.h>. 6410: * linux/src/drivers/block/floppy.c: Include <linux/dev/glue/glue.h>. 6411: (get_options): Remove prototype. 6412: * linux/src/init/main.c: Include <linux/dev/glue/glue.h> 6413: (init_IRQ): Remove prototype. 6414: 6415: 2011-08-30 Guillem Jover <[email protected]> 6416: 6417: Add linux_timer_intr function declaration 6418: * i386/i386/hardclock.c [LINUX_DEV] (linux_timer_intr): New prototype. 6419: 6420: Add missing headers 6421: * device/dev_pager.c: Include <device/memory_object_reply.user.h>. 6422: * linux/pcmcia-cs/glue/wireless_glue.h: Include <kern/debug.h>. 6423: 6424: Remove unused variable 6425: * i386/i386at/rtc.c (rtc): Remove variable. 6426: 6427: Cast host_get_time() arguments to fix warnings 6428: * linux/dev/glue/misc.c (do_gettimeofday): Cast arguments to 6429: `host_get_time'. 6430: 6431: Cast function timeout() argument to fix a warning 6432: * kern/mach_clock.h (timer_func_t): New function type. 6433: (struct timer_elt): Change fcn type to timer_func_t. 6434: * i386/i386at/com.c (comstart): Cast `ttrstrt' to `timer_funct_t *' in 6435: `timeout' call. 6436: * i386/i386at/lpr.c (lprstart): Likewise, 6437: 6438: Return a value on non-void function 6439: * i386/i386at/com.c (comcnprobe, comcninit, comcnputc): Return 0. 6440: 6441: 2011-08-30 Samuel Thibault <[email protected]> 6442: 6443: Fix copyright assignment 6444: I have assigned copyright to the Free Software Foundation. 6445: 6446: * i386/i386/xen.h: Fix copyright assignment 6447: * i386/xen/xen.c: Likewise. 6448: * i386/xen/xen_boothdr.S: Likewise. 6449: * i386/xen/xen_locore.S: Likewise. 6450: * include/mach/xen.h: Likewise. 6451: * xen/block.c: Likewise. 6452: * xen/block.h: Likewise. 6453: * xen/console.c: Likewise. 6454: * xen/console.h: Likewise. 6455: * xen/evt.c: Likewise. 6456: * xen/evt.h: Likewise. 6457: * xen/grant.c: Likewise. 6458: * xen/grant.h: Likewise. 6459: * xen/net.c: Likewise. 6460: * xen/net.h: Likewise. 6461: * xen/ring.c: Likewise. 6462: * xen/ring.h: Likewise. 6463: * xen/store.c: Likewise. 6464: * xen/store.h: Likewise. 6465: * xen/time.c: Likewise. 6466: * xen/time.h: Likewise. 6467: * xen/xen.c: Likewise. 6468: * xen/xen.h: Likewise. 6469: 6470: 2011-08-30 Samuel Thibault <[email protected]> 6471: 6472: Console declaration cleanup 6473: * device/cons.h: Add multiple inclusion _DEVICE_CONS_H macro protector. 6474: (struct consdev): Add function members prototypes. 6475: * i386/i386/xen.h: Include <mach/xen.h>. 6476: * i386/i386at/com.c (comcnprobe, comcninit, comcngetc, comcnputc): Move 6477: prototypes... 6478: * i386/i386at/com.h: ... here. Include <device/cons.h>. 6479: * i386/i386at/cons_conf.c [MACH_HYP]: Include <xen/console.h>. 6480: [!MACH_HYP]: Include "kd.h". 6481: [!MACH_HYP && NCOM > 0]: Include "com.h". 6482: (hypcnprobe, hypcninit, hypcngetc, hypcnputc, kdcnprobe, kdcninit, kdcngetc, 6483: kdcnputc comcnprobe, comcninit, comcngetc, comcnputc): Remove prototypes. 6484: * i386/i386at/kd.c (kdcnputc): Make it return int, -1 on error, 0 on 6485: success. 6486: (kdcnprobe, kdcninit, kdcngetc, kdcnputc): Move prototypes... 6487: * i386/i386at/kd.h: ... here. Include <device/cons.h>. 6488: * xen/console.c (hypcnprobe): Remove unused `my_console' local variable. 6489: * xen/console.h: Include <device/cons.h> 6490: (hypcnputc, hypcngetc, hypcnprobe, hypcninit): Add prototypes. 6491: 6492: 2011-08-30 Guillem Jover <[email protected]> 6493: 6494: Move Linux module macros to their original header 6495: * linux/pcmcia-cs/glue/wireless_glue.h (EXPORT_SYMBOL) 6496: (SET_MODULE_OWNER): Move to ... 6497: * linux/src/include/linux/module.h [!MODULE]: ... here. 6498: 6499: Move cdrom_sleep() definition to its original source file 6500: * linux/dev/kernel/sched.c (cdrom_sleep): Move to ... 6501: * linux/src/drivers/block/ide-cd.c [MACH]: ... here, make it static. 6502: Include <kern/sched_prim.h>. 6503: 6504: 2011-08-29 Samuel Thibault <[email protected]> 6505: 6506: Make copyout run in 1 loop on >= i486 6507: * i386/i386/locore.S (copyout): On >= i486, skip WP-check loop split and just 6508: use byte count. 6509: 6510: 2011-08-28 Samuel Thibault <[email protected]> 6511: 6512: Skip kernel WP check on i486 and above 6513: * i386/i386/i386asm.sym (machine_slot.sub_type): Define. 6514: * i386/i386/locore.S (copyout_retry): Skip if machine_slot[0].cpu_type > 3. 6515: 6516: Enable >4GiB cr3 6517: * i386/xen/xen_boothdr.S (__xen_guest): Add [extended-cr3] to PAE 6518: (XEN_ELFNOTE_PAE_MODE): Likewise. 6519: 6520: 2011-08-28 Samuel Thibault <[email protected]> 6521: 6522: Disable (<i486)-only WP workaround on Xen & PAE 6523: i386 didn't support PAE anyway. 6524: 6525: * i386/i386/locore.S (copyout_retry) [MACH_HYP || PAE]: Remove. 6526: * xen/xen.c (hyp_invalidate_pte): Remove function. 6527: * xen/xen.h (hyp_invalidate_pte): Remove prototype. 6528: 6529: 2011-08-28 Samuel Thibault <[email protected]> 6530: 6531: Fix pmap_clear_bootstrap_pagetable with >4G mfns 6532: * i386/intel/pmap.c (pmap_clear_bootstrap_pagetable): Use pte_to_pa instead 6533: of atop. 6534: 6535: Rework memory mapping reservation 6536: * i386/i386/vm_param.h (VM_KERNEL_MAP_SIZE): Define to 192MiB. 6537: * i386/i386at/model_dep.c (mem_size_init): Use VM_KERNEL_MAP_SIZE instead of 6538: 1/6 factor. 6539: * i386/intel/pmap.c (morevm): Remove. 6540: (pmap_bootstrap): Use VM_KERNEL_MAP_SIZE instead of morevm. 6541: 6542: Move free_skbuffs declaration to the top 6543: * device/ds_routines.c (free_skbuffs): Move declaration to the top. 6544: 6545: 2011-08-27 Guillem Jover <[email protected]> 6546: 6547: Initialize the new map entry when it's a projected buffer 6548: * vm/vm_map.c (vm_map_fork): Call vm_map_entry_create for projected_on 6549: buffers too. 6550: 6551: Fix initialization from incompatible pointer type 6552: * linux/dev/glue/block.c (device_get_status): Cast `hg' to `unsigned long' 6553: in ioctl call. 6554: 6555: Match signedness of char pointer comparisons and assignments 6556: * linux/dev/drivers/block/genhd.c (msdos_partition): Cast `data' assignment 6557: to `unsigned char *'. 6558: * linux/src/drivers/block/ide-cd.c (cdrom_queue_request_sense): Cast 6559: `buffer' assignment to `unsigned char *'. 6560: (cdrom_transfer_packet_command): Change `cmd_buf' argument type to 6561: `unsigned char *'. 6562: (cdrom_read_capacity): Cast `pc.buffer' assignments to `unsigned char *'. 6563: Use temporary `model' and `fw_rev' `const char *' variables to compare 6564: against literal strings and characters. 6565: * linux/src/drivers/block/ide.c (execute_drive_cmd): Cast `args' 6566: assignment to `byte *'. 6567: (ide_open): Cast `rq.buffer' assignment to `char *'. 6568: (ide_release): Likewise. 6569: (ide_ioctl): Likewise. 6570: (do_identify): Cast variables being compared against literal string to 6571: `char *'. 6572: (probe_for_drive): Likewise. 6573: * linux/src/drivers/block/ide.h (struct packet_command): Change `buffer' 6574: type to `unsigned char *'. 6575: 6576: Always initialize A and X variables in BPF code 6577: * device/net_io.c (bpf_do_filter): Remove lint conditional. 6578: 6579: Disable unused variables 6580: * i386/i386at/com.c (comstart): Disable `i' variable. 6581: * linux/src/drivers/net/at1700.c (net_close): Disable `lp' variable. 6582: * linux/dev/include/linux/blk.h (end_request): Disable `nsect' variable 6583: on MACH. 6584: 6585: Remove unused variables 6586: * vm/memory_object_proxy.c (memory_object_create_proxy): Remove unused 6587: `kr' variable. 6588: * linux/dev/glue/block.c (free_buffer): Remove unused `i' variable. 6589: (register_blkdev): Remove unused `err' variable. 6590: (unregister_blkdev): Likewise. 6591: (bread): Likewise. 6592: (init_partition): Likewise. 6593: * linux/dev/glue/net.c (device_write): Likewise. 6594: 6595: Remove ident tags producing preprocessor warnings 6596: * linux/src/drivers/scsi/FlashPoint.c: Remove #ident tags. 6597: 6598: Add header for printf prototype 6599: * vm/memory_object_proxy.c: Include <kern/printf.h>. 6600: 6601: Add prototype for free_skbuffs function 6602: * device/ds_routines.c [LINUX_DEV && CONFIG_INET] (free_skbuffs): Add 6603: prototype. 6604: 6605: Add prototype for log function 6606: * kern/debug.h (log): New prototype. 6607: 6608: 2011-08-27 Samuel Thibault <[email protected]> 6609: 6610: * Makefile.am (AM_CFLAGS): Add -fno-builtin-log. 6611: 6612: 2011-08-27 Guillem Jover <[email protected]> 6613: 6614: Add prototypes for locore functions 6615: * i386/i386at/model_dep.c (discover_x86_cpu_type): Move ... 6616: * i386/i386/locore.h: ... here. 6617: (inst_fetch, cpu_shutdown): New prototypes. 6618: * i386/i386at/kd.c: Include <i386/locore.h>. 6619: 6620: Do not take obsolete and unused bcopy and bzero from libc 6621: * Makefile.am (clib_routines): Remove bcopy and bzero. 6622: 6623: Use AC_LANG_SOURCE inside AC_LANG_CONFTEST to fix autoconf warning 6624: * configure.ac (AC_LANG_CONFTEST): Wrap the source into a AC_LANG_SOURCE 6625: call. 6626: 6627: Add a .gitignore file 6628: * .gitignore: New file. 6629: 6630: 2011-08-22 Samuel Thibault <[email protected]> 6631: 6632: Make ipc_space_zone not exhaustible 6633: Users of ipc_space_create() actually assume that it succeeds. 6634: 6635: * ipc/ipc_init.c (ipc_bootstrap): Create ipc_space_zone without EXHAUSTIBLE 6636: flag. 6637: 6638: 2011-08-22 Samuel Thibault <[email protected]> 6639: 6640: Add more details to "zone exhausted" panics. 6641: * kern/zalloc (zalloc): Add more details to "zone exhausted" panics. 6642: 6643: 2011-08-21 Samuel Thibault <[email protected]> 6644: 6645: Add 8byte breakpoint macro 6646: * i386/i386/db_interface.h (I386_DB_LEN_8): Define macro. 6647: 6648: 2011-08-18 Samuel Thibault <[email protected]> 6649: 6650: Add compiler barrier to update_mapped_time 6651: * kern/mach_clock.c (update_mapped_time): Add compiler barriers between 6652: writes to shared memory. Update comment: on SMP, write barriers are 6653: required. 6654: 6655: 2011-08-10 Samuel Thibault <[email protected]> 6656: 6657: Do not warn for cross-space spurious port deallocation 6658: These are harmless (the target is stopped) and difficult to fix anyway. 6659: 6660: * ipc/mach_port.c (mach_port_destroy): Do not warn about spurious port 6661: deallocation when SPACE is not equal to current_space(). 6662: (mach_port_deallocate): Likewise. 6663: 6664: 2011-08-10 Samuel Thibault <[email protected]> 6665: 6666: Add more spurious deallocation debugging 6667: * ipc/mach_port.c (mach_port_destroy): Print the current space and the 6668: target space on spurious deallocation. 6669: (mach_port_deallocate): Likewise. 6670: 6671: 2011-07-21 Samuel Thibault <[email protected]> 6672: 6673: Whitelist QEMU Hard-Drive for DMA. 6674: PIO has become very slow in Linux 2.6.35+, so we do not really have the 6675: choice any more. 6676: 6677: * linux/src/drivers/block/triton.c (good_dma_drives): Re-whitelist QEMU hard 6678: drive. 6679: 6680: 2011-05-19 Samuel Thibault <[email protected]> 6681: 6682: Fix gcc 4.6 build 6683: * linux/dev/include/linux/skbuff.h (skb_put, skb_push): Do not print the 6684: address of a local label, gcc 4.6 does not build this and the debugger can 6685: output it anyway. 6686: * linux/src/include/linux/skbuff.h (skb_put, skb_push): Likewise. 6687: 6688: 2011-05-18 Samuel Thibault <[email protected]> 6689: 6690: Merge two asm constraints 6691: * linux/src/drivers/scsi/ultrastor.c (find_and_clear_bit_16): Use + modifier 6692: instead of using both a read and a write constraint. 6693: 6694: 2011-05-09 Samuel Thibault <[email protected]> 6695: 6696: Do not warn on vm_map_enter with fixed address failing 6697: * vm/vm_map.c (vm_map_enter): Warn about missing room in map only if 6698: anywhere is set. 6699: 6700: 2011-04-24 Samuel Thibault <[email protected]> 6701: 6702: Update constants to nowadays standards 6703: Follow-up to fa6c711d 6704: 6705: * ipc/ipc_init.c (ipc_kernel_map_size): Increase to 8MiB. 6706: 6707: 2011-04-23 Samuel Thibault <[email protected]> 6708: 6709: Enable all caches 6710: * i386/i386at/model_dep.c (i386at_init): Set CR0_CD and CR0_NW in CR0 6711: register. 6712: 6713: Drop spurious warning 6714: * ipc/ipc_entry.c (ipc_entry_get): Do not warn when ipc_entry_get returns 6715: KERN_NO_SPACE. 6716: 6717: 2011-04-22 Samuel Thibault <[email protected]> 6718: 6719: Warn once when part of the kernel is lacking space 6720: * ipc/ipc_entry.c (ipc_entry_get, ipc_entry_grow_table): Warn when returning 6721: KERN_NO_SPACE. 6722: * vm/vm_map.c (vm_map_find_entry, vm_map_enter, vm_map_copyout, 6723: vm_map_copyout_page_list): Warn when returning KERN_NO_SPACE. 6724: 6725: 2011-04-22 Samuel Thibault <[email protected]> 6726: 6727: Update constants to nowadays standards 6728: Follow-up to fa6c711d 6729: 6730: * vm/vm_object.c (DEVICE_IO_MAP_SIZE): Increase to 16MiB. 6731: * kern/kalloc.c (kalloc_map_size): Increase to 64MiB. 6732: * i386/intel/pmap.c (morevm): Increase to 128MiB. 6733: 6734: 2011-04-20 Samuel Thibault <[email protected]> 6735: 6736: Warn once when part of the kernel is lacking memory 6737: * kern/printf.h (printf_once): New macro. 6738: * ipc/mach_port.c (mach_port_names, mach_port_get_set_status): Warn when 6739: returning KERN_RESOURCE_SHORTAGE. 6740: * vm/vm_kern.c: Include printf.h. 6741: (kmem_alloc, kmem_realloc, kmem_alloc_wired, kmem_alloc_aligned, 6742: kmem_alloc_pageable): Warn when failing. 6743: * vm/vm_resident.c (vm_page_grab_contiguous_pages): Warn when returning 6744: KERN_RESOURCE_SHORTAGE. 6745: 6746: 2011-04-19 Samuel Thibault <[email protected]> 6747: 6748: Close call stack on continuation 6749: * i386/i386/locore.S (call_continuation): Push dummy return address instead 6750: of letting the callee get a random one. 6751: 6752: 2011-04-18 Arne Babenhauserheide <[email protected]> 6753: 6754: Removed deprecated LINTLIBRARY #ifdefs 6755: mach/mach_traps.h: Removed LINTLIBRARY #ifdefs. 6756: mach/message.h: Removed LINTLIBRARY #ifdefs. 6757: 6758: 2011-04-03 Samuel Thibault <[email protected]> 6759: 6760: Fix build with kdb from make dist-generated tarball 6761: * Makefrag.am (libkernel_a_SOURCES): Add ddb/db_cond.h, ddb/db_examine.h, 6762: ddb/db_input.h, ddb/db_macro.h, ddb/db_trap.h. 6763: * i386/Makefrag.am (libkernel_a_SOURCES): Add i386/i386/db_interface.h 6764: 6765: 2011-03-21 Samuel Thibault <[email protected]> 6766: 6767: Fix typo 6768: * i386/i386at/kd.c (key_map): Fix K_PERIOD typo. 6769: 6770: 2011-03-20 Samuel Thibault <[email protected]> 6771: 6772: Clean kd.[ch] 6773: * i386/i386at/kd.h (NUMSTATES): Fix comment about NORM_STATE. 6774: * i386/i386at/kd.c (key_map): Use K_* macros instead of numeric values. 6775: 6776: 2011-03-14 Samuel Thibault <[email protected]> 6777: 6778: Also warn about mach_port_destroy on invalid ports 6779: * ipc/mach_port.c (mach_port_destroy): Warn (and possibly call debugger) when 6780: ipc_right_lookup_write didn't find the port name. 6781: 6782: 2011-03-11 Samuel Thibault <[email protected]> 6783: 6784: Fix continuation after keyboard debugger invocation 6785: According to stack layout change in 5da1aea7 6786: 6787: * i386/i386/locore.S [!MACH_XEN] (RET_OFFSET): Define to 12 instead of 8. 6788: 6789: 2011-03-06 Samuel Thibault <[email protected]> 6790: 6791: Enable global pages after enabling paging 6792: * i386/i386at/model_dep.c (i386at_init): Enable CR4_PGE after enabling 6793: CR0_PG. 6794: 6795: 2011-03-05 Samuel Thibault <[email protected]> 6796: 6797: Fix temporary direct mapping during page table enabling 6798: * i386/i386at/model_dep.c (i386at_init): Count the number of actually 6799: needed temporary L1 direct mapping by getting the last used address from 6800: init_alloc_aligned(), instead of hardcoding it to 1 or 3, and then use a for 6801: loop. 6802: 6803: 2011-03-03 Samuel Thibault <[email protected]> 6804: 6805: Keep supplementary L1 pages read-only 6806: * i386/intel/pmap.c (pmap_bootstrap): Fix loop which keeps supplementary L1 6807: pages read-only: break as soon as one of the L1 supplementary pages has been 6808: recognized, so that its pte does not get rewritten read-write. 6809: 6810: 2011-02-27 Samuel Thibault <[email protected]> 6811: 6812: Refuse to share IRQs at different interrupt levels 6813: * linux/dev/arch/i386/kernel/irq.c (setup_x86_irq): Return -LINUX_EBUSY when 6814: trying to share an IRQ between two different interrupt levels. 6815: 6816: 2011-02-27 Samuel Thibault <[email protected]> 6817: 6818: Re-enable updating pvlist for kernel_pmap 6819: This partially reverts 0744feb6 6820: 6821: * i386/intel/pmap.c (pmap_remove_range): Update pvlist for kernel_pmap too. 6822: 6823: 2011-02-27 Samuel Thibault <[email protected]> 6824: 6825: Acknoledge interrupt after handler call 6826: This fixes interrupt overflows when software interrupts processing gets slower 6827: than hardware. 6828: 6829: * i386/i386at/interrupt.S (interrupt): Issue EOI to PICs after having called 6830: the interrupt handler and disabled interrupts through cli. 6831: 6832: 2011-02-27 Samuel Thibault <[email protected]> 6833: 6834: Detect interrupt overflow 6835: * i386/i386/locore.S (int_from_instack): Check %esp against _intstack, issue 6836: ud2 on stack overflow. 6837: 6838: Add x86 debug register Xen support 6839: * i386/xen/xen_boothdr.S: Add global visibility to __hyp_* symbols. 6840: * i386/i386/locore.S [MACH_XEN] (dr6,dr0,dr1,dr2,dr3): Make get_debugreg and 6841: set_debugreg hypercalls to manipulate debug registers. 6842: (dr0,dr1,dr2,dr3): Fix dr7 field shift. 6843: * i386/i386/xen.h (hyp_set_debugreg, hyp_get_debugreg): New prototypes. 6844: 6845: Add prototypes for x86 debug registers 6846: * i386/i386/db_interface.h (I386_DB_TYPE_X, I386_DB_TYPE_W, I386_DB_TYPE_RW, 6847: I386_DB_LEN_1, I386_DB_LEN_2, I386_DB_LEN_4, I386_DB_LOCAL, 6848: I386_DB_GLOBAL): New macros. 6849: (dr0, dr1, dr2, dr3): New function prototypes. 6850: 6851: Fix for kdb watch command 6852: * i386/intel/pmap.c (pmap_remove_range): Do not update pvlist for 6853: kernel_map. 6854: [MACH_KBD] (pmap_enter): Allow physical memory remapping. 6855: 6856: 2011-02-26 Samuel Thibault <[email protected]> 6857: 6858: Add console=comN boot option to enable serial console 6859: * i386/configfrag.ac (RCLINE, RCADDR): Remove defines. 6860: * i386/i386at/com.c: Include <string.h> and <util/atoi.h> 6861: [!RCLINE] (RCBAUD, comcndev, comcnprobe, comcninit, comcngetc, comcnputc): 6862: Declare and define macro, variable, and functions. 6863: (rcline): New variable. 6864: (kernel_cmdline): New declaration. 6865: (comcnprobe): Detect "console=comN" option and set rcline accordingly, use 6866: rcline instead of RCLINE for serial console selection. 6867: * i386/i386at/cons_conf.c [NCOM>0 && !RCLINE] (comcnprobe, comcninit, 6868: comcngetc, comcnputc): Declare functions. 6869: [NCOM>0 && !RCLINE] (constab): Enable "com" console. 6870: * i386/i386at/kd_event.c (kbdopen): Call kdinit function, for when the 6871: VGA+pckbd console was not initialized. 6872: 6873: 2011-02-09 Samuel Thibault <[email protected]> 6874: 6875: xen block: Add more legacy hd* name support 6876: * xen/block.c (hyp_block_init): Add IDE 3-10 device number recognition. Skip 6877: unknown block device numbers. 6878: 6879: 2011-02-07 Samuel Thibault <[email protected]> 6880: 6881: Defer Xen device initialization to device_service_create 6882: * device/device_init.c (device_service_create) [MACH_HYP]: Call 6883: hyp_dev_init. 6884: * xen/xen.c (hyp_init): Do not call hyp_block_init and hyp_net_init, now 6885: called in ... 6886: (hyp_dev_init): New function. 6887: * xen/xen.h (hyp_dev_init): New declaration. 6888: 6889: Add rx-copy support to netfront 6890: * xen/net.c (net_data): Add rx_copy field. 6891: (enqueue_rx_buf): When rx_copy != 0, give grant on buffer to domD instead of 6892: issuing a transfer from domD. 6893: (hyp_net_intr): When rx_copy != 0, take back grant on buffer instead of 6894: finishing transfer. Do not panic on packet error, free kmsg on error. 6895: (hyp_net_init): Check for feature-rx-copy in backend, write 1 to 6896: request-rx-copy in such case. Wait for Connected state before continuing. 6897: Only unmap buffer when rx_copy is 0. 6898: 6899: 2011-01-31 Diego Nieto Cid <[email protected]> 6900: 6901: * doc/mach.texi (device_set_filter): Document filter header. 6902: Acked-by: Richard Braun <[email protected]> 6903: 6904: 2011-01-31 Samuel Thibault <[email protected]> 6905: 6906: Enable pae_extended_cr3 in pmap_bootstrap 6907: * i386/i386/gdt.c (gdt_init): Do not enable VMASST_TYPE_pae_extended_cr3. 6908: * i386/intel/pmap.c (pmap_bootstrap): Enable VMASST_TYPE_pae_extended_cr3. 6909: 6910: Enable Xen >4GiB physical memory support 6911: * i386/i386/gdt.c (gdt_init): Enable VMASST_TYPE_pae_extended_cr3. 6912: * i386/i386/xen.h: Drop actually-unneeded comment. 6913: * i386/xen/xen_boothdr.S (FEATURES) [MACH_PSEUDO_PHYS]: Add pae_pgdir_above_4gb. 6914: (XEN_ELFNOTE_FEATURES) [MACH_PSEUDO_PHYS]: Add pae_pgdir_above_4gb. 6915: 6916: Drop kbd device on xen 6917: * i386/Makefrag.am (libkernel_a_SOURCES): Move i386/i386at/kd_event.[ch] and 6918: i386/i386at/kd_queue.[ch] to [PLATFORM_at]. 6919: * i386/i386at/conf.c (dev_name_list): Move kbd device to [!MACH_HYP]. 6920: 6921: 2011-01-15 Samuel Thibault <[email protected]> 6922: 6923: Avoid dropping kd_intr when RCLINE is >= 0 6924: * i386/i386at/kd.c (kdintr): Return immediately if !kd_initialized. 6925: * i386/i386at/pic_isa.c (ivect) [RCLINE >= 0]: Enable kdintr in that case 6926: too. 6927: 6928: 2011-01-15 Samuel Thibault <[email protected]> 6929: 6930: Move -d and -H parse to kern/startup.c 6931: The code is arch-independant, and reboot_on_panic, used by kern/debug.c 6932: would be undefined on non-i386. 6933: 6934: * i386/i386at/model_dep.c (reboot_on_panic, c_boot_entry): Move -d and -H parse 6935: to... 6936: * kern/startup.c (reboot_on_panic,setup_main): ... here. Include <string.h> 6937: 6938: 2010-12-09 Samuel Thibault <[email protected]> 6939: 6940: memcpy operands are not supposed to overlap 6941: * include/string.h (memmove): Add prototype. 6942: * i386/i386at/immc.c (immc_cnputc): Replace memcpy with memmove. 6943: 6944: 2010-10-24 Samuel Thibault <[email protected]> 6945: 6946: Avoid harmless warning 6947: * i386/i386at/kd.c (kd_setleds1): Only display unexpected state warning when 6948: debugging is enabled. 6949: 6950: 2010-10-23 Samuel Thibault <[email protected]> 6951: 6952: Add prototype for strstr 6953: * include/string.h (strstr): Add prototype. 6954: 6955: Add prototype for discover_x86_cpu_type 6956: * i386/i386at/model_dep.c (discover_x86_cpu_type): Add prototype. 6957: 6958: Warn on unknown CPU family 6959: * i386/i386at/model_dep.c (c_boot_entry): Warn in the default case for 6960: cpu_type. 6961: 6962: Recognize P4 and Opteron-like as pentium pro 6963: * i386/i386at/model_dep.c (c_boot_entry): Treat cpu_type 15 as Pentium pro. 6964: 6965: 2010-09-19 Samuel Thibault <[email protected]> 6966: 6967: Fix device_get/set_status ABI for NET_FLAGS 6968: * linux/dev/glue/net.c (device_get_status): Compare count with 1 instead 6969: of sizeof(short). Access *status instead of *(short *) status. 6970: (device_set_status): Likewise. 6971: 6972: 2010-09-14 Thomas Schwinge <[email protected]> 6973: 6974: Merge branch 'typo-print' 6975: 6976: 2010-09-14 Thomas Schwinge <[email protected]> 6977: 6978: Typo fix. 6979: * i386/i386/trap.c (user_trap): Call printf, not print. 6980: 6981: 2010-09-14 Samuel Thibault <[email protected]> 6982: 6983: Fix ifunc entries 6984: * i386/ldscript: Update to the version from binutils 2.20.51.20100617. 6985: Remove SEARCH_DIR calls. 6986: * Makefile.am (clib_routines): Accept undefined __rel_iplt_start and 6987: __rel_iplt_end as these come from the ldscript. 6988: * i386/i386at/boothdr.S (boot_entry): Call ifunc hooks at boot. 6989: * i386/xen/xen_boothdr.S (start): Likewise. 6990: 6991: 2010-09-08 Samuel Thibault <[email protected]> 6992: 6993: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 6994: 6995: Fix non-contiguous PCI functions 6996: * linux/src/drivers/pci/pci.c (scan_bus): Do not set `is_multi' to 0 6997: when a hole is encountered. Detect 0000:ffff and ffff:0000 vendor ID as 6998: holes too. 6999: 7000: 2010-08-27 Guillem Jover <[email protected]> 7001: 7002: Fix "make dist" 7003: * Makefile.am (EXTRA_DIST): Remove ChangeLog.0, ChangeLog.00 and 7004: Makefile.correct_output_files_for_.S_files.patch. 7005: * Makefrag.am (libkernel_a_SOURCES): Add ipc/mach_port.h, 7006: kern/ipc_mig.h, kern/machine.h, util/putchar.h, util/atoi.h, 7007: vm/vm_resident.h, vm/vm_types.h and device/subrs.h. 7008: Remove kern/time_out.h. 7009: * i386/Makefrag.am (libkernel_a_SOURCES): Add i386/i386at/autoconf.h, 7010: i386/i386at/com.h, i386/i386at/int_init.h, i386/i386/loose_ends.h, 7011: i386/i386/model_dep.h, i386/intel/read_fault.h and i386/i386/xen.h. 7012: Remove i386/i386/timer.h. 7013: * linux/Makefrag.am (liblinux_a_SOURCES): Add 7014: linux/src/drivers/net/sis900.h. 7015: * xen/Makefrag.am (libkernel_a_SOURCES): Add xen/public/arch-x86_32.h 7016: xen/public/arch-x86_64.h, xen/public/arch-x86/xen.h, 7017: xen/public/arch-x86/xen-mca.h, xen/public/arch-x86/xen-x86_32.h, 7018: xen/public/arch-x86/xen-x86_64.h, xen/public/callback.h, xen/public/COPYING, 7019: xen/public/dom0_ops.h, xen/public/domctl.h, xen/public/elfnote.h, 7020: xen/public/elfstructs.h, xen/public/event_channel.h, xen/public/features.h, 7021: xen/public/grant_table.h, xen/public/io/blkif.h, xen/public/io/console.h, 7022: xen/public/io/fbif.h, xen/public/io/fsif.h, xen/public/io/kbdif.h, 7023: xen/public/io/netif.h, xen/public/io/pciif.h, xen/public/io/protocols.h, 7024: xen/public/io/ring.h, xen/public/io/tpmif.h, xen/public/io/xenbus.h, 7025: xen/public/io/xs_wire.h, xen/public/kexec.h, xen/public/libelf.h, 7026: xen/public/memory.h, xen/public/nmi.h, xen/public/physdev.h, 7027: xen/public/platform.h, xen/public/sched.h, xen/public/sysctl.h, 7028: xen/public/trace.h, xen/public/vcpu.h, xen/public/version.h, 7029: xen/public/xencomm.h, xen/public/xen-compat.h, xen/public/xen.h, 7030: xen/public/xenoprof.h, xen/block.h, xen/console.h, xen/evt.h, 7031: xen/grant.h, xen/net.h, xen/ring.h, xen/store.h, xen/time.h and xen/xen.h. 7032: 7033: 2010-08-26 Samuel Thibault <[email protected]> 7034: 7035: Do not advice to install libc0.3-xen on 4gb_segment trap 7036: ext2fs.static will trigger some anyway. Instead, provide an easy way to 7037: track how many traps happen. 7038: 7039: * i386/i386/gdt.c [MACH_XEN] (gdt_init): Disable enabling 7040: VMASST_TYPE_4gb_segments_notify. 7041: * i386/i386/trap.c [MACH_XEN] (user_trap): Remove printing libc0.3-xen 7042: installation advice on 4gb_segments trap. Instead, print a count every 10000 7043: traps, and disable them on the 1000000th. 7044: 7045: 2010-08-22 Samuel Thibault <[email protected]> 7046: 7047: Disable 4gb segment emulation notification on first notification 7048: i386/i386/trap.c [MACH_XEN] (user_trap): Disable 7049: VMASST_TYPE_4gb_segments_notify on trap 15. 7050: 7051: Report Xen 4gb segment emulation 7052: * i386/i386/gdt.c [MACH_XEN] (gdt_init): Enable VMASST_TYPE_4gb_segments_notify. 7053: * i386/i386/idt_inittab.S [MACH_XEN]: Set trap 15 as pushing an error 7054: code. 7055: * i386/i386/trap.c [MACH_XEN]: Print trap 15 first occurrence. 7056: 7057: 2010-08-01 Samuel Thibault <[email protected]> 7058: 7059: Fix unexpected irq + irq timeout on write 7060: * linux/src/drivers/block/ide.c (do_rw_disk): Set IRQ handler before 7061: issuing write command. 7062: 7063: Move read-only sections to after text section 7064: 7065: 2010-07-31 Samuel Thibault <[email protected]> 7066: 7067: Un-whitelist the QEMU harddisk for DMA support 7068: * linux/src/drivers/block/triton.c (good_dma_drives): Remove "QEMU HARDDISK". 7069: 7070: Put a name on the 16MiB magic number 7071: * linux/dev/glue/kmem.c (MEM_DMA_LIMIT): New macro 7072: (linux_kmem_init): Replace 16 * 1024 * 1024 occurrences with 7073: MEM_DMA_LIMIT. 7074: 7075: 2010-06-25 Jeremie Koenig <[email protected]> 7076: 7077: Route BLKRRPART to partitions layer 7078: * linux/dev/glue/block.c (device_set_status): New function 7079: (linux_block_emulation_ops): Set set_status field to device_set_status. 7080: 7081: 2010-04-16 Samuel Thibault <[email protected]> 7082: 7083: Add memory clobbers to segment selector loaders 7084: * i386/i386/seg.h (lldt): Add memory clobber to lldt asm 7085: snippet. 7086: * i386/i386/tss.h (ltr): Add memory clobber to ltr asm 7087: snippet. 7088: 7089: 2010-04-08 Samuel Thibault <[email protected]> 7090: 7091: Fix bootstrap additional mapping 7092: * i386/intel/pmap.c (pmap_bootstrap): Use pt_entry_t type 7093: instead of vm_offset_t to map additional kernel space. 7094: 7095: Extend machine addresses to 64bit for PAE 7096: * i386/i386/pcb.c (switch_ktss): Use uint64_t for descriptor 7097: type instead of unsigned long long. 7098: * i386/i386/seg.h (fill_descriptor): Use uint64_t for descriptor 7099: type instead of unsigned long long. Cast result of kv_to_ma() 7100: into vm_offset_t before printing. 7101: * i386/i386/xen.h (hyp_mmu_update_pte): Use pt_entry_t type 7102: instead of unsigned long long, make pte parameter a pt_entry_t 7103: too. 7104: (hyp_mmu_update_pte): Compute pte address just using pt_entry_t 7105: integers. 7106: (hyp_high): New macro to fix 32bit right shifting. 7107: (hyp_do_update_descriptor): Use pt_entry_t type for machine 7108: address instead of unsigned long. Split it in 32bit parts. Use uint64_t 7109: for descriptor type instead of unsigned long long. 7110: (update_va_mapping): Use pt_entry_t type instead of unsigned 7111: long long. Use hyp_high macro. 7112: (hyp_invlpg): Use uint64_t for time type instead of unsigned 7113: long long. 7114: * i386/intel/pmap.c (pmap_bootstrap): Use ptetokv instead of 7115: pte_to_pa + phystokv. Cast machine addresses into vm_offset_t 7116: before printing. 7117: (pmap_set_page_readwrite): Likewise. 7118: (pmap_set_page_readonly): Likewise 7119: (pmap_set_page_readonly_init): Likewise 7120: (pmap_clear_bootstrap_pagetable): Likewise 7121: (pmap_destroy): Likewise 7122: (pmap_map_mfn): Use pt_entry_t type for machine addresses. Cast 7123: machine addresses into vm_offset_t before printing. 7124: * i386/intel/pmap.h [PAE] (INTEL_PTE_PFN): Set macro to 7125: 0xfffffffffffff000ULL. 7126: * include/mach/xen.h [PAE] (pa_to_ma, ma_to_pa): Use pt_entry_t 7127: type for machine addresses. 7128: [!PAE] (pa_to_ma): Remove cast to vm_offset_t. 7129: (mfn_to_kv): Use mfn_to_pfn + ptoa instead of ptoa + ma_to_pa. 7130: * xen/xen.c (hyp_invalidate_pte): Cast machine addresses into 7131: vm_offset_t before printing. 7132: 7133: 2010-04-06 Samuel Thibault <[email protected]> 7134: 7135: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 7136: 7137: Fix crash on Xen when no module is provided 7138: * kern/bootstrap.c (bootstrap_create): Iterate over bmods only 7139: if is not NULL. 7140: 7141: 2010-03-15 Thomas Schwinge <[email protected]> 7142: 7143: Require GNU Automake 1.10.2. 7144: 9ff49d9648debffbe42d18863c739d37bcdb50b4's config.status.dep.patch is fit for 7145: 1.10.2 (released in November 2008) and later, and is no longer suitable for 7146: 1.10.1. 7147: 7148: * configure.ac (AM_INIT_AUTOMAKE): Require 1.10.2. 7149: 7150: 2010-03-14 Samuel Thibault <[email protected]> 7151: 7152: Fix Xen build without kdb 7153: * xen/console.c (hypcnintr): Use #if MACH_KDB instead of #ifdef 7154: MACH_KDB. 7155: 7156: Add mem device 7157: * i386/Makefrag.am (libkernel_a_SOURCES): Add 7158: i386/i386at/iopl.c. 7159: * i386/i386at/conf.c [!MACH_HYP] (memmmap): Declare function. 7160: (memname): Add macro. 7161: (dev_name_list): Add mem device. 7162: * i386/i386at/mem.c: New file. 7163: 7164: 2010-03-02 Samuel Thibault <[email protected]> 7165: 7166: whitelist the QEMU harddisk for DMA support 7167: * linux/src/drivers/block/triton.c (good_dma_drives): Add 7168: "QEMU HARDDISK". 7169: 7170: 2010-01-04 Samuel Thibault <[email protected]> 7171: 7172: ignore bogus FDPT information from BIOS 7173: 7174: 2009-12-22 Samuel Thibault <[email protected]> 7175: 7176: Align mach_port_deallocate debug flag with usage 7177: * ipc/mach_port.c (debug_mach_port_deallocate): Rename to... 7178: (mach_port_deallocate_debug): ... new name, and set volatile 7179: to permit live changes from ddb. 7180: 7181: Do not systematically debug buggy port deallocation 7182: * ipc/mach_port.c (debug_mach_port_deallocation): New variable, 7183: set to 0. 7184: (mach_port_deallocate): Only call SoftDebugger if 7185: debug_mach_port_deallocation is not 0. 7186: 7187: Merge branch 'master' of debhurd0:xen/gnumach 7188: 7189: 2009-12-22 root <[email protected]> 7190: 7191: Fix debugger trigger 7192: * i386/i386/locore.S [MACH_XEN] (RET_OFFSET): Define to 8 7193: * xen/console.c (hypcnintr): On pound sign, call kdb_kintr instead of 7194: panicing. 7195: 7196: 2009-12-21 Samuel Thibault <[email protected]> 7197: 7198: Invoke debugger on duplicate port deallocation 7199: * ipc/mach_port.c (mach_port_deallocate): Call SoftDebugger if 7200: ipc_right_lookup_write was not succcessful and `name' is not 7201: MACH_PORT_NULL or MACH_PORT_DEAD. 7202: 7203: Add a SoftDebugger function 7204: * kern/debug.h (SoftDebugger): Add prototype. 7205: * kern/debug.c (Debugger): Move code invoking debugging trap 7206: to... 7207: (SoftDebugger): ... new function. Print the passed message. 7208: * kern/lock_mon.c (decl_simple_lock_data, retry_bit_lock): Call 7209: SoftDebugger instead of Debugger. 7210: * device/ds_routines.c (ds_device_open, device_read, 7211: device_read_inband): Call SoftDebugger instead of Debugger. 7212: * i386/i386at/model_dep.c (c_boot_entry): Call SoftDebugger 7213: instead of Debugger. 7214: * kern/syscall_sw.c (null_port, kern_invalid): Call SoftDebugger 7215: instead of Debugger. 7216: * vm/vm_object.c (vm_object_collapse): Call SoftDebugger instead 7217: of Debugger. 7218: 7219: 2009-12-19 Samuel Thibault <[email protected]> 7220: 7221: Document kdb_kintr stack manipulation 7222: * i386/i386/locore.S: Document kdb_kintr stack manipulation. 7223: 7224: 2009-12-19 root <[email protected]> 7225: 7226: Fix debugger trigger 7227: * i386/i386/locore.S [MACH_XEN] (RET_OFFSET): Define to 8 7228: * xen/console.c (hypcnintr): On pound sign, call kdb_kintr instead of 7229: panicing. 7230: 7231: 2009-12-18 Guillem Jover <[email protected]> 7232: 7233: Add missing casts 7234: * vm/vm_resident.c (vm_page_grab_contiguous_pages): Cast `prevmemp' 7235: assignement to vm_page_t. 7236: 7237: Add missing function prototypes 7238: * i386/i386/pcb.c (Load_context): New prototype. 7239: * i386/i386at/lpr.c (lprpr_addr): Likewise. 7240: 7241: Use `unsigned char *' for byte buffers 7242: * linux/src/drivers/net/apricot.c (struct i596_tbd): Change `data' 7243: member type to `unsigned char *'. 7244: (struct i596_rfd): Change `data' member type to `unsigned char'. 7245: (print_eth): Change argument type to `unsigned char'. Remove 7246: unneeded casts. 7247: (set_multicast_list): Change cast for print_eth to `unsigned char *'. 7248: 7249: Mark macro arguments as used 7250: * i386/intel/pmap.c [!NCPUS > 1] (INVALIDATE_TLB): Mark `pmap', `s' 7251: and `e' arguments as used. 7252: * i386/intel/pmap.h [!NCPUS > 1] (PMAP_ACTIVATE_KERNEL): Mark `my_cpu' 7253: argument as used. 7254: (PMAP_DEACTIVATE_KERNEL): Likewise. 7255: (PMAP_ACTIVATE_USER): Likewise. Mark `th' argument as used. 7256: (PMAP_DEACTIVATE_USER): Mark `thread' and `cpu' arguments as used. 7257: 7258: Missing `*' in assembler indirect lcall 7259: * linux/src/arch/i386/kernel/bios32.c (bios32_service): Add `*' 7260: in indirect lcall. 7261: (check_pcibios, pci_bios_find_class, pci_bios_find_device): Likewise. 7262: (pci_bios_read_config_byte, pci_bios_read_config_word): Likewise. 7263: (pci_bios_read_config_dword, pci_bios_write_config_byte): Likewise. 7264: (pci_bios_write_config_word, pci_bios_write_config_dword): Likewise. 7265: 7266: Interrupt handlers do not return any value 7267: * i386/i386at/kd_mouse.c (kd_mouse_open): Change kdintr return type 7268: to `void'. 7269: (oldvect): Change return type to `void'. 7270: * linux/dev/arch/i386/kernel/irq.c (linux_timer_intr): Likewise. 7271: (intnull, prtnull, linux_intr, linux_bad_intr): Likewise. 7272: (old_clock_handler): Likewise. 7273: 7274: Use selector definitions from Mach for Linux code 7275: * linux/src/include/asm-i386/segment.h [MACH]: Include <machine/gdt.h> 7276: and <machine/ldt.h>. 7277: [MACH && MACH_HYP] (KERNEL_CS, KERNEL_DS): Remove macros. 7278: [MACH && !MACH_HYP] (KERNEL_CS, KERNEL_DS): Likewise. 7279: [MACH] (USER_CS, USER_DS): Likewise. 7280: 7281: Move linux/dev/include/asm-i386/segment.h to src tree 7282: * linux/dev/include/asm-i386/segment.h: Move to ... 7283: * linux/src/include/asm-i386/segment.h: ... here. 7284: 7285: Match function types with `struct tty' member functions 7286: * i386/i386at/com.c (comstart): Change return type to `void'. 7287: * i386/i386at/lpr.c (lprstop): Likewise. 7288: 7289: Use explicit type int when defining register variables 7290: * linux/src/drivers/scsi/aha1542.c (WAIT, WAITd): Define variables 7291: with explicit type `register int' and not just `register'. 7292: 7293: 2009-12-16 Samuel Thibault <[email protected]> 7294: 7295: Add Xen support 7296: 2009-03-11 Samuel Thibault <[email protected]> 7297: 7298: * i386/i386/vm_param.h (VM_MIN_KERNEL_ADDRESS) [MACH_XEN]: Set to 7299: 0x20000000. 7300: * i386/i386/i386asm.sym (pfn_list) [VM_MIN_KERNEL_ADDRESS == 7301: LINEAR_MIN_KERNEL_ADDRESS]: Define to constant PFN_LIST. 7302: 7303: 2009-02-27 Samuel Thibault <[email protected]> 7304: 7305: * i386/intel/pmap.c [MACH_HYP] (INVALIDATE_TLB): Call hyp_invlpg 7306: instead of flush_tlb when e - s is compile-time known to be 7307: PAGE_SIZE. 7308: 7309: 2008-11-27 Samuel Thibault <[email protected]> 7310: 7311: * i386/configfrag.ac (enable_pae): Enable by default on the Xen 7312: platform. 7313: 7314: 2007-11-14 Samuel Thibault <[email protected]> 7315: 7316: * i386/i386at/model_dep.c (machine_relax): New function. 7317: (c_boot_entry): Refuse to boot as dom0. 7318: 7319: 2007-10-17 Samuel Thibault <[email protected]> 7320: 7321: * i386/i386/fpu.c [MACH_XEN]: Disable unused fpintr(). 7322: 7323: 2007-08-12 Samuel Thibault <[email protected]> 7324: 7325: * Makefile.am (clib_routines): Add _START. 7326: * i386/xen/xen_boothdr: Use _START for VIRT_BASE and PADDR_OFFSET. Add 7327: GUEST_VERSION and XEN_ELFNOTE_FEATURES. 7328: 7329: 2007-06-13 Samuel Thibault <[email protected]> 7330: 7331: * i386/i386/user_ldt.h (user_ldt) [MACH_XEN]: Add alloc field. 7332: * i386/i386/user_ldt.c (i386_set_ldt) [MACH_XEN]: Round allocation of 7333: LDT to a page, set back LDT pages read/write before freeing them. 7334: (user_ldt_free) [MACH_XEN]: Likewise. 7335: 7336: 2007-04-18 Samuel Thibault <[email protected]> 7337: 7338: * device/ds_routines.c [MACH_HYP]: Add hypervisor block and net devices. 7339: 7340: 2007-02-19 Thomas Schwinge <[email protected]> 7341: 7342: * i386/xen/Makefrag.am [PLATFORM_xen] (gnumach_LINKFLAGS): Define. 7343: 7344: * Makefrag.am: Include `xen/Makefrag.am'. 7345: * configure.ac: Include `xen/configfrag.ac'. 7346: (--enable-platform): Support the `xen' platform. 7347: * i386/configfrag.ac: Likewise. 7348: * i386/Makefrag.am [PLATFORM_xen]: Include `i386/xen/Makefrag.am'. 7349: 7350: 2007-02-19 Samuel Thibault <[email protected]> 7351: Thomas Schwinge <[email protected]> 7352: 7353: * i386/xen/Makefrag.am: New file. 7354: * xen/Makefrag.am: Likewise. 7355: * xen/configfrag.ac: Likewise. 7356: 7357: 2007-02-11 (and later dates) Samuel Thibault <[email protected]> 7358: 7359: Xen support 7360: * Makefile.am (clib_routines): Add _start. 7361: * Makefrag.am (include_mach_HEADERS): Add include/mach/xen.h. 7362: * device/cons.c (cnputc): Call hyp_console_write. 7363: * i386/Makefrag.am (libkernel_a_SOURCES): Move non-Xen source to 7364: [PLATFORM_at]. 7365: * i386/i386/debug_trace.S: Include <i386/xen.h> 7366: * i386/i386/fpu.c [MACH_HYP] (init_fpu): Call set_ts() and clear_ts(), 7367: do not enable CR0_EM. 7368: * i386/i386/gdt.c: Include <mach/xen.h> and <intel/pmap.h>. 7369: [MACH_XEN]: Make gdt array extern. 7370: [MACH_XEN] (gdt_init): Register gdt with hypervisor. Request 4gb 7371: segments assist. Shift la_shift. 7372: [MACH_PSEUDO_PHYS] (gdt_init): Shift pfn_list. 7373: * i386/i386/gdt.h [MACH_XEN]: Don't define KERNEL_LDT and LINEAR_DS. 7374: * i386/i386/i386asm.sym: Include <i386/xen.h>. 7375: [MACH_XEN]: Remove KERNEL_LDT, Add shared_info's CPU_CLI, CPU_PENDING, 7376: CPU_PENDING_SEL, PENDING, EVTMASK and CR2. 7377: * i386/i386/idt.c [MACH_HYP] (idt_init): Register trap table with 7378: hypervisor. 7379: * i386/i386/idt_inittab.S: Include <i386/i386asm.h>. 7380: [MACH_XEN]: Set IDT_ENTRY() for hypervisor. Set trap table terminator. 7381: * i386/i386/ktss.c [MACH_XEN] (ktss_init): Request exception task switch 7382: from hypervisor. 7383: * i386/i386/ldt.c: Include <mach/xen.h> and <intel/pmap.h> 7384: [MACH_XEN]: Make ldt array extern. 7385: [MACH_XEN] (ldt_init): Set ldt readwrite. 7386: [MACH_HYP] (ldt_init): Register ldt with hypervisor. 7387: * i386/i386/locore.S: Include <i386/xen.h>. Handle KERNEL_RING == 1 7388: case. 7389: [MACH_XEN]: Read hyp_shared_info's CR2 instead of %cr2. 7390: [MACH_PSEUDO_PHYS]: Add mfn_to_pfn computation. 7391: [MACH_HYP]: Drop Cyrix I/O-based detection. Read cr3 instead of %cr3. 7392: Make hypervisor call for pte invalidation. 7393: * i386/i386/mp_desc.c: Include <mach/xen.h>. 7394: [MACH_HYP] (mp_desc_init): Panic. 7395: * i386/i386/pcb.c: Include <mach/xen.h>. 7396: [MACH_XEN] (switch_ktss): Request stack switch from hypervisor. 7397: [MACH_HYP] (switch_ktss): Request ldt and gdt switch from hypervisor. 7398: * i386/i386/phys.c: Include <mach/xen.h> 7399: [MACH_PSEUDO_PHYS] (kvtophys): Do page translation. 7400: * i386/i386/proc_reg.h [MACH_HYP] (cr3): New declaration. 7401: (set_cr3, get_cr3, set_ts, clear_ts): Implement macros. 7402: * i386/i386/seg.h [MACH_HYP]: Define KERNEL_RING macro. Include 7403: <mach/xen.h> 7404: [MACH_XEN] (fill_descriptor): Register descriptor with hypervisor. 7405: * i386/i386/spl.S: Include <i386/xen.h> and <i386/i386/asm.h> 7406: [MACH_XEN] (pic_mask): #define to int_mask. 7407: [MACH_XEN] (SETMASK): Implement. 7408: * i386/i386/vm_param.h [MACH_XEN] (HYP_VIRT_START): New macro. 7409: [MACH_XEN]: Set VM_MAX_KERNEL_ADDRESS to HYP_VIRT_START- 7410: LINEAR_MIN_KERNEL_ADDRESS + VM_MIN_KERNEL_ADDRESS. Increase 7411: KERNEL_STACK_SIZE and INTSTACK_SIZE to 4 pages. 7412: * i386/i386at/conf.c [MACH_HYP]: Remove hardware devices, add hypervisor 7413: console device. 7414: * i386/i386at/cons_conf.c [MACH_HYP]: Add hypervisor console device. 7415: * i386/i386at/model_dep.c: Include <sys/types.h>, <mach/xen.h>. 7416: [MACH_XEN] Include <xen/console.h>, <xen/store.h>, <xen/evt.h>, 7417: <xen/xen.h>. 7418: [MACH_PSEUDO_PHYS]: New boot_info, mfn_list, pfn_list variables. 7419: [MACH_XEN]: New la_shift variable. 7420: [MACH_HYP] (avail_next, mem_size_init): Drop BIOS skipping mecanism. 7421: [MACH_HYP] (machine_init): Call hyp_init(), drop hardware 7422: initialization. 7423: [MACH_HYP] (machine_idle): Call hyp_idle(). 7424: [MACH_HYP] (halt_cpu): Call hyp_halt(). 7425: [MACH_HYP] (halt_all_cpus): Call hyp_reboot() or hyp_halt(). 7426: [MACH_HYP] (i386at_init): Initialize with hypervisor. 7427: [MACH_XEN] (c_boot_entry): Add Xen-specific initialization. 7428: [MACH_HYP] (init_alloc_aligned, pmap_valid_page): Drop zones skipping 7429: mecanism. 7430: * i386/intel/pmap.c: Include <mach/xen.h>. 7431: [MACH_PSEUDO_PHYS] (WRITE_PTE): Do page translation. 7432: [MACH_HYP] (INVALIDATE_TLB): Request invalidation from hypervisor. 7433: [MACH_XEN] (pmap_map_bd, pmap_create, pmap_destroy, pmap_remove_range) 7434: (pmap_page_protect, pmap_protect, pmap_enter, pmap_change_wiring) 7435: (pmap_attribute_clear, pmap_unmap_page_zero, pmap_collect): Request MMU 7436: update from hypervisor. 7437: [MACH_XEN] (pmap_bootstrap): Request pagetable initialization from 7438: hypervisor. 7439: [MACH_XEN] (pmap_set_page_readwrite, pmap_set_page_readonly) 7440: (pmap_set_page_readonly_init, pmap_clear_bootstrap_pagetable) 7441: (pmap_map_mfn): New functions. 7442: * i386/intel/pmap.h [MACH_XEN] (INTEL_PTE_GLOBAL): Disable global page 7443: support. 7444: [MACH_PSEUDO_PHYS] (pte_to_pa): Do page translation. 7445: [MACH_XEN] (pmap_set_page_readwrite, pmap_set_page_readonly) 7446: (pmap_set_page_readonly_init, pmap_clear_bootstrap_pagetable) 7447: (pmap_map_mfn): Declare functions. 7448: * i386/i386/xen.h: New file. 7449: * i386/xen/xen.c: New file. 7450: * i386/xen/xen_boothdr.S: New file. 7451: * i386/xen/xen_locore.S: New file. 7452: * include/mach/xen.h: New file. 7453: * kern/bootstrap.c [MACH_XEN] (boot_info): Declare variable. 7454: [MACH_XEN] (bootstrap_create): Rebase multiboot header. 7455: * kern/debug.c: Include <mach/xen.h>. 7456: [MACH_HYP] (panic): Call hyp_crash() without delay. 7457: * linux/dev/include/asm-i386/segment.h [MACH_HYP] (KERNEL_CS) 7458: (KERNEL_DS): Use ring 1. 7459: * xen/block.c: New file. 7460: * xen/block.h: Likewise. 7461: * xen/console.c: Likewise. 7462: * xen/console.h: Likewise. 7463: * xen/evt.c: Likewise. 7464: * xen/evt.h: Likewise. 7465: * xen/grant.c: Likewise. 7466: * xen/grant.h: Likewise. 7467: * xen/net.c: Likewise. 7468: * xen/net.h: Likewise. 7469: * xen/ring.c: Likewise. 7470: * xen/ring.h: Likewise. 7471: * xen/store.c: Likewise. 7472: * xen/store.h: Likewise. 7473: * xen/time.c: Likewise. 7474: * xen/time.h: Likewise. 7475: * xen/xen.c: Likewise. 7476: * xen/xen.h: Likewise. 7477: * xen/public/COPYING: Import file from Xen. 7478: * xen/public/callback.h: Likewise. 7479: * xen/public/dom0_ops.h: Likewise. 7480: * xen/public/domctl.h: Likewise. 7481: * xen/public/elfnote.h: Likewise. 7482: * xen/public/elfstructs.h: Likewise. 7483: * xen/public/event_channel.h: Likewise. 7484: * xen/public/features.h: Likewise. 7485: * xen/public/grant_table.h: Likewise. 7486: * xen/public/kexec.h: Likewise. 7487: * xen/public/libelf.h: Likewise. 7488: * xen/public/memory.h: Likewise. 7489: * xen/public/nmi.h: Likewise. 7490: * xen/public/physdev.h: Likewise. 7491: * xen/public/platform.h: Likewise. 7492: * xen/public/sched.h: Likewise. 7493: * xen/public/sysctl.h: Likewise. 7494: * xen/public/trace.h: Likewise. 7495: * xen/public/vcpu.h: Likewise. 7496: * xen/public/version.h: Likewise. 7497: * xen/public/xen-compat.h: Likewise. 7498: * xen/public/xen.h: Likewise. 7499: * xen/public/xencomm.h: Likewise. 7500: * xen/public/xenoprof.h: Likewise. 7501: * xen/public/arch-x86/xen-mca.h: Likewise. 7502: * xen/public/arch-x86/xen-x86_32.h: Likewise. 7503: * xen/public/arch-x86/xen-x86_64.h: Likewise. 7504: * xen/public/arch-x86/xen.h: Likewise. 7505: * xen/public/arch-x86_32.h: Likewise. 7506: * xen/public/arch-x86_64.h: Likewise. 7507: * xen/public/io/blkif.h: Likewise. 7508: * xen/public/io/console.h: Likewise. 7509: * xen/public/io/fbif.h: Likewise. 7510: * xen/public/io/fsif.h: Likewise. 7511: * xen/public/io/kbdif.h: Likewise. 7512: * xen/public/io/netif.h: Likewise. 7513: * xen/public/io/pciif.h: Likewise. 7514: * xen/public/io/protocols.h: Likewise. 7515: * xen/public/io/ring.h: Likewise. 7516: * xen/public/io/tpmif.h: Likewise. 7517: * xen/public/io/xenbus.h: Likewise. 7518: * xen/public/io/xs_wire.h: Likewise. 7519: 7520: 2009-11-30 Samuel Thibault <[email protected]> 7521: 7522: Add stack-protector support 7523: * kern/debug.c (__stack_chk_guard): New variable 7524: (__stack_chk_fail): New function. 7525: 7526: Use gcc builtins for stdarg.h when available 7527: * i386/include/mach/sa/stdarg.h [__GNUC__ >= 3] (va_list): 7528: Typedef to __builtin_va_list. 7529: (va_start): define to __builtin_va_start. 7530: (va_end): define to __builtin_va_end. 7531: (va_arg): define to __builtin_va_arg. 7532: 7533: 2009-11-28 Samuel Thibault <[email protected]> 7534: 7535: Fix commit d088a062 7536: * vm/memory_object_proxy.c: New file. 7537: 7538: 2009-11-28 Samuel Thibault <[email protected]> 7539: 7540: Add memory object proxies 7541: Memory object proxies permit to replicate objects with different parameters, 7542: like reduced privileged, different offset, etc. They are e.g. essential for 7543: properly managing memory access permissions. 7544: 7545: 2005-06-06 Marcus Brinkmann <[email protected]> 7546: 7547: * include/mach/mach4.defs: Add memory_object_create_proxy 7548: interface. 7549: * Makefile.in (vm-cfiles): Add memory_object_proxy.c. 7550: * i386/include/mach/i386/vm_types.h (vm_offset_array_t): New type. 7551: * include/mach/memory_object.h (memory_object_array_t): New type. 7552: * vm/memory_object_proxy.c: New file. 7553: * kern/ipc_kobject.h: New macro IKOT_PAGER_PROXY. Bump up macros 7554: IKOT_UNKNOWN and IKOT_MAX_TYPE. 7555: * kern/ipc_kobject.c (ipc_kobject_notify): Call 7556: memory_object_proxy_notify for IKOT_PAGER_PROXY. 7557: * vm/vm_init.c (vm_mem_init): Call memory_object_proxy_init. 7558: * vm/vm_user.c (vm_map): Implement support for proxy memory 7559: objects. 7560: 7561: 2009-11-28 Samuel Thibault <[email protected]> 7562: 7563: Add -H option to halt on panic 7564: 2005-12-29 Soeren D. Schulze <[email protected]> 7565: 7566: * i386/i386at/model_dep.c (reboot_on_panic) [!MACH_KBD]: New variable. 7567: (c_boot_entry) [!MACH_KBD]: Set reboot_on_panic to 0 if kernel_cmdline 7568: contains '-H'. 7569: * kern/debug.c (panic): Call halt_all_cpus with reboot_on_panic as 7570: argument. 7571: 7572: 2009-11-28 Samuel Thibault <[email protected]> 7573: 7574: Add sis900 driver 7575: 2005-05-01 Andreas B. Mundt <[email protected]> 7576: 7577: * i386/README-Drivers: Likewise. 7578: * i386/linux/Makefile.in (linux-net-files): Added 'sis900'. 7579: * i386/linux/configure.ac (sis900): New driver. 7580: * linux/dev/drivers/net/Space.c: Add conditional probes 'sis900' 7581: driver. 7582: * linux/src/drivers/net/sis900.c: New file. 7583: * linux/src/drivers/net/sis900.h: Likewise. 7584: 7585: 2009-11-28 Samuel Thibault <[email protected]> 7586: 7587: Add XMM FPU registers save/restore support. 7588: * i386/include/mach/i386/fp_reg.h (struct i386_fp_regs): Invert array 7589: indices. 7590: (struct i386_xfp_save): New structure. 7591: (FP_387X): New macro. 7592: * i386/i386/thread.h (struct i386_fpsave_state): Add xfp_save_state 7593: member, keep existing fp_save_state and fp_regs members in an unnamed 7594: union member. Move fp_valid member to the end of the structure. 7595: * i386/i386/fpu.h (fxsave, fxrstor): New macros. 7596: (fpu_save_context): Use fxsave() when FPU is FXSR-capable. 7597: * i386/i386/fpu.c: Include <i386/locore.h> 7598: (mxcsr_feature_mask): New variable. 7599: (fp_save, fp_load): Add declaration. 7600: (init_fpu): Add FXSR-capable FPU detection. 7601: (fpu_module_init): Request 16-byte alignment to zinit() for 7602: i386_fpsave_state structures. 7603: (twd_i387_to_fxsr, twd_fxsr_to_i387): New functions. 7604: (fpu_set_state): Convert FPU state when FPU is FXSR-capable. 7605: (fpu_get_state): Convert FPU state when FPU is FXSR-capable. 7606: (fpexterrflt): Pass to i386_exception either xfp_save_state or 7607: fp_save_state according to FPU type. 7608: (fpastintr): Likewise. 7609: (fp_load): Likewise. Use fxrstor() when FPU is FXSR-capable. 7610: (fp_save): Use fxsave() when FPU is FXSR-capable. 7611: (fp_state_alloc): Add FXSR-aware initialization. 7612: 7613: Fix debugging message 7614: * i386/i386/fpu.c (fphandleerr): Fix debugging message. 7615: 7616: Add native FPU error support 7617: * i386/i386/fpu.c (init_fpu): Enable CR0_NE when processor is at 7618: least i486. 7619: (fpintr): Move code handling the FPU state to... 7620: (fphandleerr): New function. 7621: (fpexterrflt): Rename into... 7622: (fpastintr): New function. 7623: (fpexterrflt): Reintroduce function, calls fphandleerr then 7624: raises exception. 7625: * i386/i386/fpu.h (fpastintr): Add prototype. 7626: * i386/i386/trap.c (i386_astintr): Call fpastintr instead of 7627: fpexterrflt. 7628: 7629: Panic when no FPU is available 7630: * i386/i386/fpu.c (init_fpu): Panic if no FPU is available. 7631: 7632: Initialize FPU in MS-DOS compatibility mode 7633: * i386/i386/fpu.c (init_fpu): Make sure CR0_NE is dropped. 7634: 7635: 2009-11-22 Samuel Thibault <[email protected]> 7636: 7637: Declare memcmp function 7638: * include/string.h (memcmp): New prototype. 7639: 7640: Do not fail if no PTE maps virtual address 0 7641: * i386/intel/pmap.c (pmap_unmap_page_zero): Do not fail if no PTE maps 7642: virtual address 0. 7643: 7644: Remove (vm_offset_t) casts from constants 7645: * i386/i386/vm_param.h (VM_MIN_KERNEL_ADDRESS, VM_MAX_KERNEL_ADDRESS, 7646: LINEAR_MIN_KERNEL_ADDRESS, LINEAR_MAX_KERNEL_ADDRESS): Remove 7647: (vm_offset_t) cast, use UL suffix instead. 7648: * i386/include/mach/i386/vm_param.h (VM_MIN_ADDRESS, 7649: VM_MAX_ADDRESS): Remove (vm_offset_t) cast, use UL suffix instead. 7650: 7651: Really call startrtclock() with an active thread. 7652: * kern/startup.c (cpu_launch_first_thread): Call startrtclock 7653: really after starting at least one thread. 7654: 7655: Add pmap parameter to INVALIDATE_TLB 7656: * i386/intel/pmap.c (INVALIDATE_TLB): Add pmap parameter. 7657: (PMAP_UPDATE_TLBS): Pass pmap parameter. 7658: (process_pmap_updates): Likewise. 7659: (pmap_unmap_page_zero): Use INVALIDATE_TLB instead of hardcoding 7660: it. 7661: 7662: Add phys_first_addr and phys_last_addr declaration 7663: * i386/i386/model_dep.h (phys_first_addr, phys_last_addr): New 7664: declarations. 7665: * i386/i386/trap.c: Include <i386/model_dep.h> 7666: (user_trap): Remove extern declaration of phys_last_addr. 7667: * i386/intel/pmap.c: Include <i386/model_dep.h> 7668: (phys_first_addr, phys_last_addr): Remove extern declaration. 7669: 7670: Use typeof(boot_info) 7671: * i386/i386at/model_dep.c (i386at_init): Use typeof(boot_info) 7672: instead of hardcoding struct multiboot_info*. 7673: 7674: Fix early interrupt crash 7675: * i386/i386at/model_dep.c (i386at_init): Move int_stack_high 7676: assignation to before setting up interrupts. 7677: 7678: Add missing phystokv/kvtophys conversions 7679: * i386/i386/mp_desc.c (interrupt_stack_alloc): Apply phystokv to 7680: stack_start. 7681: * i386/i386at/model_dep.c (i386at_init): Apply phystokv to 7682: memory allocated to duplicate multiboot information. Apply 7683: _kvtophys before calling set_cr3. Apply phystokv to 7684: phys_last_addr before assigning to int_stack_high. 7685: * i386/intel/pmap.c (pmap_bootstrap): Apply phystokv to 7686: phys_last_addr, use kernel_virtual_start instead of 7687: phys_last_addr. Apply phystokv to allocated bootstrap page 7688: table pages. Apply _kvtophys to page table pointers before 7689: writing into page table. 7690: (pmap_enter): Apply phystokv to allocated page table page, apply 7691: kvtophys to deallocated page table page. 7692: 7693: Show command lines in task list 7694: * Makefile.am (clib_routines): Add memcmp. 7695: * i386/i386/db_machdep.h (DB_GNUMACH_TASK_NAME): New macro. 7696: * i386/i386/db_interface.c (GNU): New macro. 7697: [GNU] (looks_like_command): New function. 7698: (db_task_name): When task map is kernel_pmap, return 7699: DB_GNUMACH_TASK_NAME. 7700: [GNU] (db_task_name): Use a GNU/Hurd-specific heuristic to get 7701: argv[] of a task. 7702: 7703: Replace phys_mem_va with VM_MIN_KERNEL_ADDRESS 7704: * i386/i386/vm_param.h (phystokv): Use VM_MIN_KERNEL_ADDRESS 7705: instead of phys_mem_va. 7706: (_kvtophys): New macro. 7707: * i386/i386at/model_dep.c (phys_mem_va): Remove variable. 7708: 7709: Avoid confusion between global and local ldt vars 7710: * i386/i386/pcb.c (switch_ktss): Rename ldt variable into tldt. 7711: 7712: Do not assume that VM_MIN_KERNEL_ADDRESS is 0 7713: * i386/i386/vm_param.h (VM_MAX_KERNEL_ADDRESS): Add 7714: VM_MIN_KERNEL_ADDRESS. 7715: (kvtolin): Subtract VM_MIN_KERNEL_ADDRESS. 7716: (lintokv): Add VM_MIN_KERNEL_ADDRESS. 7717: * i386/i386at/model_dep.c (mem_size_init): Subtract 7718: VM_MIN_KERNEL_ADDRESS in computation of phys_last_addr. 7719: (i386at_init): Use VM_MIN_KERNEL_ADDRESS instead of 0 as 7720: argument of lin2pdenum. 7721: 7722: Rewamp spl.h 7723: * i386/i386/spl.h (splnet, splbio, spl7, splx_cli): Add 7724: prototypes. 7725: 7726: Do not assume that VM_MIN_KERNEL_ADDRESS is 0 7727: * i386/i386/gdt.c (gdt_init): Subtract VM_MIN_KERNEL_ADDRESS 7728: from LINEAR_MIN_KERNEL_ADDRESS to avoid assuming the former 7729: being 0. 7730: 7731: Fix db_search_null loop 7732: * i386/i386/db_interface.c (db_search_null): Do not decrease 7733: vaddr twice. 7734: 7735: Introduce KERNEL_RING 7736: * i386/i386/seg.h (KERNEL_RING): New macro, set to 0. 7737: (ACC_PL_K, SEL_PL_K): Use KERNEL_RING instead of assuming 0. 7738: * i386/i386/gdt.h (KERNEL_CS, KERNEL_DS): Likewise. 7739: * i386/i386/db_interface.c (kdb_trap, kdb_kentry): Likewise. 7740: * i386/i386/kttd_interface.c (kttd_trap, kttd_netentry): Likewise. 7741: * i386/i386/i386asm.sym: Add KERNEL_RING expression. 7742: 7743: Rename kd_atoi into mach_atoi 7744: * i386/i386at/kd.c: Include <util/atoi.h> 7745: (DEFAULT): Remove, replaced by MACH_ATOI_DEFAULT. 7746: (kd_parserest): Use mach_atoi instead of kd_atoi and MACH_ATOI_DEFAULT 7747: instead of DEFAULT. 7748: (kd_atoi): Move and rename function to... 7749: * util/atoi.c: ... mach_atoi in new file. 7750: * i386/i386at/kd.h (kd_atoi): Move and rename declaration to... 7751: * util/atoi.h: ... mach_atoi in new file. 7752: * Makefrag.am (libkernel_a_SOURCES): Add util/atoi.c 7753: 7754: 2009-11-16 Guillem Jover <[email protected]> 7755: 7756: Update dependency patch for Automake 1.10.2, 1.11, and thereabouts. 7757: * config.status.dep.patch: Refresh. 7758: 7759: 2009-11-11 Zheng Da <[email protected]> 7760: 7761: Fix a bug in vm_page_grab_contiguous_pages. 7762: * vm/vm_resident.c (vm_page_grab_contiguous_pages): Maintain the free vm page queue correctly. 7763: 7764: 2009-11-01 Samuel Thibault <[email protected]> 7765: 7766: Show EATA probing progression 7767: * linux/src/drivers/scsi/eata.c (port_detect): Print the port being 7768: probed. 7769: 7770: 2009-10-26 Samuel Thibault <[email protected]> 7771: 7772: Fix VM_MAX_ADDRESS default 7773: * i386/include/mach/i386/vm_param.h (VM_MAX_ADDRESS): Set back to 0xc0000000 by 7774: default. 7775: 7776: Make tuning VM_MAX_ADDRESS trivial 7777: * i386/i386/vm_param.h (LINEAR_MIN_KERNEL_ADDRESS): Set to 7778: VM_MAX_ADDRESS instead of hardcoding to 0xc0000000. 7779: (VM_MAX_KERNEL_ADDRESS): Set to LINEAR_MAX_KERNEL_ADDRESS - 7780: LINEAR_MIN_KERNEL_ADDRESS instead of hardcoding to 0x40000000. 7781: * i386/include/mach/i386/vm_param.h: Document how it may be tuned. 7782: 7783: Fix build 7784: * i386/i386at/com.h (comtimer): Fix prototype of comtimer. 7785: 7786: 2009-10-25 Samuel Thibault <[email protected]> 7787: 7788: Fix warning 7789: * i386/i386at/autoconf.c: Include <i386/pic.h> even when [!LINUX_DEV]. 7790: 7791: Fix warning 7792: * i386/i386/trap.h: Include <mach/mach_types.h> 7793: 7794: Fix warning 7795: * i386/i386/pcb.c (thread_setstatus): Comment out state variable 7796: declaration. 7797: 7798: Fix warning 7799: * device/net_io.c (net_set_filter): Cast filter into bpf_insn_t for 7800: bpf_eq call. 7801: 7802: Fix warning 7803: * i386/i386/locore.S (TIME_INT_ENTRY): Fix comment. 7804: 7805: Fix warning 7806: * i386/intel/pmap.c (i): Declare only when [NCPUS > 1]. 7807: 7808: 2009-10-20 Samuel Thibault <[email protected]> 7809: 7810: Fix warnings 7811: * devices/io_reqs.h (io_req): Set type of io_alloc_size field to 7812: vm_size_t. 7813: * device/ds_routines.c (device_write_dealloc): Remove cast of 7814: io_alloc_size field. 7815: * device/subrs.c (brelse): Likewise. 7816: 7817: Fix warnings 7818: * device/chario.c (ttypush): Set parameter type to void * instead of 7819: struct tty *, and implicitly cast the former into the latter instead. 7820: * i386/i386at/com.c: Include <kern/mach_clock.h>. 7821: (timeout, ttrstrt): Remove declarations. 7822: (comtimer): Add unused void * parameter. 7823: (comopen): Pass NULL to comtimer function. 7824: * i386/i386at/kd.h (kd_belloff): Add unused void * parameter. 7825: * i386/i386at/kd.c (timeout): Remove declaration. 7826: (kd_belloff): Add unused void * parameter. 7827: (feep, kdsetbell): Pass NULL to kd_belloff function. 7828: * i386/i386at/lpr.c: Include <mach_clock.h>. 7829: (timeout, ttrstrt): Remove declarations. 7830: * kern/mach_clock.c (softclock, timeout, untimeout): Set parameter 7831: type of fcn function pointer to void * instead of char *. Set type 7832: of param to void * instead of char *. 7833: * kern/mach_clock.h (timer_elt): Set parameter type of fcn member 7834: to void * instead of char *. Set time of param member to void * instead 7835: of char *. 7836: (timeout): Set parameter type of fcn function pointer parameter to void 7837: * instead of char *. 7838: (untimeout): Likewise, set type of param parameter to void * instead of 7839: char *. 7840: * kern/sched_prim.c (sched_init): Remove cast of recompute_priorities. 7841: Replace (char *)0 with NULL. 7842: (thread_timeout): Set parameter type to void * instead of thread_t, and 7843: implicitly cast the former into the latter instead. 7844: (thread_timeout_setup): Remove cast of thread_timeout, cast 7845: thread_depress_timeout into (void (*) (void*)). Remove cast of thread. 7846: (thread_recompute_priorities): Add unused void * parameter. 7847: 7848: Fix warnings 7849: * device/tty.h (tty): Set type of t_ispeed and t_ospeed members to 7850: unsigned char instead of (potentially signed) char. 7851: 7852: Fix warnings 7853: * vm/vm_resident.c (vm_page_grab_contiguous_pages): Remove unused 7854: count_zeroes and not_found_em labels. 7855: 7856: Fix warning 7857: * vm/vm_pageout.c (vm_pageout_scan): Remove unused Restart label. 7858: 7859: Fix warning 7860: * vm/vm_map.c (vm_map_lookup): Add braces to fix readability. 7861: 7862: Fix warning 7863: * kern/thread.c (_s_): Remove unused variable. 7864: 7865: Fix warnings 7866: * kern/bootstrap.c (task_insert_send_right): Remove spurious cast of 7867: port into ipc_object_t. 7868: (load_protect_text, load_fault_in_text, boot_map, 7869: load_bootstrap_symbols): Comment out unused variables and function. 7870: (read_exec): Comment out unused user_map variable. 7871: 7872: Fix boot from grub2 with more than 800MiB memory 7873: * i386/i386at/model_dep.c (init_alloc_aligned): Add declaration. 7874: (i386at_init): Use init_alloc_aligned to allocate memory to save the 7875: content pointed by boot_info: cmdline, mods_addr, mod_start, and string. 7876: Set kernel_cmdline to the newly allocated string. 7877: (c_boot_entry): Do not set kernel_cmdline. 7878: 7879: Better estimate avail_remaining 7880: * i386/i386at/model_dep.c (mem_size_init): Move avail_remaining computation to 7881: after all phys_last_addr corrections. 7882: 7883: 2009-10-18 Samuel Thibault <[email protected]> 7884: 7885: Revert "Fix multiboot compliancy concerning x86 D flag" 7886: This reverts commit de00e82b8c4491a4ff3320c0ddd80ac91ed0977b. 7887: 7888: Flags already get cleared using push/pop a few instructions later. 7889: 7890: 2009-10-17 Samuel Thibault <[email protected]> 7891: 7892: Fix multiboot compliancy concerning x86 D flag 7893: i386/i386at/boothdr.S (boot_entry): Clear D flag. 7894: 7895: 2009-10-14 Samuel Thibault <[email protected]> 7896: 7897: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 7898: 7899: Update constants to nowadays standards 7900: kern/zalloc.c (zone_map_size): Increase to 64MiB. 7901: i386/i386at/model_dep.c (mem_size_init): Reduce cap to 1/6 of memory 7902: space to save room for zalloc area. 7903: linux/src/drivers/block/ide.h (INITIAL_MULT_COUNT): Set to 16. 7904: vm/vm_map.h (VM_MAP_COPY_PAGE_LIST_MAX): Set to 64. 7905: vm/vm_object.c (vm_object_cached_max): Set to 4000. 7906: 7907: 2009-10-14 Thomas Schwinge <[email protected]> 7908: 7909: Merge branch 'master-zhengda' 7910: 7911: 2009-10-14 Zheng Da <[email protected]> 7912: 7913: Apply patch #6851: fix a bug in BPF * net_io.c (net_filter): Correct the amount of data of a packet accepted by BPF. 7914: 7915: 2009-10-14 Samuel Thibault <[email protected]> 7916: 7917: Fix yet more allocation failures during gc 7918: kern/zalloc.c (zone_gc): Allocate and free two vm_map_kentry_zone elements to 7919: make sure the gc will be able to allocate two in vm_map_delete. 7920: 7921: Revert spurious part of 909c941d 7922: 7923: Fix db kernel memory access 7924: i386/i386/db_interface.c (db_read_bytes): Also check addr against 7925: VM_MAX_KERNEL_ADDRESS. 7926: 7927: Fix macro escapes 7928: i386/intel/pmap.c (INVALIDATE_TLB): Fix macro escapes 7929: 7930: Fix allocation failure during gc 7931: kern/zalloc.c (zone_gc): Allocate and free a vm_map_kentry_zone element to make 7932: sure the gc will be able to allocate one for vm_map_delete. 7933: 7934: More restrictive requirements on zone alignment 7935: kern/zalloc.c (zinit): Panic if requested alignment doesn't match page 7936: size and list elements. 7937: 7938: Fix return with lock held 7939: vm/vm_map.c (vm_map_copy_overwrite): Unlock dst_map before returning. 7940: 7941: Fix return with lock held 7942: vm/vm_map.c (vm_map_enter): Use RETURN instead of return to unlock the 7943: map before returning. 7944: 7945: Make local variable static 7946: kern/lock.c (lock_wait_time): Add static qualifier. 7947: 7948: Advertise memory size truncations 7949: i386/i386at/model_dep.c (mem_size_init): Advertise memory size 7950: truncations. 7951: 7952: 2009-09-27 Samuel Thibault <[email protected]> 7953: 7954: Disable CMD-640 support 7955: It messes too much with probing and brings hang issue. 7956: 7957: * i386/linux/dev/include/linux/autoconf.h 7958: (CONFIG_BLK_DEV_CMD640, CONFIG_BLK_DEV_CMD640_ENHANCED): 7959: Undefine macros. 7960: 7961: 2009-07-11 Thomas Schwinge <[email protected]> 7962: 7963: Switch to the new ChangeLog style. 7964: * ChangeLog: Wipe out content, and add instructions about how to get it back. 7965: * ChangeLog.0: Remove file. 7966: * ChangeLog.00: Likewise. 7967: 7968: 2009-02-26 Samuel Thibault <[email protected]> 7969: 7970: * i386/i386/prog_reg.h (invlpg_linear): Rename macro into... 7971: (invlpg_linear_range): ... this. 7972: (invlpg_linear): New macro. 7973: * i386/intel/pmap.c (INVALIDATE_TLB): Call invlpg_linear instead 7974: of flush_tlb when e - S is compile-time known to be PAGE_SIZE, 7975: instead of run-time known to be less than 32 * PAGE_SIZE. 7976: 7977: 2009-01-05 Samuel Thibault <[email protected]> 7978: 7979: * i386/i386/gdt.h (LINEAR_DS): New macro. 7980: * i386/i386/gdt.c (gdt_init): Initialize LINEAR_DS descriptor. 7981: * i386/i386/proc_reg.h (invlpg_user): Rename macro into... 7982: (invlpg_linear): ... this. Use movw instead of movl to set KERNEL_DS 7983: selector. Use LINEAR_DS selector instead of USER_DS selector. 7984: * i386/intel/pmap.c (INVALIDATE_TLB): Call invlpg_linear instead of 7985: invlpg_user. For now, disable use of invlpg. 7986: 7987: 2008-12-30 Samuel Thibault <[email protected]> 7988: 7989: * i386/i386/proc_reg.h [__ASSEMBLER__ && __GNUC__]: Include 7990: <i386/gdt.h> and <i386/ldt.h> 7991: (invlpg_user): New macro. 7992: * i386/intel/pmap.c (INVALIDATE_TLB): Call invlpg_user instead 7993: of invlpg. 7994: (pmap_remove, pmap_page_protect, pmap_protect, pmap_enter, 7995: pmap_collect, phys_attribute_clear): Call PMAP_UPDATE_TLBS 7996: after pde update instead of before. 7997: 7998: 2008-12-29 Samuel Thibault <[email protected]> 7999: 8000: * i386/intel/pmap.c (pmap_bootstrap): Extend kernel virtual memory to 8001: at least the size of the physical memory. 8002: 8003: 2008-12-05 Samuel Thibault <[email protected]> 8004: 8005: * vm/vm_fault.c (vm_fault_page): Print value returned 8006: memory_object_data_request as %x instead of %d. 8007: 8008: 2008-11-15 Shakthi Kannan <[email protected]> 8009: 8010: * device/ds_routines.h (device_reference, device_deallocate): Add 8011: function prototypes. 8012: * kern/task.c (task_create): Moved unused i variable inside FAST_TAS. 8013: * vm/vm_map.h (vm_map_copy_page_discard): Add function prototype. 8014: * vm/vm_kern.c (projected_buffer_deallocate): Give &map->hdr 8015: instead of map to _vm_map_clip_start and _vm_map_clip_end functions. 8016: 8017: 2008-12-01 Samuel Thibault <[email protected]> 8018: 8019: * device/device_emul.h (device_emulation_ops): Turn back reference, 8020: dealloc, dev_to_port, write_trap and writev_trap into taking a void*, 8021: as they do not always take a mach_device_t. 8022: * device/ds_routines.c (mach_device_emulation_ops): Cast 8023: mach_device_reference, mach_device_deallocate, 8024: mach_convert_device_to_port, device_write_trap and device_writev_trap 8025: to (void*) to make them accept a void* argument. 8026: * linux/pcmcia-cs/glue/ds.c (device_deallocate): Rename function 8027: into... 8028: (ds_device_deallocate): ... this. 8029: (dev_to_port): Call ds_device_deallocate instead of device_deallocate. 8030: (linux_pcmcia_emulation_ops): Use ds_device_deallocate instead of 8031: device_deallocate, cast mach_device_reference to (void*) to make it 8032: accept a void* argument. 8033: 8034: 2008-11-28 Thomas Schwinge <[email protected]> 8035: 8036: * doc/Makefrag.am: Only advertize updating the web pages on 8037: gnumach-1-branch. 8038: 8039: 2008-11-27 Samuel Thibault <[email protected]> 8040: 8041: * i386/i386/proc_reg.h (invlpg): New macro. 8042: * i386/intel/pmap.c (INVALIDATE_TLB): If portion to be flushed is less 8043: than 32 pages, use calls to invlpg instead of flush_tlb. 8044: 8045: 2008-11-23 Samuel Thibault <[email protected]> 8046: 8047: * i386/i386/proc_reg.h (get_cr0, get_cr2, get_cr3, get_cr4, get_tr, 8048: get_ldt): Add volatile qualifier to asm statement to prevent gcc from 8049: optimizing it away since there seems to be no way to clobber these 8050: properly in the set_* macros. 8051: 8052: 2008-11-17 Thomas Schwinge <[email protected]> 8053: 8054: * Makefile.am (install_sh, INSTALL): Point to `build-aux/install-sh'. 8055: Make use of its `-C' option. 8056: 8057: * configure.ac: Require GNU Automake 1.10.1. 8058: * Makefile.am: Adapt. 8059: * Makefile.correct_output_files_for_.S_files.patch: Remove. 8060: 8061: 2008-07-19 Barry deFreese <[email protected]> 8062: 8063: * device/device_emul.h (struct device_emulation_ops): Make members 8064: reference, dealloc, dev_to_port, write_trap, and writev_trap take 8065: mach_device_t parameter instead of void *. 8066: * i386/i386at/autoconf.c: Make forward declarations for comintr() 8067: and lprintr() match prototype. Add brackets around initialization 8068: members for bus_ctlr and bus_device structs. 8069: * i386/i386at/conf.c (dev_name_list): Pass nomap instead of nulldev 8070: for map field. 8071: * i386/i386at/pic_isa.c (intnull, fpintr, hardclock, kdintr, 8072: prtnull): Declare the type of the value returned by functions to void. 8073: 8074: 2008-11-13 Thomas Schwinge <[email protected]> 8075: 8076: [task #8135 -- PAE for GNU Mach] 8077: * i386/configfrag.ac (enable_pae): Add checks: this is ix86-only. 8078: * doc/mach.texi (Configuration): Document the new option. 8079: 8080: 2008-11-11 Shakthi Kannan <[email protected]> 8081: 8082: * kern/eventcount.c (evc_wait_clear): Remove unused variable 'ret'. 8083: 8084: 2008-11-10 Samuel Thibault <[email protected]> 8085: 8086: [task #8135 -- PAE for GNU Mach] 8087: * i386/configfrag.ac: Add --enable-pae option, which defines PAE. 8088: * i386/i386/i386asm.sym (PDPSHIFT, PDEMASK, PTE_SIZE): New assembly 8089: macros. 8090: * i386/i386/locore.S (copyout_retry) [PAE]: Use page directory pointer 8091: bits, take PTE_SIZE into account. 8092: * i386/i386at/model_dep.c (i386at_init) [PAE]: Set second initial 2MB 8093: page. Enable PAE bit. Set cr3 to page directory pointer table instead 8094: of page directory. 8095: * i386/intel/pmap.c (pmap_bootstrap, pmap_create) [PAE]: Allocate 4 8096: pages for dirbase. Setup pdpbase. 8097: (pmap_destroy) [PAE]: Free 4 pages from dirbase. Free pdpbase. 8098: * i386/intel/pmap.h (pt_entry_t) [PAE]: Typedef to unsigned long long. 8099: (PDPSHIFT, PDPNUM, PDPMASK) [PAE]: New macros. 8100: (PDESHIFT, PDEMASK, PTEMASK) [PAE]: Set to PAE values. 8101: (lin2pdenum, NPDES) [PAE]: Make them take the page directory pointer 8102: index into account too. 8103: (struct pmap) [PAE]: Add `pdpbase' member. 8104: (set_dirbase): Remove macro, replaced by... 8105: (set_pmap): New macro, taking a pmap instead of the dirbase. 8106: (PMAP_ACTIVATE_USER): Use set_pmap instead of set_dirbase. 8107: 8108: 2008-11-05 Shakthi Kannan <[email protected]> 8109: 8110: * ipc/mach_port.c (mach_port_insert_right): Cast poly into 8111: (ipc_object_t) to fix compiler warning when calling 8112: ipc_object_copyout_name. 8113: 8114: 2008-08-31 Samuel Thibault <[email protected]> 8115: 8116: * i386/i386/trap.c (user_trap): On page fault, raise exception instead 8117: of asserting that cr2 is below LINEAR_MIN_KERNEL_ADDRESS. 8118: 8119: 2008-07-29 Zheng Da <[email protected]> 8120: Manuel Menal <[email protected]> 8121: 8122: * include/device/net_status.h (NET_FLAGS): New macro. 8123: * linux/dev/glue/net.c (device_get_status): Handle NET_FLAGS case. 8124: (device_set_status): Likewise, calls dev_change_flags. 8125: * linux/dev/include/linux/netdevice.h (dev_change_flags): Declare 8126: function. 8127: * linux/dev/net/core/dev.c (dev_change_flags): Add function. 8128: 8129: 2008-08-03 Samuel Thibault <[email protected]> 8130: 8131: * i386/i386/lock.h (_simple_lock_xchg_, bit_lock, bit_unlock): Add 8132: memory clobbers. 8133: * i386/include/mach/i386/cthreads.h (spin_unlock, spin_try_lock): Add 8134: memory clobbers. 8135: 8136: 2008-07-23 Barry deFreese <[email protected]> 8137: 8138: * device/chario.c (ttyinput_many): Change chars param to char *. 8139: * device/tty.h (ttyinput_many): Likewise. 8140: * i386/i386/pcb.h: Include <mach/exec/exec.h>. 8141: * i386/i386at/autoconf.h: Include <chips/busses.h>. 8142: * i386/i386at/model_dep.c (inittodr): Cast &new_time.seconds to u_int *. 8143: * ipc/mach_port.c (mach_port_insert_right): Cast poly to ipc_object_t. 8144: * ipc/mach_debug.c (host_ipc_hash_info): Initialize size to 0 to make 8145: the compiler believe that there is no bug. 8146: * ipc/mach_debug.c (mach_port_space_info): Likewise for tree_size and 8147: table_size. 8148: * i386/i386at/com.c (commctl): Likewise for b. 8149: * i386/i386/trap.c (user_trap): Likewise for exc. 8150: * i386/i386/user_ldt.c (i386_set_ldt): Likewise for old_copy_object. 8151: * i386/i386at/com.c (comintr): Check line_stat&iOR instead of line&iOR. 8152: 8153: 2008-07-23 Barry deFreese <[email protected]> 8154: 8155: * i386/i386/locore.h (copyinmsg, copyoutmsg): 8156: Make parameters const void* and void* instead of vm_offset_t. 8157: * i386/i386at/com.c (comportdeath): Cast port as ipc_port_t in 8158: tty_portdeath call. 8159: * i386/i386at/kd.c (kdportdeath): Likewise. 8160: * i386/i386at/lpr.c (lprportdeath): Likewise. 8161: * i386/i386at/kd_mouse.c (mouse_handle_byte): Cast param to wakeup() as 8162: vm_offset_t. 8163: * i386/intel/pmap.c (pmap_destroy): Cast arg 2 of kmem_free() to 8164: vm_offset_t. 8165: * i386/intel/pmap.h: Cast all arg 1 params to kvtophy() to vm_offset_t. 8166: * ipc/ipc_kmsg.c: Remove casts from params to copyinmsg and 8167: copyoutmsg calls. 8168: * ipc/mach_msg.c: Likewise. 8169: * kern/exceptions.c: Likewise. 8170: * ipc/mach_msg.c: Remove casts from params to copyout calls. 8171: * ipc/bootstrap.c: Likewise. 8172: * kern/ipc_tt.c (mach_ports_register): Cast memory[i] as ipc_port_t in 8173: assignment. 8174: 8175: 2008-07-19 Barry deFreese <[email protected]> 8176: 8177: * chips/busses.h (bus_ctlr, bus_device): Make intr return void instead 8178: of int. 8179: * device/tty.h (tty): Make t_start and t_stop return void instead of 8180: int. 8181: * i386/i386/ipl.h (ivect[]): return void instead of int. 8182: * i386/i386at/pic_isa.h (ivect[]): Likewise. 8183: * i386/i386at/kd_mouse.c (mouseintr): Likewise. 8184: * i386/i386at/com.c (comintr, comstop): Likewise. 8185: * i386/i386at/kd.c (kdcnputc, kdstart, kdstop, kdintr): Likewise. 8186: * i386/i386/trap.c (exception, thread_exception_return, i386_exception): 8187: Add __attribute__ ((noreturn)). 8188: * i386/i386at/kd.c (kdcnprobe): Return 0 at end of function. 8189: * i386/i386at/lpr.c (lprintr, lprstart): Return void instead of int. 8190: (lprstart): Don't return numeric values any longer. 8191: * kern/eventcount.c (evc_wait_clear): Return a value. 8192: * kern/exceptions.c (exception, exception_try_task, exception_no_server, 8193: exception_raise, exception_raise_continue, exception_raise_continue_slow, 8194: exception_raise_continue_fast): Add __attribute__ ((noreturn)). 8195: (exception, exceptio_try_task, exception_raise, 8196: exception_raise_continue_slow, exception_raise_continue_fast): 8197: Remove spurious returns. 8198: (exception_no_server): Add panic() on return from thread_halt_self(). 8199: 8200: 2008-07-20 Samuel Thibault <[email protected]> 8201: 8202: * linux/pcmcia-cs/glue/wireless_glue.h (schedule_task): Add parameter 8203: to Debugger() call. 8204: * kern/lock_mon.c (retry_simple_lock, retry_bit_lock): Likewise. 8205: * kern/machine.c (Debugger): Remove declaration. 8206: * device/net_io.c (net_deliver): Fix parenthesis to really round up. 8207: * kern/mach_clock.c (timeout): Make the `fcn' parameter take a void * 8208: instead of char *. 8209: * kern/mach_clock.h (timeout): Likewise. 8210: * device/net_io.c (net_set_filter): Reference the proper member 8211: instead of casting pointers. 8212: * device/subrs.c (ether_sprintf): Set type of `i' to `int'. 8213: * i386/i386/trap.c (kernel_trap): Pass page fault address to printf. 8214: * i386/i386at/rtc.c (rtcget): Fix parenthesis to really test the bit. 8215: * linux/src/include/linux/tqueue.h (queue_task_irq, 8216: queue_task_irq_off, queue_task, run_task_queue): Turn into static 8217: inlines. 8218: 8219: 2008-07-19 Barry deFreese <[email protected]> 8220: 8221: * device/dev_hdr.h (dev_name_lookup, dev_set_indirection): Add 8222: prototypes. 8223: * device/dev_pager.c: Include <vm/vm_user.h>. 8224: * device/ds_routines.c: Likewise. 8225: * device/subrs.c: Likewise. 8226: * device/device_init.c: Include <device/tty.h>. 8227: * device/ds_routines.h (iowait): Add prototype. 8228: * device/net_io.h (net_kmsg_collect): Add prototype. 8229: * device/net_io.c (hash_ent_remove, net_free_dead_infp, 8230: net_free_dead_entp, bpf_validate, bpf_eq, net_add_q_info, 8231: bpf_match): Add forward declarations. 8232: * device/subrs.h: New header. 8233: * i386/i386/fpu.h: Include <sys/types.h>. 8234: Change <i386/thread.h> include to <kern/thread.h>. 8235: (fp_save, fp_load, fp_free, fpu_module_init, fpu_set_state, 8236: fpu_get_state, fpnoextflt, fpextovrflt, fpexterrflt, init_fpu): 8237: Add prototypes. 8238: * i386/i386/gdt.h (gdt_init): Add prototype. 8239: * i386/i386/io_map.c: Include <vm/pmap.h>. 8240: * vm/vm_kern.c: Likewise. 8241: * i386/i386/ktss.h (ktss_init): Add prototype. 8242: * i386/i386/ldt.h (ldt_init): Add prototype. 8243: * i386/i386/loose_ends.h: New header. 8244: * i386/i386/loose_ends.c (delay): Complete prototype. 8245: * i386/i386/model_dep.h (startrtclock): Add prototype. 8246: * i386/i386/pcb.h (load_context, stack_attach, stack_detach, 8247: switch_ktss): Add prototypes. 8248: * i386/i386/pic.h (form_pic_mask, picinit): Add prototypes. 8249: * i386/i386/pit.c: Include <i386/pic.h>. 8250: * i386/i386at/kd_mouse.c: Likewise. 8251: * i386/i386/pit.h (clkstart): Add prototype. 8252: * i386/i386/trap.c: Include <i386/fpu.h>, <intel/read_fault.h>, 8253: <vm/vm_fault.h>. 8254: * i386/i386/trap.h (interrupted_pc): Add prototype. 8255: * i386/i386/user_ldt.c: Include <i386/pcb.h>. 8256: * i386/i386at/autoconf.h: New header. 8257: * i386/i386at/com.h: New header. 8258: * i386/i386at/com.c: Include <i386at/autoconf.h>, <i386at/com.h>. 8259: * i386/i386at/idt.h (idt_init): Add prototype. 8260: * i386/i386at/int_init.h: New header. 8261: * i386/i386at/kd.c: Include <i386/loose_ends.h>. 8262: * kern/debug.c: Likewise. 8263: * i386/i386at/kd_event.c: Include <device/ds_routines.h>. 8264: * i386/i386at/kd_mouse.c: Likewise. 8265: * i386/i386at/kd_mouse.c: Include <device/subrs.h>, <i386at/com.h>. 8266: * i386/i386at/lpr.c: Include <i386at/autoconf.h> 8267: * i386/i386at/model_dep.c: Include: <i386/fpu.h>, <i386/gdt.h>, 8268: <i386/ktss.h>, <i386/ldt.h>, <i386/pic.h>, <i386/pit.h>, 8269: <i386at/autoconf.h>, <i386at/idt.h>, <i386at/int_init.h>, 8270: <i386at/kd.h>, <i386at/rtc.h>. 8271: * i386/i386at/rtc.h (readtodc, writetodc): Add prototypes. 8272: * i386/intel/pmap.h: Include <mach/vm_prot.h>. 8273: (pmap_bootstrap, pmap_unmap_page_zero, pmap_zero_page, pmap_copy_page, 8274: kvtophys): Add prototypes. 8275: * i386/intel/read_fault.h: New header. 8276: * kern/ast.h (ast_init, ast_check): Add prototypes. 8277: * kern/debug.c (Debugger): Move prototype to... 8278: * kern/debug.h (Debugger): ... here. 8279: * kern/eventcount.h (evc_notify_abort): Add prototype. 8280: * kern/ipc_mig.c: Include <kern/syscall_subr.h>, <kern/ipc_tt.h>, 8281: <device/ds_routines.h> 8282: * kern/ipc_mig.h: New header. 8283: * kern/ipc_tt.h (mach_reply_port): Add prototype. 8284: * kern/machine.h: New header. 8285: * kern/processor.h (pset_sys_bootstrap): Move prototype outside of 8286: MACH_HOST check. 8287: * kern/sched_prim.h (thread_bind, compute_priority, 8288: thread_timeout_setup): Add prototypes. 8289: * kern/startup.c: Include <kern/machine.h>, <machine/pcb.h>. 8290: * kern/syscall_subr.c: Include <kern/syscall_subr.h>. 8291: (thread_depress_abort): Remove prototype. 8292: * kern/syscall_subr.h: Include <sys/types.h>, <mach/mach_types.h> 8293: (thread_depress_abort): Add prototype. 8294: * kern/syscall_sw.c: Include: <kern/debug.h>. 8295: * kern/task.h (consider_task_collect): Add prototype. 8296: * kern/thread.c: Include <kern/eventcount.h>, <kern/ipc_mig.h>, 8297: <kern/syscall_subr.h>. 8298: * kern/thread.h (stack_collect): Add prototype. 8299: * linux/pcmcia-cs/glue/pcmcia_glue.h (Debugger): Remove prototype. 8300: * util/putchar.c: Include <device/cons.h>. 8301: * util/putchar.h: New header. 8302: * util/puts.c: Include <device/cons.h>, <util/putchar.h>. 8303: * vm/memory_object.c: Include <vm/vm_map.h>. 8304: (memory_object_data_provided): Move function below 8305: memory_object_data_supply definition. 8306: * vm/vm_init.c: Include <vm/vm_fault.h>. 8307: * vm/vm_kern.h (projected_buffer_in_range): Add prototype. 8308: * vm/vm_map.c: Include <vm/pmap.h>, <vm/vm_resident.h>. 8309: (vm_map_delete, vm_map_copyout_page_list, vm_map_copy_page_discard): 8310: Add forward declaration. 8311: * vm/vm_map.h (vm_map_copyin_object, vm_map_submap, 8312: _vm_map_clip_start, _vm_map_clip_end): Add prototypes. 8313: * vm/vm_pageout.c: Include <device/net_io.h>, <kern/task.h>, 8314: <machine/locore.h>. 8315: * vm/vm_resident.h: New header. 8316: * vm/vm_user.c: Include <vm/vm_kern.h>. 8317: * vm/pmap.h (pmap_pageable, pmap_map_bd): Add prototype. 8318: 8319: 2008-07-18 Andrei Barbu <[email protected]> 8320: 8321: * i386/i386/db_disasm.c (Iba): New macro. 8322: (db_inst_table): Use Iba for aam and aad instructions. 8323: (db_disasm): Decode operands for Iba case. 8324: * i386/i386/db_interface.c (db_read_bytes): Do not increment the 8325: address before printing it. 8326: * include/sys/types.h (int8_t, uint8_t, u_int8_t, int16_t, uint16_t, 8327: u_int16_t, int32_t, uint32_t, u_int32_t, int64_t, uint64_t, 8328: u_int64_t): New types. 8329: * ddb/db_sym.c (db_task_printsym): Do not print empty symbols. 8330: * ddb/db_break.c (db_set_breakpoint): Add db_breakpoint_t return type, 8331: return the breakpoint in non-ddb case. 8332: * ddb/db_break.h (BKPT_EXTERNAL): New macro. 8333: (db_set_breakpoint): Add declaration. 8334: * (ddb/db_sym.h): Add _DDB_DB_SYM_H_ header protection. 8335: (db_find_sym_and_offset, db_find_xtrn_sym_and_offset, 8336: db_find_task_sym_and_offset, db_find_xtrn_task_sym_and_offset): Call 8337: db_free_symbol. 8338: (db_free_symbol): New declaration. 8339: (db_sym_switch): New `free_symbol' member. 8340: (X_db_free_symbol): New macro. 8341: * ddb/db_sym.c (db_value_of_name, db_lookup, db_name_is_ambiguous, 8342: db_search_task_symbol, db_search_in_task_symbol, db_task_printsym): 8343: Call db_free_symbol. 8344: (db_free_symbol): New function. 8345: (dummy_db_free_symbol): New empty function. 8346: (x_db): Initialize `free_symbol' memberi with dummy_db_free_symbol. 8347: * i386/i386/db_trace.c (db_i386_stack_trace): Call db_free_symbol. 8348: * kern/lock_mon.c (print_lock_info): Likewise. 8349: * include/sys/types.h (quad): Remove type. 8350: 8351: 2008-07-15 Barry deFreese <[email protected]> 8352: 8353: * device/cons.c (cnputc): Turn parameter `c' into a char. 8354: * device/cons.h (cninit, cngetc, cnmaygetc, cnputc): Add prototypes. 8355: * i386/i386at/model_dep.c: Include <device/cons.h> 8356: * kern/printf.c: Include <device/cons.h> 8357: (cnputc): Remove prototype. 8358: (vprintf, iprintf): Explicitely cast cnputc into the type _doprnt 8359: expects. 8360: * linux/dev/kernel/printk.c: Include <device/cons.h> 8361: (cnputc): Remove prototype. 8362: * device/ds_routines.c: Include <machine/locore.h> 8363: * ipc/ipc_kmsg.c: Likewise. 8364: * kern/bootstrap.c: Likewise. 8365: * kern/exception.c: Likewise. 8366: * kern/ipc_mig.c: Likewise. 8367: * kern/sched_prim.c: Likewise. 8368: * kern/time_stamp.c: Likewise. 8369: * vm/vm_kern.c: Likewise. 8370: * device/ds_routine.h (ds_notify): Add prototype. 8371: * kern/ipc_kobject.c: Include <device/ds_routines.h> 8372: * device/net_io.h (net_ast): Add prototype. 8373: * ipc/ipc_kmsg.c: Include <device/net_io.h> 8374: * kern/ast.c: Include <device/net_io.h> 8375: * i386/i386at/kd.h (kd_isupper, kd_islower, kd_senddata, kd_sendcmd, 8376: kd_cmdreg_write, kd_mouse_drain, set_kd_state, kd_setleds1, kd_setleds2, 8377: cnsetleds, kdreboot, kd_putc, kd_parseesc, kd_down, kd_up, kd_cr, 8378: kd_tab, kd_left, kd_right, kd_scrollup, kd_scrolldn, kd_cls, kd_home, 8379: kd_atoi, kd_insch, kd_cltobcur, kd_cltopcur, kd_cltoecur, kd_clfrbcur, 8380: kd_eraseln, kd_insln, kd_delln, kd_delch, kd_erase, kd_bellon, 8381: kd_belloff, kdinit, kdsetkbent, kdgetkbent, kdsetbell, kd_resend, 8382: kd_handle_ack, kd_kbd_magic, kdstate2idx, kd_parserest, kdcnmaygetc, 8383: kd_slmwd, kd_slmscu, kd_slmscd): Add prototypes. 8384: * i386/i386at/kd.c (do_modifier): Add prototype. 8385: * kern/ipc_kobject.c: Include <vm/vm_object.h> 8386: * vm/vm_object.h: Include <sys/types.h> and <ipc/ipc_types.h>. 8387: (vm_object_coalesce, vm_object_pager_wakeup): Add prototypes. 8388: * kern/priority.c: Include <kern/sched_prim.h>. 8389: * kern/sched_prim.c (recompute_priorities, update_priority): Remove 8390: prototypes. 8391: * kern/sched_prim.h (update_priority, compute_my_priority): Add 8392: prototypes. 8393: * kern/time_stamp.h (timestamp_init): Add prototype. 8394: * kern/startup.c: Include <kern/time_stamp.h>. 8395: * ipc/ipc_kmsg.c: Include <vm/vm_user.h> and <ipc/ipc_hash.h>. 8396: * ipc/ipc_mqueue (ipc_mqueue_copyin): Add prototype. 8397: * kern/bootstrap.c: Include <vm/vm_user.h>. 8398: * kern/exceptions.c: Include <ipc/ipc_notify.h>. 8399: * kern/ipc_kobject.h (ipc_kobject_notify): Add prototype. 8400: * kern/ipc_mig.c: Include <device/dev_hdr.h>. 8401: * kern/pc_sample.c: Include <machine/trap.h>. 8402: * kern/printf.h (safe_gets): Add prototype. 8403: * kern/processor.c: Include <kern/ipc_tt.h>. 8404: * kern/queue.h (insque): Add prototype. 8405: * kern/startup.c: Include <kern/mach_factor.h> and <kern/xpr.h>. 8406: * kern/thread.h (thread_start, kernel_thread, thread_priority, 8407: thread_set_own_priority, thread_max_priority, thread_policy, 8408: consider_thread_collect, stack_privilege): Add prototypes. 8409: * kern/timer.h (timer_normalize, timer_init, init_timers): Add 8410: prototypes. 8411: * vm/vm_map.h (vm_map_lookup_entry, vm_map_entry_delete): Add 8412: prototypes. 8413: * device/chario.c: Include <vm/vm_user.h> 8414: * device/device_init.c (chario_init): Remove prototype. 8415: * device/tty.h (ttyinput_many, tty_cts, tty_get_status, 8416: tty_set_status, tty_flush, ttrstrt, ttstart, ttyclose, tty_portdeath, 8417: chario_init): Add prototypes. 8418: * i386/i386/model_dep.h: New header. 8419: * i386/i386at/model_dep.c: Include <i386/model_dep.h>. 8420: * kern/debug.c: Include <machine/model_dep.h>. 8421: * kern/mach_clock.c: Likewise. 8422: * kern/sched_prim.c: Likewise. 8423: * kern/startup.c: Likewise. 8424: * kern/machine.c: Likewise. 8425: (halt_cpu): Remove prototype. 8426: * vm/pmap.h (pmap_grab_page): Add prototype. 8427: * ipc/mach_port.h: New header. 8428: * ipc/mach_port.c: Include <ipc/mach_port.h>. 8429: (mach_port_get_receive_status): Add forward declaration. 8430: * kern/bootstrap.c: Include <ipc/mach_port.h>. 8431: * kern/ipc_mig.c: Likewise. 8432: * kern/syscall_sw.c: Likewise. 8433: * device/dev_pager.c (device_pager_data_request, 8434: device_pager_data_request_done, device_pager_init_pager): Fix printf 8435: formats. 8436: * i386/i386/debug_i386.c (dump_ss): Likewise. 8437: * i386/i386/trap.c (user_trap): Likewise. 8438: * i386/i386at/com.c (comtimer): Likewise. 8439: * ipc/ipc_notify (ipc_notify_port_deleted, ipc_notify_msg_accepted, 8440: ipc_notify_port_destroyed, ipc_notify_no_senders, 8441: ipc_notify_send_once, ipc_notify_dead_name): Likewise. 8442: * kern/ipc_kobject.c (ipc_kobject_destroy): Likewise. 8443: * kern/sched_prim.c (do_runq_scan): Likewise. 8444: * linux/pcmcia-cs/clients/smc91c92_cs.c (smc_start_xmit): Likewise. 8445: * linux/src/drivers/net/sundance.c (start_tx): Likewise. 8446: * vm/vm_fault.c (vm_fault_page): Likewise. 8447: * vm/vm_map.c (vm_map_pmap_enter): Likewise. 8448: * vm/vm_object.c (vm_object_collapse): Likewise. 8449: 8450: 2008-07-04 Samuel Thibault <[email protected]> 8451: 8452: * linux/src/drivers/net/rtl8139.c (rtl8129_open): Move IRQ 8453: initialization after ring initialization. 8454: 8455: 2008-07-02 Samuel Thibault <[email protected]> 8456: 8457: * linux/dev/include/asm/segment.h (__put_user, __get_user): Add 8458: always_inline attribute. 8459: 8460: 2008-06-29 Samuel Thibault <[email protected]> 8461: 8462: * i386/i386/fpu.c (fpintr): Do not panic if the we receive the 8463: interrupt twice in the same thread. 8464: 8465: 2008-05-28 Thomas Schwinge <[email protected]> 8466: 8467: [bug #23417, patch #6508 -- Building with -g3] 8468: * Makefile.am (MIGCOM): Revert the 2008-05-19 change. 8469: 8470: 2008-05-25 Andrei Barbu <[email protected]> 8471: 8472: * ddb/db_aout.c (aout_db_symbol_values): Add stab parameter. 8473: * ddb/db_sym.h (db_sym_switch): Add stab parameter to symbol_values 8474: member. 8475: (X_db_symbol_values): Pass stab parameter to symbole_values function. 8476: 8477: 2008-05-19 Thomas Schwinge <[email protected]> 8478: 8479: [patch #6508 -- Building with -g3] 8480: * Makefile.am (MIGCOM): Let it filter through CPP again. 8481: Suggested by Andrei Barbu <[email protected]>. 8482: 8483: 2008-05-09 Andrei Barbu <[email protected]> 8484: 8485: * i386/i386/loose_ends.c (DELAY): Use volatile qualifier instead of 8486: register to prevent optimization. 8487: 8488: 2008-03-10 Samuel Thibault <[email protected]> 8489: 8490: * doc/Makefrag.am: Fix typo. 8491: 8492: 2008-03-07 Samuel Thibault <[email protected]> 8493: 8494: * i386/i386/locore.S (syscall): Clear direction flag at entry. 8495: 8496: 2008-02-06 Samuel Thibault <[email protected]> 8497: 8498: * linux/src/drivers/block/triton.c (ide_init_triton): Enable Bus 8499: Mastering if not enabled by BIOS. 8500: 8501: 2007-12-30 Samuel Thibault <[email protected]> 8502: 8503: * kern/debug.c (panic) [MACH_KDB]: Don't wait before running the 8504: debugger. 8505: * linux/dev/glue/block.c (MAX_BUF): Set to sane stack-friendly 8 8506: instead of blindly following VM_MAP_COPY_PAGE_LIST_MAX. 8507: (rdwr_full): increment blk by cc >> bshift instead of nb. 8508: 8509: 2007-12-11 Thomas Schwinge <[email protected]> 8510: 8511: * linux/dev/include/linux/nfs.h: Remove unused file. 8512: * linux/src/include/linux/nfs.h: Likewise. 8513: 8514: 2007-12-10 Thomas Schwinge <[email protected]> 8515: 8516: * i386/Makefrag.am (i386/i386at/boothdr.o, i386/i386at/interrupt.o) 8517: (i386/i386/cswitch.o, i386/i386/locore.o): Remove targets. 8518: * configure.ac <Dependency tracking for `.S' files>: Add a hack to 8519: re-add the four targets with have been removed above for the (legacy) 8520: case only where they are actually needed. 8521: 8522: 2007-12-05 Guillem Jover <[email protected]> 8523: 8524: * i386/Makefrag.am (i386/i386at/interrupt.o): New target, depends on 8525: i386/i386/i386asm.h 8526: (i386/i386/cswitch.o): Likewise. 8527: (i386/i386/locore.o): Likewise. 8528: 8529: 2007-11-18 Samuel Thibault <[email protected]> 8530: 8531: * i386/intel/pmap.c (pmap_map_bd): Use 8532: INTEL_PTE_NCACHE|INTEL_PTE_WTHRU. Get pmap lock. 8533: 8534: 2007-11-15 Samuel Thibault <[email protected]> 8535: 8536: * ddb/db_examine.c (db_strcpy): Add extra parentheses around 8537: assignment used as boolean. 8538: * ddb/db_sym.c (db_qualify, db_lookup): Likewise. 8539: 8540: 2007-11-08 Thomas Schwinge <[email protected]> 8541: 8542: * doc/mach.texi: Do the copyright and licensing things as suggested by 8543: the GNU Texinfo manual. 8544: 8545: 2007-10-09 Thomas Schwinge <[email protected]> 8546: 8547: * linux/dev/glue/net.c (device_open) <LINUX_IFF_ALLMULTI>: Comment. 8548: 8549: 2007-10-08 Stefan Siegl <[email protected]> 8550: 8551: * linux/dev/glue/net.c (device_open): Set LINUX_IFF_ALLMULTI flag 8552: on device and propagate. 8553: 8554: 2007-10-02 Samuel Thibault <[email protected]> 8555: 8556: * kern/zalloc.c (zget_space): Fix last change. 8557: 8558: 2007-09-03 Samuel Thibault <[email protected]> 8559: 8560: * kern/zalloc.c (zget_space): Align zalloc_next_space again after 8561: calling kmem_alloc_wired (which may sleep). 8562: 8563: 2007-08-16 Samuel Thibault <[email protected]> 8564: 8565: * Makefile.am (clib_routines): Add udivdi3, __udivdi3 and _end. Fix 8566: edata into _edata. 8567: (gnumach-undef): Do not remove heading _s. 8568: (clib-routines.o): Add -lgcc. 8569: 8570: 2007-07-09 Samuel Thibault <[email protected]> 8571: 8572: * i386/i386/db_interface.c (int_regs): Drop gs and fs fields. 8573: (kdb_kentry): Get fs and gs from struct i386_interrupt_state instead of 8574: struct int_regs. 8575: * i386/i386/kttd_interface.c (int_regs, kttd_netentry): Likewise. 8576: * i386/i386/locore.S (all_intrs): Save fs and gs and set them to kernel 8577: segment too. 8578: (return_to_iret): Restore fs and gs too. 8579: (return_to_iret_i): Likewise. 8580: (ast_from_interrupt): Set fs and gs to kernel segment too. 8581: (kdb_from_iret): Don't save/restore fs and gs either. 8582: (ttd_from_iret): Likewise. 8583: * i386/i386/thread.h (i386_interrupt_state): Add gs and fs fields. 8584: * linux/src/include/asm-i386/irq.h (SAVE_ALL): Set gs to kernel 8585: segment too. 8586: 8587: 2007-08-04 Samuel Thibault <[email protected]> 8588: 8589: * i386/i386/locore.S (TIME_TRAP_UENTRY, TIME_TRAP_SENTRY) 8590: (TIME_TRAP_UEXIT): Use TH_SYSTEM_TIMER instead of old TH_SYS_TIMER. 8591: (current_tstamp, TIME_TRAP_UENTRY, TIME_TRAP_SENTRY, TIME_TRAP_UEXIT) 8592: (TIME_INT_ENTRY, TIME_INT_EXIT, timer_switch, start_timer): Use 8593: EXT(current_tstamp) and EXT(current_timer) instead of _current_tstampt 8594: and _current_timer. 8595: * i386/i386/io_perm.c (i386_io_perm_create): Lock io_perm->port, not 8596: inexistent device->port. 8597: * i386/i386at/model_dep.c: Make init_alloc_aligned() extern. 8598: * i386/i386/mp_desc.c: Include <machine/vm_param.h> 8599: (interrupt_stack_alloc): Call init_alloc_aligned() instead of 8600: init_alloc(). 8601: (cpu_control, interrupt_processor, cpu_start, start_other_cpus): New 8602: functions. 8603: * i386/i386/mp_desc.h: Include <i386at/idt.h> instead of "idt.h" 8604: * i386/i386/cswitch.S: Use EXT(interrupt_stack) instead of 8605: _interrupt_stack. 8606: * i386/i386/i386asm.sym (MP_GDT, MP_IDT): Remove macros. 8607: * i386/i386/lock.h: Don't include_next "lock.h". 8608: * i386/linux/dev/include/linux/autoconf.h [NCPUS > 1]: Define 8609: CONFIG_SMP. 8610: * linux/dev/include/asm-i386/smp.h: New file. 8611: * linux/dev/init/main.c [__SMP__ && __i386] (smp_loops_per_tick): 8612: Restore variable. 8613: * linux/pcmcia-cs/modules/cs_internal.h: Use __SMP__ instead of 8614: USE_SPIN_LOCKS. 8615: * linux/pcmcia-cs/modules/i82365.c: Likewise. 8616: * linux/pcmcia-cs/modules/rsrc_mgr.c: Likewise. 8617: * linux/dev/include/asm-i386/system.h: Update to Linux 2.2 for SMP. 8618: * configfrag.ac (mach_ncpus): Define to 1. 8619: (NCPUS): Set to $mach_ncpus. 8620: [$mach_ncpus > 1] (MULTIPROCESSOR): Set to 1. 8621: * linux/configfrag.ac [$mach_ncpus > 1] (__SMP__): Define. 8622: * linux/dev/arch/i386/kernel/irq.c: Include <asm/hardirq.h>. 8623: (local_bh_count, local_irq_count, global_irq_holder, global_irq_lock) 8624: (global_irq_count, check_smp_invalidate, show, wait_on_bh) 8625: (wait_on_irq, synchronize_bh, synchronize_irq, get_irqlock) 8626: (__global_cli, __global_sti, __global_save_flags) 8627: (__global_restore_flags): New variables and functions from Linux 2.2 8628: * linux/src/drivers/net/3c515.c (test_and_set_bit): Remove macro. 8629: * linux/src/drivers/net/de4x5.c (test_and_set_bit): Remove macro. 8630: * linux/src/drivers/net/eth16i.c (test_and_set_bit): Remove macro. 8631: * linux/src/drivers/net/kern_compat.h (test_and_set_bit): Remove macro. 8632: * linux/src/drivers/net/pcnet32.c (test_and_set_bit): Remove macro. 8633: * linux/src/include/linux/compatmac.h (test_and_set_bit) 8634: (test_and_clear_bit): Remove macro. 8635: * linux/src/include/asm-i386/atomic.h (atomic_read): New macro. 8636: * linux/src/include/asm-i386/bitops.h (test_and_set_bit) 8637: (test_and_clear_bit, test_and_change_bit): New inline functions. 8638: * linux/src/include/asm-i386/hardirq.h (local_bh_count): New 8639: declaration. 8640: * linux/src/include/linux/tasks.h (NR_CPUS): Set to NCPUS. 8641: (NO_PROC_ID): New macro. 8642: 8643: 2007-07-08 Samuel Thibault <[email protected]> 8644: 8645: * i386/i386/seg.h (SZ_64): New macro. 8646: * i386/i386/user_ldt.c (selector_check, i386_set_gdt): Check 8647: user-provided descriptor against SZ_64. 8648: 8649: 2007-07-04 Samuel Thibault <[email protected]> 8650: 8651: * i386/intel/pmap.c (pmap_enter): Use INTEL_PTE_NCACHE|INTEL_PTE_WTHRU 8652: when cpu >= 486 and physical address is after memory end. 8653: 8654: 2007-06-23 Samuel Thibault <[email protected]> 8655: 8656: * i386/i386/trap.c (user_trap): Read faulting linear address before 8657: using it. 8658: 8659: 2007-06-02 Thomas Schwinge <[email protected]> 8660: 8661: * Makerules.mig.am: New file, factored out of code of... 8662: * Makefrag.am: ... this file and... 8663: * Makerules.am: ... this file. 8664: * i386/Makefrag.am: Update comment. 8665: 8666: * Makefile.am (MIGFLAGS): Remove. 8667: (MIGCOM): Add ``-n''. 8668: * Makerules.am: Adapt to that. 8669: 8670: 2007-05-09 Thomas Schwinge <[email protected]> 8671: 8672: * include/mach/mach_types.defs (userprefix, serverprefix): Set, if 8673: requested (by setting USERPREFIX respective SERVERPREFIX). 8674: 8675: 2007-05-08 Samuel Thibault <[email protected]> 8676: 8677: * i386/i386/fpu.c (fpu_set_state): Set fp_valid to TRUE. Free the 8678: unused ifps. 8679: 8680: 2007-05-07 Thomas Schwinge <[email protected]> 8681: 8682: [bug #15295 -- Mach lets processes write to I/O ports] 8683: 8684: * i386/Makefrag.am (libkernel_a_SOURCES): Add `i386/i386/io_perm.c', 8685: `i386/i386/io_perm.h', `i386/i386/machine_task.c', `i386/i386/task.h' 8686: and remove `i386/i386/io_port.h', `i386/i386/iopb.c', 8687: `i386/i386/iopb.h'. 8688: 8689: * i386/i386/io_port.h: Remove file. 8690: * i386/i386at/kd.c: Don't include <i386/io_port.h>. 8691: (vga_port_list, kd_io_device, kd_io_map_open, kd_io_map_close): Don't 8692: define and don't use anymore. 8693: 8694: * include/stddef.h: New file. 8695: 8696: * i386/i386/io_perm.c: Include <string.h>, <device/device_emul.h>, 8697: <ipc/ipc_space.h> and don't include <oskit/ds_oskit.h>. 8698: (io_perm_device_emulation_ops): New variable. 8699: (dev_open_alloc, setup_no_senders): Remove declarations. 8700: (convert_io_perm_to_port, convert_port_to_io_perm, io_perm_deallocate): 8701: Rewrite. 8702: (no_senders): New function. 8703: (i386_io_perm_create, i386_io_perm_modify): Rewrite partially, to adapt 8704: to the GNU Mach environment. 8705: * i386/i386/io_perm.h: Include <device/dev_hdr.h> and 8706: <ipc/ipc_types.h>. 8707: (io_perm, io_perm_t): New structure and accompanying type definition. 8708: (IO_PERM_NULL): Define. 8709: * i386/i386/locore.S (ktss): Move variable to... 8710: * i386/i386/ktss.c: ... here, make it a ``struct task_tss''. 8711: (ktss_init): Initialize the `task_tss' structure and the i/o permission 8712: bit map. 8713: * i386/i386/ktss.h: Adapt to that. 8714: * i386/i386/machine_task.c (machine_task_module_init): Adapt the `zinit' 8715: call to the GNU Mach environment. 8716: * i386/i386/mp_desc.c: Include <machine/ktss.h>. 8717: * i386/i386/tss.h: Include <machine/io_perm.h>. 8718: (task_tss): New structure, equivalent to the OSKit-Mach one. 8719: * i386/include/mach/i386/mach_i386.defs: Don't include 8720: <device/device_types.defs>. 8721: (device_list_t): Remove type. 8722: * i386/include/mach/i386/mach_i386_types.h (device_list_t): Remove type 8723: definition. 8724: 8725: 2007-05-07 Marcus Brinkmann <[email protected]> 8726: 8727: [bug #15295 -- Mach lets processes write to I/O ports] 8728: 8729: * i386/i386/iopb.h, i386/i386/iopb.c: Obsolete files removed. 8730: 8731: * i386/i386/pcb.c (switch_context): Update the I/O permission 8732: bitmap from stack_handoff() here (not only in stack_handoff()). 8733: 8734: * i386/i386/machine_task.c (machine_task_module_init): Set 8735: ZONE_COLLECTABLE and ZONE_EXHAUSTIBLE flags for the iopb zone. 8736: Requested by Roland McGrath <[email protected]>. 8737: 8738: * i386/i386/io_perm.h: New file. 8739: * i386/i386/io_perm.c: New file. 8740: * i386/i386/machine_task.c: New file. 8741: * i386/i386/mp_desc.h: (struct mp_desc_table): Change type of ktss to 8742: struct task_tss. 8743: (mp_ktss): Likewise for array of pointers to the struct. 8744: * i386/i386/mp_desc.c: Include `machine/tss.h' and `machine/io_perm.h'. 8745: (mp_ktss): Change type to array of struct task_tss. 8746: (mp_desc_init): Cast pointer to x86_tss into pointer to task_tss, 8747: and use size of struct task_tss instead size of struct x86_tss. 8748: Initialize the task_tss structure. 8749: * i386/i386/pcb.c: Include `stddef.h' and `machine/tss.h'. 8750: (iopb_create, iopb_destroy): Prototypes removed. 8751: (curr_ktss): Cast pointer to base_tss to pointer to struct 8752: task_tss. 8753: (switch_ktss): Always use kernel TSS. 8754: (update_ktss_iopb): New function. 8755: (stack_handoff): Call update_ktss_iopb. 8756: (pcb_module_init): Do not call iopb_init. 8757: (pcb_terminate): Do not call iopb_destroy. 8758: (thread_setstatus): Remove local variable tss. 8759: (thread_getstatus): Rewrite i386_ISA_PORT_MAP_STATE case handler. 8760: * i386/i386/task.h: New file. 8761: * i386/i386/thread.h: Do not include `i386/iopb.h'. 8762: (struct i386_machine_state): Remove member io_tss. 8763: * i386/include/mach/i386/mach_i386.defs [KERNEL_SERVER]: Include 8764: `machine/io_perm.h'. Define intran, outtran and destructor. 8765: (io_port_t): New type. 8766: (io_perm_t): Likewise. 8767: (i386_io_port_add): Interface removed. 8768: (i386_io_port_remove): Likewise. 8769: (i386_io_port_list): Likewise. 8770: (i386_io_perm_create): New interface. 8771: (i386_io_perm_modify): Likewise. 8772: * i386/include/mach/i386/mach_i386_types.h [MACH_KERNEL]: Include 8773: `i386/io_perm.h'. 8774: [!MACH_KERNEL]: Define types io_port_t and io_perm_t. 8775: * kern/task.c (task_init): Call machine_task_module_init. 8776: (task_create): Call machine_task_init. 8777: (task_deallocate): Call machine_task_terminate. 8778: (task_collect_scan): Call machine_task_collect. 8779: * task.h: Include `machine/task.h'. 8780: (struct task): Add member machine. 8781: 8782: 2007-05-06 Thomas Schwinge <[email protected]> 8783: 8784: * device/kmsg.c: Include <device/ds_routines.h>. 8785: (kmsg_lock): Use `decl_simple_lock_data'. 8786: (kmsgread, kmsg_read_done): Add two typecasts. 8787: 8788: * device/buf.h (minphys): Add return type. 8789: * device/device_types_kernel.h: We're not in the eighties anymore... 8790: * device/io_req.h: Likewise. 8791: 8792: 2007-05-05 Thomas Schwinge <[email protected]> 8793: 8794: * i386/i386at/model_dep.c (halt_cpu, halt_all_cpus): Call 8795: `machine_idle' to avoid busy-looping. 8796: 8797: * i386/intel/read_fault.c (intel_read_fault): Remove the last parameter 8798: from the calls of `vm_map_lookup'. 8799: 8800: We're not in the eighties anymore. List arguments in function 8801: prototypes and definitions for a lot of symbols. Also drop some unused 8802: prototypes. I refrain from listing every changed symbol. 8803: * vm/memory_object.c: Do as described. 8804: * vm/memory_object.h: Likewise. 8805: * vm/pmap.h: Likewise. 8806: * vm/vm_external.c: Likewise. 8807: * vm/vm_external.h: Likewise. 8808: * vm/vm_fault.c: Likewise. 8809: * vm/vm_fault.h: Likewise. 8810: * vm/vm_kern.h: Likewise. 8811: * vm/vm_map.c: Likewise. 8812: * vm/vm_map.h: Likewise. 8813: * vm/vm_pageout.h: Likewise. 8814: * vm/vm_user.h: Likewise. 8815: * vm/memory_object.h: Include <ipc/ipc_types.h>. 8816: * vm/pmap.h: Include <kern/thread.h>. 8817: * vm/vm_fault.h: Include <mach/vm_prot.h>, <vm/vm_map.h> and 8818: <vm/vm_types.h>. 8819: * vm/vm_map.h: Include <mach/vm_attributes.h> and <vm/vm_types.h>. 8820: (vm_map_t, VM_MAP_NULL): Remove type and definition. 8821: * vm/vm_object.h (vm_object_t, VM_OBJECT_NULL): Remove type and 8822: definition. 8823: * vm/vm_page.h: Include <vm/vm_types.h>. 8824: (vm_page_t, VM_PAGE_NULL): Remove type and definition. 8825: * vm/vm_user.h: Include <mach/std_types.h>. 8826: * kern/task.h: Include <vm/vm_types.h> instead of <vm/vm_map.h>. 8827: * vm/vm_types.h: New file: the above-removed types and definitions. 8828: 8829: 2007-05-02 Thomas Schwinge <[email protected]> 8830: 8831: * configure.ac (--disable-default-device-drivers): Transform into... 8832: (--enable-device-drivers): ... this new option and extend it. 8833: * i386/configfrag.ac (--enable-lpr): Adapt to that. 8834: * linux/configfrag.ac (AC_OPTION_Linux_ix86_at, AC_Linux_DRIVER): 8835: Likewise. 8836: (AC_Linux_DRIVER_qemu): New definition. Use it for the `floppy', `ide' 8837: and `ne' device drivers. 8838: * doc/mach.texi: Document all that. 8839: 8840: 2007-05-01 Thomas Schwinge <[email protected]> 8841: 8842: * assigns: Remove file. See `copyright.list' on the GNU server instead. 8843: 8844: 2007-04-30 Thomas Schwinge <[email protected]> 8845: 8846: We're not in the eighties anymore. List arguments in function 8847: prototypes and definitions for a lot of symbols. Also drop some unused 8848: prototypes. I refrain from listing every changed symbol. 8849: * chips/busses.h: Do as described. 8850: * ddb/db_break.c: Likewise. 8851: * ddb/db_break.h: Likewise. 8852: * ddb/db_command.c: Likewise. 8853: * ddb/db_command.h: Likewise. 8854: * ddb/db_lex.c: Likewise. 8855: * ddb/db_lex.h: Likewise. 8856: * ddb/db_output.c: Likewise. 8857: * ddb/db_output.h: Likewise. 8858: * ddb/db_sym.h: Likewise. 8859: * ddb/db_task_thread.c: Likewise. 8860: * ddb/db_task_thread.h: Likewise. 8861: * ddb/db_variables.h: Likewise. 8862: * ddb/db_watch.c: Likewise. 8863: * ddb/db_watch.h: Likewise. 8864: * device/buf.h: Likewise. 8865: * device/conf.h: Likewise. 8866: * device/dev_hdr.h: Likewise. 8867: * device/ds_routines.h: Likewise. 8868: * device/if_ether.h: Likewise. 8869: * device/io_req.h: Likewise. 8870: * device/net_io.h: Likewise. 8871: * i386/i386/io_port.h: Likewise. 8872: * i386/i386/lock.h: Likewise. 8873: * i386/i386/mp_desc.c: Likewise. 8874: * i386/i386/mp_desc.h: Likewise. 8875: * i386/i386/proc_reg.h: Likewise. 8876: * i386/i386/user_ldt.h: Likewise. 8877: * i386/i386at/kd_queue.h: Likewise. 8878: * i386/i386at/kdsoft.h: Likewise. 8879: * i386/intel/pmap.c: Likewise. 8880: * i386/intel/pmap.h: Likewise. 8881: * include/mach/mach_traps.h: Likewise. 8882: * ipc/ipc_entry.h: Likewise. 8883: * ipc/ipc_hash.h: Likewise. 8884: * ipc/ipc_kmsg.h: Likewise. 8885: * ipc/ipc_marequest.c: Likewise. 8886: * ipc/ipc_marequest.h: Likewise. 8887: * ipc/ipc_mqueue.h: Likewise. 8888: * ipc/ipc_notify.h: Likewise. 8889: * ipc/ipc_object.h: Likewise. 8890: * ipc/ipc_port.h: Likewise. 8891: * ipc/ipc_pset.h: Likewise. 8892: * ipc/ipc_right.h: Likewise. 8893: * ipc/ipc_space.h: Likewise. 8894: * ipc/ipc_table.h: Likewise. 8895: * ipc/mach_msg.c: Likewise. 8896: * ipc/mach_msg.h: Likewise. 8897: * kern/ast.c: Likewise. 8898: * kern/ast.h: Likewise. 8899: * kern/debug.c: Likewise. 8900: * kern/debug.h: Likewise. 8901: * kern/ipc_tt.c: Likewise. 8902: * kern/ipc_tt.h: Likewise. 8903: * kern/mach_factor.c: Likewise. 8904: * kern/mach_factor.h: Likewise. 8905: * kern/printf.c: Likewise. 8906: * kern/printf.h: Likewise. 8907: * kern/queue.h: Likewise. 8908: * kern/sched.h: Likewise. 8909: * kern/syscall_subr.c: Likewise. 8910: * kern/syscall_subr.h: Likewise. 8911: * kern/task.h: Likewise. 8912: * kern/thread_swap.c: Likewise. 8913: * kern/thread_swap.h: Likewise. 8914: * kern/timer.h: Likewise. 8915: * kern/xpr.c: Likewise. 8916: * kern/xpr.h: Likewise. 8917: * kern/zalloc.c: Likewise. 8918: * kern/zalloc.h: Likewise. 8919: * ipc/ipc_port.h: Don't include <ipc/ipc_space.h>. 8920: * device/dev_hdr.h: Include <ipc/ipc_types.h>. 8921: * device/net_io.h: Include <device/if_hdr.h> and <device/io_req.h>. 8922: * ipc/ipc_entry.h: Include <mach/mach_types.h> and <ipc/ipc_types.h>. 8923: * ipc/ipc_kmsg.h: Include <ipc/ipc_object.h>, <ipc/ipc_types.h> and 8924: <vm/vm_map.h>. 8925: * ipc/ipc_marequest.h: Include <mach_debug/hash_info.h> and 8926: <ipc/ipc_types.h>. 8927: * ipc/ipc_object.h: Include <ipc/ipc_types.h>. 8928: * ipc/ipc_right.h: Include <ipc/ipc_entry.h>. 8929: * ipc/ipc_space.h: Include <mach/mach_types.h> and <ipc/ipc_types.h>. 8930: * kern/ipc_tt.h: Include <mach/mach_types.h>. 8931: * kern/sched.h: Include <kern/kern_types.h>. 8932: * kern/syscall_subr.h: Include <kern/kern_types.h>. 8933: * ipc/ipc_hash.c (ipc_hash_index_t): Move type definition... 8934: * ipc/ipc_hash.h: ... into here. 8935: 8936: 2007-04-25 Thomas Schwinge <[email protected]> 8937: 8938: * DEVELOPMENT: Add url. 8939: 8940: [task #5878 -- Backport code from GNU Mach's trunk to 8941: gnumach-1-branch: i386_set_gdt, i386_get_gdt] 8942: * i386/include/mach/i386/mach_i386.defs (i386_set_gdt, i386_get_gdt): 8943: Shift by two to maintain rpc id compatibility with OSKit-Mach. 8944: 8945: * linux/dev/glue/kmem.c (vmalloc_list_remove): Cast the first argument 8946: in the `kfree' call to what is expected. 8947: 8948: * linux/pcmcia-cs/glue/ds.c (kmalloc, kfree): Call `linux_kmalloc', 8949: respective `linux_kfree' instead. 8950: 8951: * kern/kalloc.h (kalloc, kget, kfree, kalloc_init): List the arguments. 8952: 8953: 2007-04-24 Michael Casadevall <[email protected]> 8954: 8955: * linux/src/drivers/net/ne.c (bad_clone_list): Add the RealTek 8029 PCI 8956: card's signature. 8957: <http://lists.gnu.org/archive/html/bug-hurd/2007-04/msg00039.html> 8958: 8959: 2007-04-24 Thomas Schwinge <[email protected]> 8960: 8961: * ipc/ipc_port.h: Include <ipc/ipc_space.h>. 8962: 8963: 2007-04-11 Thomas Schwinge <[email protected]> 8964: 8965: * config.status.dep.patch: Update to match more files. This fixes 8966: building GNU Mach with ``make -j2'' and higher. The problem was 8967: reported by Michael Casadevall <[email protected]>. 8968: 8969: 2007-04-02 Thomas Schwinge <[email protected]> 8970: 8971: * i386/i386/io_emulate.c: Remove file. 8972: * i386/i386/io_emulate.h: Likewise. 8973: * i386/i386at/iopl.c: Likewise. 8974: * i386/Makefrag.am (libkernel_a_SOURCES): Remove the aforementioned 8975: files. 8976: * i386/i386/trap.c: Don't include <i386/io_emulate.h>. 8977: (v86_assist, check_io_fault): Remove functions. 8978: (user_trap): Remove the code referencing the above functions. 8979: * i386/i386at/conf.c (dev_name_list): Remove the `iopl' device. 8980: * DEVELOPMENT: Document this. 8981: 8982: 2007-03-30 Thomas Schwinge <[email protected]> 8983: 8984: * Makefile.am (gnumach_o_LINK): Remove ``--start-group''. 8985: 8986: 2007-03-27 Thomas Schwinge <[email protected]> 8987: 8988: Unconditionally use the device driver multiplexing. Suggested by 8989: Gianluca Guida <[email protected]>. 8990: * i386/i386at/dev_hdr.h: Merge into `device/dev_hdr.h' and remove. 8991: * i386/i386at/device_emul.h: Rename to `device/device_emul.h'. Adapt 8992: all users. 8993: * i386/i386at/i386at_ds_routines.c: Merge into `device/ds_routines.c' 8994: and remove. 8995: * i386/linux/dev/include/linux_emul.h: Remove file. 8996: * Makefrag.am (libkernel_a_SOURCES): Add `device/device_emul.h'. 8997: * i386/Makefrag.am (libkernel_a_SOURCES): Remove 8998: `i386/i386at/dev_hdr.h', `i386/i386at/device_emul.h' and 8999: `i386/i386at/i386at_ds_routines.c'. 9000: * i386/linux/Makefrag.am (liblinux_a_SOURCES): Remove 9001: `i386/linux/dev/include/linux_emul.h'. 9002: * dev/dev_hdr.h: Adapt all users of `i386' as if it were always 9003: defined. 9004: * device/dev_lookup.c: Likewise. 9005: * device/ds_routines.c: Likewise. 9006: * device/device_init.c (ds_init): Rename to `mach_device_init'. 9007: * device/ds_routines.c (ds_init): Likewise. 9008: (ds_trap_init): Rename to `mach_device_trap_init'. 9009: (mach_device_trap_init): Make it `static'. 9010: * linux/dev/glue/block.c: Don't include <linux_emul.h>, but instead 9011: include <device/device_emul.h> and <i386at/disk.h>. 9012: * linux/dev/glue/net.c: Don't include <linux_emul.h>, but instead 9013: include <device/device_emul.h>. 9014: * linux/pcmcia-cs/glue/ds.c: Likewise. 9015: 9016: * kern/pcsample.h: Remove the automatic cvs log appending machinery. 9017: * linux/dev/drivers/scsi/g_NCR5380.c: Likewise. 9018: * linux/src/drivers/net/sk_g16.h: Likewise. 9019: * linux/src/drivers/scsi/AM53C974.c: Likewise. 9020: * linux/src/drivers/scsi/AM53C974.h: Likewise. 9021: * linux/src/drivers/scsi/NCR5380.c: Likewise. 9022: * linux/src/drivers/scsi/NCR5380.h: Likewise. 9023: * linux/src/drivers/scsi/aha152x.c: Likewise. 9024: * linux/src/drivers/scsi/aha1542.h: Likewise. 9025: * linux/src/drivers/scsi/g_NCR5380.c: Likewise. 9026: * linux/src/drivers/scsi/g_NCR5380.h: Likewise. 9027: * linux/src/drivers/scsi/gdth.c: Likewise. 9028: * linux/src/drivers/scsi/qlogicisp.c: Likewise. 9029: * linux/src/drivers/scsi/qlogicisp.h: Likewise. 9030: * linux/src/drivers/scsi/t128.c: Likewise. 9031: * linux/src/drivers/scsi/t128.h: Likewise. 9032: 9033: 2007-03-24 Thomas Schwinge <[email protected]> 9034: 9035: * i386/i386at/conf.c (block_io_mmap): Remove declaration. 9036: 9037: * doc/mach.texi: Fix a typo and the url for GNU GRUB. 9038: 9039: * device/kmsg.h: Include <sys/types.h>, <device/device_types.h> and 9040: <device/io_req.h>. 9041: 9042: * Makefrag.am (libkernel_a_SOURCES): Move `device/kmsg.h' into 9043: [enable_kmsg]. 9044: 9045: 2007-03-23 Thomas Schwinge <[email protected]> 9046: 9047: * Makerules.am (%.server.msgids, %.user.msgids): Merge into the 9048: existing ``%.h %.c'' rules. 9049: Comment out the currently unused rpc stub rules. 9050: * Makefrag.am (gnumach.msgids): Rewrite. 9051: (nodist_libkernel_a_SOURCES): Add all ``.msgids'' files. 9052: * i386/Makefrag.am (nodist_libkernel_a_SOURCES): Likewise. 9053: 9054: 2007-03-19 Tim Retout <[email protected]> 9055: 9056: * i386/ldscript: Correct 'LINKFLAGS_gnumach' in comment. 9057: 9058: 2007-03-06 Samuel Thibault <[email protected]> 9059: 9060: * i386/i386/user_ldt.c (i386_set_gdt): Call switch_ktss() if target is 9061: current thread. 9062: 9063: 2007-03-05 Samuel Thibault <[email protected]> 9064: 9065: [bug #18349 -- ``General Protection Trap'' in `ipc_kmsg_enqueue'] 9066: * linux/dev/glue/net.c (device_write): Call net_packet() with splimp 9067: held. 9068: 9069: 2007-03-04 Thomas Schwinge <[email protected]> 9070: 9071: * tests/configfrag.ac (MBCHK): Remove check. 9072: * tests/test-mbchk.in: Fail correctly if `mbchk' is not available. 9073: 9074: 2007-03-01 Thomas Schwinge <[email protected]> 9075: 9076: * linux/dev/glue/block.c (free_buffer): Use `VM_PAGE_FREE'. 9077: * vm/vm_object.c (vm_object_collapse, vm_object_page_remove) 9078: (vm_object_page_map): Likewise. 9079: 9080: 2007-02-20 Samuel Thibault <[email protected]> 9081: 9082: * linux/dev/glue/block.c (free_buffer): Fix 9083: vm_page_lock_queues/vm_page_unlock_queues pair. 9084: 9085: Fix ddb's trace command. 9086: * i386/i386/db_trace.c (db_find_trace_symbols): Drop _ prefix on ELF 9087: targets. 9088: (db_i386_stack_trace): Check that adresses of known functions were 9089: really found. 9090: 9091: 2007-02-19 Thomas Schwinge <[email protected]> 9092: 9093: * Makefile.am (gnumach_LINKFLAGS): New variable. 9094: (gnumach_LINK): Use that one instead of the previously used 9095: `LINKFLAGS_gnumach'. 9096: * i386/Makefrag.am (LINKFLAGS_gnumach): Rename to `gnumach_LINKFLAGS', 9097: move into [PLATFORM_at] and pass `_START'. 9098: * i386/ldscript: Don't hardcode a _start address of 0x100000, but make 9099: it configurable via `_START'. 9100: 9101: Add a `--enable-platform' option for future use. Allow building 9102: without any Linux code. 9103: * Makefile.am: Don't include `linux/Makefrag.am' in there... 9104: * Makefrag.am: ... but rather in here. 9105: * configfrag.ac (MACH_MACHINE_ROUTINES): AC_DEFINE_UNQUOTED based on 9106: then shell variable `mach_machine_routines'. 9107: (--disable-default-device-drivers): Don't define in there... 9108: * configure.ac: ... but rather in here. 9109: (--enable-platform): New option. 9110: (host_platform): New variable. 9111: (HOST_i386): Don't define there... 9112: * i386/configfrag.ac (HOST_ix86): ... but rather here, rename it and 9113: adapt all users. 9114: (PLATFORM_at): New conditional. 9115: (MACH_MACHINE_ROUTINES): Don't AC_DEFINE, but rather set a shell 9116: variable `mach_machine_routines'. 9117: * linux/Makefrag.am (noinst_LIBRARIES, gnumach_o_LDADD): Only enhance 9118: ``if CODE_linux'' or ``if device_driver_group_pcmcia''. 9119: * linux/configfrag.ac (AC_OPTION): Rename to `AC_OPTION_Linux_ix86_at' 9120: and rework a bit. Adapt all users. 9121: (AC_OPTION_nodef): Rename to `AC_OPTION_Linux_ix86_at_nodef' and rework 9122: a bit. Adapt all users. 9123: (CODE_linux): New conditional. 9124: * i386/Makefrag.am (LINKFLAGS_gnumach): Don't evaluate $(systype). 9125: 9126: * Makefile.am: Update the FSF's postal address. 9127: * doc/Makefrag.am: Likewise. 9128: * i386/linux/Makefrag.am: Likewise. 9129: * linux/Makefrag.am: Likewise. 9130: * tests/Makefrag.am: Likewise. 9131: * tests/configfrag.ac: Move to GPL. 9132: 9133: 2007-02-05 Thomas Schwinge <[email protected]> 9134: 9135: * kern/mach_clock.c: Don't include <kern/time_out.h>. 9136: 9137: * i386/i386/hardclock.c: Include <kern/mach_clock.h> instead of 9138: <kern/time_out.h>. 9139: * i386/i386/pit.c: Likewise. 9140: * i386/i386at/kd.c: Likewise. 9141: * i386/i386at/model_dep.c: Likewise. 9142: * i386/i386at/rtc.c: Likewise. 9143: * kern/ipc_sched.c: Likewise. 9144: * kern/mach_factor.c: Likewise. 9145: * kern/priority.c: Likewise. 9146: * kern/sched_prim.c: Likewise. 9147: * kern/startup.c: Likewise. 9148: * kern/syscall_subr.c: Likewise. 9149: * kern/thread.h: Likewise. 9150: * kern/zalloc.c: Likewise. 9151: 9152: * kern/host.c: Include <kern/mach_clock.h>. 9153: (tick): Remove declaration. 9154: * kern/pc_sample.c: Likewise. 9155: * kern/thread.c: Likewise. 9156: * kern/sched_prim.c (hz): Remove declaration. 9157: * kern/syscall_subr.c (hz): Likewise. 9158: * linux/dev/init/main.c (hz): Likewise. 9159: 9160: * kern/time_out.h: Remove file after having installed the missing bits 9161: in... 9162: * kern/mach_clock.h: ... here. 9163: 9164: * configfrag.ac: Enhance comments. 9165: 9166: * vm/vm_debug.c (MACH_VM_DEBUG): Correctly place conditional. 9167: 9168: 2007-02-04 Thomas Schwinge <[email protected]> 9169: 9170: * doc/mach.texi (thread_switch): Enhance a bit. 9171: 9172: * doc/Makefrag.am ($(web)): Use ``mkdir -p''. 9173: 9174: * doc/mach.texi: Fix unusual hyphens. 9175: 9176: * i386/i386/hardclock.c: Don't check for the `SYMMETRY' platform. 9177: 9178: * kern/timer.h: Add some comments from... 9179: * i386/i386/timer.h: ... here and remove this file. 9180: 9181: 2007-01-26 Thomas Schwinge <[email protected]> 9182: 9183: * doc/mach.texi: Fix the last change. 9184: 9185: 2007-01-22 Thomas Schwinge <[email protected]> 9186: 9187: * COPYING: Update via GNU automake 1.10. 9188: * doc/fdl.texi: Update from <http://www.gnu.org/licenses/fdl.texi>. 9189: * doc/gpl.texi: Update from <http://www.gnu.org/licenses/gpl.texi>. 9190: * doc/mach.texi: Use the GFDL 1.2. 9191: 9192: 2007-01-21 Ralf Wildenhues <[email protected]> 9193: 9194: * doc/mach.texi: Many typos fixed. 9195: 9196: 2007-01-11 Thomas Schwinge <[email protected]> 9197: 9198: * DEVELOPMENT (LAYOUT OF THE SOURCE TREE): New section. 9199: 9200: These following files are regenerated by running ``autoreconf -i'' and 9201: ``make info''. 9202: * INSTALL: Remove file. 9203: * Makefile.in: Likewise. 9204: * aclocal.m4: Likewise. 9205: * build-aux/compile: Likewise. 9206: * build-aux/config.guess: Likewise. 9207: * build-aux/config.sub: Likewise. 9208: * build-aux/depcomp: Likewise. 9209: * build-aux/install-sh: Likewise. 9210: * build-aux/mdate-sh: Likewise. 9211: * build-aux/missing: Likewise. 9212: * build-aux/texinfo.tex: Likewise. 9213: * config.h.in: Likewise. 9214: * configure: Likewise. 9215: * doc/mach.info: Likewise. 9216: * doc/mach.info-1: Likewise. 9217: * doc/mach.info-2: Likewise. 9218: * doc/stamp-vti: Likewise. 9219: * doc/version.texi: Likewise. 9220: 9221: 2007-01-06 Thomas Schwinge <[email protected]> 9222: 9223: * ddb/db_break.c (db_delete_thread_breakpoint): Don't declare 9224: `db_cond_free'. 9225: * ddb/db_run.c: Include <ddb/db_cond.h>. 9226: (db_stop_at_pc): Don't declare `db_cond_check'. 9227: * ddb/db_input.c: Include <ddb/db_input.h>. 9228: * ddb/db_macro.c: Include <ddb/db_macro.h>. 9229: * ddb/db_trap.c: Include <ddb/db_trap.h>. 9230: * i386/i386/db_interface.h: Include <machine/thread.h>. 9231: * i386/i386/db_interface.c: Include <machine/db_interface.h>. 9232: * i386/i386/db_machdep.h: Include <machine/db_interface.h>. 9233: (db_check_access, db_phys_eq, db_task_name): Remove declarations. 9234: 9235: 2007-01-06 Barry deFreese <[email protected]> 9236: 9237: * ddb/db_aout.c: Include <ddb/db_output.h>. 9238: * ddb/db_break.c: Include <ddb/db_cond.h>, <ddb/db_expr.h> and 9239: <ddb/db_output.h>. 9240: (db_delete_cmd, db_breakpoint_cmd): Explicitly define untyped variables 9241: as `int'. 9242: * ddb/db_command.c: Include <ddb/db_examine.h>, <ddb/db_expr.h> and 9243: <ddb/db_macro.h>. 9244: * ddb/db_command.h (db_exec_cmd_nest): New declaration. 9245: * ddb/db_cond.c: Include <ddb/db_cond.h>, <ddb/db_expr.h> and 9246: <ddb/db_output.h>. 9247: (db_cond_cmd): Explicitly define untyped variable as `int'. 9248: * ddb/db_cond.h: New file. 9249: * ddb/db_examine.c: Include <machine/db_interface.h>, 9250: <ddb/db_examine.h> and <ddb/db_expr.h>. 9251: (db_strcpy, db_examine): Remove forward declarations. 9252: (db_xcdump): Explicitly define untyped variables as `int'. 9253: * ddb/db_examine.h: New file. 9254: * ddb/db_expr.c: Include <ddb/db_expr.h>, <ddb/db_output.h>, 9255: <ddb/db_sym.h> and <ddb/db_variables.h>. 9256: * ddb/db_input.c: Include <ddb/db_command.h>. 9257: * ddb/db_input.h: New file. 9258: * ddb/db_lex.c: Include <ddb/db_command.h>, <ddb/db_examine.h>, 9259: <ddb/db_input.h> and <ddb/db_output.h>. 9260: (db_skip_to_eol, db_lex): Explicitly define untyped variables as `int'. 9261: * ddb/db_lex.h (db_lex): New declaration. 9262: * ddb/db_macro.c: Include <ddb/db_examine.h>, <ddb/db_expr.h> and 9263: <ddb/db_output.h>. 9264: (db_def_macro_cmd, db_exec_macro): Explicitly define untyped variables 9265: as `int'. 9266: * ddb/db_macro.h: New file. 9267: * ddb/db_output.c: Include <ddb/db_command.h>. 9268: * ddb/db_output.h (db_putchar): New declaration. 9269: * ddb/db_print.c: Include <machine/db_interface.h>, <ddb/db_command.h> 9270: and <ddb/db_output.h>. 9271: (db_show_regs): Explicitly define untyped variables as `int'. 9272: * ddb/db_run.c: Include <ddb/db_command.h>, <ddb/db_examine.h>, 9273: <ddb/db_output.h> and <ddb/db_watch.h>. 9274: * ddb/db_run.h: Include <kern/task.h> and <machine/db_machdep.h>. 9275: (db_single_step, db_single_step_cmd, db_in_single_step): New 9276: declarations. 9277: * ddb/db_sym.c: Include <ddb/db_command.h> and <ddb/db_output.h>. 9278: (db_sym_parse_and_lookup): Explicitly define untyped variables as 9279: `int'. 9280: * ddb/db_sym.h (db_line_at_pc): New declaration. 9281: * ddb/db_task_thread.c: Include <ddb/db_command.h>, <ddb/db_expr.h>, 9282: <ddb/db_lex.h> and <ddb/db_output.h>. 9283: (db_lookup_task, db_lookup_task_thread, db_lookup_thread) 9284: (db_lookup_task_id, db_lookup_thread_id): Explicitly define untyped 9285: variables as `int'. 9286: * ddb/db_trap.c: Include <ddb/db_examine.h> and <ddb/db_output.h>. 9287: * ddb/db_trap.h: New file. 9288: * ddb/db_variables.c: Include <ddb/db_command.h>, <ddb/db_examine.h>, 9289: <ddb/db_expr.h> and <ddb/db_output.h>. 9290: (db_get_suffix, db_cmp_variable_name): Explicitly define untyped 9291: variables as `int'. 9292: * ddb/db_variables.h (db_get_variable): New declaration. 9293: * ddb/db_watch.c: Include <ddb/db_command.h>, <ddb/db_expr.h>, 9294: <ddb/db_output.h> and <ddb/db_run.h>. 9295: * ddb/db_write_cmd.c: Include <ddb/db_expr.h> and <ddb/db_output.h>. 9296: * i386/i386/db_interface.c: Include <kern/printf.h>, <ddb/db_access.h>, 9297: <ddb/db_command.h>, <ddb/db_output.h>, <ddb/db_run.h> and 9298: <ddb/db_trap.h>. 9299: (kdbprinttrap): Add `void' return type. 9300: (db_user_to_kernel_address, db_task_name): Explicitly define untyped 9301: variables as `int'. 9302: * i386/i386/db_interface.h: New file. 9303: * i386/i386/db_trace.c (db_i386_reg_value): Add `int' return type. 9304: * i386/i386/trap.c [MACH_KDB]: Include <ddb/db_run.h> and 9305: <ddb/db_watch.h>. 9306: * ipc/ipc_kmsg.c [MACH_KDB]: Include <ddb/db_output.h>. 9307: * kern/lock.c [MACH_KDB]: Include <ddb/db_output.h>. 9308: 9309: 2007-01-06 Thomas Schwinge <[email protected]> 9310: 9311: * configure.ac (AM_INIT_AUTOMAKE): Add ``-Wall -Wno-portability''. 9312: 9313: 2007-01-05 Richard Braun <[email protected]> 9314: 9315: Add alignment support in the zone allocator. 9316: * kern/zalloc.c (ALIGN_SIZE_UP): New macro. 9317: (zinit): New `align' parameter. 9318: (zget_space): Likewise. 9319: (zalloc): Updated call to zget_space() with the zone alignment. 9320: * kern/zalloc.h (zone): New member `align'. 9321: (zinit): Declaration updated as required. 9322: * device/dev_lookup.c (dev_lookup_init): Updated call to zinit() with 9323: alignment of 0. 9324: * device/dev_pager.c (dev_pager_hash_init): Likewise. 9325: (device_pager_init): Likewise. 9326: * device/ds_routines.c (ds_init): Likewise. 9327: (ds_trap_init): Likewise. 9328: * device/net_io.c (net_io_init): Likewise. 9329: * i386/i386/fpu.c (fpu_module_init): Likewise. 9330: * i386/i386/pcb.c (pcb_module_init): Likewise. 9331: * i386/intel/pmap.c (pmap_init): Likewise. 9332: * ipc/ipc_init.c (ipc_bootstrap): Likewise. 9333: * ipc/ipc_marequest.c (ipc_marequest_init): Likewise. 9334: * kern/act.c (global_act_init): Likewise. 9335: * kern/kalloc.c (kalloc_init): Likewise. 9336: * kern/processor.c (pset_sys_init): Likewise. 9337: * kern/task.c (task_init): Likewise. 9338: * kern/thread.c (thread_init): Likewise. 9339: * kern/zalloc.c (zone_bootstrap): Likewise. 9340: * vm/vm_external.c (vm_external_module_initialize): Likewise. 9341: * vm/vm_fault.c (vm_fault_init): Likewise. 9342: * vm/vm_map.c (vm_map_init): Likewise. 9343: * vm/vm_object.c (vm_object_bootstrap): Likewise. 9344: * vm/vm_resident.c (vm_page_module_init): Likewise. 9345: 9346: 2007-01-02 Samuel Thibault <[email protected]> 9347: 9348: Fix translation of port into device in the "no sender" notification. 9349: * i386/i386at/i386at_ds_routines.c (ds_notify): Use dev_port_lookup() 9350: for translating the remote port. 9351: 9352: Fix loop indexing. 9353: * i386/intel/pmap.c (pmap_change_wiring): Increment pte in the 9354: unwiring loop. 9355: 9356: Drop old and broken support for Olivetti XP7 & XP9 9357: * i386/intel/pmap.c [ORC] (OLIVETTICACHE): Remove macro. 9358: [OLIVETTICACHE] (pstart): Remove declaration. 9359: (CACHE_LINE, CACHE_SIZE, CACHE_PAGE, WRITE_PTE, WRITE_PTE_FAST): Remove 9360: macros. 9361: [OLIVETTICACHE] (write_pte): Remove function. 9362: * DEVELOPMENT: Document the removal. 9363: 9364: 2006-12-19 Samuel Thibault <[email protected]> 9365: 9366: Add support for global pages. 9367: * i386/i386at/model_dep.c: Include <i386/locore.h>. 9368: (i386at_init): Set CR4_PGE if available. 9369: (c_boot_entry): Call discover_x86_cpu_type() before i386at_init(). 9370: * i386/intel/pmap.c: Include <i386/locore.h>. 9371: (pmap_map_bd): Use INTEL_PTE_GLOBAL if available. 9372: (pmap_bootstrap): Likewise. 9373: 9374: Add support for cr3/cr4 flags. 9375: * i386/i386/proc_reg.h (CR3_PCD, CR3_PWT, CR4_VME, CR4_PVI, CR4_TSD) 9376: (CR4_DE, CR4_PSE, CR4_PAE, CR4_MCE, CR4_PGE, CR4_PCE, CR4_OSFXSR) 9377: (CR4_OSXMMEXCPT, get_cr4, set_cr4): New macros. 9378: * i386/intel/pmap.h (INTEL_PTE_GLOBAL): New macro. 9379: 9380: Add support for querying x86 features. 9381: * i386/i386/locore.h (cpu_features): New variable declaration. 9382: (CPU_FEATURE_FPU, CPU_FEATURE_VME, CPU_FEATURE_DE, CPU_FEATURE_PSE) 9383: (CPU_FEATURE_TSC, CPU_FEATURE_MSR, CPU_FEATURE_PAE, CPU_FEATURE_MCE) 9384: (CPU_FEATURE_CX8, CPU_FEATURE_APIC, CPU_FEATURE_SEP, CPU_FEATURE_MTRR) 9385: (CPU_FEATURE_PGE, CPU_FEATURE_MCA, CPU_FEATURE_CMOV, CPU_FEATURE_PAT) 9386: (CPU_FEATURE_PSE_36, CPU_FEATURE_PSN, CPU_FEATURE_CFLSH) 9387: (CPU_FEATURE_DS, CPU_FEATURE_ACPI, CPU_FEATURE_MMX, CPU_FEATURE_FXSR) 9388: (CPU_FEATURE_SSE, CPU_FEATURE_SSE2, CPU_FEATURE_SS, CPU_FEATURE_HTT) 9389: (CPU_FEATURE_TM, CPU_FEATURE_PBE, CPU_HAS_FEATURE): New macros. 9390: * i386/i386/locore.S (cpu_features): New variable. 9391: (discover_x86_cpu_type): Record CPUID feature word 0. 9392: 9393: 2006-12-13 Samuel Thibault <[email protected]> 9394: 9395: Drop useless and broken FPE support. 9396: * i386/configfrac.ac (FPE): Don't define. 9397: * i386/i386/gdt.h (FPE_CS, USER_FPREGS): Remove macros. 9398: * i386/i386/fpu.c (init_fpu, fpu_set_state, fpu_get_state): Remove FPE 9399: support. 9400: * i386/i386/fpu.h: Likewise. 9401: * i386/i386/trap.c (user_trap, i386_exception): Likewise. 9402: * i386/i386/fpe_linkage.c: Remove file. 9403: * i386/Makefrag.am: Remove i386/i386/fpe_linkage.c. 9404: * Makefile.in: Regenerate. 9405: 9406: 2006-12-03 Thomas Schwinge <[email protected]> 9407: 9408: [patch #5019 -- Remove checks for continuations] 9409: 9410: * DEVELOPMENT: Document the removal. 9411: 9412: * i386/configfrag.ac (CONTINUATIONS): Don't define. 9413: 9414: 2006-12-03 Leonardo Lopes Pereira <[email protected]> 9415: 9416: [patch #5019 -- Remove checks for continuations] 9417: * ipc/mach_msg.c: Adapt all users of CONTINUATIONS as if it were always 9418: defined. 9419: * kern/eventcount.c: Likewise. 9420: * kern/ipc_sched.c: Likewise. 9421: * kern/syscall_subr.c: Likewise. 9422: * vm/vm_fault.c: Likewise. 9423: * vm/vm_pageout.c: Likewise. 9424: * vm/vm_resident.c: Likewise. 9425: 9426: 2006-12-03 Thomas Schwinge <[email protected]> 9427: 9428: [patch #5017 -- Remove obsolete IPC interfaces] 9429: 9430: * DEVELOPMENT: Document the removal. 9431: 9432: * configfrag.ac (MACH_IPC_COMPAT): Don't define. 9433: 9434: 2006-12-03 Leonardo Lopes Pereira <[email protected]> 9435: 9436: [patch #5017 -- Remove obsolete IPC interfaces] 9437: * kern/act.c [MIGRATING_THREADS]: Don't include <mach_ipc_compat.h>. 9438: * kern/act.h: Likewise. 9439: * i386/include/mach/i386/machine_types.defs: Adapt all users of 9440: MACH_IPC_COMPAT as if it were always defined to `0'. 9441: * include/mach/mach.defs: Likewise. 9442: * include/mach/mach_param.h: Likewise. 9443: * include/mach/mach_traps.h: Likewise. 9444: * include/mach/message.h: Likewise. 9445: * include/mach/mig_errors.h: Likewise. 9446: * include/mach/notify.h: Likewise. 9447: * include/mach/port.h: Likewise. 9448: * include/mach/std_types.defs: Likewise. 9449: * include/mach/syscall_sw.h: Likewise. 9450: * include/mach/task_special_ports.h: Likewise. 9451: * include/mach/thread_special_ports.h: Likewise. 9452: * ipc/ipc_kmsg.c: Likewise. 9453: * ipc/ipc_kmsg.h: Likewise. 9454: * ipc/ipc_marequest.c: Likewise. 9455: * ipc/ipc_notify.c: Likewise. 9456: * ipc/ipc_notify.h: Likewise. 9457: * ipc/ipc_object.c: Likewise. 9458: * ipc/ipc_object.h: Likewise. 9459: * ipc/ipc_port.c: Likewise. 9460: * ipc/ipc_port.h: Likewise. 9461: * ipc/ipc_right.c: Likewise. 9462: * ipc/ipc_right.h: Likewise. 9463: * ipc/ipc_space.c: Likewise. 9464: * ipc/ipc_space.h: Likewise. 9465: * ipc/mach_debug.c: Likewise. 9466: * ipc/mach_msg.c: Likewise 9467: * ipc/mach_msg.h: Likewise. 9468: * ipc/mach_port.c: Likewise. 9469: * kern/act.c: Likewise. 9470: * kern/act.h: Likewise. 9471: * kern/ipc_host.c: Likewise. 9472: * kern/ipc_tt.c: Likewise. 9473: * kern/syscall_sw.c: Likewise. 9474: * kern/thread.h: Likewise. 9475: 9476: 2006-12-03 Thomas Schwinge <[email protected]> 9477: 9478: [bug #17120 -- GNU Mach debian dir] 9479: * debian/README.Debian: Remove file. 9480: * debian/changelog: Likewise. 9481: * debian/control: Likewise. 9482: * debian/copyright: Likewise. 9483: * debian/postinst: Likewise. 9484: * debian/prerm: Likewise. 9485: * debian/rules: Likewise. 9486: 9487: [bug #18015 -- GNU Mach: `make dist' and friends] 9488: * Makefile.am (DISTCLEANFILES): New variable. 9489: 9490: 2006-11-30 Thomas Schwinge <[email protected]> 9491: 9492: * Makefile.in: Regenerate. 9493: * configure: Likewise. 9494: 9495: 2006-11-30 Barry deFreese <[email protected]> 9496: Thomas Schwinge <[email protected]> 9497: 9498: [bug #18015 -- GNU Mach: `make dist' and friends] 9499: * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New variable. 9500: (EXTRA_DIST): Enhance with the patches and documentation files. 9501: (dist-hook): New target to remove the `CVS' directories. 9502: * Makefrag.am (libkernel_a_SOURCES, EXTRA_DIST): Add header and `mig' 9503: input files. 9504: (DISTCHECK_CONFIGURE_FLAGS): Enable the kernel debugger. 9505: * i386/Makefrag.am: Likewise. Also add `i386/i386/i386asm.sym', 9506: `i386/ldscript' and `i386/README-Drivers'. 9507: * i386/linux/Makefrag.am (liblinux_a_SOURCES): Add the header files 9508: from `i386/linux/'. 9509: * linux/Makefrag.am (liblinux_a_SOURCES, EXTRA_DIST) 9510: (liblinux_pcmcia_cs_modules_a_SOURCES) 9511: (liblinux_pcmcia_cs_clients_a_SOURCES) 9512: (liblinux_pcmcia_cs_wireless_a_SOURCES): Add header and other included 9513: files. 9514: (dist-hook): Depend on `dist-hook-linux'. 9515: (dist-hook-linux): New phony target to remove the `asm' symbolic links. 9516: * Makerules.am (EXTRA_DIST): Add `gensym.awk'. 9517: * doc/Makefrag.am (EXTRA_DIST): Add `$(mach_TEXINFOS)'. 9518: * configure.ac (AC_CONFIG_LINKS): Move instantiation to... 9519: * configfrag.ac: ... here and change quotation. 9520: * linux/configfrag.ac (AC_CONFIG_LINKS): Change quotation. 9521: 9522: 2006-11-29 Thomas Schwinge <[email protected]> 9523: 9524: * configure: Regenerate. 9525: * Makefile.in: Likewise. 9526: 9527: * configure.ac (disable_smashing_stack_protector): New conditional, set 9528: depending on the compiler accepting `-fstack-protector' or not. 9529: * Makefile.am (CFLAGS): Add `-fno-stack-protector' if 9530: `disable_smashing_stack_protector' is set. 9531: 9532: 2006-11-28 Thomas Schwinge <[email protected]> 9533: 9534: * doc/Makefrag.am ($(srcdir)/doc/version.texi): Oppress a potential 9535: error message from grep. 9536: 9537: 2006-11-26 Samuel Thibault <[email protected]> 9538: 9539: [bug #17346 -- GNU mach can't handle 4GB memory] 9540: * i386/i386at/model_dep.c (mem_size_init): Truncate memory size to 9541: 4GiB. 9542: 9543: 2006-11-21 Thomas Schwinge <[email protected]> 9544: 9545: * doc/Makefrag.am (doc/web, html-local, ps-local, pdf-local) 9546: ($(srcdir)/doc/version.texi): New targets to faciliate keeping the web 9547: pages of the GNU Mach Reference Manual updated. 9548: 9549: 2006-11-20 Samuel Thibault <[email protected]> 9550: 9551: [patch #5328 -- GNU Mach asm statements tidy] 9552: * i386/i386/fpe_linkage.c (disable_fpe): Gather dependent asm 9553: statements, add `ax' clobber. 9554: (fpe_exception_fixup): Drop bogus cast from input parameter of lcall 9555: asm statement. 9556: * i386/i386/pio.h (inw, outw): Drop 0x66 prefix an just use the w 9557: instruction variant. 9558: * i386/i386/proc_reg.h: (get_eflags, get_tr, get_ldt): Drop 9559: useless "volatile" from asm statement. 9560: (get_esp): Use direct asm register specification. 9561: * i386/include/mach/i386/cthreads.h (cthread_sp): Likewise. 9562: * i386/intel/pmap.c (pmap_unmap_page_zero): Fix asm clobber into `eax'. 9563: 9564: [patch #5375 -- Fix de4x5 probe] 9565: * linux/src/drivers/net/de4x5.c (pci_probe): Make probe loop stop on 9566: any error, not only device not found. 9567: 9568: 2006-11-17 Constantine Kousoulos <[email protected]> 9569: Thomas Schwinge <[email protected]> 9570: 9571: [bug #18010 -- GNU Mach: update i386/README-Drivers and doc/mach.texi] 9572: * i386/README-Drivers: Move most of the text into... 9573: * doc/mach.texi: ... here and update a number of things. 9574: (UPDATED): Don't override. 9575: 9576: 2006-11-13 Samuel Thibault <[email protected]> 9577: 9578: * i386/i386at/iopl.c (ioplmmap): Add `int' return type. 9579: * i386/i386at/model_dep.c (halt_all_cpus): Fix typo in declaration. 9580: * kern/assert.h (Assert): Add __attribute__ ((noreturn)) to 9581: declaration. 9582: * kern/debug.c (Debugger): Add __attribute__ ((noreturn)) to 9583: declaration. 9584: (Debugger): Add call to panic(). 9585: * kern/debug.h (panic): Add __attribute__ ((noreturn)) to declaration. 9586: * util/putchar.c (putchar): Return printed char. 9587: 9588: 2006-11-13 Barry deFreese <[email protected]> 9589: 9590: * device/chario.c (tty_cts): Add `void' return type. 9591: * device/cons.c (cninit, cnputc): Add `void' return type. 9592: (cngetc, cnmaygetc): Add `int' return type. 9593: * device/net_io.c (net_del_q_info, net_free_dead_infp) 9594: (net_free_dead_entp): Add `void' return type. 9595: * i386/i386/fpu.c (fpnoextflt, fpextovrflt, fpexterrflt, fp_save) 9596: (fp_load, fpintr): Add `void' return type. 9597: * i386/i386/ktss.c (ktss_init): Add `int' type to `exception_stack'. 9598: * i386/i386/loose_ends.c (delay): Add `void' return type. 9599: * i386/i386/phys.c (pmap_zero_page, pmap_copy_page, copy_to_phys) 9600: (copy_from_phys): Add `void' return type. 9601: * i386/i386/pic.c (picinit, form_pic_mask, intnull, prtnull): Add 9602: `void' return type. 9603: * i386/i386/pit.c (clkstart): Add `void' return type. 9604: * i386/i386at/com.c (comparm, comtimer, fix_modem_state) 9605: (commodem_intr): Add `void' return type. 9606: (comintr, commctl, comstop): Add `int' return type. 9607: * i386/i386at/iopl.c (ioplclose): Add `int' return type. 9608: * i386/i386at/kd.c (kd_io_map_openn, kd_io_map_close, feep, pause) 9609: (kd_debug_put, cnpollc, kdclose, kd_handle_ack, kd_resend, kdinit) 9610: (kd_belloff, kd_bellon, kd_putc, kd_setpos, kd_scrollup, kd_scrolldn) 9611: (kd_parseesc, kd_parserest, kd_tab, kd_cls, kd_home, kd_up, kd_down) 9612: (kd_right, kd_left, kd_cr, kd_cltobcur, kd_cltopcurn, kd_cltoecur) 9613: (kd_clfrbcur, kd_delln, kd_insln, kd_delch, kd_erase, kd_eraseln) 9614: (kd_insch, kd_senddata, kd_sendcmd, kd_cmdreg_write, kd_mouse_drain) 9615: (set_kd_state, kd_setleds1, kd_setleds2, cnsetleds, kdreboot): Add 9616: `void' return type. 9617: (kdopen, kdread, kdwrite, kdportdeath, kdsetbell, kdgetkbent, kdintr) 9618: (do_modifier, kdstate2idx, kdstart, kdstop, kd_kbd_magic): Add `int' 9619: return type. 9620: (kd_isupper, kd_islower): Add `boolean_t' return type. 9621: (kd_cmdreg_read): Add `unsigned char' return type. 9622: * i386/i386at/kd_event.c (kbdinit, kbdclose, kdb_in_out, X_kdb_enter) 9623: (X_kdb_exit, X_kdb_enter_init, X_kdb_exit_init): Add `void' return 9624: type. 9625: (kbdopen, kbdioctl, kbdselect, kbdread): Add `int' return type. 9626: * i386/i386at/kd_mouse.c (init_mouse_hw, serial_mouse_open) 9627: (kd_mouse_open, mouseclose, serial_mouse_close, kd_mouse_close) 9628: (mouse_handle_byte, mouse_packet_mouse_system_mouse) 9629: (mouse_packet_microsoft_mouse, ibm_ps2_mouse_open) 9630: (ibm_ps2_mouse_close, mouse_packet_ibm_ps2_mouse, mouse_moved) 9631: (mouse_button): Add `void' return type. 9632: (mouseopen, mouseioctl, mouseselect, mouseread, mouseintr): Add `int' 9633: return type. 9634: * i386/i386at/lpr.c (lprclose, lprpr_addr): Add `void' return type. 9635: (lprprobe, lpropen, lprread, lprwrite, lprportdeath, lprstop, lprpr): 9636: Add `int' return type. 9637: * i386/i386at/model_dep.c (i386at_init, startrtclock): Add `void' 9638: return type. 9639: (timemmap): Add `int' return type. 9640: * i386/i386at/rtc.c (rtcinit, rtcput): Add `void' return type. 9641: (yeartoday, hexdectodec, readtodc, writetodc): Add `int' return type. 9642: * i386/intel/pmap.c (pmap_pageable): Add `void' return type. 9643: * kern/eventcount.c (simpler_thread_setrun): Add `int' type to 9644: `whichrq' variable. 9645: 9646: 2006-11-13 Barry deFreese <[email protected]> 9647: 9648: * i386/i386/locore.h: New file. 9649: * i386/i386/pcb.h: New file. 9650: * i386/i386/pcb.c: Include `pcb.h'. 9651: * i386/i386/pit.c (clkstart): Fix type of s into unsigned long. 9652: * i386/i386/spl.h (spl0, splsched, splx, splsoftclock, splon, sploff) 9653: (splhigh, splimp, spltty, splclock, setsoftclock): Add prototype. 9654: * i386/i386at/kd_event.h: New file. 9655: * i386/i386at/kd_event.c: Include `kd_event.h'. 9656: * i386/i386at/kd_mouse.h: New file. 9657: * i386/i386at/kd_mouse.c: Include `kd_mouse.h'. 9658: (mouseclose): Fix call of `serial_mouse_close' function. 9659: * i386/i386at/kd.c: Include `kd_event.h' and `kd_mouse.h'. 9660: * i386/i386at/kd.h (splx, spltty): Remove prototypes.h 9661: * i386/i386at/lpr.c: Likewise. 9662: * ipc/mach_msg.c: Include `machine/locore.h' and `machine/pcb.h'. 9663: * kern/mach_clock.h: New file. 9664: * kern/mach_clock.c: Include `kern/queue.h', `kern/timer.h' and 9665: `mach_clock.h'. 9666: * kern/mach_factor.h: New file. 9667: * kern/mach_factor.c: Include `mach_factor.h'. 9668: * kern/sched_prim.c: Include `kern/mach_factor.h'. 9669: * kern/thread.c: Include `machine/pcb.h'. 9670: 9671: 2006-11-11 Thomas Schwinge <[email protected]> 9672: 9673: * Makefile.am (gnumach-undef-bad): Depend on the Makefile. 9674: 9675: 2006-11-11 Samuel Thibault <[email protected]> 9676: 9677: Fix I/O port type. 9678: * i386/i386/pic.c (master_icq, master_ocw, slaves_icq, slaves_ocw): 9679: Change variables type from char * to unsigned short. 9680: (picinit): Remove now-useless cast. 9681: * i386/i386at/kd_mouse.c (init_mouse_hw, serial_mouse_close) 9682: (mouseintr): Change variable type from caddr_t to unsigned short, 9683: remove now-useless cast. 9684: 9685: [task #5726 -- GCC built-in functions] 9686: * kern/machine.c: Include `string.h'. 9687: 9688: Fix ``assignment used as truth value'' warnings. 9689: * device/cons.c (cninit): Add parenthesis. 9690: * kern/bootstrap.c (copy_bootstrap): Likewise. 9691: * kern/printf.c (_doprnt): Likewise. 9692: * vm/vm_map.c (vm_map_lookup): Likewise. 9693: 9694: Fix a bunch of ``unused variable'' warnings. 9695: * device/ds_routines.c (ds_device_open): Remove unused `namebuf' 9696: variable. 9697: * device/kmsg.c (kmsgread): Remove unused `err' variable. 9698: * device/net_io.c (net_set_filter): Remove unused `j' variable. 9699: * i386/i386/pcb.c (curr_gdt, curr_ktss): Artificially use parameter of 9700: macro. 9701: * i386/i386/pic.c (picinit): Remove unused `i' variable. 9702: * i386/i386/pit.c (clkstart): Remove unused `flags' variable. 9703: * i386/i386/trap.c (kernel_trap): Remove unused `exc' variable. 9704: (user_trap): Remove unused `map' and `result' variables. 9705: (v86_assist): Remove unused `size' variable. 9706: * i386/i386at/i386at_ds_routines.c (ds_device_open): Remove unused 9707: `dev' variable. 9708: * i386/i386at/kd.c (kdintr): Remove unused `o_pri' variable. 9709: (kdcngetc): Remove unused `i' variable. 9710: * i386/i386at/kd_event.c (kbdgetstat, kbdsetstat): Remove unused 9711: `result' variable. 9712: * i386/i386at/kd_mouse.c (mousegetstat): Likewise. 9713: * i386/i386at/lpr.c (lprattach): Remove unused `tp' variable. 9714: (lprsetstat): Remove unused `dev_addr' and `s' variables. 9715: * i386/intel/pmap.c (pmap_bootstrap): Remove unused `pteva' variable. 9716: (SPLVM, SPLX): Artificially use parameter of macro. 9717: * ipc/ipc_kmsg.c (ipc_kmsg_copyin_body): Remove unused `mr' variable. 9718: * kern/bootstrap.c (boot_script_exec_cmd): Remove unused 9719: `boot_exec_info' and `user_map' variables. 9720: * vm/vm_kern.c (projected_buffer_map): Remove unused `object' 9721: variable. 9722: 9723: 2006-11-10 Samuel Thibault <[email protected]> 9724: 9725: * kern/sched_prim.h (thread_syscall_return): Replace old `volatile' 9726: function qualifier with __attribute__((__noreturn__)). 9727: 9728: 2006-11-09 Barry deFreese <[email protected]> 9729: 9730: [task #5726 -- GCC built-in functions] 9731: * include/printf.h: Move file... 9732: * kern/printf.h: ... here. 9733: * kern/debug.h (panic_init, panic): Add prototypes. 9734: * chips/busses.c: Don't include `printf.h', include `kern/printf.h' 9735: and `kern/debug.h' for panic(). 9736: * ddb/db_command.c: Likewise. 9737: * ddb/db_cond.c: Likewise. 9738: * ddb/db_output.c: Likewise. 9739: * device/cirbuf.c: Likewise. 9740: * device/cons.c: Likewise. 9741: * device/dev_name.c: Likewise. 9742: * device/dev_pager.c: Likewise. 9743: * device/device_init.c: Likewise. 9744: * device/dk_label.c: Likewise. 9745: * device/ds_routines.c: Likewise. 9746: * device/net_io.c: Likewise. 9747: * device/subrs.c: Likewise. 9748: * i386/i386/debug_i386.c: Likewise. 9749: * i386/i386/fpe_linkage.c: Likewise. 9750: * i386/i386/fpu.c: Likewise. 9751: * i386/i386/io_map.c: Likewise. 9752: * i386/i386/kttd_interface.c: Likewise. 9753: * i386/i386/mp_desc.c: Likewise. 9754: * i386/i386/pcb.c: Likewise. 9755: * i386/i386/pic.c: Likewise. 9756: * i386/i386/trap.c: Likewise. 9757: * i386/i386at/autoconf.c: Likewise. 9758: * i386/i386at/com.c: Likewise. 9759: * i386/i386at/i386at_ds_routines.c: Likewise. 9760: * i386/i386at/kd.c: Likewise. 9761: * i386/i386at/kd_event.c: Likewise. 9762: * i386/i386at/kd_mouse.c: Likewise. 9763: * i386/i386at/lpr.c: Likewise. 9764: * i386/i386at/model_dep.c: Likewise. 9765: * i386/intel/pmap.c: Likewise. 9766: * ipc/ipc_entry.c: Likewise. 9767: * ipc/ipc_hash.c: Likewise. 9768: * ipc/ipc_kmsg.c: Likewise. 9769: * ipc/ipc_mqueue.c: Likewise. 9770: * ipc/ipc_notify.c: Likewise. 9771: * ipc/ipc_object.c: Likewise. 9772: * ipc/ipc_port.c: Likewise. 9773: * ipc/ipc_pset.c: Likewise. 9774: * ipc/ipc_right.c: Likewise. 9775: * ipc/mach_msg.c: Likewise. 9776: * ipc/mach_port.c: Likewise. 9777: * ipc/mach_rpc.c: Likewise. 9778: * kern/act.c: Likewise. 9779: * kern/ast.c: Likewise. 9780: * kern/bootstrap.c: Likewise. 9781: * kern/debug.c: Likewise. 9782: * kern/eventcount.c: Likewise. 9783: * kern/exception.c: Likewise. 9784: * kern/host.c: Likewise. 9785: * kern/ipc_host.c: Likewise. 9786: * kern/ipc_kobject.c: Likewise. 9787: * kern/ipc_mig.c: Likewise. 9788: * kern/ipc_sched.c: Likewise. 9789: * kern/ipc_tt.c: Likewise. 9790: * kern/kalloc.c: Likewise. 9791: * kern/lock.c: Likewise. 9792: * kern/mach_clock.c: Likewise. 9793: * kern/machine.c: Likewise. 9794: * kern/pc_sample.c: Likewise. 9795: * kern/printf.c: Likewise. 9796: * kern/processor.c: Likewise. 9797: * kern/sched_prim.c: Likewise. 9798: * kern/server_loop.ch: Likewise. 9799: * kern/startup.c: Likewise. 9800: * kern/task.c: Likewise. 9801: * kern/thread.c: Likewise. 9802: * kern/thread_swap.c: Likewise. 9803: * kern/xpr.c: Likewise. 9804: * kern/zalloc.c: Likewise. 9805: * vm/memory_object.c: Likewise. 9806: * vm/vm_debug.c: Likewise. 9807: * vm/vm_fault.c: Likewise. 9808: * vm/vm_kern.c: Likewise. 9809: * vm/vm_map.c: Likewise. 9810: * vm/vm_object.c: Likewise. 9811: * vm/vm_object.h: Likewise. 9812: * vm/vm_pageout.c: Likewise. 9813: * vm/vm_resident.c: Likewise. 9814: 9815: 2006-11-08 Thomas Schwinge <[email protected]> 9816: 9817: * aclocal.m4: Regenerate using GNU Autoconf 2.60 and GNU Automake 1.10. 9818: * INSTALL: Likewise. 9819: * Makefile.in: Likewise. 9820: * configure: Likewise. 9821: * build-aux/config.guess: Likewise. 9822: * build-aux/config.sub: Likewise. 9823: * build-aux/depcomp: Likewise. 9824: * build-aux/install-sh: Likewise. 9825: * build-aux/missing: Likewise. 9826: * build-aux/texinfo.tex: Likewise. 9827: 9828: * Makefrag.am (gnumach.msgids): Remove temporary files. 9829: 9830: 2006-11-08 Samuel Thibault <[email protected]> 9831: 9832: [task #5726 -- GCC built-in functions] 9833: * include/printf.h (iprintf): Fix prototype. 9834: (vprintf): Add prototype. 9835: * kern/printf.c: Include `printf.h'. 9836: (vprintf, printf): Fix prototype and return a dumb value. 9837: * kern/startup.c: Include `printf.h'. 9838: 9839: 2006-11-07 Barry deFreese <[email protected]> 9840: 9841: [task #5726 -- GCC built-in functions] 9842: * include/printf.h: New file. 9843: (printf_init, _doprnt, printnum, sprintf, printf, indent, iprint): New 9844: declarations. 9845: * include/string.h (strchr, strcmp, strcpy, strlen, strncmp, strncpy) 9846: (strrchr, strsep): New extern declarations. 9847: * kern/strings.c: Don't include `kern/strings.h', include `string.h'. 9848: (strncmp, strncpy, strlen): Fix prototypes into using size_t. 9849: * kern/strings.h: Removed file. 9850: * kern/debug.c: Include `printf.h'. 9851: (do_cnputc): New function. 9852: (panic, log): Use do_cnputc instead of cnputc. 9853: * chips/busses.c: Don't include `kern/strings.h', include `printf.h' and 9854: `string.h'. 9855: (_doprnt): Remove extern declaration. 9856: (indent): Remove extern declaration. 9857: * ddb/db_aout.c: Likewise. 9858: * ddb/db_command.c: Likewise. 9859: * ddb/db_lex.c: Likewise. 9860: * ddb/db_macro.c: Likewise. 9861: * ddb/db_output.c: Likewise. 9862: * ddb/db_print.c: Likewise. 9863: * ddb/db_sym.c: Likewise. 9864: * device/dev_name.c: Likewise. 9865: * device/dev_pager.c: Likewise. 9866: * device/dk_label.c: Likewise. 9867: * device/ds_routines.c: Likewise. 9868: * device/net_io.c: Likewise. 9869: * device/subrs.c: Likewise. 9870: * i386/i386/db_trace.c: Likewise. 9871: * i386/i386/debug_i386.c: Likewise. 9872: * i386/i386/fpu.c: Likewise. 9873: * i386/i386/io_map.c: Likewise. 9874: * i386/i386/kttd_interface.c: Likewise. 9875: * i386/i386/pic.c: Likewise. 9876: * i386/i386/trap.c: Likewise. 9877: * i386/i386at/autoconf.c: Likewise. 9878: * i386/i386at/com.c: Likewise. 9879: * i386/i386at/i386at_ds_routines.c: Likewise. 9880: * i386/i386at/kd.c: Likewise. 9881: * i386/i386at/kd_event.c: Likewise. 9882: * i386/i386at/kd_mouse.c: Likewise. 9883: * i386/i386at/lpr.c: Likewise. 9884: * i386/i386at/model_dep.c: Likewise. 9885: * i386/intel/pmap.c: Likewise. 9886: * ipc/ipc_entry.c: Likewise. 9887: * ipc/ipc_hash.c: Likewise. 9888: * ipc/ipc_kmsg.c: Likewise. 9889: * ipc/ipc_notify.c: Likewise. 9890: * ipc/ipc_object.c: Likewise. 9891: * ipc/ipc_port.c: Likewise. 9892: * ipc/ipc_pset.c: Likewise. 9893: * ipc/mach_msg.c: Likewise. 9894: * ipc/mach_port.c: Likewise. 9895: * ipc/mach_rpc.c: Likewise. 9896: * kern/bootstrap.c: Likewise. 9897: * kern/eventcount.c: Likewise. 9898: * kern/ipc_kobject.c: Likewise. 9899: * kern/pc_sample.c: Likewise. 9900: * kern/printf.c: Likewise. 9901: * kern/sched_prim.c: Likewise. 9902: * kern/thread.c: Likewise. 9903: * kern/zalloc.c: Likewise. 9904: * vm/vm_fault.c: Likewise. 9905: * vm/vm_map.c: Likewise. 9906: * vm/vm_object.c: Likewise. 9907: * vm/vm_resident.c: Likewise. 9908: 9909: 2006-11-05 Samuel Thibault <[email protected]> 9910: 9911: * include/string.h: Fix copyright assignment to FSF, keep author's 9912: name. 9913: 9914: 2006-11-05 Thomas Schwinge <[email protected]> 9915: 9916: * linux/dev/README: New file. 9917: 9918: * config.h.in: Regenerate. 9919: * configure: Likewise. 9920: 9921: [task #5956 -- Automake'ify GNU Mach's code base] 9922: * configure.ac <AM_INIT_AUTOMAKE>: Add `no-define' and `1.9'. 9923: 9924: 2006-11-05 Barry deFreese <[email protected]> 9925: 9926: [task #5878 -- Backport code from GNU Mach's trunk to 9927: gnumach-1-branch: i386_set_gdt, i386_get_gdt''] 9928: [sync from HEAD, 2002-10-03] 9929: * i386/include/mach/i386/mach_i386.defs (i386_set_gdt, i386_get_gdt): 9930: New routines. 9931: * i386/i386/user_ldt.c (i386_set_gdt, i386_get_gdt): New functions. 9932: * i386/i386/gdt.h (USER_GDT, USER_GDT_SLOTS): New macros. 9933: (GDTSZ): Compute it from USER_GDT and USER_GDT_SLOTS. 9934: * i386/i386/thread.h: Include `gdt.h'. 9935: (struct i386_machine_state): New member `user_gdt'. 9936: * i386/i386/pcb.c (switch_ktss): Copy those slots into the GDT. 9937: * linux/src/include/linux/head.h (idt,gdt): Remove extern declaration. 9938: 9939: 2006-11-05 Samuel Thibault <[email protected]> 9940: 9941: FPU, CPU and IO stubs cleanup. 9942: * i386/i386/fpu.h (fstcw): New macro. 9943: * i386/i386/locore.S (_fninit, _fstcw, _fldcw, _fnstsw, _fnclex) 9944: (_clts, _fpsave, _fprestore, set_cr3, get_cr3, flush_tlb, get_cr2) 9945: (get_ldt, set_ldt, get_tr, set_tr, _setts, outb, inb, outw, inw, outl) 9946: (inl, loutb, loutw, linb, linw): Remove functions. 9947: * i386/i386/proc_reg.h (flush_tlb): New macro. 9948: * i386/i386/db_interface.c: Include `i386/proc_reg.h'. 9949: * i386/intel/pmap.c: Likewise. 9950: * i386/intel/pmap.h: Likewise. 9951: * i386/i386/fpu.c: Include `i386/pio.h'. 9952: * i386/i386/pic.c: Likewise. 9953: * i386/i386/pit.c: Likewise. 9954: * i386/i386at/iopl.c: Likewise. 9955: * i386/i386at/kd.c: Likewise. 9956: * i386/i386at/kd_event.c: Likewise. 9957: * i386/i386at/kd_mouse.c: Likewise. 9958: * i386/i386at/rtc.c: Likewise. 9959: 9960: 2006-11-05 Barry deFreese <[email protected]> 9961: 9962: [task #5726 -- GCC built-in functions] 9963: * include/string.h: New file. 9964: * include/mach/mig_support.h: Include `string.h'. 9965: [MACH_KERNEL] (bcopy): Remove extern declaration. 9966: [MACH_KERNEL] (memcpy): Remove macro. 9967: * device/cirbuf.c: Include `string.h'. 9968: (q_to_b, b_to_q): Replace bcopy() with memcpy() and bzero() with 9969: memset(), clean memcpy() and memset() invocation. 9970: * device/cons.c (cnputc): Likewise. 9971: * device/dev_pager.c (device_pager_data_request_done): Likewise. 9972: * device/ds_routines.c (device_write_get, ds_read_done): Likewise. 9973: * device/kmsg.c: Likewise. 9974: * device/net_io.c (net_filter, net_set_filter, net_getstat): Likewise. 9975: * i386/i386/fpu.c (fpu_set_state, fpu_get_state, fp_load) 9976: (fp_state_alloc): Likewise. 9977: * i386/i386/iopb.c (io_tss_init, i386_io_port_list): Likewise. 9978: * i386/i386/mp_desc.c (mp_desc_init): Likewise. 9979: * i386/i386/pcb.c (pcb_init, thread_setstatus) 9980: (thread_getstatus): Likewise. 9981: * i386/i386/phys.c (pmap_zero_page, pmap_copy_page, copy_to_phys) 9982: (copy_from_phys): Likewise. 9983: * i386/i386/trap.c (v86_assist): Likewise. 9984: * i386/i386/user_ldt.c (i386_set_ldt, i386_get_ldt): Likewise. 9985: * i386/i386at/immc.c (immc_cnputc): Likewise. 9986: * i386/i386at/kd_event.c (X_kdb_enter_init, X_kdb_exit_init): Likewise. 9987: * i386/intel/pmap.c (pmap_init, pmap_page_table_page_alloc) 9988: (pmap_create): Likewise. 9989: * ipc/ipc_entry.c (ipc_entry_grow_table): Likewise. 9990: * ipc/ipc_kmsg.c (ipc_kmsg_get_from_kernel) 9991: (ipc_kmsg_put_to_kernel): Likewise. 9992: * ipc/ipc_object.c (ipc_object_alloc, ipc_object_alloc_name): Likewise. 9993: * ipc/ipc_port.c (ipc_port_dngrow): Likewise. 9994: * ipc/ipc_space.c: Likewise. 9995: * ipc/mach_debug.c (mach_port_space_info) 9996: (mach_port_space_info): Likewise. 9997: * kern/act.c (act_create): Likewise. 9998: * kern/boot_script.c: Likewise. 9999: * kern/bootstrap.c: Likewise. 10000: * kern/eventcount.c (evc_init): Likewise. 10001: * kern/host.c (host_info, host_processor_sets): Likewise. 10002: * kern/lock.c (lock_init): Likewise. 10003: * kern/lock_mon.c (lock_info_clear): Likewise. 10004: * kern/mach_clock.c (mapable_time_init): Likewise. 10005: * kern/pc_sample.c (get_sampled_pcs): Likewise. 10006: * kern/processor.c (processor_set_things): Likewise. 10007: * kern/syscall_emulation.c (task_set_emulation_vector_internal) 10008: (task_get_emulation_vector, xxx_task_get_emulation_vector): Likewise. 10009: * kern/task.c (task_threads): Likewise. 10010: * kern/xpr.c (xprbootstrap): Likewise. 10011: * kern/zalloc.c (host_zone_info): Likewise. 10012: * vm/vm_debug.c (mach_vm_object_pages): Likewise. 10013: * vm/vm_kern.c (projected_buffer_allocate, copyinmap) 10014: (copyoutmap): Likewise. 10015: * vm/vm_object.c (vm_object_bootstrap): Likewise. 10016: * vm/vm_resident.c (vm_page_grab_contiguous_pages): Likewise. 10017: 10018: 2006-11-05 Samuel Thibault <[email protected]> 10019: 10020: * DEVELOPMENT: Document the following removals. 10021: 10022: Drop MB1/MB2/EXL architecture support. 10023: * i386/i386/pit.h (PITCTR0_PORT, PITCTR1_PORT, PITCTR2_PORT) 10024: (PITCTL_PORT, CLKNUM): Remove MB1/MB2/EXL cases. 10025: [EXL] (time_latch): Remove structure and type. 10026: [EXL] (intr_disable, intr_restore): Remove functions. 10027: 10028: Drop iPSC architecture support. 10029: * i386/i386/hardclock.c: Remove iPSC386 from #if. 10030: * i386/i386/locore.S: Remove iPSC386 delays. 10031: * i386/i386/pic.c: Remove iPSC386 support. 10032: (SLAVEMASK): Rmove iPSC386 case. 10033: * i386/i386/pic.h (ADDR_PIC_BASE, OFF_ICW, OFF_OCW, SIZE_PIC) 10034: (PICM_VECTBASE, PICS_VECTBASE): Remove iPSC386 cases. 10035: [iPSC386] (I_AM_A_SLAVE, I_AM_A_MASTR): Remove macros. 10036: * i386/i386/pit.h: Remove iPSC386 from #if. 10037: [iPSC386] (CLKNUM): Remove macro. 10038: * kern/machine.c (host_get_boot_info): Remove iPSC386 support. 10039: * vm/vm_map.h (VM_MAP_COPY_PAGE_LIST_MAX): Remove iPSC case. 10040: 10041: Drop i860 architecture support. 10042: * i386/i386/pmap.h: Remove i860 comment. 10043: * i386/intel/pmap.c: Remove i860 comments. 10044: [i860]: Don't include `i860ipsc/nodehw.h'. 10045: (INVALIDATE_TLB): Remove i860 case. 10046: (paging_enabled): Remove variable. 10047: (pmap_map): Remove setting INTEL_PTE_NCACHE. 10048: (pmap_bootstrap): Remove i860 support. 10049: (pmap_page_table_page_alloc): Remove setting INTEL_PTE_NCACHE. 10050: (pmap_enter): Remove call to flush function. 10051: (set_dirbase): Remove function. 10052: * i386/intel/pmap.h: Remove i860 comments. 10053: (INTEL_PGBYTES, INTEL_PGSHIFT, intel_btop, intel_ptob) 10054: (intel_round_page, intel_trunc_page, trunc_intel_to_vm) 10055: (round_intel_to_vm, vm_to_intel, INTEL_PTE_VALID, set_dirbase): Remove 10056: i860 cases. 10057: (INTEL_PTE_valid): Remove macro. 10058: * i386/intel/read_fault.c: Remove i860 comment. 10059: 10060: Drop PS2 architecture support. 10061: * i386/i386/fpu.c (fpintr): Remove PS2 from #if. 10062: * i386/i386/gdt.c [PS2] (abios_int_return, abios_th_return, intstack): 10063: Remove extern declarations. 10064: * i386/i386/gdt.h [PS2] (ABIOS_INT_RET, ABIOS_TH_RET, ABIOS_INT_SS) 10065: (ABIOS_TH_SS, ABIOS_FIRST_AVAIL_SEL): Remove macros. 10066: (GDTSZ): Remove PS2 case. 10067: * i386/i386/hardclock.c [PS2]: Don't include `i386/pic.h' and 10068: `i386/pio.h'. 10069: (hardclock): Remove PS2 prototype and code. 10070: * i386/i386/locore.S (RET_OFFSET): Remove PS2 stack layout. 10071: * i386/i386/pic.c (picinit): Remove #ifdef PS2. 10072: * i386/i386/pic.h: Remove PS2 from #if. 10073: * i386/i386/pit.c [PS2] (clock_int_handler): Remove extern declaration. 10074: Don't include `sys/types.h' and `i386ps2/abios.h'. 10075: (clock_request_block, clock_flags, cqbuf): Remove variables. 10076: (clkstart): Remove call to abios_clock_start function. 10077: (COUNT): Don't define. 10078: (abios_clock_start, ackrtclock): Remove functions. 10079: * i386/i386/pit.h: Remove PS2 from #if. 10080: 10081: 2006-10-26 Thomas Schwinge <[email protected]> 10082: 10083: * Makefile.in: Regenerate. 10084: 10085: [task #5956 -- Automake'ify GNU Mach's code base] 10086: 10087: * Makefrag.am (gnumach.msgids): Remove repetition. 10088: * Makerules.am (%.server.msgids, %.user.msgids): Targets renamed from 10089: `%.msgids'. Also consider MIGCOMSFLAGS respective MIGCOMUFLAGS. 10090: Thanks to Guillem Jover and Leonardo Lopes Pereira for reporting this. 10091: 10092: The Automake build system wants us to have these files in the rcs, so 10093: do that. 10094: * doc/mach.info: New file, generated. 10095: * doc/mach.info-1: Likewise. 10096: * doc/mach.info-2: Likewise. 10097: * doc/stamp-vti: Likewise. 10098: * doc/version.texi: Likewise. 10099: 10100: 2006-10-18 Thomas Schwinge <[email protected]> 10101: 10102: * Makefile.in: Regenerate. 10103: 10104: Install `PREFIX/share/msgids/gnumach.msgids'. 10105: * Makerules.am (%.msgids): Two new rules. 10106: * Makefrag.am (MOSTLYCLEANFILES): Add `gnumach.msgids'. 10107: (gnumach.msgids): New rule. 10108: (exec_msgidsdir, exec_msgids_DATA): New variables. 10109: 10110: 2006-10-16 Thomas Schwinge <[email protected]> 10111: 10112: * configure: Regenerate. 10113: 10114: [bug #18011 -- `make install-data' will build the 10115: ``to-be-generated files''] 10116: * config.status.dep.patch: Do an educated guess instead of using the 10117: `Makefile'. 10118: * configure.ac <config.status.dep.patch>: Update description. 10119: 10120: 2006-10-15 Thomas Schwinge <[email protected]> 10121: 10122: * configure: Regenerate. 10123: 10124: * configure.ac: Update texts snippets: GNU Automake 1.10 has just been 10125: released. 10126: 10127: * i386/include/Makefile.in: Remove unused file. Thanks to Guillem 10128: Jover for spotting this. 10129: 10130: [task #5956 -- Automake'ify GNU Mach's code base] 10131: 10132: * configure: Regenerate. 10133: 10134: * configure.ac <config.status.dep.patch>: Point to [bug #18011 -- 10135: `make install-data' will build the ``to-be-generated files'']. 10136: 10137: * Makefile.in: Regenerate. 10138: 10139: * Makefrag.am (include_mach_exec): Rename to `include_mach_eXec'. 10140: 10141: * Makefile.in: New file, generated by `autoreconf'. 10142: * config.h.in: Likewise. 10143: * configure: Updated file, generated by `autoreconf'. 10144: 10145: * INSTALL: File updated, thanks to `autoreconf'. 10146: * aclocal.m4: Likewise. 10147: 10148: * build-aux/compile: New file, thanks to `autoreconf'. 10149: * build-aux/config.guess: Likewise. 10150: * build-aux/config.sub: Likewise. 10151: * build-aux/depcomp: Likewise. 10152: * build-aux/install-sh: Likewise. 10153: * build-aux/mdate-sh: Likewise. 10154: * build-aux/missing: Likewise. 10155: * build-aux/texinfo.tex: Likewise. 10156: 10157: * AUTHORS: New file, copy from the MIG repository. 10158: 10159: * kern/bootstrap.c: Don't include `bootstrap_symbols.h'. 10160: * ddb/db_command.c: Don't include `cpus.h'. 10161: * ddb/db_mp.c: Likewise. 10162: * i386/i386/ast_check.c: Likewise. 10163: * i386/i386/cswitch.S: Likewise. 10164: * i386/i386/db_interface.c: Likewise. 10165: * i386/i386/fpu.c: Likewise. 10166: * i386/i386/fpu.h: Likewise. 10167: * i386/i386/i386asm.sym: Likewise. 10168: * i386/i386/locore.S: Likewise. 10169: * i386/i386/mp_desc.c: Likewise. 10170: * i386/i386/mp_desc.h: Likewise. 10171: * i386/i386/pcb.c: Likewise. 10172: * i386/i386/trap.c: Likewise. 10173: * i386/intel/pmap.c: Likewise. 10174: * include/mach/machine.h: Likewise. 10175: * ipc/ipc_kmsg.c: Likewise. 10176: * ipc/ipc_kmsg.h: Likewise. 10177: * kern/ast.c: Likewise. 10178: * kern/ast.h: Likewise. 10179: * kern/cpu_number.h: Likewise. 10180: * kern/debug.c: Likewise. 10181: * kern/eventcount.c: Likewise. 10182: * kern/host.c: Likewise. 10183: * kern/ipc_sched.c: Likewise. 10184: * kern/lock.c: Likewise. 10185: * kern/lock.h: Likewise. 10186: * kern/lock_mon.c: Likewise. 10187: * kern/mach_clock.c: Likewise. 10188: * kern/mach_factor.c: Likewise. 10189: * kern/machine.c: Likewise. 10190: * kern/priority.c: Likewise. 10191: * kern/processor.c: Likewise. 10192: * kern/processor.h: Likewise. 10193: * kern/sched.h: Likewise. 10194: * kern/sched_prim.c: Likewise. 10195: * kern/startup.c: Likewise. 10196: * kern/syscall_subr.c: Likewise. 10197: * kern/thread.c: Likewise. 10198: * kern/timer.c: Likewise. 10199: * kern/timer.h: Likewise. 10200: * vm/vm_resident.c: Likewise. 10201: * kern/sched_prim.c: Don't include `fast_tas.h'. 10202: * kern/task.c: Likewise. 10203: * kern/task.h: Likewise. 10204: * kern/sched_prim.c: Don't include `hw_footprint.h'. 10205: * kern/thread.c: Likewise. 10206: * kern/thread.h: Likewise. 10207: * kern/counters.c: Don't include `mach_counters.h'. 10208: * kern/counters.h: Likewise. 10209: * ddb/db_ext_symtab.c: Don't include `mach_debug.h'. 10210: * i386/i386/pcb.c: Likewise. 10211: * kern/ipc_kobject.c: Likewise. 10212: * kern/thread.c: Likewise. 10213: * kern/zalloc.c: Likewise. 10214: * kern/ast.c: Don't include `mach_fixpri.h'. 10215: * kern/processor.c: Likewise. 10216: * kern/processor.h: Likewise. 10217: * kern/sched.h: Likewise. 10218: * kern/sched_prim.c: Likewise. 10219: * kern/syscall_subr.c: Likewise. 10220: * kern/thread.c: Likewise. 10221: * kern/thread.h: Likewise. 10222: * kern/host.c: Don't include `mach_host.h'. 10223: * kern/ipc_sched.c: Likewise. 10224: * kern/machine.c: Likewise. 10225: * kern/processor.c: Likewise. 10226: * kern/processor.h: Likewise. 10227: * kern/sched_prim.c: Likewise. 10228: * kern/startup.c: Likewise. 10229: * kern/task.c: Likewise. 10230: * kern/thread.c: Likewise. 10231: * kern/thread.h: Likewise. 10232: * include/mach/mach.defs: Don't include `mach_ipc_compat.h'. 10233: * include/mach/mach_param.h: Likewise. 10234: * include/mach/mach_traps.h: Likewise. 10235: * include/mach/message.h: Likewise. 10236: * include/mach/mig_errors.h: Likewise. 10237: * include/mach/notify.h: Likewise. 10238: * include/mach/port.h: Likewise. 10239: * include/mach/std_types.defs: Likewise. 10240: * include/mach/task_special_ports.h: Likewise. 10241: * include/mach/thread_special_ports.h: Likewise. 10242: * ipc/ipc_kmsg.c: Likewise. 10243: * ipc/ipc_kmsg.h: Likewise. 10244: * ipc/ipc_marequest.c: Likewise. 10245: * ipc/ipc_notify.c: Likewise. 10246: * ipc/ipc_notify.h: Likewise. 10247: * ipc/ipc_object.c: Likewise. 10248: * ipc/ipc_object.h: Likewise. 10249: * ipc/ipc_port.c: Likewise. 10250: * ipc/ipc_port.h: Likewise. 10251: * ipc/ipc_right.c: Likewise. 10252: * ipc/ipc_right.h: Likewise. 10253: * ipc/ipc_space.c: Likewise. 10254: * ipc/ipc_space.h: Likewise. 10255: * ipc/mach_debug.c: Likewise. 10256: * ipc/mach_msg.c: Likewise. 10257: * ipc/mach_msg.h: Likewise. 10258: * ipc/mach_port.c: Likewise. 10259: * kern/ipc_tt.c: Likewise. 10260: * kern/syscall_sw.c: Likewise. 10261: * kern/thread.h: Likewise. 10262: * include/mach_debug/mach_debug.defs: Don't include `mach_ipc_debug.h'. 10263: * ipc/ipc_hash.c: Likewise. 10264: * ipc/ipc_hash.h: Likewise. 10265: * ipc/ipc_marequest.c: Likewise. 10266: * ipc/ipc_marequest.h: Likewise. 10267: * kern/ipc_kobject.c: Don't include `mach_ipc_test.h'. 10268: * ddb/db_access.c: Don't include `mach_kdb.h'. 10269: * ddb/db_aout.c: Likewise. 10270: * ddb/db_break.c: Likewise. 10271: * ddb/db_command.c: Likewise. 10272: * ddb/db_command.h: Likewise. 10273: * ddb/db_cond.c: Likewise. 10274: * ddb/db_examine.c: Likewise. 10275: * ddb/db_expr.c: Likewise. 10276: * ddb/db_ext_symtab.c: Likewise. 10277: * ddb/db_input.c: Likewise. 10278: * ddb/db_lex.c: Likewise. 10279: * ddb/db_macro.c: Likewise. 10280: * ddb/db_mp.c: Likewise. 10281: * ddb/db_output.c: Likewise. 10282: * ddb/db_print.c: Likewise. 10283: * ddb/db_run.c: Likewise. 10284: * ddb/db_sym.c: Likewise. 10285: * ddb/db_task_thread.c: Likewise. 10286: * ddb/db_trap.c: Likewise. 10287: * ddb/db_variables.c: Likewise. 10288: * ddb/db_watch.c: Likewise. 10289: * ddb/db_watch.h: Likewise. 10290: * ddb/db_write_cmd.c: Likewise. 10291: * i386/i386/db_disasm.c: Likewise. 10292: * i386/i386/db_interface.c: Likewise. 10293: * i386/i386/db_trace.c: Likewise. 10294: * i386/i386/i386asm.sym: Likewise. 10295: * i386/i386/locore.S: Likewise. 10296: * i386/i386/trap.c: Likewise. 10297: * i386/i386at/kd.c: Likewise. 10298: * i386/i386at/model_dep.c: Likewise. 10299: * include/mach_debug/mach_debug.defs: Likewise. 10300: * ipc/ipc_kmsg.c: Likewise. 10301: * ipc/ipc_object.c: Likewise. 10302: * ipc/ipc_port.c: Likewise. 10303: * ipc/ipc_pset.c: Likewise. 10304: * kern/bootstrap.c: Likewise. 10305: * kern/debug.c: Likewise. 10306: * kern/exception.c: Likewise. 10307: * kern/lock.c: Likewise. 10308: * kern/xpr.c: Likewise. 10309: * vm/vm_fault.c: Likewise. 10310: * vm/vm_map.c: Likewise. 10311: * vm/vm_object.c: Likewise. 10312: * vm/vm_resident.c: Likewise. 10313: * kern/lock.h: Don't include `mach_ldebug.h'. 10314: * kern/lock_mon.c: Don't include `mach_lock_mon.h'. 10315: * kern/ipc_kobject.c: Don't include `mach_machine_routines.h'. 10316: * kern/lock_mon.c: Don't include `mach_mp_debug.h'. 10317: * vm/memory_object.c: Don't include `mach_pagemap.h'. 10318: * vm/vm_fault.c: Likewise. 10319: * vm/vm_object.c: Likewise. 10320: * vm/vm_object.h: Likewise. 10321: * vm/vm_pageout.c: Likewise. 10322: * i386/i386/trap.c: Don't include `mach_pcsample.h'. 10323: * kern/mach4.srv: Likewise. 10324: * kern/mach_clock.c: Likewise. 10325: * kern/pc_sample.c: Likewise. 10326: * kern/task.c: Likewise. 10327: * kern/thread.c: Likewise. 10328: * vm/vm_fault.c: Likewise. 10329: * device/net_io.c: Don't include `mach_ttd.h'. 10330: * i386/i386/kttd_interface.c: Likewise. 10331: * i386/i386/locore.S: Likewise. 10332: * i386/i386/trap.c: Likewise. 10333: * i386/i386at/autoconf.c: Likewise. 10334: * include/mach_debug/mach_debug.defs: Don't include `mach_vm_debug.h'. 10335: * vm/vm_debug.c: Likewise. 10336: * vm/vm_page.h: Likewise. 10337: * vm/vm_resident.c: Likewise. 10338: * kern/sched_prim.c: Don't include `power_save.h'. 10339: * kern/sched.h: Don't include `simple_clock.h'. 10340: * kern/sched_prim.c: Likewise. 10341: * kern/thread.c: Likewise. 10342: * kern/mach_clock.c: Don't include `stat_time.h'. 10343: * i386/i386/i386asm.sym: Likewise. 10344: * i386/i386/locore.S: Likewise. 10345: * kern/sched.h: Likewise. 10346: * kern/timer.c: Likewise. 10347: * kern/timer.h: Likewise. 10348: * kern/startup.c: Don't include `xpr_debug.h'. 10349: * kern/xpr.h: Likewise. 10350: * i386/i386at/autoconf.c: Don't include `com.h'. 10351: * i386/i386at/com.c: Likewise. 10352: * i386/i386at/conf.c: Likewise. 10353: * i386/i386at/cons_conf.c: Likewise. 10354: * i386/i386/fpe_linkage.c: Don't include `fpe.h'. 10355: * i386/i386/fpu.c: Likewise. 10356: * i386/i386/fpu.h: Likewise. 10357: * i386/i386/trap.c: Likewise. 10358: * i386/i386at/autoconf.c: Don't include `lpr.h'. 10359: * i386/i386at/conf.c: Likewise. 10360: * i386/i386at/lpr.c: Likewise. 10361: * i386/i386/cswitch.S: Don't include `platforms.h'. 10362: * i386/i386/fpu.c: Likewise. 10363: * i386/i386/gdt.c: Likewise. 10364: * i386/i386/hardclock.c: Likewise. 10365: * i386/i386/i386asm.sym: Likewise. 10366: * i386/i386/io_emulate.c: Likewise. 10367: * i386/i386/locore.S: Likewise. 10368: * i386/i386/pic.c: Likewise. 10369: * i386/i386/pic.h: Likewise. 10370: * i386/i386/pit.c: Likewise. 10371: * i386/i386/pit.h: Likewise. 10372: * i386/i386/seg.h: Likewise. 10373: * i386/i386at/model_dep.c: Likewise. 10374: * i386/i386at/com.c: Don't include `rc.h' 10375: * i386/i386at/cons_conf.c: Likewise. 10376: * i386/i386at/pic_isa.c: Likewise. 10377: * device/ds_routines.c: Don't include <i386/linux/device-drivers.h>. 10378: * i386/i386at/i386at_ds_routines.c: Likewise. 10379: * i386/linux/dev/include/linux/autoconf.h: Likewise. 10380: * linux/dev/arch/i386/kernel/setup.c: Likewise. 10381: * linux/dev/init/main.c: Likewise. 10382: * linux/pcmcia-cs/glue/pcmcia_glue.h: Likewise. 10383: * linux/pcmcia-cs/glue/wireless_glue.h: Likewise. 10384: * kern/lock_mon.c: Don't include <time_stamp.h>. 10385: * device/cons.c: Include <device/cons.h> instead of <cons.h>. 10386: * i386/i386at/com.c: Likewise. 10387: * i386/i386at/kd.c: Likewise. 10388: * i386/i386at/cons_conf.c: Likewise. 10389: * i386/i386at/i386at_ds_routines.c: Include <device/device.server.h> 10390: instead of "device_interface.h". 10391: * device/chario.c: Include <device/device_reply.user.h> instead of 10392: "device_reply.h". 10393: * device/ds_routines.c: Likewise. 10394: * linux/dev/glue/block.c: Likewise. 10395: * linux/dev/glue/net.c: Likewise. 10396: * linux/pcmcia-cs/glue/ds.c: Likewise. 10397: * device/cons.c: Include <device/kmsg.h> instead of <kmsg.h>. 10398: * device/kmsg.c: Likewise. 10399: * i386/i386/cswitch.S: Include <i386/cpu_number.h> instead of 10400: "cpu_number.h". 10401: * i386/i386/locore.S: Likewise. 10402: * i386/intel/pmap.c: Likewise. 10403: * ipc/ipc_kmsg.h: Likewise. 10404: * i386/i386/i386asm.sym: Include <i386/gdt.h> instead of "gdt.h". 10405: * i386/i386/idt.c: Likewise. 10406: * i386/i386at/int_init.c: Likewise. 10407: * i386/i386/cswitch.S: Include <i386/i386asm.h> instead of "i386asm.h". 10408: * i386/i386/locore.S: Likewise. 10409: * i386/i386at/boothdr.S: Likewise. 10410: * i386/i386at/interrupt.S: Likewise. 10411: * i386/i386at/idt.h: Include <i386/idt-gen.h> instead of "idt-gen.h". 10412: * i386/i386at/interrupt.S: Include <i386/ipl.h> instead of "ipl.h". 10413: * i386/i386/i386asm.sym: Include <i386/ldt.h> instead of "ldt.h". 10414: * i386/i386/locore.S: Likewise. 10415: * i386/i386/i386asm.sym: Include <i386/mp_desc.h> instead of 10416: "mp_desc.h". 10417: * i386/i386at/interrupt.S: Include <i386/pic.h> instead of "pic.h". 10418: * i386/i386/cswitch.S: Include <i386/proc_reg.h> instead of 10419: "proc_reg.h". 10420: * i386/i386/locore.S: Likewise. 10421: * i386/i386at/model_dep.c: Likewise. 10422: * i386/i386/i386asm.sym: Include <i386/seg.h> instead of "seg.h". 10423: * i386/i386/idt.c: Likewise. 10424: * i386/i386/locore.S: Likewise. 10425: * i386/i386/locore.S: Include <i386/trap.h> instead of "trap.h". 10426: * i386/i386/i386asm.sym: Include <i386/tss.h> instead of "tss.h". 10427: * i386/i386/i386asm.sym: Include <i386/vm_param.h> instead of 10428: "vm_param.h". 10429: * i386/i386/idt.c: Likewise. 10430: * i386/i386at/kd.c: Likewise. 10431: * i386/i386at/model_dep.c: Likewise. 10432: * i386/intel/pmap.c: Likewise. 10433: * i386/i386/i386asm.sym: Include <i386at/idt.h> instead of "idt.h". 10434: * i386/i386/idt.c: Likewise. 10435: * i386/i386at/int_init.c: Likewise. 10436: * ipc/ipc_target.c: Include <kern/sched_prim.h> instead of 10437: "sched_prim.h". 10438: * vm/memory_object.c: Include <vm/memory_object_default.user.h> instead 10439: of "memory_object_default.h". 10440: * vm/vm_object.c: Likewise. 10441: * vm/vm_pageout.c: Likewise. 10442: * vm/memory_object.c: Include <vm/memory_object_user.user.h> instead of 10443: "memory_object_user.h". 10444: * vm/vm_fault.c: Likewise. 10445: * vm/vm_object.c: Likewise. 10446: * vm/vm_pageout.c: Likewise. 10447: 10448: * Makefile.am: New file. 10449: * Makerules.am <configure's findings, System dependent Makerules> 10450: <Compilation flags, Dependency generation, Autoconf support>: Remove 10451: sections. 10452: <Building from foo.cli, Building from foo.srv>: Rewrite: 10453: (%.server.defs.c, %.user.defs.c, %.server.h %.server.c) 10454: (%.user.h %.user.c, %.server.defs, %.user.defs): New targets. 10455: (%.h %_user.c %.cli.d, %_interface.h %_server.c %.srv.d): Remove 10456: targets. 10457: (echo-%): New target. 10458: * Makefrag.am <configure's findings, Rules, Kernel Image, Installation> 10459: <Building the distribution, Autoconf support, Makerules>: Remove 10460: sections. 10461: (enable_kdb, enable_kmsg): Adapt. 10462: <All the source in each directory> 10463: <Header files installed for user use>: Rewrite to adapt to how things 10464: are to be done now. 10465: <Automatically generated source files>: New section. 10466: (i386/Makefrag.am): Include file if appropriate. 10467: * i386/Makefrag.am <configure's findings, Rules, Installation> 10468: <Autoconf support, Makerules>: Remove sections. 10469: (enable_lpr): Adapt. 10470: <Source files for any i386 kernel>: Rewrite to adapt to how things are 10471: to be done now. 10472: * i386/linux/Makefrag.am: New file. 10473: * linux/Makefrag.am: Likewise. 10474: 10475: * Makefile.in: Move file... 10476: * Makefrag.am: ... here. 10477: * i386/Makefile.in: Move file... 10478: * i386/Makefrag.am: ... here. 10479: * i386/linux/Makefile.in: Remove file. 10480: 10481: * doc/Makefile.in: Remove file. 10482: * doc/Makefrag.am: New file. 10483: * tests/Makefrag.am: Likewise. 10484: * tests/test-mbchk.in: Likewise. 10485: 10486: * configfrag.ac: New file. 10487: * tests/configfrag.ac: Likewise. 10488: * Makerules.am (DEFINES): Convert those into... 10489: * configfrag.ac: ... AC_DEFINE instantiations. 10490: * i386/Makerules.in (DEFINES): Convert those into... 10491: * i386/configfrag.ac: ... AC_DEFINE instantiations. 10492: * i386/Makerules.in: Remove file. 10493: * i386/configfrag.ac (AC_PREREQ, AC_INIT, AC_CONFIG_SRCDIR) 10494: (AC_CONFIG_SUBDIRS, AC_CONFIG_FILES, AC_OUTPUT): Don't invoke. 10495: (../version.m4): Don't include. 10496: (--disable-lpr): Rework configuration option. 10497: (--disable-default-device-drivers): Move configuration option to... 10498: * configfrag.ac: ... here. 10499: * configure.ac (AC_CONFIG_AUX_DIR, AM_INIT_AUTOMAKE): Instantiate. 10500: (AC_PREFIX_DEFAULT, AC_CONFIG_SUBDIRS): Don't invoke. 10501: <Output variable `systype'>: Rework the whole section. 10502: <Options> (--enable-kdb, --disable-kmsg): Move into `configfrag.ac' and 10503: adapt. 10504: <Programs> (AM_PROG_AS, AM_PROG_CC_C_O): Instantiate. 10505: (AC_CHECK_PROG): Move instantiation searching for a `mbchk' program 10506: into `tests/configfrag.ac'. 10507: (AC_CHECK_PROG): Instantiate to search for a `patch' program. 10508: <configure fragments> (tests/configfrag.ac, configfrag.ac) 10509: (linux/configfrag.ac): Include files. 10510: (i386/configfrag.ac): Include file if appropriate. 10511: (AC_CONFIG_HEADER): Instantiate for `config.h'. 10512: (AC_CONFIG_FILES): Remove `Makerules' and `doc/Makefile'. 10513: (AC_CONFIG_COMMANDS_POST): Instantiate for `config.status.dep.patch'. 10514: (AC_CONFIG_COMMANDS): Instantiate for 10515: `Makefile.correct_output_files_for_.S_files.patch' and (the 10516: nonexistent) `Makefile.dependency_tracking_for_.S_files.patch'. 10517: * Makefile.dependency_tracking_for_.S_files.patch: New file. 10518: * config.status.dep.patch: Likewise. 10519: * bogus/bootstrap_symbols.h: Remove file. 10520: * configfrag.ac: AC_DEFINE `BOOTSTRAP_SYMBOLS' to `0'. 10521: * bogus/cpus.h: Remove file. 10522: * configfrag.ac: AC_DEFINE `NCPUS' to `1'. AH_TEMPLATE 10523: `MULTIPROCESSOR'. 10524: * bogus/fast_tas.h: Remove file. 10525: * configfrag.ac: AC_DEFINE `FAST_TAS' to `0'. 10526: * bogus/hw_footprint.h: Remove file. 10527: * configfrag.ac: AC_DEFINE `HW_FOOTPRINT' to `0'. 10528: * bogus/mach_counters.h: Remove file. 10529: * configfrag.ac: AC_DEFINE `MACH_COUNTERS' to `0'. 10530: * bogus/mach_debug.h: Remove file. 10531: * configfrag.ac: AC_DEFINE `MACH_DEBUG' to `1'. 10532: * bogus/mach_fixpri.h: Remove file. 10533: * configfrag.ac: AC_DEFINE `MACH_FIXPRI' to `1'. 10534: * bogus/mach_host.h: Remove file. 10535: * configfrag.ac: AC_DEFINE `MACH_HOST' to `0'. 10536: * bogus/mach_ipc_compat.h: Remove file. 10537: * configfrag.ac: AC_DEFINE `MACH_IPC_COMPAT' to `1'. 10538: * bogus/mach_ipc_debug.h: Remove file. 10539: * configfrag.ac: AC_DEFINE `MACH_IPC_DEBUG' to `1'. 10540: * bogus/mach_ipc_test.h: Remove file. 10541: * configfrag.ac: AC_DEFINE `MACH_IPC_TEST' to `0'. 10542: * bogus/mach_kdb.h: Remove file. 10543: * configfrag.ac (--disable-kdb): AC_DEFINE `MACH_KDB' to `0'. 10544: * bogus/mach_ldebug.h: Remove file. 10545: * configfrag.ac: AC_DEFINE `MACH_LDEBUG' to `0'. 10546: * bogus/mach_lock_mon.h: Remove file. 10547: * configfrag.ac: AC_DEFINE `MACH_LOCK_MON' to `0'. 10548: * bogus/mach_machine_routines.h: Remove file. 10549: * configfrag.ac: Add comment about not AC_DEFINEing 10550: `MACH_MACHINE_ROUTINES' to `0'. 10551: * bogus/mach_mp_debug.h: Remove file. 10552: * configfrag.ac: AC_DEFINE `MACH_MP_DEBUG' to `0'. 10553: * bogus/mach_pagemap.h: Remove file. 10554: * configfrag.ac: AC_DEFINE `MACH_PAGEMAP' to `1'. 10555: * bogus/mach_pcsample.h: Remove file. 10556: * configfrag.ac: AC_DEFINE `MACH_PCSAMPLE' to `1'. 10557: * bogus/mach_ttd.h: Remove file. 10558: * configfrag.ac: AC_DEFINE `MACH_TTD' to `0'. 10559: * bogus/mach_vm_debug.h: Remove file. 10560: * configfrag.ac: AC_DEFINE `MACH_VM_DEBUG' to `1'. 10561: * bogus/power_save.h: Remove file. 10562: * configfrag.ac: AC_DEFINE `POWER_SAVE' to `1'. 10563: * bogus/simple_clock.h: Remove file. 10564: * configfrag.ac: AC_DEFINE `SIMPLE_CLOCK' to `0'. 10565: * bogus/stat_time.h: Remove file. 10566: * configfrag.ac: AC_DEFINE `STAT_TIME' to `1'. 10567: * bogus/xpr_debug.h: Remove file. 10568: * configfrag.ac: AC_DEFINE `XPR_DEBUG' to `1'. 10569: * i386/bogus/com.h: Remove file. 10570: * i386/configfrag.ac: AC_DEFINE `NCOM' to `4'. 10571: * i386/bogus/fpe.h: Remove file. 10572: * i386/configfrag.ac: AC_DEFINE `FPE' to `0'. 10573: * i386/bogus/lpr.h: Remove file. 10574: * i386/configfrag.ac: AC_DEFINE `NLPR' to `1'. 10575: * i386/bogus/mach_machine_routines.h: Remove file. 10576: * i386/configfrag.ac: AC_DEFINE `MACH_MACHINE_ROUTINES' to `1'. 10577: * i386/bogus/platforms.h: Remove file. 10578: * i386/configfrag.ac: AC_DEFINE `AT386' to `1'. 10579: * i386/bogus/rc.h: Remove file. 10580: * i386/configfrag.ac: AC_DEFINE `RCLINE' to `-1' and `RCADDR' to `0x3f8'. 10581: 10582: * Makerules.in: Move file... 10583: * Makerules.am: ... here. 10584: 10585: * linux/configfrag.ac (AC_PREREQ, AC_INIT, AC_CONFIG_SRCDIR) 10586: (AC_CONFIG_HEADER, AC_CANONICAL_HOST, hurd_SYSTYPE, AC_CONFIG_FILES) 10587: (AC_OUTPUT): Don't invoke. 10588: (../../version.m4, ../../Drivers.macros, ../../aclocal.m4): Don't 10589: include. 10590: <case "$host_cpu">: Only evaluate for i386. 10591: (--disable-default-device-drivers): Remove configuraion option. 10592: (LINUX_DEV, __KERNEL__): AC_DEFINE these. 10593: (scsi, net, pcmcia, wireless): Remove AC_DRIVER_CLASS instantiations. 10594: (device_driver_group): New shell function. 10595: (AC_OPTION, AC_OPTION_nodef): New functions. 10596: (linux_DRIVER): Rename function to AC_Linux_DRIVER and adapt. 10597: (linux_DRIVER_nodef): Likewise to AC_Linux_DRIVER_nodef. 10598: <Configuration options>: Adapt to the new functions introduced above 10599: and re-position parts. 10600: <Process device driver groups>: Adapt to the changes related to device 10601: driver groups. 10602: * linux/configure.in <AC_CONFIG_LINKS>: Move to... 10603: * linux/configfrag.ac: ... here. 10604: * linux/configure.in: Remove file. 10605: * linux/configure: Likewise. 10606: * i386/linux/Makerules.in: Likewise. 10607: * Drivers.macros: Likewise. 10608: 10609: * i386/linux/configure.ac: Move file... 10610: * linux/configfrag.ac: ... here. 10611: * i386/linux/configure: Remove file. 10612: * i386/linux/device-drivers.h.in: Likewise. 10613: 10614: * i386/configure.in: Move file... 10615: * i386/configfrag.ac: ... here. 10616: * i386/configure: Remove file. 10617: 10618: * config.guess: Remove file. 10619: * config.sub: Likewise. 10620: * install-sh: Likewise. 10621: 10622: * i386/Files: Remove file. 10623: * i386/Subdirs: Likewise. 10624: * linux/Files: Likewise. 10625: * linux/Subdirs: Likewise. 10626: 10627: 2006-10-13 Thomas Schwinge <[email protected]> 10628: 10629: * configure.in: Move file... 10630: * configure.ac: ... here. 10631: 10632: * Makerules.in (ASFLAGS): Don't define `ASSEMBLER'. 10633: * i386/i386/cpu_number.h: Check for `__ASSEMBLER__' instead of 10634: `ASSEMBLER'. 10635: * i386/i386/debug.h: Likewise. 10636: * i386/i386/ipl.h: Likewise. 10637: * i386/i386/ldt.h: Likewise. 10638: * i386/i386/proc_reg.h: Likewise. 10639: * i386/i386/seg.h: Likewise. 10640: * i386/i386/trap.h: Likewise. 10641: * i386/include/mach/i386/kern_return.h: Likewise. 10642: * i386/include/mach/i386/vm_types.h: Likewise. 10643: * i386/intel/pmap.h: Likewise. 10644: * include/mach/boolean.h: Likewise. 10645: * include/mach/boot.h: Likewise. 10646: * include/mach/error.h: Likewise. 10647: * kern/syscall_emulation.h: Likewise. 10648: 10649: * configure: Regenerate. 10650: * i386/configure: Likewise. 10651: * i386/linux/configure: Likewise. 10652: * linux/configure: Likewise. 10653: 10654: 2006-10-12 Thomas Schwinge <[email protected]> 10655: 10656: * version.m4 (AC_PACKAGE_VERSION): Let's name it `1.3.99'. 10657: 10658: * configure: Regenerate. 10659: * i386/configure: Likewise. 10660: * i386/linux/configure: Likewise. 10661: * linux/configure: Likewise. 10662: 10663: * version.m4: Rewrite. 10664: * configure.in: Adapt to the above. 10665: * i386/configure.in: Likewise. 10666: * i386/linux/configure.ac: Likewise. 10667: * linux/configure.in: Likewise. 10668: 10669: 2006-10-09 Thomas Schwinge <[email protected]> 10670: 10671: * ddb/tr.h: Insert the content of `bogus/mach_assert.h' instead of 10672: including it. 10673: * i386/i386/loose_ends.c: Likewise. 10674: * bogus/mach_assert.h: Remove file. 10675: 10676: * bogus/panic.c: Remove file. 10677: 10678: * linux/src/drivers/scsi/in2000.c (in2000_proc_info) [PROC_INTERFACE]: 10679: Don't consider `__DATE__' and `__TIME__'. 10680: 10681: 2006-10-08 Thomas Schwinge <[email protected]> 10682: 10683: * linux/dev/drivers/scsi/scsi.h: Move file... 10684: * linux/src/drivers/scsi/scsi.h: ... here, overwriting the old file. 10685: 10686: * linux/dev/drivers/scsi/seagate.c: Move file... 10687: * linux/src/drivers/scsi/seagate.c: ... here, overwriting the old file. 10688: 10689: * linux/dev/drivers/scsi/aha152x.c: Move file... 10690: * linux/src/drivers/scsi/aha152x.c: ... here, overwriting the old file. 10691: 10692: * linux/dev/drivers/scsi/sr.c: Move file... 10693: * linux/src/drivers/scsi/sr.c: ... here, overwriting the old file. 10694: 10695: * linux/dev/drivers/scsi/sd_ioctl.c: Move file... 10696: * linux/src/drivers/scsi/sd_ioctl.c: ... here, overwriting the old file. 10697: 10698: * linux/dev/drivers/scsi/sd.c: Move file... 10699: * linux/src/drivers/scsi/sd.c: ... here, overwriting the old file. 10700: 10701: * linux/dev/drivers/scsi/hosts.c: Remove file. 10702: * linux/dev/drivers/scsi/scsi.c: Likewise. 10703: 10704: * linux/dev/drivers/block/ide.c: Move file... 10705: * linux/src/drivers/block/ide.c: ... here, overwriting the old file. 10706: 10707: * linux/dev/drivers/block/ide-cd.c: Remove file. 10708: * linux/src/drivers/block/ide-cd.c (cdrom_sleep): Don't define function 10709: `#ifndef MACH'. 10710: 10711: 2006-10-07 Thomas Schwinge <[email protected]> 10712: 10713: * i386/linux/configure: Regernerate. 10714: * i386/linux/device-drivers.h.in: Likewise. 10715: 10716: * Drivers.macros (AC_DRIVER, AC_DRIVER_nodef): Rewrite to allow options 10717: with dashes in them, make it usable more universally and enhance the 10718: generated comments in header files. 10719: * i386/linux/configure.ac (linux_DRIVER, linux_DRIVER_nodef): Enhance 10720: DESCRIPTION. 10721: (u1434f): Rename to `u14-34f'. 10722: (smcultra): Rename to `smc-ultra'. 10723: (smcultra32): Rename to `smc-ultra32'. 10724: (hpplus): Rename to `hp-plus'. 10725: (ne2kpci): Rename to `ne2k-pci'. 10726: (viarhine): Rename to `via-rhine'. 10727: (intelgige): Rename to `intel-gige'. 10728: (winbond840): Rename to `winbond-840'. 10729: (AC_PCMCIA_OPTION): Remove function. 10730: (pcmcia-isa): Use `AC_DRIVER' instead of `AC_PCMCIA_OPTION'. 10731: * i386/README-Drivers: Update accordingly. 10732: 10733: 2006-10-03 Thomas Schwinge <[email protected]> 10734: 10735: [task #5941 -- Linker script for GNU Mach] 10736: 10737: * Makefile.in (kernel.o): Remove `$(systype)-objfiles-prepend' hackery. 10738: * i386/Makefile.in (sysdep.a): Likewise. 10739: * i386/Makerules.in: Likewise. 10740: (LDFLAGS-kernel): Point to the linker script. 10741: * i386/i386at/boothdr.S (_start): Don't put into `.text', but into 10742: `.text.start' instead. 10743: * i386/ldscript: Change to put `.text' at 0x100000 and put 10744: `.text.start' first into `.text'. 10745: 10746: * i386/ldscript: New file, copied from `/lib/ldscripts/elf_i386.x' of a 10747: GNU Binutils 2.16.1 installation. 10748: 10749: 2006-09-25 Stefan Siegl <[email protected]> 10750: 10751: * linux/dev/glue/net.c (device_get_status): Reworked to not read 10752: from STATUS. Fill `struct iw_point' correctly if necessary. 10753: 10754: 2006-09-23 Stefan Siegl <[email protected]> 10755: 10756: * i386/linux/configure: Regenerate. 10757: * i386/linux/device-drivers.h.in: Likewise. 10758: 10759: * i386/linux/configure.ac (AC_PCMCIA_OPTION): New function. 10760: (--disable-pcmcia-isa): New configuration option to disable ISA-bus 10761: support in the pcmcia core, which is otherwise enabled now by default. 10762: * doc/mach.texi (Configuration): Briefly document the new configuration 10763: option. 10764: * i386/README-Drivers: Likewise. 10765: 10766: 2006-09-20 Thomas Schwinge <[email protected]> 10767: 10768: * configure: Regenerate. 10769: * i386/configure: Likewise. 10770: * i386/linux/configure: Likewise. 10771: * i386/linux/device-drivers.h.in: Likewise. 10772: 10773: * Drivers.macros (AC_DRIVER_ALIAS): Remove definition. 10774: (AC_DRIVER): Extend to take a `description' parameter and consider 10775: `$enable_default_device_drivers'. 10776: (AC_DRIVER_nodef): New definition. 10777: * configure.in (options kdb, kmsg): Remove redundancy. 10778: * i386/configure.in (option default-device-drivers): New option. 10779: (option lpr): Consider `$enable_default_device_drivers'. 10780: * i386/linux/configure.ac: Rework substantially. Remove all aliases. 10781: Rename some of the device driver options. 10782: (option default-device-drivers): New option. 10783: (linux_DRIVER): Take care about a `description' parameter and don't 10784: invoke AC_DRIVER_ALIAS. 10785: (linux_DRIVER_nodef): New definition. 10786: Adapt all usages of AC_DRIVER and linux_DRIVER to provide a 10787: `description' parameter. 10788: (g_NCR5380, NCR53c406a, eata_dma, wavelan, atp): Change from AC_DRIVER 10789: to AC_DRIVER_nodef to have these device drivers disabled by default. 10790: * doc/mach.texi: Add a note about the outdatedness to the configuration 10791: option table. 10792: * i386/README-Drivers: Update. 10793: 10794: 2006-09-19 Samuel Thibault <[email protected]> 10795: 10796: [bug #17338 -- GNU Mach vs. GCC 4.1] 10797: * i386/i386/seg.h (struct pseudo_descriptor): Pack structure and 10798: move the padding field to the end. 10799: (lgdt): Pass the whole structure to the lgdt assembly command. 10800: (lidt): Likewise. 10801: 10802: 2006-08-06 Thomas Schwinge <[email protected]> 10803: 10804: * DEVELOPMENT: Update. 10805: 10806: 2006-07-31 Stefan Siegl <[email protected]> 10807: 10808: * doc/mach.texi (Configuration): Document the new PCMCIA drivers a bit 10809: more. 10810: * i386/README-Drivers: Likewise. 10811: 10812: 2006-07-27 Thomas Schwinge <[email protected]> 10813: 10814: * i386/linux/configure: Regenerate. 10815: 10816: * i386/linux/configure.ac: Pull in the pcmcia code only if really 10817: needed. 10818: 10819: * doc/mach.texi (Configuration): Very briefly document the new drivers. 10820: * i386/README-Drivers: Likewise. 10821: 10822: * linux/dev/include/linux/types.h (_MACH_SA_SYS_TYPES_H_): Define. 10823: 10824: * i386/linux/configure: Regenerate. 10825: * i386/linux/device-drivers.h.in: Likewise. 10826: 10827: 2006-07-27 Stefan Siegl <[email protected]> 10828: 10829: * i386/linux/configure.ac (pcmcia, wireless): New driver classes. 10830: (i82365, 3c574_cs, 3c589_cs, axnet_cs, fmvj18x_cs, nmclan_cs, pcnet_cs) 10831: (smc91c92_cs, xirc2ps_cs, orinoco_cs): New drivers. 10832: * i386/linux/Makefile.in (linux-pcmcia-cs-modules-files) 10833: (linux-pcmcia-cs-clients-files, linux-pcmcia-cs-wireless-files): New 10834: variables. Add `vpath's to the files locations. 10835: (all-linux-files): Add the three new variables. 10836: (linux-pcmcia-cs-modules-flags, linux-pcmcia-cs-clients-flags) 10837: (linux-pcmcia-cs-wireless-flags): New variables. 10838: (linux-flags): Add code to handle the above files and flags. 10839: 10840: * i386/i386at/i386at_ds_routines.c (emulation_list) 10841: [LINUX_DEV && CONFIG_INET && CONFIG_PCMCIA]: Add the Linux pcmcia 10842: emulation structure. 10843: * linux/dev/glue/net.c: Include <linux/wireless.h>. 10844: (device_get_status): Rewrite function. 10845: (device_set_status): New function. 10846: (linux_net_emulation_ops): Add `device_set_status' at the appropriate 10847: position. 10848: * linux/dev/init/main.c (linux_init) [CONFIG_PCMCIA]: Call pcmcia_init. 10849: 10850: * linux/pcmcia-cs/glue/ds.c: New file. 10851: * linux/pcmcia-cs/glue/pcmcia.c: Likewise. 10852: * linux/pcmcia-cs/glue/pcmcia_glue.h: Likewise. 10853: * linux/pcmcia-cs/glue/wireless_glue.h: Likewise. 10854: 10855: * linux/pcmcia-cs/clients/xirc2ps_cs.c (busy_loop): Replace the code by 10856: a call to __udelay. 10857: * linux/pcmcia-cs/include/linux/init.h: Adapt to our Linux environment. 10858: * linux/pcmcia-cs/include/linux/slab.h: Use `#include', not 10859: `#include_next'. 10860: * linux/pcmcia-cs/include/pcmcia/mem_op.h: Adapt to our Linux 10861: environment and fix GCC 4.0 complaints. 10862: * linux/pcmcia-cs/include/pcmcia/version.h: Always assume that 10863: CONFIG_PCMCIA is not defined. 10864: * linux/pcmcia-cs/modules/cs.c (init_pcmcia_cs): Don't make it static. 10865: * linux/pcmcia-cs/modules/ds.c: Use some magic to avoid duplicate 10866: definition `io_req_t'. 10867: (ds_open, ds_release, ds_read, ds_write, ds_select, ds_poll, ds_fops): 10868: Hide functions if MACH is defined. 10869: Likewise for the module handling code. 10870: (ds_ioctl): Use plain `memcpy' if MACH is defined. 10871: (init_pcmcia_ds): Don't register charcater devices if MACH is defined. 10872: Include "../glue/ds.c". 10873: * linux/pcmcia-cs/modules/i82365.c (test_irq): Adapt to GNU Mach. 10874: (init_i82365): Don't make it static. 10875: * linux/pcmcia-cs/modules/pci_fixup.c (pci_devices): Don't define if 10876: MACH is defined. 10877: * linux/pcmcia-cs/wireless/orinoco.c: Adapt to our Linux environment. 10878: 10879: 2006-07-27 Thomas Schwinge <[email protected]> 10880: 10881: Import a number of files from the pcmcia-cs package, version 3.2.8, 10882: available from <http://pcmcia-cs.sourceforge.net/>. 10883: 10884: * linux/pcmcia-cs/clients/3c574_cs.c: Import file. 10885: * linux/pcmcia-cs/clients/3c589_cs.c: Likewise. 10886: * linux/pcmcia-cs/clients/ax8390.h: Likewise. 10887: * linux/pcmcia-cs/clients/axnet_cs.c: Likewise. 10888: * linux/pcmcia-cs/clients/fmvj18x_cs.c: Likewise. 10889: * linux/pcmcia-cs/clients/nmclan_cs.c: Likewise. 10890: * linux/pcmcia-cs/clients/ositech.h: Likewise. 10891: * linux/pcmcia-cs/clients/pcnet_cs.c: Likewise. 10892: * linux/pcmcia-cs/clients/smc91c92_cs.c: Likewise. 10893: * linux/pcmcia-cs/clients/xirc2ps_cs.c: Likewise. 10894: * linux/pcmcia-cs/include/linux/crc32.h: Likewise. 10895: * linux/pcmcia-cs/include/linux/init.h: Likewise. 10896: * linux/pcmcia-cs/include/linux/slab.h: Likewise. 10897: * linux/pcmcia-cs/include/pcmcia/bulkmem.h: Likewise. 10898: * linux/pcmcia-cs/include/pcmcia/bus_ops.h: Likewise. 10899: * linux/pcmcia-cs/include/pcmcia/ciscode.h: Likewise. 10900: * linux/pcmcia-cs/include/pcmcia/cisreg.h: Likewise. 10901: * linux/pcmcia-cs/include/pcmcia/cistpl.h: Likewise. 10902: * linux/pcmcia-cs/include/pcmcia/cs.h: Likewise. 10903: * linux/pcmcia-cs/include/pcmcia/cs_types.h: Likewise. 10904: * linux/pcmcia-cs/include/pcmcia/driver_ops.h: Likewise. 10905: * linux/pcmcia-cs/include/pcmcia/ds.h: Likewise. 10906: * linux/pcmcia-cs/include/pcmcia/mem_op.h: Likewise. 10907: * linux/pcmcia-cs/include/pcmcia/ss.h: Likewise. 10908: * linux/pcmcia-cs/include/pcmcia/version.h: Likewise. 10909: * linux/pcmcia-cs/modules/bulkmem.c: Likewise. 10910: * linux/pcmcia-cs/modules/cirrus.h: Likewise. 10911: * linux/pcmcia-cs/modules/cistpl.c: Likewise. 10912: * linux/pcmcia-cs/modules/cs.c: Likewise. 10913: * linux/pcmcia-cs/modules/cs_internal.h: Likewise. 10914: * linux/pcmcia-cs/modules/ds.c: Likewise. 10915: * linux/pcmcia-cs/modules/ene.h: Likewise. 10916: * linux/pcmcia-cs/modules/i82365.c: Likewise. 10917: * linux/pcmcia-cs/modules/i82365.h: Likewise. 10918: * linux/pcmcia-cs/modules/o2micro.h: Likewise. 10919: * linux/pcmcia-cs/modules/pci_fixup.c: Likewise. 10920: * linux/pcmcia-cs/modules/ricoh.h: Likewise. 10921: * linux/pcmcia-cs/modules/rsrc_mgr.c: Likewise. 10922: * linux/pcmcia-cs/modules/smc34c90.h: Likewise. 10923: * linux/pcmcia-cs/modules/ti113x.h: Likewise. 10924: * linux/pcmcia-cs/modules/topic.h: Likewise. 10925: * linux/pcmcia-cs/modules/vg468.h: Likewise. 10926: * linux/pcmcia-cs/modules/yenta.h: Likewise. 10927: * linux/pcmcia-cs/wireless/hermes.c: Likewise. 10928: * linux/pcmcia-cs/wireless/hermes.h: Likewise. 10929: * linux/pcmcia-cs/wireless/hermes_rid.h: Likewise. 10930: * linux/pcmcia-cs/wireless/ieee802_11.h: Likewise. 10931: * linux/pcmcia-cs/wireless/orinoco.c: Likewise. 10932: * linux/pcmcia-cs/wireless/orinoco.h: Likewise. 10933: * linux/pcmcia-cs/wireless/orinoco_cs.c: Likewise. 10934: 10935: 2006-07-24 Thomas Schwinge <[email protected]> 10936: 10937: * Makerules.in (%.h %_user.c): Add `%.cli.d' to the target list. 10938: Create these files by specifying `-MD' as a flag for mig and rename the 10939: resulting files as needed. 10940: Include these `*.cli.d' files instead of `*.migu.d' files. 10941: (%_interface.h %_server.c): Likewise for `%.srv.d' / `*.migs.d'. 10942: (%.migs.d, %.migu.d): Remove targets. 10943: * Makefile.in (clean): Adapt to the above. 10944: * i386/Makefile.in (clean): Likewise. 10945: 10946: 2006-06-30 Samuel Thibault <[email protected]> 10947: 10948: * i386/i386at/kd_mouse.c (mouse_char_in, mouse_char) Remove variables. 10949: (mouse_char_index) New variable. 10950: (mouse_handle_byte, kd_mouse_read): Use MOUSEBUF instead of MOUSE_CHAR 10951: for storing incoming command characters. 10952: (kd_mouse_read_reset): New function. 10953: (ibm_ps2_mouse_open, ibm_ps2_mouse_close): Call new kd_mouse_read_reset 10954: function. 10955: 10956: 2006-06-09 Stefan Siegl <[email protected]> 10957: 10958: * linux/dev/include/asm-i386/uaccess.h: New dummy file. 10959: * linux/dev/include/linux/pm.h: Likewise. 10960: * linux/dev/include/linux/threads.h: Likewise. 10961: * linux/src/include/linux/symtab_begin.h: New file from Linux 2.0.40. 10962: * linux/src/include/linux/symtab_end.h: Likewise. 10963: * linux/src/include/linux/module.h: Update from Linux 2.0.40 with minor 10964: changes. 10965: * linux/src/include/linux/list.h: New file from Linux 2.2.26. 10966: * linux/src/include/linux/kcomp.h: Likewise with minor changes. 10967: * linux/src/include/linux/wait.h: Update from Linux 2.2.26. 10968: * linux/src/include/linux/wireless.h: Likewise. 10969: * linux/src/include/asm-i386/bitops.h [__KERNEL__] (ffs, hweight32) 10970: (hweight16, hweight8): Copy from Linux 2.2.26. 10971: 10972: * kern/printf.c (_doprnt): Support printing of pointer addresses. 10973: 10974: 2006-05-14 Roland McGrath <[email protected]> 10975: 10976: [sync from HEAD, 2002-06-17] 10977: * device/if_hdr.h: Replace ancient UCB copyright terms with current 10978: approved UCB terms. 10979: * include/sys/reboot.h: Likewise. 10980: * include/device/disk_status.h: Likewise. 10981: * include/device/tape_status.h: Likewise. 10982: * device/net_io.c: Remove advertising clause from UCB copyright terms. 10983: * include/device/audio_status.h: Likewise. 10984: * include/device/bpf.h: Likewise. 10985: 10986: 2006-05-14 Thomas Schwinge <[email protected]> 10987: 10988: * i386/i386at/autoconf.c (bus_device_init) <lpr> [! LINUX_DEV]: Depend 10989: on `MACH_LPR' instead. 10990: * i386/i386at/lpr.c: Fix obsolescent `#else' / `#endif' syntax. 10991: 10992: 2006-05-12 Stefan Siegl <[email protected]> 10993: 10994: * linux/dev/glue/kmem.c (vfree): Panic if `vmalloc_list_lookup' did 10995: NOT succeed. 10996: 10997: 2006-05-08 Thomas Schwinge <[email protected]> 10998: 10999: * DEVELOPMENT: Document Samuel's patch. 11000: 11001: 2006-05-08 Samuel Thibault <[email protected]> 11002: 11003: [bug #7118 -- GNU Mach can't handle 1G memory] 11004: * i386/i386at/model_dep.c (mem_size_init): Limit memory to what can 11005: actually be used (minus a little extra for virtual mappings). 11006: * i386/intel/pmap.c (pmap_bootstrap): Extend the virtual mapping area 11007: according to memory size for at least being able to manage it. But 11008: look out for wrap and limit it to kernel adresses. Remove duplicate 11009: computing. 11010: 11011: 2006-04-27 Richard Braun <[email protected]> 11012: Manuel Menal <[email protected]> 11013: 11014: * device/if_hdr.h (struct ifnet): Added new members `if_snd_port_list' 11015: and `if_snd_port_list_lock'. 11016: * device/net_io.c: Reworked to improve BPF support. Filters can be 11017: applied to ingress packets, egress packets, or both. 11018: * device/subrs.c: Initialize the `if_snd_port_list' and 11019: `if_snd_port_list_lock'. 11020: * include/device/bpf.h [0]: Enable unconditionally. 11021: Include <sys/types.h>. 11022: (BPF_IN, BPF_OUT): New macros. 11023: * include/device/net_status.h (NETF_TYPE_MASK, NETF_IN, NETF_OUT): New 11024: macros. 11025: (struct net_rcv_msg): New member `sent'. 11026: * linux/dev/glue/net.c: Mark ingress packets as received and inject 11027: egress packets into the packet filters. 11028: 11029: 2006-04-26 Thomas Schwinge <[email protected]> 11030: 11031: * Makefile.in: Replace `make' with `$(MAKE)'. 11032: * i386/Makefile.in: Likewise. 11033: Reported by Leonardo Lopes Pereira <[email protected]>. 11034: 11035: 2006-04-08 Thomas Schwinge <[email protected]> 11036: 11037: * i386/Makefile.in (INCLUDES): Don't add `$(srcdir)/bogus'. 11038: * i386/Makerules.in (INCLUDES): Add 11039: `$(abs_top_srcdir)/$(systype)/bogus'. 11040: Reported by Samuel Thibault <[email protected]>. 11041: 11042: 2006-04-02 Thomas Schwinge <[email protected]> 11043: 11044: * Makerules.in (%_user.c, %_server.c): Those are `.PRECIOUS'. 11045: (%.migs.d, %.migu.d): New targets. 11046: (%.migs_d, %.migu_d, %.migsh_d, %.miguh_d): Remove targets. 11047: Adapt the `include's to the renamed targets. 11048: * Makefile.in (clean): Adapt to the renamed targets. 11049: * i386/Makefile.in (clean): Likewise. 11050: 11051: * i386/Makefile.in (boothdr.o): New target. 11052: 11053: 2006-03-21 Thomas Schwinge <[email protected]> 11054: 11055: * Makefile.in (clean): Also remove `kernel.gz', `kernel.stripped' and 11056: `kernel.stripped.gz'. 11057: 11058: * Makefile.in (kernel.o): Handle `$(systype)-objfiles-prepend'. 11059: * i386/Makefile.in (sysdep.a): Likewise. 11060: * i386/Makerules.in (kernel-objfiles-prepend): Transform variable into 11061: `$(systype)-objfiles-prepend'. 11062: (kernel.o): Remove target. 11063: 11064: 2006-03-20 Thomas Schwinge <[email protected]> 11065: 11066: * DEVELOPMENT: Document the NORMA removal. 11067: 11068: 2006-03-20 Leonardo Lopes Pereira <[email protected]> 11069: 11070: Remove unused and unsupported code. Consult the file `DEVELOPMENT' 11071: for details. 11072: 11073: [patch #4982 -- remove of unused / unsuported functions of 11074: gnumach-1-branch] 11075: * bogus/norma_device.h: Remove file. 11076: * bogus/norma_ether.h: Likewise. 11077: * bogus/norma_ipc.h: Likewise. 11078: * bogus/norma_task.h: Likewise. 11079: * bogus/norma_vm.h: Likewise. 11080: * include/mach/mach_norma.defs: Likewise. 11081: * include/mach/norma_task.defs: Likewise. 11082: * include/mach/norma_special_ports.h: Likewise. 11083: * Makefile.in (bogus-files): Remove `norma_device.h', `norma_ether.h', 11084: `norma_ipc.h', `norma_task.h' and `norma_vm.h'. 11085: (mach-headers): Remove `mach_norma.defs', `norma_task.defs' and 11086: `norma_special_ports.h'. 11087: * device/ds_routines.c: Don't include <norma_device.h> anymore and 11088: adapt all users of NORMA_DEVICE as if it were always defined to `0'. 11089: * device/net_io.c: Likewise for <norma_ether.h>, NORMA_ETHER. 11090: * kern/machine.c: Likewise. 11091: * ddb/db_command.c: Likevise for <norma_ipc.h>, NORMA_IPC. 11092: * ipc/ipc_init.c: Likewise. 11093: * ipc/ipc_kmsg.c: Likewise. 11094: * ipc/ipc_kmsg.h: Likewise. 11095: * ipc/ipc_mqueue.c: Likewise. 11096: * ipc/ipc_notify.c: Likewise. 11097: * ipc/ipc_port.c: Likewise. 11098: * ipc/ipc_port.h: Likewise. 11099: * ipc/ipc_space.c: Likewise. 11100: * ipc/ipc_space.h: Likewise. 11101: * ipc/mach_msg.c: Likewise. 11102: * kern/ast.c: Likewise. 11103: * kern/debug.c: Likewise. 11104: * kern/exception.c: Likewise. 11105: * kern/startup.c: Likewise. 11106: * vm/memory_object.c: Likewise. 11107: * vm/vm_map.c: Likewise. 11108: * kern/ipc_kobject.c: Likewise for <norma_task.h>, NORMA_TASK. 11109: * kern/task.c: Likewise. 11110: * kern/task.h: Likewise. 11111: * ddb/db_command.c: Likewise for <norma_vm.h>, NORMA_VM. 11112: * device/dev_pager.c: Likewise. 11113: * include/mach/mach_types.defs: Likewise. 11114: * include/mach/mach_types.h: Likewise. 11115: * include/mach/memory_object_default.defs: Likewise. 11116: * include/mach/memory_object.defs: Likewise. 11117: * ipc/ipc_kmsg.c: Likewise. 11118: * kern/ipc_kobject.c: Likewise. 11119: * kern/ipc_mig.c: Likewise. 11120: * kern/startup.c: Likewise. 11121: * vm/memory_object.c: Likewise. 11122: * vm/vm_object.c: Likewise. 11123: * vm/vm_object.h: Likewise. 11124: * vm/vm_pageout.c: Likewise. 11125: 11126: 2006-03-19 Thomas Schwinge <[email protected]> 11127: 11128: * DEVELOPMENT: Document the FIPC removal. 11129: 11130: 2006-03-19 Leonardo Lopes Pereira <[email protected]> 11131: 11132: Remove unused and unsupported code. Consult the file `DEVELOPMENT' 11133: for details. 11134: 11135: [patch #4982 -- remove of unused / unsuported functions of 11136: gnumach-1-branch] 11137: * ipc/fipc.c: Remove file. 11138: * ipc/fipc.h: Likewise. 11139: * Makefile.in (ipc-cfiles): Remove `fipc.c'. 11140: (ipc-files): Remove `fipc.h'. 11141: * device/device_init.c [FIPC]: Remove code. 11142: * device/net_io.c [FIPC]: Likewise. 11143: * include/mach/syscall_sw.h [FIPC]: Likewise. 11144: * kern/syscall_sw.c [FIPC]: Likewise. 11145: 11146: 2006-03-15 Thomas Schwinge <[email protected]> 11147: 11148: * configure.in: Check for strip and gzip. 11149: * configure: Regenerated. 11150: * Makerules.in (GZIP, STRIP): New variables. 11151: (%.gz, %.stripped): New targets. 11152: 11153: 2006-03-04 Roland McGrath <[email protected]> 11154: 11155: * Makefile.in (DEFS): Substitute once and use the variable elsewhere. 11156: 11157: 2006-03-04 Samuel Thibault <[email protected]> 11158: 11159: [patch #4737 -- User TSS fixup] 11160: * i386/i386/iopb.c: Include "vm_param.h". 11161: (io_tss_init): Fix address and limit of user TSS. 11162: 11163: 2006-03-04 Thomas Schwinge <[email protected]> 11164: 11165: Remove unused and unsupported code. Consult the file 11166: `DEVELOPMENT' for details. Partly based on suggestions by 11167: Gianluca Guida <[email protected]>. 11168: 11169: * i386/bogus/par.h: Remove file. 11170: * i386/i386at/if_par.c: Likewise. 11171: * i386/i386at/if_par.h: Likewise. 11172: * i386/i386at/conf.c: Don't include <par.h> anymore and adapt all users 11173: of NPAR as if it were always defined to `0'. 11174: * i386/i386at/lpr.c: Likewise. 11175: 11176: * i386/bogus/de6c.h: Remove file. 11177: * i386/i386at/if_de6c.c: Likewise. 11178: * i386/i386at/if_de6c.h: Likewise. 11179: * i386/i386at/if_de6s.S: Likewise. 11180: * i386/i386at/conf.c: Don't include <de6c.h> anymore and adapt all 11181: users of NDE6C as if it were always defined to `0'. 11182: * i386/i386at/lpr.c: Likewise. 11183: 11184: 2006-02-20 Thomas Schwinge <[email protected]> 11185: 11186: Remove unused and unsupported code. Consult the file 11187: `DEVELOPMENT' for details. Partly based on suggestions by 11188: Gianluca Guida <[email protected]>. 11189: 11190: * i386/bogus/blit.h: Remove file. 11191: * i386/i386at/blit.c: Likewise. 11192: * i386/i386at/blitreg.h: Likewise. 11193: * i386/i386at/blituser.h: Likewise. 11194: * i386/i386at/blitvar.h: Likewise. 11195: * i386/i386at/conf.c: Don't include <blit.h> anymore and adapt all 11196: users of NBLIT as if it were always defined to `0'. 11197: * i386/i386at/kd.c: Likewise. 11198: (blit_init): Remove definition. 11199: (blit_present): Likewise and adapt all users as if it were always 11200: defined to `FALSE'. 11201: * i386/Makefile.in (i386at-files): Remove `blit.c'. 11202: 11203: * bogus/net_atm.h: Remove file. 11204: * Makefile.in (bogus-files): Remove `net_atm.h'. 11205: * kern/syscall_sw.c: Don't include <net_atm.h> anymore and adapt all 11206: users of NET_ATM as if it were always defined to `0'. 11207: * kern/task.c: Likewise. 11208: * kern/task.h: Likewise. 11209: * kern/thread.c: Likewise. 11210: * kern/thread.h: Likewise. 11211: 11212: * util/about_to_die.c: Remove file. 11213: * util/config.h: Likewise. 11214: * util/cpu.c: Likewise. 11215: * util/cpu.h: Likewise. 11216: * util/cpu_init.c: Likewise. 11217: * util/cpu_subs.h: Likewise. 11218: * util/debug.h: Likewise. 11219: * util/die.c: Likewise. 11220: * util/phys_mem.h: Likewise. 11221: * util/ref_count.h: Likewise. 11222: * util/cpus.h: Move from here... 11223: * bogus/cpus.h: ... to here. 11224: * Makefile.in (bogus-files): Add `cpus.h'. 11225: (util-cfiles): Only contain `putchar.c' and `puts.c'. 11226: (util-files): Only contain `$(util-cfiles)'. 11227: 11228: * i386/util/NOTES: Remove file. 11229: * i386/util/anno.c: Likewise. 11230: * i386/util/anno.h: Likewise. 11231: * i386/util/cpu.h: Likewise. 11232: * i386/util/cpu_subs.h: Likewise. 11233: * i386/util/cpu_tables_init.c: Likewise. 11234: * i386/util/cpu_tables_load.c: Likewise. 11235: * i386/util/crtn.S: Likewise. 11236: * i386/util/debug.h: Likewise. 11237: * i386/util/gdt.c: Likewise. 11238: * i386/util/gdt.h: Likewise. 11239: * i386/util/gdt_sels.h: Likewise. 11240: * i386/util/i16/debug.h: Likewise. 11241: * i386/util/i16/i16.h: Likewise. 11242: * i386/util/i16/i16_die.c: Likewise. 11243: * i386/util/i16/i16_gdt_init_temp.c: Likewise. 11244: * i386/util/i16/i16_nanodelay.c: Likewise. 11245: * i386/util/i16/i16_puts.c: Likewise. 11246: * i386/util/i16/i16_writehex.c: Likewise. 11247: * i386/util/i386_asm.sym: Likewise. 11248: * i386/util/idt.c: Likewise. 11249: * i386/util/idt.h: Likewise. 11250: * i386/util/idt_inittab.S: Likewise. 11251: * i386/util/idt_inittab.h: Likewise. 11252: * i386/util/ldt.h: Likewise. 11253: * i386/util/trap.h: Likewise. 11254: * i386/util/trap_asm.sym: Likewise. 11255: * i386/util/trap_dump.c: Likewise. 11256: * i386/util/trap_dump_die.c: Likewise. 11257: * i386/util/trap_handler.S: Likewise. 11258: * i386/util/trap_return.S: Likewise. 11259: * i386/util/tss.c: Likewise. 11260: * i386/util/tss.h: Likewise. 11261: * i386/util/tss_dump.c: Likewise. 11262: * i386/util/vm_param.h: Likewise. 11263: 11264: * i386/pc/NOTES: Remove file. 11265: * i386/pc/debug.h: Likewise. 11266: * i386/pc/exit.c: Likewise. 11267: * i386/pc/gdt.h: Likewise. 11268: * i386/pc/gdt_sels.h: Likewise. 11269: * i386/pc/i16/i16_a20.c: Likewise. 11270: * i386/pc/i16/i16_a20.h: Likewise. 11271: * i386/pc/i16/i16_bios.h: Likewise. 11272: * i386/pc/i16/i16_exit.c: Likewise. 11273: * i386/pc/i16/i16_ext_mem.c: Likewise. 11274: * i386/pc/i16/i16_init.c: Likewise. 11275: * i386/pc/i16/i16_main.c: Likewise. 11276: * i386/pc/i16/i16_pic.c: Likewise. 11277: * i386/pc/i16/i16_putchar.c: Likewise. 11278: * i386/pc/i16/i16_raw.c: Likewise. 11279: * i386/pc/i16/i16_raw_test_a20.S: Likewise. 11280: * i386/pc/i16/i16_real_int.S: Likewise. 11281: * i386/pc/i16/i16_switch.h: Likewise. 11282: * i386/pc/i16/phys_mem_collect.c: Likewise. 11283: * i386/pc/i16/phys_mem_sources.h: Likewise. 11284: * i386/pc/i16/raw_exit.c: Likewise. 11285: * i386/pc/i16/raw_real_int.c: Likewise. 11286: * i386/pc/ipl.h: Likewise. 11287: * i386/pc/irq.h: Likewise. 11288: * i386/pc/irq_list.h: Likewise. 11289: * i386/pc/pc_asm.sym: Likewise. 11290: * i386/pc/phys_mem.h: Likewise. 11291: * i386/pc/phys_mem_add.c: Likewise. 11292: * i386/pc/pic.c: Likewise. 11293: * i386/pc/pic.h: Likewise. 11294: * i386/pc/putchar.c: Likewise. 11295: * i386/pc/real.h: Likewise. 11296: * i386/pc/real_tss.c: Likewise. 11297: * i386/pc/real_tss.h: Likewise. 11298: * i386/pc/real_tss_def.S: Likewise. 11299: * i386/pc/rv86/config.h: Likewise. 11300: * i386/pc/rv86/gdt_sels.h: Likewise. 11301: * i386/pc/rv86/idt_irq_init.c: Likewise. 11302: * i386/pc/rv86/rv86_real_int.c: Likewise. 11303: * i386/pc/rv86/rv86_real_int_asm.S: Likewise. 11304: * i386/pc/rv86/rv86_reflect_irq.S: Likewise. 11305: * i386/pc/rv86/rv86_trap_handler.S: Likewise. 11306: * i386/pc/rv86/trap_handler.S: Likewise. 11307: 11308: * i386/imps/Makefile.in: Remove file. 11309: * i386/imps/apic.h: Likewise. 11310: * i386/imps/cpu_number.h: Likewise. 11311: * i386/imps/cpus.h: Likewise. 11312: * i386/imps/imps.c: Likewise. 11313: * i386/imps/impsasm.sym: Likewise. 11314: 11315: * i386/dos/dos_buf.c: Remove file. 11316: * i386/dos/dos_check_err.c: Likewise. 11317: * i386/dos/dos_close.c: Likewise. 11318: * i386/dos/dos_fstat.c: Likewise. 11319: * i386/dos/dos_gettimeofday.c: Likewise. 11320: * i386/dos/dos_io.h: Likewise. 11321: * i386/dos/dos_open.c: Likewise. 11322: * i386/dos/dos_read.c: Likewise. 11323: * i386/dos/dos_rename.c: Likewise. 11324: * i386/dos/dos_seek.c: Likewise. 11325: * i386/dos/dos_tcgetattr.c: Likewise. 11326: * i386/dos/dos_unlink.c: Likewise. 11327: * i386/dos/dos_write.c: Likewise. 11328: * i386/dos/i16/gdt.h: Likewise. 11329: * i386/dos/i16/gdt_sels.h: Likewise. 11330: * i386/dos/i16/i16_crt0.S: Likewise. 11331: * i386/dos/i16/i16_crt0.h: Likewise. 11332: * i386/dos/i16/i16_dos.h: Likewise. 11333: * i386/dos/i16/i16_dos_mem.c: Likewise. 11334: * i386/dos/i16/i16_exit.c: Likewise. 11335: * i386/dos/i16/i16_main.c: Likewise. 11336: * i386/dos/i16/i16_putchar.c: Likewise. 11337: * i386/dos/i16/i16_vcpi.c: Likewise. 11338: * i386/dos/i16/i16_xms.c: Likewise. 11339: * i386/dos/i16/idt.h: Likewise. 11340: * i386/dos/i16/phys_mem_sources.h: Likewise. 11341: * i386/dos/putchar.c: Likewise. 11342: 11343: * chips/atm.c: Remove file. 11344: * chips/atmreg.h: Likewise. 11345: * chips/audio.c: Likewise. 11346: * chips/audio_config.h: Likewise. 11347: * chips/audio_defs.h: Likewise. 11348: * chips/bt431.c: Likewise. 11349: * chips/bt431.h: Likewise. 11350: * chips/bt455.c: Likewise. 11351: * chips/bt455.h: Likewise. 11352: * chips/bt459.c: Likewise. 11353: * chips/bt459.h: Likewise. 11354: * chips/bt478.c: Likewise. 11355: * chips/bt478.h: Likewise. 11356: * chips/build_font.c: Likewise. 11357: * chips/cfb_hdw.c: Likewise. 11358: * chips/cfb_misc.c: Likewise. 11359: * chips/dc503.c: Likewise. 11360: * chips/dc503.h: Likewise. 11361: * chips/dtop.h: Likewise. 11362: * chips/dtop_handlers.c: Likewise. 11363: * chips/dtop_hdw.c: Likewise. 11364: * chips/dz_7085.h: Likewise. 11365: * chips/dz_defs.h: Likewise. 11366: * chips/dz_hdw.c: Likewise. 11367: * chips/eccreg.h: Likewise. 11368: * chips/fb_hdw.c: Likewise. 11369: * chips/fb_misc.c: Likewise. 11370: * chips/fdc_82077.h: Likewise. 11371: * chips/fdc_82077_hdw.c: Likewise. 11372: * chips/frc.c: Likewise. 11373: * chips/ims332.c: Likewise. 11374: * chips/ims332.h: Likewise. 11375: * chips/isdn_79c30.h: Likewise. 11376: * chips/isdn_79c30_hdw.c: Likewise. 11377: * chips/kernel_font.c: Likewise. 11378: * chips/kernel_font.data: Likewise. 11379: * chips/lance.c: Likewise. 11380: * chips/lance.h: Likewise. 11381: * chips/lance_mapped.c: Likewise. 11382: * chips/lk201.c: Likewise. 11383: * chips/lk201.h: Likewise. 11384: * chips/mc_clock.c: Likewise. 11385: * chips/mc_clock.h: Likewise. 11386: * chips/mouse.c: Likewise. 11387: * chips/nc.c: Likewise. 11388: * chips/nc.h: Likewise. 11389: * chips/nw.h: Likewise. 11390: * chips/nw_mk.c: Likewise. 11391: * chips/nw_mk.h: Likewise. 11392: * chips/pm_defs.h: Likewise. 11393: * chips/pm_hdw.c: Likewise. 11394: * chips/pm_misc.c: Likewise. 11395: * chips/scc_8530.h: Likewise. 11396: * chips/scc_8530_hdw.c: Likewise. 11397: * chips/screen.c: Likewise. 11398: * chips/screen.h: Likewise. 11399: * chips/screen_defs.h: Likewise. 11400: * chips/screen_switch.c: Likewise. 11401: * chips/screen_switch.h: Likewise. 11402: * chips/serial_console.c: Likewise. 11403: * chips/serial_defs.h: Likewise. 11404: * chips/sfb_hdw.c: Likewise. 11405: * chips/sfb_misc.c: Likewise. 11406: * chips/spans.c: Likewise. 11407: * chips/spans.h: Likewise. 11408: * chips/tca100.c: Likewise. 11409: * chips/tca100.h: Likewise. 11410: * chips/tca100_if.c: Likewise. 11411: * chips/tca100_if.h: Likewise. 11412: * chips/vs42x_rb.h: Likewise. 11413: * chips/xcfb_hdw.c: Likewise. 11414: * chips/xcfb_misc.c: Likewise. 11415: * chips/xcfb_monitor.h: Likewise. 11416: * Makefile.in (chips-files): Only contain `busses.c' and `busses.h'. 11417: * kern/syscall_sw.c: Don't include <chips/nw_mk.h> anymore. 11418: 11419: * i386/i386at/asm_startup.h: Remove file. 11420: * i386/i386at/phys_mem_grab_page.c: Likewise. 11421: * i386/Makefile.in (i386at-files): Remove `phys_mem_grab_page.c'. 11422: 11423: * i386/bogus/evc.h: Remove file. 11424: * i386/i386at/kd.c: Don't include <evc.h> anymore and adapt all users 11425: of NEVC as if it were always defined to `0'. 11426: (evc1init): Remove definition and adapt all users as if it were always 11427: defined to `FALSE'. 11428: 11429: * i386/bogus/nscsi.h: Remove file. 11430: * i386/i386at/model_dep.c: Don't include <nscsi.h> anymore and adapt 11431: all users of NSCSI as if it were always defined to `0'. 11432: (use_all_mem): Don't define anymore and adapt all users as if it were 11433: always defined to `1'. 11434: (NBBY, NBPW, DMA_MAX): Remove macros. 11435: (alloc_dma_mem): Remove function. 11436: 11437: * i386/bogus/asc.h: Remove file. 11438: * i386/bogus/aha.h: Likewise. 11439: * i386/bogus/eaha.h: Likewise. 11440: * i386/bogus/sbic.h: Likewise. 11441: * i386/bogus/sci.h: Likewise. 11442: * i386/bogus/sii.h: Likewise. 11443: * i386/bogus/siop.h: Likewise. 11444: * i386/i386at/eisa.h: Likewise. 11445: * scsi/adapters/README: Likewise. 11446: * scsi/adapters/scsi_33C93.h: Likewise. 11447: * scsi/adapters/scsi_33C93_hdw.c: Likewise. 11448: * scsi/adapters/scsi_5380.h: Likewise. 11449: * scsi/adapters/scsi_5380_hdw.c: Likewise. 11450: * scsi/adapters/scsi_53C700.h: Likewise. 11451: * scsi/adapters/scsi_53C700_hdw.c: Likewise. 11452: * scsi/adapters/scsi_53C94.h: Likewise. 11453: * scsi/adapters/scsi_53C94_hdw.c: Likewise. 11454: * scsi/adapters/scsi_7061.h: Likewise. 11455: * scsi/adapters/scsi_7061_hdw.c: Likewise. 11456: * scsi/adapters/scsi_89352.h: Likewise. 11457: * scsi/adapters/scsi_89352_hdw.c: Likewise. 11458: * scsi/adapters/scsi_aha15.h: Likewise. 11459: * scsi/adapters/scsi_aha15_hdw.c: Likewise. 11460: * scsi/adapters/scsi_aha17_hdw.c: Likewise. 11461: * scsi/adapters/scsi_dma.h: Likewise. 11462: * scsi/adapters/scsi_user_dma.c: Likewise. 11463: * scsi/adapters/scsi_user_dma.h: Likewise. 11464: * scsi/compat_30.h: Likewise. 11465: * scsi/disk_label.c: Likewise. 11466: * scsi/mapped_scsi.c: Likewise. 11467: * scsi/mapped_scsi.h: Likewise. 11468: * scsi/pc_scsi_label.c: Likewise. 11469: * scsi/rz.c: Likewise. 11470: * scsi/rz.h: Likewise. 11471: * scsi/rz_audio.c: Likewise. 11472: * scsi/rz_cpu.c: Likewise. 11473: * scsi/rz_disk.c: Likewise. 11474: * scsi/rz_disk_bbr.c: Likewise. 11475: * scsi/rz_host.c: Likewise. 11476: * scsi/rz_labels.h: Likewise. 11477: * scsi/rz_tape.c: Likewise. 11478: * scsi/scsi.c: Likewise. 11479: * scsi/scsi.h: Likewise. 11480: * scsi/scsi2.h: Likewise. 11481: * scsi/scsi_alldevs.c: Likewise. 11482: * scsi/scsi_comm.c: Likewise. 11483: * scsi/scsi_cpu.c: Likewise. 11484: * scsi/scsi_defs.h: Likewise. 11485: * scsi/scsi_disk.c: Likewise. 11486: * scsi/scsi_endian.h: Likewise. 11487: * scsi/scsi_jukebox.c: Likewise. 11488: * scsi/scsi_optical.c: Likewise. 11489: * scsi/scsi_printer.c: Likewise. 11490: * scsi/scsi_rom.c: Likewise. 11491: * scsi/scsi_scanner.c: Likewise. 11492: * scsi/scsi_tape.c: Likewise. 11493: * scsi/scsi_worm.c: Likewise. 11494: * i386/i386at/autoconf.c: Don't include <aha.h> and <eaha.h> anymore 11495: and adapt all users of NAHA and NEAHA as if it were always defined to 11496: `0'. 11497: * i386/i386at/conf.c: Likewise. 11498: * Makefile.in (scsi-files): Remove variable and all users of it. 11499: 11500: * i386/bogus/wt.h: Remove file. 11501: * i386/i386at/autoconf.c: Don't include <wt.h> anymore and adapt all 11502: users of NWT as if it were always defined to `0'. 11503: * i386/i386at/conf.c: Likewise. 11504: 11505: * i386/bogus/hpp.h: Remove file. 11506: * i386/bogus/ul.h: Likewise. 11507: * i386/bogus/wd.h: Likewise. 11508: * i386/i386at/gpl/if_hpp.c: Likewise. 11509: * i386/i386at/gpl/if_ns.c: Likewise. 11510: * i386/i386at/gpl/if_nsreg.h: Likewise. 11511: * i386/i386at/gpl/if_ul.c: Likewise. 11512: * i386/i386at/gpl/if_wd.c: Likewise. 11513: * i386/i386at/autoconf.c: Don't include <hpp.h>, <ul.h> and <wd.h> 11514: anymore and adapt all users of NHPP, NUL and NWD as if they were always 11515: defined to `0'. 11516: * i386/i386at/conf.c: Likewise. 11517: 11518: * i386/bogus/at3c501.h: Remove file. 11519: * i386/i386at/if_3c501.c: Likewise. 11520: * i386/i386at/if_3c501.h: Likewise. 11521: * i386/i386at/autoconf.c: Don't include <at3c501.h> anymore and adapt 11522: all users of NAT3C501 as if it were always defined to `0'. 11523: * i386/i386at/conf.c: Likewise. 11524: 11525: * i386/bogus/ns8390.h: Remove file. 11526: * i386/i386at/ds8390.h: Likewise. 11527: * i386/i386at/if_3c503.h: Likewise. 11528: * i386/i386at/if_ns8390.c: Likewise. 11529: * i386/i386at/if_ns8390.h: Likewise. 11530: * i386/i386at/if_wd8003.h: Likewise. 11531: * i386/i386at/autoconf.c: Don't include <ns8390.h> anymore and adapt 11532: all users of NNS8390 as if it were always defined to `0'. 11533: * i386/i386at/conf.c: Likewise. 11534: 11535: * i386/bogus/ne.h: Remove file. 11536: * i386/i386at/if_ne.c: Likewise. 11537: * i386/i386at/if_nereg.h: Likewise. 11538: * i386/i386at/autoconf.c: Don't include <ne.h> anymore and adapt all 11539: users of NNE as if it were always defined to `0'. 11540: * i386/i386at/conf.c: Likewise. 11541: 11542: * i386/bogus/pc586.h: Remove file. 11543: * i386/i386at/i82586.h: Likewise. 11544: * i386/i386at/if_pc586.c: Likewise. 11545: * i386/i386at/if_pc586.h: Likewise. 11546: * i386/i386at/autoconf.c: Don't include <pc586.h> anymore and adapt all 11547: users of NPC586 as if it were always defined to `0'. 11548: * i386/i386at/conf.c: Likewise. 11549: 11550: * i386/bogus/fd.h: Remove file. 11551: * i386/i386at/fd.c: Likewise. 11552: * i386/i386at/fdreg.h: Likewise. 11553: * i386/i386at/nfd.c: Likewise. 11554: * i386/i386at/nfdreg.h: Likewise. 11555: * i386/Makefile.in (i386at-files): Remove `fd.c'. 11556: * i386/i386at/autoconf.c: Don't include <fd.h> anymore and adapt all 11557: users of NFD as if it were always defined to `0'. 11558: * i386/i386at/conf.c: Likewise. 11559: 11560: * i386/bogus/hd.h: Remove file. 11561: * i386/i386at/nhd.c: Likewise. 11562: * i386/i386at/nhdreg.h: Likewise. 11563: * i386/i386at/autoconf.c: Don't include <hd.h> anymore and adapt all 11564: users of NHD as if it were always defined to `0'. 11565: * i386/i386at/conf.c: Likewise. 11566: 11567: * DEVELOPMENT: New file. 11568: 11569: 2006-02-05 Thomas Schwinge <[email protected]> 11570: 11571: * Makerules.in: Don't set no_deps to true if MAKECMDGOALS is empty. 11572: 11573: 2006-02-03 Thomas Schwinge <[email protected]> 11574: 11575: * Makerules.in: Set no_deps to true if we don't need the dependency 11576: files. 11577: * i386/linux/Makefile.in: Do care about linux-flags if no_deps is true; 11578: reverting the change from 2006-01-31. 11579: 11580: * Makefile.in: Include Makerules through top_builddir, so that it will 11581: automatically be rebuilt if needed. 11582: 11583: * Makerules.in (CFLAGS): Added -fno-strict-aliasing. 11584: * i386/linux/Makefile.in (linux-gen-flags): Likewise. 11585: 11586: 2006-02-02 Sergio Lopez <[email protected]> 11587: 11588: * linux/src/drivers/scsi/eata_pio.c (eata_pio_detect): Fix a 11589: off-by-one error when probing. 11590: * linux/src/drivers/scsi/eata_dma.c (eata_detect): Likewise. 11591: * linux/dev/drivers/scsi/eata_dma.c (eata_detect): Likewise. 11592: 11593: * linux/src/drivers/net/apricot.c (apricot_probe): Increase eth_addr 11594: size to 8 so we do not trash the stack when reading from the io ports. 11595: 11596: 2006-02-02 Thomas Schwinge <[email protected]> 11597: 11598: * Makerules.in: Move a comment ... 11599: * Makefile.in: ... here. 11600: 11601: 2006-02-01 Thomas Schwinge <[email protected]> 11602: 11603: * linux/dev/drivers/block/genhd.c (add_bsd_partition): Only define if 11604: both MACH and CONFIG_BSD_DISKLABEL are defined. 11605: Reported by Matheus Morais <[email protected]>. 11606: 11607: 2006-01-31 Thomas Schwinge <[email protected]> 11608: 11609: Cleanup of GNU Mach's build system. The system dependent parts are now 11610: handled by the respective Makefile and no longer by the top-level one. 11611: 11612: * configure, i386/configure, i386/linux/configure, linux/configure: 11613: Regenerated. 11614: 11615: * Makefile.in: Various cleanups. 11616: (mach/machine, mach_machine): Targets removed. 11617: (AWK, CC, CFLAGS, CPPFLAGS, DEFINES, INCLUDES, INSTALL, INSTALL_DATA) 11618: (INSTALL_PROGRAM, LD, MIG, MIGFLAGS, NM): Variables moved into 11619: Makerules.in. 11620: Do not include $(sysdep)/Makefrag anymore. 11621: (all, check, clean, distclean, mostlyclean, maintainer-clean, install) 11622: (install-headers, install-kernel): Recurse into the system dependent 11623: subdirectory. 11624: (check): Add a basic test using mbchk. 11625: (clean, distclean): Be more explicit in what to delete. 11626: ($(systype)/%): New target. 11627: (kernel.o): Incorporate the system dependent archive. 11628: (installed-sysdep-headers-names, $(installed-sysdep-headers-names)): 11629: Variable and target moved into the system dependent Makefile.in. 11630: (install-headers, mkheaderdirs): Don't care for the system dependent 11631: header files. 11632: (%.symc, %.symc.o, %.h, %_user.c, %_interface.h, %_server.c): Targets 11633: moved into Makerules.in. 11634: Inclusion of dependency files: Likewise. 11635: (%.migs_d, %.migu_d, %.migsh_d, %.miguh_d, make-deps, %.d): Likewise. 11636: Include Makerules. 11637: * Makerules.in: New file, mainly based on Makefile.in. 11638: * configure.in: Do not substitute cross_compiling and not explicitly 11639: substitute LDFLAGS. 11640: Check for cpp, ranlib, ar and mbchk. 11641: Care for the mach/machine symbolic link. 11642: Add Makerules as a config file. 11643: * i386/Makefile.in: Various cleanups. 11644: Merge i386/Makefrag and the system dependent stuff from Makefile.in 11645: into this file. 11646: (all, check, install, install-headers, install-kernel): Recurse into 11647: the system dependent subdirectory. 11648: (sysdep.o): transformed to the new target sysdep.a. 11649: (linux/linux.o): Target removed. 11650: (clean, distclean): Be more explicit in what to delete. 11651: (linux/%): New target. 11652: (install-headers): Install the system dependent header files. 11653: (mkheaderdirs): New target. 11654: Include the top-level Makerules. 11655: * i386/Makefrag: File removed. 11656: * i386/Makerules.in: New file. 11657: * i386/configure.in: Synchronize AC_INIT to the top-level definition. 11658: Do not check for ld and make. 11659: Add Makerules as a config file. 11660: * i386/linux/Makefile.in: Various cleanups. 11661: Replace linux-objs with objfiles. 11662: (check, install, install-headers, install-kernel): New empty targets. 11663: Don't care about linux-flags if no_deps is true. 11664: Inclusion of dependency files removed and instead... 11665: Include the top-level Makerules. 11666: * i386/linux/Makerules.in: New file. 11667: * i386/linux/configure.ac: Synchronize AC_INIT to the top-level 11668: definition. 11669: Do not check for gcc and ld. 11670: Do not explicitly substitute LDFLAGS. 11671: Add Makerules as a config file. 11672: * linux/configure.in: Synchronize AC_INIT to the top-level definition. 11673: Do not create directories using a dummy file. 11674: * linux/dummy.in: File removed. 11675: 11676: * ddb/db_access.h: Include <machine/vm_param.h> instead of 11677: "vm_param.h". 11678: * kern/bootstrap.c: Likewise. 11679: * kern/thread.c: Likewise. 11680: * vm/vm_kern.c: Likewise. 11681: * vm/vm_object.c: Likewise. 11682: * vm/vm_resident.c: Likewise. 11683: 11684: 2006-01-26 Thomas Schwinge <[email protected]> 11685: 11686: * config.guess: Updated from the canonical source. 11687: * config.sub: Likewise. 11688: 11689: 2006-01-26 Jeroen Dekkers <[email protected]> 11690: 11691: * i386/i386/locore.S (trap_push_segs): Switch fs and gs to kernel 11692: data segment too. 11693: (syscall_entry_2): Likewise. 11694: * i386/i386/user_ldt.c (i386_set_ldt): Always copy the master LDT 11695: when there is no old user LDT. 11696: 11697: 2006-01-26 Samuel Thibault <[email protected]> 11698: 11699: * linux/dev/arch/i386/kernel/irq.c (linux_intr): Disable interrupts 11700: if the driver requested it through request_irq(). 11701: 11702: * linux/dev/drivers/block/ide.c (read_intr): Set the IRQ handler before 11703: issuing a request. 11704: (write_intr): Likewise. 11705: (multwrite_intr): Likewise. 11706: 11707: 2006-01-26 Thomas Schwinge <[email protected]> 11708: 11709: * i386/linux/Makefile.in: Automatically recreate the `Makefile'. 11710: 11711: 2006-01-23 Thomas Schwinge <[email protected]> 11712: 11713: * i386/linux/configure: Regenerated. 11714: 11715: * i386/linux/configure.ac: Only add a AC_DRIVER_ALIAS if it really is a 11716: alias. 11717: 11718: 2006-01-22 Thomas Schwinge <[email protected]> 11719: 11720: * doc/mach.texi (Configuration): Document the recently added drivers. 11721: * i386/README-Drivers: Likewise. 11722: 11723: * configure, i386/configure, i386/linux/configure, linux/configure, 11724: i386/linux/device-drivers.h.in: Regenerated. 11725: 11726: * linux/src/drivers/net/ne2k-pci.c: Resolve conflicts. 11727: 11728: 2006-01-22 Guillem Jover <[email protected]> 11729: 11730: * i386/linux/configure.ac: Renamed winbond-840 driver to winbond_840. 11731: Enable the starfire, intel_gige and natsemi network drivers. Remove 11732: "CONFIG_" from cb_chim, starfire, sundance, winbond840, hamachi, 11733: natsemi, myson803 and ns820 driver declarations. Replace INTER_GIGE 11734: with INTEL_GIGE. 11735: * linux/dev/drivers/net/Space.c: Add conditional probes for natsemi, 11736: ns820, winbond840, hamachi, sundance, starfire, myson803 and intel-gige 11737: drivers. 11738: 11739: * linux/src/include/asm-i386/cache.h: New file from linux 2.2.26. 11740: * linux/dev/include/linux/malloc.h: Include <asm/cache.h>. 11741: 11742: * linux/src/drivers/net/ns820.c (netsami_drv_id): Renamed to ... 11743: (ns820_drv_id): ... this. Fix all callers. 11744: * linux/src/drivers/net/intel-gige.c 11745: (skel_netdev_probe): Renamed to ... 11746: (igige_probe): ... this. 11747: * linux/dev/drivers/net/eepro100.c: Remove obsoleted file. 11748: * linux/src/drivers/net/eepro100.c (pci_id_tbl): Add PCI ID's from 11749: linux-2.6.14-rc4. 11750: 11751: 2006-01-22 Alfred M. Szmidt <[email protected]> 11752: 11753: * i386/linux/configure.ac: Added `pci-scan.o' to the network driver 11754: class. (ns820, myson803, sundance, winbond-840, hamachi): New drivers. 11755: * i386/linux/Makefile.in (linux-net-files): Added `cb_shim.c', 11756: `hamachi.c', `intel-gige.c', `myson803.c', `natsemi.c', `ns820.c', 11757: `starfire.c', `sundance.c', `winbond-840.c' and `pci-scan.c'. 11758: 11759: * linux/dev/include/linux/modversions.h: New file. 11760: 11761: * linux/src/drivers/net/cb_shim.c, linux/src/drivers/net/hamachi.c, 11762: linux/src/drivers/net/intel-gige.c, linux/src/drivers/net/myson803.c, 11763: linux/src/drivers/net/natsemi.c, linux/src/drivers/net/ns820.c, 11764: linux/src/drivers/net/starfire.c, linux/src/drivers/net/sundance.c, 11765: linux/src/drivers/net/winbond-840.c, 11766: linux/src/drivers/net/kern_compat.h, linux/src/drivers/net/pci-scan.c, 11767: linux/src/drivers/net/pci-scan.h: New files from netdrivers 3.5 package 11768: (http://www.scyld.com/network). 11769: 11770: * linux/src/drivers/net/3c59x.c, linux/src/drivers/net/eepro100.c, 11771: linux/src/drivers/net/epic100.c, linux/src/drivers/net/ne2k-pci.c, 11772: linux/src/drivers/net/rtl8139.c, linux/src/drivers/net/tulip.c, 11773: linux/src/drivers/net/via-rhine.c, linux/src/drivers/net/yellowfin.c: 11774: Updated files from netdrivers 3.5 (http://www.scyld.com/network). 11775: 11776: 2006-01-22 Thomas Schwinge <[email protected]> 11777: 11778: * linux/src/drivers/net/ne2k-pci.c (ne_block_input, ne_block_output): 11779: Fix previous patch. 11780: 11781: 2005-07-12 Guillem Jover <[email protected]> 11782: 11783: * configure: Regenerated. 11784: * i386/configure: Regenerated. 11785: 11786: * Drivers.macros (AC_DRIVER_CLASS): Use AH_TEMPLATE. 11787: (AC_DRIVER): Set the value for the AC_DEFINE and AC_DEFINE_UNQUOTED 11788: to 1. 11789: 11790: * aclocal.m4 (AC_PROG_CC_LOCAL, AC_PROG_CC_WORKS_LOCAL): Removed. 11791: * version.m4: New file. 11792: * Makefile.in: Use PACKAGE_VERSION, not VERSION. 11793: * doc/Makefile.in: Likewise. 11794: * version.c.in: Likewise. Use PACKAGE_NAME, not "GNUmach". 11795: * i386/linux/Makefile.in (configure): Change its source to 11796: configure.ac. 11797: 11798: * aclocal.m4: Add missing quotations. 11799: * Drivers.macros: Likewise. 11800: * configure.in: Likewise. Include version.m4 and use PACKAGE and 11801: VERSION m4 macros from it. 11802: * i386/configure.in: Likewise. 11803: (AC_INIT): Use new syntax and move source check to AC_CONFIG_SRCDIR. 11804: * i386/linux/configure.ac: Likewise. Use m4_sinclude, not sinclude. 11805: * linux/configure.in: Likewise. 11806: 11807: * i386/configure.in: Update AC_DEFINE to the new three argument form. 11808: * i386/linux/configure.ac: Move AC_DEFINE inside AC_ARG_ENABLE. 11809: 11810: * configure.in: Use AC_CONFIG_LINKS, not AC_LINK_FILES. 11811: * linux/configure.in: Likewise. 11812: 11813: * i386/configure.in: Call AC_CONFIG_FILES and use the new form of 11814: AC_OUTPUT. 11815: * i386/linux/configure.ac: Likewise. 11816: * linux/configure.in: Likewise 11817: 11818: * configure.in: Use AS_HELP_STRING in AC_ARG_ENABLE help strings. 11819: * Drivers.macros: Likewise. 11820: * i386/configure.in: Likewise. 11821: * i386/linux/configure.ac: Likewise. 11822: 11823: 2005-07-12 Neal H. Walfield <[email protected]> 11824: 11825: * configure.in: Update to use autoconf 2.57. 11826: Do not error out if host_os is not GNU. 11827: Update AC_DEFINEs to the required three argument form. 11828: Don't call AC_CHECK_TOOL(CC, gcc) and AC_PROG_CC_LOCAL, just use 11829: AC_PROG_CC. 11830: AC_SUBST(LDFLAGS). 11831: Refactor AC_CONFIG_SUBDIRS to not do variable substitution. 11832: Call AC_CONFIG_FILES and use the new form of AC_OUTPUT. 11833: * i386/configure.in: Require autoconf 2.57. 11834: * linux/configure.in: Likewise. 11835: * i386/linux/Drivers.in: Move from here... 11836: * i386/linux/configure.ac: ... to here to conform to the 11837: environment autoreconf expects. 11838: (hurd_host_CPU): New macro. 11839: Call AC_PROG_CC, not AC_PROG_CC_LOCAL. 11840: AC_SUBST(LD_FLAGS). 11841: (flashpoint): Update AC_DEFINE to the new three argument form. 11842: * Drivers.macros (AC_DRIVER): Update AC_DEFINE to the new three 11843: argument form. 11844: 11845: 2005-05-24 Alfred M. Szmidt <[email protected]> 11846: 11847: * i386/include/mach/i386/asm.h (END): New macro. 11848: 11849: * i386/include/mach/i386/syscall_sw.h (kernel_trap): Call END. 11850: 11851: 2005-05-28 Alfred M. Szmidt <[email protected]> 11852: 11853: * linux/src/drivers/scsi/u14-34f.c (ihdlr): Silence gcc 4.x 11854: errors. 11855: * linux/src/drivers/scsi/qlogicisp.h: Likewise. 11856: * linux/src/drivers/scsi/advansys.c: Likewise. 11857: (advansys_reset, advansys_interrupt, asc_scsi_done_list, 11858: (asc_enqueue, asc_dequeue, asc_dequeue_list, asc_rmqueue, 11859: (asc_isqueued): Likewise. 11860: * linux/src/drivers/scsi/53c78xx.c (NCR53c7xx_queue_command): 11861: Likewise. 11862: * linux/src/drivers/net/ne2k-pci.c (ne_block_input) 11863: (ne_block_output): Likewise. 11864: * linux/src/drivers/net/hp100.c (__initfunc): Likewise. 11865: * linux/src/drivers/net/3c507.c (el16_interrupt): Likewise. 11866: * linux/dev/drivers/scsi/seagate.c (seagate_st0x_queue_command): 11867: Likewise. 11868: 11869: 2005-05-26 Alfred M. Szmidt <[email protected]> 11870: 11871: * device/cons.h (cn_tab) [KERNEL]: Removed extern declaration. 11872: 11873: * linux/dev/include/linux/fs.h (super_blocks): Declare as an 11874: pointer. 11875: 11876: 2005-02-10 Guillem Jover <[email protected]> 11877: 11878: * linux/dev/glue/block.c (rdwr_partial): Remove leftover assert. 11879: 11880: 2005-01-22 Guillem Jover <[email protected]> 11881: 11882: * linux/dev/include/linux/skbuff.h (skb_put, skb_push): Fix errors 11883: for deprecated use of labels at end of compound statements. 11884: * i386/i386/fpe_linkage.c (enable_fpe): Declare prototype. 11885: 11886: 2005-01-22 Guillem Jover <[email protected]> 11887: 11888: * linux/src/drivers/scsi/qlogicisp_asm.c: Remove file with binary 11889: only firmware. 11890: * linux/src/drivers/scsi/qlogicisp.c: Do not include "qlogicisp_asm.c". 11891: (RELOAD_FIRMWARE): Set to 0. 11892: (risc_code_addr01): New variable from qlogicisp_asm.c. 11893: * linux/Files: Remove linux/src/drivers/scsi/qlogicisp_asm.c. 11894: 11895: 2004-09-08 Neal H. Walfield <[email protected]> 11896: 11897: * linux/dev/kernel/printk.c: Include <kern/assert.h>. 11898: (printk): Use vsnprintf, not linux_vsprintf to avoid buffer 11899: overruns. 11900: 11901: * kern/printf.c (struct vsnprintf_cookie): New structure. 11902: (snputc): New function. 11903: (vsnprintf): Likewise. 11904: 11905: 2004-11-22 Guillem Jover <[email protected]> 11906: 11907: * bogus/mach_assert.h: Change #ifdef DEBUG to #ifndef NDEBUG 11908: for assert et al. 11909: * kern/assert.h: Likewise. 11910: * kern/debug.h: Likewise. 11911: * util/debug.h: Likewise. 11912: 11913: * i386/i386/debug.h: Move dump_ss definition out of [DEBUG]. 11914: * linux/dev/glue/block.c (rdwr_full): Remove invalid assert. 11915: 11916: 2004-09-07 Neal H. Walfield <[email protected]> 11917: 11918: * linux/dev/glue/block.c (__brelse): Unconditionally kfree BH. 11919: (getblk): Unconditionally kalloc BH. 11920: 11921: * kern/kalloc.c [!NDEBUG] (kalloc_init_called): New static 11922: variable. 11923: (kalloc_init): Assert that kalloc_init_called is zero. 11924: [! NDEBUG] Set kalloc_init_called to 1 on success. 11925: (kalloc): Assert that kalloc_init_called is non-zero. 11926: (kget): Likewise. 11927: (kfree): Likewise. 11928: 11929: 2004-11-22 Guillem Jover <[email protected]> 11930: 11931: * i386/i386/locore.S (discover_x86_cpu_type): Enable function. 11932: Enable ID flag for Cyrix CPU. Use %ebp to save the stack pointer. 11933: Restore EFLAGS just after its last usage. 11934: * i386/i386at/model_dep.c (c_boot_entry): Enable use of 11935: discover_x86_cpu_type. Remove hardcoded cpu_type assignment. 11936: * i386/include/mach/i386/eflags.h 11937: (EFL_VI, EFL_VIP): New bits. 11938: (EFL_AC, EFL_ID): Bits finally added. 11939: 11940: 2004-10-26 Guillem Jover <[email protected]> 11941: 11942: * i386/i386/fpe.b: Remove binary without source. 11943: * i386/i386/fpe.b_elf: Likewise. 11944: * i386/i386/fpe_linkage.c: Disable the code if [! FPE]. 11945: * i386/bogus/fpe.h: Add comment about not having an fpe implementation. 11946: * i386/Makefrag (objfiles): Do not add fpe.o. 11947: Remove targets to generate fpe.o. 11948: 11949: 2004-02-29 Marcus Brinkmann <[email protected]> 11950: 11951: * NEWS: Add things that changed so far since 1.3. 11952: 11953: 2004-02-02 Marco Gerards <[email protected]> 11954: 11955: * i386/i386at/kd.c (kdinit): Initialize the input buffer. 11956: 11957: * i386/i386at/kd.h (KDSETLEDS): New macro. 11958: * i386/i386at/kd_event.c (kbdsetstat): Handle KDSETLEDS here to 11959: set the keyboard LEDs state. 11960: 11961: 2004-01-19 Marco Gerards <[email protected]> 11962: 11963: * linux/dev/glue/block.c (init_partition): Don't check for BSD 11964: partitions if the DOS partition is too small. 11965: 11966: 2004-01-16 Marco Gerards <[email protected]> 11967: 11968: * linux/dev/glue/block.c (device_get_status): Correctly calculate 11969: the number of blocks. 11970: 11971: 2004-01-15 Alfred M. Szmidt <[email protected]> 11972: 11973: * linux/dev/include/asm-i386/string.h (memscan): Don't use 11974: multi-line string literals for asm(). 11975: * linux/dev/include/asm-i386/segment.h (__generic_memcpy_tofs) 11976: (__generic_memcpy_fromfs): Likewise. 11977: * linux/src/include/asm-i386/floppy.h (floppy_hardint): Likewise. 11978: * i386/i386/proc_reg.h (flush_instr_queue): Likewise. 11979: * i386/i386/gdt.c (gdt_init): Likewise. 11980: 11981: * linux/src/drivers/scsi/aic7xxx.c: Updated from Linux 2.0.39 11982: * linux/src/drivers/scsi/aic7xxx.h: Likewise. 11983: * linux/src/drivers/scsi/aic7xxx_proc.c: Likewise. 11984: * linux/src/drivers/scsi/scsicam.c: Likewise. 11985: * linux/src/include/linux/pci.h: Likewise. 11986: 11987: * linux/src/drivers/scsi/53c7,8xx.h (patch_dsa_32): Don't use 11988: token paste operator (##). 11989: 11990: * Makefile.in (kernel-undef): Match new output format from 11991: nm (binutils) 2.14.x. 11992: 1.1.1.5 root 11993: 2002-05-27 Roland McGrath <[email protected]> 11994: 11995: * Version 1.3 released. 11996: 11997: 2002-05-23 Marcus Brinkmann <[email protected]> 11998: 11999: * i386/i386at/model_dep.c: Include <kern/cpu_number.h> and 12000: <kern/assert.h>. 12001: (machine_idle): New function. 12002: * bogus/power_save.h (POWER_SAVE): Define to 1. 12003: 12004: 2002-05-22 Roland McGrath <[email protected]> 12005: 12006: * configure.in (VERSION): New substituted variable: set to 1.3 now. 12007: (version.c): Add it to AC_OUTPUT. 12008: * configure: Regenerated. 12009: * Makefile.in (version): New variable, set from that. 12010: Remove vpath directive for version.c, not found in build dir. 12011: (topfiles): version.c -> version.c.in 12012: * doc/Makefile.in (mach-version): Substituted instead of constant. 12013: * version.c: File removed, replaced with ... 12014: * version.c.in: ... this new file. 12015: (version): Make it const. Use @VERSION@ for the number. 12016: 12017: * Makefile.in (debian-files): Add postinst and prerm. 12018: (dist): Use gzip -9 instead of tar z. 12019: 12020: * linux/Files: Add missing files to the list: 12021: linux/dev/drivers/net/eepro100.c 12022: linux/src/include/asm-i386/hardirq.h 12023: linux/src/include/asm-i386/spinlock.h 12024: linux/src/include/linux/compatmac.h 12025: linux/src/include/linux/spinlock.h 12026: 12027: * linux/src/drivers/net/eth16i.c (eth16i_check_signature): Fix syntax: 12028: #ifdef 0 -> #if 0 12029: 12030: * Makefile.in (%.migs_d, %.migu_d): Fix sed substitution to match 12031: whatever target file name gcc comes up with. 12032: (%.migs_d, %.migu_d, %.symc.o, %_user.c, %_server.c): 12033: Depend on $(before-compile). 12034: 12035: 2002-04-24 Marcus Brinkmann <[email protected]> 12036: 12037: * debian/rules (DOCDIR): Move to 12038: $(PREFIX)/share/doc/$(package-dev). 12039: 12040: 2002-04-23 Roland McGrath <[email protected]> 12041: 12042: * i386/i386/ldt.c (ldt_init): Fix fencepost error in segment limits. 12043: 12044: 2002-04-19 Roland McGrath <[email protected]> 12045: 12046: * gensym.awk: Emit \n\ at the end of lines inside strings. 12047: * Makefile.in (%.symc: %.sym): Depend on gensym.awk. 12048: 12049: 2002-03-29 Marcus Brinkmann <[email protected]> 12050: 12051: * doc/mach.texi: End index entry with full stop. 12052: 12053: 2002-03-05 Roland McGrath <[email protected]> 12054: 12055: * kern/bootstrap.c: Include <alloca.h>. 12056: 12057: 2002-03-04 Roland McGrath <[email protected]> 12058: 12059: * Makefile.in (%_interface.h %_server.c: %.srv): Pass -sheader switch 12060: to mig, not -header. 12061: 12062: 2001-11-23 Roland McGrath <[email protected]> 12063: 12064: * i386/i386at/i386at_ds_routines.c (device_deallocate): Do nothing if 12065: argument is DEVICE_NULL. 12066: 12067: 2001-10-21 Marcus Brinkmann <[email protected]> 12068: 12069: * linux/src/arch/i386/lib/delay.c: Convert HTML entities. 12070: Reported by John Tobey <[email protected]>. 12071: 12072: 2001-10-13 Marcus Brinkmann <[email protected]> 12073: 12074: * debian/changelog: Update for next release. 12075: 12076: 2001-10-07 Roland McGrath <[email protected]> 12077: 12078: * ddb/db_access.c: Fix obsolescent #else/#endif syntax. 12079: * device/dev_name.c: Likewise. 12080: * device/dev_pager.c: Likewise. 12081: * device/ds_routines.c: Likewise. 12082: * i386/i386/i386asm.sym: Likewise. 12083: * include/device/device_reply.defs: Likewise. 12084: * include/mach/memory_object.defs: Likewise. 12085: * include/mach/memory_object_default.defs: Likewise. 12086: 12087: * i386/i386/locore.S: Fix sloppy asm syntax to avoid warnings from 12088: newer assembler (%ecx -> %cl in byte insns). 12089: 12090: * kern/bootstrap.c (bootstrap_create): Fix inverted test logic for 12091: compatibility case. Ignore trailing newlines after space for 12092: compatibility detection. 12093: Reported by Neal H Walfield <[email protected]>. 12094: 12095: 2001-10-06 Marcus Brinkmann <[email protected]> 12096: 12097: * README: Replace `GNU mach' by `GNU Mach', and remove 12098: obsolete paragraph about kmsg device. 12099: 12100: 2001-10-06 Marcus Brinkmann <[email protected]> 12101: 12102: * doc/mach.texi: Fix direntry. 12103: 12104: 2001-10-05 Marcus Brinkmann <[email protected]> 12105: 12106: * doc/mach.texi: Replace `path name' by `file name' in one place. 12107: Replace `illegal' by `invalid' and `to to' by `to' everwhere. 12108: 12109: * debian/changelog: Prepare for next release. 12110: 12111: 2001-10-04 Marcus Brinkmann <[email protected]> 12112: 12113: * doc: New directory. 12114: * doc/Makefile.in: New file. 12115: * doc/gpl.texi: Likewise. 12116: * doc/fdl.texi: Likewise. 12117: * doc/mach.texi: Likewise. 12118: * configure.in: Add doc/Makefile to AC_OUTPUT call. 12119: * configure: Regenerated. 12120: 12121: * Makefile.in (dist): Create directories doc and debian. 12122: (doc-files): New variable with documentation files. 12123: (debian-files): New variable with Debian packaging files. 12124: 12125: * debian/rules (stamp-build): Build documentation. 12126: (build-gnumach): Install the documentation into the gnumach 12127: package. 12128: * debian/postrm: New file to install info document. 12129: * debian/prerm: New file to install info document. 12130: 12131: 2001-10-01 Marcus Brinkmann <[email protected]> 12132: 12133: * i386/i386/locore.S (tenmicrosec): Remove subroutine. 12134: * i386/i386/pit.c (delaycount): Remove global variable. 12135: (microdata): Likewise. 12136: (clkstart): Do not call findspeed() and microfind(). 12137: (findspeed): Remove function. 12138: (spinwait): Likewise. 12139: (microfind): Likewise. This function triggers a division by zero 12140: trap on AMD K6 350Mhz+ and Athlon 1.1GHz+ machines (and in general 12141: leads to bad results on fast cpus), and nothing uses this code anymore. 12142: 12143: 2001-09-30 Roland McGrath <[email protected]> 12144: 12145: * kern/bootstrap.c (bootstrap_create): Ignore trailing spaces when 12146: checking boot module string for containing none. 12147: 12148: 2001-09-18 Marcus Brinkmann <[email protected]> 12149: 12150: * linux/dev/glue/misc.c: Do not include <linux/types.h> and 12151: <linux/string.h>. 12152: Remove global variable ___strtok. 12153: Remove implementation of strspn, strpbrk, strtok and strstr. 12154: * Makefile.in: Add strpbrk and strtok. 12155: 12156: 2001-08-24 Roland McGrath <[email protected]> 12157: 12158: * kern/bootstrap.c (bootstrap_create): Make setting of boot-args and 12159: root-device no longer conditional on [! OSKIT_MACH]. 12160: (bootstrap_create) [! OSKIT_MACH]: Parse FOO=BAR words out of the 12161: multiboot command line and turn those into boot script variables. 12162: 12163: * Makefile.in (clib-routines): Add strsep. 12164: * kern/strings.h (strsep, strchr): Declare them. 12165: 12166: 2001-08-23 Roland McGrath <[email protected]> 12167: 12168: * kern/bootstrap.c (bootstrap_create, user_bootstrap, 12169: boot_script_exec_cmd, boot_script_task_resume): Add printfs at 12170: various stages of startup. 12171: 12172: 2001-08-21 Roland McGrath <[email protected]> 12173: 12174: * i386/i386at/model_dep.c (use_all_mem): Turn variable into macro. 12175: (init_alloc_aligned): Make this function static. 12176: Initially skip memory < 16MB and then wrap around to get it last. 12177: 12178: 2001-08-20 Roland McGrath <[email protected]> 12179: 12180: Support "boot script" functionality in multiboot module strings. 12181: * kern/bootstrap.c: Rewrite merged from oskit-branch. 12182: * kern/boot_script.c, kern/boot_script.h: New files, 12183: copied from boot/ directory in Hurd sources. 12184: * Makefile.in (kern-cfiles): Add boot_script.c here. 12185: (kern-files): Add boot_script.h here. 12186: * NEWS: Mention the new feature. 12187: 12188: 2001-08-18 Roland McGrath <[email protected]> 12189: 12190: * i386/i386at/model_dep.c (boot_info): Define a struct, not a pointer. 12191: (c_boot_entry): Copy the contents into it rather than setting the ptr. 12192: (c_boot_entry, init_alloc_aligned, pmap_valid_page, mem_size_init): 12193: Update uses. 12194: (init_alloc_aligned): Don't need to skip the boot_info memory. 12195: * kern/bootstrap.c (boot_info): Update decl. 12196: (bootstrap_create): Update uses. 12197: 12198: 2001-08-18 Marcus Brinkmann <[email protected]> 12199: 12200: * linux/src/drivers/net/eepro100.c: File updated to version in 12201: Linux 2.2.19. This time for real. 12202: 12203: 2001-08-18 Marcus Brinkmann <[email protected]> 12204: 12205: * debian/changelog: Update for next package upload. 12206: * debian/control: Add gnumach-dbg package. 12207: * debian/rules: New targets to build gnumach-dbg package. 12208: Fix various bugs. 12209: 12210: 2001-08-18 Marcus Brinkmann <[email protected]> 12211: 12212: * i386/i386at/kd.c (kdintr): In event mode, make it so that 12213: 0xE0 scancodes are received. 12214: From Kalle Olavi Niemitalo <[email protected]>. 12215: 12216: * i386/i386at/kd.h: New constants KAX_REVERSE, KAX_UNDERLINE, 12217: KAX_BLINK, KAX_BOLD, KAX_DIM, KAX_INVISIBLE, KAX_COL_UNDERLINE, 12218: KAX_COL_DIM. 12219: * i386/i386at/kd.c: Increase K_MAXESC to 32. 12220: New global variable color_table to map color values. 12221: New globals kd_color and kd_attrflags. 12222: (kdinit): Initialize these variables. 12223: (kd_update_kd_attr): New function. 12224: (kd_parserest): Redone to support more terminal attributes, 12225: including colors. 12226: 12227: 2001-08-18 Marcus Brinkmann <[email protected]> 12228: 12229: * linux/src/drivers/net/eepro100.c: File updated to version in 12230: Linux 2.2.19. 12231: * linux/src/include/asm-i386/spinlock.h: New file from Linux 2.2.19. 12232: * linux/src/include/asm-i386/hardirq.h: Likewise. 12233: * linux/src/include/linux/spinlock.h: Likewise. 12234: * linux/src/include/linux/compatmac.h: Likewise. 1.1.1.6 root 12235: * linux/dev/drivers/net/eepro100.c: New file, modified version from 12236: the above to glue it in gnumach. 12237: Submitted by Kapil H. Paranjape <[email protected]>. 1.1.1.5 root 12238: 12239: 2001-08-17 Roland McGrath <[email protected]> 12240: 12241: * Makefile.in (clib-routines): Add strchr. 12242: (kernel-undef-bad): Depend on Makefile. 12243: 12244: * Makefile.in ($(srcdir)/configure, $(srcdir)/config.h.in): 12245: Use $(srcdir) in deps. 12246: (Makefile, config.h, config.status): Likewise. 12247: 12248: 2001-07-29 Marcus Brinkmann <[email protected]> 12249: 12250: * NEWS: Add items for this and other changes. 12251: * configure.in: Define MACH_KMSG by default and document this in 12252: the help output. 12253: * configure: Regenerated. 12254: * debian/rules: Do not enable kmsg explicitely. 12255: 12256: 2001-07-18 Marcus Brinkmann <[email protected]> 12257: 12258: * debian/rules: Add -isp to dpkg-gencontrol invocation. 12259: Move documentation to /share/doc. 12260: * debian/changelog: Update. 12261: 12262: 2001-06-28 Marcus Brinkmann <[email protected]> 12263: 12264: * linux/dev/drivers/block/ide.c (lba_capacity_is_ok): Do not 12265: attempt to correct id->cyls, it is a short and for large disks the 12266: number of cylinders necessary would not fit. Subsequent checks 12267: for lba support would fail. 12268: (current_capacity): Likewise for drive->cyl. 12269: (do_identify): Store value returned by current_capacity in 12270: CAPACITY. The check which corrects the number of bios cylinders 12271: is not aggressive enough. Update it with the check in linux 12272: kernel-2.2.19. 12273: 12274: 2001-06-25 Marcus Brinkmann <[email protected]> 12275: 12276: * i386/bogus/fpe.h (FPE): Define FPE to 0, as the floating point 12277: emulation is broken anyway and blows up plex86. 12278: 12279: 2001-06-17 Marcus Brinkmann <[email protected]> 12280: 12281: * debian/rules: Update to current version. 12282: 12283: 2001-06-13 Roland McGrath <[email protected]> 12284: 12285: * linux/dev/glue/block.c (device_get_status: DEV_GET_RECORDS): 12286: Always return 512 for DEV_GET_SIZE_RECORD_SIZE as DEV_GET_SIZE does. 12287: 12288: 2001-05-27 Marcus Brinkmann <[email protected]> 12289: 12290: * debian/rules: Add --enable-ncr53c8xx to configure. 12291: 12292: 1999-10-06 OKUJI Yoshinori <[email protected]> 12293: 12294: * linux/src/drivers/scsi/tmscsiw.c: Removed. 12295: * linux/src/drivers/scsi/tmscsiw.h: Likewise. 12296: * linux/src/drivers/scsi/dc390w.h: Likewise. 12297: * i386/linux/device-drivers.h.in (CONFIG_SCSI_DC390W): Deleted. 12298: * i386/linux/Drivers.in: Remove linux_DRIVER(dc390w, ...). Now 12299: dc390w, dc390u, and dc390f are aliases to ncr53c8xx. 12300: * i386/linux/configure: Regenerated. 12301: * linux/Files: Likewise. 12302: * i386/linux/Makefile.in (linux-scsi-files): Delete tmscsiw.c. 12303: * linux/dev/drivers/scsi/hosts.c: Do not include dc390w.h. 12304: Reported by Andreas Voegele <[email protected]>. 12305: 12306: 2001-05-20 Roland McGrath <[email protected]> 12307: 12308: * kern/sched_prim.c (state_panic): New function, panic with some 12309: info when a thread's state is bogus. 12310: (thread_wakeup_prim): Use that instead of uninformative panic. 12311: (thread_invoke): Likewise. 12312: (thread_dispatch): Likewise. 12313: 12314: 2001-05-12 Marcus Brinkmann <[email protected]> 12315: 12316: * ipc/ipc_object.c (ipc_object_alloc): Remove initialization of 12317: *namep, which was without effect. 12318: 12319: 2001-04-29 Marcus Brinkmann <[email protected]> 12320: 12321: * debian/changelog: New entries for past Debian uploads. 12322: * debian/rules: Disable eatdma driver (breaks AMD K7), do 12323: not enable com, lpr (com is redundant, lpr doesn't work), 12324: move enabling of kmsg in its own line. 12325: * debian/control: Add build dependency on mig and sharutils. 12326: 12327: 2001-04-29 Marcus Brinkmann <[email protected]> 12328: 12329: * device/chario.c: Set number of elements of tthiwat and ttlowat 12330: to NSPEEDS rather than 16. Initialize the two new elements. 12331: (chario_init): Initialize pdma_timeouts and pdma_water_mark for 12332: B57600 and B115200. 12333: 12334: 2001-04-27 Marcus Brinkmann <[email protected]> 12335: 12336: * include/device/tty_status.h: New macros B57600 and B115200, 12337: increase NSPEED accordingly. 12338: * i386/i386at/com.c (divisorreg): New divisor 1. 12339: 12340: 2001-04-04 Roland McGrath <[email protected]> 12341: 12342: * ddb/db_access.h: Fix obsolescent #else/#endif syntax. 12343: * ddb/db_aout.c: Likewise. 12344: * ddb/db_break.c: Likewise. 12345: * ddb/db_break.h: Likewise. 12346: * ddb/db_command.c: Likewise. 12347: * ddb/db_command.h: Likewise. 12348: * ddb/db_cond.c: Likewise. 12349: * ddb/db_examine.c: Likewise. 12350: * ddb/db_expr.c: Likewise. 12351: * ddb/db_ext_symtab.c: Likewise. 12352: * ddb/db_input.c: Likewise. 12353: * ddb/db_lex.c: Likewise. 12354: * ddb/db_macro.c: Likewise. 12355: * ddb/db_mp.c: Likewise. 12356: * ddb/db_output.c: Likewise. 12357: * ddb/db_print.c: Likewise. 12358: * ddb/db_run.c: Likewise. 12359: * ddb/db_sym.c: Likewise. 12360: * ddb/db_task_thread.c: Likewise. 12361: * ddb/db_task_thread.h: Likewise. 12362: * ddb/db_trap.c: Likewise. 12363: * ddb/db_variables.c: Likewise. 12364: * ddb/db_watch.c: Likewise. 12365: * ddb/db_watch.h: Likewise. 12366: * ddb/db_write_cmd.c: Likewise. 12367: * device/dev_pager.c: Likewise. 12368: * device/device_port.h: Likewise. 12369: * device/device_types_kernel.h: Likewise. 12370: * device/ds_routines.h: Likewise. 12371: * device/errno.h: Likewise. 12372: * device/if_ether.h: Likewise. 12373: * device/if_hdr.h: Likewise. 12374: * device/io_req.h: Likewise. 12375: * device/net_io.c: Likewise. 12376: * device/net_io.h: Likewise. 12377: * i386/i386/ast_check.c: Likewise. 12378: * i386/i386/cswitch.S: Likewise. 12379: * i386/i386/db_disasm.c: Likewise. 12380: * i386/i386/db_interface.c: Likewise. 12381: * i386/i386/db_trace.c: Likewise. 12382: * i386/i386/debug.h: Likewise. 12383: * i386/i386/debug_i386.c: Likewise. 12384: * i386/i386/debug_trace.S: Likewise. 12385: * i386/i386/eflags.h: Likewise. 12386: * i386/i386/gdt.h: Likewise. 12387: * i386/i386/hardclock.c: Likewise. 12388: * i386/i386/idt-gen.h: Likewise. 12389: * i386/i386/ipl.h: Likewise. 12390: * i386/i386/ktss.h: Likewise. 12391: * i386/i386/kttd_interface.c: Likewise. 12392: * i386/i386/ldt.h: Likewise. 12393: * i386/i386/lock.h: Likewise. 12394: * i386/i386/locore.S: Likewise. 12395: * i386/i386/mp_desc.h: Likewise. 12396: * i386/i386/pic.c: Likewise. 12397: * i386/i386/pic.h: Likewise. 12398: * i386/i386/pio.h: Likewise. 12399: * i386/i386/pit.h: Likewise. 12400: * i386/i386/seg.h: Likewise. 12401: * i386/i386/thread.h: Likewise. 12402: * i386/i386/trap.c: Likewise. 12403: * i386/i386/trap.h: Likewise. 12404: * i386/i386/vm_param.h: Likewise. 12405: * i386/i386/vm_tuning.h: Likewise. 12406: * i386/i386at/autoconf.c: Likewise. 12407: * i386/i386at/blit.c: Likewise. 12408: * i386/i386at/conf.c: Likewise. 12409: * i386/i386at/fd.c: Likewise. 12410: * i386/i386at/idt.h: Likewise. 12411: * i386/i386at/immc.c: Likewise. 12412: * i386/i386at/kd.c: Likewise. 12413: * i386/i386at/kd_event.c: Likewise. 12414: * i386/i386at/kd_mouse.c: Likewise. 12415: * i386/i386at/model_dep.c: Likewise. 12416: * i386/i386at/rtc.c: Likewise. 12417: * i386/include/mach/i386/asm.h: Likewise. 12418: * i386/include/mach/i386/eflags.h: Likewise. 12419: * i386/include/mach/i386/mach_i386.defs: Likewise. 12420: * i386/include/mach/i386/multiboot.h: Likewise. 12421: * i386/include/mach/i386/trap.h: Likewise. 12422: * i386/include/mach/i386/vm_types.h: Likewise. 12423: * i386/include/mach/sa/stdarg.h: Likewise. 12424: * i386/intel/pmap.c: Likewise. 12425: * i386/intel/pmap.h: Likewise. 12426: * include/alloca.h: Likewise. 12427: * include/device/device_types.defs: Likewise. 12428: * include/device/device_types.h: Likewise. 12429: * include/device/disk_status.h: Likewise. 12430: * include/device/net_status.h: Likewise. 12431: * include/mach/mach.defs: Likewise. 12432: * include/mach/memory_object.defs: Likewise. 12433: * include/mach/std_types.defs: Likewise. 12434: * include/mach_debug/hash_info.h: Likewise. 12435: * include/mach_debug/ipc_info.h: Likewise. 12436: * include/mach_debug/mach_debug.defs: Likewise. 12437: * include/mach_debug/mach_debug_types.defs: Likewise. 12438: * include/mach_debug/mach_debug_types.h: Likewise. 12439: * include/mach_debug/vm_info.h: Likewise. 12440: * include/mach_debug/zone_info.h: Likewise. 12441: * include/sys/ioctl.h: Likewise. 12442: * include/sys/time.h: Likewise. 12443: * ipc/ipc_entry.h: Likewise. 12444: * ipc/ipc_hash.h: Likewise. 12445: * ipc/ipc_init.c: Likewise. 12446: * ipc/ipc_kmsg.c: Likewise. 12447: * ipc/ipc_kmsg.h: Likewise. 12448: * ipc/ipc_marequest.c: Likewise. 12449: * ipc/ipc_marequest.h: Likewise. 12450: * ipc/ipc_mqueue.c: Likewise. 12451: * ipc/ipc_mqueue.h: Likewise. 12452: * ipc/ipc_notify.c: Likewise. 12453: * ipc/ipc_notify.h: Likewise. 12454: * ipc/ipc_object.c: Likewise. 12455: * ipc/ipc_object.h: Likewise. 12456: * ipc/ipc_port.c: Likewise. 12457: * ipc/ipc_port.h: Likewise. 12458: * ipc/ipc_pset.c: Likewise. 12459: * ipc/ipc_pset.h: Likewise. 12460: * ipc/ipc_right.c: Likewise. 12461: * ipc/ipc_right.h: Likewise. 12462: * ipc/ipc_space.c: Likewise. 12463: * ipc/ipc_space.h: Likewise. 12464: * ipc/mach_debug.c: Likewise. 12465: * ipc/mach_msg.c: Likewise. 12466: * ipc/mach_msg.h: Likewise. 12467: * ipc/mach_port.c: Likewise. 12468: * kern/act.c: Likewise. 12469: * kern/assert.h: Likewise. 12470: * kern/ast.c: Likewise. 12471: * kern/ast.h: Likewise. 12472: * kern/bootstrap.c: Likewise. 12473: * kern/counters.c: Likewise. 12474: * kern/counters.h: Likewise. 12475: * kern/debug.h: Likewise. 12476: * kern/exception.c: Likewise. 12477: * kern/host.h: Likewise. 12478: * kern/ipc_host.c: Likewise. 12479: * kern/ipc_host.h: Likewise. 12480: * kern/ipc_kobject.c: Likewise. 12481: * kern/ipc_mig.c: Likewise. 12482: * kern/ipc_tt.c: Likewise. 12483: * kern/ipc_tt.h: Likewise. 12484: * kern/kalloc.h: Likewise. 12485: * kern/lock_mon.c: Likewise. 12486: * kern/mach_clock.c: Likewise. 12487: * kern/mach_factor.c: Likewise. 12488: * kern/mach_param.h: Likewise. 12489: * kern/machine.c: Likewise. 12490: * kern/processor.c: Likewise. 12491: * kern/profile.c: Likewise. 12492: * kern/queue.h: Likewise. 12493: * kern/sched.h: Likewise. 12494: * kern/startup.c: Likewise. 12495: * kern/syscall_emulation.h: Likewise. 12496: * kern/syscall_subr.c: Likewise. 12497: * kern/syscall_subr.h: Likewise. 12498: * kern/syscall_sw.c: Likewise. 12499: * kern/syscall_sw.h: Likewise. 12500: * kern/task.h: Likewise. 12501: * kern/thread_swap.h: Likewise. 12502: * kern/time_out.h: Likewise. 12503: * kern/time_stamp.c: Likewise. 12504: * kern/time_stamp.h: Likewise. 12505: * kern/timer.c: Likewise. 12506: * kern/timer.h: Likewise. 12507: * kern/xpr.c: Likewise. 12508: * kern/xpr.h: Likewise. 12509: * kern/zalloc.c: Likewise. 12510: * kern/zalloc.h: Likewise. 12511: * linux/dev/drivers/block/ide.c: Likewise. 12512: * linux/dev/include/linux/blk.h: Likewise. 12513: * linux/src/include/linux/cdrom.h: Likewise. 12514: * linux/src/include/linux/md.h: Likewise. 12515: * util/cpu.h: Likewise. 12516: * vm/memory_object.c: Likewise. 12517: * vm/memory_object.h: Likewise. 12518: * vm/pmap.h: Likewise. 12519: * vm/vm_debug.c: Likewise. 12520: * vm/vm_external.h: Likewise. 12521: * vm/vm_fault.c: Likewise. 12522: * vm/vm_fault.h: Likewise. 12523: * vm/vm_kern.h: Likewise. 12524: * vm/vm_map.c: Likewise. 12525: * vm/vm_map.h: Likewise. 12526: * vm/vm_object.h: Likewise. 12527: * vm/vm_pageout.c: Likewise. 12528: * vm/vm_pageout.h: Likewise. 12529: * vm/vm_user.h: Likewise. 12530: 12531: 2001-01-28 Roland McGrath <[email protected]> 12532: 12533: * kern/zalloc.c (zalloc): Change panics for exhausted zone to include 12534: the zone name. 12535: 12536: 2001-01-09 Marcus Brinkmann <[email protected]> 12537: 12538: * include/device/device_types.h: New get_status call 12539: DEV_GET_RECORDS to get the number of records of a device (rather 12540: than the number of bytes). Accordingly define 12541: DEV_GET_RECORDS_DEVICE_RECORDS, DEV_GET_RECORDS_RECORD_SIZE and 12542: DEV_GET_RECORDS_COUNT. 12543: 12544: * linux/dev/glue/block.c (device_get_status): Handle 12545: DEV_GET_RECORDS. 12546: 12547: 2000-11-26 David Welch <[email protected]> 12548: 12549: * i386/Makefrag (i386-installed-headers): Removed dead files 12550: from the list of headers to be installed 12551: 12552: 2000-11-26 Marcus Brinkmann <[email protected]> 12553: 12554: * linux/src/drivers/net/tulip.c: Updated to version 12555: from Linux 2.2.17 (I am amazed that 2.2.x drivers work). 12556: Suggested by Jason Henry Parker <[email protected]>. 12557: 12558: 2000-10-29 Roland McGrath <[email protected]> 12559: 12560: Remove numerous dead header files. 12561: Suggested by Igor Khavkine <[email protected]>. 12562: * i386/include/mach/i386/bios.h: Dead file removed. 12563: * i386/include/mach/i386/code16.h: Dead file removed. 12564: * i386/include/mach/i386/debug_reg.h: Dead file removed. 12565: * i386/include/mach/i386/dpmi.h: Dead file removed. 12566: * i386/include/mach/i386/far_ptr.h: Dead file removed. 12567: * i386/include/mach/i386/paging.h: Dead file removed. 12568: * i386/include/mach/i386/pio.h: Dead file removed. 12569: * i386/include/mach/i386/pmode.h: Dead file removed. 12570: * i386/include/mach/i386/proc_reg.h: Dead file removed. 12571: * i386/include/mach/i386/seg.h: Dead file removed. 12572: * i386/include/mach/i386/time_stamp.h: Dead file removed. 12573: * i386/include/mach/i386/tss.h: Dead file removed. 12574: * i386/include/mach/i386/vcpi.h: Dead file removed. 12575: * i386/include/mach/proc_ops.h: Dead file removed. 12576: * i386/include/mach/sa/sys/varargs.h: Dead file removed. 12577: * i386/include/mach/setjmp.h: Dead file removed. 12578: * include/mach/proc_ops.h: Dead file removed. 12579: * Makefile.in (mach-headers): Remove proc_ops.h. 12580: * i386/Makefrag (i386-installed-headers): Likewise. 12581: (installed-headers): Don't touch this any more. 12582: * i386/Files: Update for removed files. 12583: 12584: 2000-09-29 Marcus Brinkmann <[email protected]> 12585: 12586: * i386/i386at/conf.c (dev_name_list): Don't use MACH_COM to check 12587: if com support is enabled, but NCOM, as it used to be. 12588: 12589: 2000-09-24 OKUJI Yoshinori <[email protected]> 12590: 12591: * linux/dev/glue/block.c: Reverted the changes at 2000-08-17. 12592: Reported by Brent Fulgham <[email protected]>. 12593: 12594: 2000-09-19 Marcus Brinkmann <[email protected]> 12595: 12596: * linux/dev/glue/block.c (init_partition): Move initialization 12597: of MASK until it is asserted that gd is non-NULL. 12598: 12599: 2000-08-17 OKUJI Yoshinori <[email protected]> 12600: 12601: * linux/dev/glue/block.c (rdwr_partial): Mask the minor device 12602: number with MINOR_SHIFT bits, when indexing the array of 12603: partitions. Reported by Marius Vollmer <[email protected]>. 12604: (init_partition): Likewise. 12605: (check_limit): Likewise. 12606: (device_get_status): Likewise. 12607: 12608: 2000-07-27 Marcus Brinkmann <[email protected]> 12609: 12610: * Fix omissions in last change: 12611: * linux/src/arch/i386/lib/delay.S: Now really delete the file. 12612: * linux/src/arch/i386/lib/delay.c: Now really add the file. 12613: 12614: 2000-07-04 Marcus Brinkmann <[email protected]> 12615: 12616: * debian/changelog: Add entry for new Debian upload. 1.1.1.6 root 12617: * linux/dev/drivers/scsi/seagate.c (WRITE_CONTROL, WRITE_DATA): 12618: Added from linux 2.2.15. 12619: (__asm__ constructs): Replace with equivalent C code from linux 2.2.15 12620: to support gcc-2.95. 12621: * linux/src/drivers/scsi/in2000.h: Update asm code to linux 2.2.15. 1.1.1.5 root 12622: * linux/src/drivers/scsi/ppa.c: Replace asm code with equivalent 12623: C code from linux 2.2.15. 12624: 12625: 2000-02-06 Stefan Weil <[email protected]> 12626: 12627: * device/subrs.c: Fixed compiler warning. 12628: * ddb/db_output.c, kern/bootstrap.c, kern/debug.c, kern/printf.c: 12629: Replaced varargs.h by stdarg.h. Fixed prototypes (const char *fmt). 12630: * ddb/db_output.h: Use prototype for db_printf. 12631: * i386/Files: removed varargs.h. 12632: * i386/i386/pit.h: Fixed compiler warning. 12633: * i386/i386at/model_dep.c: Tried to fix compiler warning. 12634: * i386/include/mach/sa/sys/varargs.h: Removed. 12635: * i386/linux/Makefile.in: Removed delay.S, added delay.c. 12636: * linux/dev/include/asm-i386/segment.h: Support gcc-2.95. 12637: * linux/dev/include/asm-i386/string.h, 12638: linux/src/include/asm-i386/string.h: Update from linux-2.2.14. 12639: * linux/dev/lib/vsprintf.c: Fixed compiler warning. 12640: * linux/src/include/asm-i386/delay.h: Update from linux-2.2.14. 12641: * linux/src/arch/i386/lib/delay.c: Copy from linux-2.2.14. 12642: * linux/src/include/asm-i386/string.h: Update from linux-2.2.14. 12643: 12644: 1999-10-08 Thomas Bushnell, BSG <[email protected]> 12645: 12646: * linux/src/drivers/net/3c59x.c: Updated to version 0.99L of the 12647: driver from ftp://cesdis.gsfc.nasa.gov/linux/drivers/3c59x.c, in 12648: order to support the 3c509c card, as requested by Jeff Bailey 12649: <[email protected]>. 12650: 12651: 1999-09-17 Thomas Bushnell, BSG <[email protected]> 12652: 12653: * linux/dev/drivers/block/ide.c (do_request) [MACH]: In "bad 12654: access" printf, actually print the number of sectors of the 12655: partition. 12656: 12657: 1999-10-05 Roland McGrath <[email protected]> 12658: 12659: * i386/intel/pmap.c (pmap_bootstrap): Use _start instead of start. 12660: * i386/i386/trap.c (kernel_trap): Likewise. 12661: 12662: 1999-10-04 Roland McGrath <[email protected]> 12663: 12664: * configure.in: Remove AC_CHECK_TOOL(MAKE,...) check. 12665: * Makefile.in (MAKE): Variable removed. We require GNU make anyway, 12666: and it always sets MAKE. 12667: * configure: Regenerated. 12668: 12669: * Makefile.in (clib-routines.o, check-clib-routines, clib-routines.d): 12670: Remove these rules, replace with: 12671: (kernel.o): New target, relocatable object linked from kernel objects. 12672: (kernel-undef, kernel-undef-bad): New targets, glean undefined symbols 12673: from kernel.o. 12674: (clib-routines.o): New target, use those to select symbols from libc. 12675: (clib-routines): Add some symbols; move defn to kernel linking page. 12676: This variable is now a list of symbols allowed to be undefined, 12677: rather than a prescriptive list of symbols always grabbed from libc. 12678: (kernel): Rewrite this rules to just link kernel.o and clib-routines.o 12679: together to make the kernel image. 12680: 12681: 1999-09-15 Mark Kettenis <[email protected]> 12682: 12683: * i386/i386/user_ldt.c: Fix user LDT management. 12684: (i386_set_ldt): Prevent thrashing the LDT for the current thread. 12685: Correctly calculate size of new LDT. Set base adress of the LDT 12686: descriptor to the linear address of the LDT instead of the kernel 12687: virtual address. Copy descriptors from the default LDT if there 12688: is no old LDT for the current thread. Call switch_ktss if we are 12689: setting a new LDT for the current thread. 12690: (i386_get_ldt): Fix bug in copying out the descriptors. 12691: 12692: 1999-09-09 Thomas Bushnell, BSG <[email protected]> 12693: 12694: * linux/src/drivers/net/rtl8139.c (RX_BUF_LEN_IDX): Reduce from 3 12695: to 2. (64K exceeds the limits in linux/dev/glue/kmem.c:kmalloc.) 12696: (rtl8129_open): If we fail to get the memory we need, then free 12697: the IRQ before returning. 12698: Reported by Daniel Kobras <[email protected]>. 12699: 12700: 1999-09-07 Thomas Bushnell, BSG <[email protected]> 12701: 12702: * linux/src/drivers/net/yellowfin.c (yellowfin_probe): Return 12703: correct value. Reported by Marcus Brinkmann 12704: <[email protected]>. 12705: 12706: * linux/dev/drivers/net/Space.c: Declare tc515_probe. Reported by 12707: Marcus Brinkmann <[email protected]>. 12708: 12709: 1999-09-04 Thomas Bushnell, BSG <[email protected]> 12710: 12711: * vm/vm_resident.c (vm_page_grab): Only block unprivileged 12712: allocations over vm_page_external_limit if they are actually 12713: external allocations. Reported by Mark Kettenis 12714: ([email protected]>. 12715: 12716: 1999-08-10 Thomas Bushnell, BSG <[email protected]> 12717: 12718: * i386/i386at/model_dep.c (init_alloc_aligned): Revert previous 12719: change except for the one to AVAIL_NEXT. All the rest of the 12720: previous code was correct. Correction from Momchil Velikov 12721: ([email protected]). 12722: 12723: 1999-07-23 Roland McGrath <[email protected]> 12724: 12725: * Drivers.macros (AC_DRIVER): Use `test' instead of `[ ... ]'. 12726: Reported by "Momchil 'Velco' Velikov" <[email protected]>. 12727: 12728: 1999-07-20 Roland McGrath <[email protected]> 12729: 12730: * linux/dev/drivers/block/genhd.c (check_partition): Change message 12731: to say these are only the DOS partitions. 12732: * i386/linux/dev/include/linux/autoconf.h (CONFIG_BSD_DISKLABEL, 12733: CONFIG_SMD_DISKLABEL): #undef these. The dev/glue/block.c code 12734: deals with BSD disklabels and expects the Linux genhd.c code to 12735: handle only the DOS partitions; having genhd.c do BSD disklabels 12736: too just confuses things. 12737: 12738: Force subdirectory targets so they get recompiled properly. 12739: * i386/Makefile.in (linux/linux.o): Depend on FORCE instead of linux. 12740: (FORCE): New target. 12741: * i386/Makefrag (i386/sysdep.o, FORCE): Likewise. 12742: 12743: 1999-07-11 Thomas Bushnell, BSG <[email protected]> 12744: 12745: * i386/i386at/model_dep.c (init_alloc_aligned): Make the checks 12746: correctly for addresses falling into skip regions. Reported by 12747: Momchil Velikov ([email protected]). 12748: 12749: 1999-07-01 Thomas Bushnell, BSG <[email protected]> 12750: 12751: * i386/linux/Makefile.in: For each .o file in $(linux-objs) 12752: include a corresponding .d file, unless `no_deps' is `t'. 12753: (make-deps): New function. 12754: (%.d): New pattern rules for building %.d from %.c and %.S. 12755: 12756: 1999-06-29 Thomas Bushnell, BSG <[email protected]> 12757: 12758: * vm/vm_resident.c (vm_page_grab): Don't bounce requests when 12759: vm_page_external_count == vm_page_external_limit, so that before 12760: initialization is complete we can still allocate memory without 12761: relying on current_thread. 12762: (vm_page_wait): Also block if we are over the external page 12763: limit. 12764: * vm/vm_pageout.c (vm_pageout_scan): Rewrite the 12765: scan-for-pages-to-pageout loop to not crash when we hit the end of 12766: the inactive queue; instead jump back to the 12767: pause-for-a-little-while code. 12768: 12769: 1999-06-27 Thomas Bushnell, BSG <[email protected]> 12770: 12771: * vm/vm_resident.c (vm_page_external_count): Define variable. 12772: (vm_page_grab): New argument `external'. All callers changed. 12773: Keep track of number of externally managed pages. Don't let 12774: non-privileged threads exceed the externally-managed page limit. 12775: (vm_page_grab_contiguous_pages): New argument `external'. All 12776: callers changed. Keep track of number of externally managed 12777: pages. Don't let non-privileged threads exceed the 12778: externally-managed page limit. 12779: (vm_page_convert): New argument `external', handed off to 12780: vm_page_grab. All callers changed. 12781: (vm_page_release): New argument `external'. All callers 12782: changed. Keep track of number of externally managed pages. 12783: (vm_page_bootstrap): Initialize M->external. 12784: (vm_page_external_limit): Define new variable. 12785: (vm_page_grab_phys_addr, vm_page_alloc): Add new arg for 12786: vm_page_grab. 12787: (vm_page_free): Provide new arg to vm_page_release. 12788: * vm/vm_page.h (vm_page_external_limit, vm_page_external_count): 12789: New variables. 12790: (struct vm_page): New members `external' and `extcounted'. 12791: (vm_page_grab, vm_page_release, vm_page_convert): Specify new 12792: argument. 12793: * vm/vm_pageout.c (vm_pageout): Initialize vm_page_external_limit 12794: and vm_page_external_target. 12795: (VM_PAGE_EXTERNAL_LIMIT, VM_PAGE_EXTERNAL_TARGET): New macro. 12796: (vm_page_external_target): New variable. 12797: (vm_pageout_scan): Regard "too many externally managed pages" as a 12798: reason to keep doing work, but if that's the only reason we're 12799: doing work, then the only thing we do is schedule cleaning of 12800: pages. Help keep track of the number of externally managed pages 12801: that we care about. 12802: * i386/intel/pmap.c (pmap_page_table_page_alloc): Add new arg for 12803: vm_page_grab. 12804: * linux/dev/glue/block.c (alloc_buffer, device_read): Likewise. 12805: * vm/vm_map.c (vm_map_copy_steal_pages): Likewise. 12806: * vm/vm_fault.c (vm_fault_page): Add new args for vm_page_grab and 12807: vm_page_convert. 12808: 12809: * vm/vm_pageout.c (VM_PAGEOUT_BURST_WAIT): Reduce to 10ms/page. 12810: (VM_PAGEOUT_EMPTY_WAIT): Reduce to 75 ms. 12811: (VM_PAGE_FREE_RESERVED): Increase to 50 pages. 12812: (VM_PAGEOUT_RESERVED_INTERNAL): Adjust to `(reserve) - 25'. 12813: (VM_PAGEOUT_RESERVED_REALLY): Adjust to `(reserve) - 40'. 12814: 1.1.1.4 root 12815: 1999-06-21 Thomas Bushnell, BSG <[email protected]> 12816: 12817: * i386/Files: Don't mention i386/pc/Makerules, 12818: i386/include/Makerules, or i386/util/Makerules. 12819: 12820: * Makefile.in (all-real-archs): Delete variable. 12821: (dist): No longer make `machine' symlink. 12822: 12823: * Makefile.in (dist): Sanify file permissions before building tar 1.1.1.5 root 12824: file. 1.1.1.4 root 12825: 12826: * i386/Subdirs: Remove i386/i386at/boot. 12827: 12828: Sun Jun 20 18:33:59 1999 Thomas Bushnell, BSG <[email protected]> 12829: 12830: * version.c (version): Updated to version 1.2. 1.1.1.5 root 12831: 1.1.1.4 root 12832: * i386/Files: Regenerated. 12833: * i386/Subdirs: Regenerated. 1.1.1.5 root 12834: 1.1.1.4 root 12835: * linux/Files: New file. 12836: * linux/Subdirs: New file. 12837: * Makefile.in (all-archs): Add `linux'. 12838: (all-real-archs): New variable. 12839: (dist): Create `machine' symlink only on 12840: $(all-real-archs). 12841: 12842: * Makefile.in (dist): Use `cp' instead of `ln'. 12843: 12844: * config.guess: Updated from autoconf 2.13. 12845: * config.sub: Likewise. 12846: 12847: 1999-06-16 Thomas Bushnell, BSG <[email protected]> 12848: 12849: * linux/dev/drivers/net/Space.c (ethif_probe): Probe tc59x_probe 12850: (CONFIG_VORTEX) after el3_probe (CONFIG_EL3), because the latter 12851: card matches the former probe, but the driver doesn't work with 12852: it. Reported by Marcus Brinkmann <[email protected]>. 12853: 12854: * Drivers.macros (AC_DRIVER): Only turn on driver if $enableval is 12855: not `no'. Reported by Kalle Olavi Niemitalo <[email protected]>. 12856: 12857: 1999-06-15 Thomas Bushnell, BSG <[email protected]> 12858: 12859: * ipc/ipc_init.c (ipc_bootstrap): Don't make the IOT_PORT zone 12860: exhaustible, because allocation of ports for internal objects 12861: panics if zalloc fails. 12862: 12863: 1999-06-07 OKUJI Yoshinori <[email protected]> 12864: 12865: * linux/dev/drivers/block/genhd.c [MACH] (mach_minor): New variable. 12866: (add_bsd_partition): New function. 12867: (bsd_disklabel_partition) [MACH]: Call add_bsd_partition. 12868: (msdos_partition) [MACH]: Set mach_minor to MINOR before 12869: calling bsd_disklabel_partition. 12870: * linux/dev/drivers/block/ide.c (do_request) [MACH]: Fix "bad access" 12871: message. 12872: 12873: 1999-06-02 Roland McGrath <[email protected]> 12874: 12875: * kern/bootstrap.c (build_args_and_stack): If kernel_cmdline is 12876: nonempty, give the bootstrap task an environment variable of 12877: "MULTIBOOT_CMDLINE=kernel command line" on its stack. 12878: 12879: 1999-05-29 Roland McGrath <[email protected]> 12880: 12881: * kern/startup.c (start_kernel_threads): Call record_time_stamp to 12882: reset the kernel task's creation_time field, so it's not zero. 12883: 12884: 1999-05-24 Mark Kettenis <[email protected]> 12885: 12886: * i386/i386/fpu.c (fp_free): Clear task switch flag before calling 12887: fwait. 12888: (fpu_get_state): Only save FPU state info if the live FPU state 12889: belongs to our target, i.e. if THREAD is the current thread. 12890: (fp_load): Print warning if we try to load an invalid FPU state, 12891: and reset the FPU to some sane state instead. 12892: 12893: 1999-05-23 Roland McGrath <[email protected]> 12894: 12895: * kern/task.c (task_info): Allow count for TASK_BASIC_INFO to be less 12896: two words, not just one. The new member creation_time is two words. 12897: 12898: 1999-05-22 Roland McGrath <[email protected]> 12899: 12900: * linux/configure: Regenerated. 12901: 12902: 1999-05-21 Roland McGrath <[email protected]> 12903: 12904: * linux/configure.in: Fix names dummy -> dummy.in in AC_OUTPUT call. 12905: 12906: 1999-05-14 Roland McGrath <[email protected]> 12907: 12908: * i386/linux/Drivers.in (linux_DRIVER): New macro, does AC_DRIVER and 12909: defines alias for Linux module name. Use that for all single-module 12910: Linux drivers, so we don't forget to define any of the aliases for the 12911: Linux module names. 12912: * i386/linux/configure: Regenerated. 12913: 12914: 1999-04-28 OKUJI Yoshinori <okuji@localhost> 12915: 12916: * linux/dev/drivers/block/genhd.c (bsd_disklabel_partition) [MACH]: 12917: Print BSD slices, using Mach device syntax instead of Linux extented 12918: partition syntax. 12919: 12920: 1999-05-01 Mark Kettenis <[email protected]> 12921: 12922: * linux/dev/glue/block.c (device_get_status): Always set 12923: status_count to DEV_GET_STATUS_COUNT if flavor is DEV_GET_SIZE. 12924: 12925: 1999-04-30 Roland McGrath <[email protected]> 12926: 12927: * i386/linux/Drivers.in: Don't create asm-${systype} symlinks here. 12928: * linux/configure.in: New file. Create them here instead. 12929: * linux/dummy.in: New file, used by configure. 12930: * linux/configure: New file (generated by autoconf). 12931: * configure.in: Configure in linux subdir. 12932: * configure: Regenerated. 12933: 12934: * i386/configure.in: Require only autoconf 2.12, not 2.13. 12935: * i386/configure: Regenerated. 12936: 12937: * aclocal.m4 (hurd_SYSTYPE): New macro. 12938: * i386/linux/Drivers.in: Use it. 12939: * i386/linux/configure: Regenerated. 12940: 12941: Wed Apr 28 02:17:51 1999 Thomas Bushnell, BSG <[email protected]> 12942: 12943: * linux/src/drivers/net/3c59x.c: Upgrade to Linux 2.2.1 version. 12944: (vortex_start_xmit): Don't frob VP->stat.tx_bytes. 12945: (boomerang_start_xmit): Likewise. 12946: (vortex_rx): Don't frob VP->stats.rx_bytes. 12947: (boomerang_rx): Likewise. 12948: Requested by Jeff Bailey ([email protected]). 12949: 12950: Mon Apr 26 02:13:02 1999 Thomas Bushnell, BSG <[email protected]> 12951: 12952: * Makefile.in (objfiles): Don't add $(systype)/sysdep.o here. 12953: ($(systype)/sysdep.o): Delete rule. 12954: (clean, distclean, mostlyclean, maintainerclean, install-headers, 12955: install-kernel): Don't do recursive make here. 12956: * i386/Makefrag (objfiles): Add i386/sysdep.o to the list. 12957: (i386/sysdep.o): New rule. 12958: (clean): Depend on i386-clean. 12959: (distclean): Depend on i386-distclean. 12960: (mostlyclean): Depend on i386-mostlyclean. 12961: (maintainerclean): Depend on i386-maintainerclean. 12962: (install-headers): Depend on i386-install-headers. 12963: (install-kernel): Depend on i386-install-kernel. 12964: (i386-clean, i386-distclean, i386-mostlyclean, 12965: i386-maintainerclean, i386-install-kernel, i386-install-headers): 12966: New rules. 12967: 12968: 1999-04-14 OKUJI Yoshinori <[email protected]> 12969: 12970: * version.c (version): Update to 1.1.92. 12971: 12972: Sun Mar 14 18:53:01 1999 Thomas Bushnell, BSG <[email protected]> 12973: 12974: * device/ds_routines.c (ds_read_done): When touching memory to 12975: mark it dirty, make sure we say "volatile" so the compiler doesn't 12976: optimize it out. 12977: 12978: 1999-04-12 OKUJI Yoshinori <[email protected]> 12979: 12980: * i386/linux/Drivers.in: Fix the source paths for `asm' symbolic 12981: links. Reported by KONISHI Toru <[email protected]>. 12982: 12983: * linux/dev/drivers/block/ide.c (init_hwif_data) [MACH]: Print Mach 12984: device name instead of Linux one. 12985: * linux/dev/drivers/block/genhd.c (disk_name): Likewise. 12986: * linux/dev/drivers/scsi/sd.c (sd_init_onedisk): Likewise. 12987: (sd_detect): Likewise. 12988: * linux/dev/drivers/sr.c (sr_detect): Likewise. 12989: (get_sectorsize): Likewise. 12990: 12991: 1999-03-01 OKUJI Yoshinori <[email protected]> 12992: 12993: Version 1.1.91. 12994: 12995: * version.c (version): Update to 1.1.91. 12996: 12997: 1999-03-01 OKUJI Yoshinori <[email protected]> 12998: 12999: * i386/linux/Drivers.in: Fix linking paths. 13000: * i386/linux/Makefile.in: Corrent include paths and fix 13001: Drivers.macros location. 13002: 13003: 1999-02-28 OKUJI Yoshinori <[email protected]> 13004: 13005: * Makefile.in (clean): Don't move device-drivers.h, because it is 13006: not in the top directory any longer. 13007: (distclean): Remove config.cache and config.log. 13008: * i386/Makefile.in (distclean): Remove config.status, config.log 13009: and Makefile. 13010: * i386/linux/Makefile.in (distclean): Remove config.status, 13011: config.log, Makefile and device-drivers.h. 13012: 13013: 1999-02-27 OKUJI Yoshinori <[email protected]> 13014: 13015: * i386/linux/Drivers.in: Don't link dev/include/asm-i386 to 13016: dev/include/asm. Check if directories already exist before 13017: mkdir_p's. Link directories manually, because AC_LINK_FILES 13018: is weak in linking files from non-current directories. 13019: 13020: * i386/i386at/i386at_ds_routines.c: Include 13021: <i386/linux/device-drivers.h> instead of <linux/device-drivers.h>. 13022: * device/ds_routines.c [LINUX_DEV]: Likewise. 13023: * i386/linux/Makefile.in (linux-gen-flags): Fix an extra slash. 13024: (distclean): Remove asm links. 13025: * linux/src/COPYING: Copied from linux-2.0.36. 13026: 13027: 1999-02-27 OKUJI Yoshinori <[email protected]> 13028: 13029: * Makefile.in: Omit to detect if com or lpr is used, and don't use 13030: linux.o. 13031: (objfiles): Add $(systype)/sysdep.o. 13032: (clean): Chain the target to $(systype). 13033: (distclean): Likewise. 13034: (mostlyclean): Likewise. 13035: (maintainer-clean): Likewise. 13036: (install-headers): Likewise. 13037: (install-kernel): Likewise. 13038: * configure.in: AC_CONFIG_SUBDIRS ${systype} instead of linux. 13039: (--disable-linuxdev): Deleted. 13040: (--disable-com): Likewise. 13041: (--enable-lpr): Likewise. 13042: * i386/Makefile.in: New file. 13043: * i386/configure.in: Likewise. 13044: * i386/Makefrag (DEFINES): Add -DLINUX_DEV. 13045: (objfiles): Always add com.o. If MACH_LPR is defined, then add lpr.o. 13046: * linux/Drivers.in: Moved to ... 13047: * i386/linux/Drivers.in: ... here. Include ../../aclocal.m4. 13048: (mkdir_p): New function to create the linux include dirs. 13049: * linux/Makefile.in: Moved to ... 13050: * i386/linux/Makefile.in: ... here, and modify so that paths 13051: are valid. 13052: (clean): New target. 13053: (distclean): Likewise. 13054: (mostlyclean): Likewise. 13055: (maintainer-clean): Likewise. 13056: * linux/src/include/linux/autoconf.h: Removed. 13057: * linux/dev/include/linux/autoconf.h: Moved to ... 13058: * i386/linux/dev/include/linux/autoconf.h: ... here. 13059: * linux/dev/arch/i386/linux_emul.h: Moved to ... 13060: * i386/linux/dev/include/linux_emul.h: ... here. 13061: * linux/device-drivers.h.in: Moved to ... 13062: * i386/linux/device-drivers.h.in: ... here. 13063: * linux/aclocal.m4: Removed. 13064: * linux/configure: Likewise. 13065: 13066: 1999-02-14 Gordon Matzigkeit <[email protected]> 13067: 13068: * Makefile.in (install-kernel): Be sure that $(bootdir) is 13069: created before installing the kernel. 13070: 13071: 1999-02-06 OKUJI Yoshinori <[email protected]> 13072: 13073: * configure.in: Enable com by default, because current kbd and 13074: mouse can't be linked without com. Reported by M. Meiarashi 13075: <[email protected]>. 13076: 13077: 1999-02-05 OKUJI Yoshinori <[email protected]> 13078: 13079: Version 1.1.90. 13080: 13081: * version.c (version): Update to 1.1.90. 13082: 13083: 1999-02-04 OKUJI Yoshinori <[email protected]> 13084: 13085: * device/kmsg.c (kmsginit): Add a missing semicolon. 13086: (kmsggetstat): Fix typos, 13087: DEV_GET_DEVICE_SIZE -> DEV_GET_SIZE_DEVICE_SIZE and 13088: DEV_GET_RECORD_SIZE -> DEV_GET_SIZE_RECORD_SIZE. 13089: (kmsg_putchar): Fix a typo kmsg_done_init -> kmsg_init_done. 13090: * linux/dev/glue/block.c (device_get_status): Allocate a hd_geometry 13091: on the stack. 13092: * linux/dev/drivers/block/ide.c: New file. 13093: * linux/dev/drivers/scsi/sd_ioctl.c: New file. 13094: 13095: 1999-02-02 OKUJI Yoshinori <[email protected]> 13096: 13097: * i386/i386at/kd_event.c (kbdgetstat): Fix a typo 13098: DEV_GET_SIZES -> DEV_GET_SIZE. 13099: * i386/i386at/kd_mouse.c (mousegetstat): Likewise. 13100: * device/kmsg.c (kmsggetstat): Likewise. 13101: 13102: 1999-02-01 OKUJI Yoshinori <[email protected]> 13103: 13104: * linux/dev/glue/block.c (dev_getstat): Fix a missing `struct'. 13105: * device/cons.c (cninit): Don't call kmsginit. 13106: * kmsg.c (kmsg_buffer): Defined as static. 13107: (kmsg_write_offset): Likewise. 13108: (kmsg_read_offset): Likewise. 13109: (kmsg_read_queue): Likewise. 13110: (kmsg_in_use): Likewise. 13111: (kmsg_lock): Likewise. 13112: (kmsginit): Likewise, and call queue_init instead of setting 13113: PREV and NEXT manually. 13114: (kmsg_done_init): New variable. 13115: (kmsg_putchar): Call kmsginit if not initialized yet. 13116: (kmsggetstat): New function. 13117: * kmsg.h (kmsggetstat): Add the prototype. 13118: * i386/i386at/kd_event.c (kbdgetstat): Handle DEV_GET_SIZE. 13119: (kbdread): Check if the amount a user specify is a multiple 13120: of sizeof(kd_event). 13121: * i386/i386at/kd_mouse.c (mousegetstat): New function. 13122: (mouseread): Check if the amount a user specify is a multiple 13123: of sizeof(kd_event). 13124: * i386/i386at/conf.c (dev_name_list): Set the mouse getstat entry 13125: to mousegetstat and the kmsg getstat entry to kmsggetstat. 13126: Use MACH_COM instead of NCOM to determine if com is used. 13127: Use MACH_LPR instead of NLPR to determine if lpr is used. 13128: * configure.in (--enable-com): New option. 13129: (--enable-lpr): Likewise. 13130: * Makefile.in (enable_com): New variable. 13131: (enable_lpr): Likewise. 13132: * i386/Makefrag (i386at-files): Remove com.c. 13133: (objfiles): Add com.o if enable_com is yes, and lpr.o if enable_lpr 13134: is yes. 13135: 13136: Tue Jan 26 21:36:10 1999 Thomas Bushnell, BSG <[email protected]> 13137: 13138: * kern/exception.c (exception_no_server): Correctly comment out 13139: the suspend code. (This should have happened on 17 April 1997, 13140: but apparently I did it backwards.) 13141: 13142: 1999-01-26 OKUJI Yoshinori <[email protected]> 13143: 13144: * device/kmsg.c (kmsgopen): Added simple_lock and simple_unlock. 13145: (ksmgclose): Likewise. 13146: 13147: 1999-01-25 OKUJI Yoshinori <[email protected]> 13148: 13149: * Makefile.in (install-headers): New target for installing only 13150: the headers. 13151: (install-kernel): New target for installing only the kernel. 13152: (mkheaderdirs): New target for making the headers 13153: installation directories. 13154: (mkkerneldirs): New target for making the kernel 13155: installation directory. 13156: (install): Do nothing by itself, but depend on install-kernel 13157: and install-headers. 13158: 13159: 1999-01-24 OKUJI Yoshinori <[email protected]> 13160: 13161: * device/kmsg.h (KMSGBUFSIZE): Deleted. 13162: * device/kmsg.c: Rewritten completely to provide stream interface. 13163: * linux/dev/glue/block.c (device_getstat): Added V_GETPARMS support. 13164: * config.guess: New version from automake-1.4. 13165: * config.sub: Likewise. 13166: * install-sh: Likewise. 13167: 13168: Some changes were merged from gnumach-m68k by 13169: Aymeric Vincent <[email protected]>. 13170: 13171: * Makefile.in (clean): Don't hang if device-drivers.h doesn't exist. 13172: * linux/Makefile.in (CPPFLAGS): Fix a typo. 13173: 13174: 1999-01-16 OKUJI Yoshinori <[email protected]> 13175: 13176: * device/kmsg.c: Fixed the copyright notice. 13177: (MACH_KMSG): Removed. 13178: * Makefile.in (enable_kmsg): New variable. 13179: (objfiles): Add kmsg.o, if and only if enable_kmsg is yes. 13180: 13181: 1999-01-10 OKUJI Yoshinori <[email protected]> 13182: 13183: * i386/i386at/kd.c: Applied a keymap patch. Reported by 13184: Marcus Brinkmann <[email protected]>. 13185: * i386/i386at/kd.h: Likewise. 13186: 13187: 1998-12-30 OKUJI Yoshinori <[email protected]> 13188: 13189: * linux/dev/glue/net.c (dev_alloc_skb): Change the skb arragement. 13190: (dev_kfree_skb): Free only skb. 13191: (device_write): Keep skb elements up-to-date. 13192: 13193: 1998-12-18 OKUJI Yoshinori <[email protected]> 13194: 13195: * Makefile.in (objfiles): Add kmsg.o. 13196: * device/cons.c: Include <device/io_req.h>. 13197: * device/kmsg.c: Rewritten almost entirely. 13198: 13199: 1998-12-06 OKUJI Yoshinori <[email protected]> 13200: 13201: Add kmsg device. 13202: 13203: * Makefile.in (device-files): Add kmsg.c and kmsg.h. 13204: * configure.in (--enable-kmsg): New option. 13205: * device/cons.c: Include kmsg.h. 13206: (cninit): Call kmsginit if MACH_KMSG is defined. 13207: (cnputc): Call kmsg_putchar if MACH_KMSG is defined. 13208: * device/kmsg.c: New file. 13209: * device/kmsg.h: Likewise. 13210: * i386/i386at/conf.c (dev_name_list): Add kmsg entry. 13211: 13212: 1998-12-02 OKUJI Yoshinori <[email protected]> 13213: 13214: * configure.in: Fix linuxdev option handling. 13215: * linux/Drivers.in: Remove linuxdev option and fix linking files. 13216: * linux/Makefile.in: Replace @DEFS@ with -DLINUX_DEV. 13217: * linux/dev/arch/i386/kernel/irq.c: Include missing header files. 13218: * linux/dev/arch/i386/kernel/setup.c: Include <device-drivers.h>. 13219: * linux/dev/glue/kmem.c: Add printf declaration. 13220: * linux/dev/glue/misc.c: Include <linux/types.h>. 13221: * linux/dev/init/main.c: Call linux_sched_init instead of sched_init. 13222: * linux/dev/kernel/sched.c: Add timer_bh declaration. 13223: (tqueue_bh): Fix the argument. 13224: (linux_sched_init): Renamed from sched_init. 13225: 13226: 1998-12-01 OKUJI Yoshinori <[email protected]> 13227: 13228: * i386/i386at/i386at_ds_routines.c: Include <linux/device-drivers.h> 13229: only if LINUX_DEV is defined. Reported by UCHIYAMA Yasushi 13230: <[email protected]>. 13231: * device/ds_routines.c: Likewise. 13232: * configure.in: AC_CONFIG_SUBDIRS(linux) instead of linuxdev. 13233: (--disable-linuxdev): New option. 13234: * linux/Makefile.in (CPPFLAGS): Remove -DLINUX_DEV, and add @DEFS@. 13235: (objfiles): Add linux.o only if LINUX_DEV is defined. 13236: * linux/Drivers.in (--disable-linuxdev): New option. 13237: * i386/Makefrag (DEFINES): Remove -DLINUX_DEV. 13238: 13239: 1998-11-30 OKUJI Yoshinori <[email protected]> 13240: 13241: Clean up linux emulation code to make it architecture-independent 13242: as much as possible. 13243: 13244: * linux: Renamed from linuxdev. 13245: * Makefile.in (objfiles): Add linux.o instead of linuxdev.o. 13246: (MAKE): New variable. Used for the linux.o target. 13247: * configure.in: Add AC_CHECK_TOOL(MAKE, make). 13248: * i386/i386/spl.h: Include <i386/ipl.h>, for compatibility with 13249: OSF Mach 3.0. Suggested by Elgin Lee <[email protected]>. 13250: * linux/src: Renamed from linux/linux. 13251: * linux/dev: Renamed from linux/mach. 13252: * linux/Drivers.in (AC_INIT): Use dev/include/linux/autoconf.h, 13253: instead of mach/include/linux/autoconf.h. 13254: * Makefile.in (all): Target ../linux.o instead of ../linuxdev.o. 13255: * linux/dev/drivers/block/genhd.c: Include <machine/spl.h> instead 13256: of <i386/ipl.h>. 13257: * linux/dev/drivers/net/auto_irq.c: Remove unneeded header files, 13258: <i386/ipl.h> and <i386/pic.h>. 13259: * linux/dev/init/main.c: Many i386-dependent codes moved to ... 13260: * linux/dev/arch/i386/irq.c: ... here. 13261: * linux/dev/arch/i386/setup.c: New file. 13262: * linux/dev/arch/i386/linux_emul.h: Likewise. 13263: * linux/dev/arch/i386/glue/timer.c: Merged into sched.c. 13264: * linux/dev/arch/i386/glue/sched.c: Include <machine/spl.h> instead 13265: of <i386/ipl.h>, and moved to ... 13266: * linux/dev/kernel/sched.c: ... here. 13267: * linux/dev/arch/i386/glue/block.c: Include <machine/spl.h> and 13268: <linux_emul.h>, instead of i386-dependent header files, and 13269: moved to ... 13270: * linux/dev/glue/blocl.c: ... here. 13271: * linux/dev/arch/i386/glue/net.c: Include <machine/spl.h> and 13272: <linux_emul.h>, instead of i386-dependent header files, and 13273: moved to ... 13274: * linux/dev/glue/net.c: ... here. 13275: * linux/dev/arch/i386/glue/misc.c: Remove `x86' and moved to ... 13276: * linux/dev/glue/misc.c: ... here. 13277: * linux/dev/arch/i386/glue/kmem.c: Moved to ... 13278: * linux/dev/glue/kmem.c: ... here. 13279: 13280: 1998-11-25 OKUJI Yoshinori <[email protected]> 13281: 13282: * linuxdev/mach/init/main.c (linux_init): Call reserve_mach_irqs. 13283: * linuxdev/mach/arch/i386/kernel/irq.c (probe_irq_on): Fix ivect 13284: mishandling. 13285: (probe_irq_off): Disable unnecessary IRQs. Reported by 13286: UCHIYAMA Yasushi <[email protected]>. 13287: (reserve_mach_irqs): New function. 13288: 13289: 1998-11-24 OKUJI Yoshinori <[email protected]> 13290: 13291: * linuxdev/arch/i386/linux_init.c (linux_init): Check ivect 13292: before set linux_bad_intr. 13293: * linuxdev/arch/i386/linux_irq.c (probe_irq_on): Allocate only 13294: if ivect is null, and set linux_intr_pri to intpri. 13295: 13296: * linuxdev: Heavily changed. It becomes more Linux-like file 13297: hierarchy as suggested by Roland McGrath <[email protected]>. 13298: * linuxdev/linux: Contain original Linux source files. 13299: * linuxdev/mach: Contain modified source files for Mach. 13300: * linuxdev/mach/arch/i386/glue: XXX Contain files that are 13301: not easy to segregate. 13302: * Makefile.in: Call `make -C linuxdev all', instead of include 13303: linuxdev/Makefrag. 13304: 13305: 1998-11-23 OKUJI Yoshinori <[email protected]> 13306: 13307: * linuxdev/arch/i386/linux_irq.c (linux_bad_intr): New function. 13308: (free_irq): Set linux_bad_intr into ivect[irq]. 13309: * linuxdev/arch/i386/linux_init.c (linux_init): 13310: Set linux_bad_intr as the default interrupt handler. 13311: 13312: * linuxdev/include/asm-i386/string.h (strstr): Fix the 13313: egcs/gcc 2.8.x bug and a linkage problem. Reported by 13314: Roland McGrath <[email protected]>. 13315: 13316: 1998-11-18 OKUJI Yoshinori <[email protected]> 13317: 13318: * linuxdev/Drivers.in: Fix a typo. 13319: * linuxdev/Makefrag: Likewise. 13320: * linuxdev/arch/i386/linux_block.c (set_blocksize): Likewise. 13321: 13322: * linuxdev/arch/i386/linux_kmem.c (vfree): Cast void * to 13323: vm_offset_t. 13324: * linuxdev/drivers/net/wavelan.p.h: Include 13325: <linuxdev/drivers/net/i82586.h>, instead of <drivers/net/i82586.h>. 13326: * linuxdev/drivers/scsi/aha152x.c: Define AUTOCONF. 13327: * linuxdev/configure: Regenerate. 13328: 13329: 1998-11-17 OKUJI Yoshinori <[email protected]> 13330: 13331: * linuxdev/arch/i386/linux_misc.c (strstr): New function. 13332: Because inline version strstr is not used when use 13333: egcs/gcc 2.8.x. Reported by UCHIYAMA Yasushi <[email protected]>. 13334: 13335: * linuxdev/arch/i386/linux_irq.c (unmask_irq): Fix a typo. 13336: 13337: 1998-11-17 OKUJI Yoshinori <[email protected]> 13338: 13339: * i386/README-Drivers: Update to Linux 2.0.36 device drivers. 13340: * linuxdev/Drivers.in: Likewise. 13341: * linuxdev/Makefrag: Likewise. 13342: * linuxdev/arch/i386/linux_lib.S: Likewise. 13343: * linuxdev/device-drivers.h.in: Likewise. 13344: * linuxdev/drivers/block/floppy.c: Likewise. 13345: * linuxdev/drivers/block/ide.c: Likewise. 13346: * linuxdev/drivers/block/ide.h: Likewise. 13347: * linuxdev/drivers/net/3c505.h: Likewise. 13348: * linuxdev/drivers/net/3c509.c: Likewise. 13349: * linuxdev/drivers/net/3c515.c: Likewise. 13350: * linuxdev/drivers/net/3c59x.c: Likewise. 13351: * linuxdev/drivers/net/Space.c: Likewise. 13352: * linuxdev/drivers/net/apricot.c: Likewise. 13353: * linuxdev/drivers/net/de4x5.c: Likewise. 13354: * linuxdev/drivers/net/eepro.c: Likewise. 13355: * linuxdev/drivers/net/eepro100.c: Likewise. 13356: * linuxdev/drivers/net/eexpress.c: Likewise. 13357: * linuxdev/drivers/net/epic100.c: Likewise. 13358: * linuxdev/drivers/net/eth16i.c: Likewise. 13359: * linuxdev/drivers/net/hp100.c: Likewise. 13360: * linuxdev/drivers/net/lance.c: Likewise. 13361: * linuxdev/drivers/net/ne2k-pci.c: Likewise. 13362: * linuxdev/drivers/net/pcnet32.c: Likewise. 13363: * linuxdev/drivers/net/rtl8139.c: Likewise. 13364: * linuxdev/drivers/net/tlan.c: Likewise. 13365: * linuxdev/drivers/net/tulip.c: Likewise. 13366: * linuxdev/drivers/net/wavelan.c: Likewise. 13367: * linuxdev/drivers/pci/pci.c: Likewise. 13368: * linuxdev/drivers/scsi/BusLogic.c: Likewise. 13369: * linuxdev/drivers/scsi/FlashPoint.c: Likewise. 13370: * linuxdev/drivers/scsi/aha152x.c: Likewise. 13371: * linuxdev/drivers/scsi/aha1542.c: Likewise. 13372: * linuxdev/drivers/scsi/aic7xxx/sequencer.h: Likewise. 13373: * linuxdev/drivers/scsi/aic7xxx.c: Likewise. 13374: * linuxdev/drivers/scsi/aic7xxx_proc.c: Likewise. 13375: * linuxdev/drivers/scsi/aic7xxx_reg.h: Likewise. 13376: * linuxdev/drivers/scsi/dtc.c: Likewise. 13377: * linuxdev/drivers/scsi/eata.c: Likewise. 13378: * linuxdev/drivers/scsi/eata.h: Likewise. 13379: * linuxdev/drivers/scsi/eata_dma.c: Likewise. 13380: * linuxdev/drivers/scsi/gdth.c: Likewise. 13381: * linuxdev/drivers/scsi/gdth.h: Likewise. 13382: * linuxdev/drivers/scsi/gdth_proc.c: Likewise. 13383: * linuxdev/drivers/scsi/gdth_proc.h: Likewise. 13384: * linuxdev/drivers/scsi/hosts.c: Likewise. 13385: * linuxdev/drivers/scsi/in2000.c: Likewise. 13386: * linuxdev/drivers/scsi/in2000.h: Likewise. 13387: * linuxdev/drivers/scsi/ncr53c8xx.c: Likewise. 13388: * linuxdev/drivers/scsi/ppa.h: Likewise. 13389: * linuxdev/drivers/scsi/scsi.c: Likewise. 13390: * linuxdev/drivers/scsi/scsicam.c: Likewise. 13391: * linuxdev/drivers/scsi/sd.c: Likewise. 13392: * linuxdev/drivers/scsi/seagate.c: Likewise. 13393: * linuxdev/drivers/scsi/u14-34f.c: Likewise. 13394: * linuxdev/drivers/scsi/u14-34f.h: Likewise. 13395: * linuxdev/drivers/scsi/wd7000.c: Likewise. 13396: * linuxdev/drivers/scsi/wd7000.h: Likewise. 13397: * linuxdev/include/asm-i386/irq.h: Likewise. 13398: * linuxdev/include/asm-i386/processor.h: Likewise. 13399: * linuxdev/include/asm-i386/ptrace.h: Likewise. 13400: * linuxdev/include/asm-i386/system.h: Likewise. 13401: * linuxdev/include/asm-i386/unistd.h: Likewise. 13402: * linuxdev/include/linux/fs.h: Likewise. 13403: * linuxdev/include/linux/genhd.h: Likewise. 13404: * linuxdev/include/linux/interrupt.h: Likewise. 13405: * linuxdev/include/linux/ip.h: Likewise. 13406: * linuxdev/include/linux/pci.h: Likewise. 13407: * linuxdev/include/linux/version.h: Likewise. 13408: * linuxdev/include/linux/wireless.h: Likewise. 13409: 13410: * linuxdev/drivers/net/via-rhine.c: New file. 13411: * linuxdev/drivers/scsi/aic7xxx_seq.c: Likewise. 13412: * linuxdev/include/linux/rose.h: Likewise. 13413: 13414: * linuxdev/drivers/scsi/aic7xxx_seq.h: Removed. 13415: * linuxdev/configure: Regenerate. 13416: * linuxdev/include/asm-i386/string.h: Fix the egcs/gcc 2.8.x problem, 13417: according to http://www.suse.de/~florian/kernel+egcs.html. 13418: 13419: 1998-11-14 OKUJI Yoshinori <[email protected]> 13420: 13421: * Makefile.in (clib-routines.o): Add -L option to search libc.a. 13422: Reported by TAKEUCHI Yoji <[email protected]>. 13423: 13424: * linuxdev/drivers/pci/bios32.c: Moved to ... 13425: * linuxdev/arch/i386/linux_bios32.c: ... here. Because it is 13426: i386-specific code. 13427: * linuxdev/include/asm: Moved to ... 13428: * linuxdev/include/asm-i386: ... here. 13429: 13430: * i386/README-Drivers: Update to Linux 2.0.35 device drivers. 13431: * linuxdev/Drivers.in: Likewise. 13432: * linuxdev/configure: Likewise. 13433: * linuxdev/device-drivers.h.in: Likewise. 13434: * linuxdev/Makefrag: Likewise. 13435: * linuxdev/arch/i386/linux_autoirq.c: Likewise. 13436: * linuxdev/arch/i386/linux_block.c: Likewise. 13437: * linuxdev/arch/i386/linux_dma.c: Likewise. 13438: * linuxdev/arch/i386/linux_init.c: Likewise. 13439: * linuxdev/arch/i386/linux_irq.c: Likewise. 13440: * linuxdev/arch/i386/linux_kmem.c: Likewise. 13441: * linuxdev/arch/i386/linux_misc.c: Likewise. 13442: * linuxdev/arch/i386/linux_net.c: Likewise. 13443: * linuxdev/arch/i386/linux_port.c: Likewise. 13444: * linuxdev/arch/i386/linux_printk.c: Likewise. 13445: * linuxdev/arch/i386/linux_sched.c: Likewise. 13446: * linuxdev/arch/i386/linux_timer.c: Likewise. 13447: * linuxdev/arch/i386/linux_version.c: Likewise. 13448: * linuxdev/arch/i386/linux_vsprintf.c: Likewise. 13449: * linuxdev/drivers/block/cmd640.c: Likewise. 13450: * linuxdev/drivers/block/floppy.c: Likewise. 13451: * linuxdev/drivers/block/genhd.c: Likewise. 13452: * linuxdev/drivers/block/ide-cd.c: Likewise. 13453: * linuxdev/drivers/block/ide.c: Likewise. 13454: * linuxdev/drivers/block/ide.h: Likewise. 13455: * linuxdev/drivers/block/ide_modes.h: Likewise. 13456: * linuxdev/drivers/block/rz1000.c: Likewise. 13457: * linuxdev/drivers/block/triton.c: Likewise. 13458: * linuxdev/drivers/net/3c501.c: Likewise. 13459: * linuxdev/drivers/net/3c503.c: Likewise. 13460: * linuxdev/drivers/net/3c505.c: Likewise. 13461: * linuxdev/drivers/net/3c507.c: Likewise. 13462: * linuxdev/drivers/net/3c509.c: Likewise. 13463: * linuxdev/drivers/net/3c59x.c: Likewise. 13464: * linuxdev/drivers/net/8390.c: Likewise. 13465: * linuxdev/drivers/net/8390.h: Likewise. 13466: * linuxdev/drivers/net/Space.c: Likewise. 13467: * linuxdev/drivers/net/ac3200.c: Likewise. 13468: * linuxdev/drivers/net/apricot.c: Likewise. 13469: * linuxdev/drivers/net/at1700.c: Likewise. 13470: * linuxdev/drivers/net/atp.c: Likewise. 13471: * linuxdev/drivers/net/atp.h: Likewise. 13472: * linuxdev/drivers/net/de4x5.c: Likewise. 13473: * linuxdev/drivers/net/de4x5.h: Likewise. 13474: * linuxdev/drivers/net/de600.c: Likewise. 13475: * linuxdev/drivers/net/de620.c: Likewise. 13476: * linuxdev/drivers/net/depca.c: Likewise. 13477: * linuxdev/drivers/net/dev.c: Likewise. 13478: * linuxdev/drivers/net/e2100.c: Likewise. 13479: * linuxdev/drivers/net/eepro.c: Likewise. 13480: * linuxdev/drivers/net/eepro100.c: Likewise. 13481: * linuxdev/drivers/net/eexpress.c: Likewise. 13482: * linuxdev/drivers/net/eth16i.c: Likewise. 13483: * linuxdev/drivers/net/ewrk3.c: Likewise. 13484: * linuxdev/drivers/net/ewrk3.h: Likewise. 13485: * linuxdev/drivers/net/hp-plus.c: Likewise. 13486: * linuxdev/drivers/net/hp.c: Likewise. 13487: * linuxdev/drivers/net/hp100.c: Likewise. 13488: * linuxdev/drivers/net/hp100.h: Likewise. 13489: * linuxdev/drivers/net/i82586.h: Likewise. 13490: * linuxdev/drivers/net/lance.c: Likewise. 13491: * linuxdev/drivers/net/ne.c: Likewise. 13492: * linuxdev/drivers/net/net_init.c: Likewise. 13493: * linuxdev/drivers/net/ni52.c: Likewise. 13494: * linuxdev/drivers/net/ni52.h: Likewise. 13495: * linuxdev/drivers/net/ni65.c: Likewise. 13496: * linuxdev/drivers/net/ni65.h: Likewise. 13497: * linuxdev/drivers/net/seeq8005.c: Likewise. 13498: * linuxdev/drivers/net/seeq8005.h: Likewise. 13499: * linuxdev/drivers/net/sk_g16.c: Likewise. 13500: * linuxdev/drivers/net/sk_g16.h: Likewise. 13501: * linuxdev/drivers/net/smc-ultra.c: Likewise. 13502: * linuxdev/drivers/net/tulip.c: Likewise. 13503: * linuxdev/drivers/net/wavelan.c: Likewise. 13504: * linuxdev/drivers/net/wavelan.h: Likewise. 13505: * linuxdev/drivers/net/wd.c: Likewise. 13506: * linuxdev/drivers/net/znet.c: Likewise. 13507: * linuxdev/drivers/pci/pci.c: Likewise. 13508: * linuxdev/drivers/scsi/53c7,8xx.h: Likewise. 13509: * linuxdev/drivers/scsi/53c78xx.c: Likewise. 13510: * linuxdev/drivers/scsi/53c8xx_d.h: Likewise. 13511: * linuxdev/drivers/scsi/AM53C974.c: Likewise. 13512: * linuxdev/drivers/scsi/AM53C974.h: Likewise. 13513: * linuxdev/drivers/scsi/BusLogic.c: Likewise. 13514: * linuxdev/drivers/scsi/BusLogic.h: Likewise. 13515: * linuxdev/drivers/scsi/NCR53c406a.c: Likewise. 13516: * linuxdev/drivers/scsi/NCR53c406a.h: Likewise. 13517: * linuxdev/drivers/scsi/advansys.c: Likewise. 13518: * linuxdev/drivers/scsi/advansys.h: Likewise. 13519: * linuxdev/drivers/scsi/aha152x.c: Likewise. 13520: * linuxdev/drivers/scsi/aha152x.h: Likewise. 13521: * linuxdev/drivers/scsi/aha1542.c: Likewise. 13522: * linuxdev/drivers/scsi/aha1542.h: Likewise. 13523: * linuxdev/drivers/scsi/aha1740.c: Likewise. 13524: * linuxdev/drivers/scsi/aha1740.h: Likewise. 13525: * linuxdev/drivers/scsi/aic7xxx.c: Likewise. 13526: * linuxdev/drivers/scsi/aic7xxx.h: Likewise. 13527: * linuxdev/drivers/scsi/aic7xxx_seq.h: Likewise. 13528: * linuxdev/drivers/scsi/constants.h: Likewise. 13529: * linuxdev/drivers/scsi/eata.c: Likewise. 13530: * linuxdev/drivers/scsi/eata.h: Likewise. 13531: * linuxdev/drivers/scsi/eata_dma.c: Likewise. 13532: * linuxdev/drivers/scsi/eata_dma.h: Likewise. 13533: * linuxdev/drivers/scsi/eata_generic.h: Likewise. 13534: * linuxdev/drivers/scsi/eata_pio.c: Likewise. 13535: * linuxdev/drivers/scsi/eata_pio.h: Likewise. 13536: * linuxdev/drivers/scsi/fdomain.c: Likewise. 13537: * linuxdev/drivers/scsi/fdomain.h: Likewise. 13538: * linuxdev/drivers/scsi/g_NCR5380.c: Likewise. 13539: * linuxdev/drivers/scsi/g_NCR5380.h: Likewise. 13540: * linuxdev/drivers/scsi/hosts.c: Likewise. 13541: * linuxdev/drivers/scsi/hosts.h: Likewise. 13542: * linuxdev/drivers/scsi/in2000.c: Likewise. 13543: * linuxdev/drivers/scsi/in2000.h: Likewise. 13544: * linuxdev/drivers/scsi/pas16.c: Likewise. 13545: * linuxdev/drivers/scsi/pas16.h: Likewise. 13546: * linuxdev/drivers/scsi/scsi.c: Likewise. 13547: * linuxdev/drivers/scsi/scsi.h: Likewise. 13548: * linuxdev/drivers/scsi/scsi_ioctl.c: Likewise. 13549: * linuxdev/drivers/scsi/scsi_proc.c: Likewise. 13550: * linuxdev/drivers/scsi/scsicam.c: Likewise. 13551: * linuxdev/drivers/scsi/sd.c: Likewise. 13552: * linuxdev/drivers/scsi/sd.h: Likewise. 13553: * linuxdev/drivers/scsi/sd_ioctl.c: Likewise. 13554: * linuxdev/drivers/scsi/seagate.c: Likewise. 13555: * linuxdev/drivers/scsi/seagate.h: Likewise. 13556: * linuxdev/drivers/scsi/sr.c: Likewise. 13557: * linuxdev/drivers/scsi/sr_ioctl.c: Likewise. 13558: * linuxdev/drivers/scsi/t128.c: Likewise. 13559: * linuxdev/drivers/scsi/t128.h: Likewise. 13560: * linuxdev/drivers/scsi/u14-34f.c: Likewise. 13561: * linuxdev/drivers/scsi/u14-34f.h: Likewise. 13562: * linuxdev/drivers/scsi/ultrastor.c: Likewise. 13563: * linuxdev/drivers/scsi/ultrastor.h: Likewise. 13564: * linuxdev/drivers/scsi/wd7000.c: Likewise. 13565: * linuxdev/drivers/scsi/wd7000.h: Likewise. 13566: * linuxdev/include/asm-i386/bitops.h: Likewise. 13567: * linuxdev/include/asm-i386/delay.h: Likewise. 13568: * linuxdev/include/asm-i386/dma.h: Likewise. 13569: * linuxdev/include/asm-i386/errno.h: Likewise. 13570: * linuxdev/include/asm-i386/fcntl.h: Likewise. 13571: * linuxdev/include/asm-i386/floppy.h: Likewise. 13572: * linuxdev/include/asm-i386/ioctl.h: Likewise. 13573: * linuxdev/include/asm-i386/floppy.h: Likewise. 13574: * linuxdev/include/asm-i386/irq.h: Likewise. 13575: * linuxdev/include/asm-i386/processor.h: Likewise. 13576: * linuxdev/include/asm-i386/ptrace.h: Likewise. 13577: * linuxdev/include/asm-i386/resource.h: Likewise. 13578: * linuxdev/include/asm-i386/segment.h: Likewise. 13579: * linuxdev/include/asm-i386/sigcontext.h: Likewise. 13580: * linuxdev/include/asm-i386/signal.h: Likewise. 13581: * linuxdev/include/asm-i386/socket.h: Likewise. 13582: * linuxdev/include/asm-i386/statfs.h: Likewise. 13583: * linuxdev/include/asm-i386/string.h: Likewise. 13584: * linuxdev/include/asm-i386/system.h: Likewise. 13585: * linuxdev/include/asm-i386/termios.h: Likewise. 13586: * linuxdev/include/asm-i386/types.h: Likewise. 13587: * linuxdev/include/asm-i386/unistd.h: Likewise. 13588: * linuxdev/include/linux/autoconf.h: Likewise. 13589: * linuxdev/include/linux/binfmts.h: Likewise. 13590: * linuxdev/include/linux/bios32.h: Likewise. 13591: * linuxdev/include/linux/blk.h: Likewise. 13592: * linuxdev/include/linux/blkdev.h: Likewise. 13593: * linuxdev/include/linux/cdrom.h: Likewise. 13594: * linuxdev/include/linux/config.h: Likewise. 13595: * linuxdev/include/linux/etherdevice.h: Likewise. 13596: * linuxdev/include/linux/fd.h: Likewise. 13597: * linuxdev/include/linux/fdreg.h: Likewise. 13598: * linuxdev/include/linux/fs.h: Likewise. 13599: * linuxdev/include/linux/genhd.h: Likewise. 13600: * linuxdev/include/linux/hdreg.h: Likewise. 13601: * linuxdev/include/linux/if.h: Likewise. 13602: * linuxdev/include/linux/if_arp.h: Likewise. 13603: * linuxdev/include/linux/if_ether.h: Likewise. 13604: * linuxdev/include/linux/if_tr.h: Likewise. 13605: * linuxdev/include/linux/igmp.h: Likewise. 13606: * linuxdev/include/linux/in.h: Likewise. 13607: * linuxdev/include/linux/inet.h: Likewise. 13608: * linuxdev/include/linux/interrupt.h: Likewise. 13609: * linuxdev/include/linux/ioport.h: Likewise. 13610: * linuxdev/include/linux/ip.h: Likewise. 13611: * linuxdev/include/linux/kernel.h: Likewise. 13612: * linuxdev/include/linux/locks.h: Likewise. 13613: * linuxdev/include/linux/major.h: Likewise. 13614: * linuxdev/include/linux/malloc.h: Likewise. 13615: * linuxdev/include/linux/mc146818rtc.h: Likewise. 13616: * linuxdev/include/linux/mm.h: Likewise. 13617: * linuxdev/include/linux/module.h: Likewise. 13618: * linuxdev/include/linux/mount.h: Likewise. 13619: * linuxdev/include/linux/net.h: Likewise. 13620: * linuxdev/include/linux/netdevice.h: Likewise. 13621: * linuxdev/include/linux/nfs.h: Likewise. 13622: * linuxdev/include/linux/notifier.h: Likewise. 13623: * linuxdev/include/linux/pagemap.h: Likewise. 13624: * linuxdev/include/linux/pci.h: Likewise. 13625: * linuxdev/include/linux/personality.h: Likewise. 13626: * linuxdev/include/linux/proc_fs.h: Likewise. 13627: * linuxdev/include/linux/quota.h: Likewise. 13628: * linuxdev/include/linux/route.h: Likewise. 13629: * linuxdev/include/linux/sched.h: Likewise. 13630: * linuxdev/include/linux/skbuff.h: Likewise. 13631: * linuxdev/include/linux/socket.h: Likewise. 13632: * linuxdev/include/linux/sockios.h: Likewise. 13633: * linuxdev/include/linux/string.h: Likewise. 13634: * linuxdev/include/linux/time.h: Likewise. 13635: * linuxdev/include/linux/timer.h: Likewise. 13636: * linuxdev/include/linux/tqueue.h: Likewise. 13637: * linuxdev/include/linux/tty.h: Likewise. 13638: * linuxdev/include/linux/types.h: Likewise. 13639: * linuxdev/include/linux/uio.h: Likewise. 13640: * linuxdev/include/linux/version.h: Likewise. 13641: * linuxdev/include/linux/wait.h: Likewise. 13642: * linuxdev/include/net/af_unix.h: Likewise. 13643: * linuxdev/include/net/ax25.h: Likewise. 13644: * linuxdev/include/net/ax25call.h: Likewise. 13645: * linuxdev/include/net/icmp.h: Likewise. 13646: * linuxdev/include/net/ip.h: Likewise. 13647: * linuxdev/include/net/ip_alias.h: Likewise. 13648: * linuxdev/include/net/ip_forward.h: Likewise. 13649: * linuxdev/include/net/ipx.h: Likewise. 13650: * linuxdev/include/net/netlink.h: Likewise. 13651: * linuxdev/include/net/netrom.h: Likewise. 13652: * linuxdev/include/net/nrcall.h: Likewise. 13653: * linuxdev/include/net/p8022.h: Likewise. 13654: * linuxdev/include/net/protocol.h: Likewise. 13655: * linuxdev/include/net/psnap.h: Likewise. 13656: * linuxdev/include/net/raw.h: Likewise. 13657: * linuxdev/include/net/route.h: Likewise. 13658: * linuxdev/include/net/sock.h: Likewise. 13659: * linuxdev/include/net/tcp.h: Likewise. 13660: * linuxdev/include/net/udp.h: Likewise. 13661: 13662: * linuxdev/arch/i386/linux_soft.c: Removed. 13663: * linuxdev/drivers/scsi/NCR5380.src: Likewise. 13664: * linuxdev/drivers/scsi/aic7xxx_proc.src: Likewise. 13665: * linuxdev/drivers/scsi/aic7xxx_reg.h: Likewise. 13666: * linuxdev/drivers/scsi/eata_dma_proc.src: Likewise. 13667: * linuxdev/drivers/scsi/eata_pio_proc.src: Likewise. 13668: * linuxdev/drivers/scsi/qlogic.c: Likewise. 13669: * linuxdev/drivers/scsi/qlogic.h: Likewise. 13670: * linuxdev/drivers/scsi/scsi_debug.c: Likewise. 13671: * linuxdev/drivers/scsi/scsi_debug.h: Likewise. 13672: * linuxdev/drivers/scsi/scsi_ioctl.h: Likewise. 13673: * linuxdev/include/linux/math_emu.h: Likewise. 13674: * linuxdev/include/linux/minix_fs.h: Likewise. 13675: * linuxdev/include/linux/minix_fs_sb.h: Likewise. 13676: * linuxdev/include/linux/scsi.h: Likewise. 13677: * linuxdev/include/linux/scsicam.h: Likewise. 13678: * linuxdev/include/linux/vm86.h: Likewise. 13679: 13680: * linuxdev/arch/i386/linux_ctype.c: New file. 13681: * linuxdev/arch/i386/linux_lib.S: Likewise. 13682: * linuxdev/arch/i386/linux_softirq.c: Likewise. 13683: * linuxdev/drivers/net/3c515.c: Likewise. 13684: * linuxdev/drivers/net/epic100.c: Likewise. 13685: * linuxdev/drivers/net/eth82586.h: Likewise. 13686: * linuxdev/drivers/net/fmv18x.c: Likewise. 13687: * linuxdev/drivers/net/ne2k-pci.c: Likewise. 13688: * linuxdev/drivers/net/pcnet32.c: Likewise. 13689: * linuxdev/drivers/net/rtl8139.c: Likewise. 13690: * linuxdev/drivers/net/smc-ultra32.c: Likewise. 13691: * linuxdev/drivers/net/smc9194.c: Likewise. 13692: * linuxdev/drivers/net/smc9194.h: Likewise. 13693: * linuxdev/drivers/net/tlan.c: Likewise. 13694: * linuxdev/drivers/net/tlan.h: Likewise. 13695: * linuxdev/drivers/net/wavelan.p.h: Likewise. 13696: * linuxdev/drivers/net/yellowfin.c: Likewise. 13697: * linuxdev/drivers/scsi/FlashPoint.c: Likewise. 13698: * linuxdev/drivers/scsi/NCR5380.c: Likewise. 13699: * linuxdev/drivers/scsi/NCR5380.h: Likewise. 13700: * linuxdev/drivers/scsi/aic7xxx/scsi_message.h: Likewise. 13701: * linuxdev/drivers/scsi/aic7xxx/sequencer.h: Likewise. 13702: * linuxdev/drivers/scsi/aic7xxx_proc.c: Likewise. 13703: * linuxdev/drivers/scsi/dc390.h: Likewise. 13704: * linuxdev/drivers/scsi/dc390w.h: Likewise. 13705: * linuxdev/drivers/scsi/dtc.c: Likewise. 13706: * linuxdev/drivers/scsi/dtc.h: Likewise. 13707: * linuxdev/drivers/scsi/eata_dma_proc.c: Likewise. 13708: * linuxdev/drivers/scsi/eata_pio_proc.c: Likewise. 13709: * linuxdev/drivers/scsi/gdth.c: Likewise. 13710: * linuxdev/drivers/scsi/gdth.h: Likewise. 13711: * linuxdev/drivers/scsi/gdth_ioctl.h: Likewise. 13712: * linuxdev/drivers/scsi/gdth_proc.c: Likewise. 13713: * linuxdev/drivers/scsi/gdth_proc.h: Likewise. 13714: * linuxdev/drivers/scsi/ncr53c8xx.c: Likewise. 13715: * linuxdev/drivers/scsi/ncr53c8xx.h: Likewise. 13716: * linuxdev/drivers/scsi/ppa.c: Likewise. 13717: * linuxdev/drivers/scsi/ppa.h: Likewise. 13718: * linuxdev/drivers/scsi/qlogicfas.c: Likewise. 13719: * linuxdev/drivers/scsi/qlogicfas.h: Likewise. 13720: * linuxdev/drivers/scsi/qlogicisp.c: Likewise. 13721: * linuxdev/drivers/scsi/qlogicisp.h: Likewise. 13722: * linuxdev/drivers/scsi/qlogicisp_asm.c: Likewise. 13723: * linuxdev/drivers/scsi/scripts.h: Likewise. 13724: * linuxdev/drivers/scsi/scsiio.c: Likewise. 13725: * linuxdev/drivers/scsi/scsiiom.c: Likewise. 13726: * linuxdev/drivers/scsi/tmscsim.c: Likewise. 13727: * linuxdev/drivers/scsi/tmscsim.h: Likewise. 13728: * linuxdev/drivers/scsi/tmscsiw.c: Likewise. 13729: * linuxdev/drivers/scsi/tmscsiw.h: Likewise. 13730: * linuxdev/include/asm-i386/atomic.h: Likewise. 13731: * linuxdev/include/asm-i386/checksum.h: Likewise. 13732: * linuxdev/include/asm-i386/ioctls.h: Likewise. 13733: * linuxdev/include/asm-i386/math_emu.h: Likewise. 13734: * linuxdev/include/asm-i386/posix_types.h: Likewise. 13735: * linuxdev/include/asm-i386/semaphore.h: Likewise. 13736: * linuxdev/include/asm-i386/sockios.h: Likewise. 13737: * linuxdev/include/asm-i386/string-486.h: Likewise. 13738: * linuxdev/include/asm-i386/termbits.h: Likewise. 13739: * linuxdev/include/asm-i386/unaligned.h: Likewise. 13740: * linuxdev/include/asm-i386/vm86.h: Likewise. 13741: * linuxdev/include/linux/affs_hardblocks.h: Likewise. 13742: * linuxdev/include/linux/atalk.h: Likewise. 13743: * linuxdev/include/linux/ax25.h: Likewise. 13744: * linuxdev/include/linux/compile.h: Likewise. 13745: * linuxdev/include/linux/ctype.h: Likewise. 13746: * linuxdev/include/linux/fddidevice.h: Likewise. 13747: * linuxdev/include/linux/icmp.h: Likewise. 13748: * linuxdev/include/linux/if_fddi.h: Likewise. 13749: * linuxdev/include/linux/ipx.h: Likewise. 13750: * linuxdev/include/linux/md.h: Likewise. 13751: * linuxdev/include/linux/netrom.h: Likewise. 13752: * linuxdev/include/linux/posix_types.h: Likewise. 13753: * linuxdev/include/linux/random.h: Likewise. 13754: * linuxdev/include/linux/ucdrom.h: Likewise. 13755: * linuxdev/include/linux/udp.h: Likewise. 13756: * linuxdev/include/linux/wireless.h: Likewise. 13757: * linuxdev/include/net/br.h: Likewise. 13758: * linuxdev/include/net/gc.h: Likewise. 13759: * linuxdev/include/net/ip_masq.h: Likewise. 13760: * linuxdev/include/net/p8022tr.h: Likewise. 13761: * linuxdev/include/net/p8022trcall.h: Likewise. 13762: * linuxdev/include/net/rose.h: Likewise. 13763: * linuxdev/include/net/rosecall.h: Likewise. 13764: * linuxdev/include/net/slhc_vj.h: Likewise. 13765: * linuxdev/include/net/spx.h: Likewise. 13766: * linuxdev/include/scsi/scsi.h: Likewise. 13767: * linuxdev/include/scsi/scsi_ioctl.h: Likewise. 13768: * linuxdev/include/scsi/scsicam.h: Likewise. 13769: 13770: 1998-11-06 OKUJI Yoshinori <[email protected]> 13771: 13772: * i386/i386at/gpl/linux: Moved to ... 13773: * linuxdev: ... here. 13774: * i386/Makefrag: Linux drivers specific code moved to ... 13775: * linuxdev/Makefrag: ... here. 13776: * i386/Files: Recreated. 13777: * i386/Subdirs: Likewise. 13778: * linuxdev/drivers: New directory. 13779: * linuxdev/arch: Likewise. 13780: * linuxdev/arch/i386: Likewise. 13781: * linuxdev/{block,scsi,net,pci}: Moved to ... 13782: * linuxdev/drivers/{block,scsi,net,pci}: ... here. 13783: * i386/{Drivers.in,device-drivers.h.in,driverlist.in}: Moved to ... 13784: * linuxdev/{Drivers.in,device-drivers.h.in,driverlist.in}: ... here. 13785: * linuxdev/{linux_emul.h,linux_*.c}: Moved to ... 13786: * linuxdev/arch/i386/{linux_emul.h,linux_*.c}: ... here. 13787: * linuxdev/arch/i386/linux_block.c: Include <linux_emul.h>, instead 13788: of <i386at/gpl/linux/linux_emul.h>. 13789: * linuxdev/arch/i386/linux_init.c: Likewise. 13790: * linuxdev/arch/i386/linux_kmem.c: Likewise. 13791: * linuxdev/arch/i386/linux_misc.c: Likewise. 13792: * linuxdev/arch/i386/linux_net.c: Likewise. 13793: * linuxdev/arch/i386/linux_sched.c: Likewise. 13794: * device/ds_routines.c: Include <linuxdev/device-drivers.h>, instead 13795: of <i386/device-drivers.h>. 13796: * linuxdev/arch/i386/linux_init.c: Likewise. 13797: * linuxdev/include/linux/autoconf.h: Likewise. 13798: * Makefile.in: Include $(srcdir)/linuxdev/Makefrag. 13799: * linuxdev/Drivers.in (AC_INIT): Use include/linux/autoconf.h, 13800: instead of i386/i386asm.sym. 13801: 13802: 1998-10-28 Roland McGrath <[email protected]> 13803: 13804: * include/mach/multiboot.h: Contents were doubled. 13805: 13806: 1998-10-24 Roland McGrath <[email protected]> 13807: 13808: * Makefile.in (mach_machine): Don't depend on config.status, since it 13809: is always newer than the symlink target. 13810: 13811: * i386/Makefrag ($(systype)/device-drivers.h): Depend on 13812: $(systype)/driverlist, and have no commands. 13813: 13814: * configure.in (--enable-kdb): Fix help text; handle --disable-kdb. 13815: Remove BUILD_CC checks and lex/yacc checks (which were for mig). 13816: (installed_clib): Remove these checks. 13817: (LD, NM, MIG): Use AC_CHECK_TOOL for these. 13818: 13819: * Makefile.in (all, clean, mostlyclean, install, dist, 13820: %_interface.h rule, all *mig* rules): Remove all commands, deps, 13821: and rules related to mig, which is now in a separate distribution. 13822: 13823: * Makefile.in (before-compile): Add mach/machine. 13824: (mach/machine, mach_machine): New rules to make symlink so 13825: #include <mach/machine/foo.h> works. 13826: 13827: * Makefile.in (NM): New variable, substituted by configure. 13828: (check-clib-routines): Use $(NM) instead of literal "nm". 13829: Fix awk script to grok __ defns and weak defns of desired symbols. 13830: (clib-routines.o): Use $(CC) -r -nostartfiles -nostdlib -static 13831: instead of $(LD) -r. Use -lc instead of $(installed-clib). 13832: (installed-clib): Variable removed. 13833: 13834: * i386/Makefrag: Use -include for linux-flags, so no warning. 13835: 13836: * device/chario.c: Add forward decl for ttstart. 13837: 13838: * i386/i386/db_trace.c: Use explicit int in decl. 13839: 13840: * device/ds_routines.c (device_write_trap, device_writev_trap, 13841: ds_trap_write_done): Cast arg to zfree. 13842: 13843: * kern/ipc_tt.c (mach_ports_lookup): Remove unnecessary cast. 13844: 13845: 1998-10-04 Roland McGrath <[email protected]> 13846: 13847: * include/mach/message.h: Use __typeof instead of typeof. 13848: 13849: 1998-09-06 Roland McGrath <[email protected]> 13850: 13851: * kern/time_out.h: Include <mach/time_value.h> for time_value_t defn. 13852: 13853: 1998-07-19 Roland McGrath <[email protected]> 13854: 13855: * mig: Subdirectory removed, now in separate dist. 13856: 13857: Fri Apr 24 14:24:15 1998 Thomas Bushnell, n/BSG <[email protected]> 13858: 13859: * i386/i386/pcb.c (thread_setstatus): Set STATE before validating 13860: segment registers. Reported by UCHIYAMA Fasushi ([email protected]). 13861: 13862: Fri Apr 24 13:19:40 1998 Thomas Bushnell n/BSG <[email protected]> 13863: 13864: * kern/debug.c (panic): Increase "seconds" in delay to 1000; machines 13865: are faster now. 13866: 13867: * i386/i386at/gpl/linux/linux_kmem.c: Increase MEM_CHUNKS to 7. 13868: 13869: Wed Aug 20 16:05:19 1997 Thomas Bushnell, n/BSG <[email protected]> 13870: 13871: * kern/thread.h (struct thread): New member `creation_time'. 13872: * include/mach/thread_info.h: New member `creation_time'. 13873: * kern/thread.c (thread_create): Set creation time stamp. 13874: (thread_info) [THREAD_BASIC_INFO]: Fill in new creation time 13875: field. Carefully preserve compatibility with old callers. 13876: 13877: * kern/task.h (struct task): New member `creation_time'. 13878: * include/mach/task_info.h: New member `creation_time'. 13879: * kern/task.c (task_create): Set creation time stamp. 13880: (task_info) [TASK_BASIC_INFO]: Fill in new creation time field. 13881: Carefully preserve compatibility with old callers. 13882: 13883: * kern/mach_clock.c (record_time_stamp): New function. 13884: * kern/time_out.h (record_time_stamp): Add prototype. 13885: 13886: Sun Aug 3 18:25:38 1997 Shantanu Goel <[email protected]> 13887: 13888: * i386/i386/thread.h (struct pcb): Added new field `data' used 13889: by Linux driver emulation. 13890: 13891: * i386/i386at/gpl/linux/include/linux/blk.h (end_request): 13892: Revamped Mach specific code. Don't use `errors' field in request. 13893: Don't call driver's request function. 13894: 13895: * i386/i386at/gpl/linux/include/linux/fs.h (struct buffer_head): 13896: Deleted old Mach-specific definition. Use original Linux defintion. 13897: 13898: * i386/i386at/gpl/linux/linux_block.c: Rewritten extensively. 13899: (collect_buffer_pages): Deleted. 13900: (alloc_buffer, free_buffer): Rewritten to use Mach page allocator. 13901: (getblk, __brelse): Use Mach kernel allocator. 13902: (check_for_error): Deleted. 13903: (ll_rw_block): Allocate request structure on stack. 13904: (rdwr_partial, rdwr_full, do_rdwr) New routines. 13905: (block_read, block_write): Rewritten to use new routine do_rdwr. 13906: (find_name): New routine. 13907: (read_bsd_label, read_vtoc): New routines. 13908: (init_partition): New routine. 13909: (device_open): Rewritten for modularity. Allocate Linux block 13910: variables on the stack. 13911: (check_limit): New routine. 13912: (device_read, device_write): Rewritten extensively. Map user 13913: pages into kernel buffer before passing to driver. This is in 13914: preparation for general Linux block driver support. Allocate 13915: Linux block variables on the stack. 13916: 13917: * i386/i386at/gpl/linux/linux_kmem.c: 13918: (collect_buffer_pages): Deleted. 13919: 13920: Fri Aug 1 16:15:33 1997 Thomas Bushnell, n/BSG <[email protected]> 13921: 13922: * kern/mach_clock.c (clock_interrupt): Test correct macro to see 13923: if PC sampling is configured: MACH_PCSAMPLE, not MACH_SAMPLE. 13924: 13925: * i386/i386/locore.S (discover_x86_cpu_type): Comment out routine 13926: for now. 13927: * i386/i386at/model_dep.c (c_boot_entry): Comment out use of 13928: discover_x86_cpu_type for now. 13929: 13930: * i386/include/mach/i386/eflags.h (EFL_AC, EFL_ID): New bits. 13931: 13932: * i386/i386/locore.S (discover_x86_cpu_type): Use correct opcode 13933: for right shift. Use ENTRY macro correctly. 13934: 13935: Mon Jul 28 17:01:19 1997 Thomas Bushnell, n/BSG <[email protected]> 13936: 13937: * COPYING: New file. 13938: * Makefile.in (topfiles): Add COPYING. 13939: 13940: Mon Jul 21 14:20:39 1997 Thomas Bushnell, n/BSG <[email protected]> 13941: 13942: * kern/mach4.srv: Include <mach_pcsample.h> so the value of 13943: MACH_PCSAMPLE is made available for mach4.defs. 13944: 13945: Thu Jul 10 13:51:20 1997 Thomas Bushnell, n/BSG <[email protected]> 13946: 13947: * Makefile.in (install): Use `ln -sf' instead of `-ln -s'. 13948: Suggested by Marcus G. Daniels ([email protected]). 13949: 13950: Thu Jun 26 13:48:31 1997 Thomas Bushnell, n/BSG <[email protected]> 13951: 13952: * i386/i386/locore.S (discover_x86_cpu_type): New function. 13953: * i386/i386at/model_dep.c (c_boot_entry): Fill in cpu type in 13954: MACHINE_SLOT using new function. 13955: 13956: * include/mach/machine.h (CPU_TYPE_I486, CPU_TYPE_PENTIUM, 13957: CPU_TYPE_PENTIUMPRO, CPU_TYPE_POWERPC): New CPU types. These 13958: conform to current OSF Mach values, but note that some of the 13959: various subtypes are different. 13960: 13961: Mon Jun 16 12:14:17 1997 Thomas Bushnell, n/BSG <[email protected]> 13962: 13963: * i386/i386/loose_ends.c (ovbcopy): Delete function. Suggested by 13964: Matthew Wilcox ([email protected].) 13965: 1.1.1.3 root 13966: Thu Jun 12 18:08:29 1997 Thomas Bushnell, n/BSG <[email protected]> 13967: 13968: Version 1.1.3 released. 1.1.1.4 root 13969: 1.1.1.3 root 13970: * version.c (version): Update to 1.1.3. 13971: 13972: Wed Jun 11 20:16:47 1997 Thomas Bushnell, n/BSG <[email protected]> 13973: 13974: * i386/Drivers.in: Add el3. How did this escape notice? 13975: * i386/device-drivers.h.in: Add CONFIG_EL3. 13976: 1.1.1.2 root 13977: Tue Jun 10 13:33:37 1997 Thomas Bushnell, n/BSG <[email protected]> 13978: 1.1.1.3 root 13979: Version 1.1.2 released. 1.1.1.4 root 13980: 1.1.1.2 root 13981: * Makefile.in (install): Install cross-migcom as `migcom', not as 1.1.1.4 root 13982: `mig'. 1.1.1.2 root 13983: 13984: * i386/Makefrag (objfiles += $(device_drivers)): Sort 13985: $(device_drivers) before adding to objfiles in order to remove 1.1.1.4 root 13986: duplicates. 1.1.1.2 root 13987: 13988: Mon Jun 9 22:14:09 1997 Thomas Bushnell, n/BSG <[email protected]> 13989: 13990: * i386/Drivers.in: Fix typos apt.o -> atp.o; 3c403.o -> 3c503.o. 1.1.1.4 root 13991: 1.1.1.2 root 13992: * Drivers.macros (AC_DRIVER): Test the class selected flag 1.1.1.4 root 13993: correctly. 13994: 1.1.1.2 root 13995: Mon May 26 14:33:19 1997 Thomas Bushnell, n/BSG <[email protected]> 13996: 13997: * version.c (version): Update to version 1.1.2. 13998: 13999: Fri May 23 10:08:48 1997 Thomas Bushnell, n/BSG <[email protected]> 14000: 14001: * kern/thread.c (thread_info): Set flags word correctly; 14002: TH_FLAGS_SWAPPED and TH_FLAGS_IDLE are not exclusive. 14003: 14004: * Makefile.in (topfiles): Add aclocal.m4. 14005: Reported by Marcus G. Daniels ([email protected]). 1.1.1.4 root 14006: 1.1.1.2 root 14007: Mon May 12 11:25:38 1997 Thomas Bushnell, n/BSG <[email protected]> 14008: 14009: Version 1.1.1 released. 1.1.1.4 root 14010: 1.1.1.2 root 14011: * version.c (version): Update to version 1.1.1. 14012: 14013: * bogus/mach_kdb.h: Make sure MACH_KDB is always defined, to zero 14014: if necessary. Bug report from Marcus Daniels 1.1.1.4 root 14015: ([email protected]). 1.1.1.2 root 14016: 14017: Fri May 9 13:06:25 1997 Thomas Bushnell, n/BSG <[email protected]> 14018: 14019: * i386/Files: Fix typo for _setjmp.S. 14020: Reflect 53c7,8xx.c -> 53c78xx.c change. 14021: 14022: Wed May 7 15:32:08 1997 Thomas Bushnell, n/BSG <[email protected]> 14023: 14024: * version.c (version): Update to version 1.1. 14025: * NEWS: New file. 14026: * Makefile.in (topfiles): Add NEWS. 14027: 14028: Mon May 5 11:34:01 1997 Thomas Bushnell, n/BSG <[email protected]> 14029: 14030: * Makefile.in (enable_kdb): Use findstring instead of filter. 14031: Reported by Marcus Daniels ([email protected]). 14032: 14033: Fri May 2 12:43:46 1997 Thomas Bushnell, n/BSG <[email protected]> 14034: 14035: * Makefile.in (enable_kdb): New variable. 14036: (clib-routines): If enable_kdb, then add strstr. 14037: * i386/i386/_setjmp.S: New file, from UK22 libmach. 14038: * i386/Files: Add i386/i386/_setjmp.S. 14039: * i386/Makefrag (objfiles): Add _setjmp.o if enable_kdb. 1.1.1.4 root 14040: 1.1.1.2 root 14041: 1997-04-30 Marcus G. Daniels <[email protected]> 14042: 14043: * Makefile.in (clib-routines): Add htons not because it is necessary, 14044: but because libc5 systems will bring it in. 14045: (check-clib-routines): Tolerate extra weak symbols. 14046: 14047: Wed Apr 30 14:12:12 1997 Thomas Bushnell, n/BSG <[email protected]> 14048: 14049: * Makefile.in: Delete duplicate rule for cross-mig. 14050: 14051: Mon Apr 28 12:09:53 1997 Thomas Bushnell, n/BSG <[email protected]> 14052: 14053: * Makefile.in (check): New target. Reported by 1.1.1.4 root 14054: [email protected]. 1.1.1.2 root 14055: 14056: * i386/Drivers.in (ncr53c7xx): Change file name to 53c78xx.o. 14057: * i386/i386at/gpl/linux/scsi/53c7,8xx.c: Moved to ... 14058: * i386/i386at/gpl/linux/scsi/53c78xx.c: ... here. 14059: * i386/Makefrag (linux-scsi-files): Change file name here too. 14060: Reported by [email protected]. 14061: 14062: Wed Apr 23 14:35:44 1997 Miles Bader <[email protected]> 14063: 14064: * ipc/ipc_entry.c [MACH_KDB]: Add include of <kern/task.h>. 14065: 14066: Wed Apr 23 13:21:23 1997 Thomas Bushnell, n/BSG <[email protected]> 14067: 14068: * configure.in (BUILD_CC): Use AC_CHECK_PROGS, not AC_CHECK_PROG, 14069: since we are checking multiple names. 14070: 14071: * configure.in (kdb): New --enable option. 14072: * Makefile.in (DEFINES): Add @DEFS@. 14073: * bogus/mach_kdb.h: Make this file zero length; we get MACH_KDB 14074: from configure now. 14075: 14076: * Makefile.in (clean, distclean, mostlyclean, maintainter-clean): 1.1.1.4 root 14077: New targets. 14078: (all-archs-configures): New variable. 1.1.1.2 root 14079: (MIG): Change to ./local-mig. 14080: (./local-mig): Change to build this instead of ./mig 14081: (check-clib-routines): Use nm -g in case there are local symbols. 1.1.1.4 root 14082: Suggested by Matthew Wilcox ([email protected]). 1.1.1.2 root 14083: 14084: Fri Apr 18 15:25:10 1997 Thomas Bushnell, n/BSG <[email protected]> 14085: 14086: * configure.in: Add AC_PREREQ for version 2.12. 14087: * i386/Drivers.in: Likewise. 14088: 14089: Wed Apr 16 16:55:36 1997 Marcus G. Daniels <[email protected]> 14090: 14091: * configure.in: Replace AC_PROG_CC with AC_PROG_CC_LOCAL. 14092: If cross compiling do Lex/Yacc checks with BUILD_CC. 1.1.1.6 root 14093: Check CC and BUILD_CC for libraries having the needed support, 1.1.1.2 root 14094: and substitute discovery in installed_clib. 14095: 14096: * aclocal.m4: New file. These replacement macros are to handle 14097: the case where there is a cross compiler but no supporting files. 14098: 14099: * Makefile.in (installed-clib): Don't hardwire a Hurd libcrt.a. 14100: (cross_linkable): Only define cross-migcom variable when it will 14101: be possible to build it. 14102: (all, install): Use $(cross-migcom). 14103: (install): Install cross-migcom only if was to be built. 1.1.1.4 root 14104: (mkinstalldirs): Add $(bindir), $(includedir)/mach/exec 1.1.1.2 root 14105: (cross-lexxer.o lexxer.o): lexxer.o needs cpu.h. 14106: (./cross-migcom): Prevent dependency generation for cross-* MiG files 14107: unless they can actually be built. 14108: 14109: Thu Apr 17 15:55:40 1997 Thomas Bushnell, n/BSG <[email protected]> 14110: 14111: * kern/exception.c (exception_no_server): Comment out the suspend 14112: code; it's useful for special case debugging, but causes problems 14113: in general. 14114: 14115: Wed Apr 16 12:52:25 1997 Thomas Bushnell, n/BSG <[email protected]> 14116: 14117: * Makefile.in (cross-lexxer.o lexxer.o): Add pump-priming 14118: dependency on cpu.h. Reported by Marcus G. Daniels 1.1.1.4 root 14119: ([email protected]). 1.1.1.2 root 14120: 14121: * configure.in: Fail if configure target is not for GNU os. 14122: 14123: * i386/Drivers.in (com): Delete option. It's required by 14124: kd_mouse.c. 14125: * i386/Makefrag (i386at-files): Add com.c. 14126: (driver-files): Delete variable. 14127: * i386/bogus/com.h: Revert change of March 10. 14128: * i386/device-drivers.h.in (CONFIG_MACH_COM): Delete option. 14129: Bug report from Marcus G. Daniels ([email protected]). 1.1.1.4 root 14130: 14131: * Makefile.in (./cross-mig): New rule. 1.1.1.2 root 14132: (mkinstalldirs): Add $(libexecdir). 1.1.1.4 root 14133: * configure.in: Recognize i686. 1.1.1.2 root 14134: Reported by Marcus G. Daniels ([email protected]). 14135: 1.1 root 14136: Mon Apr 14 11:50:45 1997 Thomas Bushnell, n/BSG <[email protected]> 14137: 1.1.1.4 root 14138: * Released version 1.0. 14139: 1.1 root 14140: * kern/exception.c (exception_no_server): Try and suspend the 14141: failing thread before killing the task. Then a debugger can be 1.1.1.4 root 14142: used. 1.1 root 14143: 14144: * i386/Makefrag: Add rebuilding rules for configure subscript. 14145: 14146: * i386/Makefrag: Fix up copyright notice. 14147: * i386/Drivers.in: Likewise. 14148: * Makefile.in: Likewise. 14149: * Drivers.macros: Likewise. 14150: * configure.in: Likewise. 14151: 14152: * include/sys/time.h: New file, from include/mach/sa/sys/time.h. 14153: * include/sys/reboot.h: New file, from include/mach/sa/sys/reboot.h. 14154: * include/sys/ioctl.h: New file, from include/mach/sa/sys/ioctl.h. 14155: * include/alloca.h: New file, from include/mach/sa/alloca.h. 14156: * Makefile.in (other-sys-headers): Add time.h, ioctl.h, and reboot.h. 14157: (other-mach-headers): New variable. 14158: (mach-exec-headers): New variable. 14159: (other-headers): New variable. 14160: (installed-headers): Add mach-exec-headers. 1.1.1.4 root 14161: (dist): Distribute other-mach-headers, other-sys-headers, 1.1 root 14162: mach-exec-headers, and other-headers. 14163: (device-files): Add device.srv. 1.1.1.4 root 14164: 1.1 root 14165: * Makefile.in (check-clib-routines): Use more efficient rule. 14166: 14167: Fri Apr 11 15:18:09 1997 Thomas Bushnell, n/BSG <[email protected]> 14168: 14169: * Makefile.in (dist): Repair rule. 14170: (other-sys-headers): New variable. 14171: (dist): Install $(other-sys-headers). 14172: (INCLUDES): Remove -I$(srcdir)/include/mach/sa. 14173: (rules for mig-related .d files): Include MiG-specific -I flags. 14174: (mach-headers): Add inline.h. 14175: * include/sys/types.h: New file, from include/mach/sa/sys/types.h. 14176: 14177: Mon Mar 24 16:23:21 1997 Thomas Bushnell, n/BSG <[email protected]> 14178: 14179: * version.c (version): Make that 1.0. Whee. 14180: 14181: Fri Mar 21 15:50:09 1997 Thomas Bushnell, n/BSG <[email protected]> 14182: 14183: * i386/i386at/gpl/linux/scsi/aha1740.c (aha1740_test_port): Try 1.1.1.6 root 14184: and turn on PORTADDR_ENH before checking it. 1.1 root 14185: 1.1.1.4 root 14186: * vm/vm_object.c (vm_object_cached_max): Increase to 200. 1.1 root 14187: 14188: Thu Mar 20 12:33:06 1997 Thomas Bushnell, n/BSG <[email protected]> 14189: 14190: * Makefile.in (dist): New target. Reorganized some vars 14191: describing source. 14192: * i386/Subdirs: New file. 14193: * i386/Files: New file. 14194: 14195: * version.c (version): Push back to 0.1. 14196: 14197: * Makefile.in (cross_compiling, bindir, libexecdir): New 1.1.1.4 root 14198: variable. 14199: 1.1 root 14200: * Makefile.in (install): Depend on cross-mig and cross-migcom; 14201: install them. New rules added to build mig, migcom, cross-mig, 14202: and cross-migcom. 1.1.1.4 root 14203: 1.1 root 14204: * configure.in (AC_PROG_LEX, AC_PROG_YACC): New tests. 14205: (BUILD_CC): New test to set these. 14206: 14207: * Makefile.in (%.h %_user.c): Depend on $(MIG) too. 14208: (%_interface.h %_server.c): Likewise. 14209: (MIG): Don't use @MIG@; hard code it to the one we build. 14210: (BUILD_CC, BUILD_CFLAGS, MIGCOM, LEX, YACC, LEXLIB): New variables. 1.1.1.4 root 14211: 1.1 root 14212: Wed Mar 19 16:47:28 1997 Thomas Bushnell, n/BSG <[email protected]> 14213: 14214: * i386/i386at/kd.c (BROKEN_KEYBOARD_RESET): Turn off this so that 14215: we attempt the keyboard resets. 14216: * i386/i386/locore.S (cpu_shutdown): Attempt to provide a more 1.1.1.4 root 14217: `robust' null_idtr. 1.1 root 14218: 14219: Mon Mar 17 13:47:14 1997 Thomas Bushnell, n/BSG <[email protected]> 14220: 14221: * i386/i386at/gpl/linux/scsi/hosts.c (scsi_init): Don't print out 14222: gratuitious obnoxiousness. 14223: * i386/i386at/gpl/linux/scsi/scsi.c (scsi_dev_init): Likewise. 14224: * i386/i386at/gpl/linux/block/triton.c (ide_init_triton): 1.1.1.4 root 14225: Likewise. 1.1 root 14226: (init_triton_dma): Likewise. 14227: * i386/i386at/gpl/linux/pci/pci.c (pci_init): Likewise. 14228: * i386/i386at/gpl/linux/pci/bios32.c (check_pcibios): Likewise. 14229: (pcibios_init): Likewise. 14230: * i386/i386at/gpl/linux/block/genhd.c (add_partition): Likewise. 14231: 14232: * i386/i386at/gpl/linux/net/8390.c (ei_debug): Make default value 1.1.1.4 root 14233: zero. 1.1 root 14234: 14235: Wed Mar 12 14:50:46 1997 Thomas Bushnell, n/BSG <[email protected]> 14236: 14237: * i386/i386at/com.c (comprobe): Turn off noisiness. 14238: 14239: * i386/i386at/gpl/linux/linux_block.c (check_disk_change): Don't 14240: print out gratuitous obnoxiousness. 14241: (device_open): Likewise. 14242: * kern/bootstrap.c (copy_bootstrap): Likewise. 14243: (user_bootstrap): Likewise. 14244: * i386/i386at/gpl/linux/block/genhd.c (msdos_partition): Likewise. 14245: (osf_partition): Likewise. 14246: (sun_partition): Likewise. 14247: (check_partition): Likewise. 14248: * i386/i386/pit.c (findspeed): Likewise. 14249: * vm/vm_resident.c (vm_page_bootstrap): Likewise. 14250: 14251: Mon Mar 10 15:04:47 1997 Thomas Bushnell, n/BSG <[email protected]> 14252: 14253: * i386/i386at/gpl/linux/linux_init.c (calibrate_delay): Don't 14254: print out gratuitous obnoxiousness. 1.1.1.4 root 14255: 1.1 root 14256: * i386/i386at/gpl/linux/linux_init.c (linux_init): Only call 14257: linux_net_emulation_init if CONFIG_INET. Include 1.1.1.4 root 14258: <i386/device-drivers.h>. 1.1 root 14259: 14260: * i386/i386at/i386at_ds_routines.c: Include 14261: <i386/device-drivers.h>. Don't mention linux_net_emulation_ops 14262: unless CONFIG_INET. 14263: 14264: * device/ds_routines.c (io_done_thread_continue): [i386] 1.1.1.6 root 14265: Conditionalize free_skbuffs also on CONFIG_INET. Include 14266: <i386/device-drivers.h>. 1.1 root 14267: 14268: * i386/Drivers.in, i386/device-drivers.h.in, i386/driverlist.in: 14269: New files. 14270: * i386/Makefrag: Include i386/driverlist; don't include all device 14271: drivers in kernel image; instead use list from driverlist. 14272: * configure.in: Configure in $systype subdir too. 1.1.1.4 root 14273: 1.1 root 14274: * i386/i386at/gpl/linux/include/linux/autoconf.h: Damage severly 14275: to conform to device-drivers.h model. 14276: 14277: * i386/bogus/com.h: Include <i386/device-drivers.h>. 14278: Only turn on NCOM if CONFIG_MACH_COM is present. 14279: 14280: Mon Mar 3 16:26:58 1997 Thomas Bushnell, n/BSG <[email protected]> 14281: 14282: * include/mach/message.h (__mach_msg, __mach_msg_trap): Add decls. 14283: 14284: Tue Feb 25 15:42:23 1997 Thomas Bushnell, n/BSG <[email protected]> 14285: 14286: * i386/Makefrag (INCLUDES): Find `include' directory in new 1.1.1.4 root 14287: location. 1.1 root 14288: * Makefile (INCLUDES): Find `include' directory in new location. 14289: (%.symc): Find gensym.awk in new location. 1.1.1.4 root 14290: 1.1 root 14291: * Reorganized directories into new layout and unified mach4 and 14292: mach4-i386 into a single tree. 14293: 14294: 14295: Older changes in ChangeLog.00 (for i386 directory) and ChangeLog.0 (for 1.1.1.4 root 14296: all other files).
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.