|
|
1.1.1.7 ! root 1: 2015-04-10 Thomas Schwinge <[email protected]> ! 2: ! 3: GNU Mach 1.5. ! 4: * version.m4 (AC_PACKAGE_VERSION): Set to 1.5. ! 5: * NEWS: Finalize for 1.5. ! 6: ! 7: 2015-03-19 Samuel Thibault <[email protected]> ! 8: ! 9: Give the Debian package name for the non-multilib libc.a ! 10: * Makefile.am (clib-routines.o): Mention the Debian libc6-dev:i386 package. ! 11: ! 12: 2015-03-08 Samuel Thibault <[email protected]> ! 13: ! 14: Remove spl debugging in Xen case ! 15: xen cli/sti doesn't use IF ! 16: ! 17: * i386/i386/spl.S [MACH_XEN]: Disable IF check. ! 18: ! 19: 2015-03-05 Samuel Thibault <[email protected]> ! 20: ! 21: Show odd number of ports ! 22: * linux/dev/drivers/block/ahci.c (ahci_probe_dev): Show odd number of ports. ! 23: ! 24: 2015-02-26 Samuel Thibault <[email protected]> ! 25: ! 26: Use printf_once instead of recoding it ! 27: * i386/i386at/kd_event.c: Call printf_once instead of recoding it. ! 28: * i386/i386at/kd_mouse.c: Likewise. ! 29: ! 30: Limit printing "queue full" messages ! 31: * i386/i386at/kd_event.c (kbd_enqueue): Print "queue full" warning only ! 32: once. ! 33: * i386/i386at/kd_mouse.c (mouse_enqueue): Likewise. ! 34: ! 35: 2015-02-25 Justus Winter <[email protected]> ! 36: ! 37: kern: inherit the name of the parent task ! 38: * kern/task.c (task_create): Inherit the name of the parent task. ! 39: ! 40: 2015-02-20 Justus Winter <[email protected]> ! 41: ! 42: i386: specialize `copyinmsg' and `copyoutmsg' ! 43: Previously, `copyinmsg' was the same function as `copyin'. The former ! 44: is for messages, and the size of messages is a multiple of four. ! 45: Likewise for `copyoutmsg'. ! 46: ! 47: Provide a specialized version of both functions. This shaves off a ! 48: couple of instructions and improves our IPC performance. ! 49: ! 50: * i386/i386/locore.S (copyinmsg): New function. ! 51: (copyoutmsg): New function. ! 52: ! 53: 2015-02-20 Justus Winter <[email protected]> ! 54: ! 55: i386: drop needless instruction from `copyout' ! 56: * i386/i386/locore.S (copyout): Do not needlessly copy length to %eax ! 57: first. ! 58: ! 59: 2015-02-20 Justus Winter <[email protected]> ! 60: ! 61: kern: improve assert ! 62: Use the ternary operator to implement `assert' like it is done in the ! 63: glibc. The glibcs changelog does not mention the rationale behind ! 64: this change, but doing the same seems to improve our IPC performance. ! 65: ! 66: * kern/assert.h (assert): Define macro using the ternary operator. ! 67: ! 68: 2015-02-20 Justus Winter <[email protected]> ! 69: ! 70: linux: fix compiler warning ! 71: If the loop above completes at least one iteration, `i' will be larger ! 72: than zero. ! 73: ! 74: * linux/dev/glue/block.c (rdwr_full): Add assertion to appease the ! 75: compiler. ! 76: ! 77: 2015-02-20 Justus Winter <[email protected]> ! 78: ! 79: kern: reduce the size of `struct thread' ! 80: Reduce the size of `struct thread' by twelve bytes making it fit into ! 81: exactly five cache lines (on 32-bit platforms). ! 82: ! 83: * kern/thread.h (struct thread): Group the state and all flags in a ! 84: bitfield. ! 85: (TH_EV_WAKE_ACTIVE, TH_EV_STATE): Provide macros that generate keys ! 86: for synchronization primitives like `thread_wakeup'. ! 87: * kern/thread.c (thread_halt, thread_dowait, thread_suspend): Use the ! 88: new keys instead of addresses of fields for the synchronisation. ! 89: * kern/ipc_sched.c (thread_handoff): Likewise. ! 90: * kern/sched_prim.c (thread_invoke, thread_dispatch): Likewise. ! 91: ! 92: 2015-02-18 Justus Winter <[email protected]> ! 93: ! 94: kern: avoid #if 0ing out thread_collect_scan ! 95: Currently, `thread_collect_scan' does nothing because `pcb_collect' is ! 96: a nop. Its body is exempt from compilation by means of the ! 97: preprocessor. ! 98: ! 99: This is unfortunate as it increases the risk of bitrot, and we still ! 100: need to pay the price of rate-limiting thread_collect_scan. ! 101: ! 102: * kern/thread.c (thread_collect_scan): Drop #if 0 around the body. ! 103: * vm/vm_pageout.c (vm_pageout_scan): Do not call ! 104: `consider_thread_collect' and document why. ! 105: ! 106: 2015-02-18 Justus Winter <[email protected]> ! 107: ! 108: vm: fix typo ! 109: * vm/vm_resident.c: Fix typo. ! 110: ! 111: 2015-01-22 Justus Winter <[email protected]> ! 112: ! 113: ipc: warn about more port management bugs ! 114: * ipc/mach_port.c (mach_port_destroy): Simplify expression. Reword warning. ! 115: (mach_port_deallocate): Likewise. ! 116: (mach_port_mod_refs): Also warn about errors when using this function. ! 117: ! 118: 2015-01-02 Stefan Weil <[email protected]> ! 119: ! 120: vm: Fix typo in comment (found by codespell) ! 121: ! 122: kern: Fix typos in comments (found by codespell) ! 123: ! 124: ipc: Fix typo in comment (found by codespell) ! 125: ! 126: include: Fix typos in comments (found by codespell) ! 127: ! 128: i386: Fix typos in comments (found by codespell) ! 129: ! 130: device: Fix typos in comments (found by codespell) ! 131: ! 132: Makefile.am: Fix typos and grammar in comment ! 133: ! 134: ddb: Fix typos in comments (found by codespell) ! 135: ! 136: 2015-01-02 Samuel Thibault <[email protected]> ! 137: ! 138: Handle kernel traps happening before starting userland ! 139: * i386/i386/trap.c (kernel_trap): When current_thread is null, assume that ! 140: we are in kernel land. ! 141: ! 142: 2014-12-16 Justus Winter <[email protected]> ! 143: ! 144: kern: gracefully handle bogus sample pc sequence number ! 145: If a sequence number larger than the sample control sequence number is ! 146: supplied, `nsamples' becomes negative. Handle this gracefully. ! 147: ! 148: * kern/pc_sample.c (get_sampled_pcs): Handle bogus sequence number. ! 149: ! 150: 2014-12-16 Justus Winter <[email protected]> ! 151: ! 152: ipc: guard test code with `MACH_IPC_TEST' ! 153: * ipc/ipc_kmsg.h (ikm_mark_bogus): New macro. ! 154: (ipc_kmsg_rmqueue_first_macro): Use `ikm_mark_bogus'. ! 155: * ipc/ipc_kmsg.c (ipc_kmsg_rmqueue): Likewise. ! 156: ! 157: 2014-12-16 Justus Winter <[email protected]> ! 158: ! 159: ipc: tune size of cached kernel message buffers ! 160: The previous limit was 256 bytes. That seems a little crummy by ! 161: todays standards, and we are frequently sending bigger packets ! 162: (e.g. every RPC containing a string_t on Hurd). ! 163: ! 164: Use the page size for IKM_SAVED_KMSG_SIZE to make sure the page is ! 165: pinned to a single processor. ! 166: ! 167: * ipc/ipc_kmsg.h (IKM_SAVED_KMSG_SIZE): Define to `PAGE_SIZE'. ! 168: ! 169: 2014-12-15 Samuel Thibault <[email protected]> ! 170: ! 171: Make spl7 just clear IF instead of setting the PIC mask ! 172: * i386/i386/spl.S (spl7): Just set curr_ipl and cli. ! 173: (splx) [MACH_KDB || MACH_TTD]: When curr_ipl is 7, make sure that IF is cleared. ! 174: (splx): When staying at ipl7, do not enable interrupts. ! 175: (spl) [MACH_KDB || MACH_TTD]: When curr_ipl is 7, make sure that IF is cleared. ! 176: (spl): When new ipl is 7, branch to spl7. ! 177: * i386/i386/locore.S (TIME_TRAP_UENTRY, TIME_TRAP_SENTRY): Save flags, and ! 178: restore them instead of blindly using sti. ! 179: ! 180: 2014-12-11 Samuel Thibault <[email protected]> ! 181: ! 182: Ship missing file ! 183: * Makefrag.am (EXTRA_DIST): Add kern/task_notify.cli. ! 184: ! 185: 2014-12-09 Justus Winter <[email protected]> ! 186: ! 187: include: add X_IMPORTS to ipc definitions ! 188: This makes it possible to inject imports. ! 189: ! 190: * include/mach/gnumach.defs: Make it possible to inject imports. ! 191: * include/mach/mach.defs: Likewise. ! 192: * include/mach/mach_host.defs: Likewise. ! 193: ! 194: 2014-12-09 Justus Winter <[email protected]> ! 195: ! 196: kern: provide notifications about new tasks ! 197: These notifications are sent to the port registered via ! 198: `register_new_task_notification' and provide a robust parental ! 199: relation between tasks to a userspace server. ! 200: ! 201: * Makefrag.am: Add task_notify.defs. ! 202: * include/mach/gnumach.defs: Add register_new_task_notification. ! 203: * include/mach/task_notify.defs: New file. ! 204: * kern/task.c (new_task_notification): New variable. ! 205: (task_create): Send new task notifications. ! 206: (register_new_task_notification): Add server function. ! 207: * kern/task_notify.cli: New file. ! 208: ! 209: 2014-12-09 Justus Winter <[email protected]> ! 210: ! 211: Retire procedure `old_mach_port_get_receive_status' ! 212: Retire the compatibility RPC `old_mach_port_get_receive_status' that ! 213: works like `mach_port_get_receive_status' but returns an ! 214: `old_mach_port_status' object that lacks the `mps_seqno' field. ! 215: ! 216: Do not remove the type yet, so we do not break anyones build. The RPC ! 217: stubs currently distributed with the glibc require it. ! 218: ! 219: * include/mach/mach_port.defs (old_mach_port_get_receive_status): Drop RPC. ! 220: * include/mach/mach_types.defs (old_mach_port_status_t): Drop type. ! 221: * include/mach/port.h (old_mach_port_status_t): Add note to remove ! 222: this for the 1.6 release. ! 223: * ipc/mach_port.c (old_mach_port_get_receive_status): Drop function. ! 224: ! 225: 2014-12-07 Samuel Thibault <[email protected]> ! 226: ! 227: Fix pthread_create warning on translator termination ! 228: This was due to task_terminate not actually properly suspending threads ! 229: before disable the task port, which was thus preventing pthread_create ! 230: from being able to create a stack. Thanks Gabriele Giacone for finding ! 231: out a reproducer of this. ! 232: ! 233: * kern/task.h (task_hold_locked): New declaration. ! 234: * kern/task.c (task_hold): Move the locked part of the code into... ! 235: (task_hold_locked): ... new function. ! 236: (task_terminate): Call task_hold_locked just before deactivating the ! 237: task. Call ipc_task_disable after waiting for threads to actually ! 238: suspend with task_dowait. ! 239: ! 240: 2014-12-01 Justus Winter <[email protected]> ! 241: ! 242: kern: disable all counters by default ! 243: Make all five non-conditional counters conditional ones. Casual ! 244: checking revealed that the hits-to-miss ratio is excellent. ! 245: ! 246: * kern/counters.c: Make all counters conditional. ! 247: * kern/counters.h: Likewise. ! 248: * kern/ipc_sched.c: Likewise. ! 249: * kern/sched_prim.c: Likewise. ! 250: ! 251: 2014-11-28 Justus Winter <[email protected]> ! 252: ! 253: include: make `mach_port_t' payload-aware ! 254: Honor a new macro `MACH_PAYLOAD_TO_PORT' to inject a translation ! 255: function mapping payloads to port names in the definition of ! 256: `mach_port_t'. ! 257: ! 258: * include/mach/std_types.defs (mach_port_t): Honor ! 259: `MACH_PAYLOAD_TO_PORT'. ! 260: * include/device/device.defs (reply_port_t): Likewise. ! 261: * include/device/device_reply.defs (reply_port_t): Likewise. ! 262: * include/device/device_request.defs (reply_port_t): Likewise. ! 263: ! 264: 2014-11-23 Samuel Thibault <[email protected]> ! 265: ! 266: Fix programming PIT counter ! 267: * linux/dev/arch/i386/kernel/irq.c (init_IRQ): Properly mask 8 bits of ! 268: PIT counter. ! 269: ! 270: 2014-11-21 David Michael <[email protected]> ! 271: ! 272: Correct GCC's -Wformat-security issues ! 273: * linux/pcmcia-cs/clients/axnet_cs.c (axdev_init): Add a format string ! 274: literal where printk only has a single variable argument. ! 275: * linux/src/drivers/net/3c507.c (el16_probe1): Likewise. ! 276: * linux/src/drivers/net/3c509.c (el3_probe): Likewise. ! 277: * linux/src/drivers/net/3c515.c (init_module): Likewise. ! 278: (tc515_probe): Likewise. ! 279: * linux/src/drivers/net/ac3200.c (ac_probe1): Likewise. ! 280: * linux/src/drivers/net/apricot.c (apricot_probe): Likewise. ! 281: * linux/src/drivers/net/at1700.c (at1700_probe1): Likewise. ! 282: * linux/src/drivers/net/de4x5.c (de4x5_hw_init): Likewise. ! 283: * linux/src/drivers/net/de600.c (de600_probe): Likewise. ! 284: * linux/src/drivers/net/de620.c (de620_probe): Likewise. ! 285: * linux/src/drivers/net/depca.c (depca_hw_init): Likewise. ! 286: * linux/src/drivers/net/e2100.c (e21_probe1): Likewise. ! 287: * linux/src/drivers/net/eepro.c (eepro_probe1): Likewise. ! 288: * linux/src/drivers/net/eepro100.c (speedo_found1): Likewise. ! 289: * linux/src/drivers/net/eexpress.c (eexp_hw_probe): Likewise. ! 290: * linux/src/drivers/net/ewrk3.c (ewrk3_hw_init): Likewise. ! 291: * linux/src/drivers/net/fmv18x.c (fmv18x_probe1): Likewise. ! 292: * linux/src/drivers/net/hp-plus.c (hpp_probe1): Likewise. ! 293: * linux/src/drivers/net/hp.c (hp_probe1): Likewise. ! 294: * linux/src/drivers/net/lance.c (lance_probe1): Likewise. ! 295: * linux/src/drivers/net/ne.c (ne_probe1): Likewise. ! 296: * linux/src/drivers/net/pcnet32.c (pcnet32_probe1): Likewise. ! 297: * linux/src/drivers/net/seeq8005.c (seeq8005_probe1): Likewise. ! 298: * linux/src/drivers/net/smc-ultra.c (ultra_probe1): Likewise. ! 299: * linux/src/drivers/net/smc-ultra32.c (ultra32_probe1): Likewise. ! 300: * linux/src/drivers/net/wd.c (wd_probe1): Likewise. ! 301: ! 302: 2014-11-16 Samuel Thibault <[email protected]> ! 303: ! 304: Only set debug registers when they are used ! 305: * i386/i386/db_interface.c (zero_dr): New variable ! 306: (db_load_context): Do not set debug registers to zero when they are already ! 307: zero. ! 308: (db_dr): When kernel debug registers get zero, record that the debug ! 309: registers have been zeroed. ! 310: ! 311: 2014-11-13 Samuel Thibault <[email protected]> ! 312: ! 313: Add nodma options ! 314: Some very slow qemu instances would eventually trigger DMA timeouts, ! 315: let's give a way to disable DMA there, it does not actually slow down ! 316: operations anyway. ! 317: ! 318: * linux/src/drivers/block/ide.h (ide_drive_s): Add nodma field. ! 319: * linux/src/drivers/block/ide.c (do_identify): Do not call ! 320: dmaproc(ide_dma_check) when nodma is 1. ! 321: (ide_setup): Add nodma option. ! 322: ! 323: 2014-11-12 Samuel Thibault <[email protected]> ! 324: ! 325: Pass ide and hd kernel options to ide driver ! 326: * linux/dev/drivers/block/genhd.c: Include <linux/hdreg.h> and ! 327: <alloca.h> ! 328: (device_setup): Look for ide and hd options, and call ide_setup with ! 329: them. ! 330: * linux/src/drivers/block/ide.c (ide_setup) [MACH]: Parse hd[0-7] instead ! 331: of hd[a-h]. ! 332: ! 333: 2014-11-10 Samuel Thibault <[email protected]> ! 334: ! 335: Fix documentation for vm_map ! 336: doc/mach.texi (vm_map): Document that vm_map uses the address as a ! 337: starting hint even when anywhere is TRUE. ! 338: ! 339: Revert "Make vm_map really ignore `address' when `anywhere' is true" ! 340: This reverts commit 5ae510e35c54009626999a88f0f1cb34d6dfc94f. ! 341: ! 342: 2014-11-03 Justus Winter <[email protected]> ! 343: ! 344: include: add a payload-aware intran mutator for device_t ! 345: * include/device/device_types.defs (device_t): Add a payload-aware ! 346: intran mutator. ! 347: ! 348: include: add a payload-aware intran mutator for notify_port_t ! 349: * include/mach/notify.defs (notify_port_t): Add a payload-aware intran ! 350: mutator. ! 351: ! 352: include: add a payload-aware intran mutator for memory_object_t ! 353: * include/mach/mach_types.defs (memory_object_t): Add a payload-aware ! 354: intran mutator. ! 355: * include/mach/memory_object.defs: Likewise in the inlined type ! 356: declarations. ! 357: ! 358: 2014-11-03 Samuel Thibault <[email protected]> ! 359: ! 360: Fix link refusal ! 361: * Makefile.am (clib-routines.o): Refuse to link only when multiarch is ! 362: detected. ! 363: ! 364: 2014-11-03 Samuel Thibault <[email protected]> ! 365: ! 366: Refuse to link against a libc with multiarch support ! 367: We don't have support for this yet. ! 368: ! 369: * Makefile.am (clib-routines.o): Check for the presence of ! 370: __init_cpu_features, and in such case refuse to continue. ! 371: ! 372: 2014-11-02 Samuel Thibault <[email protected]> ! 373: ! 374: Fix build when gcc avoids inlining ! 375: * ipc/ipc_port.h (ipc_port_flag_protected_payload, ! 376: ipc_port_flag_protected_payload_set, ! 377: ipc_port_flag_protected_payload_clear): Use static inline qualifier instead ! 378: of extern inline. ! 379: ! 380: 2014-10-22 Samuel Thibault <[email protected]> ! 381: ! 382: Revert "Make sure mig is available" ! 383: This reverts commit b28e05e203e0739fa5db59c5af378b29eea7a232. ! 384: ! 385: 2014-10-10 Justus Winter <[email protected]> ! 386: ! 387: doc: restore section `Inherited Ports' ! 388: Previously, the section `Inherited Ports' was commented out. This was ! 389: done, as the functionality was unused by the Hurd. The functions ! 390: `mach_ports_register' and `mach_ports_lookup' were never removed, and ! 391: are exposed to user space. ! 392: ! 393: This patch brings the documentation back and adds a remark at the top, ! 394: that the section documents the original intentions for this interface. ! 395: ! 396: I chose bringing back the documentation over removing the ! 397: functionality because I like to make use of it as a method for service ! 398: discovery that is deliberately orthogonal to the way the service ! 399: lookup is usually done in the Hurd. This can be used to implement ! 400: robust low-level debugging facilities. ! 401: ! 402: * doc/mach.texi: Restore section `Inherited Ports'. ! 403: ! 404: 2014-10-01 Justus Winter <[email protected]> ! 405: ! 406: Add protected payloads to NEWS ! 407: ! 408: ipc: provide the protected payload in ipc_kmsg_copyout_header ! 409: * ipc/ipc_kmsg.c (ipc_kmsg_copyout_header): If a protected payload is ! 410: set for the destination port, provide it in msgh_protected_payload. ! 411: * ipc/mach_msg.c (mach_msg_trap): Likewise in the fast paths. ! 412: * doc/mach.texi (Message Receive): Document message semantics with ! 413: protected payloads. ! 414: ! 415: include: define MACH_MSG_TYPE_PROTECTED_PAYLOAD ! 416: * include/mach/message.h: Define MACH_MSG_TYPE_PROTECTED_PAYLOAD. ! 417: (MACH_MSG_TYPE_LAST): Adjust accordingly. ! 418: * doc/mach.texi (Message Format): Document ! 419: MACH_MSG_TYPE_PROTECTED_PAYLOAD. ! 420: ! 421: include: add msgh_protected_payload to mach_msg_header_t ! 422: * include/mach/message.h (mach_msg_header_t): Add ! 423: msgh_protected_payload as a union with msgh_local_port. ! 424: * doc/mach.texi (Message Format): Document msgh_protected_payload. ! 425: ! 426: ipc: implement mach_port_{set,clear}_protected_payload ! 427: * include/mach/mach_port.defs: Add mach_port_{set,clear}_protected_payload. ! 428: * ipc/mach_port.c: Implement mach_port_{set,clear}_protected_payload. ! 429: * doc/mach.texi (Receive Rights): Document ! 430: mach_port_{set,clear}_protected_payload. ! 431: ! 432: 2014-10-01 Justus Winter <[email protected]> ! 433: ! 434: ipc: add protected payload ! 435: Add a field ip_protected_payload and a flag ip_has_protected_payload ! 436: to struct ipc_port. ! 437: ! 438: Clear the protected payload when a receive port is moved from one ipc ! 439: space to another. This is done to retain the old behavior of ! 440: mach_msg, so that a port name is sent in the msgh_local_port field. ! 441: If the new owner of that receive right wishes to use the protected ! 442: payload mechanism, it has to be explicitly set again. ! 443: ! 444: * ipc/ipc_port.h (struct ipc_port): Add field ip_protected_payload. ! 445: (ipc_port_set_protected_payload): Add function declaration. ! 446: (ipc_port_clear_protected_payload): Likewise. ! 447: (ipc_port_flag_protected_payload): Add accessor for the protected ! 448: payload flag. ! 449: (ipc_port_flag_protected_payload_set): Likewise. ! 450: (ipc_port_flag_protected_payload_clear): Likewise. ! 451: * ipc/ipc_port.c (ipc_port_init): Initialize protected payload. ! 452: (ipc_port_print): Print protected_payload. ! 453: (ipc_port_set_protected_payload): New function. ! 454: (ipc_port_clear_protected_payload): Likewise. ! 455: (ipc_port_destroy): Clear the payload when moving a receive port. ! 456: * ipc/ipc_right.c (ipc_right_copyin): Likewise. ! 457: (ipc_right_copyout): Likewise. ! 458: * ipc/ipc_object.c (ipc_object_copyin_from_kernel): Likewise. ! 459: * ipc/ipc_object.h (IO_BITS_PROTECTED_PAYLOAD): New bitmask. ! 460: (IO_BITS_OTYPE): Adjust accordingly. ! 461: ! 462: 2014-09-30 Justus Winter <[email protected]> ! 463: ! 464: ipc: use fast modulo operation in local hash table ! 465: * ipc/ipc_table.h: Document that table sizes must be powers of two. ! 466: * ipc/ipc_hash.c (IH_LOCAL_HASH): Use fast modulo operation. ! 467: ! 468: kern: silence compiler warning about uninitialized variable ! 469: * kern/slab.c (kmem_cache_compute_sizes): Initialize optimal_size and ! 470: assert that a size is selected. ! 471: ! 472: kern: fix type of recompute_priorities ! 473: * kern/sched_prim.c (recompute_priorities): Fix type. ! 474: * kern/sched_prim.h (recompute_priorities): Likewise. ! 475: ! 476: 2014-09-26 Justus Winter <[email protected]> ! 477: ! 478: kern: create send rights as they are inserted at bootstrap time ! 479: Previously, it was impossible to hand e.g. the master device port to ! 480: more than one bootstrap task. Fix this by creating the send right as ! 481: it is inserted into the target task. ! 482: ! 483: * kern/bootstrap.c (bootstrap_create): Do not create the send rights ! 484: here... ! 485: (boot_script_insert_right): ... but here. ! 486: ! 487: 2014-09-25 Justus Winter <[email protected]> ! 488: ! 489: Update NEWS file ! 490: ! 491: 2014-09-17 Justus Winter <[email protected]> ! 492: ! 493: ddb: add support for ELF symbol tables ! 494: * ddb/db_elf.c: New file. ! 495: * ddb/db_elf.h: Likewise. ! 496: * Makefrag.am (libkernel_a_SOURCES): Add db_elf.{c,h}. ! 497: * ddb/db_sym.c (dummy_db_sym_init): New stub db_sym_init function. ! 498: (db_sym_switch): Add ELF functions. ! 499: * ddb/db_sym.h (SYMTAB_ELF): New macro. ! 500: (elf_db_sym_init): New declaration. ! 501: * i386/i386at/model_dep.c (c_boot_entry): Get ELF section header ! 502: information from the multiboot structure, and call elf_db_sym_init. ! 503: ! 504: ddb: add `show all tasks' command ! 505: * ddb/db_command.c (db_show_all_cmds): Add `tasks'. ! 506: * ddb/db_print.c (db_show_all_tasks): New function. ! 507: * ddb/db_print.h (db_show_all_tasks): New prototype. ! 508: ! 509: 2014-09-17 Samuel Thibault <[email protected]> ! 510: ! 511: Report DR6 to userland ! 512: * i386/i386/trap.c (user_trap): On T_DEBUG, record the content of dr6 in ! 513: PCB, and clear it. ! 514: ! 515: 2014-09-06 Samuel Thibault <[email protected]> ! 516: ! 517: Make vm_map really ignore `address' when `anywhere' is true ! 518: As vm_allocate does. ! 519: ! 520: * vm/vm_user.c (vm_map): When `anywhere' is true, set `address' to the ! 521: minimum address of the `target_map'. ! 522: ! 523: 2014-09-01 Pietro Braione <[email protected]> ! 524: ! 525: Fix printf warning ! 526: linux/src/drivers/net/sundance.c (start_tx): Fix format string according ! 527: to parameter. ! 528: ! 529: 2014-08-30 Samuel Thibault <[email protected]> ! 530: ! 531: Tune pageout parameters ! 532: This targets having always at least 8% free memory instead of just 1%. ! 533: This has shown improving buildd stability a lot. Also increase the ! 534: reserved amount to nowadays standards. ! 535: ! 536: * vm/vm_pageout.c (VM_PAGE_FREE_TARGET): Increase to 10%. ! 537: (VM_PAGE_FREE_MIN): Increase to 8%. ! 538: (VM_PAGE_FREE_RESERVED): Increase to 500 pages. ! 539: (VM_PAGEOUT_RESERVED_INTERNAL): Increase to 150 pages. ! 540: (VM_PAGEOUT_RESERVED_REALLY): Increase to 100 pages. ! 541: ! 542: 2014-08-30 Samuel Thibault <[email protected]> ! 543: ! 544: Increate the pageout thread priority ! 545: * vm/vm_pageout.c (vm_pageout): Set the priority to 0. ! 546: ! 547: 2014-08-30 Samuel Thibault <[email protected]> ! 548: ! 549: Bump NR_GRANT_PAGES ! 550: This has shown needed on buildds with several disks and network ! 551: interfaces. ! 552: ! 553: * xen/grant.c (NR_GRANT_PAGES): Increase from 4 to 8. ! 554: ! 555: 2014-08-22 Samuel Thibault <[email protected]> ! 556: ! 557: Fix computation ! 558: * i386/i386at/com.c (comintr): Fix computation of '@'. ! 559: ! 560: 2014-08-22 Neal H. Walfield <[email protected]> ! 561: ! 562: Even less magic-looking control value ! 563: * i386/i386at/com.c (comintr): Use 'A'-1 instead of '@'. ! 564: ! 565: 2014-08-22 Justus Winter <[email protected]> ! 566: ! 567: Support invoking the debugger over the serial console ! 568: * i386/i386at/com.c (comintr): Invoke the debugger if ctrl-alt-d is ! 569: pressed. ! 570: * i386/i386at/com.h (kdb_kintr): Add declaration. ! 571: ! 572: 2014-07-25 Samuel Thibault <[email protected]> ! 573: ! 574: Drop debugging prints ! 575: * i386/i386at/acpi.c (grub_machine_acpi_get_rsdpv2): Drop debugging ! 576: prints. ! 577: ! 578: 2014-07-06 Samuel Thibault <[email protected]> ! 579: ! 580: Do not unmap page 0 when not needed ! 581: Since we need it to access some BIOS information, e.g. at ACPI shutdown. When ! 582: the kernel VM is not starting at 0, there is already nothing mapped there in ! 583: user tasks, anyway. ! 584: ! 585: * i386/i386at/model_dep.c (machine_init) [VM_MIN_KERNEL_ADDRESS != 0]: ! 586: Do not call pmap_unmap_page_zero. ! 587: * i386/intel/pmap.c (pmap_unmap_page_zero): Warn that unmapping page ! 588: zero may break some BIOS functions. ! 589: ! 590: 2014-07-06 Samuel Thibault <[email protected]> ! 591: ! 592: Document that io_map_cached leaks memory ! 593: ! 594: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach ! 595: ! 596: 2014-07-06 Justus Winter <[email protected]> ! 597: ! 598: i386: use ACPI to power off the machine ! 599: This is a mostly verbatim copy of acpihalt.c from GRUB2 with a little ! 600: bit of glue code. ! 601: ! 602: * i386/Makefrag.am (libkernel_a_SOURCES): Add the new files. ! 603: * i386/grub/acpi.h: Verbatim copy from GRUB2. ! 604: * i386/grub/compiler.h: Likewise. ! 605: * i386/grub/cpu/io.h: Likewise. ! 606: * i386/grub/cpu/time.h: Likewise. ! 607: * i386/grub/cpu/types.h: Likewise. ! 608: * i386/grub/err.h: Likewise. ! 609: * i386/grub/misc.h: Likewise. ! 610: * i386/grub/mm.h: Likewise. ! 611: * i386/grub/symbol.h: Likewise. ! 612: * i386/grub/time.h: Likewise. ! 613: * i386/grub/types.h: Likewise. ! 614: * i386/i386at/acpi.c: Likewise. ! 615: * i386/i386at/acpihalt.c: Likewise. ! 616: (grub_acpi_halt): Map physical addresses. ! 617: * i386/i386at/acpihalt.h: New file. ! 618: * i386/grub/glue.h: Some glue macros. ! 619: * i386/grub/i18n.h: Stub out i18n. ! 620: * i386/i386at/grub_glue.c: Some glue code. ! 621: * i386/i386at/model_dep.c (halt_all_cpus): Use grub_acpi_halt. ! 622: ! 623: 2014-07-06 Justus Winter <[email protected]> ! 624: ! 625: i386: add io_map_cached ! 626: io_map_cached is like io_map, but reuses the old mapping if it is ! 627: applicable. ! 628: ! 629: * i386/i386/io_map.c: Add io_map_cached. ! 630: ! 631: 2014-06-11 Justus Winter <[email protected]> ! 632: ! 633: doc: explain the floating point flag in kdb output ! 634: * doc/mach.texi (Kernel Debugger Commands): Explain the floating point ! 635: flag. ! 636: ! 637: 2014-06-11 Justus Winter <[email protected]> ! 638: ! 639: i386: remap some keys ! 640: As a convenience for the nice people using our debugger, remap some ! 641: keys to the readline-like shortcuts supported by dde. ! 642: ! 643: * i386/i386at/kd.c (kdcnmaygetc): Remap some keys. ! 644: ! 645: 2014-06-11 Justus Winter <[email protected]> ! 646: ! 647: i386: reformat the key map ! 648: * i386/i386at/kd.c (key_map): Remove superfluous newlines so that ! 649: every entry fits into one line. This way line numbers can be used as ! 650: an index into the map. ! 651: ! 652: ddb: use db_thread_stat to format the flags ! 653: * ddb/db_print.c (db_print_thread): Use db_thread_stat to format the ! 654: flags. ! 655: ! 656: ddb: print task names if available ! 657: * ddb/db_print.c (db_print_task): Print task name if available. ! 658: * i386/i386/db_interface.c (db_task_name): Likewise. ! 659: * i386/i386/db_machdep.h (DB_GNUMACH_TASK_NAME): Remove unused definition. ! 660: ! 661: kern: set the name of the kernel task to 'gnumach' ! 662: * kern/taks.c (task_init): Set the name of the kernel task to 'gnumach'. ! 663: ! 664: 2014-06-11 Justus Winter <[email protected]> ! 665: ! 666: device: fix net_rcv_msg-messages ! 667: Previously, all net_rcv_msg-messages sent by net_deliver were ! 668: malformed. It never was a problem in practice, since the messages are ! 669: not complex and thus the kernel does not try to parse the message. ! 670: ! 671: struct net_rcv_msg contains an additional field of type boolean_t. ! 672: This field has no associated type descriptor, so it must not be ! 673: included in the message. ! 674: ! 675: * device/net_io.c (net_deliver): Account for the extra field in the ! 676: msgh_size calculation. ! 677: ! 678: 2014-05-27 Samuel Thibault <[email protected]> ! 679: ! 680: Add missing memory clobber ! 681: * i386/i386/xen.h (mb, rmb, wmb): Add memory clobber. ! 682: ! 683: 2014-05-25 Justus Winter <[email protected]> ! 684: ! 685: Rewrite old-style #endif FOO directives ! 686: * i386/include/mach/i386/cthreads.h: Rewrite old-style #endif FOO ! 687: directives. ! 688: * include/device/tape_status.h: Likewise. ! 689: * include/mach/alert.h: Likewise. ! 690: * include/mach/boot.h: Likewise. ! 691: * include/mach/default_pager_types.defs: Likewise. ! 692: * include/mach/default_pager_types.h: Likewise. ! 693: * include/mach/multiboot.h: Likewise. ! 694: * include/mach/notify.defs: Likewise. ! 695: * include/mach_debug/pc_info.h: Likewise. ! 696: * kern/act.h: Likewise. ! 697: * kern/refcount.h: Likewise. ! 698: * kern/shuttle.h: Likewise. ! 699: ! 700: 2014-05-25 Justus Winter <[email protected]> ! 701: ! 702: include: fix the embedded type definitions in memory_object.defs ! 703: In order to use MIG translation functions to lookup memory objects, ! 704: preprocessor macros have been introduced into the definition of ! 705: memory_object_t in 50cc5152. ! 706: ! 707: The procedure definitions contain inlined type definitions in order to ! 708: change the type of the argument in question (i.e. to make it ! 709: polymorphic). The inline definitions however lack the destructor ! 710: function, leading to reference leaks when a reference is acquired in ! 711: the intran function. ! 712: ! 713: * include/mach/memory_object.defs: Add the destructor functions to the ! 714: inlined type definitions. ! 715: ! 716: 2014-05-03 Justus Winter <[email protected]> ! 717: ! 718: ddb: add "halt" command ! 719: * ddb/db_command.c (db_command_table): Add "halt" command. ! 720: * i386/i386/db_interface.h (db_halt_cpu): New declaration. ! 721: * i386/i386at/model_dep.c (db_halt_cpu): New function. ! 722: ! 723: 2014-04-30 Justus Winter <[email protected]> ! 724: ! 725: vm: make struct vm_map fit into a cache line ! 726: Currently, the size of struct vm_map is 68 bytes. By using a bit ! 727: field for the boolean flags, it can be made fit into a cache line. ! 728: ! 729: * vm/vm_map.h (struct vm_map): Use a bit field for the boolean flags ! 730: wait_for_space and wiring_required. ! 731: ! 732: 2014-04-30 Justus Winter <[email protected]> ! 733: ! 734: i386: fix MACHINE_SERVER_HEADER ! 735: Commit b6dab094 introduced a way to include the MIG-generated server ! 736: files for the machine specific interface in ipc_kobject.c. ! 737: ! 738: This broke out-of-tree builds. Here, 'machine' is a symlink to ! 739: '../i386/i386', it points into the source tree. The MIG-generated ! 740: files however are put in the build tree in i386/i386. ! 741: ! 742: * i386/i386/machine_routines.h (MACHINE_SERVER_HEADER): Fix path. ! 743: ! 744: 2014-04-30 Justus Winter <[email protected]> ! 745: ! 746: kern: include the MIG-generated server headers for MACHINE_SERVER ! 747: GNU MIG recently gained support for emitting x_server_routine ! 748: declarations in the generated server header file. Using this ! 749: declaration, the x_server_routine functions can be inlined into the ! 750: ipc_kobject_server function. ! 751: ! 752: * kern/ipc_kobject.c: Include the MIG-generated server headers for the ! 753: machine-dependent interfaces. ! 754: (ipc_kobject_server): Drop the simple declaration of ! 755: MACHINE_SERVER_ROUTINE. ! 756: * i386/i386/machine_routines.h (MACHINE_SERVER_HEADER): New ! 757: definition. ! 758: ! 759: 2014-04-30 Justus Winter <[email protected]> ! 760: ! 761: include: do not guard the host_slab_info RPC with MACH_VM_DEBUG ! 762: Previously, the definition of the host_slab_info RPC was guarded with ! 763: MACH_VM_DEBUG, even though it is not at all concerned with the VM ! 764: subsystem. Furthermore, there was no "skip" directive for ! 765: host_slab_info. ! 766: ! 767: The function host_slab_info is guarded with MACH_DEBUG. The server ! 768: for the RPCs in mach_debug.defs is only used if MACH_DEBUG is ! 769: defined. There is no need to guard host_slab_info. ! 770: ! 771: * include/mach_debug/mach_debug.defs (host_slab_info): Unconditionally ! 772: include the RPC. ! 773: ! 774: 2014-04-30 Justus Winter <[email protected]> ! 775: ! 776: Install the mach_debug header files ! 777: The task_set_name RPC introduced in 877a319c changed ! 778: include/mach/gnumach.defs to include mach_debug/mach_debug_types.defs. ! 779: Previously though, the debug headers were not installed. ! 780: ! 781: * Makefrag.am: Install the mach_debug header files. ! 782: ! 783: 2014-04-30 Justus Winter <[email protected]> ! 784: ! 785: doc: fix the number of priorities ! 786: The number of priorities has been changed from 32 to 50 in ! 787: 6a234201081156e6d5742e7eeabb68418b518fad. ! 788: ! 789: * doc/mach.texi: Update accordingly. ! 790: ! 791: 2014-04-25 Samuel Thibault <[email protected]> ! 792: ! 793: Make sure mig is available ! 794: * configure.ac (MIG): Error out if MiG was not found. ! 795: ! 796: 2014-04-13 Justus Winter <[email protected]> ! 797: ! 798: kern: set the name of tasks created during the bootstrap ! 799: * kern/bootstrap.c (boot_script_task_create): Set the name of newly ! 800: created tasks. ! 801: ! 802: 2014-04-10 Justus Winter <[email protected]> ! 803: ! 804: include: fix the definition of device_open ! 805: Previously, every userspace server implementing the device protocol ! 806: filtered the device definitions to replace the device_t type with ! 807: mach_port_send_t to make the device argument of device_open ! 808: polymorphic. Rather than doing that, which makes it impossible to use ! 809: translation functions, fix the definition of device_open. ! 810: ! 811: * include/device/device.defs (device_open): Redefine the device ! 812: argument to make it polymorphic unless a outran function is specified. ! 813: ! 814: 2014-04-08 Justus Winter <[email protected]> ! 815: ! 816: include: make the device_t types translation functions mutable ! 817: Make the intran, outtran and destructor functions mutable using ! 818: preprocessor macros. Make it possible to inject imports using the ! 819: DEVICE_IMPORTS macro. This way, userspace servers can provide their ! 820: own translation functions. ! 821: ! 822: * include/device/device_types.defs: Honor DEVICE_IMPORTS. ! 823: (device_t): Make the translation mutable using preprocessor macros. ! 824: ! 825: 2014-04-05 Justus Winter <[email protected]> ! 826: ! 827: include: make the notify_port_t types translation functions mutable ! 828: Make the intran, outtran and destructor functions mutable using ! 829: preprocessor macros. Make it possible to inject imports using the ! 830: NOTIFY_IMPORTS macro. This way, userspace servers can provide their ! 831: own translation functions. ! 832: ! 833: * include/mach/notify.defs: Honor NOTIFY_IMPORTS. ! 834: (notify_port_t): Make the translation mutable using preprocessor macros. ! 835: ! 836: 2014-04-04 Marin Ramesa <[email protected]> ! 837: ! 838: Convert from K&R to ANSI ! 839: Convert from K&R style function definitions to ANSI style ! 840: function definitions. ! 841: ! 842: * ddb/db_access.c: Convert function prototypes from K&R to ANSI. ! 843: * ddb/db_aout.c: Likewise. ! 844: * ddb/db_break.c: Likewise. ! 845: * ddb/db_command.c: Likewise. ! 846: * ddb/db_cond.c: Likewise. ! 847: * ddb/db_examine.c: Likewise. ! 848: * ddb/db_expr.c: Likewise. ! 849: * ddb/db_ext_symtab.c: Likewise. ! 850: * ddb/db_input.c: Likewise. ! 851: * ddb/db_lex.c: Likewise. ! 852: * ddb/db_macro.c: Likewise. ! 853: * ddb/db_mp.c: Likewise. ! 854: * ddb/db_output.c: Likewise. ! 855: * ddb/db_print.c: Likewise. ! 856: * ddb/db_run.c: Likewise. ! 857: * ddb/db_sym.c: Likewise. ! 858: * ddb/db_task_thread.c: Likewise. ! 859: * ddb/db_trap.c: Likewise. ! 860: * ddb/db_variables.c: Likewise. ! 861: * ddb/db_watch.c: Likewise. ! 862: * device/blkio.c: Likewise. ! 863: * device/chario.c: Likewise. ! 864: * device/dev_lookup.c: Likewise. ! 865: * device/dev_name.c: Likewise. ! 866: * device/dev_pager.c: Likewise. ! 867: * device/ds_routines.c: Likewise. ! 868: * device/net_io.c: Likewise. ! 869: * device/subrs.c: Likewise. ! 870: * i386/i386/db_interface.c: Likewise. ! 871: * i386/i386/fpu.c: Likewise. ! 872: * i386/i386/io_map.c: Likewise. ! 873: * i386/i386/loose_ends.c: Likewise. ! 874: * i386/i386/mp_desc.c: Likewise. ! 875: * i386/i386/pcb.c: Likewise. ! 876: * i386/i386/phys.c: Likewise. ! 877: * i386/i386/trap.c: Likewise. ! 878: * i386/i386/user_ldt.c: Likewise. ! 879: * i386/i386at/com.c: Likewise. ! 880: * i386/i386at/kd.c: Likewise. ! 881: * i386/i386at/kd_event.c: Likewise. ! 882: * i386/i386at/kd_mouse.c: Likewise. ! 883: * i386/i386at/kd_queue.c: Likewise. ! 884: * i386/i386at/lpr.c: Likewise. ! 885: * i386/i386at/model_dep.c: Likewise. ! 886: * i386/i386at/rtc.c: Likewise. ! 887: * i386/intel/pmap.c: Likewise. ! 888: * i386/intel/read_fault.c: Likewise. ! 889: * ipc/ipc_entry.c: Likewise. ! 890: * ipc/ipc_hash.c: Likewise. ! 891: * ipc/ipc_kmsg.c: Likewise. ! 892: * ipc/ipc_marequest.c: Likewise. ! 893: * ipc/ipc_mqueue.c: Likewise. ! 894: * ipc/ipc_notify.c: Likewise. ! 895: * ipc/ipc_port.c: Likewise. ! 896: * ipc/ipc_right.c: Likewise. ! 897: * ipc/mach_debug.c: Likewise. ! 898: * ipc/mach_msg.c: Likewise. ! 899: * ipc/mach_port.c: Likewise. ! 900: * ipc/mach_rpc.c: Likewise. ! 901: * kern/act.c: Likewise. ! 902: * kern/exception.c: Likewise. ! 903: * kern/ipc_mig.c: Likewise. ! 904: * kern/ipc_tt.c: Likewise. ! 905: * kern/lock_mon.c: Likewise. ! 906: * kern/mach_clock.c: Likewise. ! 907: * kern/machine.c: Likewise. ! 908: * kern/printf.c: Likewise. ! 909: * kern/priority.c: Likewise. ! 910: * kern/startup.c: Likewise. ! 911: * kern/syscall_emulation.c: Likewise. ! 912: * kern/syscall_subr.c: Likewise. ! 913: * kern/thread_swap.c: Likewise. ! 914: * kern/time_stamp.c: Likewise. ! 915: * kern/timer.c: Likewise. ! 916: * kern/xpr.c: Likewise. ! 917: * vm/memory_object.c: Likewise. ! 918: * vm/vm_debug.c: Likewise. ! 919: * vm/vm_external.c: Likewise. ! 920: * vm/vm_fault.c: Likewise. ! 921: * vm/vm_kern.c: Likewise. ! 922: * vm/vm_map.c: Likewise. ! 923: * vm/vm_pageout.c: Likewise. ! 924: * vm/vm_user.c: Likewise. ! 925: ! 926: 2014-04-04 Samuel Thibault <[email protected]> ! 927: ! 928: Fix prototype ! 929: * linux/dev/glue/block.c (device_set_status): Fix prototype. ! 930: ! 931: 2014-04-04 Marin Ramesa <[email protected]> ! 932: ! 933: Use explicit prototypes for struct dev_ops fields ! 934: * device/conf.h: Include <sys/types.h>, <mach/port.h>, <mach/vm_prot.h>. ! 935: Predefine struct io_req, io_req_t and io_return_t. ! 936: (dev_ops): Add explicit prototypes for d_open, d_close, d_read, d_write, ! 937: d_getstat, d_setstat, d_mmap, d_port_death. ! 938: (nulldev_open, nulldev_close, nulldev_read, nulldev_write, ! 939: nulldev_getstat, nulldev_setstat, nulldev_portdeath): Add prototypes. ! 940: (nomap): Fix prototype. ! 941: * device/dev_name.c (nulldev_open, nulldev_close, nulldev_read, ! 942: nulldev_write, nulldev_getstat, nulldev_setstat, nulldev_portdeath): New ! 943: functions. ! 944: (nomap): Fix prototype. ! 945: * device/ds_routines.c (dev_close): Pass 0 as flag parameter. ! 946: * device/kmsg.c (kmsgclose): Drop return value. ! 947: * device/kmsg.h (kmsgclose): Fix prototype. ! 948: * i386/i386at/com.c (comopen): Fix prototype. ! 949: (comclose): Fix prototype, drop return value. ! 950: (comread, comwrite): Fix prototype. ! 951: * i386/i386at/com.h (comopen, comclose, comread, comwrite): Fix ! 952: prototype. ! 953: * i386/i386at/conf.c (dev_ops): Use nulldev_open, nulldev_close, ! 954: nulldev_read, nulldev_write, nulldev_getstat, nulldev_setstat, ! 955: nulldev_portdeath where appropriate. ! 956: * i386/i386at/kd.c (kdclose, kdread, kdwrite, kdmmap): Fix prototype. ! 957: * i386/i386at/kd.h (kdclose, kdread, kdwrite, kdmmap): Likewise. ! 958: * i386/i386at/kd_event.c (kbdopen): Likewise. ! 959: * i386/i386at/kd_event.h (kbdopen): Likewise. ! 960: * i386/i386at/kd_mouse.c (mouseopen): Likewise. ! 961: * i386/i386at/kd_mouse.h (mouseopen): Likewise. ! 962: * i386/i386at/lpr.c (lpropen, lprclose, lprread, lprwrite): Likewise. ! 963: * i386/i386at/lpr.h (lpropen, lprclose, lprread, lprwrite): Likewise. ! 964: * i386/i386at/mem.c (memmmap): Likewise. ! 965: * i386/i386at/mem.h (memmmap): Likewise. ! 966: * i386/i386at/model_dep.c (timemmap): Likewise. ! 967: * i386/i386at/model_dep.h (timemmap): Likewise. ! 968: * kern/mach_clock.c (timeopen, timeclose): Likewise. ! 969: * kern/mach_clock.h: Include <sys/types.h>, predefine struct io_req and ! 970: io_req_t. ! 971: (timeopen, timeclose): Fix prototype. ! 972: ! 973: 2014-03-28 Samuel Thibault <[email protected]> ! 974: ! 975: Assume EGA/VGA card ! 976: CGA and MONO cards are more than hard to find nowadays, and some buggy BIOSes ! 977: claim running them nowadays... ! 978: ! 979: * i386/i386at/kd.c (kd_xga_init): Do not handle CGA and MONO cases any ! 980: more, which thus default to EGA/VGA. ! 981: ! 982: 2014-03-28 Samuel Thibault <[email protected]> ! 983: ! 984: Really default to EGA/VGA on unknown CMOS values ! 985: * i386/i386at/kd.c (kd_xga_init): Use CM_EGA_VGA behavior as default ! 986: case for unknown values of CMOS data. ! 987: ! 988: 2014-03-26 Justus Winter <[email protected]> ! 989: ! 990: kern: fix formatting of multiboot modules ! 991: Previously, bootstrap_create would print the multiboot modules with ! 992: padding applied to the end of the line. As multiboot modules as used ! 993: by the Hurd span more than one line. This makes the list of modules ! 994: hard to read and it looks unclean, more like an accident. ! 995: Furthermore, it is not clear what the intend of this was, as the ! 996: padding is applied at the end of the line, with no further information ! 997: printed thereafter. ! 998: ! 999: * kern/bootstrap.c (bootstrap_create): Remove variable maxlen and len, ! 1000: update printfs. ! 1001: ! 1002: 2014-03-25 Justus Winter <[email protected]> ! 1003: ! 1004: include: make the memory_object_t types translation functions mutable ! 1005: Make the intran, outtran and destructor functions mutable using ! 1006: preprocessor macros. Make it possible to inject imports using the ! 1007: MEMORY_OBJECT_IMPORTS macro. This way, userspace servers can provide ! 1008: their own translation functions. ! 1009: ! 1010: * include/mach/mach_types.defs (memory_object_t): Make the translation ! 1011: mutable using preprocessor macros. ! 1012: * include/mach/memory_object.defs: Likewise for the inlined type declarations. ! 1013: Honor MEMORY_OBJECT_IMPORTS. ! 1014: * include/mach/memory_object_default.defs: Likewise. ! 1015: ! 1016: 2014-03-22 Samuel Thibault <[email protected]> ! 1017: ! 1018: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach ! 1019: ! 1020: 2014-03-22 Samuel Thibault <[email protected]> ! 1021: ! 1022: Fix overflow ! 1023: We were filling much more than the mapwindows array, thus overwriting in ! 1024: at least debugger variables. ! 1025: ! 1026: * i386/intel/pmap.c (pmap_bootstrap): Make sure to limit mapwindows ! 1027: initialization within PMAP_NMAPWINDOWS. ! 1028: ! 1029: 2014-03-20 Justus Winter <[email protected]> ! 1030: ! 1031: xen: fix error handling ! 1032: Previously, the error KERN_RESOURCE_SHORTAGE was not properly ! 1033: propagated. ! 1034: ! 1035: Found using the Clang Static Analyzer. ! 1036: ! 1037: * xen/block.c (device_open): Fix error handling, remove unused label. ! 1038: * xen/net.c (device_open): Likewise. ! 1039: ! 1040: 2014-03-20 Samuel Thibault <[email protected]> ! 1041: ! 1042: Only complain once per boot about Xen console smash ! 1043: * xen/console.c (hypputc): Make `complain' variable static. ! 1044: ! 1045: 2014-03-17 Samuel Thibault <[email protected]> ! 1046: ! 1047: Increase possible number of AHCI devices to 8 ! 1048: by reducing possible number of partitions to 32. ! 1049: ! 1050: * linux/dev/drivers/block/ahci.c (MAX_PORTS): Set to 8. ! 1051: (PARTN_BITS): Set to 5. ! 1052: ! 1053: 2014-03-03 Samuel Thibault <[email protected]> ! 1054: ! 1055: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach ! 1056: ! 1057: 2014-03-03 Samuel Thibault <[email protected]> ! 1058: ! 1059: Keep two virtual pages as mapping windows to access physical memory ! 1060: PCI devices expose their memory etc. way beyond last_phys_addr. Userland ! 1061: drivers opening /dev/mem need to open those too, even if phystokv() will ! 1062: not work for them. ! 1063: ! 1064: * i386/intel/pmap.h (pmap_mapwindow_t): New type. ! 1065: (pmap_get_mapwindow, pmap_put_mapwindow): New prototypes. ! 1066: (PMAP_NMAPWINDOWS): New macro. ! 1067: * i386/intel/pmap.c (mapwindows): New array. ! 1068: (pmap_get_mapwindow, pmap_put_mapwindow): New functions. ! 1069: (pmap_bootstrap, pmap_virtual_space): Reserve virtual pages for the mapping ! 1070: windows. ! 1071: * i386/i386/phys.c: Include <i386/model_dep.h> ! 1072: (INTEL_PTE_W, INTEL_PTE_R): New macros ! 1073: (pmap_zero_page, pmap_copy_page, copy_to_phys, copy_from_phys): Use ! 1074: `pmap_get_mapwindow' to temporarily map physical pages beyond last_phys_addr. ! 1075: ! 1076: 2014-02-26 Justus Winter <[email protected]> ! 1077: ! 1078: kern: fix mig_strncpy ! 1079: Previously, the function mig_strncpy would always zero-terminate the ! 1080: destination string. Make mig_strncpy behave like mig_strncpy and ! 1081: strncpy in the glibc. Also fix the implementation of mig_strncpy to ! 1082: return the length of the written string to align the implementation ! 1083: with the declaration in include/mach/mig_support.h. ! 1084: ! 1085: * kern/ipc_mig.c (mig_strncpy): Do not zero-terminate the destination ! 1086: string. Return length of destination string. ! 1087: ! 1088: 2014-02-23 Samuel Thibault <[email protected]> ! 1089: ! 1090: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach ! 1091: ! 1092: AHCI driver cleanups ! 1093: * linux/dev/drivers/block/ahci.c (struct port): Add id and is_cd fields. ! 1094: (ahci_end_request): Only print error if quiet flag of the request is not ! 1095: set. ! 1096: (ahci_do_port_request): Upgrade sector parameter to 64 bit. Include ! 1097: those bits in the LBA48 request. ! 1098: (ahci_do_request): Upgrade sector count to 64bit. Only print errors if ! 1099: quiet flag of the request is not set. ! 1100: (ahci_probe_port): Move identify code... ! 1101: (ahci_identify): ... to new function. Handle WIN_PIDENTIFY case to ! 1102: recognize ATAPI devices. ! 1103: (ahci_probe_port): Also try WIN_PIDENTIFY command. ! 1104: (ahci_geninit): Avoid checking partition table on empty devices. ! 1105: ! 1106: 2014-02-19 Justus Winter <[email protected]> ! 1107: ! 1108: include: skip routines related to migrating threads ! 1109: * include/mach/mach_port.defs: Skip the routines mach_port_set_rpcinfo ! 1110: and mach_port_create_act if MIGRATING_THREADS is not defined. ! 1111: ! 1112: 2014-02-12 Samuel Thibault <[email protected]> ! 1113: ! 1114: Reduce kmem_map to make room for kentry_data_size ! 1115: * kern/slab.c (KMEM_MAP_SIZE): Decrease from 128MiB to 96MiB. ! 1116: ! 1117: 2014-02-10 Samuel Thibault <[email protected]> ! 1118: ! 1119: Make open return ENXIO on missing CD-ROM ! 1120: * linux/src/drivers/block/ide-cd.c (ide_cdrom_open): Return -ENXIO when ! 1121: CD sense failed. ! 1122: ! 1123: Add quiet flag to CD I/O ! 1124: * linux/src/drivers/block/ide-cd.c (cdrom_queue_packet_command): Add `quiet' ! 1125: parameter, copied into the request. ! 1126: (cdrom_decode_status): Do not print I/O error when `quiet' field of ! 1127: request is non-zero. ! 1128: (cdrom_end_request): Do not print sense results when `quiet' field of ! 1129: request is non-zero. ! 1130: (cdrom_check_status, cdrom_read_capacity, cdrom_read_tocentry): Pass 1 to ! 1131: `cdrom_queue_packet_command''s `quiet' parameter. ! 1132: (cdrom_lockdoor, cdrom_eject, cdrom_pause, cdrom_startstop, ! 1133: cdrom_read_subchannel, cdrom_mode_sense, cdrom_mode_select, ! 1134: cdrom_play_lba_range_1, cdrom_read_block, cdrom_load_unload, ! 1135: ide_cdrom_ioctl): Pass 0 to `cdrom_queue_packet_command''s `quiet' parameter. ! 1136: ! 1137: Add missing initialization ! 1138: * linux/src/drivers/block/ide.c (ide_init_drive_cmd): Initialize `quiet' ! 1139: field of request to 0; ! 1140: ! 1141: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach ! 1142: ! 1143: 2014-02-10 Samuel Thibault <[email protected]> ! 1144: ! 1145: Add quiet flag to block I/O ! 1146: This avoids grub & such making Mach print flurries of floppy errors. ! 1147: ! 1148: * linux/dev/include/linux/blkdev.h (request): Add `quiet' field. ! 1149: * linux/dev/include/linux/blk.h (end_request): Print I/O error only if ! 1150: the `quiet' field of the request is 0. ! 1151: * linux/dev/include/linux/fs.h (ll_rw_block): Add `quiet' parameter. ! 1152: * linux/dev/glue/block.c (ll_rw_block): Add `quiet' parameter, copied into ! 1153: the request. ! 1154: (bread, rdwr_partial, rdwr_full): Pass 0 to `ll_rw_block''s `quiet' parameter. ! 1155: * linux/dev/drivers/block/floppy.c (floppy_revalidate): Pass 1 to ! 1156: `ll_rw_block''s `quiet' parameter. ! 1157: ! 1158: 2014-02-06 Richard Braun <[email protected]> ! 1159: ! 1160: vm: trigger garbage collection on kernel memory pressure ! 1161: In addition to physical pages, the slab allocator also consumes kernel ! 1162: virtual memory, so reclaim pages on failure to allocate from a kernel map. ! 1163: This method isn't foolproof but helps alleviate fragmentation. ! 1164: ! 1165: * vm/vm_kern.c (kmem_alloc): Call slab_collect and retry allocation ! 1166: once on failure. ! 1167: (kmem_realloc): Likewise. ! 1168: (kmem_alloc_wired): Likewise. ! 1169: (kmem_alloc_wired): Likewise. ! 1170: (kmem_alloc_aligned): Likewise. ! 1171: ! 1172: 2014-02-05 Samuel Thibault <[email protected]> ! 1173: ! 1174: Remove duplicate typedef ! 1175: * device/net_io.c (net_rcv_port_t, net_hash_entry_t, net_hash_header_t): ! 1176: Remove duplicate typedefs. ! 1177: ! 1178: 2014-02-05 Justus Winter <[email protected]> ! 1179: ! 1180: doc: document task_set_name ! 1181: * doc/mach.texi (Task Information): Document the new task_set_name ! 1182: procedure. ! 1183: ! 1184: 2014-02-05 Justus Winter <[email protected]> ! 1185: ! 1186: include: add task_set_name ! 1187: task_set_name sets the name of a task. This is a debugging aid. The ! 1188: name will be used in error messages printed by the kernel. ! 1189: ! 1190: * include/mach/gnumach.defs (task_set_name): New procedure. ! 1191: ! 1192: 2014-02-05 Justus Winter <[email protected]> ! 1193: ! 1194: kern: implement task_set_name ! 1195: task_set_name sets the name of a task. This is a debugging aid. The ! 1196: name will be used in error messages printed by the kernel. ! 1197: ! 1198: * kern/task.c (task_set_name): New function. ! 1199: * kern/task.h (task_set_name): New declaration. ! 1200: ! 1201: 2014-02-04 Samuel Thibault <[email protected]> ! 1202: ! 1203: Fix comstart when the queue is empty ! 1204: Found by Coverity ! 1205: ! 1206: * i386/i386at/com.c (comstart): Make `nch' an int. When `getc' returns ! 1207: -1, just return. ! 1208: ! 1209: 2014-02-04 Samuel Thibault <[email protected]> ! 1210: ! 1211: Fix potential NULL dereference ! 1212: Found by Coverity ! 1213: ! 1214: * i386/i386/user_ldt.c (i386_get_ldt): Fetch `pcb' field of `thread' ! 1215: only after looking for `thread' being NULL. ! 1216: ! 1217: 2014-02-04 Samuel Thibault <[email protected]> ! 1218: ! 1219: Fix potential NULL dereference ! 1220: * vm/vm_kern.c (projected_buffer_deallocate): Look for `map' being NULL ! 1221: or kernel_map before locking it. ! 1222: ! 1223: 2014-02-04 Samuel Thibault <[email protected]> ! 1224: ! 1225: Fix potential NULL dereference ! 1226: Found by Coverity ! 1227: ! 1228: * i386/i386/db_trace.c (db_find_kthread): Handle case when task is NULL. ! 1229: ! 1230: 2014-02-04 Samuel Thibault <[email protected]> ! 1231: ! 1232: Fix potential NULL dereference ! 1233: Found by Coverity. ! 1234: ! 1235: * i386/i386at/com.c (comopen): On com_reprobe() returning success, check ! 1236: for `isai' again. ! 1237: ! 1238: 2014-02-04 Justus Winter <[email protected]> ! 1239: ! 1240: xen: fix buffer size ! 1241: Previously, only strlen(device_name) bytes were allocated, missing one ! 1242: byte for the terminating zero. ! 1243: ! 1244: * xen/block.c (hyp_block_init): Fix buffer size. ! 1245: ! 1246: 2014-02-04 Justus Winter <[email protected]> ! 1247: ! 1248: ddb: safely copy symbol names into the symtab structure ! 1249: Use strncpy instead of strcpy to copy the name of a symbol into the ! 1250: symtab structure. Make sure that the string is properly terminated. ! 1251: ! 1252: Found using Coverity. ! 1253: ! 1254: * ddb/db_sym.c (db_add_symbol_table): Use strncpy instead of strcpy, ! 1255: ensure string termination. ! 1256: ! 1257: 2014-02-04 Justus Winter <[email protected]> ! 1258: ! 1259: kern: make kmem_error panic ! 1260: The slab allocator relies on the fact that kmem_cache_error does not ! 1261: return. Previously, kmem_error was using printf. Use panic instead. ! 1262: ! 1263: Found using the Clang Static Analyzer. ! 1264: ! 1265: * kern/slab.c (kmem_error): Use panic instead of printf. ! 1266: ! 1267: 2014-02-04 Justus Winter <[email protected]> ! 1268: ! 1269: kern: use kmem_warn instead of kmem_error in kmem_cache_error ! 1270: * kern/slab.c (kmem_cache_error): Use kmem_warn instead of kmem_error ! 1271: to print the cache name and its address. ! 1272: ! 1273: 2014-02-04 Samuel Thibault <[email protected]> ! 1274: ! 1275: Fix FPU state copy size ! 1276: * i386/i386/fpu.c (fpu_set_state, fpu_get_state): Fix size of ! 1277: `user_fp_regs' access. ! 1278: ! 1279: Make empty while loops more prominent ! 1280: * i386/i386at/kd.c (kdintr, kd_senddata, kd_sendcmd, kd_getgata, ! 1281: kd_cmdreg_read, kd_cmdreg_write, kd_mouse_drain): Move semi colon of ! 1282: empty while loops on a single line to make it more visible. ! 1283: ! 1284: 2014-02-04 Samuel Thibault <[email protected]> ! 1285: ! 1286: Fix FPU state access ! 1287: Found by coverity. ! 1288: ! 1289: * i386/i386/fpu.c (fpu_set_state, fpu_get_state): Fix out of bound ! 1290: `user_fp_regs' access. ! 1291: ! 1292: 2014-02-04 Samuel Thibault <[email protected]> ! 1293: ! 1294: Fix typo ! 1295: * i386/i386at/kd_mouse.c (mouseopen): Fix typo. ! 1296: ! 1297: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach ! 1298: ! 1299: 2014-02-04 Samuel Thibault <[email protected]> ! 1300: ! 1301: Add missing break ! 1302: Found by Coverity ! 1303: ! 1304: * i386/i386at/kd_mouse.c (mouseopen): Add missing break. ! 1305: ! 1306: 2014-02-01 Justus Winter <[email protected]> ! 1307: ! 1308: include: add a fixed-size string type for debugging purposes ! 1309: * include/mach/debug.defs: New file. ! 1310: * include/mach/debug.h: Likewise. ! 1311: ! 1312: ipc: use the name of the task for error messages ! 1313: * ipc/mach_port.c (mach_port_destroy): Use the name of the task for ! 1314: error messages. ! 1315: (mach_port_deallocate): Likewise. ! 1316: ! 1317: kern: add a name field to struct task ! 1318: * kern/task.c (task_create): Initialize name with the address of the task. ! 1319: * kern/task.h (TASK_NAME_SIZE): New definition. ! 1320: (struct task): Add field name. ! 1321: ! 1322: kern: add snprintf ! 1323: * kern/printf.c (snprintf): New function. ! 1324: * kern/printf.h (snprintf): New declaration. ! 1325: ! 1326: 2014-01-16 Justus Winter <[email protected]> ! 1327: ! 1328: kern: include the mig-generated server headers in ipc_kobject.c ! 1329: GNU MIG recently gained support for emitting x_server_routine ! 1330: declarations in the generated server header file. Using this ! 1331: declaration, the x_server_routine functions can be inlined into the ! 1332: ipc_kobject_server function. ! 1333: ! 1334: * kern/ipc_kobject.c: Include the mig-generated server headers. ! 1335: ! 1336: 2014-01-16 Justus Winter <[email protected]> ! 1337: ! 1338: vm: remove the declaration of memory_object_create_proxy ! 1339: It is not clear to me why the declaration was put there in the first ! 1340: place. It is not used anywhere, and it conflicts with the declaration ! 1341: generated by mig. ! 1342: ! 1343: * vm/memory_object_proxy.h (memory_object_create_proxy): Remove declaration. ! 1344: ! 1345: 2014-01-09 Justus Winter <[email protected]> ! 1346: ! 1347: kern: align kmem_cache objects using __cacheline_aligned ! 1348: * kern/slab.h (struct kmem_cache): Align kmem_cache objects using ! 1349: __cacheline_aligned. ! 1350: ! 1351: include: add new file for cache-related definitions ! 1352: * include/cache.h (__cacheline_aligned): This macro can be used to ! 1353: align statically allocated objects so that they start at a cache line. ! 1354: ! 1355: 2014-01-06 Justus Winter <[email protected]> ! 1356: ! 1357: kern: optimize the layout of struct kmem_cache ! 1358: * kern/slab.h (struct kmem_cache): Reorder the fields so that all hot ! 1359: fields are within the first cache line. ! 1360: ! 1361: 2014-01-05 Justus Winter <[email protected]> ! 1362: ! 1363: kern: explain the significance of the chosen length ! 1364: * kern/slab.h (KMEM_CACHE_NAME_SIZE): Explain the significance of the ! 1365: chosen length. ! 1366: ! 1367: 2014-01-05 Justus Winter <[email protected]> ! 1368: ! 1369: linux: fix bit tests ! 1370: The pattern is !x&y. An expression of this form is almost always ! 1371: meaningless, because it combines a boolean operator with a bit ! 1372: operator. In particular, if the rightmost bit of y is 0, the result ! 1373: will always be 0. ! 1374: ! 1375: Fixed using coccinelle. ! 1376: ! 1377: // !x&y combines boolean negation with bitwise and ! 1378: // ! 1379: // Confidence: High ! 1380: // Copyright: (C) Gilles Muller, Julia Lawall, EMN, DIKU. GPLv2. ! 1381: // URL: http://www.emn.fr/x-info/coccinelle/rules/notand.html ! 1382: // Options: ! 1383: ! 1384: @@ expression E1,E2; @@ ! 1385: ( ! 1386: !E1 & !E2 ! 1387: | ! 1388: - !E1 & E2 ! 1389: + !(E1 & E2) ! 1390: ) ! 1391: ! 1392: * linux/src/drivers/scsi/FlashPoint.c: Fix bit tests. ! 1393: ! 1394: 2014-01-05 Justus Winter <[email protected]> ! 1395: ! 1396: linux: fix bit tests ! 1397: The pattern is !x&y. An expression of this form is almost always ! 1398: meaningless, because it combines a boolean operator with a bit ! 1399: operator. In particular, if the rightmost bit of y is 0, the result ! 1400: will always be 0. ! 1401: ! 1402: Fixed using coccinelle. ! 1403: ! 1404: // !x&y combines boolean negation with bitwise and ! 1405: // ! 1406: // Confidence: High ! 1407: // Copyright: (C) Gilles Muller, Julia Lawall, EMN, DIKU. GPLv2. ! 1408: // URL: http://www.emn.fr/x-info/coccinelle/rules/notand.html ! 1409: // Options: ! 1410: ! 1411: @@ expression E; constant C; @@ ! 1412: ( ! 1413: !E & !C ! 1414: | ! 1415: - !E & C ! 1416: + !(E & C) ! 1417: ) ! 1418: ! 1419: * linux/src/drivers/net/tlan.c: Fix bit tests. ! 1420: * linux/src/drivers/scsi/AM53C974.c: Likewise. ! 1421: * linux/src/drivers/scsi/FlashPoint.c: Likewise. ! 1422: * linux/src/drivers/scsi/NCR5380.c: Likewise. ! 1423: * linux/src/drivers/scsi/t128.c: Likewise. ! 1424: ! 1425: 2014-01-03 Justus Winter <[email protected]> ! 1426: ! 1427: kern: make struct kmem_cache fit into two cache lines ! 1428: Previously, the size of struct kmem_cache was 136 bytes, just eight ! 1429: bytes larger than 128 bytes, which is typically two cache lines on ! 1430: today's CPUs. ! 1431: ! 1432: By reducing the size of the name field which holds a human-readable ! 1433: description by eight bytes to 24 bytes, the struct kmem_cache can be ! 1434: made fit into two cache lines. This change should not affect the ! 1435: usefulness of this field. For reference, the length of the largest ! 1436: hard-coded name is 17. ! 1437: ! 1438: * kern/slab.h (KMEM_CACHE_NAME_SIZE): Define to 24. ! 1439: ! 1440: 2014-01-03 Justus Winter <[email protected]> ! 1441: ! 1442: kern: reduce the size of struct task ! 1443: * kern/task.h (struct task): Reduce the size of struct task by ! 1444: 2 * sizeof boolean_t by using a bit field for the boolean flags. ! 1445: ! 1446: 2014-01-03 Justus Winter <[email protected]> ! 1447: ! 1448: vm: reduce the size of struct vm_page ! 1449: Previously, the bit field left 31 bits unused. By reducing the size ! 1450: of wire_count by one bit, the size of the whole struct is reduced by ! 1451: four bytes. ! 1452: ! 1453: * vm/vm_page.h (struct vm_page): Reduce the size of wire_count to 15 ! 1454: bits. ! 1455: ! 1456: 2014-01-03 Justus Winter <[email protected]> ! 1457: ! 1458: vm: merge the two bit fields in struct vm_page ! 1459: * vm/vm_page.h (struct vm_page): Merge the two bit fields. ! 1460: ! 1461: 2014-01-03 Justus Winter <[email protected]> ! 1462: ! 1463: vm: remove NS32000-specific padding from struct vm_page ! 1464: Apparently, the NS32000 was a 32-bit CPU from the 1990ies. The string ! 1465: "ns32000" appears nowhere else in the source. ! 1466: ! 1467: * vm/vm_page.h (struct vm_page): Remove NS32000-specific padding. ! 1468: ! 1469: 2014-01-02 Samuel Thibault <[email protected]> ! 1470: ! 1471: Make sure cursor is initialized ! 1472: * i386/i386at/kd.c (kd_xga_init): Add start, stop variables, read them ! 1473: from CRT registers, make sure the cursor is enabled and is not reduced ! 1474: to 0, and write them back to CRT registers. ! 1475: * i386/i386at/kd.h (C_START, C_STOP): New macros. ! 1476: ! 1477: 2014-01-01 Marin Ramesa <[email protected]> ! 1478: ! 1479: i386/include/mach/i386/mach_i386_types.h: add comments after else and endif ! 1480: * i386/include/mach/i386/mach_i386_types.h (MACH_KERNEL): Add comments after else and endif. ! 1481: ! 1482: Add comment after endif ! 1483: * i386/i386/io_perm.h (_I386_IO_PERM_H_): Add comment after endif. ! 1484: ! 1485: 2013-12-20 Samuel Thibault <[email protected]> ! 1486: ! 1487: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach ! 1488: ! 1489: 2013-12-20 Marin Ramesa <[email protected]> ! 1490: ! 1491: Mark pure functions with attribute pure ! 1492: ! 1493: kern/strings.c (strlen): mark with attribute pure ! 1494: * kern/strings.c (strlen): Mark with attribute pure. ! 1495: ! 1496: ddb/db_watch.c (db_watchpoint_cmd): remove forward declaration ! 1497: * ddb/db_watch.c (db_watchpoint_cmd) (db_option): Remove forward declaration. ! 1498: ! 1499: 2013-12-20 Marin Ramesa <[email protected]> ! 1500: ! 1501: Declare void argument lists (part 2) ! 1502: Declare void argument lists that were not declared in the first ! 1503: part of this patch and ! 1504: ! 1505: * kern/sched_prim.h (recompute_priorities): Fix prototype. ! 1506: * kern/startup.c (setup_main) (recompute_priorities): Fix call. ! 1507: ! 1508: 2013-12-18 Justus Winter <[email protected]> ! 1509: ! 1510: i386: add missing includes ! 1511: * i386/i386at/kd_event.h: Add missing includes. ! 1512: ! 1513: 2013-12-17 Marin Ramesa <[email protected]> ! 1514: ! 1515: kern: avoid the casts in enqueue_head() and enqueue_tail() ! 1516: * kern/eventcount.c (simpler_thread_setrun) (enqueue_head) (th): Avoid the cast. ! 1517: * kern/thread.c (thread_halt_self) (enqueue_tail) (thread): Likewise. ! 1518: * kern/thread_swap.c (thread_swapin) (enqueue_tail) (thread): Likewise. ! 1519: ! 1520: Mark functions that don't return with attribute noreturn ! 1521: ! 1522: vm: qualify pointers whose dereferenced values are constant with const ! 1523: ! 1524: util: qualify pointers whose dereferenced values are constant with const ! 1525: ! 1526: kern: qualify pointers whose dereferenced values are constant with const ! 1527: ! 1528: ipc: qualify pointers whose dereferenced values are constant with const ! 1529: ! 1530: i386: qualify pointers whose dereferenced values are constant with const ! 1531: ! 1532: device: qualify pointers whose dereferenced values are constant with const ! 1533: ! 1534: Cleanup of the copyin() and copyout() calls ! 1535: * device/ds_routines.c (device_write_trap) (copyin) (data): Cast to (void *). Argument is an address. ! 1536: (device_write_trap) (copyin) (io_data): Don't cast. ! 1537: (device_writev_trap) (copyin) (iovec, stack_iovec): Likewise. ! 1538: (device_writev_trap) (copyin) (data, p): Cast to (void *). Arguments are addresses. ! 1539: * kern/bootstrap.c (build_args_and_stack) (copyout) (arg_count, string_pos, zero): Don't cast. ! 1540: * kern/ipc_mig.c (syscall_vm_map) (copyin, copyout) (addr, address): Likewise. ! 1541: (syscall_vm_allocate) (copyin, copyout) (addr, address): Likewise. ! 1542: (syscall_task_create) (copyout) (name, child_task): Likewise. ! 1543: (syscall_mach_port_allocate) (copyout) (name, namep): Likewise. ! 1544: * kern/time_stamp.c (copyout) (temp, tsp): Likewise. ! 1545: ! 1546: 2013-12-17 Marin Ramesa <[email protected]> ! 1547: ! 1548: kern/sched_prim.h: remove unnecessary __GNUC__ #ifdef ! 1549: Attribute noreturn is used irrespective of __GNUC__. Remove ! 1550: unnecessary #ifdef. ! 1551: ! 1552: * kern/sched_prim.h [__GNUC__]: Remove #ifdef. ! 1553: ! 1554: 2013-12-17 Justus Winter <[email protected]> ! 1555: ! 1556: xen: add missing includes ! 1557: * xen/console.h: Add missing includes. ! 1558: ! 1559: 2013-12-16 Marin Ramesa <[email protected]> ! 1560: ! 1561: kern: quiet GCC warnings about set but unused variables ! 1562: * kern/lock.h (simple_lock_data_empty): Define. ! 1563: (decl_simple_lock_data, simple_unlock): Likewise. ! 1564: * kern/sched_prim.c (lock): Declare. ! 1565: [MACH_SLOCKS]: Remove #ifs. ! 1566: * kern/task.c (task_lock, task_unlock): Remove address operator. ! 1567: ! 1568: Quiet GCC warning about uninitialized variable ! 1569: * ddb/db_command.h (db_error): Mark with attribute noreturn. ! 1570: * i386/i386/setjmp.h (_longjmp): Likewise. ! 1571: ! 1572: 2013-12-15 Marin Ramesa <[email protected]> ! 1573: ! 1574: i386/i386/db_trace.c: use (long *) instead of an (int *) ! 1575: * i386/i386/db_trace.c (db_lookup_i386_kreg) (kregp): Use (long *) instead of an (int *). ! 1576: ! 1577: device/dev_pager.c (device_pager_data_request_done): cast to size_t instead to unsigned ! 1578: * device/dev_pager.c (device_pager_data_request_done) (memset) (io_residual): Cast to size_t instead to unsigned. ! 1579: ! 1580: 2013-12-15 Marin Ramesa <[email protected]> ! 1581: ! 1582: device/dev_pager.c: remove unnecessary casts ! 1583: Variable pager is already of ipc_port_t type. ! 1584: ! 1585: * device/dev_pager.c: Remove unnecessary casts. ! 1586: ! 1587: 2013-12-15 Marin Ramesa <[email protected]> ! 1588: ! 1589: kern/sched_prim.c: avoid casts ! 1590: Avoid the casts by passing the address of the links thread ! 1591: structure member to enqueue_tail(). ! 1592: ! 1593: * kern/sched_prim.c: Avoid casts. ! 1594: ! 1595: 2013-12-15 Marin Ramesa <[email protected]> ! 1596: ! 1597: ddb: qualify pointers whose dereferenced values are constant with const ! 1598: ! 1599: 2013-12-15 Samuel Thibault <[email protected]> ! 1600: ! 1601: Fix gcc signedness warning ! 1602: Thanks Marin Ramesa and Richard Braun for investigating. ! 1603: ! 1604: * i386/i386at/kd.c (kdintr): Make `char_idx' and `max' unsigned. ! 1605: (kdstate2idx): Make function take and return unsigned ints for the state. ! 1606: * i386/i386at/kd.h (kdstate2idx): Likewise. ! 1607: ! 1608: 2013-12-15 Marin Ramesa <[email protected]> ! 1609: ! 1610: Type definition ! 1611: * i386/i386/ast_check.c (init_ast_check, cause_ast_check): Define return type. ! 1612: * i386/i386/pic.c (intnull, prtnull): Define argument types. ! 1613: * i386/i386at/com.c (compr_addr): Likewise. ! 1614: (compr): Likewise. ! 1615: (compr_addr): Fix printf format. ! 1616: * i386/i386at/kd.c (kd_cmdreg_write, kd_kbd_magic): Define argument types. ! 1617: * i386/i386at/kd_mouse.c (init_mouse_hw): Likewise. ! 1618: * ipc/mach_port.c (sact_count): Define return type. ! 1619: * ipc/mach_rpc.c (mach_port_rpc_sig): Define argument types. ! 1620: * kern/act.c (dump_act): Define return type. ! 1621: * kern/lock_mon.c (simple_lock, simple_lock_try, simple_unlock, lip, lock_info_sort, lock_info_clear, print_lock_info): Define return type. ! 1622: (time_lock): Define return type and argument type. ! 1623: * kern/timer.c (time_trap_uexit): Define argument type. ! 1624: ! 1625: 2013-12-15 Marin Ramesa <[email protected]> ! 1626: ! 1627: ddb/db_expr.c (db_mult_expr): initialize lhs ! 1628: Initialize lhs to zero to avoid uninitialized usage in db_unary(). ! 1629: ! 1630: * ddb/db_expr.c (db_mult_expr) (lhs): Initialize to zero. ! 1631: ! 1632: 2013-12-15 Marin Ramesa <[email protected]> ! 1633: ! 1634: ddb/db_break.c (db_delete_cmd): remove unnecessary initialization ! 1635: Now that we have returns there are no more warnings from GCC about ! 1636: uninitialized variable. Remove unnecessary initialization of variable ! 1637: bkpt. ! 1638: ! 1639: * ddb/db_break.c (db_delete_cmd) (bkpt): Remove unnecessary initialization. ! 1640: ! 1641: 2013-12-15 Marin Ramesa <[email protected]> ! 1642: ! 1643: ddb/db_break.c (db_find_breakpoint_here): remove unnecessary casts ! 1644: Variable addr and member address are already of db_addr_t type which ! 1645: is type defined as vm_offset_t. ! 1646: ! 1647: * ddb/db_break.c (db_find_breakpoint_here) (DB_PHYS_EQ) (addr, address): Remove unecessary casts. ! 1648: ! 1649: 2013-12-15 Marin Ramesa <[email protected]> ! 1650: ! 1651: vm/vm_resident.c (vm_page_print): remove unnecessary casts ! 1652: Members offset and phys_addr are of vm_offset_t types. ! 1653: ! 1654: * vm/vm_resident.c (vm_page_print) (offset, phys_addr): Remove unnecessary casts. ! 1655: ! 1656: 2013-12-15 Marin Ramesa <[email protected]> ! 1657: ! 1658: vm/vm_kern.c (kmem_submap): remove unnecessary cast ! 1659: The return value from vm_map_min() is already of vm_offset_t type. ! 1660: ! 1661: * vm/vm_kern.c (kmem_submap) (addr): Remove unnecessary cast. ! 1662: ! 1663: 2013-12-15 Marin Ramesa <[email protected]> ! 1664: ! 1665: i386/i386/ldt.c: remove forward declaration ! 1666: * i386/i386/ldt.c (syscall): Remove forward declaration. ! 1667: Include locore.h. ! 1668: * i386/i386/locore.h (syscall): Add prototype. ! 1669: ! 1670: 2013-12-15 Marin Ramesa <[email protected]> ! 1671: ! 1672: kern/mach_clock.c: update comment ! 1673: This is mach_clock.c, not clock_prim.c. ! 1674: ! 1675: * kern/mach_clock.c: Update comment. ! 1676: ! 1677: 2013-12-15 Marin Ramesa <[email protected]> ! 1678: ! 1679: Declare void argument lists ! 1680: ! 1681: 2013-12-11 Marin Ramesa <[email protected]> ! 1682: ! 1683: i386/i386at/kd_mouse.c (kd_mouse_open): remove forward declaration ! 1684: * i386/i386at/kd_mouse.c (kd_mouse_open) (kdintr): Remove forward declaration. ! 1685: ! 1686: i386/i386at/kd.c (kdinit): remove forward declaration ! 1687: * i386/i386at/kd.c (kdinit) (kd_xga_init): Remove forward declaration. ! 1688: * i386/i386at/kd.h (kd_xga_init): Add prototype. ! 1689: ! 1690: 2013-12-11 Marin Ramesa <[email protected]> ! 1691: ! 1692: i386/i386at/kd.c (kdmmap): remove unnecessary cast ! 1693: Variable off is already an unsigned int. ! 1694: ! 1695: * i386/i386at/kd.c (kdmmap) (off): Remove unnecessary cast. ! 1696: ! 1697: 2013-12-11 Marin Ramesa <[email protected]> ! 1698: ! 1699: i386/i386at/kd.c: remove forward declarations ! 1700: * i386/i386at/kd.c (kd_getdata, state2leds, kdstart, kdstop): Remove forward declarations. ! 1701: * i386/i386at/kd.h (kd_getdata, state2leds, kdstart, kdstop): Add prototypes. ! 1702: Include device/tty.h. ! 1703: ! 1704: 2013-12-11 Marin Ramesa <[email protected]> ! 1705: ! 1706: i386/i386/db_trace.c (db_i386_stack_trace): remove unnecessary cast ! 1707: Argument to INKERNEL() is already cast to vm_offset_t in the macro itself. ! 1708: ! 1709: * i386/i386/db_trace.c (db_i386_stack_trace) (INKERNEL) (callpc): Don't cast to unsigned long. ! 1710: (db_i386_stack_trace) (INKERNEL) (frame): Likewise. ! 1711: ! 1712: 2013-12-11 Marin Ramesa <[email protected]> ! 1713: ! 1714: i386/i386/db_trace.c: remove forward declaration ! 1715: * i386/Makefrag.am: List i386/i386/db_trace.h. ! 1716: * i386/i386/db_trace.c: Include machine/db_trace.h. ! 1717: (db_i386_stack_trace): Remove forward declaration. ! 1718: * i386/i386/db_trace.h: New file. ! 1719: Add copyright. ! 1720: [_I386_DB_TRACE_H_]: Add ifndef. ! 1721: (i386_frame): Declare forward. ! 1722: (db_i386_stack_trace): Add prototype. ! 1723: ! 1724: 2013-12-11 Marin Ramesa <[email protected]> ! 1725: ! 1726: ipc/mach_debug.c (mach_port_kernel_object): remove unnecessary cast ! 1727: Member ip_kobject is of type vm_offset_t. ! 1728: ! 1729: * ipc/mach_debug.c (mach_port_kernel_object) (ip_kobject): Remove unnecessary cast. ! 1730: ! 1731: 2013-12-11 Marin Ramesa <[email protected]> ! 1732: ! 1733: ipc/mach_debug.c (mach_port_kernel_object): remove unnecessary cast ! 1734: Return value from ip_kotype is an unsigned int. ! 1735: ! 1736: * ipc/mach_debug.c (mach_port_kernel_object) (ip_kotype): Remove unnecessary cast. ! 1737: ! 1738: 2013-12-11 Marin Ramesa <[email protected]> ! 1739: ! 1740: Cleanup of the memcpy(), memmove(), memcmp() and memset() calls ! 1741: Addresses were cast to (void *). Pointers uncasted. ! 1742: ! 1743: * device/ds_routines.c (ds_read_done) (memset) (start_sent): Cast to (void *) instead to (char *). Argument is an address. ! 1744: (ds_read_done) (memset) (end_data): Likewise. ! 1745: * i386/i386/pcb.c (thread_getstatus) (memcpy) (pm): Don't cast. Argument is a pointer. ! 1746: (thread_getstatus) (memcpy) (iopb): Likewise. ! 1747: * i386/i386at/immc.c (immc_cnputc) (memmove): Cast first argument to (void *). Argument is an address. ! 1748: (immc_cnputc) (memmove): Cast second argument to (void *). Argument is an address. ! 1749: (immc_cnputc) (memset): Cast first argument to (void *). Argument is an address. ! 1750: * i386/i386at/model_dep.c (i386at_init) (memcpy) (phystokv): Cast to (void *) instead to (char *). Argument is an address. ! 1751: * i386/intel/pmap.c (pmap_init) (memset) (addr): Likewise. ! 1752: * ipc/mach_debug.c (mach_port_space_info) (memset) (table_addr + size_used): Likewise. ! 1753: (mach_port_space_info) (memset) (tree_addr + size_used): Likewise. ! 1754: * kern/host.c (host_processor_sets) (memcpy) (newaddr): Likewise. ! 1755: (host_processor_sets) (memcpy) (addr): Likewise. ! 1756: * kern/xpr.c (xprbootstrap) (memset) (addr): Likewise. ! 1757: * vm/vm_debug.c (mach_vm_object_pages) (memset) (addr + size_used): Likewise. ! 1758: ! 1759: 2013-12-10 Marin Ramesa <[email protected]> ! 1760: ! 1761: device/subrs.c: use io_req_t instead of struct buf ! 1762: Struct buf is not defined. Use io_req_t instead of it. ! 1763: ! 1764: * device/subrs.c (harderr) (bp): Change name to ior and use io_req_t as type instead of (struct buf *). ! 1765: (harderr) (minor): Use io_unit instead of b_dev. ! 1766: (harderr): Use io_recnum instead of b_blkno. ! 1767: (gateblk): Use io_req_t as return value instead of (struct buf *). ! 1768: (brelse) (bp): Change name to ior and use io_req_t as type instead of (struct buf *). ! 1769: (brelse) (ior): Remove variable. ! 1770: ! 1771: 2013-12-10 Marin Ramesa <[email protected]> ! 1772: ! 1773: device/net_io.c: remove forward declarations ! 1774: * 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. ! 1775: * device/net_io.h (net_rcv_port, net_hash_entry, net_hash_header): Declare forward. ! 1776: (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. ! 1777: ! 1778: device/dev_pager.c: remove forward declarations ! 1779: * device/dev_pager.c (device_pager_data_request_done, device_pager_data_write_done): Remove forward declarations. ! 1780: * device/dev_pager.h (device_pager_data_request_done, device_pager_data_write_done): Add prototypes. ! 1781: ! 1782: device/dev_pager.c: remove forward declaration ! 1783: * Makefrag.am: Include device/blkio.h. ! 1784: * device/blkio.h: New file. ! 1785: Add copyright. ! 1786: [_DEVICE_BLKIO_H_]: Add ifndef. ! 1787: (block_io_mmap): Add prototype. ! 1788: * device/dev_pager.c: Include device/blkio.h. ! 1789: (block_io_mmap): Remove forward declaration. ! 1790: ! 1791: 2013-12-10 Marin Ramesa <[email protected]> ! 1792: ! 1793: device/dev_pager.c (device_pager_data_request_done): remove unnecessary cast ! 1794: The argument to trunc_page() is already cast to vm_offset_t in the ! 1795: macro itself. ! 1796: ! 1797: * device/dev_pager.c (device_pager_data_request_done) (trunc_page) (io_data): Don't cast to vm_offset_t. ! 1798: ! 1799: 2013-12-10 Marin Ramesa <[email protected]> ! 1800: ! 1801: device/dev_pager.c (device_pager_data_request): cast to (void *) instead to (char *) ! 1802: * device/dev_pager.c (device_pager_data_request) (vm_object_page_map) (ds): Cast to (void *) instead to (char *). ! 1803: ! 1804: device/dev_pager.c (device_pager_data_request): remove forward declaration ! 1805: * Makefrag.am: Include device/dev_pager.h. ! 1806: * device/dev_pager.c: Likewise. ! 1807: (device_map_page): Remove forward declaration. ! 1808: * device/dev_pager.h: New file. ! 1809: Add copyright. ! 1810: [_DEVICE_DEV_PAGER_H_]: Add ifndef. ! 1811: (device_map_page): Add prototype. ! 1812: ! 1813: device/cons.c: fix argument list ! 1814: * device/cons.c (romgetc, romputc): Fix argument list. ! 1815: ! 1816: 2013-12-10 Marin Ramesa <[email protected]> ! 1817: ! 1818: device/cirbuf.c (cb_free): use vm_size_t instead of an int ! 1819: This is more in line with the call to kfree() in cb_free(). ! 1820: ! 1821: * device/cirbuf.c (cb_free) (size): Use vm_size_t instead of an int. ! 1822: ! 1823: 2013-12-10 Marin Ramesa <[email protected]> ! 1824: ! 1825: device/cirbuf.c (cb_alloc): use vm_size_t instead of an int ! 1826: This is more in line with the call to kalloc() in cb_alloc(). ! 1827: ! 1828: * device/chario.c (tty_inq_size, tty_outq_size): Use unsigned int instead if an int. ! 1829: * device/cirbuf.c (cb_alloc) (buf_size): Use vm_size_t instead of an int. ! 1830: * device/cirbuf.h (cb_alloc) (buf_size): Likewise. ! 1831: ! 1832: 2013-12-10 Marin Ramesa <[email protected]> ! 1833: ! 1834: device/chario.c: trivial stylistic fix for consistency ! 1835: * device/chario.c: Trivial stylistic fix for consistency. ! 1836: ! 1837: 2013-12-10 Marin Ramesa <[email protected]> ! 1838: ! 1839: i386/i386/db_interface.c: use vm_offset_t instead of an unsigned int ! 1840: This is more in line with how the function db_user_to_kernel_address() is ! 1841: called. In this way there is one cast less and several GCC warnings are ! 1842: silenced. ! 1843: ! 1844: * i386/i386/db_interface.c (db_set_hw_watchpoint) (kern_addr): Use vm_offset_t instead of an unsigned int. ! 1845: (db_user_to_kernel_address) (kaddr): Likewise. ! 1846: (db_user_to_kernel_address) (ptetokv): Don't cast return value. ! 1847: (db_read_bytes) (kern_addr): Use vm_offset_t instead of an unsigned int. ! 1848: (db_write_bytes_user_space) (kern_addr): Likewise. ! 1849: (db_task_name) (vaddr, kaddr): Likewise. ! 1850: * i386/i386/db_interface.h (db_user_to_kernel_address) (kaddr): Likewise. ! 1851: ! 1852: 2013-12-10 Marin Ramesa <[email protected]> ! 1853: ! 1854: i386/i386at/kd_event.c (kbdsetstat): fix difference in signedness ! 1855: * i386/i386at/kd_event.c (X_kdb_enter_init, X_kdb_exit_init): Cast first arguments to (unsigned int *). ! 1856: ! 1857: 2013-12-10 Marin Ramesa <[email protected]> ! 1858: ! 1859: i386: move prototypes to fix implicit declaration of function ! 1860: This fixes the implicit declarations in kern/machine.c and kern/debug.c. ! 1861: ! 1862: * i386/i386/model_dep.h (halt_cpu, halt_all_cpus): Add prototypes. ! 1863: * i386/i386at/model_dep.h (halt_cpu, halt_all_cpus): Remove prototypes. ! 1864: ! 1865: 2013-12-08 Marin Ramesa <[email protected]> ! 1866: ! 1867: ddb/db_trap.c (db_task_trap): remove forward declarations ! 1868: * ddb/db_break.h (db_check_breakpoint_valid): Add prototype. ! 1869: * ddb/db_trap.c (db_init_default_thread, db_check_breakpoint_valid): Remove forward declarations. ! 1870: ! 1871: 2013-12-08 Marin Ramesa <[email protected]> ! 1872: ! 1873: Use db_addr_t instead of db_expr_t ! 1874: In this way everything falls into place and there is one cast less. ! 1875: ! 1876: Function db_task_printsym() is already always called with the cast to ! 1877: db_addr_t in the first argument. ! 1878: ! 1879: * ddb/db_aout.c (aout_db_line_at_pc): Use db_addr_t instead of db_expr_t. ! 1880: (aout_db_search_by_addr): Don't cast to vm_offset_t. Argument is already ! 1881: db_addr_t. ! 1882: * ddb/db_aout.h (aout_db_line_at_pc): Use db_addr_t instead of db_expr_t. ! 1883: * ddb/db_sym.c (db_task_printsym): Likewise. ! 1884: (db_line_at_pc): Likewise. ! 1885: * ddb/db_sym.h (db_task_printsym): Likewise. ! 1886: (db_line_at_pc): Likewise. ! 1887: * i386/i386/db_trace.c (db_task_printsym): Cast to db_addr_t instead of db_expr_t. ! 1888: Member swap_func is a pointer to void. ! 1889: ! 1890: 2013-12-08 Marin Ramesa <[email protected]> ! 1891: ! 1892: ddb/db_print.c: use unsigned long instead of an unsigned int ! 1893: Variable db_maxoff is in other files declared as unsigned long. ! 1894: ! 1895: * ddb/db_print.c (db_maxoff): Use unsigned long instead of an unsigned int. ! 1896: ! 1897: 2013-12-08 Marin Ramesa <[email protected]> ! 1898: ! 1899: ddb/db_mp.c: definition of db_console() only if CONSOLE_ON_MASTER ! 1900: Function db_console() is called only if CONSOLE_ON_MASTER. ! 1901: ! 1902: If it stays this way, db_console() will not compile. I don't know ! 1903: if it should be removed. Maybe someone will rewrite it. ! 1904: ! 1905: * ddb/db_mp.c (db_console): Definition only if CONSOLE_ON_MASTER. ! 1906: * ddb/db_mp.h [CONSOLE_ON_MASTER] (db_console): Add prototype. ! 1907: ! 1908: 2013-12-08 Marin Ramesa <[email protected]> ! 1909: ! 1910: ddb/db_mp.c: use boolean instead of an int ! 1911: * ddb/db_mp.c (db_enter_debug): Use boolean instead of an int. ! 1912: ! 1913: ddb/db_examine.c: trivial stylistic fix for consistency ! 1914: * ddb/db_examine.c: Trivial stylistic fix for consistency. ! 1915: ! 1916: ddb/db_examine.c (db_examine_cmd): remove forward declaration ! 1917: * ddb/db_examine.c (db_option): Remove forward declaration. ! 1918: ! 1919: ddb/db_command.c (db_command): remove forward declaration ! 1920: * ddb/db_command.c (db_fncall): Remove forward declaration. ! 1921: ! 1922: ddb/db_command.c: use boolean values ! 1923: * ddb/db_command.c (db_cmd_loop_done): Use boolean values. ! 1924: ! 1925: 2013-12-08 Marin Ramesa <[email protected]> ! 1926: ! 1927: i386/i386at/kd.c: use io_req instead of uio ! 1928: Struct uio is nowhere defined and in device/buf.h the string uio is defined ! 1929: as io_req. Remove all declarations of uio structure and use io_req_t instead ! 1930: of it. ! 1931: ! 1932: * device/buf.h (uio, io_req): Remove definition. ! 1933: * i386/i386at/kd.c: Remove comment. ! 1934: (kdread): Use io_req_t. ! 1935: (kdwrite): Likewise. ! 1936: * i386/i386at/kd.h (kdread, kdwrite): Use io_req_t as argument type. ! 1937: ! 1938: 2013-12-08 Marin Ramesa <[email protected]> ! 1939: ! 1940: ddb/db_break.c (db_find_thread_breakpoint_here): remove unnecessary cast ! 1941: Variable addr is already of type db_addr_t. ! 1942: ! 1943: * ddb/db_break.c (db_find_thread_breakpoint_here) (addr): Don't cast to db_addr_t. ! 1944: ! 1945: 2013-12-08 Marin Ramesa <[email protected]> ! 1946: ! 1947: ddb/db_break.c (db_add_thread_breakpoint): fix argument list ! 1948: * ddb/db_break.c (db_add_thread_breakpoint): Fix argument list. ! 1949: ! 1950: ddb/db_aout.c (aout_db_lookup): remove forward declaration ! 1951: * ddb/db_aout.c (db_sym_parse_and_lookup): Remove forward declaration. ! 1952: * ddb/db_sym.h (db_sym_parse_and_lookup): Add prototype. ! 1953: ! 1954: 2013-12-08 Marin Ramesa <[email protected]> ! 1955: ! 1956: ddb/db_aout.c (aout_db_qualified_search): use DB_SYM_NULL as return value ! 1957: Function aout_db_qualified_search() returns db_sym_t. Use DB_SYM_NULL as ! 1958: return value instead of zero. ! 1959: ! 1960: * ddb/db_aout.c (aout_db_qualified_search): Use DB_SYM_NULL as return value. ! 1961: ! 1962: 2013-12-08 Marin Ramesa <[email protected]> ! 1963: ! 1964: i386/i386/db_interface.c: remove forward declaration ! 1965: * i386/i386/db_interface.c (db_write_bytes_user_space): Remove forward declaration. ! 1966: * i386/i386/db_interface.h (db_write_bytes_user_space): Add prototype. ! 1967: ! 1968: i386/i386at/lpr.c: fix initalization from incompatible pointer type ! 1969: * i386/i386at/lpr.c (lprprobe): Modify argument types. ! 1970: * i386/i386at/lpr.h (lprprobe): Likewise. ! 1971: ! 1972: i386/i386at/com.c: fix assignment from incompatible pointer type ! 1973: * device/tty.h (tty): Modify so that correct argument list and return type is listed. ! 1974: ! 1975: i386/i386at/com.c: fix initialization from incompatible pointer type ! 1976: * i386/i386at/com.c (comprobe): Modify argument types. ! 1977: (comprobe): Cast from (struct bus_ctrl *) to (struct bus_device *). ! 1978: comprobe_general() uses only a small subset of members, so it's all ! 1979: the same which struct it is. ! 1980: * i386/i386at/com.h (comprobe): Modify argument types. ! 1981: ! 1982: kern/startup.c: use boolean values ! 1983: * kern/startup.c (reboot_on_panic): Use boolean values. ! 1984: ! 1985: vm/vm_map.c: use boolean instead of an int ! 1986: * vm/vm_map.c (vm_map_pmap_enter_print, vm_map_pmap_enter_enable): Use boolean instead of an int. ! 1987: ! 1988: vm/vm_object.c: remove unused variable ! 1989: * vm/vm_object.c (vm_object_terminate_remove_all): Remove unused variable. ! 1990: ! 1991: vm/vm_pageout.c: remove forward declarations ! 1992: * vm/vm_pageout.c (vm_pageout_continue, vm_pageout_scan_continue): Remove forward declarations. ! 1993: * vm/vm_pageout.h (vm_pageout_continue, vm_pageout_scan_continue): Add prototypes. ! 1994: ! 1995: i386/i386at/pic_isa.c: remove forward declaration ! 1996: * i386/Makefrag.am: Include i386/i386/hardclock.h. ! 1997: * i386/i386/hardclock.h: New file. ! 1998: Add copyright. ! 1999: [_I386_HARDCLOCK_H_]: Add ifndef. ! 2000: (hardclock): Add prototype. ! 2001: * i386/i386at/pic_isa.c (hardclock): Remove forward declaration. ! 2002: Include i386/hardclock.h. ! 2003: ! 2004: i386/i386at/model_dep.c: fix argument list ! 2005: * i386/i386at/model_dep.c (timemmap): Fix argument list. ! 2006: ! 2007: i386/i386at/lpr.c: fix argument list ! 2008: * i386/i386at/lpr.c (lprprobe): Fix argument list. ! 2009: ! 2010: ddb/db_output.c: remove forward declaration ! 2011: * ddb/db_input.h (db_check_interrupt): Add prototype. ! 2012: * ddb/db_output.c: Include ddb/db_input.h. ! 2013: (db_check_interrupt): Remove forward declaration. ! 2014: ! 2015: 2013-12-08 Marin Ramesa <[email protected]> ! 2016: ! 2017: kern/act.h: remove unnecessary include ! 2018: File kern/act.h includes itself. Remove this include. ! 2019: ! 2020: * kern/act.h: Don't include kern/act.h. ! 2021: ! 2022: 2013-12-08 Marin Ramesa <[email protected]> ! 2023: ! 2024: Cleanup of the prototypes ! 2025: * device/cirbuf.h (nqdb): Remove prototype without definition. ! 2026: * device/conf.h (dev_set_indirect): Likewise. ! 2027: * kern/boot_script.h (boot_script_read_file): Likewise. ! 2028: * kern/eventcount.h (evc_notify_abort): Remove duplicate prototype. ! 2029: * kern/thread.h (thread_set_own_priority): Likewise. ! 2030: * kern/thread_swap.h (thread_swapout): Remove prototype without definition. ! 2031: * kern/timer.h (softclock): Remove duplicate prototype. ! 2032: * vm/pmap.h (pmap_resident_count, pmap_access, pmap_phys_address, pmap_phys_to_frame): Remove prototypes without function definition. ! 2033: * vm/vm_page.h (vm_set_page_size): Likewise. ! 2034: ! 2035: vm/vm_page.h: remove unused variables ! 2036: * vm/vm_page.h (first_phys_addr, last_phys_addr): Remove unused variables. ! 2037: ! 2038: kern/syscall_sw.c: use boolean instead of an int ! 2039: * kern/syscall_sw.c (kern_invalid_debug): Use boolean instead of an int. ! 2040: ! 2041: 2013-12-08 Marin Ramesa <[email protected]> ! 2042: ! 2043: kern/refcount.h: remove unnecessary include ! 2044: File kern/refcount.h includes itself. Remove this include. ! 2045: ! 2046: * kern/refcount.h: Don't include kern/refcount.h. ! 2047: ! 2048: 2013-12-08 Marin Ramesa <[email protected]> ! 2049: ! 2050: kern/rbtree.h: remove unnecessary include ! 2051: File kern/rbtree.h includes itself. Remove this include. ! 2052: ! 2053: * kern/rbtree.h: Don't include kern/rbtree.h. ! 2054: ! 2055: 2013-12-08 Marin Ramesa <[email protected]> ! 2056: ! 2057: kern/priority.c: update comment ! 2058: This is priority.c. Not clock_prim.c. ! 2059: ! 2060: * kern/priority.c: Update comment. ! 2061: ! 2062: 2013-12-08 Marin Ramesa <[email protected]> ! 2063: ! 2064: kern/pc_sample.c: remove unused variables ! 2065: * kern/pc_sample.c (pc_sampling_enabled, pc_sampling_lock): Remove unused variables. ! 2066: ! 2067: kern/lock_mon.c: remove dead assignments ! 2068: * kern/lock_mon.c (scurval, ssum, sli): Remove variables. ! 2069: (scurval, ssum, sli): Remove dead assignments. ! 2070: ! 2071: 2013-12-08 Marin Ramesa <[email protected]> ! 2072: ! 2073: kern/lock_mon.c: use spl_t instead of an int ! 2074: Variable curr_ipl is in other files declared as spl_t. ! 2075: ! 2076: * kern/lock_mon.c (curr_ipl): Use spl_t instead of an int. ! 2077: ! 2078: 2013-12-08 Marin Ramesa <[email protected]> ! 2079: ! 2080: kern/act.h: remove prototype without definition ! 2081: * kern/act.h (act_create_kernel): Remove prototype without definition. ! 2082: ! 2083: 2013-12-08 Samuel Thibault <[email protected]> ! 2084: ! 2085: Add comment ! 2086: ! 2087: 2013-12-08 Marin Ramesa <[email protected]> ! 2088: ! 2089: ipc/port.h: update comment ! 2090: This is ipc/port.h. Not ipc/ipc_port.h. ! 2091: ! 2092: * ipc/port.h: Update comment. ! 2093: ! 2094: 2013-12-08 Marin Ramesa <[email protected]> ! 2095: ! 2096: ipc/mach_port.c: use boolean instead of an int ! 2097: * ipc/mach_port.c (mach_port_deallocate_debug): Use boolean instead of an int. ! 2098: ! 2099: ipc/ipc_init.c: qualify constant with const ! 2100: * ipc/ipc_init.c (ipc_kernel_map_size): Qualify constant with const. ! 2101: ! 2102: i386/intel/pmap.c: remove unused variable ! 2103: * i386/intel/pmap.c (end): Remove unused variable. ! 2104: ! 2105: i386/intel/pmap.c: use boolean instead of an int ! 2106: * i386/intel/pmap.c (pmap_debug): Use boolean instead of an int. ! 2107: ! 2108: time: remove unused variable ! 2109: * i386/i386at/rtc.c (tz): Remove unused variable. ! 2110: * xen/time.c (tz): Remove unused variable. ! 2111: ! 2112: i386/i386at/rtc.c: use boolean instead of an int ! 2113: * i386/i386at/rtc.c (first_rtcopen_ever): Use boolean instead of an int. ! 2114: ! 2115: i386/i386at/kd.c: use boolean instead of an unsigned int ! 2116: * i386/i386at/kd.c (kd_bellstate): Use boolean instead of an unsigned int. ! 2117: ! 2118: i386/i386at/kd.c: use boolean instead of an int ! 2119: * i386/i386at/kd.c (mouse_in_use): Use boolean instead of an int. ! 2120: Remove duplicate declaration. ! 2121: ! 2122: i386/i386at/model_dep.c, kd.c: use boolean instead of an int ! 2123: * i386/i386at/kd.c (rebootflag): Use boolean instead of an int. ! 2124: Remove duplicate variable declaration. ! 2125: * i386/i386at/model_dep.c (rebootflag): Use boolean instead of an int. ! 2126: ! 2127: i386/i386at/immc.c, kd.c: use boolean instead of an int ! 2128: * i386/i386at/immc.c (immediate_console_enable): Use boolean instead of an int. ! 2129: * i386/i386at/kd.c (immediate_console_enable): Likewise. ! 2130: ! 2131: i386/i386/user_ldt.c: remove unused variable ! 2132: * i386/i386/user_ldt.c (acc_type): Remove unused variable. ! 2133: ! 2134: i386/i386/trap.c: remove unused variables ! 2135: * 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. ! 2136: ! 2137: i386/i386/trap.c: remove unused variable ! 2138: * i386/i386/trap.c (brb): Remove unused variable. ! 2139: ! 2140: i386/i386/pit.c: remove unused variables ! 2141: * i386/i386/pit.c (pitctr1_port, pitctr2_port): Remove unused variables. ! 2142: ! 2143: i386/i386/pic.c: remove unused variables ! 2144: * i386/i386/pic.c (nintr, npics): Remove unused variables. ! 2145: ! 2146: i386/i386/mp_desc.c: remove unused variable ! 2147: * i386/i386/mp_desc.c (avail_start): Remove unused variable. ! 2148: ! 2149: 2013-12-08 Marin Ramesa <[email protected]> ! 2150: ! 2151: i386/i386/ipl.h: remove ifdef and add ifndef ! 2152: This code is used even if KERNEL is not defined. Remove the ifdef. ! 2153: ! 2154: * i386/i386/ipl.h [_I386_IPL_H_]: Add ifndef. ! 2155: ! 2156: 2013-12-08 Marin Ramesa <[email protected]> ! 2157: ! 2158: i386/i386/db_interface.c: use boolean instead of an int ! 2159: * i386/i386/db_interface.c (kernel_dr): Use boolean instead of an int. ! 2160: ! 2161: 2013-12-08 Marin Ramesa <[email protected]> ! 2162: ! 2163: device/tty.h, chario.h: move prototype ! 2164: Now that we have device/chario.h move the chario_init() prototype ! 2165: from device/tty.h to device/chario.h. ! 2166: ! 2167: * device/chario.h (chario_init): Add prototype. ! 2168: * device/device_init.c: Include device/chario.h. ! 2169: * device/tty.h (chario_init): Remove prototype. ! 2170: ! 2171: 2013-12-08 Marin Ramesa <[email protected]> ! 2172: ! 2173: device/kmsg.c: use boolean instead of an int ! 2174: * device/kmsg.c (kmsg_init_done): Use boolean instead of an int. ! 2175: ! 2176: device/kmsg.c: use boolean instead of an int ! 2177: * device/kmsg.c (kmsg_in_use): Use boolean instead of an int. ! 2178: ! 2179: device/if_ether.h: remove unused variable ! 2180: * device/if_ether.h (etherbroadcastaddr): Remove unused variable. ! 2181: * device/subrs.c (etherbroadcastaddr): Remove initialization. ! 2182: ! 2183: device/dev_lookup.c: remove unused lock ! 2184: * device/dev_lookup.c (dev_port_lock): Remove unused lock. ! 2185: ! 2186: device/cirbuf.c: use boolean instead of an int ! 2187: * device/cirbuf.c (cb_check_enable): Use boolean instead of an int. ! 2188: ! 2189: device/chario.c: use boolean instead of an int ! 2190: * device/chario.c (pdma_default): Use boolean instead of an int. ! 2191: ! 2192: 2013-12-08 Marin Ramesa <[email protected]> ! 2193: ! 2194: ddb/db_output.c: remove duplicate function ! 2195: Function kdbprintf() and db_printf() are the same function. Remove ! 2196: kdbprintf() and define kdbprintf to db_printf. ! 2197: ! 2198: * ddb/db_output.c (kdbprintf): Remove function. ! 2199: * ddb/db_output.h: Define kdbprintf to db_printf. ! 2200: (kdbprintf): Remove prototype. ! 2201: ! 2202: 2013-12-08 Marin Ramesa <[email protected]> ! 2203: ! 2204: ddb/db_output.c: remove call to nonexistent db_printf_enter() ! 2205: * ddb/db_output.c [db_printf_enter] (db_printf_enter): Remove call to nonexistent function. ! 2206: ! 2207: ddb/db_command.h: remove duplicate variable declaration ! 2208: * ddb/db_command.h (db_recover): Remove duplicate variable declaration. ! 2209: ! 2210: ddb/db_command.c: remove forward declaration ! 2211: * ddb/db_command.c (db_skip_to_eol): Remove forward declaration. ! 2212: ! 2213: 2013-12-08 Marin Ramesa <[email protected]> ! 2214: ! 2215: i386/i386/setjmp.h: remove ifdef ! 2216: Function _longjmp() is used even if __GNUC__ is not defined. Avoid ! 2217: implicit declaration in that case by removing the ifdef. ! 2218: ! 2219: * i386/i386/setjmp.h [__GNUC__] (_longjmp): Remove ifdef. ! 2220: ! 2221: 2013-12-08 Marin Ramesa <[email protected]> ! 2222: ! 2223: kern/machine.c: remove __volatile__ ! 2224: Shutdown can be optimised. Remove __volatile__. ! 2225: ! 2226: * kern/machine.c [__GNUC__] (processor_doshutdown): Remove volatile function qualifier. ! 2227: ! 2228: 2013-12-08 Marin Ramesa <[email protected]> ! 2229: ! 2230: ipc/ipc_port.c: trivial stylistic fix for consistency ! 2231: * ipc/ipc_port.c (indent): Trivial stylistic fix for consistency. ! 2232: ! 2233: 2013-12-08 Samuel Thibault <[email protected]> ! 2234: ! 2235: Make unsigned character constants unsigned ! 2236: Thanks Marin Ramesa for the report. ! 2237: ! 2238: * i386/i386at/kd.h (K_DONE, NC, K_SCAN): Make constants unsigned. ! 2239: ! 2240: 2013-12-08 Samuel Thibault <[email protected]> ! 2241: ! 2242: Always make Assert trigger debugger ! 2243: * kern/debug.c (Assert): Always call Debugger, even if db_breakpoints_insert ! 2244: is not set. ! 2245: ! 2246: 2013-12-08 Samuel Thibault <[email protected]> ! 2247: ! 2248: Fix implicit declaration of function ! 2249: Thanks Marin Ramesa for the report. ! 2250: ! 2251: * device/ds_routines.h (device_deallocate): Move declaration to... ! 2252: * include/device/device_types.h (device_deallocate): ... here. ! 2253: ! 2254: 2013-12-08 Marin Ramesa <[email protected]> ! 2255: ! 2256: device/device_types_kernel.h: remove redeclaration of dev_port_lookup() ! 2257: * device/device_types_kernel.h (dev_port_lookup): Remove prototype. ! 2258: ! 2259: Add ifndefs ! 2260: * i386/i386at/cram.h [_CRAM_H_]: Add ifndef. ! 2261: * i386/i386at/disk.h [_DISK_H_]: Likewise. ! 2262: * i386/i386at/i8250.h [_I8250_H_]: Likewise. ! 2263: * i386/include/mach/i386/asm.h [_MACH_I386_ASM_H_]: Likewise. ! 2264: * i386/include/mach/i386/disk.h [_MACH_I386_DISK_H_]: Likewise. ! 2265: ! 2266: Add comments after endifs ! 2267: * device/cons.c [MACH_KMSG]: Likewise. ! 2268: [CONSBUFSIZE > 0]: Likewise. ! 2269: * i386/i386/trap.c [MACH_KDB]: Likewise. ! 2270: [MACH_PV_PAGETABLES]: Likewise. ! 2271: * i386/i386at/kd.c [ENABLE_IMMEDIATE_CONSOLE]: Likewise. ! 2272: * ipc/ipc_kmsg_queue.h [_IPC_KMSG_QUEUE_H_]: Likewise. ! 2273: * kern/act.c [ACTWATCH]: Likewise. ! 2274: * kern/refcount.h [MACHINE_REFCOUNT]: Likewise. ! 2275: * kern/task.c [FAST_TAS]: Likewise. ! 2276: ! 2277: 2013-12-04 Samuel Thibault <[email protected]> ! 2278: ! 2279: Add missing include ! 2280: * ddb/db_variables.h: Include <machine/db_machdep.h>. ! 2281: ! 2282: 2013-12-04 Marin Ramesa <[email protected]> ! 2283: ! 2284: i386/i386at/com.h: include chips/busses.h for struct bus_device ! 2285: * i386/i386at/com.h: Include chips/busses.h. ! 2286: ! 2287: ddb/db_variables.c: fix near initialization ! 2288: * ddb/db_task_thread.c (db_set_default_thread): New parameter. ! 2289: * ddb/db_task_thread.h (db_set_default_thread): Likewise. ! 2290: ! 2291: kern/mach_clock.c: remove forward declaration ! 2292: * Makefrag.am: Include kern/priority.h. ! 2293: * kern/mach_clock.c (thread_quantum_update): Remove forward declaration. ! 2294: Include kern/priority.h. ! 2295: * kern/priority.h: New file. ! 2296: Add copyright. ! 2297: [_KERN_PRIORITY_H_]: Add ifndef. ! 2298: (thread_quantum_update): Add prototype. ! 2299: ! 2300: ipc/mach_port.c: remove forward declaration ! 2301: * ipc/mach_port.c (mach_port_get_receive_status): Remove forward declaration. ! 2302: * ipc/mach_port.h (mach_port_get_receive_status): Add prototype. ! 2303: ! 2304: ipc/ipc_entry.c: remove forward declaration ! 2305: * ipc/ipc_entry.c (db_ipc_object_by_name): Remove forward declaration. ! 2306: * ipc/ipc_entry.h (db_ipc_object_by_name): Add prototype. ! 2307: ! 2308: i386/i386at/model_dep.c: remove forward declaration ! 2309: * i386/i386at/model_dep.c (init_alloc_aligned): Remove forward declaration. ! 2310: * i386/i386at/model_dep.h (init_alloc_aligned): Add prototype. ! 2311: ! 2312: kern/time_stamp.c: remove multimax code ! 2313: * kern/time_stamp.c [multimax]: Remove code. ! 2314: ! 2315: 2013-12-04 Samuel Thibault <[email protected]> ! 2316: ! 2317: Remove unnecessary file ! 2318: * i386/Makefrag.am: Don't include i386/include/mach/i386/rpc.h. ! 2319: * i386/include/mach/i386/rpc.h: Remove file. ! 2320: ! 2321: 2013-12-04 Marin Ramesa <[email protected]> ! 2322: ! 2323: vm/vm_user.c: remove forward declaration ! 2324: * vm/vm_user.c (vm_map_machine_attribute): Remove forward declaration. ! 2325: ! 2326: 2013-12-04 Marin Ramesa <[email protected]> ! 2327: ! 2328: vm/vm_resident.c: correct comment ! 2329: This is vm_resident.c, not vm_page.c. ! 2330: ! 2331: * vm/vm_resident.c: Correct comment. ! 2332: ! 2333: 2013-12-04 Marin Ramesa <[email protected]> ! 2334: ! 2335: vm/vm_map.c: remove forward declarations ! 2336: * 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. ! 2337: * vm/vm_map.h (_vm_map_clip_end): Correct prototype. ! 2338: ! 2339: vm/vm_kern.c: remove forward declarations ! 2340: * vm/vm_kern.c (kmem_alloc_pages, kmem_remap_pages): Remove forward declarations. ! 2341: * vm/vm_kern.h (kmem_alloc_pages, kmem_remap_pages): Add prototypes. ! 2342: ! 2343: vm/vm_fault.c: remove forward declaration ! 2344: * vm/vm_fault.c (vm_fault_wire_fast): Remove forward declaration. ! 2345: * vm/vm_fault.h (vm_fault_wire_fast): Add prototype. ! 2346: ! 2347: 2013-12-04 Marin Ramesa <[email protected]> ! 2348: ! 2349: ipc/ipc_kmsg.h: update comment ! 2350: Struct ipc_kmsg_queue is not defined in kern/thread.h. ! 2351: ! 2352: * ipc/ipc_kmsg.h: Update comment. ! 2353: ! 2354: 2013-12-04 Marin Ramesa <[email protected]> ! 2355: ! 2356: kern: remove forward declaration ! 2357: * kern/xpr.c (db_printf): Remove forward declaration. ! 2358: [MACH_KDB] Include ddb/db_output.h. ! 2359: ! 2360: kern/thread.c: remove forward declaration ! 2361: * i386/i386/pcb.h (pcb_module_init): Add prototype. ! 2362: * kern/thread.c (pcb_module_init): Remove forward declaration. ! 2363: ! 2364: kern/task.c: remove forward declarations ! 2365: * ipc/ipc_mqueue.h: Include ipc/ipc_kmsg_queue.h. ! 2366: * kern/ipc_kobject.h: Move includes into ifndef. ! 2367: * kern/syscall_emulation.h: Include kern/task.h. ! 2368: (eml_init, eml_task_reference, eml_task_deallocate): Add prototypes. ! 2369: * kern/task.c: Include kern/syscall_emulation.h. ! 2370: (eml_init, eml_task_reference, eml_task_deallocate): Remove forward declarations ! 2371: ! 2372: kern/syscall_sw.c: remove forward declarations ! 2373: * kern/eventcount.h (evc_wait_clear): Add prototype. ! 2374: * kern/ipc_mig.h: Include device/device_types.h. ! 2375: (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. ! 2376: * 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. ! 2377: Include kern/ipc_mig.h. ! 2378: Include kern/eventcount.h. ! 2379: ! 2380: kern/syscall_subr.c: remove forward declaration ! 2381: * kern/syscall_subr.c (thread_depress_priority): Remove forward declaration. ! 2382: * kern/syscall_subr.h (thread_depress_priority): Add prototype. ! 2383: ! 2384: kern/startup.c: remove forward declarations ! 2385: * Makefrag.am: Include kern/bootstrap.h. ! 2386: Include vm/vm_init.h. ! 2387: Include device/device_init.h. ! 2388: * device/device_init.h: New file. ! 2389: Add copyright. ! 2390: [_DEVICE_DEVICE_INIT_H_]: Add ifndef. ! 2391: (device_service_create): Add prototype. ! 2392: * i386/i386/mp_desc.h (start_other_cpus): Add prototype. ! 2393: * kern/bootstrap.h: New file. ! 2394: Add copyright. ! 2395: [_KERN_BOOTSTRAP_H_]: Add ifndef. ! 2396: (bootstrap_create): Add prototype. ! 2397: * kern/sched_prim.h (idle_thread, sched_thread): Add prototypes. ! 2398: * kern/startup.c: Include kern/bootstrap.h. ! 2399: Include kern/startup.h. ! 2400: Include vm/vm_init.h. ! 2401: Include vm/vm_pageout.h. ! 2402: Include device/device_init.h. ! 2403: (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. ! 2404: [NCPUS > 1] Include machine/mp_desc.h and kern/machine.h. ! 2405: * kern/startup.h: Include kern/thread.h. ! 2406: (cpu_launch_first_thread, start_kernel_threads): Add prototypes. ! 2407: * vm/vm_init.h: New file. ! 2408: Add copyright. ! 2409: [_VM_VM_INIT_H_]: Add ifndef. ! 2410: (vm_mem_init, vm_mem_bootstrap): Add prototypes. ! 2411: * vm/vm_pageout.h (vm_pageout): Add prototype. ! 2412: ! 2413: kern/sched_prim.c: remove forward declarations ! 2414: * kern/sched_prim.c (set_pri, do_thread_scan, choose_pset_thread, checkrq, thread_check): Remove forward declarations. ! 2415: * kern/sched_prim.h (set_pri, do_thread_scan, choose_pset_thread, checkrq, thread_check): Add prototypes. ! 2416: ! 2417: kern/processor.c: remove forward declarations ! 2418: * kern/processor.c (quantum_set, pset_init, processor_init): Remove forward declarations. ! 2419: * kern/processor.h (quantum_set, pset_init, processor_init): Add prototypes. ! 2420: ! 2421: kern/ipc_mig.c: remove forward declarations ! 2422: * device/ds_routines.h (ds_device_write_trap, ds_device_writev_trap): Add prototypes. ! 2423: * kern/ipc_mig.c (ds_device_write_trap, ds_device_writev_trap): Remove forward declarations. ! 2424: ! 2425: kern/debug.c: remove forward declaration ! 2426: * kern/debug.c (cnputc): Remove forward declaration. ! 2427: Include device/cons.h. ! 2428: ! 2429: kern/bootstrap.c: remove forward declarations ! 2430: * i386/i386/pcb.h: Include mach/thread_status.h. ! 2431: Include machine/thread.h. ! 2432: * kern/bootstrap.c: Include machine/pcb.h. ! 2433: (user_stack_low, set_user_regs): Remove forward declarations. ! 2434: ! 2435: ipc/mach_msg.c: remove forward declarations ! 2436: * ipc/mach_msg.c: Include kern/exception.h. ! 2437: (exception_raise_continue, exception_raise_continue_fast): Remove forward declarations. ! 2438: * kern/exception.h: Include ipc/ipc_types.h. ! 2439: Include ipc/ipc_kmsg.h. ! 2440: ! 2441: ipc/ipc_table.c: remove forward declaration ! 2442: * ipc/ipc_table.c (ipc_table_fill): Remove forward declaration. ! 2443: * ipc/ipc_table.h (ipc_table_fill): Add prototype. ! 2444: ! 2445: ipc/ipc_kmsg.c: remove forward declarations ! 2446: * ipc/ipc_kmsg.c (copyinmap, copyoutmap, ipc_msg_print): Remove forward declarations. ! 2447: * ipc/ipc_kmsg.h (ipc_msg_print): Add prototype. ! 2448: ! 2449: i386/intel/pmap.c: remove forward declarations ! 2450: * i386/intel/pmap.c (pmap_remove_range, signal_cpus): Remove forward declarations. ! 2451: * i386/intel/pmap.h (pmap_remove_range, signal_cpus): Add prototypes. ! 2452: ! 2453: 2013-12-04 Samuel Thibault <[email protected]> ! 2454: ! 2455: Drop duplicate declaration ! 2456: * i386/i386/model_dep.h (halt_cpu, halt_all_cpus): Remove duplicate ! 2457: declaration. ! 2458: * i386/i386at/model_dep.h (halt_cpu, halt_all_cpus): Add comments. ! 2459: ! 2460: 2013-12-04 Marin Ramesa <[email protected]> ! 2461: ! 2462: i386/i386at: remove forward declarations ! 2463: * Makefrag.am: Include kern/startup.h. ! 2464: * i386/i386at/model_dep.c: Include kern/startup.h. ! 2465: Include i386at/model_dep.h. ! 2466: (setup_main, halt_all_cpus, halt_cpu, inittodr): Remove forward declarations. ! 2467: * i386/i386at/model_dep.h (halt_all_cpus, halt_cpu, inittodr): Add prototypes. ! 2468: * kern/startup.h: New file. ! 2469: Add copyright. ! 2470: [_KERN_STARTUP_H_]: Add ifndef. ! 2471: (setup_main): Add prototype. ! 2472: ! 2473: i386/i386at/kd_mouse.c: remove forward declarations ! 2474: * i386/i386at/kd_mouse.c (mouseintr, mouse_enqueue, mouse_read_done): Remove forward declarations. ! 2475: (mouseintr): Define argument type. ! 2476: * i386/i386at/kd_mouse.h (mouseintr, mouse_enqueue, mouse_read_done): Add prototypes. ! 2477: ! 2478: i386/i386at/kd_event.c: remove forward declarations ! 2479: * i386/i386at/kd_event.c (kbd_enqueue, X_kdb_enter_init, X_kdb_exit_init, kbd_read_done): Remove forward declarations. ! 2480: * i386/i386at/kd_event.h (kbd_enqueue, X_kdb_enter_init, X_kdb_exit_init, kbd_read_done): Add prototypes. ! 2481: ! 2482: i386/i386at/kd.c: remove forward declarations ! 2483: * i386/i386at/kd.c (kd_enqsc, kdcheckmagic, do_modifier, bmpch2bit, bmppaintcsr, bit2fbptr): Remove forward declarations. ! 2484: * i386/i386at/kd.h: Include device/buf.h. ! 2485: Include i386at/kdsoft.h. ! 2486: (kdcheckmagic, do_modifier, bmpch2bit, bmppaintcsr, bit2fbptr): Add prototypes. ! 2487: * i386/i386at/kd_event.h (kd_enqsc): Add prototype. ! 2488: ! 2489: i386/i386at/conf.c: remove forward declarations ! 2490: * i386/Makefrag.am: Include i386/i386at/model_dep.h and i386/i386at/mem.h. ! 2491: * i386/i386at/com.h (comgetstat, comsetstat): Declare as extern. ! 2492: (comopen, comclose, comread, comwrite, comportdeath): Add prototypes. ! 2493: * i386/i386at/conf.c: Include kern/mach_clock.h and i386at/model_dep.h. ! 2494: (timeopen, timeclose, timemmap): Remove forward declarations. ! 2495: (kdopen, kdclose, kdread, kdwrite, kdgetstat, kdsetstat, kdportdeath, kdmmap): Likewise. ! 2496: (comopen, comclose, comread, comwrite, comportdeath, comgetstat, comsetstat): Likewise. ! 2497: (lpropen, lprclose, lprread, lprwrite, lprportdeath, lprgetstat, lprsetstat): Likewise. ! 2498: (kbdopen, kbdclose, kbdread, kbdgetstat, kbdsetstat): Likewise. ! 2499: (mouseopen, mouseclose, mouseread, mousegetstat): Likewise. ! 2500: (memmmap): Likewise. ! 2501: (kmsgopen, kmsgclose, kmsgread, kmsggetstat): Likewise. ! 2502: (hypcnopen, hypcnclose, hypcnread, hypcnwrite, hypcnportdeath, hypcngetstat, hypcnsetstat): Likewise. ! 2503: Include i386at/kd.h. ! 2504: Include i386at/com.h. ! 2505: Include i386at/lpr.h. ! 2506: Include i386at/kd_event.h. ! 2507: Include i386at/kd_mouse.h. ! 2508: Include i386at/mem.h. ! 2509: Include device/kmsg.h. ! 2510: Include xen/console.h. ! 2511: * i386/i386at/kd.h: Include device/io_req.h. ! 2512: (kdopen, kdclose, kdread, kdwrite, kdgetstat, kdsetstat, kdportdeath, kdmmap): Add prototypes. ! 2513: * i386/i386at/kd_event.h (kbdopen, kbdclose, kbdread, kbdgetstat, kbdsetstat): Likewise. ! 2514: * i386/i386at/kd_mouse.h (mouseopen, mouseclose, mouseread, mousegetstat): Likewise. ! 2515: * i386/i386at/lpr.h (lpropen, lprclose, lprread, lprwrite, lprportdeath): Likewise. ! 2516: (lprgetstat, lprsetstat): Declare as extern. ! 2517: * i386/i386at/mem.h: New file. ! 2518: Add copyright. ! 2519: [_MEM_H_]: Add ifndef. ! 2520: (memmmap): Add prototype. ! 2521: * i386/i386at/model_dep.c: Include i386/i386at/model_dep.h. ! 2522: (timemmap): Fix argument list. ! 2523: * i386/i386at/model_dep.h: New file. ! 2524: Add copyright. ! 2525: [_MODEL_DEP_H_]: Add ifndef. ! 2526: (timemmap): Add prototype. ! 2527: * kern/mach_clock.h (timeopen, timeclose): Add prototypes. ! 2528: * xen/console.h (hypcnopen, hypcnclose, hypcnread, hypcnwrite, hypcnportdeath, hypcngetstat, hypcnsetstat): Add prototypes. ! 2529: ! 2530: i386/i386at/autoconf.c, com.c, lpr.c: remove forward declarations ! 2531: * i386/i386/autoconf.c (comintr, lprintr): Remove forward declarations. ! 2532: Include i386at/com.h. ! 2533: Include i386at/lprreg.h. ! 2534: * i386/i386at/com.c (comprobe, commctl, comstart, comstop, comattach, comintr, comgetstat, comsetstat): Remove forward declarations. ! 2535: * i386/i386at/com.h: Include device/tty.h. ! 2536: (comprobe, commctl, comstart, comstop, comattach, comintr, comgetstat, comsetstat): Add prototypes. ! 2537: * i386/i386at/lpr.c (lprprobe, lprstop, lprintr, lprstart, lprattach, lprgetstat, lprsetstat, lprpr_addr): Remove forward declarations. ! 2538: (lprprobe): Fix argument list. ! 2539: (lprpr): Define argument type. ! 2540: lprpr_addr): Likewise. ! 2541: * i386/i386at/lprreg.h (lprprobe, lprstop, lprintr, lprstart, lprattach, lprgetstat, lprsetstat, lprpr_addr): Add prototypes. ! 2542: ! 2543: kern/exception.c: remove forward declarations ! 2544: * i386/i386/trap.h (thread_kdb_return): Add prototype. ! 2545: * kern/exception.c (thread_kdb_return, db_printf): Remove forward declarations. ! 2546: Include machine/trap.h. ! 2547: Include ddb/db_output.h. ! 2548: ! 2549: kern: new header file exception.h ! 2550: * Makefrag.am: Include kern/exception.h. ! 2551: * i386/i386/trap.c: Include kern/exception.h. ! 2552: (exception, thread_exception_return): Remove forward declarations. ! 2553: * kern/exception.c: Include kern/exception.h. ! 2554: (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. ! 2555: * kern/exception.h: New file. ! 2556: Add copyright. ! 2557: [_KERN_EXCEPTION_H_]: Add ifndef. ! 2558: (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. ! 2559: ! 2560: i386/i386/pcb.c: remove forward declarations ! 2561: * i386/i386/pcb.c (Load_context, Switch_context, Thread_continue, user_ldt_free): Remove forward declarations. ! 2562: * i386/i386/pcb.h (Load_context, Switch_context, Thread_continue): Add prototypes. ! 2563: * i386/i386/user_ldt.h (user_ldt_free): Add prototype. ! 2564: ! 2565: i386/i386/io_perm.c: remove forward declaration ! 2566: * i386/i386/io_perm.c: Include pcb.h. ! 2567: (update_ktss_iopb): Remove forward declaration. ! 2568: * i386/i386/pcb.h (update_ktss_iopb): Add prototype. ! 2569: ! 2570: i386/i386/fpu.c, trap.c: remove forward declarations ! 2571: * i386/i386/fpu.c: Include i386/trap.h. ! 2572: (void i386_exception, fp_save, fp_load): Remove forward declaration. ! 2573: * i386/i386/trap.c (void i386_exception): Remove forward declaration. ! 2574: * i386/i386/trap.h (void i386_exception): Add prototype. ! 2575: ! 2576: i386/i386/db_trace.c: remove forward declaration ! 2577: * i386/i386/db_interface.h: Include ddb/db_variables.h. ! 2578: (db_i386_reg_value): Add prototype. ! 2579: * i386/i386/db_trace.c (db_i386_reg_value): Remove forward declaration. ! 2580: ! 2581: device/device_init.c: remove forward declarations ! 2582: * device/dev_lookup.c: Include device/ds_routines.h. ! 2583: * device/device_init.c: Include device/ds_routines.h. ! 2584: Include device/net_io.h. ! 2585: (mach_device_init, dev_lookup_init, net_io_init, device_pager_init, io_done_thread, net_thread): Remove forward declarations. ! 2586: * device/ds_routines.h (mach_device_init, dev_lookup_init, device_pager_init, io_done_thread): Add prototypes. ! 2587: * device/net_io.h (net_io_init, net_thread): Add prototypes. ! 2588: ! 2589: ddb/db_variables.c: remove forward declarations ! 2590: * ddb/db_task_thread.h: Include ddb/db_variables.h. ! 2591: (db_set_default_thread, db_get_task_thread): Add prototypes. ! 2592: * ddb/db_variables: Include ddb/db_macro.h. ! 2593: (db_set_default_thread, db_get_task_thread, db_arg_variable): Remove forward declarations. ! 2594: ! 2595: ddb/db_trap.c: remove forward declarations ! 2596: * ddb/db_run.h (db_restart_at_pc, db_stop_at_pc): Add prototypes. ! 2597: * ddb/db_trap.c (db_restart_at_pc, db_stop_at_pc): Remove forward declarations. ! 2598: Include ddb/db_run.h. ! 2599: ! 2600: ddb/db_command.c: remove useless forward declaration without definition ! 2601: * ddb/db_command.c (ddb_display): Remove forward declaration. ! 2602: Remove ddb_display call. ! 2603: ! 2604: ddb/db_command.c: remove forward declaration ! 2605: * ddb/db_command.c (db_reset_cpu): Remove forward declaration. ! 2606: * i386/i386/db_interface.h (db_reset_cpu): Add prototype. ! 2607: * i386/i386at/model_dep.c: Include i386/db_interface.h. ! 2608: ! 2609: ddb/db_sym.c: fix argument list ! 2610: * ddb/db_sym.c (dummy_db_free_symbol): Fix argument list. ! 2611: ! 2612: ddb/db_sym.c: remove useless forward declarations without definitions ! 2613: * 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. ! 2614: (x_db): Modify field definition. ! 2615: ! 2616: ddb: new header file db_aout.h ! 2617: * Makefrag.am: Include ddb/db_aout.h. ! 2618: * ddb/db_aout.c: Include ddb/db_aout.h. ! 2619: * ddb/db_aout.h: New file. ! 2620: Add copyright. ! 2621: [_DDB_DB_AOUT_H_]: Add ifndef. ! 2622: Include ddb/db_sym.h. ! 2623: Include machine/db_machdep.h. ! 2624: (aout_db_line_at_pc, aout_db_lookup, aout_db_search_symbol, aout_db_symbol_values): Add prototypes. ! 2625: * ddb/db_sym.c: Include ddb/db_aout.h. ! 2626: (db_search_in_task_symbol, aout_db_line_at_pc, aout_db_lookup, aout_db_search_symbol, aout_db_symbol_values): Remove forward declarations. ! 2627: * ddb/db_sym.h (db_search_in_task_symbol): Add prototype. ! 2628: ! 2629: ddb/db_aout.c: trivial stylistic fix for consistency ! 2630: * ddb/db_aout.c: Trivial stylistic fix for consistency. ! 2631: ! 2632: ddb/db_run.c: add comment after endif ! 2633: * ddb/db_run.c [FIXUP_PC_AFTER_BREAK]: Add comment after endif. ! 2634: ! 2635: ddb/db_mp.c: add comment after else and endif ! 2636: * ddb/db_mp.c [CONSOLE_ON_MASTER]: Add comment after else and endif. ! 2637: ! 2638: ddb/db_input.c: add comment after endif ! 2639: * ddb/db_input.c [DB_HISTORY_SIZE]: Add comment after endif. ! 2640: ! 2641: ddb/db_command.c: remove forward declarations ! 2642: * ddb/db_command.c: Include machine/db_interface.h. ! 2643: (db_help_cmd, db_stack_trace_cmd): Remove forward declarations. ! 2644: * ddb/db_command.h (db_help_cmd): Add prototype. ! 2645: * i386/i386/db_interface.h (db_stack_trace_cmd): Add prototype. ! 2646: ! 2647: device/net_io.c: initialize hash_entp to NULL ! 2648: * device/net_io.c (hash_entp): Initialize to NET_HASH_ENTRY_NULL. ! 2649: ! 2650: 2013-11-24 Marin Ramesa <[email protected]> ! 2651: ! 2652: Modify struct db_variable ! 2653: * ddb/db_macro.c (db_arg_variable): Make function void. ! 2654: * ddb/db_macro.h (db_arg_variable): Declare void return. ! 2655: * ddb/db_task_thread.c (db_set_default_thread): Make function void. ! 2656: (db_get_task_thread): Make function void. ! 2657: * ddb/db_variables.c (db_set_default_thread, db_get_task_thread, db_arg_variable): Declare void return. ! 2658: (db_read_write_variable): Use void in initialization. ! 2659: * ddb/db_variables.h (db_variable): Make third member return void. ! 2660: [FCN_NULL]: Define void. ! 2661: * i386/i386/db_trace.c (db_i386_reg_value): Make function void. ! 2662: ! 2663: device: new header file chario.h ! 2664: * Makefrag.am: Include device/chario.h. ! 2665: * device/chario.c (queue_delayed_reply, tty_output, char_open_done, char_read_done, char_write_done): Remove forward declarations. ! 2666: * device/chario.h: New file. ! 2667: Add copyright. ! 2668: [_DEVICE_CHARIO_H_]: Add ifndef. ! 2669: Include device/tty.h. ! 2670: (queue_delayed_reply, tty_output, char_open_done, char_read_done, char_write_done): Add prototypes. ! 2671: ! 2672: ddb/db_examine.c: trivial stylistic fix for consistency ! 2673: * ddb/db_examine.c: Trivial stylistic fix for consistency. ! 2674: ! 2675: ddb: move forward declarations into a header file ! 2676: * ddb/db_examine.c (db_disasm, db_search): Remove forward declarations. ! 2677: * ddb/db_examine.h (db_disasm, db_search): Add prototypes. ! 2678: ! 2679: ddb: move forward declaration into a header file ! 2680: * ddb/db_sym.c (db_lookup): Remove forward declaration. ! 2681: * ddb/db_sym.h (db_lookup): Add prototype. ! 2682: ! 2683: ddb: create new header file db_mp.h ! 2684: * Makefrag.am: Include ddb/db_mp.h. ! 2685: * ddb/db_mp.c (remote_db, lock_db, unlock_db): Remove forward declarations. ! 2686: * ddb/db_mp.h: New file. ! 2687: Add copyright. ! 2688: [_DDB_DB_MP_H_]: Add ifndef. ! 2689: (remote_db, lock_db, unlock_db): Add prototypes. ! 2690: ! 2691: ddb: move forward declarations into a header file ! 2692: * ddb/db_run.c (db_set_task_single_step, db_clear_task_single_step): Remove forward declarations. ! 2693: * ddb/db_run.h (db_set_task_single_step, db_clear_task_single_step): Add prototypes. ! 2694: ! 2695: 2013-11-24 Samuel Thibault <[email protected]> ! 2696: ! 2697: Simplify test ! 2698: * ddb/db_sym.c (db_name_is_ambiguous): Simplify test for value returned by ! 2699: X_db_lookup. ! 2700: ! 2701: Drop spurious volatile qualifier ! 2702: * kern/processor.h (processor_doshutdown): Drop spurious volatile qualifier. ! 2703: ! 2704: 2013-11-24 Marin Ramesa <[email protected]> ! 2705: ! 2706: kern: move forward declarations into a header file ! 2707: * kern/machine.c (processor_doaction, processor_doshutdown): Remove forward declarations. ! 2708: * kern/processor.h (processor_doaction, processor_doshutdown): Add prototypes. ! 2709: ! 2710: kern: move forward declaration into a header file ! 2711: * kern/eventcount.c [NCPUS] (simpler_thread_setrun): Remove forward declaration. ! 2712: * kern/eventcount.h [NCPUS] (simpler_thread_setrun): Add prototype. ! 2713: ! 2714: kern: move forward declaration into a header file ! 2715: * kern/timer.c (timer_init): Remove forward declaration. ! 2716: * kern/timer.h (timer_init): Add prototype. ! 2717: ! 2718: kern: move forward declaration into a header file ! 2719: * kern/mach_clock.c (softclock): Remove forward declaration. ! 2720: * kern/timer.h (softclock): Add prototype. ! 2721: ! 2722: kern: move forward declarations into a header file ! 2723: * kern/thread.c [MACH_DEBUG] (stack_init, stack_finalize): Remove forward declarations. ! 2724: * kern/thread.h [MACH_DEBUG] (stack_init, stack_finalize): Add prototypes. ! 2725: ! 2726: vm: move forward declarations into a header file ! 2727: * vm/vm_map.c (vm_map_delete, vm_map_copyout_page_list, vm_map_copy_page_discard, vm_map_lookup_entry): Remove forward declarations. ! 2728: * vm/vm_map.h (vm_map_delete, vm_map_copyout_page_list, vm_map_copy_page_discard, vm_map_lookup_entry): Add prototypes. ! 2729: ! 2730: vm: move forward declarations into a header file ! 2731: * vm/vm_object.c (memory_object_release, vm_object_deactivate_pages, vm_object_copy_delayed): Remove forward declarations. ! 2732: * vm/vm_object.h (memory_object_release, vm_object_deactivate_pages, vm_object_copy_delayed): Add prototypes. ! 2733: ! 2734: 2013-11-24 Samuel Thibault <[email protected]> ! 2735: ! 2736: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach ! 2737: ! 2738: 2013-11-24 Marin Ramesa <[email protected]> ! 2739: ! 2740: Remove leftover register qualifiers ! 2741: * ddb/db_break.c: Remove register qualifiers. ! 2742: * i386/i386/pcb.c: Likewise. ! 2743: * i386/i386at/com.c: Likewise. ! 2744: * i386/i386at/lpr.c: Likewise. ! 2745: * i386/intel/pmap.c: Likewise. ! 2746: * kern/machine.c: Likewise. ! 2747: * kern/queue.h: Likewise. ! 2748: * kern/sched_prim.c: Likewise. ! 2749: * kern/sched_prim.h: Likewise. ! 2750: * kern/timer.c: Likewise. ! 2751: * vm/vm_fault.c: Likewise. ! 2752: * vm/vm_resident.h: Likewise. ! 2753: ! 2754: 2013-11-24 Richard Braun <[email protected]> ! 2755: ! 2756: New RPC for thread destruction ! 2757: A new call, thread_terminate_release, is added to support self ! 2758: destruction in threading libraries. ! 2759: ! 2760: * include/mach/gnumach.defs (thread_terminate_release): New ! 2761: simpleroutine declaration. ! 2762: * kern/thread.c: Include vm/vm_user.h and ipc/mach_port.h. ! 2763: (thread_terminate_release): New function. ! 2764: * kern/thread.h (thread_terminate_release): New prototype. ! 2765: ! 2766: 2013-11-24 Richard Braun <[email protected]> ! 2767: ! 2768: Export mach_port_destroy declaration ! 2769: * ipc/mach_port.h (mach_port_destroy): Add prototype. ! 2770: ! 2771: 2013-11-22 Marin Ramesa <[email protected]> ! 2772: ! 2773: ddb/db_break.c: remove duplicate include ! 2774: * ddb/db_break.c: Don't include ddb/db_access.h. ! 2775: ! 2776: 2013-11-21 Marin Ramesa <[email protected]> ! 2777: ! 2778: i386/i386/db_interface.h: fix implicit declaration of function ! 2779: * i386/i386/db_interface.h (cnpollc): Add prototype. ! 2780: ! 2781: ddb/db_sym.c: move assignment outside if ! 2782: * ddb/db_sym.c: Move assignment outside of if. ! 2783: (db_lookup): New variable. ! 2784: ! 2785: i386/i386at/kd.h: fix implicit declaration of function ! 2786: * i386/i386at/kd.h [MACH_KDB] (kdb_kintr): Add prototype. ! 2787: ! 2788: ddb/db_break.c: fix implicit declaration of functions ! 2789: * ddb/db_break.c: Include machine/db_interface.h. ! 2790: ! 2791: 2013-11-20 Marin Ramesa <[email protected]> ! 2792: ! 2793: i386/i386/trap.c: fix implicit declaration of function ! 2794: * i386/i386/trap.c: Include machine/db_interface.h. ! 2795: ! 2796: i386/i386/db_trace.c: don't cast to db_addr_t ! 2797: * i386/i386/db_trace.c (db_check_thread_address_valid): Don't cast argument 1 to db_addr_t. ! 2798: ! 2799: 2013-11-20 Samuel Thibault <[email protected]> ! 2800: ! 2801: Comment out db_search_null ! 2802: * i386/i386/db_interface.c (db_search_null) [!GNU]: Do not define ! 2803: db_search_null. ! 2804: ! 2805: 2013-11-20 Marin Ramesa <[email protected]> ! 2806: ! 2807: i386/i386/db_interface.c: add comments after else and endif ! 2808: * i386/i386/db_interface.c [GNU]: Add comments after else and endif. ! 2809: ! 2810: 2013-11-20 Marin Ramesa <[email protected]> ! 2811: ! 2812: i386/i386/db_interface.c: remove return value ! 2813: Void function returns with FALSE. Remove return value. ! 2814: ! 2815: * i386/i386/db_interface.c (db_task_name): Remove return value. ! 2816: ! 2817: 2013-11-20 Marin Ramesa <[email protected]> ! 2818: ! 2819: i386/i386/db_trace.c: fix implicit declaration of function ! 2820: * i386/i386/db_trace.c: Include machine/db_interface.h. ! 2821: ! 2822: i386/i386/db_interface.c: fix implicit declaration of function ! 2823: * i386/i386/db_interface.c: Include string.h. ! 2824: ! 2825: i386/i386/db_interface.c: fix implicit declaration of function ! 2826: * i386/i386/db_interface.c: Include vm/vm_fault.h. ! 2827: ! 2828: Fix implicit declaration of function ! 2829: * ddb/db_sym.c (aout_db_sym_init): Remove forward declaration. ! 2830: * ddb/db_sym.h (aout_db_sym_init): Add prototype. ! 2831: * i386/i386at/model_dep.c (aout_db_sym_init): Fix call. ! 2832: [MACH_KDB]: Include ddb/db_sym.h. ! 2833: [MACH_KDB]: Add comment after else and endif. ! 2834: ! 2835: kern/xpr.c: quiet warning about uninitialized variable ! 2836: * kern/xpr.c (s): Initialize. ! 2837: ! 2838: kern/startup.c: fix implicit declaration of function ! 2839: * kern/startup.c [MACH_KDB]: Include device/cons.h. ! 2840: ! 2841: ipc/ipc_print.h: include ipc/ipc_pset.h for ipc_pset_t ! 2842: * ipc/ipc_print.h: Include ipc/ipc_pset.h for ipc_pset_t. ! 2843: ! 2844: ddb/db_variables.c: fix initializations from incompatible pointer type ! 2845: * ddb/db_variables.c (db_set_default_thread, db_get_task_thread, db_arg_variable, fcn): Declare long return type. ! 2846: ! 2847: ddb/db_run.c: move declaration of brpc into SOFTWARE_SSTEP ! 2848: * ddb/db_run.c (brpc): Move declaration into SOFTWARE_SSTEP code. ! 2849: ! 2850: ddb/db_run.c: trivial stylistic fix for consistency ! 2851: * ddb/db_run.c: Trivial stylistic fix for consistency. ! 2852: ! 2853: ddb/db_run.c: remove set but unused variable ! 2854: * ddb/db_run.c (ins): Remove variable. ! 2855: ! 2856: ddb: fix implicit declaration of function ! 2857: * ddb/db_variables.c (db_read_write_variable): Remove forward declaration. ! 2858: * ddb/db_variables.h (db_read_write_variable): Add prototype. ! 2859: ! 2860: ddb/db_examine.c: add missing cast ! 2861: ddb/db_examine.c (addr, count): Cast to (db_expr_t *). ! 2862: ! 2863: Add comment ! 2864: * ddb/db_command.c [DB_MACHINE_COMMANDS]: Add comment after endif. ! 2865: ! 2866: 2013-11-20 Samuel Thibault <[email protected]> ! 2867: ! 2868: Drop volatile function qualifier ! 2869: * i386/i386/setjmp.h (_longjmp): Drop volatile function qualifier. ! 2870: ! 2871: 2013-11-20 Marin Ramesa <[email protected]> ! 2872: ! 2873: ddb/db_break.c: quiet GCC warning about uninitialized variable ! 2874: * ddb/db_break.c (bkpt): Initialize. ! 2875: ! 2876: 2013-11-19 Marin Ramesa <[email protected]> ! 2877: ! 2878: kern/slab.c: initialize info_size ! 2879: info_size is initialized to a random value. Quiet the warning by ! 2880: initializing to zero. ! 2881: ! 2882: * kern/slab.c (info_size): Initialize to zero. ! 2883: ! 2884: 2013-11-19 Marin Ramesa <[email protected]> ! 2885: ! 2886: kern/slab.c: initialize optimal_embed ! 2887: optimal_embed is initialized to a random value. Quiet the warning by ! 2888: initializing to zero. ! 2889: ! 2890: * kern/slab.c (optimal_embed): Initialize to zero. ! 2891: ! 2892: 2013-11-19 Marin Ramesa <[email protected]> ! 2893: ! 2894: Add copyright ! 2895: * ddb/db_write_cmd.h: Add copyright. ! 2896: * ipc/ipc_print.h: Likewise. ! 2897: * vm/vm_print.h: Likewise. ! 2898: ! 2899: 2013-11-18 Marin Ramesa <[email protected]> ! 2900: ! 2901: Add ifndefs ! 2902: Finish up with the addition of ifndefs. ! 2903: ! 2904: * device/buf.h: Add ifndef. ! 2905: * device/dev_master.h: Likewise. ! 2906: * include/device/tty_status.h: Likewise. ! 2907: * include/mach/version.h: Likewise. ! 2908: * ipc/ipc_machdep.h: Likewise. ! 2909: ! 2910: 2013-11-17 Marin Ramesa <[email protected]> ! 2911: ! 2912: ddb/stab.h: add ifndef ! 2913: * ddb/stab.h: Add ifndef. ! 2914: ! 2915: ddb/db_write_cmd.c: remove register qualifiers ! 2916: * ddb/db_write_cmd.c: Remove register qualifiers. ! 2917: ! 2918: ddb/db_watch.c: remove register qualifiers ! 2919: * ddb/db_watch.c: Remove register qualifiers. ! 2920: ! 2921: ddb/db_variables.c: remove register qualifiers ! 2922: * ddb/db_variables.c: Remove register qualifiers. ! 2923: ! 2924: ddb/db_task_thread.c: remove register qualifiers ! 2925: * ddb/db_task_thread.c: Remove register qualifiers. ! 2926: ! 2927: ddb/db_sym.h: add comment after endif ! 2928: * ddb/db_sym.h: Add comment after endif. ! 2929: ! 2930: ddb/db_sym.c: remove register qualifiers ! 2931: * ddb/db_sym.c: Remove register qualifiers. ! 2932: ! 2933: ddb/db_run.h: add ifndef ! 2934: * ddb/db_run.h: Add ifndef. ! 2935: ! 2936: ddb/db_run.c: remove register qualifiers ! 2937: * ddb/db_run.c: Remove register qualifiers. ! 2938: ! 2939: ddb/db_print.c: remove register qualifiers ! 2940: * ddb/db_print.c: Remove register qualifiers. ! 2941: ! 2942: ddb/db_output.h: add ifndef ! 2943: * ddb/db_output.h: Add ifndef. ! 2944: ! 2945: ddb/db_output.c: remove register qualifiers ! 2946: * ddb/db_output.c: Remove register qualifiers. ! 2947: ! 2948: ddb/db_mp.c: remove register qualifier ! 2949: * ddb/db_mp.c: Remove register qualifier. ! 2950: ! 2951: ddb/db_macro.c: remove register qualifiers ! 2952: * ddb/db_macro.c: Remove register qualifiers. ! 2953: ! 2954: ddb/db_lex.h: add ifndef ! 2955: * ddb/db_lex.h: Add ifndef. ! 2956: ! 2957: ddb/db_lex.c: remove register qualifiers ! 2958: * ddb/db_lex.c: Remove register qualifiers. ! 2959: ! 2960: ddb/db_input.c: remove register qualifiers ! 2961: * ddb/db_input.c: Remove register qualifiers. ! 2962: ! 2963: ddb/db_expr.c: remove register qualifier ! 2964: * ddb/db_expr.c: Remove register qualifier. ! 2965: ! 2966: ddb/db_examine.c: remove register qualifiers ! 2967: * ddb/db_examine.c: Remove register qualifiers. ! 2968: ! 2969: ddb/db_cond.c: remove register qualifiers ! 2970: * ddb/db_cond.c: Remove register qualifiers. ! 2971: ! 2972: ddb/db_command.h: add ifndef ! 2973: * ddb/db_command.h: Add ifndef. ! 2974: ! 2975: ddb/db_command.c: remove register qualifiers ! 2976: * ddb/db_command.c: Remove register qualifiers. ! 2977: ! 2978: ddb/db_break.c: remove register qualifiers ! 2979: * ddb/db_break.c: Remove register qualifiers. ! 2980: ! 2981: ddb/db_aout.c: remove register qualifiers ! 2982: * ddb/db_aout.c: Remove register qualifiers. ! 2983: ! 2984: ddb/db_access.h: add ifndef ! 2985: * ddb/db_access.h: Add ifndef. ! 2986: ! 2987: ddb/db_access.c: remove register qualifiers ! 2988: * ddb/db_access.c: Remove register qualifiers. ! 2989: ! 2990: 2013-11-17 Samuel Thibault <[email protected]> ! 2991: ! 2992: Remove dead code ! 2993: Thanks Marin Ramesa for the report. ! 2994: ! 2995: * i386/i386/user_ldt.c (selector_check): Remove function. ! 2996: * i386/i386/user_ldt.h (S_CODE, S_STACK, S_DATA): Remove macros. ! 2997: (selector_check): Remove declaration. ! 2998: ! 2999: 2013-11-15 Marin Ramesa <[email protected]> ! 3000: ! 3001: i386/intel/read_fault.c: remove register qualifier ! 3002: * i386/intel/read_fault.c: Remove register qualifier. ! 3003: ! 3004: i386/intel/pmap.h: remove register qualifiers ! 3005: * i386/intel/pmap.h: Remove register qualifiers. ! 3006: ! 3007: i386/intel/pmap.c: remove register qualifiers ! 3008: * i386/intel/pmap.c: Remove register qualifiers. ! 3009: ! 3010: i386/i386at/rtc.h: remove register qualifiers ! 3011: * i386/i386at/rtc.h: Remove register qualifiers. ! 3012: ! 3013: i386/i386at/rtc.c: remove register qualifier ! 3014: * i386/i386at/rtc.c: Remove register qualifier. ! 3015: ! 3016: i386/i386at/lpr.c: remove register qualifier ! 3017: * i386/i386at/lpr.c: Remove register qualifier. ! 3018: ! 3019: i386/i386at/kd_mouse.c: remove register qualifiers ! 3020: * i386/i386at/kd_mouse.c: Remove register qualifiers. ! 3021: ! 3022: i386/i386at/kd.c: remove register qualifiers ! 3023: * i386/i386at/kd.c: Remove register qualifiers. ! 3024: ! 3025: i386/i386at/kd_event.c: remove register qualifiers ! 3026: * i386/i386at/kd_event.c: Remove register qualifiers. ! 3027: ! 3028: i386/i386at/int_init.h: add comment after endif ! 3029: * i386/i386at/int_init.h (__ASSEMBLER__): Add comment after endif. ! 3030: ! 3031: i386/i386at/idt.h: add comment after endif ! 3032: * i386/i386at/idt.h (__ASSEMBLER__): Add comment after endif. ! 3033: ! 3034: i386/i386at/com.c: remove register qualifiers ! 3035: * i386/i386at/com.c: Remove register qualifiers. ! 3036: ! 3037: i386/i386at/com.c: trivial stylistic fix for consistency ! 3038: * i386/i386at/com.c: Trivial stylistic fix for consistency. ! 3039: ! 3040: i386/i386at/autoconf.c: remove register qualifiers ! 3041: * i386/i386at/autoconf.c: Remove register qualifiers. ! 3042: ! 3043: i386/i386/trap.c: remove register qualifiers ! 3044: * i386/i386/trap.c: Remove register qualifiers. ! 3045: ! 3046: i386/i386/thread.h: add comment after endif ! 3047: * i386/i386/thread.h (LINUX_DEV): Add comment after endif. ! 3048: ! 3049: i386/i386/pic.h: add comment after endif ! 3050: * i386/i386/pic.h (__ASSEMBLER__): Add comment after endif. ! 3051: ! 3052: i386/i386/pcb.c: remove register qualifiers ! 3053: * i386/i386/pcb.c: Remove register qualifiers. ! 3054: ! 3055: i386/i386/mp_desc.c: remove register qualifiers ! 3056: * i386/i386/mp_desc.c: Remove register qualifiers. ! 3057: ! 3058: i386/i386/machine_routines.h: add comment after endif ! 3059: * i386/i386/machine_routines.h (_I386_MACHINE_ROUTINES_H_): Add comment after endif. ! 3060: ! 3061: i386/i386/loose_ends.c: remove unused variable ! 3062: * i386/i386/loose_ends.c (boothowto): Remove unused variable. ! 3063: ! 3064: i386/i386/loose_ends.c: add comment after endif ! 3065: * i386/i386/loose_ends.c (NDEBUG): Add comment after endif. ! 3066: ! 3067: i386/i386/lock.h: remove register quaalifier ! 3068: * i386/i386/lock.h: Remove register qualifier. ! 3069: ! 3070: i386/i386/kttd_interface.c: trivial stylistic fix for consistency ! 3071: * i386/i386/kttd_interface.c: Trivial stylistic fix for consistency. ! 3072: ! 3073: i386/i386/hardclock.c: add comment after endif ! 3074: * i386/i386/hardclock.c (LINUX_DEV): Add comment after endif. ! 3075: ! 3076: i386/i386/fpu.h: remove register qualifiers ! 3077: * i386/i386/fpu.h: Remove register qualifiers. ! 3078: ! 3079: i386/i386/fpu.c: remove register qualifiers ! 3080: * i386/i386/fpu.c: Remove register qualifiers. ! 3081: ! 3082: i386/i386/db_trace.c: qualify constants with const ! 3083: * i386/i386/db_trace.c: Qualify constants with const. ! 3084: ! 3085: i386/i386/db_trace.c: remove register qualifiers ! 3086: * i386/i386/db_trace.c: Remove register qualifiers. ! 3087: ! 3088: i386/i386/db_interface.c: remove register qualifiers ! 3089: * i386/i386/db_interface.c: Remove register qualifiers. ! 3090: ! 3091: Fix typo ! 3092: ! 3093: i386/i386/vm_tuning.h: remove file ! 3094: * i386/Makefrag.am: Remove i386/i386/vm_tuning.h. ! 3095: * i386/i386/vm_tuning.h: Remove file. ! 3096: * vm/vm_pageout.c: Don't include i386/i386/vm_tuning.h. ! 3097: ! 3098: i386/i386at: add ifndefs ! 3099: * i386/i386at/kd_queue.h: Add ifndef. ! 3100: * i386/i386at/kdsoft.h: Likewise. ! 3101: * i386/i386at/lprreg.h: Likewise. ! 3102: * i386/i386at/rtc.h: Likewise. ! 3103: ! 3104: chips/busses.c: remove register qualifiers ! 3105: * chips/busses.c: Remove register qualifiers. ! 3106: ! 3107: chips/busses.c: use boolean instead of an int ! 3108: * chips/busses.c (found): Constrain range of values to a boolean. ! 3109: ! 3110: vm/vm_user.c: remove register qualifiers ! 3111: * vm/vm_user.c: Remove register qualifiers. ! 3112: ! 3113: vm/vm_resident.c: remove register qualifiers ! 3114: * vm/vm_resident.c: Remove register qualifiers. ! 3115: ! 3116: vm/vm_pageout.c: remove register qualifiers ! 3117: * vm/vm_pageout.c: Remove register qualifiers. ! 3118: ! 3119: vm/vm_object.c: remove register qualifiers ! 3120: * vm/vm_object.c: Remove register qualifiers. ! 3121: ! 3122: vm/vm_map.c: remove register qualifiers ! 3123: * vm/vm_map.c: Remove register qualifiers. ! 3124: ! 3125: vm/vm_map.c: trivial stylistic fix for consistency ! 3126: * vm/vm_map.c: Trivial stylistic fix for consistency. ! 3127: ! 3128: vm/vm_kern.c: remove register qualifiers ! 3129: * vm/vm_kern.c: Remove register qualifiers. ! 3130: ! 3131: vm/vm_fault.c: remove register qualifiers ! 3132: * vm/vm_fault.c: Remove register qualifiers. ! 3133: ! 3134: vm/vm_fault.c: remove unused variable ! 3135: * vm/vm_fault.c: Remove unused variable. ! 3136: ! 3137: vm/memory_object_proxy.h: fix definition ! 3138: * vm/memory_object_proxy.h (_VM_MEMORY_OBJECT_PROXY_H_): Fix definition. ! 3139: ! 3140: vm/memory_object.c: remove register qualifiers ! 3141: * vm/memory_object.c: Remove register qualifiers. ! 3142: ! 3143: 2013-11-13 Marin Ramesa <[email protected]> ! 3144: ! 3145: kern: remove register qualifiers ! 3146: * kern/xpr.c: Remove register qualifiers. ! 3147: ! 3148: kern: remove register qualifiers ! 3149: * kern/timer.h: Remove register qualifiers. ! 3150: ! 3151: kern: remove register qualifiers ! 3152: * kern/timer.c: Remove register qualifiers. ! 3153: ! 3154: kern: remove register qualifiers ! 3155: * kern/thread_swap.c: Remove register qualifiers. ! 3156: ! 3157: kern: remove register qualifiers ! 3158: * kern/thread.c: Remove register qualifiers. ! 3159: ! 3160: kern: remove register qualifiers ! 3161: * kern/task.c: Remove register qualifiers. ! 3162: ! 3163: kern: remove register qualifiers ! 3164: * kern/syscall_subr.c: Remove register qualifiers. ! 3165: ! 3166: kern: remove register qualifiers ! 3167: * kern/syscall_emulation.c: Remove register qualifiers. ! 3168: ! 3169: kern: remove register qualifiers ! 3170: * kern/strings.c: Remove register qualifiers. ! 3171: ! 3172: kern: remove register qualifiers ! 3173: * kern/startup.c: Remove register qualifiers. ! 3174: ! 3175: kern: remove register qualifiers ! 3176: * kern/sched_prim.c: Remove register qualifiers. ! 3177: ! 3178: kern: remove register qualifiers ! 3179: * kern/sched.h: Remove register qualifiers. ! 3180: ! 3181: kern: remove register qualifiers ! 3182: * kern/queue.h: Remove register qualifiers. ! 3183: ! 3184: kern: remove register qualifiers ! 3185: * kern/queue.c: Remove register qualifiers. ! 3186: ! 3187: kern: remove register qualifiers ! 3188: * kern/processor.c: Remove register qualifiers. ! 3189: ! 3190: kern: remove register qualifiers ! 3191: * kern/priority.c: Remove register qualifiers. ! 3192: ! 3193: kern: remove register qualifiers ! 3194: * kern/printf.c: Remove register qualifiers. ! 3195: ! 3196: kern: remove register qualifiers ! 3197: * kern/pc_sample.c: Remove register qualifiers. ! 3198: ! 3199: kern: remove register qualifiers ! 3200: * kern/machine.c: Remove register qualifiers. ! 3201: ! 3202: kern: remove register qualifiers ! 3203: * kern/mach_factor.c: Remove register qualifiers. ! 3204: ! 3205: kern: remove register qualifiers ! 3206: * kern/mach_clock.c: Remove register qualifiers. ! 3207: ! 3208: kern: remove register qualifiers ! 3209: * kern/lock_mon.c: Remove register qualifiers. ! 3210: ! 3211: kern: remove register qualifiers ! 3212: * kern/lock.c: Remove register qualifiers. ! 3213: ! 3214: kern: remove register qualifiers ! 3215: * kern/ipc_tt.c: Remove register qualifiers. ! 3216: ! 3217: kern: remove register qualifiers ! 3218: * kern/ipc_sched.c: Remove register qualifiers. ! 3219: ! 3220: kern: remove register qualifiers ! 3221: * kern/ipc_mig.c: Remove register qualifiers. ! 3222: ! 3223: kern: remove register qualifiers ! 3224: * kern/host.c: Remove register qualifiers. ! 3225: ! 3226: kern: remove register qualifiers ! 3227: * kern/exception.c: Remove register qualifiers. ! 3228: ! 3229: kern: remove register qualifiers ! 3230: * kern/eventcount.c: Remove register qualifiers. ! 3231: ! 3232: kern: remove register qualifiers ! 3233: * kern/bootstrap.c: Remove register qualifiers. ! 3234: ! 3235: kern: remove register qualifiers ! 3236: * kern/ast.c: Remove register qualifiers. ! 3237: ! 3238: kern: remove register qualifiers ! 3239: * kern/act.c: Remove register qualifiers. ! 3240: ! 3241: 2013-11-11 Marin Ramesa <[email protected]> ! 3242: ! 3243: ipc: remove register qualifiers ! 3244: * ipc/ipc_thread.h: Remove register qualifiers. ! 3245: ! 3246: ipc: remove register qualifiers ! 3247: * ipc/mach_msg.c: Remove register qualifiers. ! 3248: ! 3249: ipc: qualify constants with const ! 3250: * ipc/ipc_table.c: Qualify constants with const. ! 3251: ! 3252: ipc: trivial stylistic fix for consistency ! 3253: * ipc/ipc_pset.c: Trivial stylistic fix for consistency. ! 3254: ! 3255: 2013-11-11 Samuel Thibault <[email protected]> ! 3256: ! 3257: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach ! 3258: ! 3259: 2013-11-11 Marin Ramesa <[email protected]> ! 3260: ! 3261: ipc: remove register qualifiers ! 3262: * ipc/ipc_kmsg.c: Remove register qualifiers. ! 3263: ! 3264: 2013-11-11 Justus Winter <[email protected]> ! 3265: ! 3266: kern: fix the error handling in exec_load ! 3267: Found using the Clang Static Analyzer. ! 3268: ! 3269: * kern/elf-load.c (exec_load): Properly propagate errors. ! 3270: ! 3271: 2013-11-10 Marin Ramesa <[email protected]> ! 3272: ! 3273: kern: comment unused variable ! 3274: Variable reply_port is never used. There is indication in the comments ! 3275: that it might be used in future function call, so comment it. ! 3276: ! 3277: * kern/ipc_mig.c (syscall_device_writev_request): Comment variable. ! 3278: ! 3279: 2013-11-10 Marin Ramesa <[email protected]> ! 3280: ! 3281: device: initialize to zero offset ! 3282: Initialize addr to zero offset to quiet warnings about uninitialized ! 3283: deallocation. ! 3284: ! 3285: * device/chario.c (addr): Initialize to zero. ! 3286: ! 3287: 2013-11-10 Marin Ramesa <[email protected]> ! 3288: ! 3289: remove register qualifiers ! 3290: * device/subrs.c: Remove register qualifiers. ! 3291: ! 3292: remove register qualifiers ! 3293: * device/net_io.c: Remove register qualifiers. ! 3294: ! 3295: remove definitions of ETHERMTU and ETHERMIN ! 3296: * device/if_ether.h (ETHERMTU, ETHERMIN): Remove unused definitions. ! 3297: ! 3298: remove register qualifiers ! 3299: * device/blkio.c: Remove register qualifiers. ! 3300: ! 3301: 2013-11-09 Vladimir 'φ-coder/phcoder' Serbinenko <[email protected]> ! 3302: ! 3303: Fix overflow in Xen clock computation ! 3304: * xen/time.c (hyp_get_stime): Split `delta` into `delta_high` and ! 3305: `delta_low`, as it may overflow 4 second timing nowadays. ! 3306: ! 3307: 2013-11-09 Marin Ramesa <[email protected]> ! 3308: ! 3309: Remove lint code ! 3310: ! 3311: 2013-10-10 Richard Braun <[email protected]> ! 3312: ! 3313: Increase kernel map entry pool size ! 3314: * vm/vm_map.h (KENTRY_DATA_SIZE): Set to 256 pages. ! 3315: ! 3316: 2013-09-28 Samuel Thibault <[email protected]> ! 3317: ! 3318: Add files missing in distrib tarball ! 3319: * Makefrag.am (libkernel_a_SOURCES): Add ddb/db_write_cmd.h, ! 3320: ipc/ipc_print.h, vm/vm_print.h ! 3321: * linux/Makefrag.am (EXTRA_DIST): Add linux/src/drivers/scsi/FlashPoint.c, ! 3322: linux/src/drivers/scsi/eata_pio_proc.c, linux/src/drivers/scsi/scsiiom.c. ! 3323: 1.1.1.6 root 3324: 2013-09-27 Thomas Schwinge <[email protected]> 3325: 1.1.1.7 ! root 3326: Merge remote-tracking branch 'savannah/master' into master ! 3327: 1.1.1.6 root 3328: GNU Mach 1.4. 3329: * version.m4 (AC_PACKAGE_VERSION): Set to 1.4. 3330: * NEWS: Finalize changes for 1.4. 3331: * README: Update. 3332: 3333: * configure.ac (AM_INIT_AUTOMAKE): Add dist-bzip2. 3334: 3335: Generate ChangeLog files for distributions. 3336: * gitlog-to-changelog: New file; import from gnulib's 3337: 9fc81090f6c5590bd1b0e0fa5087577a2ee43a3e:build-aux/gitlog-to-changelog. 3338: * Makefile.am (gen-ChangeLog): New target. 3339: (dist-hook): Depend on it. 3340: 3341: dist-hook extensibility. 3342: * Makefile.am (dist-hook): Rename to... 3343: (dist-rm-CVS): ... this new target. 3344: (dist-hook): Depend on it. 3345: 3346: * README: Simplify build instructions. 3347: Follow-up to commit 471e5b080f7790c2cf95e3069d9fed1173c9ec17. 3348: 1.1.1.7 ! root 3349: 2013-09-27 Svante Signell <[email protected]> ! 3350: ! 3351: Fix typo ! 3352: * README: Fix typo. ! 3353: 1.1.1.6 root 3354: 2013-09-26 Samuel Thibault <[email protected]> 3355: 3356: Fix gpl.texi build 3357: texinfo does not support @heading/@center in the middle of an enumerate. 3358: 3359: * doc/gpl.texi: Move "NO WARRANTY" to item heading. 3360: 3361: 2013-09-26 Samuel Thibault <[email protected]> 3362: 3363: Really update README 3364: * README: Network drivers are actually enabled by default. 3365: 3366: Update README 3367: * README: Update default drivers notice. Mention cross-compilation flags 3368: for 64bit systems. 3369: 3370: 2013-09-24 Samuel Thibault <[email protected]> 3371: 3372: Drop Invariant, Front-Cover and Back-Cover references 3373: The referenced Invariant sections does not exist, and the front and back 3374: covers do not hold much information. 3375: 3376: 2013-09-22 Marin Ramesa <[email protected]> 3377: 3378: device: remove unused file dk_label.c 3379: * device/dk_label.c: Remove file. 3380: 3381: 2013-09-21 Marin Ramesa <[email protected]> 3382: 3383: add comments after endifs 3384: * device/ds_routines.c [CONFIG_PCMCIA, CONFIG_INET, LINUX_DEV, MACH_HYP]: Add comments after endifs. 3385: 3386: remove lint code 3387: * device/ds_routines.c [lint]: Remove ifdefs and associated code. 3388: 3389: remove register qualifiers 3390: * device/ds_routines.c: Remove register qualifiers. 3391: 3392: remove lint code 3393: * device/dev_pager.c [lint]: Remove ifdefs and associated code. 3394: 3395: Coding style trivial fixes 3396: 3397: remove register qualifiers 3398: * device/dev_pager.c: Remove register qualifiers. 3399: 3400: 2013-09-16 Marin Ramesa <[email protected]> 3401: 3402: another small change in style for consistency 3403: * device/dev_name.c: Change in coding style. 3404: 3405: 2013-09-16 Marin Ramesa <[email protected]> 3406: 3407: use boolean_t instead of an int 3408: Variable 'found' already receives values TRUE and FALSE, so why not make 3409: it a boolean. 3410: 3411: * device/dev_name.c: Use boolean_t instead of an int. 3412: 3413: 2013-09-16 Marin Ramesa <[email protected]> 3414: 3415: remove preprocessor comments 3416: The first one is a message that name lookup has been called, which 3417: I think is safe to remove, or maybe add #if DEBUG. Second one is a 3418: alternate calculation that I doubt it will ever be used, so I think 3419: it's safe to remove it. 3420: 3421: * device/dev_name.c: Remove preprocessor comments. 3422: 3423: 2013-09-16 Marin Ramesa <[email protected]> 3424: 3425: another small change in style for consistency 3426: * device/dev_name.c: Change in coding style. 3427: 3428: small style changes for consistency 3429: * device/dev_name: Changes in coding style. 3430: 3431: remove register qualifiers 3432: * device/dev_name.c: Remove register qualifiers. 3433: 3434: 2013-09-15 Marin Ramesa <[email protected]> 3435: 3436: remove definition of NDEVICES 3437: NDEVICES is never used. Judging by the position and the comments 3438: it was once used in initialization, but it's not anymore. I think 3439: it's safe to remove it. 3440: 3441: * device/dev_lookup.c (NDEVICES): Remove definition. 3442: 3443: 2013-09-15 Marin Ramesa <[email protected]> 3444: 3445: remove register qualifiers 3446: * device/dev_lookup.c: Remove register qualifiers. 3447: 3448: 2013-09-11 Marin Ramesa <[email protected]> 3449: 3450: remove register qualifiers. 3451: * device/cirbuf.c: Remove register qualifiers. 3452: 3453: 2013-09-11 Marin Ramesa <[email protected]> 3454: 3455: track the console init with a boolean instead of an int 3456: A variable that keeps track if the console init has been called. It should 3457: never receive values other than 0 and 1, so constrain it's possible range of 3458: values to a boolean. 3459: 3460: * device/cons.c (cn_inited): Use boolean_t instead of an int. 3461: 3462: 2013-09-11 Marin Ramesa <[email protected]> 3463: 3464: track the console buffer usage with a boolean instead of an int 3465: A variable that keeps track of the console buffer usage should never receive 3466: values other than 0 and 1, so constrain it's value range to boolean. Plus, it's 3467: more readable this way. 3468: 3469: * device/cons.c (consbufused): Use boolean_t instead of an int. 3470: 3471: 2013-09-11 Marin Ramesa <[email protected]> 3472: 3473: drop unused CONSMAJOR 3474: CONSMAJOR is never used. I'm guessing that in the past it was 3475: a part of some problematic code. I don't see a reason to keep 3476: it's definition. 3477: 3478: * device/cons.h (CONSMAJOR): Remove definition. 3479: 3480: 2013-09-09 Marin Ramesa <[email protected]> 3481: 3482: Remove register qualifiers 3483: * device/chario.c: Remove register qualifiers. 3484: 3485: Add const qualifiers. 3486: * device/chario.c (tty_inq_size, tty_outq_size): Qualify constants as const. 3487: 3488: Drop useless forward declaration 3489: * device/chario.c (tty_flush): Remove forward declaration (prototype is in tty.h). 3490: 3491: Drop luna88k bits 3492: * device/tty.h [luna88k]: Remove ifdef and include for nonexistent header files. 3493: * kern/debug.c: Remove check for luna88k. 3494: 3495: 2013-08-28 Samuel Thibault <[email protected]> 3496: 3497: Drop FXSR initialization message 3498: * i386/i386/fpu.c (init_fpu): Drop FXSR initialization message 3499: 3500: 2013-07-18 Marin Ramesa <[email protected]> 3501: 3502: kern: add missing prototype 3503: * kern/lock.h (db_show_all_slocks): Add prototype. 3504: 3505: ipc: organize ipc print function prototypes 3506: * ipc/ipc_print.h: New file. 3507: [MACH_KDB] Include <mach/mach_types.h>. 3508: [MACH_KDB] Include <mach/message.h>. 3509: [MACH_KDB] Include <ipc/ipc_types.h>. 3510: (ipc_port_print): Add prototype. 3511: (ipc_pset_print): Likewise. 3512: (ipc_kmsg_print): Likewise. 3513: (ipc_msg_print): Likewise. 3514: * ipc/ipc_port.h (ipc_port_print): Remove prototype. 3515: * ipc/ipc_port.c [MACH_KDB]: Include <ipc/ipc_print.h>. 3516: * ipc/ipc_pset.h (ipc_pset_print): Remove prototype. 3517: * ipc/ipc_pset.c [MACH_KDB]: Include <ipc/ipc_print.h>. 3518: * ipc/ipc_kmsg.c [MACH_KDB]: Include <ipc/ipc_print.h>. 3519: 3520: vm: organize vm print function prototypes 3521: * vm/vm_print.h: New file. 3522: Include <vm/vm_map.h>. 3523: Include <machine/db_machdep.h>. 3524: (vm_map_print): Add prototype. 3525: (vm_map_copy_print): Likewise. 3526: (vm_object_print): Likewise. 3527: (vm_page_print): Likewise. 3528: Include <vm/vm_object.h>. 3529: Include <vm/vm_page.h> 3530: * vm/vm_map.h (vm_map_print): Remove prototype. 3531: * vm/vm_map.c [MACH_KDB]: Include <vm/vm_print.h>. 3532: * vm/vm_object.h (vm_object_print): Remove prototype. 3533: * vm/vm_object.c [MACH_KDB]: Include <vm/vm_print.h>. 3534: * vm/vm_resident.c [MACH_KDB]: Include <vm/vm_print.h>. 3535: 3536: ddb: cleanup db_command.c 3537: * ddb/db_command.c (_longjmp): Remove prototype. 3538: (vm_map_print): Likewise. 3539: (vm_object_print): Likewise. 3540: (vm_page_print): Likewise. 3541: (vm_map_copy_print): Likewise. 3542: (ipc_port_print): Likewise. 3543: (ipc_pset_print): Likewise. 3544: (db_show_all_slocks): Likewise. 3545: (ipc_kmsg_print): Likewise. 3546: (ipc_msg_print): Likewise. 3547: Include <vm/vm_print.h>. 3548: Include <ipc/ipc_print.h>. 3549: Include <kern/lock.h>. 3550: * i386/i386/setjmp.h [__GNUC__] (_longjmp): Add prototype. 3551: 3552: 2013-07-07 Marin Ramesa <[email protected]> 3553: 3554: fix implicit declarations 3555: * ddb/db_trap.c: Include <machine/setjmp.h>. 3556: * i386/i386/setjmp.h (_setjmp): Add prototype. 3557: 3558: 2013-07-07 Samuel Thibault <[email protected]> 3559: 3560: Restore db_help_cmd 3561: * ddb/db_command.c (db_help_cmd): Restore function. 3562: 3563: 2013-07-06 Marin Ramesa <[email protected]> 3564: 3565: ddb: cleanup db_command.c 3566: * ddb/db_write_cmd.h: New file. 3567: (db_write_cmd): Add prototype. 3568: Include <mach/boolean.h>. 3569: Include <machine/db_machdep.h>. 3570: * ddb/db_break.h (db_listbreak_cmd): Add prototype. 3571: (db_delete_cmd): Likewise. 3572: (db_breakpoint_cmd): Likewise. 3573: * ddb/db_watch.h (db_listwatch_cmd): Likewise. 3574: (db_deletewatch_cmd): Likewise. 3575: (db_watchpoint_cmd): Likewise. 3576: * ddb/db_print.h (db_show_one_thread): Likewise. 3577: (db_show_all_threads): Likewise. 3578: * ddb/db_examine.h (db_print_cmd): Likewise. 3579: (db_examine_forward): Likewise. 3580: (db_examine_backward): Likewise. 3581: (db_search_cmd): Likewise. 3582: * ddb/db_variables.h (db_set_cmd): Likewise. 3583: * ddb/db_run.h (db_trace_until_call_cmd): Likewise. 3584: (db_trace_until_matching_cmd): Likewise. 3585: (db_continue_cmd): Likewise. 3586: * ddb/db_command.h (db_fncall): Likewise. 3587: * ddb/db_command.c: Include <ddb/db_break.h>. 3588: Include <ddb/db_watch.h>. 3589: Include <ddb/db_variables.h>. 3590: Include <ddb/db_write_cmd.h>. 3591: Include <ddb/db_run.h>. 3592: Include <ddb/db_cond.h>. 3593: (db_listbreak_cmd): Remove prototype. 3594: (db_listwatch_cmd): Likewise. 3595: (db_show_one_thread): Likewise. 3596: (db_show_all_threads): Likewise. 3597: (db_show_macro): Likewise. 3598: (db_show_help): Likewise. 3599: (db_print_cmd): Likewise. 3600: (db_examine_cmd): Likewise. 3601: (db_set_cmd): Likewise. 3602: (db_examine_forward): Likewise. 3603: (db_examine_backward): Likewise. 3604: (db_search_cmd): Likewise. 3605: (db_write_cmd): Likewise. 3606: (db_delete_cmd): Likewise. 3607: (db_breakpoint_cmd): Likewise. 3608: (db_deletewatch_cmd): Likewise. 3609: (db_watchpoint_cmd): Likewise. 3610: (db_single_step_cmd): Likewise. 3611: (db_trace_until_call_cmd): Likewise. 3612: (db_trace_until_matching_cmd): Likewise. 3613: (db_continue_cmd): Likewise. 3614: (db_cond_cmd): Likewise. 3615: (db_help_cmd): Likewise. 3616: (db_def_macro_cmd): Likewise. 3617: (db_del_macro_cmd): Likewise. 3618: (db_fncall): Likewise. 3619: 3620: 2013-07-05 Marin Ramesa <[email protected]> 3621: 3622: ddb: use and cleanup db_print.h 3623: * ddb/db_command.c: Include db_print.h. 3624: Remove extern db_show_regs(). 3625: Remove extern db_show_one_task(). 3626: Remove extern db_show_port_id(). 3627: * ddb/db_print.c: Include db_print.h 3628: * ddb/db_print.h (db_show_all_acts): Remove prototype. 3629: (db_show_one_act): Likewise. 3630: (db_show_shuttle): Likewise. 3631: (db_show_one_task_vm): Likewise. 3632: (db_show_all_task_vm): Likewise. 3633: (db_show_one_space): Likewise. 3634: (db_show_all_spaces): Likewise. 3635: (db_sys): Likewise. 3636: (db_port_kmsg_count): Likewise. 3637: (db_show_one_simple_lock): Likewise. 3638: (db_show_one_mutex): Likewise. 3639: (db_show_subsystem): Likewise. 3640: (db_show_runq): Likewise. 3641: 3642: 2013-07-04 Marin Ramesa <[email protected]> 3643: 3644: ddb: fix implicit declarations 3645: * ddb/db_break.c: Include ddb/db_access.h. 3646: * ddb/db_examine.h (db_xcdump): Add prototype. 3647: * ddb/db_ext_symtab.c: Include vm/vm_user.h. 3648: * ddb/db_input.c: Include device/cons.h. 3649: * ddb/db_output.c: Likewise. 3650: 3651: 2013-06-29 Marin Ramesa <[email protected]> 3652: 3653: (slab_info): fix format warnings 3654: * kern/slab.c (slab_info): Fix format for vm_size_t. 3655: 3656: Add device_pager_setup prototype 3657: * device/ds_routines.h (device_pager_setup): Add prototype. 3658: 3659: Add [nh]to[hn][ls] prototypes 3660: * device/net_io.h (ntohl, htonl, ntohs, htons): Add prototypes. 3661: 3662: 2013-06-29 Samuel Thibault <[email protected]> 3663: 3664: Fix int/long discrepancy 3665: * device/net_io.c (bpf_match): Make the `keys' parameter a pointer to 3666: unsigned int instead of unsigned long. 3667: (bpf_do_filter): Make `A', `B' and `mem' unsigned ints instead of unsigned 3668: longs. Also turn long casts into int casts. 3669: 3670: 2013-06-24 Samuel Thibault <[email protected]> 3671: 3672: Add partitioning reload support to ahci 3673: * linux/dev/drivers/block/ahci.c (port): Add `gd' field. 3674: (ahci_ioctl): New function. 3675: (ahci_fops): Fill `ioctl' field with `ahci_ioctl'. 3676: (ahci_probe_pci): Fill `gd' field with `gd'. 3677: 3678: Fix printing ahci PCI dev and fun 3679: * linux/dev/drivers/block/ahci.c (ahci_probe_dev): Compute `dev' and `fun' 3680: earlier so they can be printed. 3681: 3682: 2013-06-10 Samuel Thibault <[email protected]> 3683: 3684: Add missing 4KiB memory 3685: * i386/i386at/model_dep.c (init_alloc_aligned): Let allocated area last 3686: until end of memory map. 3687: 3688: Add non-contiguous mmap support 3689: * i386/include/mach/i386/multiboot.h (multiboot_mmap): New structure 3690: * i386/i386at/model_dep.c (mem_size_init): Parse boot_info.mmap_addr if 3691: available. 3692: (init_alloc_aligned): Likewise. 3693: 3694: 2013-06-09 Samuel Thibault <[email protected]> 3695: 3696: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 3697: 3698: 2013-06-09 Samuel Thibault <[email protected]> 3699: 3700: Do not skip AHCI controller without HOST_CAP_ONLY 3701: We rather rely on the announced PCI type to determine whether to use IDE or 3702: AHCI. 3703: 3704: * linux/dev/drivers/block/ahci.c (ahci_probe_dev): Do not skip AHCI 3705: controller without HOST_CAP_ONLY. 3706: 3707: 2013-06-09 Samuel Thibault <[email protected]> 3708: 3709: Add timeout to ahci IDENTIFY 3710: * linux/dev/drivers/block/ahci.c (identify_timeout): New function. 3711: (identify_timer): New variable. 3712: (ahci_probe_port): Add timer to abandon identify command. 3713: 3714: Fix printf format 3715: * linux/dev/drivers/block/ahci.c (ahci_do_request): Cast capacity into unsigned 3716: long and use %lu format. 3717: (ahci_probe_port): Cast size into unsigned and use %u format. 3718: 3719: Fix format 3720: 3721: 2013-06-09 Richard Braun <[email protected]> 3722: 3723: Fix object construction in the slab allocator 3724: There is currently no actual use of constructors, which is why this bug has 3725: been long overlooked. 3726: 3727: * kern/slab.c (kmem_cpu_pool_fill): Call constructor on buffers unless 3728: verification is enabled for the cache, or the constructor is NULL. 3729: 3730: 2013-06-04 Marin Ramesa <[email protected]> 3731: 3732: Comment unused variable 3733: * kern/ipc_mig.c (syscall_device_write_request): Comment unused variable. 3734: 3735: 2013-06-04 Samuel Thibault <[email protected]> 3736: 3737: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 3738: 3739: 2013-06-04 Miguel Figueiredo <[email protected]> 3740: 3741: Fix format warnings 3742: * vm/vm_resident.c (pmap_startup): Fix printf format. 3743: * xen/block.c (hyp_block_init, device_write): Likewise. 3744: * xen/net.c (hyp_net_init): Likewise. 3745: 3746: 2013-06-02 Miguel Figueiredo <[email protected]> 3747: 3748: Remove unused variable 3749: * kern/act.c (act_create): Remove unused variable. 3750: 3751: 2013-06-02 Richard Braun <[email protected]> 3752: 3753: Fix yet another locking error in the slab allocator 3754: * kern/slab.c (kmem_cache_free): Relock cache before retrying releasing 3755: an object to the CPU pool layer. 3756: 3757: 2013-06-02 Miguel Figueiredo <[email protected]> 3758: 3759: Remove unused variable 3760: * ipc/mach_port.c (mach_port_set_syscall_right): Remove unused variable. 3761: 3762: 2013-05-30 Samuel Thibault <[email protected]> 3763: 3764: Add LBA48 support to AHCI driver 3765: * linux/dev/drivers/block/ahci.c (port): Extend `capacity' field type to 3766: unsigned long long. Add `lba48' field. Make `identify' field unsigned. 3767: (ahci_do_port_request): When `lba48' is true, use WIN_READDMA_EXT and 3768: WIN_WRITEDMA_EXT commands. 3769: (ahci_probe_port): Test lba48 flag, read capacity and set `lba48' 3770: accordingly. Display size in GiB above 10GiB. 3771: * linux/src/include/linux/hdreg.h (WIN_READDMA_EXT, WIN_WRITEDMA_EXT): New 3772: macros 3773: (hd_driveid): Add `command_set_2' and lba_capacity_2' fields. 3774: 3775: 2013-05-27 Miguel Figueiredo <[email protected]> 3776: 3777: Remove old elevator algorithm function 3778: * device/blkio.c (disksort): remove unused function 3779: 3780: 2013-05-19 Miguel Figueiredo <[email protected]> 3781: 3782: Remove unneeded variable initialization 3783: * kern/thread.c (thread_force_terminate): Remove unneeded variable 3784: initialization. 3785: 3786: 2013-05-19 Samuel Thibault <[email protected]> 3787: 3788: Remove duplicate line 3789: Reported by Miguel Figueiredo 3790: 3791: * kern/thread.c (thread_create): Remove duplicate reset of 3792: new_thread->pc_sample.buffer to 0. 3793: 3794: 2013-05-16 Richard Braun <[email protected]> 3795: 3796: Reduce fragmentation in the slab allocator 3797: This reverts a change brought when reworking slab lists handling that made 3798: the allocator store slabs in LIFO order, whatever their reference count. 3799: While it's fine for free slabs, it actually increased fragmentation for 3800: partial slabs. 3801: 3802: * kern/slab.c (kmem_cache_alloc_from_slab): Insert slabs that become partial 3803: at the end of the partial slabs list. 3804: 3805: 2013-05-16 Richard Braun <[email protected]> 3806: 3807: Rename list_insert to list_insert_head 3808: This change increases clarity. 3809: 3810: * kern/list.h (list_insert): Rename to ... 3811: (list_insert_head): ... this. 3812: * kern/slab.c: Update calls to list_insert. 3813: 3814: 2013-05-15 Richard Braun <[email protected]> 3815: 3816: Fix itemization errors in the texinfo documentation 3817: * doc/mach.texi: Replace @itemx with @item for --enable-tulip and 3818: --enable-epic100. 3819: 3820: 2013-05-13 Miguel Figueiredo <[email protected]> 3821: 3822: Drop unused variables 3823: * kern/slab.c (kalloc_init): Remove unused variables. 3824: 3825: 2013-05-11 Samuel Thibault <[email protected]> 3826: 3827: Add missing parameters to printf 3828: * linux/dev/drivers/block/ahci.c (ahci_probe_dev): Add missing parameters to 3829: printf. 3830: 3831: 2013-05-10 Samuel Thibault <[email protected]> 3832: 3833: Fix ahci.h path 3834: * linux/Makefrag.am (liblinux_a_SOURCES): Fix path to ahci.h 3835: 3836: Add AHCI driver 3837: * linux/dev/glue/kmem.c (vmtophys): New function. 3838: * linux/dev/include/linux/mm.h (vmtophys): New prototype. 3839: * linux/src/include/linux/pci.h (PCI_CLASS_STORAGE_SATA, 3840: PCI_CLASS_STORAGE_SATA_AHCI): New macros. 3841: * linux/dev/drivers/block/ahci.c: New file. 3842: * linux/dev/include/ahci.h: New file. 3843: * linux/Makefrag.am (liblinux_a_SOURCES): Add linux/dev/drivers/block/ahci.c 3844: and linux/dev/drivers/block/ahci.h. 3845: * linux/src/drivers/block/ide.c: Include <ahci.h>. 3846: (probe_for_hwifs): Call ahci_probe_pci. 3847: 3848: 2013-05-02 Samuel Thibault <[email protected]> 3849: 3850: Fix non-block-aligned-offset reads 3851: This fixes grave issues when device_read is called with non-block-aligned 3852: offset, e.g. when using grub-probe with a non-block-aligned partition table. 3853: 3854: * linux/dev/glue/block.c (rdwr_full): Use current position instead of base 3855: buffer position to check for alignment. 3856: 3857: 2013-05-01 Samuel Thibault <[email protected]> 3858: 3859: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 3860: 3861: Fix macro name 3862: * linux/dev/glue/block.c (device_get_status): Use 3863: DEV_GET_RECORDS_RECORD_SIZE for DEV_GET_RECORDS instead of 3864: DEV_GET_SIZE_RECORD_SIZE. 3865: 3866: 2013-04-21 Richard Braun <[email protected]> 3867: 3868: Optimize slab reaping 3869: Instead of walking the list of free slabs while holding the cache lock, 3870: detach the list from the cache and directly compute the final count values, 3871: and destroy slabs after releasing the cache lock. 3872: 3873: * kern/slab.c (kmem_cache_reap): Optimize. 3874: 3875: 2013-04-21 Richard Braun <[email protected]> 3876: 3877: Rework slab lists handling 3878: Don't enforce strong ordering of partial slabs. Separating partial slabs 3879: from free slabs is already effective against fragmentation, and sorting 3880: would sometimes cause pathological scalability issues. In addition, store 3881: new slabs (whether free or partial) in LIFO order for better cache usage. 3882: 3883: * kern/slab.c (kmem_cache_grow): Insert new slab at the head of the slabs list. 3884: (kmem_cache_alloc_from_slab): Likewise. In addition, don't sort partial slabs. 3885: (kmem_cache_free_to_slab): Likewise. 3886: * kern/slab.h: Remove comment about partial slabs sorting. 3887: 3888: 2013-04-21 Richard Braun <[email protected]> 3889: 3890: Fix locking error in the slab allocator 3891: * kern/slab.c (kmem_cache_free): Lock cache before releasing an object to 3892: the slab layer. 3893: 3894: 2013-04-08 Samuel Thibault <[email protected]> 3895: 3896: Add -fno-optimize-sibling-calls option for better kdb traces 3897: * Makefrag.am (AM_CFLAGS) [enable_kdb]: Add -fno-optimize-sibling-calls 3898: option. 3899: 3900: 2013-03-11 Samuel Thibault <[email protected]> 3901: 3902: Update BASEPRI_USER 3903: * kern/sched.h (BASEPRI_USER): Increase to 25. 3904: 3905: Fix build without kdb 3906: * i386/i386/db_interface.h [! MACH_KBD] (db_set_hw_watchpoint, 3907: db_clear_hw_watchpoint, db_dr): Do not declare functions. 3908: 3909: 2013-03-06 Samuel Thibault <[email protected]> 3910: 3911: Increase number of priorities 3912: * kern/sched.h (NRQS): Increase to 50. 3913: 3914: 2013-03-05 Samuel Thibault <[email protected]> 3915: 3916: Do not hardcode maximum priority value 3917: * kern/sched_prim.c (do_priority_computation): Replace 31 with NRQS - 1. 3918: idle_thread: Likewise. 3919: 3920: 2013-02-04 Samuel Thibault <[email protected]> 3921: 3922: Include machine/db_interface instead of hardcoding function prototypes 3923: * ddb/db_access.c: Include <machine/db_interface.h>. 3924: (db_read_bytes, db_write_bytes): Remove functions prototypes. 3925: (db_get_task_value): Fix calling db_read_bytes. 3926: (db_put_task_value): Fix calling db_write_bytes. 3927: * ddb/db_watch.c: Include <machine/db_interface.h>. 3928: (db_set_hw_watchpoint, db_clear_hw_watchpoint): Remove functions prototypes. 3929: 3930: 2013-02-04 Samuel Thibault <[email protected]> 3931: 3932: Plug hw debug register support into kdb 3933: Make the `watch' command use hw debug registers whenever possible. 3934: 3935: * ddb/db_watch.c (db_set_hw_watchpoint, db_clear_hw_watchpoint): Add 3936: functions prototypes. 3937: (db_set_watchpoints): Try to call db_set_hw_watchpoint. 3938: (db_clear_watchpoints): Call db_clear_hw_watchpoint. 3939: * i386/i386/db_interface.c: Include <ddb/db_watch.h> 3940: (db_set_hw_watchpoint): Take a db_watchpoint_t WATCH parameter instead of 3941: its content. Remove support for clearing a debug register. 3942: (db_clear_hw_watchpoint): Add function. 3943: * i386/i386/db_interface.h: Include <ddb/db_watch.h>. 3944: (db_set_hw_watchpoint): Fix function prototype. 3945: (db_clear_hw_watchpoint): Add function prototype. 3946: * i386/i386/db_machdep.h: Do not include <machine/db_interface.h> 3947: 3948: 2013-02-04 Samuel Thibault <[email protected]> 3949: 3950: Document dwatch 3951: * doc/mach.texi: Add dwatch documentation. 3952: 3953: 2013-02-04 Samuel Thibault <[email protected]> 3954: 3955: Add x86 hardware debugging register support 3956: This adds using the x86 hardware debugging registers, either from the kernel 3957: through db_set_hw_watchpoint, or from userland through i386_DEBUG_STATE. 3958: While the kernel is using the registers, the userland values are ignored. 3959: 3960: * i386/i386/db_interface.c (kernel_dr, ids): New variables. 3961: (db_load_context, db_get_debug_state, db_set_debug_state, db_dr, 3962: db_set_hw_watchpoint): New functions. 3963: (kdb_trap): Use get_dr* instead of dr_addr[]. 3964: * i386/i386/db_interface.h (db_user_to_kernel_address, db_set_hw_watchpoint) 3965: (db_dr, db_get_debug_state, db_set_debug_state, db_load_context): Add functions 3966: prototypes. 3967: (dr0, dr1, dr2, dr3): Remove functions prototypes. 3968: * i386/i386/locore.S (dr6, dr0, dr1, dr2, dr3): Remove functions. 3969: (dr_msk, dr_addr): Remove variables. 3970: * i386/include/mach/i386/thread_status.h (i386_DEBUG_STATE): Add macro. 3971: (i386_debug_state): Add structure. 3972: (i386_DEBUG_STATE_COUNT): Add macro. 3973: * i386/i386/thread.h: Include <mach/machine/thread_status.h>. 3974: (i386_machine_state): Add `struct i386_debug_state ids' field. 3975: * i386/i386/pcb.c: Include <i386/db_interface.h>. 3976: (switch_ktss): Call db_load_context. 3977: (thread_setstatus, thread_getstatus): Add I386_DEBUG_STATE case. 3978: * i386/i386/proc_reg.h (get_dr0, set_dr0, get_dr1, set_dr1, get_dr2, 3979: set_dr2, get_dr3, set_dr3, get_dr6, set_dr6, get_dr7, set_dr7): Add macros. 3980: 3981: 2013-02-03 Samuel Thibault <[email protected]> 3982: 3983: Prevent the kernel from making any FPU use 3984: * i386/Makefrag.am (AM_CFLAGS): Add -mno-3dnow -mno-mmx -mno-sse -mno-sse2. 3985: 3986: 2013-01-31 Samuel Thibault <[email protected]> 3987: 3988: Implement pmap_map_mfn for the PVH case 3989: * i386/intel/pmap.c (pmap_map_mfn) [MACH_XEN && !MACH_PV_PAGETABLES]: 3990: Implement. 3991: 3992: Make the PVH variant get sure that the support is available in the hypervisor 3993: * i386/xen/xen_boothdr.S (FEATURES): Mark PVH features as required. 3994: 3995: 2013-01-30 Samuel Thibault <[email protected]> 3996: 3997: Add comment for TODO 3998: 3999: Do not use 4gb segment assistance in PVH 4000: * i386/i386/gdt.c (gdt_init) [MACH_PV_DESCRIPTORS && !MACH_PV_PAGETABLES]: 4001: Do not enable VMASST_TYPE_4gb_segments. 4002: * i386/i386/trap.c (user_trap): Do not handle trap 15, 4gb segment 4003: assist notification. 4004: 4005: Drop spurious inclusion 4006: * i386/i386/vm_param.h [MACH_XEN && !MACH_PV_PAGETABLES]: Do not include 4007: <xen/public/xen.h>. 4008: 4009: Increase VM_MAX_KERNEL_ADDRESS for PVH case 4010: * i386/i386/vm_param.h (VM_MAX_KERNEL_ADDRESS) [MACH_XEN && 4011: !MACH_PV_PAGETABLES]: Remove hypervisor area from VM_MAX_KERNEL_ADDRESS 4012: restriction. 4013: 4014: 2013-01-28 Samuel Thibault <[email protected]> 4015: 4016: More ifdef fixes for ring1 support and pv descriptors support 4017: * i386/i386/idt_inittab.S: Turn MACH_XEN test into MACH_PV_DESCRIPTORS test. 4018: * i386/i386/fpu.c: Turn appropriate MACH_HYP/XEN tests into MACH_RING1 tests. 4019: * i386/i386/ktss.c: Likewise. 4020: * i386/i386/locore.S: Likewise. 4021: * i386/i386/mp_desc.c: Likewise. 4022: * i386/i386/pcb.c: Likewise. 4023: * i386/i386/proc_reg.h: Likewise. 4024: * i386/i386/trap.c: Likewise. 4025: 4026: Add initial code for disabling PV pagetables 4027: * xen/configfrag.ac (--disable-pv-pagetables): Add option. 4028: * i386/xen/xen_boothdr.S (XEN_ELFNOTE_FEATURES) [!MACH_PV_PAGETABLES]: Add 4029: writable_page_tables. 4030: * i386/i386/gdt.c: Turn appropriate MACH_XEN/MACH_HYP tests into 4031: MACH_PV_PAGETABLES tests. 4032: * i386/i386/i386asm.sym: Likewise 4033: * i386/i386/ldt.c: Likewise 4034: * i386/i386/locore.S: Likewise 4035: * i386/i386/proc_reg.h: Likewise 4036: * i386/i386/user_ldt.c: Likewise 4037: * i386/i386/vm_param.h: Likewise 4038: * i386/i386/xen.h: Likewise 4039: * i386/i386at/model_dep.c: Likewise 4040: * i386/intel/pmap.h: Likewise 4041: * include/mach/xen.h: Likewise 4042: * xen/console.c: Likewise 4043: * xen/store.c: Likewise 4044: * i386/intel/pmap.c: Likewise. Define pmap_map_mfn as TODO stub. 4045: 4046: Fix comments 4047: 4048: Fix build with --disable-pseudo-phys 4049: * i386/i386/i386asm.sym (PFN_LIST) [!MACH_PSEUDO_PHYS]: Do not define. 4050: 4051: Add initial code for disabling ring1 xen execution 4052: * xen/configfrag.ac (--disable-ring1): Add option. 4053: * i386/xen/xen_boothdr.S (XEN_ELFNOTE_FEATURES) [!MACH_RING1]: Add 4054: supervisor_mode_kernel. 4055: * i386/i386/seg.h (KERNEL_RING) [!MACH_RING1]: Set macro to 0. 4056: 4057: Add initial code for disabling PV descriptors 4058: * xen/configfrag.ac (--disable-pv-descriptors): Add option 4059: * i386/xen/xen_boothdr.S (XEN_ELFNOTE_FEATURES) [!MACH_PV_DESCRIPTORS]: Add 4060: writable_descriptor_tables. 4061: * i386/i386/gdt.c: Turn appropriate MACH_XEN/MACH_HYP tests into 4062: MACH_PV_DESCRIPTORS tests. 4063: * i386/i386/gdt.h: Likewise. 4064: * i386/i386/i386asm.sym: Likewise. 4065: * i386/i386/idt.c: Likewise. 4066: * i386/i386/idt_inittab.S: Likewise. 4067: * i386/i386/ldt.c: Likewise. 4068: * i386/i386/pcb.c: Likewise. 4069: * i386/i386/seg.h: Likewise. 4070: * i386/i386/user_ldt.c: Likewise. 4071: * i386/i386/user_ldt.h: Likewise. 4072: 4073: 2013-01-22 Richard Braun <[email protected]> 4074: 4075: Add the mach_print debugging system call 4076: The purpose of this system call is to help debugging in situations where 4077: it's desirable to bypass the mach_msg call entirely. 4078: 4079: * include/mach/syscall_sw.h (mach_print): Generate system call code. 4080: * kern/syscall_subr.c: Include <kern/printf.h>. 4081: [MACH_KDB] (mach_print): New function. 4082: * kern/syscall_subr.h (mach_print): New prototype. 4083: * kern/syscall_sw.c [MACH_KDB] (mach_trap_table): Declare mach_print 4084: system call. 4085: 4086: 2013-01-13 Samuel Thibault <[email protected]> 4087: 4088: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 4089: 4090: Fix task stats incrementations 4091: * vm/vm_fault.c (vm_fault_page): Properly increment 4092: current_task()->zero_fills and cow_faults. 4093: 4094: 2013-01-13 David Höppner <[email protected]> 4095: 4096: Add statistics for task_events_info 4097: * ipc/ipc_mqueue.c (ipc_mqueue_send, ipc_mqueue_receive): Increment 4098: counters for message sent and received. 4099: * kern/ipc_kobject.c (ipc_kobject_server): Increment sent and received 4100: counters for the kernel task. 4101: * kern/task.c (task_create): Zero statistics. 4102: * kern/task.c (task_info): Add task_events_info call. 4103: * kern/task.h: Add statistics. 4104: * vm/vm_fault.c (vm_fault_page): Increment zero_fills, pageins, 4105: reactivations and cow_faults counters. 4106: * vm/vm_fault.c (vm_fault_wire_fast): Increment faults counters. 4107: * vm/vm_pageout.c (vm_pageout_scan): Increment reactivations counter. 4108: 4109: 2013-01-08 Richard Braun <[email protected]> 4110: 4111: Fix slab cache list locking 4112: This problem was overlooked because of simple locks being no-ops. 4113: 4114: * kern/slab.c (slab_collect): Fix lock name to kmem_cache_list_lock. 4115: (host_slab_info): Likewise. 4116: 4117: 2013-01-08 Richard Braun <[email protected]> 4118: 4119: Add function to dump a raw summary of the slab allocator state 4120: The purpose of this function is to allow kernel code to display the state 4121: of the slab caches in situations where the host_slab_info RPC wouldn't be 4122: available, e.g. before a panic. 4123: 4124: * kern/slab.c (slab_info): New function. 4125: * kern/slab.h: Add declaration for slab_info. 4126: 4127: 2013-01-06 Samuel Thibault <[email protected]> 4128: 4129: Double KENTRY_DATA_SIZE 4130: * vm/vm_map.h (KENTRY_DATA_SIZE): Bump from 32 pages to 64 pages. 4131: 4132: 2013-01-04 David Höppner <[email protected]> 4133: 4134: Fix compilation warning implicit function declaration kdbprintf 4135: When kernel debugger support is requested ipc and vm need 4136: the prototype for the debugger function kdbprintf. 4137: 4138: * ddb/db_output.h: Add prototype for kdbprintf. 4139: * ipc/ipc_object.c: Add include file ddb/db_output.h 4140: * ipc/ipc_port.c: Likewise. 4141: * ipc/ipc_pset.c: Likewise. 4142: * vm/vm_map.c: Likewise. 4143: * vm/vm_object.c: Likewise. 4144: * vm/vm_resident.c: Likewise. 4145: 4146: 2012-12-27 Samuel Thibault <[email protected]> 4147: 4148: Fix slow boot in virtualbox 4149: By disabling some of the most slow drivers by default, and giving progress 4150: feedback to the user. 4151: 4152: * linux/configfrag.ac (CONFIG_SCSI_NCR53C7xx, CONFIG_SCSI_AIC7XXX, 4153: CONFIG_SCSI_GDTH): Disable by default 4154: * linux/src/drivers/scsi/eata.c (__initfunc): Don't feed line in probe 4155: message. 4156: * linux/src/drivers/scsi/hosts.c (scsi_init): Print SCSI probe progress. 4157: 4158: 2012-12-27 Samuel Thibault <[email protected]> 4159: 4160: Fix spurious error on accessing fd1 4161: Cherry picked from Linux kernel commit 76c25284e0d845bff4ee1031721556148af4db1c 4162: 4163: * linux/dev/drivers/block/floppy.c (config_types): Clear from 4164: `allowed_drive_mask' floppy drives whose cmos type is 0. 4165: 4166: 2012-12-23 Samuel Thibault <[email protected]> 4167: 4168: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 4169: 4170: 2012-12-23 Samuel Thibault <[email protected]> 4171: 4172: Make thread_suspend wait for !TH_UNINT 4173: 0a55db5 made thread_suspend return KERN_FAILURE when the target thread is in 4174: TH_UNINT state. That however is not currently handled by libc, and it's more 4175: useful to just wait for the thread to get interruptible. 4176: 4177: * kern/sched_prim.c (thread_invoke): Wake NEW_THREAD->STATE for thread_suspend. 4178: * kern/thread.c (thread_suspend): Wait on NEW_THREAD->STATE as long as THREAD 4179: has TH_UNINT. 4180: 4181: 2012-12-21 David S. Miller <[email protected]> 4182: 4183: ide: Increase WAIT_DRQ to accomodate some CF cards and SSD drives. 4184: Based upon a patch by Philippe De Muyter, and feedback from Mark 4185: Lord and Robert Hancock. 4186: 4187: As noted by Mark Lord, the outdated ATA1 spec specifies a 20msec 4188: timeout for setting DRQ but lots of common devices overshoot this. 4189: 4190: (cherry picked from Linux kernel commit 602da297e293eb2cbd28dcdbbe247593a46a853a) 4191: 4192: * linux/src/drivers/block/ide.h (WAIT_DRQ): Increase to 1 s. 4193: 4194: 2012-12-21 Thomas Schwinge <[email protected]> 4195: 4196: IDE disk drives with unusual C/H/S. 4197: * linux/src/drivers/block/ide.c: Partially update to Linux 2.0.40 code. 4198: 4199: 2012-12-05 Richard Braun <[email protected]> 4200: 4201: Fix kernel task creation time 4202: The mapable_time_init function is called before machine_init, but the 4203: latter sets the system boot time. Fix their calling order. 4204: 4205: * kern/startup.c (setup_main): Call machine_init before mapable_time_init. 4206: 4207: 2012-12-04 Richard Braun <[email protected]> 4208: 4209: Strongly reduce risks of name capture in rbtree macros 4210: * kern/rbtree.h (rbtree_lookup): Prefix local variable names with three 4211: underscores. 4212: (rbtree_lookup_nearest): Likewise. 4213: (rbtree_insert): Likewise. 4214: (rbtree_lookup_slot): Likewise. 4215: (rbtree_insert_slot): Rewrite as an inline function. 4216: 4217: 2012-11-21 Richard Braun <[email protected]> 4218: 4219: Fix calls to vm_map when size is 0 4220: * vm/vm_map.c (vm_map_enter): return KERN_INVALID_ARGUMENT if size is 0. 4221: * vm/vm_user.c (vm_map): Likewise. 4222: 4223: 2012-11-19 Matthew Leach <[email protected]> 4224: 4225: Fix compilation error with older versions of GCC 4226: Some versions of GCC will error if you define a type twice (even if 4227: the definition is the same). The NCR53C8XX SCSI driver defines 4228: 'vm_offset_t', this is also defined in vm_types.h and will therefore 4229: cause a compilation error depending on the GCC version. 4230: 4231: * linux/src/drivers/scsi/ncr53c8xx.c [!MACH] (vm_offset_t, vm_size_t): Don't 4232: define types. 4233: 4234: 2012-09-23 Samuel Thibault <[email protected]> 4235: 4236: Fix gnumach_server_routine prototype 4237: * kern/ipc_kobject.c (ipc_kobject_server): Set gnumach_server_routine 4238: prototype to mig_routine_t. 4239: 4240: 2012-09-23 Richard Braun <[email protected]> 4241: 4242: Add missing file for page statistics 4243: * kern/gnumach.srv: New file. 4244: 4245: Add missing file for page statistics 4246: * include/mach/vm_cache_statistics.h: New file 4247: 4248: 2012-09-23 Gianluca Guida <[email protected]> 4249: 4250: Fix panic on irq >= 16 4251: * linux/src/drivers/net/pci-scan.c (pci_drv_register): Skip device 4252: if we are getting an invalid IRQ >= 16 and different from 255 (it 4253: happens in some motherboard). 4254: 4255: 2012-09-23 Sergio Lopez <[email protected]> 4256: 4257: Update DMA auto-enabling, make forcing DMA an option 4258: * linux/configfrag.ac (--enable-ide-forcedma): Add option. 4259: * linux/src/drivers/block/ide.c (ide_probe_promise_20246): Do not call 4260: ide_init_promise. 4261: (probe_for_hwifs): Add SI, VIA, AL PCI probing. 4262: * linux/src/drivers/block/ide.h (hwif_chipset_t): Add hpt343, udma and 4263: ultra66 chipsets. 4264: * linux/src/drivers/block/triton.c: Update to upstream 1.14 version. 4265: * linux/src/include/linux/hdreg.h (HDIO_GET_IDENTITY): Rename to ... 4266: (HDIO_OBSOLETE_IDENTITY): ... new macro. 4267: (HDIO_GET_IDENTITY): New macro. 4268: (hd_driveid): Add fields for extended identification. 4269: 4270: 2012-09-23 Alexey Dejneka <[email protected]> 4271: 4272: Fix CDROM door unlock on closure without device_close 4273: * linux/dev/glue/block.c 4274: (device_open): Properly return devp on multiple opens. 4275: (device_close_forced): Renamed from device_close, when force parameter is 1, do 4276: not wait for open_count to become 0 before closing. 4277: (device_close): New function. 4278: (device_no_senders): New function. 4279: linux_block_emulation_ops: Use (device_no_senders). 4280: 4281: 2012-09-23 Richard Braun <[email protected]> 4282: 4283: Provide basic page cache statistics 4284: * Makefrag.am (EXTRA_DIST): Add kern/gnumach.srv. 4285: (include_mach_HEADERS): Add include/mach/gnumach.defs and 4286: include/mach/vm_cache_statistics.h 4287: (nodist_libkernel_a_SOURCES): Add kern/gnumach.server.defs.c, 4288: kern/gnumach.server.h, kern/gnumach.server.c, kern/gnumach.server.msgids, 4289: kern/gnumach.server.defs. 4290: * include/mach/mach_types.h: Add #include <mach/vm_cache_statistics.h>. 4291: * kern/ipc_kobject.c (ipc_kobject_server): Declare and call 4292: gnumach_server_routine. 4293: * vm/vm_object.c (vm_object_cached_pages): New variable. 4294: (vm_object_cached_pages_lock_data): Likewise. 4295: (vm_object_deallocate): Update number of cached pages. 4296: (vm_object_lookup): Likewise. 4297: (vm_object_lookup_name): Likewise. 4298: (vm_object_destroy): Likewise. 4299: (vm_object_enter): Likewise. 4300: * vm/vm_object.h (ref_count): Declare as int. 4301: (resident_page_count): Likewise. 4302: (vm_object_cached_count): Add extern declaration. 4303: (vm_object_cached_pages): Likewise. 4304: (vm_object_cached_pages_lock_data): Likewise. 4305: (vm_object_cached_pages_update): New macro. 4306: * vm/vm_resident.c (vm_page_insert): Assert resident page count doesn't 4307: overflow, update number of cached pages as appropriate. 4308: (vm_page_replace): Likewise. 4309: (vm_page_remove): Update number of cached pages as appropriate. 4310: * vm/vm_user.c: Add #include <mach/vm_cache_statistics.h>. 4311: (vm_cache_statistics): New function. 4312: * vm/vm_user.h: Add #include <mach/mach_types.h>. 4313: (vm_cache_statistics): New declaration. 4314: * include/mach/gnumach.defs: New file. 4315: 4316: 2012-08-24 Richard Braun <[email protected]> 4317: 4318: Store threads waiting on a message queue in LIFO order 4319: * ipc/ipc_thread.h (ipc_thread_enqueue_macro): Insert thread at the 4320: head of the list instead of the tail. 4321: 4322: 2012-07-14 Samuel Thibault <[email protected]> 4323: 4324: Fix Xen boot at linear address 0xC0000000 4325: * i386/intel/pmap.c (pmap_bootstrap): Interate over linear addresses and compute 4326: l3 and l2 offsets from it instead of assuming nul l3 offset. 4327: 4328: 2012-07-08 Richard Braun <[email protected]> 4329: 4330: Fix slab collection timing 4331: The slab garbage collector uses sched_tick as its time reference, which 4332: is increased every seconds, while the interval is expressed in clock 4333: ticks. Use the proper time reference instead. 4334: 4335: * kern/slab.c (kmem_gc_last_tick): Declare as unsigned long. 4336: (slab_collect): Use elapsed_ticks instead of sched_tick. 4337: 4338: 2012-07-08 Richard Braun <[email protected]> 4339: 4340: Increase the slab collection interval 4341: * kern/slab.c (KMEM_GC_INTERVAL): Increase to 5 seconds. 4342: 4343: 2012-07-07 Richard Braun <[email protected]> 4344: 4345: Allocate kernel thread stacks out of kmem_map 4346: The kernel submaps eat most of the available kernel space. Using the 4347: main kernel map for thread stacks sometimes lead to exhaustion when many 4348: threads are created. Use kmem_map instead to increase this limit. 4349: 4350: * kern/thread.c (stack_alloc): Use kmem_map instead of kernel_map for 4351: stack allocation. 4352: (stack_collect): Likewise for release. 4353: 4354: 2012-07-07 Richard Braun <[email protected]> 4355: 4356: Merge kalloc_map into kmem_map 4357: * ipc/ipc_table.c: Add #include <kern/slab.h>. 4358: (ipc_table_alloc): Use kmem_map instead of kalloc_map when allocating 4359: a table. 4360: (ipc_table_realloc): Likewise for reallocation. 4361: (ipc_table_free): Likewise for release. 4362: * kern/kalloc.h (kalloc_map): Remove declaration. 4363: * kern/slab.c (KMEM_MAP_SIZE): Increase to 128 MiB. 4364: (KALLOC_MAP_SIZE): Remove macro. 4365: (kalloc_map_store): Remove variable. 4366: (kalloc_map): Likewise. 4367: (kalloc_pagealloc): Use kmem_map instead of kalloc_map for general 4368: purpose allocations. 4369: (kalloc_pagefree): Likewise. 4370: (kalloc_init): Remove the creation of kalloc_map. 4371: 4372: 2012-06-10 Samuel Thibault <[email protected]> 4373: 4374: Permit to select/deselect whole driver groups 4375: * linux/configfrag.ac (AC_OPTION_Linux_group): New function 4376: (AC_OPTION_Linux_ix86_at): Do not enable driver by default if the group was 4377: explicitly disabled. 4378: (scsi, net, pcmcia, wireless): Define groups. 4379: 4380: 2012-05-17 Samuel Thibault <[email protected]> 4381: 4382: Offset bios32 entry 4383: * linux/src/arch/i386/kernel/bios32.c (check_pcibios, pcibios_init): Convert 4384: physical bios32 entry address to kernel virtual address. 4385: 4386: 2012-05-17 Samuel Thibault <[email protected]> 4387: 4388: Clear direction flag after bios32 call 4389: Linux does this, there are probably wild BIOSes out there. 4390: 4391: * linux/src/arch/i386/kernel/bios32.c (bios32_service, check_pcibios, 4392: pci_bios_find_class, pci_bios_find_device, pci_bios_read_config_byte, 4393: pci_bios_read_config_word, pci_bios_read_config_dword, 4394: pci_bios_write_config_byte, pci_bios_write_config_word, 4395: pci_bios_write_config_dword): Clear direction flag after lcall to bios32. 4396: 4397: 2012-05-05 Samuel Thibault <[email protected]> 4398: 4399: Offset kernel addresses by 3GiB 4400: This permits better trace support in kdb. 4401: 4402: * i386/i386/vm_param.h (VM_MIN_KERNEL_ADDRESS): Set to 0xC0000000 4403: * i386/Makefrag.am (_START): Set to 0xC0100000. 4404: 4405: 2012-05-05 Samuel Thibault <[email protected]> 4406: 4407: Document how to offset the kernel to get better debugging 4408: * i386/i386/vm_param.h (VM_MIN_KERNEL_ADDRESS): Document that it can be 4409: changed, but _START has to be offset too. 4410: (INIT_VM_MIN_KERNEL_ADDRESS): Document that it should remain 0. 4411: 4412: 2012-04-27 Richard Braun <[email protected]> 4413: 4414: Augment VM maps with a red-black tree 4415: * vm/vm_map.c: Add #include <kern/rbtree.h>. 4416: (vm_map_setup): Initialize the map red-black tree. 4417: (vm_map_entry_cmp_lookup): New function. 4418: (vm_map_entry_cmp_insert): Likewise. 4419: (_vm_map_entry_link): Insert map entry in the red-black tree. 4420: (_vm_map_entry_unlink): Remove map entry from the red-black tree. 4421: (vm_map_lookup_entry): Rework the way the VM map hint is used, and 4422: replace the linear search with a binary search tree lookup. 4423: (vm_map_copy_insert): Move map entries from the map copy tree to the 4424: destination map tree. 4425: (vm_map_copyin): Initialize the map copy red-black tree. 4426: * vm/vm_map.h: Add #include <kern/rbtree.h>. 4427: (vm_map_entry): Add `tree_node' member. 4428: (vm_map_header): Add `tree' member. 4429: 4430: 2012-04-22 Richard Braun <[email protected]> 4431: 4432: Update comments. 4433: Literature about red-black trees vary concerning the cases numbering, 4434: and the implementation doesn't make all of them clearly appear. Remove 4435: cases numbering references to avoid confusion. 4436: 4437: 2012-04-22 Richard Braun <[email protected]> 4438: 4439: Fix copyright assignment 4440: Maksym and I have assigned copyright to the Free Software Foundation. 4441: In addition, restore the original upstream copyrights for correctness. 4442: 4443: * kern/list.h: Fix copyright assignment. 4444: * kern/rbtree.c: Likewise. 4445: * kern/rbtree.h: Likewise. 4446: * kern/rbtree_i.h: Likewise. 4447: * kern/slab.c: Likewise. 4448: * kern/slab.h: Likewise. 4449: 4450: 2012-04-06 Samuel Thibault <[email protected]> 4451: 4452: Check hyp_stack_switch return 4453: * i386/i386/pcb.c (switch_ktss): Check value returned by hyp_stack_switch. 4454: 4455: Fix integer type 4456: * kern/thread.c (host_stack_usage): Set `total' type to natural_t. 4457: 4458: 2012-04-06 Samuel Thibault <[email protected]> 4459: 4460: Do not take address of va_list variable 4461: This breaks on x86_64, where it is an array and thus gets bogus results. 4462: 4463: * ddb/db_output.c (db_printf, kdbprintf): Pass copy of va_list variable instead 4464: of its address. 4465: * kern/debug.c (panic, log): Likewise. 4466: * kern/printf.c (vprintf, iprintf, sprintf, vsnprintf): Likewise. 4467: (_doprnt): Take va_list instead of va_list *, fix usage and comment accordingly. 4468: * kern/printf.h (_doprnt): Take va_list instead of va_list *. 4469: 4470: 2012-03-24 Samuel Thibault <[email protected]> 4471: 4472: Fix Xen boot after c74adfe 4473: * i386/Makefrag.am (_START_MAP): Define symbol to 0x100000. 4474: * i386/xen/Makefrag.am (_START_MAP): Define symbol to 0xC0000000. 4475: * i386/ldscript: Use _START_MAP instead of hardcoding 0x100000. 4476: 4477: 2012-03-24 Samuel Thibault <[email protected]> 4478: 4479: Relocate kernel at bootup 4480: Grub is not able to map us at high addresses. We can however make it load us at 4481: low addresses (through the linker script mapping), then use segmentation to move 4482: ourselves to high addresses, and switch to C which uses high addresses 4483: (through _START definition). 4484: 4485: * i386/ldscript: Force mapping kernel at 0x100000, regardless of the value 4486: of _START. 4487: * i386/i386at/boothdr.S (boot_entry): Set up initial segments to project the 4488: bootstrap linear space to high addresses. 4489: 4490: 2012-03-24 Samuel Thibault <[email protected]> 4491: 4492: Make sure BIOS area is mapped in kernel threads 4493: * i386/i386at/model_dep.c (i386at_init): Map BIOS memory at 0. 4494: * i386/intel/pmap.c (pmap_create): Do not map BIOS memory in user tasks. 4495: 4496: 2012-03-24 Samuel Thibault <[email protected]> 4497: 4498: Separate INIT_VM_MIN_KERNEL_ADDRESS from VM_MIN_KERNEL_ADDRESS 4499: The former is the initial value set by the bootloader. It may not be the 4500: same as what Mach will set up. 4501: 4502: * i386/i386/vm_param.h (INIT_VM_MIN_KERNEL_ADDRESS): New macro. 4503: * i386/i386at/model_dep.c (i386at_init): Use INIT_VM_MIN_KERNEL_ADDRESS 4504: instead of VM_MIN_KERNEL_ADDRESS. 4505: 4506: 2012-03-24 Samuel Thibault <[email protected]> 4507: 4508: Add missing phystokv/kvtophys calls 4509: * i386/i386/vm_param.h [!MACH_XEN]: Do not include <xen/public/xen.h>. 4510: * i386/i386at/model_dep.c (init_alloc_aligned): Use phystokv to compare physical 4511: memory addresses with kernel start, end, and symbol table. 4512: * i386/intel/pmap.c (pmap_enter): Use kvtophys to convert ptp pointer to pte 4513: entry. 4514: * linux/dev/init/main.c (alloc_contig_mem, linux_init): Use phystokv to convert 4515: allocated pages to virtual pointer. 4516: * linux/src/include/asm-i386/io.h: Include <machine/vm_param.h>. 4517: (virt_to_phys): Call _kvtophys. 4518: (phys_to_virt): Call phystokv. 4519: * linux/src/include/linux/compatmac.h: Include <asm/io.h>. 4520: (ioremap): Use phys_to_virt to convert physical address to virtual pointer. 4521: (my_iounmap): Likewise. 4522: * linux/dev/include/asm-i386/page.h: Include <mach/vm_param.h>. 4523: (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK): Remove macros. 4524: * linux/src/drivers/scsi/ncr53c8xx.c (vm_size_t): Remove type. 4525: * linux/dev/glue/net.c: Include <machine/vm_param.h> 4526: (device_write): Call phystokv to convert from physical page address to 4527: virtual pointer. 4528: * linux/dev/glue/block.c (alloc_buffer, free_buffer, rdwr_full): Likewise. 4529: 4530: Fix issig crash at boot 4531: * linux/dev/glue/misc.c (issig): Return 0 if current_thread() is NULL. 4532: 4533: Fix wrap-around in pmap bootstrap 4534: * i386/intel/pmap.c (pmap_bootstrap): Check against `va' wrap around 4535: 0xffffffff. 4536: 4537: 2012-03-23 Samuel Thibault <[email protected]> 4538: 4539: Fix boot with big values of _start 4540: When _start is not close to 0, just using init_alloc_aligned() is not enough 4541: to know how much should be duplicated between linear and virtual mappings. 4542: Just mapping everything that can be is not very costly and should just work 4543: when it can work. 4544: 4545: * i386/i386at/model_dep.c (i386at_init) [VM_MIN_KERNEL_ADDRESS != 4546: LINEAR_MIN_KERNEL_ADDRESS]: Extend `nb_direct' to VM_MIN_KERNEL_ADDRESS - 4547: LINEAR_MIN_KERNEL_ADDRESS. 4548: 4549: 2012-03-22 Ludovic Courtès <[email protected]> 4550: 4551: Refer to `PFN_LIST' on Xen only. 4552: * i386/i386/i386asm.sym (PFN_LIST): Enclose in #ifdef MACH_XEN. Thanks 4553: to Samuel Thibault for the suggestion. 4554: 4555: 2012-03-20 Samuel Thibault <[email protected]> 4556: 4557: Use long types 4558: * ddb/db_examine.c (db_xcdump): Do not cast addr before passing to 4559: db_read_bytes. 4560: * ddb/db_macro.c (db_arg_variable): Return long. 4561: * ddb/db_macro.h (db_arg_variable): Likewise. 4562: * ddb/db_sym.c (db_maxoff): Set type to unsigned long. 4563: * ddb/db_task_thread.c (db_set_default_thread, db_get_task_thread): Return 4564: long. 4565: * ddb/db_variables.h (db_variable): Make fcn function field to return long. 4566: (FCN_NULL): Make function type return long. 4567: * i386/i386/db_interface.c (int_regs): Set field sizes to long. 4568: * i386/i386/db_machdep.h (db_expr_t): Set type to long. 4569: * i386/i386/db_trace.c (db_i386_reg_value): Return long. Use long types. 4570: (i386_frame, i386_kregs, interrupt_frame, db_nextframe): Set field sizes to 4571: long. 4572: (db_regs, i386_kregs): Use long * pointers. 4573: (db_lookup_i386_kreg): Return long *. 4574: (db_numargs, db_nextframe, db_stack_trace_cmd, db_i386_stack_trace): Use long 4575: types. 4576: * i386/i386/debug_i386.c (dump_ss): Fix format. 4577: * i386/i386/ktss.c (ktss_init): Use long type. 4578: * i386/i386/pcb.c (set_user_regs): Likewise. 4579: * i386/i386/thread.h (i386_saved_state, v86_segs, i386_kernel_state, 4580: i386_interrupt_state): Set field sizes to long. 4581: * i386/i386/trap.c (kernel_trap, user_trap): Fix formats. 4582: * kern/ast.h (ast_t): Set type to long. 4583: * kern/boot_script.c (create_task, resume_task, prompt_resume_task, 4584: boot_script_set_variable): Use long types. 4585: * kern/boot_script.h (boot_script_set_variable): Use long type. 4586: * kern/bootstrap.c (bootstrap_create): Pass long type. 4587: * kern/lock.c (simple_lock, simple_lock_try): Use long type. 4588: * linux/dev/kernel/softirq.c (linux_soft_intr): Fix format. 4589: 4590: Complain about Xen console smash only once at a time 4591: * xen/console.c (hypputc): Warning only once per console write about console 4592: ring smash. 4593: 4594: Make xchgl arch-neutral 4595: * i386/i386/xen.h (xchgl): Use xchg instruction instead of xchgl, so the 4596: assembler can detect unsigned long size. 4597: 4598: 2012-03-20 Guillem Jover <[email protected]> 4599: 4600: Use compiler defined __i386__ symbol instead of use defined i386 4601: * i386/configfrag.ac (i386): Remove definition. 4602: * i386/intel/pmap.c (pmap_update_interrupt): Rename i386 to __i386__. 4603: * i386/intel/pmap.h: Likewise. 4604: * kern/debug.c (Debugger): Likewise. 4605: * kern/lock.c (simple_lock, simple_lock_try, db_show_all_slocks): Likewise. 4606: 4607: 2012-03-20 Guillem Jover <[email protected]> 4608: 4609: Change types holding cpu flags from int to long 4610: On amd64 the cpu flags is a 64-bit word, and long on 32-bit systems is 4611: 32-bit wide anyway. 4612: 4613: * linux/dev/glue/kmem.c (linux_kmalloc, linux_kfree, __get_free_pages, 4614: free_pages): Use unsigned long instead of unsigned. 4615: * linux/dev/include/asm-i386/system.h (__save_flags, __restore_flags): 4616: Likewise. 4617: * linux/dev/kernel/printk.c (printk): Likewise. 4618: * linux/src/drivers/scsi/advansys.c (DvcEnterCritical, DvcLeaveCritical, 4619: advansys_queuecommand, advansys_abort, advansys_reset, advansys_interrupt, 4620: interrupts_enabled, AdvISR): Likewise. 4621: * linux/src/drivers/scsi/aha152x.c (aha152x_intr): Likewise. 4622: * linux/src/drivers/scsi/aha1542.c (aha1542_intr_handle): Likewise. 4623: * linux/src/drivers/scsi/aic7xxx.c (aic7xxx_done_cmds_complete): Likewise. 4624: * linux/src/drivers/scsi/ultrastor.c (log_ultrastor_abort, 4625: ultrastor_queuecommand, ultrastor_abort): Likewise. 4626: 4627: 2012-03-20 Guillem Jover <[email protected]> 4628: 4629: Match type for count with tty_get_status and tty_set_status 4630: * i386/i386at/com.c (comgetstat): Use natural_t instead of `unsigned int'. 4631: (comsetstat): Likewise. 4632: * i386/i386at/kd.c (kdgetstat, kdsetstat): Likewise. 4633: * i386/i386at/lpr.c (lprgetstat, lprsetstat): Likewise. 4634: 4635: 2012-03-19 Samuel Thibault <[email protected]> 4636: 4637: Use unsigned int for ELF 32bit values 4638: * i386/include/mach/i386/exec/elf.h (Elf32_Addr, Elf32_Off, Elf32_Sword, 4639: Elf32_Word): Use int type instead of long. 4640: 4641: 2012-03-18 Samuel Thibault <[email protected]> 4642: 4643: Fix assembly snippet portability 4644: * xen/evt.c (hyp_c_callback): Do not set assembly instruction suffixes, 4645: using 1UL constant instead. 4646: 4647: Use unsigned long types for addresses 4648: * i386/include/mach/i386/vm_param.h (i386_btop, i386_ptob, i386_round_page, 4649: i386_trunc_page): Cast to unsigned long. 4650: 4651: Use unsigned long for registers 4652: * i386/i386/proc_reg.h (get_eflags, get_esp, get_eflags, get_cr0, get_cr2, 4653: get_cr3, get_cr4): Return unsigned long type. 4654: (set_eflags, set_cr0, set_cr3, set_cr4): Take unsigned long type. 4655: 4656: Do not hardcode structure offset 4657: * i386/i386/i386asm.sym (R_EDI): Define macro. 4658: * i386/i386/locore.S (t_page_fault): Use R_CR2-R_EDI instead of hardcoded 4659: 12. 4660: 4661: 2012-03-18 Samuel Thibault <[email protected]> 4662: 4663: Set Xen kernel virtual address to 0xC0000000 4664: That makes the virtual addressing equal to linear addressing, thus optimizing 4665: some computations away. 4666: 4667: * i386/i386/vm_param.h (VM_MIN_KERNEL_ADDRESS) [MACH_XEN]: Set to 4668: 0xC0000000UL. 4669: * i386/xen/Makefrag.am (gnumach_LINKFLAGS): Set _START to 0xC0000000. 4670: * i386/xen/xen_boothdr.S (VIRT_BASE, ELF_PADDR_OFFSET): Set to 0xC0000000. 4671: 4672: 2012-03-18 Samuel Thibault <[email protected]> 4673: 4674: Fix access above 4GiB in bootstrap page table 4675: * i386/intel/pmap.c (pmap_set_page_readonly_init) [PAE]: Access the bootstrap 4676: dirbase with PTEMASK (1 page) instead of PDEMASK (4 pages) through pmap_pde. 4677: 4678: 2012-03-15 Thomas Schwinge <[email protected]> 4679: 4680: Fix build error introduced in 5f701793f63f16d111db3e3d2e91134fcc179c5b. 4681: * linux/src/include/linux/interrupt.h (intr_count): Declare as unsigned int. 4682: 4683: 2012-03-14 Samuel Thibault <[email protected]> 4684: 4685: Simplify splx 4686: * i386/i386/spl.S (splx): Use S_ARG0 instead of reimplementing it. 4687: 4688: Fix variable types according to assembly use 4689: * linux/dev/arch/i386/kernel/irq.c (intr_count): Set to int type. 4690: * linux/dev/kernel/softirq.c (bh_active, bh_mask): Likewise. 4691: (linux_soft_intr: active, mask, left): Likewise 4692: * linux/src/include/linux/interrupt.h (bh_active, bh_mask): Likewise. 4693: * linux/src/kernel/softirq.c (intr_count, bh_active, bh_mask): Likewise. 4694: (do_bottom_half: active, mask, left): Likewise 4695: 4696: Stick to binutils ELF scripts 4697: * i386/ldscript: Reformat to follow binutils version 4698: 4699: Fix PAE page frame number mask. 4700: * i386/intel/pmap.h (INTEL_PTE_PFN): Keep only 47bits, others are not usable. 4701: 4702: Fix Xen bootstrap at virtual address above 1GiB 4703: * i386/intel/pmap.h (lin2pdpnum): New macro. 4704: * i386/intel/pmap.c (pmap_set_page_readonly_init): Use lin2pdpnum macro 4705: instead of hardcoding 0. 4706: 4707: Simplify i386at_init 4708: * i386/i386at/model_dep.c (i386at_init): Do not copy linear into virtual kernel 4709: mapping when they are equal, and do not drop the former either. Use the 4710: function `i' variable. 4711: 4712: Simplify kvtophys 4713: * i386/i386/phys.c (kvtophys): Use pte_to_pa macro instead of reimplementing 4714: it. 4715: 4716: 2012-03-09 Samuel Thibault <[email protected]> 4717: 4718: Use unsigned long for addresses and sizes 4719: TODO: remonter formats 4720: 4721: * i386/include/mach/i386/vm_types.h (vm_offset_t): Define to unsigned long. 4722: (signed32_t): Define to signed int. 4723: (unsigned32_t): Define to unsigned int. 4724: * i386/include/mach/sa/stdarg.h (__va_size): Use sizeof(unsigned long)-1 4725: instead of 3. 4726: * include/mach/port.h (mach_port_t): Define to vm_offset_t instead of 4727: natural_t. 4728: * include/sys/types.h (size_t): Define to unsigned long instead of 4729: natural_t. 4730: * linux/src/include/asm-i386/posix_types.h (__kernel_size_t): Define to 4731: unsigned long. 4732: (__kernel_ssize_t): Define to long. 4733: * linux/src/include/linux/stddef.h (size_t): Define to unsigned long. 4734: 4735: * device/dev_pager.c (dev_pager_hash): Cast port to vm_offset_t insted of 4736: natural_t. 4737: (device_pager_data_request): Fix format. 4738: 4739: * device/ds_routines.c (ds_no_senders): Fix format. 4740: * i386/i386/io_map.c (io_map): Likewise. 4741: * i386/i386at/autoconf.c (take_dev_irq): Likewise. 4742: * i386/i386at/com.c (comattach): Likewise. 4743: * i386/i386at/lpr.c (lprattach): Likewise. 4744: * i386/i386at/model_dep.c (mem_size_init, mem_size_init, c_boot_entry): 4745: Likewise. 4746: * i386/intel/pmap.c (pmap_enter): Likewise. 4747: * ipc/ipc_notify.c (ipc_notify_port_deleted, ipc_notify_msg_accepted, 4748: ipc_notify_dead_name): Likewise. 4749: * ipc/mach_port.c (mach_port_destroy, mach_port_deallocate): Likewise. 4750: * kern/ipc_kobject.c (ipc_kobject_destroy): Likewise. 4751: * kern/slab.c (kalloc_init): Likewise. 4752: * vm/vm_fault.c (vm_fault_page): Likewise. 4753: * vm/vm_map.c (vm_map_pmap_enter): Likewise. 4754: * xen/block.c (device_read): Likewise. 4755: 4756: * device/net_io.c (bpf_match): Take unsigned long * instead of unsigned int 4757: *. 4758: (bpf_do_filter): Make mem unsigned long instead of long. 4759: * i386/i386/ktss.c (ktss_init): Cast pointer to unsigned long instead of 4760: unsigned. 4761: * i386/i386/pcb.c (stack_attach, switch_ktss): Cast pointers to long instead of 4762: int. 4763: * i386/i386/trap.c (dump_ss): Likewise. 4764: * ipc/ipc_hash.c (IH_LOCAL_HASH): Cast object to vm_offset_t. 4765: * ipc/mach_msg.c (mach_msg_receive, mach_msg_receive_continue): Cast kmsg to 4766: vm_offset_t instead of natural_t. 4767: * kern/pc_sample.c (take_pc_sample): Cast to vm_offset_t instead of 4768: natural_t. 4769: * kern/boot_script.c (sym, arg): Set type of `val' field to long instead of int. 4770: (create_task, builtin_symbols, boot_script_parse_line, 4771: boot_script_define_function): Cast to long instead of int. 4772: * kern/bootstrap.c (bootstrap_create): Likewise. 4773: * kern/sched_prim.c (decl_simple_lock_data): Likewise. 4774: * kern/printf.c (vsnprintf): Set size type to size_t. 4775: * kern/printf.h (vsnprintf): Likewise. 4776: * vm/vm_map.h (kentry_data_size): Fix type to vm_size_t. 4777: * vm/vm_object.c (vm_object_pmap_protect_by_page): Fix size parameter type 4778: to vm_size_t. 4779: 4780: 2012-03-08 Samuel Thibault <[email protected]> 4781: 4782: Move kentry_data_size initial value to header 4783: * vm/vm_map.h (KENTRY_DATA_SIZE): Define macro. 4784: * vm/vm_map.c (kentry_data_size): Initialize to KENTRY_DATA_SIZE. 4785: 4786: 2012-03-03 Gabriele Giacone <[email protected]> 4787: 4788: Set default serial parameters to 8N1 instead of 7E1 4789: * i386/i386at/com.c (comcninit): Set LINE_CTL register to i8BITS instead of 4790: i7BITS|iPEN. 4791: 4792: 2012-02-19 Samuel Thibault <[email protected]> 4793: 4794: Fix format for string print 4795: * linux/src/drivers/net/3c505.c (elp_sense): Use %s format for printing a mere 4796: string, not the string. 4797: 4798: Fix format for string print 4799: * linux/src/drivers/net/8390.c: Use %s format for printing a mere string, not 4800: the string. 4801: 4802: Fix format for string print 4803: * linux/src/drivers/net/3c503.c (el2_probe1): Use %s format for printing a mere 4804: string, not the string. 4805: 4806: Fix format for string print 4807: * linux/src/drivers/scsi/aha1542.c (aha1542_setup): Use %s format for printing a 4808: mere string, not the string. 4809: 4810: Fix format for string print 4811: * linux/src/drivers/scsi/advansys.c (asc_prt_line): Use %s format for 4812: printing a mere string, not the string. 4813: 4814: Fix format for string print 4815: * i386/i386at/model_dep.c (c_boot_entry): Use %s format for printing a mere 4816: string, not the string. 4817: 4818: 2012-01-28 Samuel Thibault <[email protected]> 4819: 4820: Merge branch 'master' into master-slab 4821: 4822: 2012-01-22 Samuel Thibault <[email protected]> 4823: 4824: Fix build on 64bit host 4825: When stealing the memset function from the 32bit host libc on a 64bit host 4826: system, glibc tends to bring unwanted references to _Unwind_Resume, 4827: __gcc_personality_v0, etc. So let's stop stealing memset. 4828: 4829: * kern/strings.c (memset): New function. 4830: * Makefile.am (clib_routines): Remove memset. 4831: 4832: 2012-01-09 Richard Braun <[email protected]> 4833: 4834: Improve ipc hash/marequest init readability 4835: Use macros instead of raw numeric values. 4836: 4837: * ipc/ipc_hash.h (IPC_HASH_GLOBAL_SIZE): New macro. 4838: * ipc/ipc_hash.c (ipc_hash_init): Directly set the global hash table 4839: size to IPC_HASH_GLOBAL_SIZE. 4840: * ipc/ipc_marequest.h (IPC_MAREQUEST_SIZE): New macro. 4841: * ipc/ipc_marequest.c (ipc_marequest_init): Directly set the marequest 4842: hash table size to IPC_MAREQUEST_SIZE. 4843: 4844: 2011-12-30 Samuel Thibault <[email protected]> 4845: 4846: Cope with dom0s which do not respect feature-no-csum-offload 4847: Event with feature-no-csum-offload=1, some dom0s (such as Debian Squeeze's 4848: 2.6.32) send packets with a blank checksum. Recompute them before givin the 4849: packet to pfinet. 4850: 4851: * xen/net.c (recompute_checksum): New function. 4852: (hyp_net_intr): Call recompute_checksum when the checksum is blank but the 4853: data is validated. 4854: 4855: 2011-12-29 Samuel Thibault <[email protected]> 4856: 4857: Fix typo 4858: 4859: Upgrade number of event queues 4860: * kern/sched_prim.c (NUMQUEUES): Increase to 1031 4861: 4862: 2011-12-17 Richard Braun <[email protected]> 4863: 4864: Remove arbitrary limits used by the zone system 4865: The zone allocator could limit the size of its zones to an arbitrary 4866: value set at zinit() time. There is no such parameter with the slab 4867: module. As a result of removing those limits, the kern/mach_param.h 4868: header becomes empty, and is simply removed altogether. 4869: 4870: * Makefrag.am (libkernel_a_SOURCES): Remove kern/mach_param.h. 4871: * i386/i386/fpu.c: Remove #include <kern/mach_param.h>. 4872: * i386/i386/machine_task.c: Likewise. 4873: * i386/i386/pcb.c: Likewise. 4874: * ipc/ipc_init.c: Likewise. 4875: (ipc_space_max): Remove variable. 4876: (ipc_tree_entry_max): Likewise. 4877: (ipc_port_max): Likewise. 4878: (ipc_pset_max): Likewise. 4879: * ipc/ipc_init.h (IPC_ZONE_TYPE): Remove macro. 4880: (ipc_space_max): Remove extern declaration. 4881: (ipc_tree_entry_max): Likewise. 4882: (ipc_port_max): Likewise. 4883: (ipc_pset_max): Likewise. 4884: * ipc/ipc_hash.c (ipc_hash_init): Don't use ipc_tree_entry_max to 4885: compute ipc_hash_global_size. 4886: * ipc/ipc_marequest.c: Remove #include <kern/mach_param.h>. 4887: (ipc_marequest_max): Remove variable. 4888: (ipc_marequest_init): Don't use ipc_marequest_max to compute 4889: ipc_marequest_size. 4890: (ipc_marequest_info): Return (unsigned int)-1 in maxp. 4891: * kern/act.c: Remove #include <kern/mach_param.h>. 4892: * kern/mach_clock.c: Likewise. 4893: * kern/priority.c: Likewise. 4894: * kern/task.c: Likewise. 4895: * kern/thread.c: Likewise. 4896: * vm/memory_object_proxy.c: Likewise. 4897: * vm/vm_fault.c: Likewise. 4898: 4899: 2011-12-17 Richard Braun <[email protected]> 4900: 4901: Remove the defunct kernel_task_create() function 4902: The kmem_suballoc() function, which has been replaced with 4903: kmem_submap(), is called by kernel_task_create(). Rather than update it, 4904: remove this now unused function. 4905: 4906: * kern/task.c (kernel_task_create): Remove function. 4907: * kern/task.h (kernel_task_create): Remove prototype. 4908: 4909: 2011-12-17 Richard Braun <[email protected]> 4910: 4911: Fix kern/kalloc.h includes 4912: * device/dev_pager.c: Remove #include <kern/kalloc.h>. 4913: * i386/i386/io_perm.c: Add #include <kern/kalloc.h>. 4914: * kern/bootstrap.c: Likewise. 4915: * kern/ipc_tt.c: Likewise. 4916: * kern/pc_sample.c: Likewise. 4917: * kern/processor.c: Likewise. 4918: * kern/server_loop.ch: Likewise. 4919: * kern/thread.c: Likewise. 4920: * linux/dev/glue/block.c: Likewise. 4921: * linux/dev/glue/net.c: Likewise. 4922: * vm/vm_map.c: Likewise. 4923: * xen/block.c: Likewise. 4924: * xen/net.c: Likewise. 4925: * xen/store.c: Likewise. 4926: 4927: 2011-12-17 Richard Braun <[email protected]> 4928: 4929: Adjust VM initialization 4930: Unlike the zone allocator, the slab code can't be fed with an initial 4931: chunk of memory. Some VM objects used early during startup now have to 4932: be statically allocated, and kernel map entries need a special path 4933: to avoid recursion when being allocated. 4934: 4935: * vm/vm_map.c (vm_submap_object_store): New variable. 4936: (vm_submap_object): Point to vm_submap_object_store. 4937: (kentry_data_size): Initialize to arbitrary value. 4938: (kentry_count): Remove variable. 4939: (kentry_pagealloc): New function. 4940: (vm_map_setup): Likewise. 4941: (vm_map_create): Replace initialization with a call to vm_map_setup(). 4942: * vm/vm_map.h (vm_map_setup): New prototype. 4943: * vm/vm_kern.c (kernel_map_store): New variable. 4944: (kernel_map): Point to kernel_map_store. 4945: (kmem_suballoc): Remove function. Replaced with... 4946: (kmem_submap): New function. 4947: (kmem_init): Call vm_map_setup() instead of vm_map_create(). 4948: * vm/vm_kern.h (kmem_suballoc): Remove prototype. 4949: (kmem_submap): New prototype. 4950: * vm/vm_object.c (kernel_object_store): New variable. 4951: (kernel_object): Point to kernel_object_store. 4952: (vm_object_template): Change type from vm_object_t to struct vm_object. 4953: (_vm_object_setup): New function. 4954: (_vm_object_allocate): Replace initialization with a call to 4955: _vm_object_setup(). 4956: (vm_object_bootstrap): Don't allocate vm_object_template, and use it as 4957: a structure instead of a pointer. Initialize kernel_object and 4958: vm_submap_object with _vm_object_setup() instead of 4959: _vm_object_allocate(). 4960: * vm/vm_resident.c (vm_page_bootstrap): Don't initialize 4961: kentry_data_size. 4962: * device/ds_routines.c (device_io_map_store): New variable. 4963: (device_io_map): Point to device_io_map_store. 4964: (mach_device_init): Call kmem_submap() instead of kmem_suballoc(). 4965: * ipc/ipc_init.c (ipc_kernel_map_store): New variable. 4966: (ipc_kernel_map): Point to ipc_kernel_map_store. 4967: 4968: 2011-12-17 Richard Braun <[email protected]> 4969: 4970: Adjust the kernel to use the slab allocator 4971: * device/dev_lookup.c: Replace zalloc header, types and function calls 4972: with their slab counterparts. 4973: * device/dev_pager.c: Likewise. 4974: * device/ds_routines.c: Likewise. 4975: * device/io_req.h: Likewise. 4976: * device/net_io.c: Likewise. 4977: * i386/i386/fpu.c: Likewise. 4978: * i386/i386/io_perm.c: Likewise. 4979: * i386/i386/machine_task.c: Likewise. 4980: * i386/i386/pcb.c: Likewise. 4981: * i386/i386/task.h: Likewise. 4982: * i386/intel/pmap.c: Likewise. 4983: * i386/intel/pmap.h: Remove #include <kernel/zalloc.h>. 4984: * include/mach_debug/mach_debug.defs (host_zone_info): Replace 4985: routine declaration with skip directive. 4986: (host_slab_info): New routine declaration. 4987: * include/mach_debug/mach_debug_types.defs (zone_name_t) 4988: (zone_name_array_t, zone_info_t, zone_info_array_t): Remove types. 4989: (cache_info_t, cache_info_array_t): New types. 4990: * include/mach_debug/mach_debug_types.h: Replace #include 4991: <mach_debug/zone_info.h> with <mach_debug/slab_info.h>. 4992: * ipc/ipc_entry.c: Replace zalloc header, types and function calls with 4993: their slab counterparts. 4994: * ipc/ipc_entry.h: Likewise. 4995: * ipc/ipc_init.c: Likewise. 4996: * ipc/ipc_marequest.c: Likewise. 4997: * ipc/ipc_object.c: Likewise. 4998: * ipc/ipc_object.h: Likewise. 4999: * ipc/ipc_space.c: Likewise. 5000: * ipc/ipc_space.h: Likewise. 5001: * ipc/ipc_table.c (kalloc_map): Remove extern declaration. 5002: * kern/act.c: Replace zalloc header, types and function calls with their 5003: slab counterparts. 5004: * kern/kalloc.h: Add #include <vm/vm_types.h>. 5005: (MINSIZE): Remove definition. 5006: (kalloc_map): Add extern declaration. 5007: (kget): Remove prototype. 5008: * kern/mach_clock.c: Adjust comment. 5009: * kern/processor.c: Replace zalloc header, types and function calls with 5010: their slab counterparts. 5011: * kern/startup.c: Remove #include <kernel/zalloc.h>. 5012: * kern/task.c: Replace zalloc header, types and function calls with 5013: their slab counterparts. 5014: * kern/thread.c: Likewise. 5015: * vm/memory_object_proxy.c: Likewise. 5016: * vm/vm_external.c: Likewise. 5017: * vm/vm_fault.c: Likewise. 5018: * vm/vm_init.c: Likewise. 5019: * vm/vm_map.c: Likewise. 5020: * vm/vm_object.c: Likewise. 5021: * vm/vm_page.h: Remove #include <kernel/zalloc.h>. 5022: * vm/vm_pageout.c: Replace zalloc header, types and function calls with 5023: their slab counterparts. 5024: * vm/vm_resident.c: Likewise. 5025: (zdata, zdata_size): Remove declarations. 5026: (vm_page_bootstrap): Don't steal memory for the zone system. 5027: 5028: 2011-12-17 Richard Braun <[email protected]> 5029: 5030: Import the slab allocator 5031: As it is intended to completely replace the zone allocator, remove it on 5032: the way. So long to the venerable code ! 5033: 5034: * Makefrag.am (libkernel_a_SOURCES): Add kern/slab.{c,h}, remove kern/kalloc.c 5035: and kern/zalloc.{c,h}. 5036: * configfrag.ac (SLAB_VERIFY, SLAB_USE_CPU_POOLS): Add defines. 5037: * i386/Makefrag.am (libkernel_a_SOURCES): Remove i386/i386/zalloc.h. 5038: * i386/configfrag.ac (CPU_L1_SHIFT): Remove define. 5039: * include/mach_debug/slab_info.h: New file. 5040: * kern/slab.c: Likewise. 5041: * kern/slab.h: Likewise. 5042: * i386/i386/zalloc.h: Remove file. 5043: * include/mach_debug/zone_info.h: Likewise. 5044: * kern/kalloc.c: Likewise. 5045: * kern/zalloc.c: Likewise. 5046: * kern/zalloc.h: Likewise. 5047: 5048: 2011-12-17 Richard Braun <[email protected]> 5049: 5050: Import utility files 5051: * Makefrag.am (libkernel_a_SOURCES): Add kern/list.h, kern/rbtree.c, 5052: kern/rbtree.h and kern/rbtree_i.h. 5053: * kern/list.h: New file. 5054: * kern/rbtree.c: Likewise. 5055: * kern/rbtree.h: Likewise. 5056: * kern/rbtree_i.h: Likewise. 5057: * kern/macro_help.h (MACRO_BEGIN): Use GNU C compound statement 5058: enclosed in parentheses. 5059: (MACRO_END): Likewise. 5060: 5061: 2011-11-27 Samuel Thibault <[email protected]> 5062: 5063: Keep frame pointer when debugger is enabled 5064: * Makefrag.am (AM_CFLAGS) [enable_kdb]: Add -fno-omit-frame-pointer. 5065: 5066: 2011-10-16 Samuel Thibault <[email protected]> 5067: 5068: Merge branch 'master' of callisto:gnumach 5069: 5070: 2011-10-16 Samuel Thibault <[email protected]> 5071: 5072: Do not map xen driver pages 5073: * xen/block.c (hyp_block_init): Use vm_page_grab_phys_addr instead of 5074: kmem_alloc_wired to allocate driver pages. 5075: * xen/net.c (hyp_net_init): Likewise. 5076: 5077: 2011-10-16 Samuel Thibault <[email protected]> 5078: 5079: Increase kmem area for the Xen case. 5080: Kernel tacks are 4 pages in the Xen case, so we need more kmem space. 5081: 5082: * i386/i386/vm_param.h (VM_KERNEL_MAP_SIZE) [MACH_XEN]: Increase to 224MiB. 5083: 5084: 2011-10-10 Samuel Thibault <[email protected]> 5085: 5086: Raise block device interrupt level to SPL6 5087: * linux/dev/drivers/block/genhd.c (device_setup): Set linux_intr_pri to 5088: SPL6. 5089: * linux/dev/glue/block.c (init_partition, device_open): Likewise. 5090: 5091: Raise Linux kmem memory size 5092: * linux/dev/glue/kmem.c (MEM_CHUNKS): Increase to 32. 5093: 5094: 2011-10-10 Samuel Thibault <[email protected]> 5095: 5096: Leave interrupts enabled in sym53c8xx driver 5097: The driver can work with them, and request_irq works fine with them. 5098: 5099: * linux/src/drivers/scsi/sym53c8xx.c (ncr_attach): Do not pass SA_INTERRUPT to 5100: request_irq(). 5101: 5102: 2011-10-09 Samuel Thibault <[email protected]> 5103: 5104: Define BITS_PER_LONG for Linux code 5105: * linux/src/include/asm-i386/types.h (BITS_PER_LONG): Define to 32. 5106: 5107: 2011-10-08 Samuel Thibault <[email protected]> 5108: 5109: Add sym53c8xx driver from linux 2.2 5110: This driver supports qemu's SCSI host device. 5111: Unfortunately it seems to be breaking the network device, so test with care. 5112: 5113: * linux/Makefrag.am (liblinux_a_SOURCES): Add 5114: linux/src/drivers/scsi/sym53c8xx{.c,_comm.h,.h,_defs.h} 5115: * linux/configfrag.ac: Add AC_Linux_DRIVER([sym53c8xx] to enable 5116: CONFIG_SCSI_SYM53C8XX. 5117: * linux/dev/glue/kmem.c (MEM_CHUNKS): Increase to 16. 5118: * linux/src/drivers/scsi/hosts.c [CONFIG_SCSI_SYM53C8XX]: Include "sym53c8xx.h". 5119: (builtin_scsi_hosts): include SYM53C8XX. 5120: 5121: 2011-09-28 Sergio Lopez <[email protected]> 5122: 5123: fix copy out-of-line data when length >= 512MB 5124: * ipc/ipc_kmsg.c (ipc_kmsg_copyin_body): Change length type to 5125: unsigned64_t. Cast number to unsigned64_t. 5126: (ipc_kmsg_copyout_body): Likewise. 5127: 5128: 2011-09-28 Sergio López <[email protected]> 5129: 5130: Make thread_suspend honor the TH_UNINT flag 5131: Interrupting a thread without a continuation, puts it in a 5132: inconsistent state. This is the cause for the bug described in 5133: https://lists.gnu.org/archive/html/bug-hurd/2011-09/msg00148.html 5134: 5135: * kern/thread.c (thread_suspend): Fail with KERN_FAILURE if thread is 5136: uninterruptible. 5137: 5138: 2011-09-12 Guillem Jover <[email protected]> 5139: 5140: Remove unused [!MACH_KERNEL] driver code 5141: Use «unifdef -DMACK_KERNEL=1» as a starting point, but only remove 5142: the code not exposed on public headers, the rest is needed to build 5143: properly from userland. 5144: 5145: * device/cons.c [!MACH_KERNEL]: Remove includes. 5146: [!MACH_KERNEL] (constty): Remove variable. 5147: (cninit, cnmaygetc) [MACH_KERNEL]: Remove preprocessor conditionals. 5148: [!MACH_KERNEL] (cnopen, cnclose, cnread, cnwrite, cnioctl, cnselect) 5149: (cncontrol): Remove functions. 5150: * device/cons.h (struct consdev) [MACH_KERNEL]: Remove preprocessor 5151: conditional. 5152: * device/kmsg.h [MACH_KERNEL]: Likewise. 5153: * i386/i386at/autoconf.c [!MACH_KERNEL]: Remove includes. 5154: * i386/i386at/kd_event.c [!MACH_KERNEL]: Likewise. 5155: [!MACH_KERNEL] (kbd_sel, kbdpgrp, kbdflag): Remove variables. 5156: [!MACH_KERNEL] (KBD_COLL, KBD_ASYNC, KBD_NBIO): Remove macros. 5157: (kbdopen, kbdclose, kbd_enqueue) [!MACH_KERNEL]: Remove code. 5158: [!MACH_KERNEL] (kbdioctl, kbdselect, kbdread): Remove functions. 5159: [!MACH_KERNEL] (X_kdb_enter_init, X_kdb_exit_init: Likewise. 5160: * i386/i386at/kd_mouse.c [!MACH_KERNEL]: Remove includes. 5161: [!MACH_KERNEL] (mouse_sel, mousepgrp, mouseflag): Remove variables. 5162: [!MACH_KERNEL] (MOUSE_COLL, MOUSE_ASYNC, MOUSE_NBIO): Remove macros. 5163: (mouseopen, mouseclose, kd_mouse_read, mouse_enqueue) [!MACH_KERNEL]: Remove 5164: code. 5165: [!MACH_KERNEL] (mouseioctl, mouseselect, mouseread): Remove functions. 5166: * i386/i386at/lpr.c [!MACH_KERNEL]: Remove includes. 5167: (lpropen) [MACH_KERNEL]: Remove preprocessor conditionals. 5168: (lpropen, lprclose, lprstart) [!MACH_KERNEL]: Remove code. 5169: [!MACH_KERNEL] (lprwrite, lprioctl, lprstop): Remove functions. 5170: * i386/i386at/rtc.c (readtodc, writetodc) [!MACH_KERNEL]: Remove code. 5171: * kern/mach_factor.c [MACH_KERNEL]: Remove preprocessor conditional. 5172: * xen/time.c (readtodc) [!MACH_KERNEL]: Remove code. 5173: 5174: 2011-09-09 Samuel Thibault <[email protected]> 5175: 5176: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 5177: 5178: 2011-09-09 Guillem Jover <[email protected]> 5179: 5180: Do not take unused strpbrk() from libc 5181: * Makefile.am (clib_routines): Remove strpbrk. 5182: 5183: 2011-09-06 Thomas Schwinge <[email protected]> 5184: 5185: * .gitignore: Tighten some rules, and distribute others to... * doc/.gitignore: ... here; * i386/i386/.gitignore: ... here; * tests/.gitignore: ..., and here. 5186: 5187: * i386/i386/pcb.h (stack_attach): Parameterize the continuation parameter's parameter list. * i386/i386/pcb.c (stack_attach): Likewise. 5188: 5189: Move i386/i386/locore.S declarations. 5190: * i386/i386/trap.c (recover_table, recover_table_end, retry_table) 5191: (retry_table_end): Move declarations to... 5192: * i386/i386/locore.h: ... here. 5193: 5194: 2011-09-06 Thomas Schwinge <[email protected]> 5195: 5196: Further prototyping work for memory_object_proxy.c functions. 5197: * vm/memory_object_proxy.h: Add #includes. 5198: (memory_object_proxy_lookup): New declaration. 5199: * vm/memory_object_proxy.c: #include <vm/memory_object_proxy.h>. 5200: * vm/vm_user.c: Likewise. 5201: (memory_object_proxy_lookup): Drop declaration. 5202: 5203: Parts based on a patch by FridolÃn Pokorný <[email protected]>. 5204: 5205: 2011-09-05 Samuel Thibault <[email protected]> 5206: 5207: Drop module memory free verbosity 5208: * kern/bootstrap.c (bootstrap_create): Do not show freed module memory. 5209: 5210: Free memory used by boot modules 5211: * vm/vm_resident.c (pmap_startup): Warn when some pages could not be included 5212: in the allocator due to bad estimation. 5213: * kern/bootstrap.c: Include <vm/pmap.h>. 5214: (bootstrap_create): Call vm_page_create on bootstrap modules content. 5215: 5216: 2011-09-03 FridolÃn Pokorný <[email protected]> 5217: 5218: Add prototypes for memory_object_proxy.c functions 5219: * vm/memory_object_proxy.h: Add file. 5220: * vm/vm_init.c: Include <vm/memory_object_proxy.h>. 5221: * kern/ipc_kobject.c: Likewise. 5222: * Makefile.am (libkernel_a_SOURCES): Add vm/memory_object_proxy.h. 5223: 5224: 2011-09-03 Samuel Thibault <[email protected]> 5225: 5226: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 5227: 5228: 2011-09-02 Guillem Jover <[email protected]> 5229: 5230: Remove long obsolete RPC routines 5231: * kern/compat_xxx_defs.h: Remove file. 5232: * Makefrag.am (libkernel_a_SOURCES): Remove `kern/compat_xxx_defs.h'. 5233: 5234: * include/mach/mach_types.defs (xxx_emulation_vector_t): Remove type. 5235: 5236: * device/device.srv: Do not simport <kern/compat_xxx_defs.h>. 5237: * kern/mach.srv: Likewise. 5238: * kern/mach_host.srv: Likewise. 5239: 5240: * include/device/device.defs [MACH_KERNEL]: Do not simport 5241: <kern/compat_xxx_defs.h>. 5242: (xxx_device_set_status, xxx_device_get_status) 5243: (xxx_device_set_filter): Replace routine declarations with skip 5244: directives. 5245: * include/mach/mach.defs [MACH_KERNEL]: Do not simport 5246: <kern/compat_xxx_defs.h>. 5247: (xxx_memory_object_lock_request, xxx_task_get_emulation_vector) 5248: (xxx_task_set_emulation_vector, xxx_host_info, xxx_slot_info) 5249: (xxx_cpu_control, xxx_task_info, xxx_thread_get_state) 5250: (xxx_thread_set_state, xxx_thread_info): Replace routine declarations 5251: with skip directive. 5252: * include/mach/mach_host.defs [MACH_KERNEL]: Do not simport 5253: <kern/compat_xxx_defs.h>. 5254: (yyy_host_info, yyy_processor_info, yyy_processor_control) 5255: (xxx_processor_set_default_priv, yyy_processor_set_info): Replace 5256: routine declarations with skip directive. 5257: 5258: * kern/ipc_host.c (xxx_processor_set_default_priv): Remove function. 5259: * kern/machine.c (xxx_host_info, xxx_slot_info) 5260: (xxx_cpu_control): Likewise. 5261: * kern/syscall_emulation.c (xxx_task_set_emulation_vector) 5262: (xxx_task_get_emulation_vector): Likewise. 5263: * vm/memory_object.c (xxx_memory_object_lock_request): Likewise. 5264: 5265: 2011-09-02 Guillem Jover <[email protected]> 5266: 5267: Do not remap errno codes from E* to LINUX_E* 5268: Mach no longer uses any of the old and clashing errno E* codes, so 5269: it's safe to use them now w/o namespacing. This also means one less 5270: modification needed to the Linux code. 5271: 5272: * linux/dev/include/asm-i386/errno.h: Remove file. 5273: * linux/dev/kernel/dma.c (notifier_chain_unregister) [MACH_INCLUDE]: Remove 5274: code. 5275: * linux/dev/include/linux/notifier.h: Likewise. 5276: * linux/dev/arch/i386/kernel/irq.c (setup_x86_irq): Rename LINUX_EBUSY 5277: to EBUSY. 5278: (request_irq): Rename LINUX_EINVAL to EINVAL. 5279: * linux/dev/glue/block.c (register_blkdev): Rename LINUX_EBUSY to EBUSY 5280: and LINUX_EINVAL to EINVAL. 5281: (unregister_blkdev): Rename LINUX_EINVAL to EINVAL. 5282: (rdwr_partial) Rename LINUX_ENOMEM to ENOMEM and LINUX_EIO to EIO. 5283: * linux/dev/glue/misc.c (linux_to_mach_error): Rename LINUX_EPERM to 5284: EPERM, LINUX_EIO to EIO, LINUX_ENXIO to ENXIO, LINUX_EACCES to EACCES, 5285: LINUX_EFAULT to EFAULT, LINUX_EBUSY to EBUSY, LINUX_EINVAL to EINVAL, 5286: LINUX_EROFS to EROFS, LINUX_EWOULDBLOCK to EWOULDBLOCK and LINUX_ENOMEM 5287: to ENOMEM. 5288: (verify_area): Rename LINUX_EFAULT to EFAULT. 5289: * linux/dev/kernel/resource.c (check_region): Rename LINUX_EBUSY to 5290: EBUSY. 5291: * linux/dev/kernel/sched.c (__do_down): Rename LINUX_EINTR to EINTR. 5292: 5293: 2011-09-02 Guillem Jover <[email protected]> 5294: 5295: Use Mach native error codes instead of POSIX errno E* ones 5296: * device/errno.h: Remove file. 5297: * Makefrag.am (libkernel_a_SOURCES): Remove `device/errno.h'. 5298: * i386/i386at/com.c: Include <device/device_types.h> instead of 5299: <device/errno.h>. 5300: (comopen): Replace ENXIO with D_NO_SUCH_DEVICE. 5301: * i386/i386at/kd_event.c: Include <device/device_types.h> instead of 5302: <device/errno.h>. 5303: * i386/i386at/kd_mouse.c: Likewise. 5304: (mouseopen): Replace ENODEV with D_NO_SUCH_DEVICE and EBUSY with 5305: D_ALREADY_OPEN. 5306: * i386/i386at/lpr.c: Include <device/device_types.h> instead of 5307: <device/errno.h>. 5308: (lpropen): Replace ENXIO with D_NO_SUCH_DEVICE and EBUSY with 5309: D_ALREADY_OPEN. 5310: 5311: 2011-09-02 Guillem Jover <[email protected]> 5312: 5313: Change argument name to match function body usage 5314: Otherwise the function wrongly uses the global symbol. 5315: 5316: * linux/src/drivers/scsi/ppa.c (ppa_nibble_in): Rename `str_p' argument 5317: to `base'. 5318: 5319: 2011-09-02 Guillem Jover <[email protected]> 5320: 5321: Disable set but unused variable 5322: * linux/src/drivers/scsi/gdth.c (gdth_detect): Conditionalize `b' on 5323: [LINUX_VERSION_CODE < 0x020000]. Do not preset it to 0, it's initialized 5324: later on when needed. 5325: 5326: Remove set but unused variables 5327: * linux/dev/drivers/block/floppy.c (setup_rw_floppy): Remove `dflags'. 5328: (floppy_eject): Remove `dummy'. 5329: * linux/src/drivers/net/8390.c (ethdev_init): Remove `ei_local'. 5330: * linux/src/drivers/scsi/ppa.c (ppa_detect): Remove `ppb'. 5331: 5332: Cast addr argument to vm_offset_t 5333: * linux/dev/glue/kmem.c (vfree): Cast `addr' argument on kfree_mem 5334: function to vm_offset_t. 5335: 5336: Add vsnprintf prototype 5337: * kern/printf.h (vsnprintf): New prototype. 5338: 5339: Add missing headers 5340: * linux/dev/init/main.c: Include <linux/pci.h>. 5341: * linux/dev/kernel/printk.c: Include <kern/printf.h>. 5342: 5343: 2011-09-01 Ludovic Courtès <[email protected]> 5344: 5345: Add missing header file to the distribution. 5346: * linux/Makefrag.am (liblinux_a_SOURCES): Add `linux/dev/glue/glue.h', 5347: which appeared in commit 2b4bff9914d57bff600ac70194b8b1aab3485bee 5348: ("Fix declarations"). 5349: 5350: 2011-09-01 Samuel Thibault <[email protected]> 5351: 5352: Fix documentation 5353: 5354: Close kernel stacks. 5355: * i386/i386/pcb.c (stack_attach): Initialize ebp to 0. 5356: 5357: 2011-09-01 Samuel Thibault <[email protected]> 5358: 5359: Fix PC sampling 5360: interrupt.S now saves the IRQ on the stack to acknowledge it later. 5361: 5362: * i386/i386/hardclock.c (hardclock): Add irq parameter. 5363: * i386/i386at/kd.c (kdintr, kdcheckmagic): Remove regs parameter. 5364: * i386/i386at/kd.h (kdintr): Likewise. 5365: 5366: 2011-08-31 Guillem Jover <[email protected]> 5367: 5368: Add silent rules support if available and disable it by default 5369: * configure.ac (AM_SILENT_RULES): Add silent rules support if available, 5370: and disable it by default. 5371: * Makefile.am (AWK_V, AWK_V_, AWK_V_0): New variables. 5372: (NM_V, NM_V_, NM_V_0): Likewise. 5373: (GZIP_V, GZIP_V_, GZIP_V_0): Likewise. 5374: (MIGCOM_V, MIGCOM_V_, MIGCOM_V_0): Likewise. 5375: (gnumach-undef): Use NM_V in front of NM. 5376: (gnumach-undef-bad): Use AM_V_GEN in front of sed. 5377: (clib-routines.o): Use AM_V_at in fron of undefined symbols check. 5378: Use AM_V_CCLD in front of CCLD. 5379: * Makefrag.am (gnumach.msgids): Use AM_V_GEN in front of cat. 5380: * Makerules.am (%.symc): Use AWK_V in front of AWK. 5381: (%.symc.o): Use AM_V_CC in front of COMPILE. 5382: (%.h): Use AM_V_GEN in front of sed. 5383: (%.gz): Use GZIP_V in front of GZIP. 5384: * Makerules.mig.am (%.user.defs.c): Use AM_V_GEN in front of command. 5385: (%.server.defs.c): Likewise. 5386: (%.user.h %.user.c %.user.msgids): Use MIGCOM_V in front of MIGCOM. 5387: (%.server.h %.server.c %.server.msgids): Likewise. 5388: 5389: 2011-08-31 Samuel Thibault <[email protected]> 5390: 5391: Optimize copyout path 5392: * i386/i386/locore.S (copyout): Remove RETRY() use from >=i486 variant. Move 5393: copyout_ret and copyout_fail. 5394: 5395: Fix copyout retry on lazy allocation on >= i486 5396: * i386/i386/locore.S (copyout): Add a >=i486 variant of copyout which uses 5397: no loop, but simply retries rep mov. 5398: 5399: Disable global page while writing in kernel space 5400: * i386/i386/db_interface.c (db_write_bytes): If CPU has PGE feature, disable 5401: CR4_PGE before enabling kernel page write access, and re-enable the former after 5402: disabling the latter. 5403: 5404: 2011-08-31 Samuel Thibault <[email protected]> 5405: 5406: Protect set_cr3 against compiler assignment optimizations 5407: This fixes the kdb `break' command. 5408: 5409: i386/i386/proc_reg.h (set_cr3): Add "memory" clobber. 5410: 5411: 2011-08-31 Guillem Jover <[email protected]> 5412: 5413: Fix undefined operation on assigning self pre-incremented variable 5414: * linux/src/drivers/scsi/wd7000.c (mail_out): Add `1' instead of 5415: pre-incrementing self assigned variable. 5416: * linux/src/drivers/net/de4x5.c (de4x5_sw_reset, de4x5_queue_pkt, de4x5_rx) 5417: (de4x5_tx, de4x5_rx_ovfc, set_multicast_list, ping_media, mii_get_phy) 5418: (de4x5_ioctl): Likewise. 5419: * linux/src/drivers/net/depca.c (depca_rx, depca_tx, load_packet): Likewise. 5420: 5421: Honour type promotion on variable argument handling 5422: * linux/dev/lib/vsprintf.c (linux_vsprintf): Use `int' when retrieving 5423: a `short' through `va_arg'. 5424: 5425: Correct MiG Mach types to fix compilation warnings 5426: * include/mach/mach_types.defs (thread_info_t): Change from array of 5427: natural_t to integer_t. 5428: (task_info_t): Likewise. 5429: (host_info_t): Likewise. 5430: (processor_info_t): Likewise. 5431: (processor_set_info_t): Likewise. 5432: 5433: Denote __exit symbols as used 5434: * linux/src/include/linux/init.h: Include <linux/compiler.h>. 5435: (__exitused): New macro. 5436: (__exit): Define to ` __exitused __cold notrace'. 5437: * linux/src/include/linux/kcomp.h (__exit): Remove. 5438: 5439: Move <linux/init.h> from linux/pcmcia-cs to linux/src 5440: * linux/pcmcia-cs/include/linux/init.h: Move to ... 5441: * linux/src/include/linux/init.h: ... here. 5442: 5443: Import Linux 3.1 compiler definitions 5444: * linux/src/include/linux/compiler.h: New file. 5445: * linux/src/include/linux/compiler-gcc.h: Likewise. 5446: * linux/src/include/linux/compiler-gcc3.h: Likewise. 5447: * linux/src/include/linux/compiler-gcc4.h: Likewise. 5448: * linux/dev/include/linux/kernel.h (barrier): Remove definition and 5449: include <linux/compiler.h> instead. 5450: 5451: Import Linux 3.1 ctype code 5452: * linux/src/include/linux/ctype.h: Update file. 5453: * linux/src/lib/ctype.c: Likewise. 5454: 5455: Remove unused and non-functional string specialization header 5456: * linux/src/include/asm-i386/string-486.h: Remove. 5457: 5458: Fix memcmp prototype 5459: * include/string.h (memcmp): Remove bogus `*' from return type. 5460: 5461: 2011-08-31 Samuel Thibault <[email protected]> 5462: 5463: Fix declarations 5464: * device/ds_routines.h (io_done_list): Add variable declaration. 5465: (device_io_map): Keep variable declaration and move definition to... 5466: * device/ds_routines.c: ... here. 5467: * i386/i386/fpu.c: Include <i386/pic.h> 5468: (curr_ipl): Remove declaration. 5469: (fpintr): Add int unit parameter. 5470: * linux/dev/glue/glue.h: New header. 5471: * i386/i386/fpu.h (fpintr): Add function prototype. 5472: * i386/i386/hardclock.c (clock_interrupt, linux_timer_intr): Remove prototypes. 5473: [LINUX_DEV]: Include <linux/dev/glue/glue.h> 5474: * i386/i386/ipl.h (curr_ipl): Add declaration. 5475: * i386/i386/pic.h (curr_pic_mask, pic_mask, prtnull, intnull): Add 5476: declarations. 5477: * i386/i386at/kd.h (kdintr): Add declaration. 5478: * i386/i386at/pic_isa.c: Include <i386/fpu.h> and <i386at/kd.h> 5479: (intnull, fpintr, hardclock, kdintr, prtnull): Remove prototypes. 5480: * i386/xen/xen.c: Include <kern/mach_clock.h> 5481: (clock_interrupt): Remove prototype. 5482: * linux/dev/arch/i386/kernel/irq.c: Include <linux/dev/glue/glue.h> and 5483: <machine/machspl.h> 5484: (linux_timer_intr, splhigh, spl0, curr_ipl, curr_pic_mask, pic_mask, 5485: get_options): Remove declarations. 5486: * linux/dev/drivers/block/floppy.c: Include <linux/dev/glue/glue.h> 5487: (issig, get_options): Remove declarations. 5488: * linux/dev/drivers/block/genhd.c: Include <linux/dev/glue/glue.h> 5489: (linux_intr_pri): Remove declaration. 5490: * linux/dev/glue/block.c: Include <devices/ds_routines.h> and 5491: <linux/dev/glue/glue.h>. 5492: (device_io_map, blksize_size): Remove declarations. 5493: * linux/dev/glue/kmem.c: Include <kern/printf.h> and <linux/dev/glue/glue.h> 5494: (alloc_contig_mem, printf): Remove declarations. 5495: * linux/dev/glue/misc.c: Include <printf.h> and <linux/dev/glue/glue.h> 5496: (vm_map_lookup_entry, printf): Remove prototypes. 5497: * linux/dev/glue/net.c: Include <kern/printf.h>, <device/ds_routines.h> and 5498: <linux/dev/glue/glue.h>. 5499: (linux_intr_pri, io_done_list): Remove declarations. 5500: * linux/dev/init/main.c: Include <machine/model_dep.h> and 5501: <linux/dev/glue/glue.h>. 5502: (phys_last_addr, alloc_contig_mem, free_contig_mem, init_IRQ, 5503: restore_IRQ, startrtclock, linux_version_init, linux_kmem_init, pci_init, 5504: linux_net_emulation_init, device_setup, linux_printk, linux_timer_intr, spl0, 5505: splhigh, form_pic_mask, linux_bad_intr, prtnull, intnull, linux_sched_init, 5506: pcmcia_init): Remove declarations. 5507: * linux/dev/kernel/sched.c: Include <kern/printf.h>, <machine/machspl.h> and 5508: <linux/dev/glue/glue.h>. 5509: (alloc_contig_mem, free_contig_mem, splhigh, splx, linux_soft_intr, issig, 5510: printf, linux_auto_config): Remove prototypes. 5511: * linux/dev/kernel/softirq.c: Include <linux/dev/glue/glue.h>. 5512: * linux/src/drivers/block/floppy.c: Include <linux/dev/glue/glue.h>. 5513: (get_options): Remove prototype. 5514: * linux/src/init/main.c: Include <linux/dev/glue/glue.h> 5515: (init_IRQ): Remove prototype. 5516: 5517: 2011-08-30 Guillem Jover <[email protected]> 5518: 5519: Add linux_timer_intr function declaration 5520: * i386/i386/hardclock.c [LINUX_DEV] (linux_timer_intr): New prototype. 5521: 5522: Add missing headers 5523: * device/dev_pager.c: Include <device/memory_object_reply.user.h>. 5524: * linux/pcmcia-cs/glue/wireless_glue.h: Include <kern/debug.h>. 5525: 5526: Remove unused variable 5527: * i386/i386at/rtc.c (rtc): Remove variable. 5528: 5529: Cast host_get_time() arguments to fix warnings 5530: * linux/dev/glue/misc.c (do_gettimeofday): Cast arguments to 5531: `host_get_time'. 5532: 5533: Cast function timeout() argument to fix a warning 5534: * kern/mach_clock.h (timer_func_t): New function type. 5535: (struct timer_elt): Change fcn type to timer_func_t. 5536: * i386/i386at/com.c (comstart): Cast `ttrstrt' to `timer_funct_t *' in 5537: `timeout' call. 5538: * i386/i386at/lpr.c (lprstart): Likewise, 5539: 5540: Return a value on non-void function 5541: * i386/i386at/com.c (comcnprobe, comcninit, comcnputc): Return 0. 5542: 5543: 2011-08-30 Samuel Thibault <[email protected]> 5544: 5545: Fix copyright assignment 5546: I have assigned copyright to the Free Software Foundation. 5547: 5548: * i386/i386/xen.h: Fix copyright assignment 5549: * i386/xen/xen.c: Likewise. 5550: * i386/xen/xen_boothdr.S: Likewise. 5551: * i386/xen/xen_locore.S: Likewise. 5552: * include/mach/xen.h: Likewise. 5553: * xen/block.c: Likewise. 5554: * xen/block.h: Likewise. 5555: * xen/console.c: Likewise. 5556: * xen/console.h: Likewise. 5557: * xen/evt.c: Likewise. 5558: * xen/evt.h: Likewise. 5559: * xen/grant.c: Likewise. 5560: * xen/grant.h: Likewise. 5561: * xen/net.c: Likewise. 5562: * xen/net.h: Likewise. 5563: * xen/ring.c: Likewise. 5564: * xen/ring.h: Likewise. 5565: * xen/store.c: Likewise. 5566: * xen/store.h: Likewise. 5567: * xen/time.c: Likewise. 5568: * xen/time.h: Likewise. 5569: * xen/xen.c: Likewise. 5570: * xen/xen.h: Likewise. 5571: 5572: 2011-08-30 Samuel Thibault <[email protected]> 5573: 5574: Console declaration cleanup 5575: * device/cons.h: Add multiple inclusion _DEVICE_CONS_H macro protector. 5576: (struct consdev): Add function members prototypes. 5577: * i386/i386/xen.h: Include <mach/xen.h>. 5578: * i386/i386at/com.c (comcnprobe, comcninit, comcngetc, comcnputc): Move 5579: prototypes... 5580: * i386/i386at/com.h: ... here. Include <device/cons.h>. 5581: * i386/i386at/cons_conf.c [MACH_HYP]: Include <xen/console.h>. 5582: [!MACH_HYP]: Include "kd.h". 5583: [!MACH_HYP && NCOM > 0]: Include "com.h". 5584: (hypcnprobe, hypcninit, hypcngetc, hypcnputc, kdcnprobe, kdcninit, kdcngetc, 5585: kdcnputc comcnprobe, comcninit, comcngetc, comcnputc): Remove prototypes. 5586: * i386/i386at/kd.c (kdcnputc): Make it return int, -1 on error, 0 on 5587: success. 5588: (kdcnprobe, kdcninit, kdcngetc, kdcnputc): Move prototypes... 5589: * i386/i386at/kd.h: ... here. Include <device/cons.h>. 5590: * xen/console.c (hypcnprobe): Remove unused `my_console' local variable. 5591: * xen/console.h: Include <device/cons.h> 5592: (hypcnputc, hypcngetc, hypcnprobe, hypcninit): Add prototypes. 5593: 5594: 2011-08-30 Guillem Jover <[email protected]> 5595: 5596: Move Linux module macros to their original header 5597: * linux/pcmcia-cs/glue/wireless_glue.h (EXPORT_SYMBOL) 5598: (SET_MODULE_OWNER): Move to ... 5599: * linux/src/include/linux/module.h [!MODULE]: ... here. 5600: 5601: Move cdrom_sleep() definition to its original source file 5602: * linux/dev/kernel/sched.c (cdrom_sleep): Move to ... 5603: * linux/src/drivers/block/ide-cd.c [MACH]: ... here, make it static. 5604: Include <kern/sched_prim.h>. 5605: 5606: 2011-08-29 Samuel Thibault <[email protected]> 5607: 5608: Make copyout run in 1 loop on >= i486 5609: * i386/i386/locore.S (copyout): On >= i486, skip WP-check loop split and just 5610: use byte count. 5611: 5612: 2011-08-28 Samuel Thibault <[email protected]> 5613: 5614: Skip kernel WP check on i486 and above 5615: * i386/i386/i386asm.sym (machine_slot.sub_type): Define. 5616: * i386/i386/locore.S (copyout_retry): Skip if machine_slot[0].cpu_type > 3. 5617: 5618: Enable >4GiB cr3 5619: * i386/xen/xen_boothdr.S (__xen_guest): Add [extended-cr3] to PAE 5620: (XEN_ELFNOTE_PAE_MODE): Likewise. 5621: 5622: 2011-08-28 Samuel Thibault <[email protected]> 5623: 5624: Disable (<i486)-only WP workaround on Xen & PAE 5625: i386 didn't support PAE anyway. 5626: 5627: * i386/i386/locore.S (copyout_retry) [MACH_HYP || PAE]: Remove. 5628: * xen/xen.c (hyp_invalidate_pte): Remove function. 5629: * xen/xen.h (hyp_invalidate_pte): Remove prototype. 5630: 5631: 2011-08-28 Samuel Thibault <[email protected]> 5632: 5633: Fix pmap_clear_bootstrap_pagetable with >4G mfns 5634: * i386/intel/pmap.c (pmap_clear_bootstrap_pagetable): Use pte_to_pa instead 5635: of atop. 5636: 5637: Rework memory mapping reservation 5638: * i386/i386/vm_param.h (VM_KERNEL_MAP_SIZE): Define to 192MiB. 5639: * i386/i386at/model_dep.c (mem_size_init): Use VM_KERNEL_MAP_SIZE instead of 5640: 1/6 factor. 5641: * i386/intel/pmap.c (morevm): Remove. 5642: (pmap_bootstrap): Use VM_KERNEL_MAP_SIZE instead of morevm. 5643: 5644: Move free_skbuffs declaration to the top 5645: * device/ds_routines.c (free_skbuffs): Move declaration to the top. 5646: 5647: 2011-08-27 Guillem Jover <[email protected]> 5648: 5649: Initialize the new map entry when it's a projected buffer 5650: * vm/vm_map.c (vm_map_fork): Call vm_map_entry_create for projected_on 5651: buffers too. 5652: 5653: Fix initialization from incompatible pointer type 5654: * linux/dev/glue/block.c (device_get_status): Cast `hg' to `unsigned long' 5655: in ioctl call. 5656: 5657: Match signedness of char pointer comparisons and assignments 5658: * linux/dev/drivers/block/genhd.c (msdos_partition): Cast `data' assignment 5659: to `unsigned char *'. 5660: * linux/src/drivers/block/ide-cd.c (cdrom_queue_request_sense): Cast 5661: `buffer' assignment to `unsigned char *'. 5662: (cdrom_transfer_packet_command): Change `cmd_buf' argument type to 5663: `unsigned char *'. 5664: (cdrom_read_capacity): Cast `pc.buffer' assignments to `unsigned char *'. 5665: Use temporary `model' and `fw_rev' `const char *' variables to compare 5666: against literal strings and characters. 5667: * linux/src/drivers/block/ide.c (execute_drive_cmd): Cast `args' 5668: assignment to `byte *'. 5669: (ide_open): Cast `rq.buffer' assignment to `char *'. 5670: (ide_release): Likewise. 5671: (ide_ioctl): Likewise. 5672: (do_identify): Cast variables being compared against literal string to 5673: `char *'. 5674: (probe_for_drive): Likewise. 5675: * linux/src/drivers/block/ide.h (struct packet_command): Change `buffer' 5676: type to `unsigned char *'. 5677: 5678: Always initialize A and X variables in BPF code 5679: * device/net_io.c (bpf_do_filter): Remove lint conditional. 5680: 5681: Disable unused variables 5682: * i386/i386at/com.c (comstart): Disable `i' variable. 5683: * linux/src/drivers/net/at1700.c (net_close): Disable `lp' variable. 5684: * linux/dev/include/linux/blk.h (end_request): Disable `nsect' variable 5685: on MACH. 5686: 5687: Remove unused variables 5688: * vm/memory_object_proxy.c (memory_object_create_proxy): Remove unused 5689: `kr' variable. 5690: * linux/dev/glue/block.c (free_buffer): Remove unused `i' variable. 5691: (register_blkdev): Remove unused `err' variable. 5692: (unregister_blkdev): Likewise. 5693: (bread): Likewise. 5694: (init_partition): Likewise. 5695: * linux/dev/glue/net.c (device_write): Likewise. 5696: 5697: Remove ident tags producing preprocessor warnings 5698: * linux/src/drivers/scsi/FlashPoint.c: Remove #ident tags. 5699: 5700: Add header for printf prototype 5701: * vm/memory_object_proxy.c: Include <kern/printf.h>. 5702: 5703: Add prototype for free_skbuffs function 5704: * device/ds_routines.c [LINUX_DEV && CONFIG_INET] (free_skbuffs): Add 5705: prototype. 5706: 5707: Add prototype for log function 5708: * kern/debug.h (log): New prototype. 5709: 5710: 2011-08-27 Samuel Thibault <[email protected]> 5711: 5712: * Makefile.am (AM_CFLAGS): Add -fno-builtin-log. 5713: 5714: 2011-08-27 Guillem Jover <[email protected]> 5715: 5716: Add prototypes for locore functions 5717: * i386/i386at/model_dep.c (discover_x86_cpu_type): Move ... 5718: * i386/i386/locore.h: ... here. 5719: (inst_fetch, cpu_shutdown): New prototypes. 5720: * i386/i386at/kd.c: Include <i386/locore.h>. 5721: 5722: Do not take obsolete and unused bcopy and bzero from libc 5723: * Makefile.am (clib_routines): Remove bcopy and bzero. 5724: 5725: Use AC_LANG_SOURCE inside AC_LANG_CONFTEST to fix autoconf warning 5726: * configure.ac (AC_LANG_CONFTEST): Wrap the source into a AC_LANG_SOURCE 5727: call. 5728: 5729: Add a .gitignore file 5730: * .gitignore: New file. 5731: 5732: 2011-08-22 Samuel Thibault <[email protected]> 5733: 5734: Make ipc_space_zone not exhaustible 5735: Users of ipc_space_create() actually assume that it succeeds. 5736: 5737: * ipc/ipc_init.c (ipc_bootstrap): Create ipc_space_zone without EXHAUSTIBLE 5738: flag. 5739: 5740: 2011-08-22 Samuel Thibault <[email protected]> 5741: 5742: Add more details to "zone exhausted" panics. 5743: * kern/zalloc (zalloc): Add more details to "zone exhausted" panics. 5744: 5745: 2011-08-21 Samuel Thibault <[email protected]> 5746: 5747: Add 8byte breakpoint macro 5748: * i386/i386/db_interface.h (I386_DB_LEN_8): Define macro. 5749: 5750: 2011-08-18 Samuel Thibault <[email protected]> 5751: 5752: Add compiler barrier to update_mapped_time 5753: * kern/mach_clock.c (update_mapped_time): Add compiler barriers between 5754: writes to shared memory. Update comment: on SMP, write barriers are 5755: required. 5756: 5757: 2011-08-10 Samuel Thibault <[email protected]> 5758: 5759: Do not warn for cross-space spurious port deallocation 5760: These are harmless (the target is stopped) and difficult to fix anyway. 5761: 5762: * ipc/mach_port.c (mach_port_destroy): Do not warn about spurious port 5763: deallocation when SPACE is not equal to current_space(). 5764: (mach_port_deallocate): Likewise. 5765: 5766: 2011-08-10 Samuel Thibault <[email protected]> 5767: 5768: Add more spurious deallocation debugging 5769: * ipc/mach_port.c (mach_port_destroy): Print the current space and the 5770: target space on spurious deallocation. 5771: (mach_port_deallocate): Likewise. 5772: 5773: 2011-07-21 Samuel Thibault <[email protected]> 5774: 5775: Whitelist QEMU Hard-Drive for DMA. 5776: PIO has become very slow in Linux 2.6.35+, so we do not really have the 5777: choice any more. 5778: 5779: * linux/src/drivers/block/triton.c (good_dma_drives): Re-whitelist QEMU hard 5780: drive. 5781: 5782: 2011-05-19 Samuel Thibault <[email protected]> 5783: 5784: Fix gcc 4.6 build 5785: * linux/dev/include/linux/skbuff.h (skb_put, skb_push): Do not print the 5786: address of a local label, gcc 4.6 does not build this and the debugger can 5787: output it anyway. 5788: * linux/src/include/linux/skbuff.h (skb_put, skb_push): Likewise. 5789: 5790: 2011-05-18 Samuel Thibault <[email protected]> 5791: 5792: Merge two asm constraints 5793: * linux/src/drivers/scsi/ultrastor.c (find_and_clear_bit_16): Use + modifier 5794: instead of using both a read and a write constraint. 5795: 5796: 2011-05-09 Samuel Thibault <[email protected]> 5797: 5798: Do not warn on vm_map_enter with fixed address failing 5799: * vm/vm_map.c (vm_map_enter): Warn about missing room in map only if 5800: anywhere is set. 5801: 5802: 2011-04-24 Samuel Thibault <[email protected]> 5803: 5804: Update constants to nowadays standards 5805: Follow-up to fa6c711d 5806: 5807: * ipc/ipc_init.c (ipc_kernel_map_size): Increase to 8MiB. 5808: 5809: 2011-04-23 Samuel Thibault <[email protected]> 5810: 5811: Enable all caches 5812: * i386/i386at/model_dep.c (i386at_init): Set CR0_CD and CR0_NW in CR0 5813: register. 5814: 5815: Drop spurious warning 5816: * ipc/ipc_entry.c (ipc_entry_get): Do not warn when ipc_entry_get returns 5817: KERN_NO_SPACE. 5818: 5819: 2011-04-22 Samuel Thibault <[email protected]> 5820: 5821: Warn once when part of the kernel is lacking space 5822: * ipc/ipc_entry.c (ipc_entry_get, ipc_entry_grow_table): Warn when returning 5823: KERN_NO_SPACE. 5824: * vm/vm_map.c (vm_map_find_entry, vm_map_enter, vm_map_copyout, 5825: vm_map_copyout_page_list): Warn when returning KERN_NO_SPACE. 5826: 5827: 2011-04-22 Samuel Thibault <[email protected]> 5828: 5829: Update constants to nowadays standards 5830: Follow-up to fa6c711d 5831: 5832: * vm/vm_object.c (DEVICE_IO_MAP_SIZE): Increase to 16MiB. 5833: * kern/kalloc.c (kalloc_map_size): Increase to 64MiB. 5834: * i386/intel/pmap.c (morevm): Increase to 128MiB. 5835: 5836: 2011-04-20 Samuel Thibault <[email protected]> 5837: 5838: Warn once when part of the kernel is lacking memory 5839: * kern/printf.h (printf_once): New macro. 5840: * ipc/mach_port.c (mach_port_names, mach_port_get_set_status): Warn when 5841: returning KERN_RESOURCE_SHORTAGE. 5842: * vm/vm_kern.c: Include printf.h. 5843: (kmem_alloc, kmem_realloc, kmem_alloc_wired, kmem_alloc_aligned, 5844: kmem_alloc_pageable): Warn when failing. 5845: * vm/vm_resident.c (vm_page_grab_contiguous_pages): Warn when returning 5846: KERN_RESOURCE_SHORTAGE. 5847: 5848: 2011-04-19 Samuel Thibault <[email protected]> 5849: 5850: Close call stack on continuation 5851: * i386/i386/locore.S (call_continuation): Push dummy return address instead 5852: of letting the callee get a random one. 5853: 5854: 2011-04-18 Arne Babenhauserheide <[email protected]> 5855: 5856: Removed deprecated LINTLIBRARY #ifdefs 5857: mach/mach_traps.h: Removed LINTLIBRARY #ifdefs. 5858: mach/message.h: Removed LINTLIBRARY #ifdefs. 5859: 5860: 2011-04-03 Samuel Thibault <[email protected]> 5861: 5862: Fix build with kdb from make dist-generated tarball 5863: * Makefrag.am (libkernel_a_SOURCES): Add ddb/db_cond.h, ddb/db_examine.h, 5864: ddb/db_input.h, ddb/db_macro.h, ddb/db_trap.h. 5865: * i386/Makefrag.am (libkernel_a_SOURCES): Add i386/i386/db_interface.h 5866: 5867: 2011-03-21 Samuel Thibault <[email protected]> 5868: 5869: Fix typo 5870: * i386/i386at/kd.c (key_map): Fix K_PERIOD typo. 5871: 5872: 2011-03-20 Samuel Thibault <[email protected]> 5873: 5874: Clean kd.[ch] 5875: * i386/i386at/kd.h (NUMSTATES): Fix comment about NORM_STATE. 5876: * i386/i386at/kd.c (key_map): Use K_* macros instead of numeric values. 5877: 5878: 2011-03-14 Samuel Thibault <[email protected]> 5879: 5880: Also warn about mach_port_destroy on invalid ports 5881: * ipc/mach_port.c (mach_port_destroy): Warn (and possibly call debugger) when 5882: ipc_right_lookup_write didn't find the port name. 5883: 5884: 2011-03-11 Samuel Thibault <[email protected]> 5885: 5886: Fix continuation after keyboard debugger invocation 5887: According to stack layout change in 5da1aea7 5888: 5889: * i386/i386/locore.S [!MACH_XEN] (RET_OFFSET): Define to 12 instead of 8. 5890: 5891: 2011-03-06 Samuel Thibault <[email protected]> 5892: 5893: Enable global pages after enabling paging 5894: * i386/i386at/model_dep.c (i386at_init): Enable CR4_PGE after enabling 5895: CR0_PG. 5896: 5897: 2011-03-05 Samuel Thibault <[email protected]> 5898: 5899: Fix temporary direct mapping during page table enabling 5900: * i386/i386at/model_dep.c (i386at_init): Count the number of actually 5901: needed temporary L1 direct mapping by getting the last used address from 5902: init_alloc_aligned(), instead of hardcoding it to 1 or 3, and then use a for 5903: loop. 5904: 5905: 2011-03-03 Samuel Thibault <[email protected]> 5906: 5907: Keep supplementary L1 pages read-only 5908: * i386/intel/pmap.c (pmap_bootstrap): Fix loop which keeps supplementary L1 5909: pages read-only: break as soon as one of the L1 supplementary pages has been 5910: recognized, so that its pte does not get rewritten read-write. 5911: 5912: 2011-02-27 Samuel Thibault <[email protected]> 5913: 5914: Refuse to share IRQs at different interrupt levels 5915: * linux/dev/arch/i386/kernel/irq.c (setup_x86_irq): Return -LINUX_EBUSY when 5916: trying to share an IRQ between two different interrupt levels. 5917: 5918: 2011-02-27 Samuel Thibault <[email protected]> 5919: 5920: Re-enable updating pvlist for kernel_pmap 5921: This partially reverts 0744feb6 5922: 5923: * i386/intel/pmap.c (pmap_remove_range): Update pvlist for kernel_pmap too. 5924: 5925: 2011-02-27 Samuel Thibault <[email protected]> 5926: 5927: Acknoledge interrupt after handler call 5928: This fixes interrupt overflows when software interrupts processing gets slower 5929: than hardware. 5930: 5931: * i386/i386at/interrupt.S (interrupt): Issue EOI to PICs after having called 5932: the interrupt handler and disabled interrupts through cli. 5933: 5934: 2011-02-27 Samuel Thibault <[email protected]> 5935: 5936: Detect interrupt overflow 5937: * i386/i386/locore.S (int_from_instack): Check %esp against _intstack, issue 5938: ud2 on stack overflow. 5939: 5940: Add x86 debug register Xen support 5941: * i386/xen/xen_boothdr.S: Add global visibility to __hyp_* symbols. 5942: * i386/i386/locore.S [MACH_XEN] (dr6,dr0,dr1,dr2,dr3): Make get_debugreg and 5943: set_debugreg hypercalls to manipulate debug registers. 5944: (dr0,dr1,dr2,dr3): Fix dr7 field shift. 5945: * i386/i386/xen.h (hyp_set_debugreg, hyp_get_debugreg): New prototypes. 5946: 5947: Add prototypes for x86 debug registers 5948: * i386/i386/db_interface.h (I386_DB_TYPE_X, I386_DB_TYPE_W, I386_DB_TYPE_RW, 5949: I386_DB_LEN_1, I386_DB_LEN_2, I386_DB_LEN_4, I386_DB_LOCAL, 5950: I386_DB_GLOBAL): New macros. 5951: (dr0, dr1, dr2, dr3): New function prototypes. 5952: 5953: Fix for kdb watch command 5954: * i386/intel/pmap.c (pmap_remove_range): Do not update pvlist for 5955: kernel_map. 5956: [MACH_KBD] (pmap_enter): Allow physical memory remapping. 5957: 5958: 2011-02-26 Samuel Thibault <[email protected]> 5959: 5960: Add console=comN boot option to enable serial console 5961: * i386/configfrag.ac (RCLINE, RCADDR): Remove defines. 5962: * i386/i386at/com.c: Include <string.h> and <util/atoi.h> 5963: [!RCLINE] (RCBAUD, comcndev, comcnprobe, comcninit, comcngetc, comcnputc): 5964: Declare and define macro, variable, and functions. 5965: (rcline): New variable. 5966: (kernel_cmdline): New declaration. 5967: (comcnprobe): Detect "console=comN" option and set rcline accordingly, use 5968: rcline instead of RCLINE for serial console selection. 5969: * i386/i386at/cons_conf.c [NCOM>0 && !RCLINE] (comcnprobe, comcninit, 5970: comcngetc, comcnputc): Declare functions. 5971: [NCOM>0 && !RCLINE] (constab): Enable "com" console. 5972: * i386/i386at/kd_event.c (kbdopen): Call kdinit function, for when the 5973: VGA+pckbd console was not initialized. 5974: 5975: 2011-02-09 Samuel Thibault <[email protected]> 5976: 5977: xen block: Add more legacy hd* name support 5978: * xen/block.c (hyp_block_init): Add IDE 3-10 device number recognition. Skip 5979: unknown block device numbers. 5980: 5981: 2011-02-07 Samuel Thibault <[email protected]> 5982: 5983: Defer Xen device initialization to device_service_create 5984: * device/device_init.c (device_service_create) [MACH_HYP]: Call 5985: hyp_dev_init. 5986: * xen/xen.c (hyp_init): Do not call hyp_block_init and hyp_net_init, now 5987: called in ... 5988: (hyp_dev_init): New function. 5989: * xen/xen.h (hyp_dev_init): New declaration. 5990: 5991: Add rx-copy support to netfront 5992: * xen/net.c (net_data): Add rx_copy field. 5993: (enqueue_rx_buf): When rx_copy != 0, give grant on buffer to domD instead of 5994: issuing a transfer from domD. 5995: (hyp_net_intr): When rx_copy != 0, take back grant on buffer instead of 5996: finishing transfer. Do not panic on packet error, free kmsg on error. 5997: (hyp_net_init): Check for feature-rx-copy in backend, write 1 to 5998: request-rx-copy in such case. Wait for Connected state before continuing. 5999: Only unmap buffer when rx_copy is 0. 6000: 6001: 2011-01-31 Diego Nieto Cid <[email protected]> 6002: 6003: * doc/mach.texi (device_set_filter): Document filter header. 6004: Acked-by: Richard Braun <[email protected]> 6005: 6006: 2011-01-31 Samuel Thibault <[email protected]> 6007: 6008: Enable pae_extended_cr3 in pmap_bootstrap 6009: * i386/i386/gdt.c (gdt_init): Do not enable VMASST_TYPE_pae_extended_cr3. 6010: * i386/intel/pmap.c (pmap_bootstrap): Enable VMASST_TYPE_pae_extended_cr3. 6011: 6012: Enable Xen >4GiB physical memory support 6013: * i386/i386/gdt.c (gdt_init): Enable VMASST_TYPE_pae_extended_cr3. 6014: * i386/i386/xen.h: Drop actually-unneeded comment. 6015: * i386/xen/xen_boothdr.S (FEATURES) [MACH_PSEUDO_PHYS]: Add pae_pgdir_above_4gb. 6016: (XEN_ELFNOTE_FEATURES) [MACH_PSEUDO_PHYS]: Add pae_pgdir_above_4gb. 6017: 6018: Drop kbd device on xen 6019: * i386/Makefrag.am (libkernel_a_SOURCES): Move i386/i386at/kd_event.[ch] and 6020: i386/i386at/kd_queue.[ch] to [PLATFORM_at]. 6021: * i386/i386at/conf.c (dev_name_list): Move kbd device to [!MACH_HYP]. 6022: 6023: 2011-01-15 Samuel Thibault <[email protected]> 6024: 6025: Avoid dropping kd_intr when RCLINE is >= 0 6026: * i386/i386at/kd.c (kdintr): Return immediately if !kd_initialized. 6027: * i386/i386at/pic_isa.c (ivect) [RCLINE >= 0]: Enable kdintr in that case 6028: too. 6029: 6030: 2011-01-15 Samuel Thibault <[email protected]> 6031: 6032: Move -d and -H parse to kern/startup.c 6033: The code is arch-independant, and reboot_on_panic, used by kern/debug.c 6034: would be undefined on non-i386. 6035: 6036: * i386/i386at/model_dep.c (reboot_on_panic, c_boot_entry): Move -d and -H parse 6037: to... 6038: * kern/startup.c (reboot_on_panic,setup_main): ... here. Include <string.h> 6039: 6040: 2010-12-09 Samuel Thibault <[email protected]> 6041: 6042: memcpy operands are not supposed to overlap 6043: * include/string.h (memmove): Add prototype. 6044: * i386/i386at/immc.c (immc_cnputc): Replace memcpy with memmove. 6045: 6046: 2010-10-24 Samuel Thibault <[email protected]> 6047: 6048: Avoid harmless warning 6049: * i386/i386at/kd.c (kd_setleds1): Only display unexpected state warning when 6050: debugging is enabled. 6051: 6052: 2010-10-23 Samuel Thibault <[email protected]> 6053: 6054: Add prototype for strstr 6055: * include/string.h (strstr): Add prototype. 6056: 6057: Add prototype for discover_x86_cpu_type 6058: * i386/i386at/model_dep.c (discover_x86_cpu_type): Add prototype. 6059: 6060: Warn on unknown CPU family 6061: * i386/i386at/model_dep.c (c_boot_entry): Warn in the default case for 6062: cpu_type. 6063: 6064: Recognize P4 and Opteron-like as pentium pro 6065: * i386/i386at/model_dep.c (c_boot_entry): Treat cpu_type 15 as Pentium pro. 6066: 6067: 2010-09-19 Samuel Thibault <[email protected]> 6068: 6069: Fix device_get/set_status ABI for NET_FLAGS 6070: * linux/dev/glue/net.c (device_get_status): Compare count with 1 instead 6071: of sizeof(short). Access *status instead of *(short *) status. 6072: (device_set_status): Likewise. 6073: 6074: 2010-09-14 Thomas Schwinge <[email protected]> 6075: 6076: Merge branch 'typo-print' 6077: 6078: 2010-09-14 Thomas Schwinge <[email protected]> 6079: 6080: Typo fix. 6081: * i386/i386/trap.c (user_trap): Call printf, not print. 6082: 6083: 2010-09-14 Samuel Thibault <[email protected]> 6084: 6085: Fix ifunc entries 6086: * i386/ldscript: Update to the version from binutils 2.20.51.20100617. 6087: Remove SEARCH_DIR calls. 6088: * Makefile.am (clib_routines): Accept undefined __rel_iplt_start and 6089: __rel_iplt_end as these come from the ldscript. 6090: * i386/i386at/boothdr.S (boot_entry): Call ifunc hooks at boot. 6091: * i386/xen/xen_boothdr.S (start): Likewise. 6092: 6093: 2010-09-08 Samuel Thibault <[email protected]> 6094: 6095: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 6096: 6097: Fix non-contiguous PCI functions 6098: * linux/src/drivers/pci/pci.c (scan_bus): Do not set `is_multi' to 0 6099: when a hole is encountered. Detect 0000:ffff and ffff:0000 vendor ID as 6100: holes too. 6101: 6102: 2010-08-27 Guillem Jover <[email protected]> 6103: 6104: Fix "make dist" 6105: * Makefile.am (EXTRA_DIST): Remove ChangeLog.0, ChangeLog.00 and 6106: Makefile.correct_output_files_for_.S_files.patch. 6107: * Makefrag.am (libkernel_a_SOURCES): Add ipc/mach_port.h, 6108: kern/ipc_mig.h, kern/machine.h, util/putchar.h, util/atoi.h, 6109: vm/vm_resident.h, vm/vm_types.h and device/subrs.h. 6110: Remove kern/time_out.h. 6111: * i386/Makefrag.am (libkernel_a_SOURCES): Add i386/i386at/autoconf.h, 6112: i386/i386at/com.h, i386/i386at/int_init.h, i386/i386/loose_ends.h, 6113: i386/i386/model_dep.h, i386/intel/read_fault.h and i386/i386/xen.h. 6114: Remove i386/i386/timer.h. 6115: * linux/Makefrag.am (liblinux_a_SOURCES): Add 6116: linux/src/drivers/net/sis900.h. 6117: * xen/Makefrag.am (libkernel_a_SOURCES): Add xen/public/arch-x86_32.h 6118: xen/public/arch-x86_64.h, xen/public/arch-x86/xen.h, 6119: xen/public/arch-x86/xen-mca.h, xen/public/arch-x86/xen-x86_32.h, 6120: xen/public/arch-x86/xen-x86_64.h, xen/public/callback.h, xen/public/COPYING, 6121: xen/public/dom0_ops.h, xen/public/domctl.h, xen/public/elfnote.h, 6122: xen/public/elfstructs.h, xen/public/event_channel.h, xen/public/features.h, 6123: xen/public/grant_table.h, xen/public/io/blkif.h, xen/public/io/console.h, 6124: xen/public/io/fbif.h, xen/public/io/fsif.h, xen/public/io/kbdif.h, 6125: xen/public/io/netif.h, xen/public/io/pciif.h, xen/public/io/protocols.h, 6126: xen/public/io/ring.h, xen/public/io/tpmif.h, xen/public/io/xenbus.h, 6127: xen/public/io/xs_wire.h, xen/public/kexec.h, xen/public/libelf.h, 6128: xen/public/memory.h, xen/public/nmi.h, xen/public/physdev.h, 6129: xen/public/platform.h, xen/public/sched.h, xen/public/sysctl.h, 6130: xen/public/trace.h, xen/public/vcpu.h, xen/public/version.h, 6131: xen/public/xencomm.h, xen/public/xen-compat.h, xen/public/xen.h, 6132: xen/public/xenoprof.h, xen/block.h, xen/console.h, xen/evt.h, 6133: xen/grant.h, xen/net.h, xen/ring.h, xen/store.h, xen/time.h and xen/xen.h. 6134: 6135: 2010-08-26 Samuel Thibault <[email protected]> 6136: 6137: Do not advice to install libc0.3-xen on 4gb_segment trap 6138: ext2fs.static will trigger some anyway. Instead, provide an easy way to 6139: track how many traps happen. 6140: 6141: * i386/i386/gdt.c [MACH_XEN] (gdt_init): Disable enabling 6142: VMASST_TYPE_4gb_segments_notify. 6143: * i386/i386/trap.c [MACH_XEN] (user_trap): Remove printing libc0.3-xen 6144: installation advice on 4gb_segments trap. Instead, print a count every 10000 6145: traps, and disable them on the 1000000th. 6146: 6147: 2010-08-22 Samuel Thibault <[email protected]> 6148: 6149: Disable 4gb segment emulation notification on first notification 6150: i386/i386/trap.c [MACH_XEN] (user_trap): Disable 6151: VMASST_TYPE_4gb_segments_notify on trap 15. 6152: 6153: Report Xen 4gb segment emulation 6154: * i386/i386/gdt.c [MACH_XEN] (gdt_init): Enable VMASST_TYPE_4gb_segments_notify. 6155: * i386/i386/idt_inittab.S [MACH_XEN]: Set trap 15 as pushing an error 6156: code. 6157: * i386/i386/trap.c [MACH_XEN]: Print trap 15 first occurrence. 6158: 6159: 2010-08-01 Samuel Thibault <[email protected]> 6160: 6161: Fix unexpected irq + irq timeout on write 6162: * linux/src/drivers/block/ide.c (do_rw_disk): Set IRQ handler before 6163: issuing write command. 6164: 6165: Move read-only sections to after text section 6166: 6167: 2010-07-31 Samuel Thibault <[email protected]> 6168: 6169: Un-whitelist the QEMU harddisk for DMA support 6170: * linux/src/drivers/block/triton.c (good_dma_drives): Remove "QEMU HARDDISK". 6171: 6172: Put a name on the 16MiB magic number 6173: * linux/dev/glue/kmem.c (MEM_DMA_LIMIT): New macro 6174: (linux_kmem_init): Replace 16 * 1024 * 1024 occurrences with 6175: MEM_DMA_LIMIT. 6176: 6177: 2010-06-25 Jeremie Koenig <[email protected]> 6178: 6179: Route BLKRRPART to partitions layer 6180: * linux/dev/glue/block.c (device_set_status): New function 6181: (linux_block_emulation_ops): Set set_status field to device_set_status. 6182: 6183: 2010-04-16 Samuel Thibault <[email protected]> 6184: 6185: Add memory clobbers to segment selector loaders 6186: * i386/i386/seg.h (lldt): Add memory clobber to lldt asm 6187: snippet. 6188: * i386/i386/tss.h (ltr): Add memory clobber to ltr asm 6189: snippet. 6190: 6191: 2010-04-08 Samuel Thibault <[email protected]> 6192: 6193: Fix bootstrap additional mapping 6194: * i386/intel/pmap.c (pmap_bootstrap): Use pt_entry_t type 6195: instead of vm_offset_t to map additional kernel space. 6196: 6197: Extend machine addresses to 64bit for PAE 6198: * i386/i386/pcb.c (switch_ktss): Use uint64_t for descriptor 6199: type instead of unsigned long long. 6200: * i386/i386/seg.h (fill_descriptor): Use uint64_t for descriptor 6201: type instead of unsigned long long. Cast result of kv_to_ma() 6202: into vm_offset_t before printing. 6203: * i386/i386/xen.h (hyp_mmu_update_pte): Use pt_entry_t type 6204: instead of unsigned long long, make pte parameter a pt_entry_t 6205: too. 6206: (hyp_mmu_update_pte): Compute pte address just using pt_entry_t 6207: integers. 6208: (hyp_high): New macro to fix 32bit right shifting. 6209: (hyp_do_update_descriptor): Use pt_entry_t type for machine 6210: address instead of unsigned long. Split it in 32bit parts. Use uint64_t 6211: for descriptor type instead of unsigned long long. 6212: (update_va_mapping): Use pt_entry_t type instead of unsigned 6213: long long. Use hyp_high macro. 6214: (hyp_invlpg): Use uint64_t for time type instead of unsigned 6215: long long. 6216: * i386/intel/pmap.c (pmap_bootstrap): Use ptetokv instead of 6217: pte_to_pa + phystokv. Cast machine addresses into vm_offset_t 6218: before printing. 6219: (pmap_set_page_readwrite): Likewise. 6220: (pmap_set_page_readonly): Likewise 6221: (pmap_set_page_readonly_init): Likewise 6222: (pmap_clear_bootstrap_pagetable): Likewise 6223: (pmap_destroy): Likewise 6224: (pmap_map_mfn): Use pt_entry_t type for machine addresses. Cast 6225: machine addresses into vm_offset_t before printing. 6226: * i386/intel/pmap.h [PAE] (INTEL_PTE_PFN): Set macro to 6227: 0xfffffffffffff000ULL. 6228: * include/mach/xen.h [PAE] (pa_to_ma, ma_to_pa): Use pt_entry_t 6229: type for machine addresses. 6230: [!PAE] (pa_to_ma): Remove cast to vm_offset_t. 6231: (mfn_to_kv): Use mfn_to_pfn + ptoa instead of ptoa + ma_to_pa. 6232: * xen/xen.c (hyp_invalidate_pte): Cast machine addresses into 6233: vm_offset_t before printing. 6234: 6235: 2010-04-06 Samuel Thibault <[email protected]> 6236: 6237: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 6238: 6239: Fix crash on Xen when no module is provided 6240: * kern/bootstrap.c (bootstrap_create): Iterate over bmods only 6241: if is not NULL. 6242: 6243: 2010-03-15 Thomas Schwinge <[email protected]> 6244: 6245: Require GNU Automake 1.10.2. 6246: 9ff49d9648debffbe42d18863c739d37bcdb50b4's config.status.dep.patch is fit for 6247: 1.10.2 (released in November 2008) and later, and is no longer suitable for 6248: 1.10.1. 6249: 6250: * configure.ac (AM_INIT_AUTOMAKE): Require 1.10.2. 6251: 6252: 2010-03-14 Samuel Thibault <[email protected]> 6253: 6254: Fix Xen build without kdb 6255: * xen/console.c (hypcnintr): Use #if MACH_KDB instead of #ifdef 6256: MACH_KDB. 6257: 6258: Add mem device 6259: * i386/Makefrag.am (libkernel_a_SOURCES): Add 6260: i386/i386at/iopl.c. 6261: * i386/i386at/conf.c [!MACH_HYP] (memmmap): Declare function. 6262: (memname): Add macro. 6263: (dev_name_list): Add mem device. 6264: * i386/i386at/mem.c: New file. 6265: 6266: 2010-03-02 Samuel Thibault <[email protected]> 6267: 6268: whitelist the QEMU harddisk for DMA support 6269: * linux/src/drivers/block/triton.c (good_dma_drives): Add 6270: "QEMU HARDDISK". 6271: 6272: 2010-01-04 Samuel Thibault <[email protected]> 6273: 6274: ignore bogus FDPT information from BIOS 6275: 6276: 2009-12-22 Samuel Thibault <[email protected]> 6277: 6278: Align mach_port_deallocate debug flag with usage 6279: * ipc/mach_port.c (debug_mach_port_deallocate): Rename to... 6280: (mach_port_deallocate_debug): ... new name, and set volatile 6281: to permit live changes from ddb. 6282: 6283: Do not systematically debug buggy port deallocation 6284: * ipc/mach_port.c (debug_mach_port_deallocation): New variable, 6285: set to 0. 6286: (mach_port_deallocate): Only call SoftDebugger if 6287: debug_mach_port_deallocation is not 0. 6288: 6289: Merge branch 'master' of debhurd0:xen/gnumach 6290: 6291: 2009-12-22 root <[email protected]> 6292: 6293: Fix debugger trigger 6294: * i386/i386/locore.S [MACH_XEN] (RET_OFFSET): Define to 8 6295: * xen/console.c (hypcnintr): On pound sign, call kdb_kintr instead of 6296: panicing. 6297: 6298: 2009-12-21 Samuel Thibault <[email protected]> 6299: 6300: Invoke debugger on duplicate port deallocation 6301: * ipc/mach_port.c (mach_port_deallocate): Call SoftDebugger if 6302: ipc_right_lookup_write was not succcessful and `name' is not 6303: MACH_PORT_NULL or MACH_PORT_DEAD. 6304: 6305: Add a SoftDebugger function 6306: * kern/debug.h (SoftDebugger): Add prototype. 6307: * kern/debug.c (Debugger): Move code invoking debugging trap 6308: to... 6309: (SoftDebugger): ... new function. Print the passed message. 6310: * kern/lock_mon.c (decl_simple_lock_data, retry_bit_lock): Call 6311: SoftDebugger instead of Debugger. 6312: * device/ds_routines.c (ds_device_open, device_read, 6313: device_read_inband): Call SoftDebugger instead of Debugger. 6314: * i386/i386at/model_dep.c (c_boot_entry): Call SoftDebugger 6315: instead of Debugger. 6316: * kern/syscall_sw.c (null_port, kern_invalid): Call SoftDebugger 6317: instead of Debugger. 6318: * vm/vm_object.c (vm_object_collapse): Call SoftDebugger instead 6319: of Debugger. 6320: 6321: 2009-12-19 Samuel Thibault <[email protected]> 6322: 6323: Document kdb_kintr stack manipulation 6324: * i386/i386/locore.S: Document kdb_kintr stack manipulation. 6325: 6326: 2009-12-19 root <[email protected]> 6327: 6328: Fix debugger trigger 6329: * i386/i386/locore.S [MACH_XEN] (RET_OFFSET): Define to 8 6330: * xen/console.c (hypcnintr): On pound sign, call kdb_kintr instead of 6331: panicing. 6332: 6333: 2009-12-18 Guillem Jover <[email protected]> 6334: 6335: Add missing casts 6336: * vm/vm_resident.c (vm_page_grab_contiguous_pages): Cast `prevmemp' 6337: assignement to vm_page_t. 6338: 6339: Add missing function prototypes 6340: * i386/i386/pcb.c (Load_context): New prototype. 6341: * i386/i386at/lpr.c (lprpr_addr): Likewise. 6342: 6343: Use `unsigned char *' for byte buffers 6344: * linux/src/drivers/net/apricot.c (struct i596_tbd): Change `data' 6345: member type to `unsigned char *'. 6346: (struct i596_rfd): Change `data' member type to `unsigned char'. 6347: (print_eth): Change argument type to `unsigned char'. Remove 6348: unneeded casts. 6349: (set_multicast_list): Change cast for print_eth to `unsigned char *'. 6350: 6351: Mark macro arguments as used 6352: * i386/intel/pmap.c [!NCPUS > 1] (INVALIDATE_TLB): Mark `pmap', `s' 6353: and `e' arguments as used. 6354: * i386/intel/pmap.h [!NCPUS > 1] (PMAP_ACTIVATE_KERNEL): Mark `my_cpu' 6355: argument as used. 6356: (PMAP_DEACTIVATE_KERNEL): Likewise. 6357: (PMAP_ACTIVATE_USER): Likewise. Mark `th' argument as used. 6358: (PMAP_DEACTIVATE_USER): Mark `thread' and `cpu' arguments as used. 6359: 6360: Missing `*' in assembler indirect lcall 6361: * linux/src/arch/i386/kernel/bios32.c (bios32_service): Add `*' 6362: in indirect lcall. 6363: (check_pcibios, pci_bios_find_class, pci_bios_find_device): Likewise. 6364: (pci_bios_read_config_byte, pci_bios_read_config_word): Likewise. 6365: (pci_bios_read_config_dword, pci_bios_write_config_byte): Likewise. 6366: (pci_bios_write_config_word, pci_bios_write_config_dword): Likewise. 6367: 6368: Interrupt handlers do not return any value 6369: * i386/i386at/kd_mouse.c (kd_mouse_open): Change kdintr return type 6370: to `void'. 6371: (oldvect): Change return type to `void'. 6372: * linux/dev/arch/i386/kernel/irq.c (linux_timer_intr): Likewise. 6373: (intnull, prtnull, linux_intr, linux_bad_intr): Likewise. 6374: (old_clock_handler): Likewise. 6375: 6376: Use selector definitions from Mach for Linux code 6377: * linux/src/include/asm-i386/segment.h [MACH]: Include <machine/gdt.h> 6378: and <machine/ldt.h>. 6379: [MACH && MACH_HYP] (KERNEL_CS, KERNEL_DS): Remove macros. 6380: [MACH && !MACH_HYP] (KERNEL_CS, KERNEL_DS): Likewise. 6381: [MACH] (USER_CS, USER_DS): Likewise. 6382: 6383: Move linux/dev/include/asm-i386/segment.h to src tree 6384: * linux/dev/include/asm-i386/segment.h: Move to ... 6385: * linux/src/include/asm-i386/segment.h: ... here. 6386: 6387: Match function types with `struct tty' member functions 6388: * i386/i386at/com.c (comstart): Change return type to `void'. 6389: * i386/i386at/lpr.c (lprstop): Likewise. 6390: 6391: Use explicit type int when defining register variables 6392: * linux/src/drivers/scsi/aha1542.c (WAIT, WAITd): Define variables 6393: with explicit type `register int' and not just `register'. 6394: 6395: 2009-12-16 Samuel Thibault <[email protected]> 6396: 6397: Add Xen support 6398: 2009-03-11 Samuel Thibault <[email protected]> 6399: 6400: * i386/i386/vm_param.h (VM_MIN_KERNEL_ADDRESS) [MACH_XEN]: Set to 6401: 0x20000000. 6402: * i386/i386/i386asm.sym (pfn_list) [VM_MIN_KERNEL_ADDRESS == 6403: LINEAR_MIN_KERNEL_ADDRESS]: Define to constant PFN_LIST. 6404: 6405: 2009-02-27 Samuel Thibault <[email protected]> 6406: 6407: * i386/intel/pmap.c [MACH_HYP] (INVALIDATE_TLB): Call hyp_invlpg 6408: instead of flush_tlb when e - s is compile-time known to be 6409: PAGE_SIZE. 6410: 6411: 2008-11-27 Samuel Thibault <[email protected]> 6412: 6413: * i386/configfrag.ac (enable_pae): Enable by default on the Xen 6414: platform. 6415: 6416: 2007-11-14 Samuel Thibault <[email protected]> 6417: 6418: * i386/i386at/model_dep.c (machine_relax): New function. 6419: (c_boot_entry): Refuse to boot as dom0. 6420: 6421: 2007-10-17 Samuel Thibault <[email protected]> 6422: 6423: * i386/i386/fpu.c [MACH_XEN]: Disable unused fpintr(). 6424: 6425: 2007-08-12 Samuel Thibault <[email protected]> 6426: 6427: * Makefile.am (clib_routines): Add _START. 6428: * i386/xen/xen_boothdr: Use _START for VIRT_BASE and PADDR_OFFSET. Add 6429: GUEST_VERSION and XEN_ELFNOTE_FEATURES. 6430: 6431: 2007-06-13 Samuel Thibault <[email protected]> 6432: 6433: * i386/i386/user_ldt.h (user_ldt) [MACH_XEN]: Add alloc field. 6434: * i386/i386/user_ldt.c (i386_set_ldt) [MACH_XEN]: Round allocation of 6435: LDT to a page, set back LDT pages read/write before freeing them. 6436: (user_ldt_free) [MACH_XEN]: Likewise. 6437: 6438: 2007-04-18 Samuel Thibault <[email protected]> 6439: 6440: * device/ds_routines.c [MACH_HYP]: Add hypervisor block and net devices. 6441: 6442: 2007-02-19 Thomas Schwinge <[email protected]> 6443: 6444: * i386/xen/Makefrag.am [PLATFORM_xen] (gnumach_LINKFLAGS): Define. 6445: 6446: * Makefrag.am: Include `xen/Makefrag.am'. 6447: * configure.ac: Include `xen/configfrag.ac'. 6448: (--enable-platform): Support the `xen' platform. 6449: * i386/configfrag.ac: Likewise. 6450: * i386/Makefrag.am [PLATFORM_xen]: Include `i386/xen/Makefrag.am'. 6451: 6452: 2007-02-19 Samuel Thibault <[email protected]> 6453: Thomas Schwinge <[email protected]> 6454: 6455: * i386/xen/Makefrag.am: New file. 6456: * xen/Makefrag.am: Likewise. 6457: * xen/configfrag.ac: Likewise. 6458: 6459: 2007-02-11 (and later dates) Samuel Thibault <[email protected]> 6460: 6461: Xen support 6462: * Makefile.am (clib_routines): Add _start. 6463: * Makefrag.am (include_mach_HEADERS): Add include/mach/xen.h. 6464: * device/cons.c (cnputc): Call hyp_console_write. 6465: * i386/Makefrag.am (libkernel_a_SOURCES): Move non-Xen source to 6466: [PLATFORM_at]. 6467: * i386/i386/debug_trace.S: Include <i386/xen.h> 6468: * i386/i386/fpu.c [MACH_HYP] (init_fpu): Call set_ts() and clear_ts(), 6469: do not enable CR0_EM. 6470: * i386/i386/gdt.c: Include <mach/xen.h> and <intel/pmap.h>. 6471: [MACH_XEN]: Make gdt array extern. 6472: [MACH_XEN] (gdt_init): Register gdt with hypervisor. Request 4gb 6473: segments assist. Shift la_shift. 6474: [MACH_PSEUDO_PHYS] (gdt_init): Shift pfn_list. 6475: * i386/i386/gdt.h [MACH_XEN]: Don't define KERNEL_LDT and LINEAR_DS. 6476: * i386/i386/i386asm.sym: Include <i386/xen.h>. 6477: [MACH_XEN]: Remove KERNEL_LDT, Add shared_info's CPU_CLI, CPU_PENDING, 6478: CPU_PENDING_SEL, PENDING, EVTMASK and CR2. 6479: * i386/i386/idt.c [MACH_HYP] (idt_init): Register trap table with 6480: hypervisor. 6481: * i386/i386/idt_inittab.S: Include <i386/i386asm.h>. 6482: [MACH_XEN]: Set IDT_ENTRY() for hypervisor. Set trap table terminator. 6483: * i386/i386/ktss.c [MACH_XEN] (ktss_init): Request exception task switch 6484: from hypervisor. 6485: * i386/i386/ldt.c: Include <mach/xen.h> and <intel/pmap.h> 6486: [MACH_XEN]: Make ldt array extern. 6487: [MACH_XEN] (ldt_init): Set ldt readwrite. 6488: [MACH_HYP] (ldt_init): Register ldt with hypervisor. 6489: * i386/i386/locore.S: Include <i386/xen.h>. Handle KERNEL_RING == 1 6490: case. 6491: [MACH_XEN]: Read hyp_shared_info's CR2 instead of %cr2. 6492: [MACH_PSEUDO_PHYS]: Add mfn_to_pfn computation. 6493: [MACH_HYP]: Drop Cyrix I/O-based detection. Read cr3 instead of %cr3. 6494: Make hypervisor call for pte invalidation. 6495: * i386/i386/mp_desc.c: Include <mach/xen.h>. 6496: [MACH_HYP] (mp_desc_init): Panic. 6497: * i386/i386/pcb.c: Include <mach/xen.h>. 6498: [MACH_XEN] (switch_ktss): Request stack switch from hypervisor. 6499: [MACH_HYP] (switch_ktss): Request ldt and gdt switch from hypervisor. 6500: * i386/i386/phys.c: Include <mach/xen.h> 6501: [MACH_PSEUDO_PHYS] (kvtophys): Do page translation. 6502: * i386/i386/proc_reg.h [MACH_HYP] (cr3): New declaration. 6503: (set_cr3, get_cr3, set_ts, clear_ts): Implement macros. 6504: * i386/i386/seg.h [MACH_HYP]: Define KERNEL_RING macro. Include 6505: <mach/xen.h> 6506: [MACH_XEN] (fill_descriptor): Register descriptor with hypervisor. 6507: * i386/i386/spl.S: Include <i386/xen.h> and <i386/i386/asm.h> 6508: [MACH_XEN] (pic_mask): #define to int_mask. 6509: [MACH_XEN] (SETMASK): Implement. 6510: * i386/i386/vm_param.h [MACH_XEN] (HYP_VIRT_START): New macro. 6511: [MACH_XEN]: Set VM_MAX_KERNEL_ADDRESS to HYP_VIRT_START- 6512: LINEAR_MIN_KERNEL_ADDRESS + VM_MIN_KERNEL_ADDRESS. Increase 6513: KERNEL_STACK_SIZE and INTSTACK_SIZE to 4 pages. 6514: * i386/i386at/conf.c [MACH_HYP]: Remove hardware devices, add hypervisor 6515: console device. 6516: * i386/i386at/cons_conf.c [MACH_HYP]: Add hypervisor console device. 6517: * i386/i386at/model_dep.c: Include <sys/types.h>, <mach/xen.h>. 6518: [MACH_XEN] Include <xen/console.h>, <xen/store.h>, <xen/evt.h>, 6519: <xen/xen.h>. 6520: [MACH_PSEUDO_PHYS]: New boot_info, mfn_list, pfn_list variables. 6521: [MACH_XEN]: New la_shift variable. 6522: [MACH_HYP] (avail_next, mem_size_init): Drop BIOS skipping mecanism. 6523: [MACH_HYP] (machine_init): Call hyp_init(), drop hardware 6524: initialization. 6525: [MACH_HYP] (machine_idle): Call hyp_idle(). 6526: [MACH_HYP] (halt_cpu): Call hyp_halt(). 6527: [MACH_HYP] (halt_all_cpus): Call hyp_reboot() or hyp_halt(). 6528: [MACH_HYP] (i386at_init): Initialize with hypervisor. 6529: [MACH_XEN] (c_boot_entry): Add Xen-specific initialization. 6530: [MACH_HYP] (init_alloc_aligned, pmap_valid_page): Drop zones skipping 6531: mecanism. 6532: * i386/intel/pmap.c: Include <mach/xen.h>. 6533: [MACH_PSEUDO_PHYS] (WRITE_PTE): Do page translation. 6534: [MACH_HYP] (INVALIDATE_TLB): Request invalidation from hypervisor. 6535: [MACH_XEN] (pmap_map_bd, pmap_create, pmap_destroy, pmap_remove_range) 6536: (pmap_page_protect, pmap_protect, pmap_enter, pmap_change_wiring) 6537: (pmap_attribute_clear, pmap_unmap_page_zero, pmap_collect): Request MMU 6538: update from hypervisor. 6539: [MACH_XEN] (pmap_bootstrap): Request pagetable initialization from 6540: hypervisor. 6541: [MACH_XEN] (pmap_set_page_readwrite, pmap_set_page_readonly) 6542: (pmap_set_page_readonly_init, pmap_clear_bootstrap_pagetable) 6543: (pmap_map_mfn): New functions. 6544: * i386/intel/pmap.h [MACH_XEN] (INTEL_PTE_GLOBAL): Disable global page 6545: support. 6546: [MACH_PSEUDO_PHYS] (pte_to_pa): Do page translation. 6547: [MACH_XEN] (pmap_set_page_readwrite, pmap_set_page_readonly) 6548: (pmap_set_page_readonly_init, pmap_clear_bootstrap_pagetable) 6549: (pmap_map_mfn): Declare functions. 6550: * i386/i386/xen.h: New file. 6551: * i386/xen/xen.c: New file. 6552: * i386/xen/xen_boothdr.S: New file. 6553: * i386/xen/xen_locore.S: New file. 6554: * include/mach/xen.h: New file. 6555: * kern/bootstrap.c [MACH_XEN] (boot_info): Declare variable. 6556: [MACH_XEN] (bootstrap_create): Rebase multiboot header. 6557: * kern/debug.c: Include <mach/xen.h>. 6558: [MACH_HYP] (panic): Call hyp_crash() without delay. 6559: * linux/dev/include/asm-i386/segment.h [MACH_HYP] (KERNEL_CS) 6560: (KERNEL_DS): Use ring 1. 6561: * xen/block.c: New file. 6562: * xen/block.h: Likewise. 6563: * xen/console.c: Likewise. 6564: * xen/console.h: Likewise. 6565: * xen/evt.c: Likewise. 6566: * xen/evt.h: Likewise. 6567: * xen/grant.c: Likewise. 6568: * xen/grant.h: Likewise. 6569: * xen/net.c: Likewise. 6570: * xen/net.h: Likewise. 6571: * xen/ring.c: Likewise. 6572: * xen/ring.h: Likewise. 6573: * xen/store.c: Likewise. 6574: * xen/store.h: Likewise. 6575: * xen/time.c: Likewise. 6576: * xen/time.h: Likewise. 6577: * xen/xen.c: Likewise. 6578: * xen/xen.h: Likewise. 6579: * xen/public/COPYING: Import file from Xen. 6580: * xen/public/callback.h: Likewise. 6581: * xen/public/dom0_ops.h: Likewise. 6582: * xen/public/domctl.h: Likewise. 6583: * xen/public/elfnote.h: Likewise. 6584: * xen/public/elfstructs.h: Likewise. 6585: * xen/public/event_channel.h: Likewise. 6586: * xen/public/features.h: Likewise. 6587: * xen/public/grant_table.h: Likewise. 6588: * xen/public/kexec.h: Likewise. 6589: * xen/public/libelf.h: Likewise. 6590: * xen/public/memory.h: Likewise. 6591: * xen/public/nmi.h: Likewise. 6592: * xen/public/physdev.h: Likewise. 6593: * xen/public/platform.h: Likewise. 6594: * xen/public/sched.h: Likewise. 6595: * xen/public/sysctl.h: Likewise. 6596: * xen/public/trace.h: Likewise. 6597: * xen/public/vcpu.h: Likewise. 6598: * xen/public/version.h: Likewise. 6599: * xen/public/xen-compat.h: Likewise. 6600: * xen/public/xen.h: Likewise. 6601: * xen/public/xencomm.h: Likewise. 6602: * xen/public/xenoprof.h: Likewise. 6603: * xen/public/arch-x86/xen-mca.h: Likewise. 6604: * xen/public/arch-x86/xen-x86_32.h: Likewise. 6605: * xen/public/arch-x86/xen-x86_64.h: Likewise. 6606: * xen/public/arch-x86/xen.h: Likewise. 6607: * xen/public/arch-x86_32.h: Likewise. 6608: * xen/public/arch-x86_64.h: Likewise. 6609: * xen/public/io/blkif.h: Likewise. 6610: * xen/public/io/console.h: Likewise. 6611: * xen/public/io/fbif.h: Likewise. 6612: * xen/public/io/fsif.h: Likewise. 6613: * xen/public/io/kbdif.h: Likewise. 6614: * xen/public/io/netif.h: Likewise. 6615: * xen/public/io/pciif.h: Likewise. 6616: * xen/public/io/protocols.h: Likewise. 6617: * xen/public/io/ring.h: Likewise. 6618: * xen/public/io/tpmif.h: Likewise. 6619: * xen/public/io/xenbus.h: Likewise. 6620: * xen/public/io/xs_wire.h: Likewise. 6621: 6622: 2009-11-30 Samuel Thibault <[email protected]> 6623: 6624: Add stack-protector support 6625: * kern/debug.c (__stack_chk_guard): New variable 6626: (__stack_chk_fail): New function. 6627: 6628: Use gcc builtins for stdarg.h when available 6629: * i386/include/mach/sa/stdarg.h [__GNUC__ >= 3] (va_list): 6630: Typedef to __builtin_va_list. 6631: (va_start): define to __builtin_va_start. 6632: (va_end): define to __builtin_va_end. 6633: (va_arg): define to __builtin_va_arg. 6634: 6635: 2009-11-28 Samuel Thibault <[email protected]> 6636: 6637: Fix commit d088a062 6638: * vm/memory_object_proxy.c: New file. 6639: 6640: 2009-11-28 Samuel Thibault <[email protected]> 6641: 6642: Add memory object proxies 6643: Memory object proxies permit to replicate objects with different parameters, 6644: like reduced privileged, different offset, etc. They are e.g. essential for 6645: properly managing memory access permissions. 6646: 6647: 2005-06-06 Marcus Brinkmann <[email protected]> 6648: 6649: * include/mach/mach4.defs: Add memory_object_create_proxy 6650: interface. 6651: * Makefile.in (vm-cfiles): Add memory_object_proxy.c. 6652: * i386/include/mach/i386/vm_types.h (vm_offset_array_t): New type. 6653: * include/mach/memory_object.h (memory_object_array_t): New type. 6654: * vm/memory_object_proxy.c: New file. 6655: * kern/ipc_kobject.h: New macro IKOT_PAGER_PROXY. Bump up macros 6656: IKOT_UNKNOWN and IKOT_MAX_TYPE. 6657: * kern/ipc_kobject.c (ipc_kobject_notify): Call 6658: memory_object_proxy_notify for IKOT_PAGER_PROXY. 6659: * vm/vm_init.c (vm_mem_init): Call memory_object_proxy_init. 6660: * vm/vm_user.c (vm_map): Implement support for proxy memory 6661: objects. 6662: 6663: 2009-11-28 Samuel Thibault <[email protected]> 6664: 6665: Add -H option to halt on panic 6666: 2005-12-29 Soeren D. Schulze <[email protected]> 6667: 6668: * i386/i386at/model_dep.c (reboot_on_panic) [!MACH_KBD]: New variable. 6669: (c_boot_entry) [!MACH_KBD]: Set reboot_on_panic to 0 if kernel_cmdline 6670: contains '-H'. 6671: * kern/debug.c (panic): Call halt_all_cpus with reboot_on_panic as 6672: argument. 6673: 6674: 2009-11-28 Samuel Thibault <[email protected]> 6675: 6676: Add sis900 driver 6677: 2005-05-01 Andreas B. Mundt <[email protected]> 6678: 6679: * i386/README-Drivers: Likewise. 6680: * i386/linux/Makefile.in (linux-net-files): Added 'sis900'. 6681: * i386/linux/configure.ac (sis900): New driver. 6682: * linux/dev/drivers/net/Space.c: Add conditional probes 'sis900' 6683: driver. 6684: * linux/src/drivers/net/sis900.c: New file. 6685: * linux/src/drivers/net/sis900.h: Likewise. 6686: 6687: 2009-11-28 Samuel Thibault <[email protected]> 6688: 6689: Add XMM FPU registers save/restore support. 6690: * i386/include/mach/i386/fp_reg.h (struct i386_fp_regs): Invert array 6691: indices. 6692: (struct i386_xfp_save): New structure. 6693: (FP_387X): New macro. 6694: * i386/i386/thread.h (struct i386_fpsave_state): Add xfp_save_state 6695: member, keep existing fp_save_state and fp_regs members in an unnamed 6696: union member. Move fp_valid member to the end of the structure. 6697: * i386/i386/fpu.h (fxsave, fxrstor): New macros. 6698: (fpu_save_context): Use fxsave() when FPU is FXSR-capable. 6699: * i386/i386/fpu.c: Include <i386/locore.h> 6700: (mxcsr_feature_mask): New variable. 6701: (fp_save, fp_load): Add declaration. 6702: (init_fpu): Add FXSR-capable FPU detection. 6703: (fpu_module_init): Request 16-byte alignment to zinit() for 6704: i386_fpsave_state structures. 6705: (twd_i387_to_fxsr, twd_fxsr_to_i387): New functions. 6706: (fpu_set_state): Convert FPU state when FPU is FXSR-capable. 6707: (fpu_get_state): Convert FPU state when FPU is FXSR-capable. 6708: (fpexterrflt): Pass to i386_exception either xfp_save_state or 6709: fp_save_state according to FPU type. 6710: (fpastintr): Likewise. 6711: (fp_load): Likewise. Use fxrstor() when FPU is FXSR-capable. 6712: (fp_save): Use fxsave() when FPU is FXSR-capable. 6713: (fp_state_alloc): Add FXSR-aware initialization. 6714: 6715: Fix debugging message 6716: * i386/i386/fpu.c (fphandleerr): Fix debugging message. 6717: 6718: Add native FPU error support 6719: * i386/i386/fpu.c (init_fpu): Enable CR0_NE when processor is at 6720: least i486. 6721: (fpintr): Move code handling the FPU state to... 6722: (fphandleerr): New function. 6723: (fpexterrflt): Rename into... 6724: (fpastintr): New function. 6725: (fpexterrflt): Reintroduce function, calls fphandleerr then 6726: raises exception. 6727: * i386/i386/fpu.h (fpastintr): Add prototype. 6728: * i386/i386/trap.c (i386_astintr): Call fpastintr instead of 6729: fpexterrflt. 6730: 6731: Panic when no FPU is available 6732: * i386/i386/fpu.c (init_fpu): Panic if no FPU is available. 6733: 6734: Initialize FPU in MS-DOS compatibility mode 6735: * i386/i386/fpu.c (init_fpu): Make sure CR0_NE is dropped. 6736: 6737: 2009-11-22 Samuel Thibault <[email protected]> 6738: 6739: Declare memcmp function 6740: * include/string.h (memcmp): New prototype. 6741: 6742: Do not fail if no PTE maps virtual address 0 6743: * i386/intel/pmap.c (pmap_unmap_page_zero): Do not fail if no PTE maps 6744: virtual address 0. 6745: 6746: Remove (vm_offset_t) casts from constants 6747: * i386/i386/vm_param.h (VM_MIN_KERNEL_ADDRESS, VM_MAX_KERNEL_ADDRESS, 6748: LINEAR_MIN_KERNEL_ADDRESS, LINEAR_MAX_KERNEL_ADDRESS): Remove 6749: (vm_offset_t) cast, use UL suffix instead. 6750: * i386/include/mach/i386/vm_param.h (VM_MIN_ADDRESS, 6751: VM_MAX_ADDRESS): Remove (vm_offset_t) cast, use UL suffix instead. 6752: 6753: Really call startrtclock() with an active thread. 6754: * kern/startup.c (cpu_launch_first_thread): Call startrtclock 6755: really after starting at least one thread. 6756: 6757: Add pmap parameter to INVALIDATE_TLB 6758: * i386/intel/pmap.c (INVALIDATE_TLB): Add pmap parameter. 6759: (PMAP_UPDATE_TLBS): Pass pmap parameter. 6760: (process_pmap_updates): Likewise. 6761: (pmap_unmap_page_zero): Use INVALIDATE_TLB instead of hardcoding 6762: it. 6763: 6764: Add phys_first_addr and phys_last_addr declaration 6765: * i386/i386/model_dep.h (phys_first_addr, phys_last_addr): New 6766: declarations. 6767: * i386/i386/trap.c: Include <i386/model_dep.h> 6768: (user_trap): Remove extern declaration of phys_last_addr. 6769: * i386/intel/pmap.c: Include <i386/model_dep.h> 6770: (phys_first_addr, phys_last_addr): Remove extern declaration. 6771: 6772: Use typeof(boot_info) 6773: * i386/i386at/model_dep.c (i386at_init): Use typeof(boot_info) 6774: instead of hardcoding struct multiboot_info*. 6775: 6776: Fix early interrupt crash 6777: * i386/i386at/model_dep.c (i386at_init): Move int_stack_high 6778: assignation to before setting up interrupts. 6779: 6780: Add missing phystokv/kvtophys conversions 6781: * i386/i386/mp_desc.c (interrupt_stack_alloc): Apply phystokv to 6782: stack_start. 6783: * i386/i386at/model_dep.c (i386at_init): Apply phystokv to 6784: memory allocated to duplicate multiboot information. Apply 6785: _kvtophys before calling set_cr3. Apply phystokv to 6786: phys_last_addr before assigning to int_stack_high. 6787: * i386/intel/pmap.c (pmap_bootstrap): Apply phystokv to 6788: phys_last_addr, use kernel_virtual_start instead of 6789: phys_last_addr. Apply phystokv to allocated bootstrap page 6790: table pages. Apply _kvtophys to page table pointers before 6791: writing into page table. 6792: (pmap_enter): Apply phystokv to allocated page table page, apply 6793: kvtophys to deallocated page table page. 6794: 6795: Show command lines in task list 6796: * Makefile.am (clib_routines): Add memcmp. 6797: * i386/i386/db_machdep.h (DB_GNUMACH_TASK_NAME): New macro. 6798: * i386/i386/db_interface.c (GNU): New macro. 6799: [GNU] (looks_like_command): New function. 6800: (db_task_name): When task map is kernel_pmap, return 6801: DB_GNUMACH_TASK_NAME. 6802: [GNU] (db_task_name): Use a GNU/Hurd-specific heuristic to get 6803: argv[] of a task. 6804: 6805: Replace phys_mem_va with VM_MIN_KERNEL_ADDRESS 6806: * i386/i386/vm_param.h (phystokv): Use VM_MIN_KERNEL_ADDRESS 6807: instead of phys_mem_va. 6808: (_kvtophys): New macro. 6809: * i386/i386at/model_dep.c (phys_mem_va): Remove variable. 6810: 6811: Avoid confusion between global and local ldt vars 6812: * i386/i386/pcb.c (switch_ktss): Rename ldt variable into tldt. 6813: 6814: Do not assume that VM_MIN_KERNEL_ADDRESS is 0 6815: * i386/i386/vm_param.h (VM_MAX_KERNEL_ADDRESS): Add 6816: VM_MIN_KERNEL_ADDRESS. 6817: (kvtolin): Subtract VM_MIN_KERNEL_ADDRESS. 6818: (lintokv): Add VM_MIN_KERNEL_ADDRESS. 6819: * i386/i386at/model_dep.c (mem_size_init): Subtract 6820: VM_MIN_KERNEL_ADDRESS in computation of phys_last_addr. 6821: (i386at_init): Use VM_MIN_KERNEL_ADDRESS instead of 0 as 6822: argument of lin2pdenum. 6823: 6824: Rewamp spl.h 6825: * i386/i386/spl.h (splnet, splbio, spl7, splx_cli): Add 6826: prototypes. 6827: 6828: Do not assume that VM_MIN_KERNEL_ADDRESS is 0 6829: * i386/i386/gdt.c (gdt_init): Subtract VM_MIN_KERNEL_ADDRESS 6830: from LINEAR_MIN_KERNEL_ADDRESS to avoid assuming the former 6831: being 0. 6832: 6833: Fix db_search_null loop 6834: * i386/i386/db_interface.c (db_search_null): Do not decrease 6835: vaddr twice. 6836: 6837: Introduce KERNEL_RING 6838: * i386/i386/seg.h (KERNEL_RING): New macro, set to 0. 6839: (ACC_PL_K, SEL_PL_K): Use KERNEL_RING instead of assuming 0. 6840: * i386/i386/gdt.h (KERNEL_CS, KERNEL_DS): Likewise. 6841: * i386/i386/db_interface.c (kdb_trap, kdb_kentry): Likewise. 6842: * i386/i386/kttd_interface.c (kttd_trap, kttd_netentry): Likewise. 6843: * i386/i386/i386asm.sym: Add KERNEL_RING expression. 6844: 6845: Rename kd_atoi into mach_atoi 6846: * i386/i386at/kd.c: Include <util/atoi.h> 6847: (DEFAULT): Remove, replaced by MACH_ATOI_DEFAULT. 6848: (kd_parserest): Use mach_atoi instead of kd_atoi and MACH_ATOI_DEFAULT 6849: instead of DEFAULT. 6850: (kd_atoi): Move and rename function to... 6851: * util/atoi.c: ... mach_atoi in new file. 6852: * i386/i386at/kd.h (kd_atoi): Move and rename declaration to... 6853: * util/atoi.h: ... mach_atoi in new file. 6854: * Makefrag.am (libkernel_a_SOURCES): Add util/atoi.c 6855: 6856: 2009-11-16 Guillem Jover <[email protected]> 6857: 6858: Update dependency patch for Automake 1.10.2, 1.11, and thereabouts. 6859: * config.status.dep.patch: Refresh. 6860: 6861: 2009-11-11 Zheng Da <[email protected]> 6862: 6863: Fix a bug in vm_page_grab_contiguous_pages. 6864: * vm/vm_resident.c (vm_page_grab_contiguous_pages): Maintain the free vm page queue correctly. 6865: 6866: 2009-11-01 Samuel Thibault <[email protected]> 6867: 6868: Show EATA probing progression 6869: * linux/src/drivers/scsi/eata.c (port_detect): Print the port being 6870: probed. 6871: 6872: 2009-10-26 Samuel Thibault <[email protected]> 6873: 6874: Fix VM_MAX_ADDRESS default 6875: * i386/include/mach/i386/vm_param.h (VM_MAX_ADDRESS): Set back to 0xc0000000 by 6876: default. 6877: 6878: Make tuning VM_MAX_ADDRESS trivial 6879: * i386/i386/vm_param.h (LINEAR_MIN_KERNEL_ADDRESS): Set to 6880: VM_MAX_ADDRESS instead of hardcoding to 0xc0000000. 6881: (VM_MAX_KERNEL_ADDRESS): Set to LINEAR_MAX_KERNEL_ADDRESS - 6882: LINEAR_MIN_KERNEL_ADDRESS instead of hardcoding to 0x40000000. 6883: * i386/include/mach/i386/vm_param.h: Document how it may be tuned. 6884: 6885: Fix build 6886: * i386/i386at/com.h (comtimer): Fix prototype of comtimer. 6887: 6888: 2009-10-25 Samuel Thibault <[email protected]> 6889: 6890: Fix warning 6891: * i386/i386at/autoconf.c: Include <i386/pic.h> even when [!LINUX_DEV]. 6892: 6893: Fix warning 6894: * i386/i386/trap.h: Include <mach/mach_types.h> 6895: 6896: Fix warning 6897: * i386/i386/pcb.c (thread_setstatus): Comment out state variable 6898: declaration. 6899: 6900: Fix warning 6901: * device/net_io.c (net_set_filter): Cast filter into bpf_insn_t for 6902: bpf_eq call. 6903: 6904: Fix warning 6905: * i386/i386/locore.S (TIME_INT_ENTRY): Fix comment. 6906: 6907: Fix warning 6908: * i386/intel/pmap.c (i): Declare only when [NCPUS > 1]. 6909: 6910: 2009-10-20 Samuel Thibault <[email protected]> 6911: 6912: Fix warnings 6913: * devices/io_reqs.h (io_req): Set type of io_alloc_size field to 6914: vm_size_t. 6915: * device/ds_routines.c (device_write_dealloc): Remove cast of 6916: io_alloc_size field. 6917: * device/subrs.c (brelse): Likewise. 6918: 6919: Fix warnings 6920: * device/chario.c (ttypush): Set parameter type to void * instead of 6921: struct tty *, and implicitly cast the former into the latter instead. 6922: * i386/i386at/com.c: Include <kern/mach_clock.h>. 6923: (timeout, ttrstrt): Remove declarations. 6924: (comtimer): Add unused void * parameter. 6925: (comopen): Pass NULL to comtimer function. 6926: * i386/i386at/kd.h (kd_belloff): Add unused void * parameter. 6927: * i386/i386at/kd.c (timeout): Remove declaration. 6928: (kd_belloff): Add unused void * parameter. 6929: (feep, kdsetbell): Pass NULL to kd_belloff function. 6930: * i386/i386at/lpr.c: Include <mach_clock.h>. 6931: (timeout, ttrstrt): Remove declarations. 6932: * kern/mach_clock.c (softclock, timeout, untimeout): Set parameter 6933: type of fcn function pointer to void * instead of char *. Set type 6934: of param to void * instead of char *. 6935: * kern/mach_clock.h (timer_elt): Set parameter type of fcn member 6936: to void * instead of char *. Set time of param member to void * instead 6937: of char *. 6938: (timeout): Set parameter type of fcn function pointer parameter to void 6939: * instead of char *. 6940: (untimeout): Likewise, set type of param parameter to void * instead of 6941: char *. 6942: * kern/sched_prim.c (sched_init): Remove cast of recompute_priorities. 6943: Replace (char *)0 with NULL. 6944: (thread_timeout): Set parameter type to void * instead of thread_t, and 6945: implicitly cast the former into the latter instead. 6946: (thread_timeout_setup): Remove cast of thread_timeout, cast 6947: thread_depress_timeout into (void (*) (void*)). Remove cast of thread. 6948: (thread_recompute_priorities): Add unused void * parameter. 6949: 6950: Fix warnings 6951: * device/tty.h (tty): Set type of t_ispeed and t_ospeed members to 6952: unsigned char instead of (potentially signed) char. 6953: 6954: Fix warnings 6955: * vm/vm_resident.c (vm_page_grab_contiguous_pages): Remove unused 6956: count_zeroes and not_found_em labels. 6957: 6958: Fix warning 6959: * vm/vm_pageout.c (vm_pageout_scan): Remove unused Restart label. 6960: 6961: Fix warning 6962: * vm/vm_map.c (vm_map_lookup): Add braces to fix readability. 6963: 6964: Fix warning 6965: * kern/thread.c (_s_): Remove unused variable. 6966: 6967: Fix warnings 6968: * kern/bootstrap.c (task_insert_send_right): Remove spurious cast of 6969: port into ipc_object_t. 6970: (load_protect_text, load_fault_in_text, boot_map, 6971: load_bootstrap_symbols): Comment out unused variables and function. 6972: (read_exec): Comment out unused user_map variable. 6973: 6974: Fix boot from grub2 with more than 800MiB memory 6975: * i386/i386at/model_dep.c (init_alloc_aligned): Add declaration. 6976: (i386at_init): Use init_alloc_aligned to allocate memory to save the 6977: content pointed by boot_info: cmdline, mods_addr, mod_start, and string. 6978: Set kernel_cmdline to the newly allocated string. 6979: (c_boot_entry): Do not set kernel_cmdline. 6980: 6981: Better estimate avail_remaining 6982: * i386/i386at/model_dep.c (mem_size_init): Move avail_remaining computation to 6983: after all phys_last_addr corrections. 6984: 6985: 2009-10-18 Samuel Thibault <[email protected]> 6986: 6987: Revert "Fix multiboot compliancy concerning x86 D flag" 6988: This reverts commit de00e82b8c4491a4ff3320c0ddd80ac91ed0977b. 6989: 6990: Flags already get cleared using push/pop a few instructions later. 6991: 6992: 2009-10-17 Samuel Thibault <[email protected]> 6993: 6994: Fix multiboot compliancy concerning x86 D flag 6995: i386/i386at/boothdr.S (boot_entry): Clear D flag. 6996: 6997: 2009-10-14 Samuel Thibault <[email protected]> 6998: 6999: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 7000: 7001: Update constants to nowadays standards 7002: kern/zalloc.c (zone_map_size): Increase to 64MiB. 7003: i386/i386at/model_dep.c (mem_size_init): Reduce cap to 1/6 of memory 7004: space to save room for zalloc area. 7005: linux/src/drivers/block/ide.h (INITIAL_MULT_COUNT): Set to 16. 7006: vm/vm_map.h (VM_MAP_COPY_PAGE_LIST_MAX): Set to 64. 7007: vm/vm_object.c (vm_object_cached_max): Set to 4000. 7008: 7009: 2009-10-14 Thomas Schwinge <[email protected]> 7010: 7011: Merge branch 'master-zhengda' 7012: 7013: 2009-10-14 Zheng Da <[email protected]> 7014: 7015: Apply patch #6851: fix a bug in BPF * net_io.c (net_filter): Correct the amount of data of a packet accepted by BPF. 7016: 7017: 2009-10-14 Samuel Thibault <[email protected]> 7018: 7019: Fix yet more allocation failures during gc 7020: kern/zalloc.c (zone_gc): Allocate and free two vm_map_kentry_zone elements to 7021: make sure the gc will be able to allocate two in vm_map_delete. 7022: 7023: Revert spurious part of 909c941d 7024: 7025: Fix db kernel memory access 7026: i386/i386/db_interface.c (db_read_bytes): Also check addr against 7027: VM_MAX_KERNEL_ADDRESS. 7028: 7029: Fix macro escapes 7030: i386/intel/pmap.c (INVALIDATE_TLB): Fix macro escapes 7031: 7032: Fix allocation failure during gc 7033: kern/zalloc.c (zone_gc): Allocate and free a vm_map_kentry_zone element to make 7034: sure the gc will be able to allocate one for vm_map_delete. 7035: 7036: More restrictive requirements on zone alignment 7037: kern/zalloc.c (zinit): Panic if requested alignment doesn't match page 7038: size and list elements. 7039: 7040: Fix return with lock held 7041: vm/vm_map.c (vm_map_copy_overwrite): Unlock dst_map before returning. 7042: 7043: Fix return with lock held 7044: vm/vm_map.c (vm_map_enter): Use RETURN instead of return to unlock the 7045: map before returning. 7046: 7047: Make local variable static 7048: kern/lock.c (lock_wait_time): Add static qualifier. 7049: 7050: Advertise memory size truncations 7051: i386/i386at/model_dep.c (mem_size_init): Advertise memory size 7052: truncations. 7053: 7054: 2009-09-27 Samuel Thibault <[email protected]> 7055: 7056: Disable CMD-640 support 7057: It messes too much with probing and brings hang issue. 7058: 7059: * i386/linux/dev/include/linux/autoconf.h 7060: (CONFIG_BLK_DEV_CMD640, CONFIG_BLK_DEV_CMD640_ENHANCED): 7061: Undefine macros. 7062: 7063: 2009-07-11 Thomas Schwinge <[email protected]> 7064: 7065: Switch to the new ChangeLog style. 7066: * ChangeLog: Wipe out content, and add instructions about how to get it back. 7067: * ChangeLog.0: Remove file. 7068: * ChangeLog.00: Likewise. 7069: 7070: 2009-02-26 Samuel Thibault <[email protected]> 7071: 7072: * i386/i386/prog_reg.h (invlpg_linear): Rename macro into... 7073: (invlpg_linear_range): ... this. 7074: (invlpg_linear): New macro. 7075: * i386/intel/pmap.c (INVALIDATE_TLB): Call invlpg_linear instead 7076: of flush_tlb when e - S is compile-time known to be PAGE_SIZE, 7077: instead of run-time known to be less than 32 * PAGE_SIZE. 7078: 7079: 2009-01-05 Samuel Thibault <[email protected]> 7080: 7081: * i386/i386/gdt.h (LINEAR_DS): New macro. 7082: * i386/i386/gdt.c (gdt_init): Initialize LINEAR_DS descriptor. 7083: * i386/i386/proc_reg.h (invlpg_user): Rename macro into... 7084: (invlpg_linear): ... this. Use movw instead of movl to set KERNEL_DS 7085: selector. Use LINEAR_DS selector instead of USER_DS selector. 7086: * i386/intel/pmap.c (INVALIDATE_TLB): Call invlpg_linear instead of 7087: invlpg_user. For now, disable use of invlpg. 7088: 7089: 2008-12-30 Samuel Thibault <[email protected]> 7090: 7091: * i386/i386/proc_reg.h [__ASSEMBLER__ && __GNUC__]: Include 7092: <i386/gdt.h> and <i386/ldt.h> 7093: (invlpg_user): New macro. 7094: * i386/intel/pmap.c (INVALIDATE_TLB): Call invlpg_user instead 7095: of invlpg. 7096: (pmap_remove, pmap_page_protect, pmap_protect, pmap_enter, 7097: pmap_collect, phys_attribute_clear): Call PMAP_UPDATE_TLBS 7098: after pde update instead of before. 7099: 7100: 2008-12-29 Samuel Thibault <[email protected]> 7101: 7102: * i386/intel/pmap.c (pmap_bootstrap): Extend kernel virtual memory to 7103: at least the size of the physical memory. 7104: 7105: 2008-12-05 Samuel Thibault <[email protected]> 7106: 7107: * vm/vm_fault.c (vm_fault_page): Print value returned 7108: memory_object_data_request as %x instead of %d. 7109: 7110: 2008-11-15 Shakthi Kannan <[email protected]> 7111: 7112: * device/ds_routines.h (device_reference, device_deallocate): Add 7113: function prototypes. 7114: * kern/task.c (task_create): Moved unused i variable inside FAST_TAS. 7115: * vm/vm_map.h (vm_map_copy_page_discard): Add function prototype. 7116: * vm/vm_kern.c (projected_buffer_deallocate): Give &map->hdr 7117: instead of map to _vm_map_clip_start and _vm_map_clip_end functions. 7118: 7119: 2008-12-01 Samuel Thibault <[email protected]> 7120: 7121: * device/device_emul.h (device_emulation_ops): Turn back reference, 7122: dealloc, dev_to_port, write_trap and writev_trap into taking a void*, 7123: as they do not always take a mach_device_t. 7124: * device/ds_routines.c (mach_device_emulation_ops): Cast 7125: mach_device_reference, mach_device_deallocate, 7126: mach_convert_device_to_port, device_write_trap and device_writev_trap 7127: to (void*) to make them accept a void* argument. 7128: * linux/pcmcia-cs/glue/ds.c (device_deallocate): Rename function 7129: into... 7130: (ds_device_deallocate): ... this. 7131: (dev_to_port): Call ds_device_deallocate instead of device_deallocate. 7132: (linux_pcmcia_emulation_ops): Use ds_device_deallocate instead of 7133: device_deallocate, cast mach_device_reference to (void*) to make it 7134: accept a void* argument. 7135: 7136: 2008-11-28 Thomas Schwinge <[email protected]> 7137: 7138: * doc/Makefrag.am: Only advertize updating the web pages on 7139: gnumach-1-branch. 7140: 7141: 2008-11-27 Samuel Thibault <[email protected]> 7142: 7143: * i386/i386/proc_reg.h (invlpg): New macro. 7144: * i386/intel/pmap.c (INVALIDATE_TLB): If portion to be flushed is less 7145: than 32 pages, use calls to invlpg instead of flush_tlb. 7146: 7147: 2008-11-23 Samuel Thibault <[email protected]> 7148: 7149: * i386/i386/proc_reg.h (get_cr0, get_cr2, get_cr3, get_cr4, get_tr, 7150: get_ldt): Add volatile qualifier to asm statement to prevent gcc from 7151: optimizing it away since there seems to be no way to clobber these 7152: properly in the set_* macros. 7153: 7154: 2008-11-17 Thomas Schwinge <[email protected]> 7155: 7156: * Makefile.am (install_sh, INSTALL): Point to `build-aux/install-sh'. 7157: Make use of its `-C' option. 7158: 7159: * configure.ac: Require GNU Automake 1.10.1. 7160: * Makefile.am: Adapt. 7161: * Makefile.correct_output_files_for_.S_files.patch: Remove. 7162: 7163: 2008-07-19 Barry deFreese <[email protected]> 7164: 7165: * device/device_emul.h (struct device_emulation_ops): Make members 7166: reference, dealloc, dev_to_port, write_trap, and writev_trap take 7167: mach_device_t parameter instead of void *. 7168: * i386/i386at/autoconf.c: Make forward declarations for comintr() 7169: and lprintr() match prototype. Add brackets around initialization 7170: members for bus_ctlr and bus_device structs. 7171: * i386/i386at/conf.c (dev_name_list): Pass nomap instead of nulldev 7172: for map field. 7173: * i386/i386at/pic_isa.c (intnull, fpintr, hardclock, kdintr, 7174: prtnull): Declare the type of the value returned by functions to void. 7175: 7176: 2008-11-13 Thomas Schwinge <[email protected]> 7177: 7178: [task #8135 -- PAE for GNU Mach] 7179: * i386/configfrag.ac (enable_pae): Add checks: this is ix86-only. 7180: * doc/mach.texi (Configuration): Document the new option. 7181: 7182: 2008-11-11 Shakthi Kannan <[email protected]> 7183: 7184: * kern/eventcount.c (evc_wait_clear): Remove unused variable 'ret'. 7185: 7186: 2008-11-10 Samuel Thibault <[email protected]> 7187: 7188: [task #8135 -- PAE for GNU Mach] 7189: * i386/configfrag.ac: Add --enable-pae option, which defines PAE. 7190: * i386/i386/i386asm.sym (PDPSHIFT, PDEMASK, PTE_SIZE): New assembly 7191: macros. 7192: * i386/i386/locore.S (copyout_retry) [PAE]: Use page directory pointer 7193: bits, take PTE_SIZE into account. 7194: * i386/i386at/model_dep.c (i386at_init) [PAE]: Set second initial 2MB 7195: page. Enable PAE bit. Set cr3 to page directory pointer table instead 7196: of page directory. 7197: * i386/intel/pmap.c (pmap_bootstrap, pmap_create) [PAE]: Allocate 4 7198: pages for dirbase. Setup pdpbase. 7199: (pmap_destroy) [PAE]: Free 4 pages from dirbase. Free pdpbase. 7200: * i386/intel/pmap.h (pt_entry_t) [PAE]: Typedef to unsigned long long. 7201: (PDPSHIFT, PDPNUM, PDPMASK) [PAE]: New macros. 7202: (PDESHIFT, PDEMASK, PTEMASK) [PAE]: Set to PAE values. 7203: (lin2pdenum, NPDES) [PAE]: Make them take the page directory pointer 7204: index into account too. 7205: (struct pmap) [PAE]: Add `pdpbase' member. 7206: (set_dirbase): Remove macro, replaced by... 7207: (set_pmap): New macro, taking a pmap instead of the dirbase. 7208: (PMAP_ACTIVATE_USER): Use set_pmap instead of set_dirbase. 7209: 7210: 2008-11-05 Shakthi Kannan <[email protected]> 7211: 7212: * ipc/mach_port.c (mach_port_insert_right): Cast poly into 7213: (ipc_object_t) to fix compiler warning when calling 7214: ipc_object_copyout_name. 7215: 7216: 2008-08-31 Samuel Thibault <[email protected]> 7217: 7218: * i386/i386/trap.c (user_trap): On page fault, raise exception instead 7219: of asserting that cr2 is below LINEAR_MIN_KERNEL_ADDRESS. 7220: 7221: 2008-07-29 Zheng Da <[email protected]> 7222: Manuel Menal <[email protected]> 7223: 7224: * include/device/net_status.h (NET_FLAGS): New macro. 7225: * linux/dev/glue/net.c (device_get_status): Handle NET_FLAGS case. 7226: (device_set_status): Likewise, calls dev_change_flags. 7227: * linux/dev/include/linux/netdevice.h (dev_change_flags): Declare 7228: function. 7229: * linux/dev/net/core/dev.c (dev_change_flags): Add function. 7230: 7231: 2008-08-03 Samuel Thibault <[email protected]> 7232: 7233: * i386/i386/lock.h (_simple_lock_xchg_, bit_lock, bit_unlock): Add 7234: memory clobbers. 7235: * i386/include/mach/i386/cthreads.h (spin_unlock, spin_try_lock): Add 7236: memory clobbers. 7237: 7238: 2008-07-23 Barry deFreese <[email protected]> 7239: 7240: * device/chario.c (ttyinput_many): Change chars param to char *. 7241: * device/tty.h (ttyinput_many): Likewise. 7242: * i386/i386/pcb.h: Include <mach/exec/exec.h>. 7243: * i386/i386at/autoconf.h: Include <chips/busses.h>. 7244: * i386/i386at/model_dep.c (inittodr): Cast &new_time.seconds to u_int *. 7245: * ipc/mach_port.c (mach_port_insert_right): Cast poly to ipc_object_t. 7246: * ipc/mach_debug.c (host_ipc_hash_info): Initialize size to 0 to make 7247: the compiler believe that there is no bug. 7248: * ipc/mach_debug.c (mach_port_space_info): Likewise for tree_size and 7249: table_size. 7250: * i386/i386at/com.c (commctl): Likewise for b. 7251: * i386/i386/trap.c (user_trap): Likewise for exc. 7252: * i386/i386/user_ldt.c (i386_set_ldt): Likewise for old_copy_object. 7253: * i386/i386at/com.c (comintr): Check line_stat&iOR instead of line&iOR. 7254: 7255: 2008-07-23 Barry deFreese <[email protected]> 7256: 7257: * i386/i386/locore.h (copyinmsg, copyoutmsg): 7258: Make parameters const void* and void* instead of vm_offset_t. 7259: * i386/i386at/com.c (comportdeath): Cast port as ipc_port_t in 7260: tty_portdeath call. 7261: * i386/i386at/kd.c (kdportdeath): Likewise. 7262: * i386/i386at/lpr.c (lprportdeath): Likewise. 7263: * i386/i386at/kd_mouse.c (mouse_handle_byte): Cast param to wakeup() as 7264: vm_offset_t. 7265: * i386/intel/pmap.c (pmap_destroy): Cast arg 2 of kmem_free() to 7266: vm_offset_t. 7267: * i386/intel/pmap.h: Cast all arg 1 params to kvtophy() to vm_offset_t. 7268: * ipc/ipc_kmsg.c: Remove casts from params to copyinmsg and 7269: copyoutmsg calls. 7270: * ipc/mach_msg.c: Likewise. 7271: * kern/exceptions.c: Likewise. 7272: * ipc/mach_msg.c: Remove casts from params to copyout calls. 7273: * ipc/bootstrap.c: Likewise. 7274: * kern/ipc_tt.c (mach_ports_register): Cast memory[i] as ipc_port_t in 7275: assignment. 7276: 7277: 2008-07-19 Barry deFreese <[email protected]> 7278: 7279: * chips/busses.h (bus_ctlr, bus_device): Make intr return void instead 7280: of int. 7281: * device/tty.h (tty): Make t_start and t_stop return void instead of 7282: int. 7283: * i386/i386/ipl.h (ivect[]): return void instead of int. 7284: * i386/i386at/pic_isa.h (ivect[]): Likewise. 7285: * i386/i386at/kd_mouse.c (mouseintr): Likewise. 7286: * i386/i386at/com.c (comintr, comstop): Likewise. 7287: * i386/i386at/kd.c (kdcnputc, kdstart, kdstop, kdintr): Likewise. 7288: * i386/i386/trap.c (exception, thread_exception_return, i386_exception): 7289: Add __attribute__ ((noreturn)). 7290: * i386/i386at/kd.c (kdcnprobe): Return 0 at end of function. 7291: * i386/i386at/lpr.c (lprintr, lprstart): Return void instead of int. 7292: (lprstart): Don't return numeric values any longer. 7293: * kern/eventcount.c (evc_wait_clear): Return a value. 7294: * kern/exceptions.c (exception, exception_try_task, exception_no_server, 7295: exception_raise, exception_raise_continue, exception_raise_continue_slow, 7296: exception_raise_continue_fast): Add __attribute__ ((noreturn)). 7297: (exception, exceptio_try_task, exception_raise, 7298: exception_raise_continue_slow, exception_raise_continue_fast): 7299: Remove spurious returns. 7300: (exception_no_server): Add panic() on return from thread_halt_self(). 7301: 7302: 2008-07-20 Samuel Thibault <[email protected]> 7303: 7304: * linux/pcmcia-cs/glue/wireless_glue.h (schedule_task): Add parameter 7305: to Debugger() call. 7306: * kern/lock_mon.c (retry_simple_lock, retry_bit_lock): Likewise. 7307: * kern/machine.c (Debugger): Remove declaration. 7308: * device/net_io.c (net_deliver): Fix parenthesis to really round up. 7309: * kern/mach_clock.c (timeout): Make the `fcn' parameter take a void * 7310: instead of char *. 7311: * kern/mach_clock.h (timeout): Likewise. 7312: * device/net_io.c (net_set_filter): Reference the proper member 7313: instead of casting pointers. 7314: * device/subrs.c (ether_sprintf): Set type of `i' to `int'. 7315: * i386/i386/trap.c (kernel_trap): Pass page fault address to printf. 7316: * i386/i386at/rtc.c (rtcget): Fix parenthesis to really test the bit. 7317: * linux/src/include/linux/tqueue.h (queue_task_irq, 7318: queue_task_irq_off, queue_task, run_task_queue): Turn into static 7319: inlines. 7320: 7321: 2008-07-19 Barry deFreese <[email protected]> 7322: 7323: * device/dev_hdr.h (dev_name_lookup, dev_set_indirection): Add 7324: prototypes. 7325: * device/dev_pager.c: Include <vm/vm_user.h>. 7326: * device/ds_routines.c: Likewise. 7327: * device/subrs.c: Likewise. 7328: * device/device_init.c: Include <device/tty.h>. 7329: * device/ds_routines.h (iowait): Add prototype. 7330: * device/net_io.h (net_kmsg_collect): Add prototype. 7331: * device/net_io.c (hash_ent_remove, net_free_dead_infp, 7332: net_free_dead_entp, bpf_validate, bpf_eq, net_add_q_info, 7333: bpf_match): Add forward declarations. 7334: * device/subrs.h: New header. 7335: * i386/i386/fpu.h: Include <sys/types.h>. 7336: Change <i386/thread.h> include to <kern/thread.h>. 7337: (fp_save, fp_load, fp_free, fpu_module_init, fpu_set_state, 7338: fpu_get_state, fpnoextflt, fpextovrflt, fpexterrflt, init_fpu): 7339: Add prototypes. 7340: * i386/i386/gdt.h (gdt_init): Add prototype. 7341: * i386/i386/io_map.c: Include <vm/pmap.h>. 7342: * vm/vm_kern.c: Likewise. 7343: * i386/i386/ktss.h (ktss_init): Add prototype. 7344: * i386/i386/ldt.h (ldt_init): Add prototype. 7345: * i386/i386/loose_ends.h: New header. 7346: * i386/i386/loose_ends.c (delay): Complete prototype. 7347: * i386/i386/model_dep.h (startrtclock): Add prototype. 7348: * i386/i386/pcb.h (load_context, stack_attach, stack_detach, 7349: switch_ktss): Add prototypes. 7350: * i386/i386/pic.h (form_pic_mask, picinit): Add prototypes. 7351: * i386/i386/pit.c: Include <i386/pic.h>. 7352: * i386/i386at/kd_mouse.c: Likewise. 7353: * i386/i386/pit.h (clkstart): Add prototype. 7354: * i386/i386/trap.c: Include <i386/fpu.h>, <intel/read_fault.h>, 7355: <vm/vm_fault.h>. 7356: * i386/i386/trap.h (interrupted_pc): Add prototype. 7357: * i386/i386/user_ldt.c: Include <i386/pcb.h>. 7358: * i386/i386at/autoconf.h: New header. 7359: * i386/i386at/com.h: New header. 7360: * i386/i386at/com.c: Include <i386at/autoconf.h>, <i386at/com.h>. 7361: * i386/i386at/idt.h (idt_init): Add prototype. 7362: * i386/i386at/int_init.h: New header. 7363: * i386/i386at/kd.c: Include <i386/loose_ends.h>. 7364: * kern/debug.c: Likewise. 7365: * i386/i386at/kd_event.c: Include <device/ds_routines.h>. 7366: * i386/i386at/kd_mouse.c: Likewise. 7367: * i386/i386at/kd_mouse.c: Include <device/subrs.h>, <i386at/com.h>. 7368: * i386/i386at/lpr.c: Include <i386at/autoconf.h> 7369: * i386/i386at/model_dep.c: Include: <i386/fpu.h>, <i386/gdt.h>, 7370: <i386/ktss.h>, <i386/ldt.h>, <i386/pic.h>, <i386/pit.h>, 7371: <i386at/autoconf.h>, <i386at/idt.h>, <i386at/int_init.h>, 7372: <i386at/kd.h>, <i386at/rtc.h>. 7373: * i386/i386at/rtc.h (readtodc, writetodc): Add prototypes. 7374: * i386/intel/pmap.h: Include <mach/vm_prot.h>. 7375: (pmap_bootstrap, pmap_unmap_page_zero, pmap_zero_page, pmap_copy_page, 7376: kvtophys): Add prototypes. 7377: * i386/intel/read_fault.h: New header. 7378: * kern/ast.h (ast_init, ast_check): Add prototypes. 7379: * kern/debug.c (Debugger): Move prototype to... 7380: * kern/debug.h (Debugger): ... here. 7381: * kern/eventcount.h (evc_notify_abort): Add prototype. 7382: * kern/ipc_mig.c: Include <kern/syscall_subr.h>, <kern/ipc_tt.h>, 7383: <device/ds_routines.h> 7384: * kern/ipc_mig.h: New header. 7385: * kern/ipc_tt.h (mach_reply_port): Add prototype. 7386: * kern/machine.h: New header. 7387: * kern/processor.h (pset_sys_bootstrap): Move prototype outside of 7388: MACH_HOST check. 7389: * kern/sched_prim.h (thread_bind, compute_priority, 7390: thread_timeout_setup): Add prototypes. 7391: * kern/startup.c: Include <kern/machine.h>, <machine/pcb.h>. 7392: * kern/syscall_subr.c: Include <kern/syscall_subr.h>. 7393: (thread_depress_abort): Remove prototype. 7394: * kern/syscall_subr.h: Include <sys/types.h>, <mach/mach_types.h> 7395: (thread_depress_abort): Add prototype. 7396: * kern/syscall_sw.c: Include: <kern/debug.h>. 7397: * kern/task.h (consider_task_collect): Add prototype. 7398: * kern/thread.c: Include <kern/eventcount.h>, <kern/ipc_mig.h>, 7399: <kern/syscall_subr.h>. 7400: * kern/thread.h (stack_collect): Add prototype. 7401: * linux/pcmcia-cs/glue/pcmcia_glue.h (Debugger): Remove prototype. 7402: * util/putchar.c: Include <device/cons.h>. 7403: * util/putchar.h: New header. 7404: * util/puts.c: Include <device/cons.h>, <util/putchar.h>. 7405: * vm/memory_object.c: Include <vm/vm_map.h>. 7406: (memory_object_data_provided): Move function below 7407: memory_object_data_supply definition. 7408: * vm/vm_init.c: Include <vm/vm_fault.h>. 7409: * vm/vm_kern.h (projected_buffer_in_range): Add prototype. 7410: * vm/vm_map.c: Include <vm/pmap.h>, <vm/vm_resident.h>. 7411: (vm_map_delete, vm_map_copyout_page_list, vm_map_copy_page_discard): 7412: Add forward declaration. 7413: * vm/vm_map.h (vm_map_copyin_object, vm_map_submap, 7414: _vm_map_clip_start, _vm_map_clip_end): Add prototypes. 7415: * vm/vm_pageout.c: Include <device/net_io.h>, <kern/task.h>, 7416: <machine/locore.h>. 7417: * vm/vm_resident.h: New header. 7418: * vm/vm_user.c: Include <vm/vm_kern.h>. 7419: * vm/pmap.h (pmap_pageable, pmap_map_bd): Add prototype. 7420: 7421: 2008-07-18 Andrei Barbu <[email protected]> 7422: 7423: * i386/i386/db_disasm.c (Iba): New macro. 7424: (db_inst_table): Use Iba for aam and aad instructions. 7425: (db_disasm): Decode operands for Iba case. 7426: * i386/i386/db_interface.c (db_read_bytes): Do not increment the 7427: address before printing it. 7428: * include/sys/types.h (int8_t, uint8_t, u_int8_t, int16_t, uint16_t, 7429: u_int16_t, int32_t, uint32_t, u_int32_t, int64_t, uint64_t, 7430: u_int64_t): New types. 7431: * ddb/db_sym.c (db_task_printsym): Do not print empty symbols. 7432: * ddb/db_break.c (db_set_breakpoint): Add db_breakpoint_t return type, 7433: return the breakpoint in non-ddb case. 7434: * ddb/db_break.h (BKPT_EXTERNAL): New macro. 7435: (db_set_breakpoint): Add declaration. 7436: * (ddb/db_sym.h): Add _DDB_DB_SYM_H_ header protection. 7437: (db_find_sym_and_offset, db_find_xtrn_sym_and_offset, 7438: db_find_task_sym_and_offset, db_find_xtrn_task_sym_and_offset): Call 7439: db_free_symbol. 7440: (db_free_symbol): New declaration. 7441: (db_sym_switch): New `free_symbol' member. 7442: (X_db_free_symbol): New macro. 7443: * ddb/db_sym.c (db_value_of_name, db_lookup, db_name_is_ambiguous, 7444: db_search_task_symbol, db_search_in_task_symbol, db_task_printsym): 7445: Call db_free_symbol. 7446: (db_free_symbol): New function. 7447: (dummy_db_free_symbol): New empty function. 7448: (x_db): Initialize `free_symbol' memberi with dummy_db_free_symbol. 7449: * i386/i386/db_trace.c (db_i386_stack_trace): Call db_free_symbol. 7450: * kern/lock_mon.c (print_lock_info): Likewise. 7451: * include/sys/types.h (quad): Remove type. 7452: 7453: 2008-07-15 Barry deFreese <[email protected]> 7454: 7455: * device/cons.c (cnputc): Turn parameter `c' into a char. 7456: * device/cons.h (cninit, cngetc, cnmaygetc, cnputc): Add prototypes. 7457: * i386/i386at/model_dep.c: Include <device/cons.h> 7458: * kern/printf.c: Include <device/cons.h> 7459: (cnputc): Remove prototype. 7460: (vprintf, iprintf): Explicitely cast cnputc into the type _doprnt 7461: expects. 7462: * linux/dev/kernel/printk.c: Include <device/cons.h> 7463: (cnputc): Remove prototype. 7464: * device/ds_routines.c: Include <machine/locore.h> 7465: * ipc/ipc_kmsg.c: Likewise. 7466: * kern/bootstrap.c: Likewise. 7467: * kern/exception.c: Likewise. 7468: * kern/ipc_mig.c: Likewise. 7469: * kern/sched_prim.c: Likewise. 7470: * kern/time_stamp.c: Likewise. 7471: * vm/vm_kern.c: Likewise. 7472: * device/ds_routine.h (ds_notify): Add prototype. 7473: * kern/ipc_kobject.c: Include <device/ds_routines.h> 7474: * device/net_io.h (net_ast): Add prototype. 7475: * ipc/ipc_kmsg.c: Include <device/net_io.h> 7476: * kern/ast.c: Include <device/net_io.h> 7477: * i386/i386at/kd.h (kd_isupper, kd_islower, kd_senddata, kd_sendcmd, 7478: kd_cmdreg_write, kd_mouse_drain, set_kd_state, kd_setleds1, kd_setleds2, 7479: cnsetleds, kdreboot, kd_putc, kd_parseesc, kd_down, kd_up, kd_cr, 7480: kd_tab, kd_left, kd_right, kd_scrollup, kd_scrolldn, kd_cls, kd_home, 7481: kd_atoi, kd_insch, kd_cltobcur, kd_cltopcur, kd_cltoecur, kd_clfrbcur, 7482: kd_eraseln, kd_insln, kd_delln, kd_delch, kd_erase, kd_bellon, 7483: kd_belloff, kdinit, kdsetkbent, kdgetkbent, kdsetbell, kd_resend, 7484: kd_handle_ack, kd_kbd_magic, kdstate2idx, kd_parserest, kdcnmaygetc, 7485: kd_slmwd, kd_slmscu, kd_slmscd): Add prototypes. 7486: * i386/i386at/kd.c (do_modifier): Add prototype. 7487: * kern/ipc_kobject.c: Include <vm/vm_object.h> 7488: * vm/vm_object.h: Include <sys/types.h> and <ipc/ipc_types.h>. 7489: (vm_object_coalesce, vm_object_pager_wakeup): Add prototypes. 7490: * kern/priority.c: Include <kern/sched_prim.h>. 7491: * kern/sched_prim.c (recompute_priorities, update_priority): Remove 7492: prototypes. 7493: * kern/sched_prim.h (update_priority, compute_my_priority): Add 7494: prototypes. 7495: * kern/time_stamp.h (timestamp_init): Add prototype. 7496: * kern/startup.c: Include <kern/time_stamp.h>. 7497: * ipc/ipc_kmsg.c: Include <vm/vm_user.h> and <ipc/ipc_hash.h>. 7498: * ipc/ipc_mqueue (ipc_mqueue_copyin): Add prototype. 7499: * kern/bootstrap.c: Include <vm/vm_user.h>. 7500: * kern/exceptions.c: Include <ipc/ipc_notify.h>. 7501: * kern/ipc_kobject.h (ipc_kobject_notify): Add prototype. 7502: * kern/ipc_mig.c: Include <device/dev_hdr.h>. 7503: * kern/pc_sample.c: Include <machine/trap.h>. 7504: * kern/printf.h (safe_gets): Add prototype. 7505: * kern/processor.c: Include <kern/ipc_tt.h>. 7506: * kern/queue.h (insque): Add prototype. 7507: * kern/startup.c: Include <kern/mach_factor.h> and <kern/xpr.h>. 7508: * kern/thread.h (thread_start, kernel_thread, thread_priority, 7509: thread_set_own_priority, thread_max_priority, thread_policy, 7510: consider_thread_collect, stack_privilege): Add prototypes. 7511: * kern/timer.h (timer_normalize, timer_init, init_timers): Add 7512: prototypes. 7513: * vm/vm_map.h (vm_map_lookup_entry, vm_map_entry_delete): Add 7514: prototypes. 7515: * device/chario.c: Include <vm/vm_user.h> 7516: * device/device_init.c (chario_init): Remove prototype. 7517: * device/tty.h (ttyinput_many, tty_cts, tty_get_status, 7518: tty_set_status, tty_flush, ttrstrt, ttstart, ttyclose, tty_portdeath, 7519: chario_init): Add prototypes. 7520: * i386/i386/model_dep.h: New header. 7521: * i386/i386at/model_dep.c: Include <i386/model_dep.h>. 7522: * kern/debug.c: Include <machine/model_dep.h>. 7523: * kern/mach_clock.c: Likewise. 7524: * kern/sched_prim.c: Likewise. 7525: * kern/startup.c: Likewise. 7526: * kern/machine.c: Likewise. 7527: (halt_cpu): Remove prototype. 7528: * vm/pmap.h (pmap_grab_page): Add prototype. 7529: * ipc/mach_port.h: New header. 7530: * ipc/mach_port.c: Include <ipc/mach_port.h>. 7531: (mach_port_get_receive_status): Add forward declaration. 7532: * kern/bootstrap.c: Include <ipc/mach_port.h>. 7533: * kern/ipc_mig.c: Likewise. 7534: * kern/syscall_sw.c: Likewise. 7535: * device/dev_pager.c (device_pager_data_request, 7536: device_pager_data_request_done, device_pager_init_pager): Fix printf 7537: formats. 7538: * i386/i386/debug_i386.c (dump_ss): Likewise. 7539: * i386/i386/trap.c (user_trap): Likewise. 7540: * i386/i386at/com.c (comtimer): Likewise. 7541: * ipc/ipc_notify (ipc_notify_port_deleted, ipc_notify_msg_accepted, 7542: ipc_notify_port_destroyed, ipc_notify_no_senders, 7543: ipc_notify_send_once, ipc_notify_dead_name): Likewise. 7544: * kern/ipc_kobject.c (ipc_kobject_destroy): Likewise. 7545: * kern/sched_prim.c (do_runq_scan): Likewise. 7546: * linux/pcmcia-cs/clients/smc91c92_cs.c (smc_start_xmit): Likewise. 7547: * linux/src/drivers/net/sundance.c (start_tx): Likewise. 7548: * vm/vm_fault.c (vm_fault_page): Likewise. 7549: * vm/vm_map.c (vm_map_pmap_enter): Likewise. 7550: * vm/vm_object.c (vm_object_collapse): Likewise. 7551: 7552: 2008-07-04 Samuel Thibault <[email protected]> 7553: 7554: * linux/src/drivers/net/rtl8139.c (rtl8129_open): Move IRQ 7555: initialization after ring initialization. 7556: 7557: 2008-07-02 Samuel Thibault <[email protected]> 7558: 7559: * linux/dev/include/asm/segment.h (__put_user, __get_user): Add 7560: always_inline attribute. 7561: 7562: 2008-06-29 Samuel Thibault <[email protected]> 7563: 7564: * i386/i386/fpu.c (fpintr): Do not panic if the we receive the 7565: interrupt twice in the same thread. 7566: 7567: 2008-05-28 Thomas Schwinge <[email protected]> 7568: 7569: [bug #23417, patch #6508 -- Building with -g3] 7570: * Makefile.am (MIGCOM): Revert the 2008-05-19 change. 7571: 7572: 2008-05-25 Andrei Barbu <[email protected]> 7573: 7574: * ddb/db_aout.c (aout_db_symbol_values): Add stab parameter. 7575: * ddb/db_sym.h (db_sym_switch): Add stab parameter to symbol_values 7576: member. 7577: (X_db_symbol_values): Pass stab parameter to symbole_values function. 7578: 7579: 2008-05-19 Thomas Schwinge <[email protected]> 7580: 7581: [patch #6508 -- Building with -g3] 7582: * Makefile.am (MIGCOM): Let it filter through CPP again. 7583: Suggested by Andrei Barbu <[email protected]>. 7584: 7585: 2008-05-09 Andrei Barbu <[email protected]> 7586: 7587: * i386/i386/loose_ends.c (DELAY): Use volatile qualifier instead of 7588: register to prevent optimization. 7589: 7590: 2008-03-10 Samuel Thibault <[email protected]> 7591: 7592: * doc/Makefrag.am: Fix typo. 7593: 7594: 2008-03-07 Samuel Thibault <[email protected]> 7595: 7596: * i386/i386/locore.S (syscall): Clear direction flag at entry. 7597: 7598: 2008-02-06 Samuel Thibault <[email protected]> 7599: 7600: * linux/src/drivers/block/triton.c (ide_init_triton): Enable Bus 7601: Mastering if not enabled by BIOS. 7602: 7603: 2007-12-30 Samuel Thibault <[email protected]> 7604: 7605: * kern/debug.c (panic) [MACH_KDB]: Don't wait before running the 7606: debugger. 7607: * linux/dev/glue/block.c (MAX_BUF): Set to sane stack-friendly 8 7608: instead of blindly following VM_MAP_COPY_PAGE_LIST_MAX. 7609: (rdwr_full): increment blk by cc >> bshift instead of nb. 7610: 7611: 2007-12-11 Thomas Schwinge <[email protected]> 7612: 7613: * linux/dev/include/linux/nfs.h: Remove unused file. 7614: * linux/src/include/linux/nfs.h: Likewise. 7615: 7616: 2007-12-10 Thomas Schwinge <[email protected]> 7617: 7618: * i386/Makefrag.am (i386/i386at/boothdr.o, i386/i386at/interrupt.o) 7619: (i386/i386/cswitch.o, i386/i386/locore.o): Remove targets. 7620: * configure.ac <Dependency tracking for `.S' files>: Add a hack to 7621: re-add the four targets with have been removed above for the (legacy) 7622: case only where they are actually needed. 7623: 7624: 2007-12-05 Guillem Jover <[email protected]> 7625: 7626: * i386/Makefrag.am (i386/i386at/interrupt.o): New target, depends on 7627: i386/i386/i386asm.h 7628: (i386/i386/cswitch.o): Likewise. 7629: (i386/i386/locore.o): Likewise. 7630: 7631: 2007-11-18 Samuel Thibault <[email protected]> 7632: 7633: * i386/intel/pmap.c (pmap_map_bd): Use 7634: INTEL_PTE_NCACHE|INTEL_PTE_WTHRU. Get pmap lock. 7635: 7636: 2007-11-15 Samuel Thibault <[email protected]> 7637: 7638: * ddb/db_examine.c (db_strcpy): Add extra parentheses around 7639: assignment used as boolean. 7640: * ddb/db_sym.c (db_qualify, db_lookup): Likewise. 7641: 7642: 2007-11-08 Thomas Schwinge <[email protected]> 7643: 7644: * doc/mach.texi: Do the copyright and licensing things as suggested by 7645: the GNU Texinfo manual. 7646: 7647: 2007-10-09 Thomas Schwinge <[email protected]> 7648: 7649: * linux/dev/glue/net.c (device_open) <LINUX_IFF_ALLMULTI>: Comment. 7650: 7651: 2007-10-08 Stefan Siegl <[email protected]> 7652: 7653: * linux/dev/glue/net.c (device_open): Set LINUX_IFF_ALLMULTI flag 7654: on device and propagate. 7655: 7656: 2007-10-02 Samuel Thibault <[email protected]> 7657: 7658: * kern/zalloc.c (zget_space): Fix last change. 7659: 7660: 2007-09-03 Samuel Thibault <[email protected]> 7661: 7662: * kern/zalloc.c (zget_space): Align zalloc_next_space again after 7663: calling kmem_alloc_wired (which may sleep). 7664: 7665: 2007-08-16 Samuel Thibault <[email protected]> 7666: 7667: * Makefile.am (clib_routines): Add udivdi3, __udivdi3 and _end. Fix 7668: edata into _edata. 7669: (gnumach-undef): Do not remove heading _s. 7670: (clib-routines.o): Add -lgcc. 7671: 7672: 2007-07-09 Samuel Thibault <[email protected]> 7673: 7674: * i386/i386/db_interface.c (int_regs): Drop gs and fs fields. 7675: (kdb_kentry): Get fs and gs from struct i386_interrupt_state instead of 7676: struct int_regs. 7677: * i386/i386/kttd_interface.c (int_regs, kttd_netentry): Likewise. 7678: * i386/i386/locore.S (all_intrs): Save fs and gs and set them to kernel 7679: segment too. 7680: (return_to_iret): Restore fs and gs too. 7681: (return_to_iret_i): Likewise. 7682: (ast_from_interrupt): Set fs and gs to kernel segment too. 7683: (kdb_from_iret): Don't save/restore fs and gs either. 7684: (ttd_from_iret): Likewise. 7685: * i386/i386/thread.h (i386_interrupt_state): Add gs and fs fields. 7686: * linux/src/include/asm-i386/irq.h (SAVE_ALL): Set gs to kernel 7687: segment too. 7688: 7689: 2007-08-04 Samuel Thibault <[email protected]> 7690: 7691: * i386/i386/locore.S (TIME_TRAP_UENTRY, TIME_TRAP_SENTRY) 7692: (TIME_TRAP_UEXIT): Use TH_SYSTEM_TIMER instead of old TH_SYS_TIMER. 7693: (current_tstamp, TIME_TRAP_UENTRY, TIME_TRAP_SENTRY, TIME_TRAP_UEXIT) 7694: (TIME_INT_ENTRY, TIME_INT_EXIT, timer_switch, start_timer): Use 7695: EXT(current_tstamp) and EXT(current_timer) instead of _current_tstampt 7696: and _current_timer. 7697: * i386/i386/io_perm.c (i386_io_perm_create): Lock io_perm->port, not 7698: inexistent device->port. 7699: * i386/i386at/model_dep.c: Make init_alloc_aligned() extern. 7700: * i386/i386/mp_desc.c: Include <machine/vm_param.h> 7701: (interrupt_stack_alloc): Call init_alloc_aligned() instead of 7702: init_alloc(). 7703: (cpu_control, interrupt_processor, cpu_start, start_other_cpus): New 7704: functions. 7705: * i386/i386/mp_desc.h: Include <i386at/idt.h> instead of "idt.h" 7706: * i386/i386/cswitch.S: Use EXT(interrupt_stack) instead of 7707: _interrupt_stack. 7708: * i386/i386/i386asm.sym (MP_GDT, MP_IDT): Remove macros. 7709: * i386/i386/lock.h: Don't include_next "lock.h". 7710: * i386/linux/dev/include/linux/autoconf.h [NCPUS > 1]: Define 7711: CONFIG_SMP. 7712: * linux/dev/include/asm-i386/smp.h: New file. 7713: * linux/dev/init/main.c [__SMP__ && __i386] (smp_loops_per_tick): 7714: Restore variable. 7715: * linux/pcmcia-cs/modules/cs_internal.h: Use __SMP__ instead of 7716: USE_SPIN_LOCKS. 7717: * linux/pcmcia-cs/modules/i82365.c: Likewise. 7718: * linux/pcmcia-cs/modules/rsrc_mgr.c: Likewise. 7719: * linux/dev/include/asm-i386/system.h: Update to Linux 2.2 for SMP. 7720: * configfrag.ac (mach_ncpus): Define to 1. 7721: (NCPUS): Set to $mach_ncpus. 7722: [$mach_ncpus > 1] (MULTIPROCESSOR): Set to 1. 7723: * linux/configfrag.ac [$mach_ncpus > 1] (__SMP__): Define. 7724: * linux/dev/arch/i386/kernel/irq.c: Include <asm/hardirq.h>. 7725: (local_bh_count, local_irq_count, global_irq_holder, global_irq_lock) 7726: (global_irq_count, check_smp_invalidate, show, wait_on_bh) 7727: (wait_on_irq, synchronize_bh, synchronize_irq, get_irqlock) 7728: (__global_cli, __global_sti, __global_save_flags) 7729: (__global_restore_flags): New variables and functions from Linux 2.2 7730: * linux/src/drivers/net/3c515.c (test_and_set_bit): Remove macro. 7731: * linux/src/drivers/net/de4x5.c (test_and_set_bit): Remove macro. 7732: * linux/src/drivers/net/eth16i.c (test_and_set_bit): Remove macro. 7733: * linux/src/drivers/net/kern_compat.h (test_and_set_bit): Remove macro. 7734: * linux/src/drivers/net/pcnet32.c (test_and_set_bit): Remove macro. 7735: * linux/src/include/linux/compatmac.h (test_and_set_bit) 7736: (test_and_clear_bit): Remove macro. 7737: * linux/src/include/asm-i386/atomic.h (atomic_read): New macro. 7738: * linux/src/include/asm-i386/bitops.h (test_and_set_bit) 7739: (test_and_clear_bit, test_and_change_bit): New inline functions. 7740: * linux/src/include/asm-i386/hardirq.h (local_bh_count): New 7741: declaration. 7742: * linux/src/include/linux/tasks.h (NR_CPUS): Set to NCPUS. 7743: (NO_PROC_ID): New macro. 7744: 7745: 2007-07-08 Samuel Thibault <[email protected]> 7746: 7747: * i386/i386/seg.h (SZ_64): New macro. 7748: * i386/i386/user_ldt.c (selector_check, i386_set_gdt): Check 7749: user-provided descriptor against SZ_64. 7750: 7751: 2007-07-04 Samuel Thibault <[email protected]> 7752: 7753: * i386/intel/pmap.c (pmap_enter): Use INTEL_PTE_NCACHE|INTEL_PTE_WTHRU 7754: when cpu >= 486 and physical address is after memory end. 7755: 7756: 2007-06-23 Samuel Thibault <[email protected]> 7757: 7758: * i386/i386/trap.c (user_trap): Read faulting linear address before 7759: using it. 7760: 7761: 2007-06-02 Thomas Schwinge <[email protected]> 7762: 7763: * Makerules.mig.am: New file, factored out of code of... 7764: * Makefrag.am: ... this file and... 7765: * Makerules.am: ... this file. 7766: * i386/Makefrag.am: Update comment. 7767: 7768: * Makefile.am (MIGFLAGS): Remove. 7769: (MIGCOM): Add ``-n''. 7770: * Makerules.am: Adapt to that. 7771: 7772: 2007-05-09 Thomas Schwinge <[email protected]> 7773: 7774: * include/mach/mach_types.defs (userprefix, serverprefix): Set, if 7775: requested (by setting USERPREFIX respective SERVERPREFIX). 7776: 7777: 2007-05-08 Samuel Thibault <[email protected]> 7778: 7779: * i386/i386/fpu.c (fpu_set_state): Set fp_valid to TRUE. Free the 7780: unused ifps. 7781: 7782: 2007-05-07 Thomas Schwinge <[email protected]> 7783: 7784: [bug #15295 -- Mach lets processes write to I/O ports] 7785: 7786: * i386/Makefrag.am (libkernel_a_SOURCES): Add `i386/i386/io_perm.c', 7787: `i386/i386/io_perm.h', `i386/i386/machine_task.c', `i386/i386/task.h' 7788: and remove `i386/i386/io_port.h', `i386/i386/iopb.c', 7789: `i386/i386/iopb.h'. 7790: 7791: * i386/i386/io_port.h: Remove file. 7792: * i386/i386at/kd.c: Don't include <i386/io_port.h>. 7793: (vga_port_list, kd_io_device, kd_io_map_open, kd_io_map_close): Don't 7794: define and don't use anymore. 7795: 7796: * include/stddef.h: New file. 7797: 7798: * i386/i386/io_perm.c: Include <string.h>, <device/device_emul.h>, 7799: <ipc/ipc_space.h> and don't include <oskit/ds_oskit.h>. 7800: (io_perm_device_emulation_ops): New variable. 7801: (dev_open_alloc, setup_no_senders): Remove declarations. 7802: (convert_io_perm_to_port, convert_port_to_io_perm, io_perm_deallocate): 7803: Rewrite. 7804: (no_senders): New function. 7805: (i386_io_perm_create, i386_io_perm_modify): Rewrite partially, to adapt 7806: to the GNU Mach environment. 7807: * i386/i386/io_perm.h: Include <device/dev_hdr.h> and 7808: <ipc/ipc_types.h>. 7809: (io_perm, io_perm_t): New structure and accompanying type definition. 7810: (IO_PERM_NULL): Define. 7811: * i386/i386/locore.S (ktss): Move variable to... 7812: * i386/i386/ktss.c: ... here, make it a ``struct task_tss''. 7813: (ktss_init): Initialize the `task_tss' structure and the i/o permission 7814: bit map. 7815: * i386/i386/ktss.h: Adapt to that. 7816: * i386/i386/machine_task.c (machine_task_module_init): Adapt the `zinit' 7817: call to the GNU Mach environment. 7818: * i386/i386/mp_desc.c: Include <machine/ktss.h>. 7819: * i386/i386/tss.h: Include <machine/io_perm.h>. 7820: (task_tss): New structure, equivalent to the OSKit-Mach one. 7821: * i386/include/mach/i386/mach_i386.defs: Don't include 7822: <device/device_types.defs>. 7823: (device_list_t): Remove type. 7824: * i386/include/mach/i386/mach_i386_types.h (device_list_t): Remove type 7825: definition. 7826: 7827: 2007-05-07 Marcus Brinkmann <[email protected]> 7828: 7829: [bug #15295 -- Mach lets processes write to I/O ports] 7830: 7831: * i386/i386/iopb.h, i386/i386/iopb.c: Obsolete files removed. 7832: 7833: * i386/i386/pcb.c (switch_context): Update the I/O permission 7834: bitmap from stack_handoff() here (not only in stack_handoff()). 7835: 7836: * i386/i386/machine_task.c (machine_task_module_init): Set 7837: ZONE_COLLECTABLE and ZONE_EXHAUSTIBLE flags for the iopb zone. 7838: Requested by Roland McGrath <[email protected]>. 7839: 7840: * i386/i386/io_perm.h: New file. 7841: * i386/i386/io_perm.c: New file. 7842: * i386/i386/machine_task.c: New file. 7843: * i386/i386/mp_desc.h: (struct mp_desc_table): Change type of ktss to 7844: struct task_tss. 7845: (mp_ktss): Likewise for array of pointers to the struct. 7846: * i386/i386/mp_desc.c: Include `machine/tss.h' and `machine/io_perm.h'. 7847: (mp_ktss): Change type to array of struct task_tss. 7848: (mp_desc_init): Cast pointer to x86_tss into pointer to task_tss, 7849: and use size of struct task_tss instead size of struct x86_tss. 7850: Initialize the task_tss structure. 7851: * i386/i386/pcb.c: Include `stddef.h' and `machine/tss.h'. 7852: (iopb_create, iopb_destroy): Prototypes removed. 7853: (curr_ktss): Cast pointer to base_tss to pointer to struct 7854: task_tss. 7855: (switch_ktss): Always use kernel TSS. 7856: (update_ktss_iopb): New function. 7857: (stack_handoff): Call update_ktss_iopb. 7858: (pcb_module_init): Do not call iopb_init. 7859: (pcb_terminate): Do not call iopb_destroy. 7860: (thread_setstatus): Remove local variable tss. 7861: (thread_getstatus): Rewrite i386_ISA_PORT_MAP_STATE case handler. 7862: * i386/i386/task.h: New file. 7863: * i386/i386/thread.h: Do not include `i386/iopb.h'. 7864: (struct i386_machine_state): Remove member io_tss. 7865: * i386/include/mach/i386/mach_i386.defs [KERNEL_SERVER]: Include 7866: `machine/io_perm.h'. Define intran, outtran and destructor. 7867: (io_port_t): New type. 7868: (io_perm_t): Likewise. 7869: (i386_io_port_add): Interface removed. 7870: (i386_io_port_remove): Likewise. 7871: (i386_io_port_list): Likewise. 7872: (i386_io_perm_create): New interface. 7873: (i386_io_perm_modify): Likewise. 7874: * i386/include/mach/i386/mach_i386_types.h [MACH_KERNEL]: Include 7875: `i386/io_perm.h'. 7876: [!MACH_KERNEL]: Define types io_port_t and io_perm_t. 7877: * kern/task.c (task_init): Call machine_task_module_init. 7878: (task_create): Call machine_task_init. 7879: (task_deallocate): Call machine_task_terminate. 7880: (task_collect_scan): Call machine_task_collect. 7881: * task.h: Include `machine/task.h'. 7882: (struct task): Add member machine. 7883: 7884: 2007-05-06 Thomas Schwinge <[email protected]> 7885: 7886: * device/kmsg.c: Include <device/ds_routines.h>. 7887: (kmsg_lock): Use `decl_simple_lock_data'. 7888: (kmsgread, kmsg_read_done): Add two typecasts. 7889: 7890: * device/buf.h (minphys): Add return type. 7891: * device/device_types_kernel.h: We're not in the eighties anymore... 7892: * device/io_req.h: Likewise. 7893: 7894: 2007-05-05 Thomas Schwinge <[email protected]> 7895: 7896: * i386/i386at/model_dep.c (halt_cpu, halt_all_cpus): Call 7897: `machine_idle' to avoid busy-looping. 7898: 7899: * i386/intel/read_fault.c (intel_read_fault): Remove the last parameter 7900: from the calls of `vm_map_lookup'. 7901: 7902: We're not in the eighties anymore. List arguments in function 7903: prototypes and definitions for a lot of symbols. Also drop some unused 7904: prototypes. I refrain from listing every changed symbol. 7905: * vm/memory_object.c: Do as described. 7906: * vm/memory_object.h: Likewise. 7907: * vm/pmap.h: Likewise. 7908: * vm/vm_external.c: Likewise. 7909: * vm/vm_external.h: Likewise. 7910: * vm/vm_fault.c: Likewise. 7911: * vm/vm_fault.h: Likewise. 7912: * vm/vm_kern.h: Likewise. 7913: * vm/vm_map.c: Likewise. 7914: * vm/vm_map.h: Likewise. 7915: * vm/vm_pageout.h: Likewise. 7916: * vm/vm_user.h: Likewise. 7917: * vm/memory_object.h: Include <ipc/ipc_types.h>. 7918: * vm/pmap.h: Include <kern/thread.h>. 7919: * vm/vm_fault.h: Include <mach/vm_prot.h>, <vm/vm_map.h> and 7920: <vm/vm_types.h>. 7921: * vm/vm_map.h: Include <mach/vm_attributes.h> and <vm/vm_types.h>. 7922: (vm_map_t, VM_MAP_NULL): Remove type and definition. 7923: * vm/vm_object.h (vm_object_t, VM_OBJECT_NULL): Remove type and 7924: definition. 7925: * vm/vm_page.h: Include <vm/vm_types.h>. 7926: (vm_page_t, VM_PAGE_NULL): Remove type and definition. 7927: * vm/vm_user.h: Include <mach/std_types.h>. 7928: * kern/task.h: Include <vm/vm_types.h> instead of <vm/vm_map.h>. 7929: * vm/vm_types.h: New file: the above-removed types and definitions. 7930: 7931: 2007-05-02 Thomas Schwinge <[email protected]> 7932: 7933: * configure.ac (--disable-default-device-drivers): Transform into... 7934: (--enable-device-drivers): ... this new option and extend it. 7935: * i386/configfrag.ac (--enable-lpr): Adapt to that. 7936: * linux/configfrag.ac (AC_OPTION_Linux_ix86_at, AC_Linux_DRIVER): 7937: Likewise. 7938: (AC_Linux_DRIVER_qemu): New definition. Use it for the `floppy', `ide' 7939: and `ne' device drivers. 7940: * doc/mach.texi: Document all that. 7941: 7942: 2007-05-01 Thomas Schwinge <[email protected]> 7943: 7944: * assigns: Remove file. See `copyright.list' on the GNU server instead. 7945: 7946: 2007-04-30 Thomas Schwinge <[email protected]> 7947: 7948: We're not in the eighties anymore. List arguments in function 7949: prototypes and definitions for a lot of symbols. Also drop some unused 7950: prototypes. I refrain from listing every changed symbol. 7951: * chips/busses.h: Do as described. 7952: * ddb/db_break.c: Likewise. 7953: * ddb/db_break.h: Likewise. 7954: * ddb/db_command.c: Likewise. 7955: * ddb/db_command.h: Likewise. 7956: * ddb/db_lex.c: Likewise. 7957: * ddb/db_lex.h: Likewise. 7958: * ddb/db_output.c: Likewise. 7959: * ddb/db_output.h: Likewise. 7960: * ddb/db_sym.h: Likewise. 7961: * ddb/db_task_thread.c: Likewise. 7962: * ddb/db_task_thread.h: Likewise. 7963: * ddb/db_variables.h: Likewise. 7964: * ddb/db_watch.c: Likewise. 7965: * ddb/db_watch.h: Likewise. 7966: * device/buf.h: Likewise. 7967: * device/conf.h: Likewise. 7968: * device/dev_hdr.h: Likewise. 7969: * device/ds_routines.h: Likewise. 7970: * device/if_ether.h: Likewise. 7971: * device/io_req.h: Likewise. 7972: * device/net_io.h: Likewise. 7973: * i386/i386/io_port.h: Likewise. 7974: * i386/i386/lock.h: Likewise. 7975: * i386/i386/mp_desc.c: Likewise. 7976: * i386/i386/mp_desc.h: Likewise. 7977: * i386/i386/proc_reg.h: Likewise. 7978: * i386/i386/user_ldt.h: Likewise. 7979: * i386/i386at/kd_queue.h: Likewise. 7980: * i386/i386at/kdsoft.h: Likewise. 7981: * i386/intel/pmap.c: Likewise. 7982: * i386/intel/pmap.h: Likewise. 7983: * include/mach/mach_traps.h: Likewise. 7984: * ipc/ipc_entry.h: Likewise. 7985: * ipc/ipc_hash.h: Likewise. 7986: * ipc/ipc_kmsg.h: Likewise. 7987: * ipc/ipc_marequest.c: Likewise. 7988: * ipc/ipc_marequest.h: Likewise. 7989: * ipc/ipc_mqueue.h: Likewise. 7990: * ipc/ipc_notify.h: Likewise. 7991: * ipc/ipc_object.h: Likewise. 7992: * ipc/ipc_port.h: Likewise. 7993: * ipc/ipc_pset.h: Likewise. 7994: * ipc/ipc_right.h: Likewise. 7995: * ipc/ipc_space.h: Likewise. 7996: * ipc/ipc_table.h: Likewise. 7997: * ipc/mach_msg.c: Likewise. 7998: * ipc/mach_msg.h: Likewise. 7999: * kern/ast.c: Likewise. 8000: * kern/ast.h: Likewise. 8001: * kern/debug.c: Likewise. 8002: * kern/debug.h: Likewise. 8003: * kern/ipc_tt.c: Likewise. 8004: * kern/ipc_tt.h: Likewise. 8005: * kern/mach_factor.c: Likewise. 8006: * kern/mach_factor.h: Likewise. 8007: * kern/printf.c: Likewise. 8008: * kern/printf.h: Likewise. 8009: * kern/queue.h: Likewise. 8010: * kern/sched.h: Likewise. 8011: * kern/syscall_subr.c: Likewise. 8012: * kern/syscall_subr.h: Likewise. 8013: * kern/task.h: Likewise. 8014: * kern/thread_swap.c: Likewise. 8015: * kern/thread_swap.h: Likewise. 8016: * kern/timer.h: Likewise. 8017: * kern/xpr.c: Likewise. 8018: * kern/xpr.h: Likewise. 8019: * kern/zalloc.c: Likewise. 8020: * kern/zalloc.h: Likewise. 8021: * ipc/ipc_port.h: Don't include <ipc/ipc_space.h>. 8022: * device/dev_hdr.h: Include <ipc/ipc_types.h>. 8023: * device/net_io.h: Include <device/if_hdr.h> and <device/io_req.h>. 8024: * ipc/ipc_entry.h: Include <mach/mach_types.h> and <ipc/ipc_types.h>. 8025: * ipc/ipc_kmsg.h: Include <ipc/ipc_object.h>, <ipc/ipc_types.h> and 8026: <vm/vm_map.h>. 8027: * ipc/ipc_marequest.h: Include <mach_debug/hash_info.h> and 8028: <ipc/ipc_types.h>. 8029: * ipc/ipc_object.h: Include <ipc/ipc_types.h>. 8030: * ipc/ipc_right.h: Include <ipc/ipc_entry.h>. 8031: * ipc/ipc_space.h: Include <mach/mach_types.h> and <ipc/ipc_types.h>. 8032: * kern/ipc_tt.h: Include <mach/mach_types.h>. 8033: * kern/sched.h: Include <kern/kern_types.h>. 8034: * kern/syscall_subr.h: Include <kern/kern_types.h>. 8035: * ipc/ipc_hash.c (ipc_hash_index_t): Move type definition... 8036: * ipc/ipc_hash.h: ... into here. 8037: 8038: 2007-04-25 Thomas Schwinge <[email protected]> 8039: 8040: * DEVELOPMENT: Add url. 8041: 8042: [task #5878 -- Backport code from GNU Mach's trunk to 8043: gnumach-1-branch: i386_set_gdt, i386_get_gdt] 8044: * i386/include/mach/i386/mach_i386.defs (i386_set_gdt, i386_get_gdt): 8045: Shift by two to maintain rpc id compatibility with OSKit-Mach. 8046: 8047: * linux/dev/glue/kmem.c (vmalloc_list_remove): Cast the first argument 8048: in the `kfree' call to what is expected. 8049: 8050: * linux/pcmcia-cs/glue/ds.c (kmalloc, kfree): Call `linux_kmalloc', 8051: respective `linux_kfree' instead. 8052: 8053: * kern/kalloc.h (kalloc, kget, kfree, kalloc_init): List the arguments. 8054: 8055: 2007-04-24 Michael Casadevall <[email protected]> 8056: 8057: * linux/src/drivers/net/ne.c (bad_clone_list): Add the RealTek 8029 PCI 8058: card's signature. 8059: <http://lists.gnu.org/archive/html/bug-hurd/2007-04/msg00039.html> 8060: 8061: 2007-04-24 Thomas Schwinge <[email protected]> 8062: 8063: * ipc/ipc_port.h: Include <ipc/ipc_space.h>. 8064: 8065: 2007-04-11 Thomas Schwinge <[email protected]> 8066: 8067: * config.status.dep.patch: Update to match more files. This fixes 8068: building GNU Mach with ``make -j2'' and higher. The problem was 8069: reported by Michael Casadevall <[email protected]>. 8070: 8071: 2007-04-02 Thomas Schwinge <[email protected]> 8072: 8073: * i386/i386/io_emulate.c: Remove file. 8074: * i386/i386/io_emulate.h: Likewise. 8075: * i386/i386at/iopl.c: Likewise. 8076: * i386/Makefrag.am (libkernel_a_SOURCES): Remove the aforementioned 8077: files. 8078: * i386/i386/trap.c: Don't include <i386/io_emulate.h>. 8079: (v86_assist, check_io_fault): Remove functions. 8080: (user_trap): Remove the code referencing the above functions. 8081: * i386/i386at/conf.c (dev_name_list): Remove the `iopl' device. 8082: * DEVELOPMENT: Document this. 8083: 8084: 2007-03-30 Thomas Schwinge <[email protected]> 8085: 8086: * Makefile.am (gnumach_o_LINK): Remove ``--start-group''. 8087: 8088: 2007-03-27 Thomas Schwinge <[email protected]> 8089: 8090: Unconditionally use the device driver multiplexing. Suggested by 8091: Gianluca Guida <[email protected]>. 8092: * i386/i386at/dev_hdr.h: Merge into `device/dev_hdr.h' and remove. 8093: * i386/i386at/device_emul.h: Rename to `device/device_emul.h'. Adapt 8094: all users. 8095: * i386/i386at/i386at_ds_routines.c: Merge into `device/ds_routines.c' 8096: and remove. 8097: * i386/linux/dev/include/linux_emul.h: Remove file. 8098: * Makefrag.am (libkernel_a_SOURCES): Add `device/device_emul.h'. 8099: * i386/Makefrag.am (libkernel_a_SOURCES): Remove 8100: `i386/i386at/dev_hdr.h', `i386/i386at/device_emul.h' and 8101: `i386/i386at/i386at_ds_routines.c'. 8102: * i386/linux/Makefrag.am (liblinux_a_SOURCES): Remove 8103: `i386/linux/dev/include/linux_emul.h'. 8104: * dev/dev_hdr.h: Adapt all users of `i386' as if it were always 8105: defined. 8106: * device/dev_lookup.c: Likewise. 8107: * device/ds_routines.c: Likewise. 8108: * device/device_init.c (ds_init): Rename to `mach_device_init'. 8109: * device/ds_routines.c (ds_init): Likewise. 8110: (ds_trap_init): Rename to `mach_device_trap_init'. 8111: (mach_device_trap_init): Make it `static'. 8112: * linux/dev/glue/block.c: Don't include <linux_emul.h>, but instead 8113: include <device/device_emul.h> and <i386at/disk.h>. 8114: * linux/dev/glue/net.c: Don't include <linux_emul.h>, but instead 8115: include <device/device_emul.h>. 8116: * linux/pcmcia-cs/glue/ds.c: Likewise. 8117: 8118: * kern/pcsample.h: Remove the automatic cvs log appending machinery. 8119: * linux/dev/drivers/scsi/g_NCR5380.c: Likewise. 8120: * linux/src/drivers/net/sk_g16.h: Likewise. 8121: * linux/src/drivers/scsi/AM53C974.c: Likewise. 8122: * linux/src/drivers/scsi/AM53C974.h: Likewise. 8123: * linux/src/drivers/scsi/NCR5380.c: Likewise. 8124: * linux/src/drivers/scsi/NCR5380.h: Likewise. 8125: * linux/src/drivers/scsi/aha152x.c: Likewise. 8126: * linux/src/drivers/scsi/aha1542.h: Likewise. 8127: * linux/src/drivers/scsi/g_NCR5380.c: Likewise. 8128: * linux/src/drivers/scsi/g_NCR5380.h: Likewise. 8129: * linux/src/drivers/scsi/gdth.c: Likewise. 8130: * linux/src/drivers/scsi/qlogicisp.c: Likewise. 8131: * linux/src/drivers/scsi/qlogicisp.h: Likewise. 8132: * linux/src/drivers/scsi/t128.c: Likewise. 8133: * linux/src/drivers/scsi/t128.h: Likewise. 8134: 8135: 2007-03-24 Thomas Schwinge <[email protected]> 8136: 8137: * i386/i386at/conf.c (block_io_mmap): Remove declaration. 8138: 8139: * doc/mach.texi: Fix a typo and the url for GNU GRUB. 8140: 8141: * device/kmsg.h: Include <sys/types.h>, <device/device_types.h> and 8142: <device/io_req.h>. 8143: 8144: * Makefrag.am (libkernel_a_SOURCES): Move `device/kmsg.h' into 8145: [enable_kmsg]. 8146: 8147: 2007-03-23 Thomas Schwinge <[email protected]> 8148: 8149: * Makerules.am (%.server.msgids, %.user.msgids): Merge into the 8150: existing ``%.h %.c'' rules. 8151: Comment out the currently unused rpc stub rules. 8152: * Makefrag.am (gnumach.msgids): Rewrite. 8153: (nodist_libkernel_a_SOURCES): Add all ``.msgids'' files. 8154: * i386/Makefrag.am (nodist_libkernel_a_SOURCES): Likewise. 8155: 8156: 2007-03-19 Tim Retout <[email protected]> 8157: 8158: * i386/ldscript: Correct 'LINKFLAGS_gnumach' in comment. 8159: 8160: 2007-03-06 Samuel Thibault <[email protected]> 8161: 8162: * i386/i386/user_ldt.c (i386_set_gdt): Call switch_ktss() if target is 8163: current thread. 8164: 8165: 2007-03-05 Samuel Thibault <[email protected]> 8166: 8167: [bug #18349 -- ``General Protection Trap'' in `ipc_kmsg_enqueue'] 8168: * linux/dev/glue/net.c (device_write): Call net_packet() with splimp 8169: held. 8170: 8171: 2007-03-04 Thomas Schwinge <[email protected]> 8172: 8173: * tests/configfrag.ac (MBCHK): Remove check. 8174: * tests/test-mbchk.in: Fail correctly if `mbchk' is not available. 8175: 8176: 2007-03-01 Thomas Schwinge <[email protected]> 8177: 8178: * linux/dev/glue/block.c (free_buffer): Use `VM_PAGE_FREE'. 8179: * vm/vm_object.c (vm_object_collapse, vm_object_page_remove) 8180: (vm_object_page_map): Likewise. 8181: 8182: 2007-02-20 Samuel Thibault <[email protected]> 8183: 8184: * linux/dev/glue/block.c (free_buffer): Fix 8185: vm_page_lock_queues/vm_page_unlock_queues pair. 8186: 8187: Fix ddb's trace command. 8188: * i386/i386/db_trace.c (db_find_trace_symbols): Drop _ prefix on ELF 8189: targets. 8190: (db_i386_stack_trace): Check that adresses of known functions were 8191: really found. 8192: 8193: 2007-02-19 Thomas Schwinge <[email protected]> 8194: 8195: * Makefile.am (gnumach_LINKFLAGS): New variable. 8196: (gnumach_LINK): Use that one instead of the previously used 8197: `LINKFLAGS_gnumach'. 8198: * i386/Makefrag.am (LINKFLAGS_gnumach): Rename to `gnumach_LINKFLAGS', 8199: move into [PLATFORM_at] and pass `_START'. 8200: * i386/ldscript: Don't hardcode a _start address of 0x100000, but make 8201: it configurable via `_START'. 8202: 8203: Add a `--enable-platform' option for future use. Allow building 8204: without any Linux code. 8205: * Makefile.am: Don't include `linux/Makefrag.am' in there... 8206: * Makefrag.am: ... but rather in here. 8207: * configfrag.ac (MACH_MACHINE_ROUTINES): AC_DEFINE_UNQUOTED based on 8208: then shell variable `mach_machine_routines'. 8209: (--disable-default-device-drivers): Don't define in there... 8210: * configure.ac: ... but rather in here. 8211: (--enable-platform): New option. 8212: (host_platform): New variable. 8213: (HOST_i386): Don't define there... 8214: * i386/configfrag.ac (HOST_ix86): ... but rather here, rename it and 8215: adapt all users. 8216: (PLATFORM_at): New conditional. 8217: (MACH_MACHINE_ROUTINES): Don't AC_DEFINE, but rather set a shell 8218: variable `mach_machine_routines'. 8219: * linux/Makefrag.am (noinst_LIBRARIES, gnumach_o_LDADD): Only enhance 8220: ``if CODE_linux'' or ``if device_driver_group_pcmcia''. 8221: * linux/configfrag.ac (AC_OPTION): Rename to `AC_OPTION_Linux_ix86_at' 8222: and rework a bit. Adapt all users. 8223: (AC_OPTION_nodef): Rename to `AC_OPTION_Linux_ix86_at_nodef' and rework 8224: a bit. Adapt all users. 8225: (CODE_linux): New conditional. 8226: * i386/Makefrag.am (LINKFLAGS_gnumach): Don't evaluate $(systype). 8227: 8228: * Makefile.am: Update the FSF's postal address. 8229: * doc/Makefrag.am: Likewise. 8230: * i386/linux/Makefrag.am: Likewise. 8231: * linux/Makefrag.am: Likewise. 8232: * tests/Makefrag.am: Likewise. 8233: * tests/configfrag.ac: Move to GPL. 8234: 8235: 2007-02-05 Thomas Schwinge <[email protected]> 8236: 8237: * kern/mach_clock.c: Don't include <kern/time_out.h>. 8238: 8239: * i386/i386/hardclock.c: Include <kern/mach_clock.h> instead of 8240: <kern/time_out.h>. 8241: * i386/i386/pit.c: Likewise. 8242: * i386/i386at/kd.c: Likewise. 8243: * i386/i386at/model_dep.c: Likewise. 8244: * i386/i386at/rtc.c: Likewise. 8245: * kern/ipc_sched.c: Likewise. 8246: * kern/mach_factor.c: Likewise. 8247: * kern/priority.c: Likewise. 8248: * kern/sched_prim.c: Likewise. 8249: * kern/startup.c: Likewise. 8250: * kern/syscall_subr.c: Likewise. 8251: * kern/thread.h: Likewise. 8252: * kern/zalloc.c: Likewise. 8253: 8254: * kern/host.c: Include <kern/mach_clock.h>. 8255: (tick): Remove declaration. 8256: * kern/pc_sample.c: Likewise. 8257: * kern/thread.c: Likewise. 8258: * kern/sched_prim.c (hz): Remove declaration. 8259: * kern/syscall_subr.c (hz): Likewise. 8260: * linux/dev/init/main.c (hz): Likewise. 8261: 8262: * kern/time_out.h: Remove file after having installed the missing bits 8263: in... 8264: * kern/mach_clock.h: ... here. 8265: 8266: * configfrag.ac: Enhance comments. 8267: 8268: * vm/vm_debug.c (MACH_VM_DEBUG): Correctly place conditional. 8269: 8270: 2007-02-04 Thomas Schwinge <[email protected]> 8271: 8272: * doc/mach.texi (thread_switch): Enhance a bit. 8273: 8274: * doc/Makefrag.am ($(web)): Use ``mkdir -p''. 8275: 8276: * doc/mach.texi: Fix unusual hyphens. 8277: 8278: * i386/i386/hardclock.c: Don't check for the `SYMMETRY' platform. 8279: 8280: * kern/timer.h: Add some comments from... 8281: * i386/i386/timer.h: ... here and remove this file. 8282: 8283: 2007-01-26 Thomas Schwinge <[email protected]> 8284: 8285: * doc/mach.texi: Fix the last change. 8286: 8287: 2007-01-22 Thomas Schwinge <[email protected]> 8288: 8289: * COPYING: Update via GNU automake 1.10. 8290: * doc/fdl.texi: Update from <http://www.gnu.org/licenses/fdl.texi>. 8291: * doc/gpl.texi: Update from <http://www.gnu.org/licenses/gpl.texi>. 8292: * doc/mach.texi: Use the GFDL 1.2. 8293: 8294: 2007-01-21 Ralf Wildenhues <[email protected]> 8295: 8296: * doc/mach.texi: Many typos fixed. 8297: 8298: 2007-01-11 Thomas Schwinge <[email protected]> 8299: 8300: * DEVELOPMENT (LAYOUT OF THE SOURCE TREE): New section. 8301: 8302: These following files are regenerated by running ``autoreconf -i'' and 8303: ``make info''. 8304: * INSTALL: Remove file. 8305: * Makefile.in: Likewise. 8306: * aclocal.m4: Likewise. 8307: * build-aux/compile: Likewise. 8308: * build-aux/config.guess: Likewise. 8309: * build-aux/config.sub: Likewise. 8310: * build-aux/depcomp: Likewise. 8311: * build-aux/install-sh: Likewise. 8312: * build-aux/mdate-sh: Likewise. 8313: * build-aux/missing: Likewise. 8314: * build-aux/texinfo.tex: Likewise. 8315: * config.h.in: Likewise. 8316: * configure: Likewise. 8317: * doc/mach.info: Likewise. 8318: * doc/mach.info-1: Likewise. 8319: * doc/mach.info-2: Likewise. 8320: * doc/stamp-vti: Likewise. 8321: * doc/version.texi: Likewise. 8322: 8323: 2007-01-06 Thomas Schwinge <[email protected]> 8324: 8325: * ddb/db_break.c (db_delete_thread_breakpoint): Don't declare 8326: `db_cond_free'. 8327: * ddb/db_run.c: Include <ddb/db_cond.h>. 8328: (db_stop_at_pc): Don't declare `db_cond_check'. 8329: * ddb/db_input.c: Include <ddb/db_input.h>. 8330: * ddb/db_macro.c: Include <ddb/db_macro.h>. 8331: * ddb/db_trap.c: Include <ddb/db_trap.h>. 8332: * i386/i386/db_interface.h: Include <machine/thread.h>. 8333: * i386/i386/db_interface.c: Include <machine/db_interface.h>. 8334: * i386/i386/db_machdep.h: Include <machine/db_interface.h>. 8335: (db_check_access, db_phys_eq, db_task_name): Remove declarations. 8336: 8337: 2007-01-06 Barry deFreese <[email protected]> 8338: 8339: * ddb/db_aout.c: Include <ddb/db_output.h>. 8340: * ddb/db_break.c: Include <ddb/db_cond.h>, <ddb/db_expr.h> and 8341: <ddb/db_output.h>. 8342: (db_delete_cmd, db_breakpoint_cmd): Explicitly define untyped variables 8343: as `int'. 8344: * ddb/db_command.c: Include <ddb/db_examine.h>, <ddb/db_expr.h> and 8345: <ddb/db_macro.h>. 8346: * ddb/db_command.h (db_exec_cmd_nest): New declaration. 8347: * ddb/db_cond.c: Include <ddb/db_cond.h>, <ddb/db_expr.h> and 8348: <ddb/db_output.h>. 8349: (db_cond_cmd): Explicitly define untyped variable as `int'. 8350: * ddb/db_cond.h: New file. 8351: * ddb/db_examine.c: Include <machine/db_interface.h>, 8352: <ddb/db_examine.h> and <ddb/db_expr.h>. 8353: (db_strcpy, db_examine): Remove forward declarations. 8354: (db_xcdump): Explicitly define untyped variables as `int'. 8355: * ddb/db_examine.h: New file. 8356: * ddb/db_expr.c: Include <ddb/db_expr.h>, <ddb/db_output.h>, 8357: <ddb/db_sym.h> and <ddb/db_variables.h>. 8358: * ddb/db_input.c: Include <ddb/db_command.h>. 8359: * ddb/db_input.h: New file. 8360: * ddb/db_lex.c: Include <ddb/db_command.h>, <ddb/db_examine.h>, 8361: <ddb/db_input.h> and <ddb/db_output.h>. 8362: (db_skip_to_eol, db_lex): Explicitly define untyped variables as `int'. 8363: * ddb/db_lex.h (db_lex): New declaration. 8364: * ddb/db_macro.c: Include <ddb/db_examine.h>, <ddb/db_expr.h> and 8365: <ddb/db_output.h>. 8366: (db_def_macro_cmd, db_exec_macro): Explicitly define untyped variables 8367: as `int'. 8368: * ddb/db_macro.h: New file. 8369: * ddb/db_output.c: Include <ddb/db_command.h>. 8370: * ddb/db_output.h (db_putchar): New declaration. 8371: * ddb/db_print.c: Include <machine/db_interface.h>, <ddb/db_command.h> 8372: and <ddb/db_output.h>. 8373: (db_show_regs): Explicitly define untyped variables as `int'. 8374: * ddb/db_run.c: Include <ddb/db_command.h>, <ddb/db_examine.h>, 8375: <ddb/db_output.h> and <ddb/db_watch.h>. 8376: * ddb/db_run.h: Include <kern/task.h> and <machine/db_machdep.h>. 8377: (db_single_step, db_single_step_cmd, db_in_single_step): New 8378: declarations. 8379: * ddb/db_sym.c: Include <ddb/db_command.h> and <ddb/db_output.h>. 8380: (db_sym_parse_and_lookup): Explicitly define untyped variables as 8381: `int'. 8382: * ddb/db_sym.h (db_line_at_pc): New declaration. 8383: * ddb/db_task_thread.c: Include <ddb/db_command.h>, <ddb/db_expr.h>, 8384: <ddb/db_lex.h> and <ddb/db_output.h>. 8385: (db_lookup_task, db_lookup_task_thread, db_lookup_thread) 8386: (db_lookup_task_id, db_lookup_thread_id): Explicitly define untyped 8387: variables as `int'. 8388: * ddb/db_trap.c: Include <ddb/db_examine.h> and <ddb/db_output.h>. 8389: * ddb/db_trap.h: New file. 8390: * ddb/db_variables.c: Include <ddb/db_command.h>, <ddb/db_examine.h>, 8391: <ddb/db_expr.h> and <ddb/db_output.h>. 8392: (db_get_suffix, db_cmp_variable_name): Explicitly define untyped 8393: variables as `int'. 8394: * ddb/db_variables.h (db_get_variable): New declaration. 8395: * ddb/db_watch.c: Include <ddb/db_command.h>, <ddb/db_expr.h>, 8396: <ddb/db_output.h> and <ddb/db_run.h>. 8397: * ddb/db_write_cmd.c: Include <ddb/db_expr.h> and <ddb/db_output.h>. 8398: * i386/i386/db_interface.c: Include <kern/printf.h>, <ddb/db_access.h>, 8399: <ddb/db_command.h>, <ddb/db_output.h>, <ddb/db_run.h> and 8400: <ddb/db_trap.h>. 8401: (kdbprinttrap): Add `void' return type. 8402: (db_user_to_kernel_address, db_task_name): Explicitly define untyped 8403: variables as `int'. 8404: * i386/i386/db_interface.h: New file. 8405: * i386/i386/db_trace.c (db_i386_reg_value): Add `int' return type. 8406: * i386/i386/trap.c [MACH_KDB]: Include <ddb/db_run.h> and 8407: <ddb/db_watch.h>. 8408: * ipc/ipc_kmsg.c [MACH_KDB]: Include <ddb/db_output.h>. 8409: * kern/lock.c [MACH_KDB]: Include <ddb/db_output.h>. 8410: 8411: 2007-01-06 Thomas Schwinge <[email protected]> 8412: 8413: * configure.ac (AM_INIT_AUTOMAKE): Add ``-Wall -Wno-portability''. 8414: 8415: 2007-01-05 Richard Braun <[email protected]> 8416: 8417: Add alignment support in the zone allocator. 8418: * kern/zalloc.c (ALIGN_SIZE_UP): New macro. 8419: (zinit): New `align' parameter. 8420: (zget_space): Likewise. 8421: (zalloc): Updated call to zget_space() with the zone alignment. 8422: * kern/zalloc.h (zone): New member `align'. 8423: (zinit): Declaration updated as required. 8424: * device/dev_lookup.c (dev_lookup_init): Updated call to zinit() with 8425: alignment of 0. 8426: * device/dev_pager.c (dev_pager_hash_init): Likewise. 8427: (device_pager_init): Likewise. 8428: * device/ds_routines.c (ds_init): Likewise. 8429: (ds_trap_init): Likewise. 8430: * device/net_io.c (net_io_init): Likewise. 8431: * i386/i386/fpu.c (fpu_module_init): Likewise. 8432: * i386/i386/pcb.c (pcb_module_init): Likewise. 8433: * i386/intel/pmap.c (pmap_init): Likewise. 8434: * ipc/ipc_init.c (ipc_bootstrap): Likewise. 8435: * ipc/ipc_marequest.c (ipc_marequest_init): Likewise. 8436: * kern/act.c (global_act_init): Likewise. 8437: * kern/kalloc.c (kalloc_init): Likewise. 8438: * kern/processor.c (pset_sys_init): Likewise. 8439: * kern/task.c (task_init): Likewise. 8440: * kern/thread.c (thread_init): Likewise. 8441: * kern/zalloc.c (zone_bootstrap): Likewise. 8442: * vm/vm_external.c (vm_external_module_initialize): Likewise. 8443: * vm/vm_fault.c (vm_fault_init): Likewise. 8444: * vm/vm_map.c (vm_map_init): Likewise. 8445: * vm/vm_object.c (vm_object_bootstrap): Likewise. 8446: * vm/vm_resident.c (vm_page_module_init): Likewise. 8447: 8448: 2007-01-02 Samuel Thibault <[email protected]> 8449: 8450: Fix translation of port into device in the "no sender" notification. 8451: * i386/i386at/i386at_ds_routines.c (ds_notify): Use dev_port_lookup() 8452: for translating the remote port. 8453: 8454: Fix loop indexing. 8455: * i386/intel/pmap.c (pmap_change_wiring): Increment pte in the 8456: unwiring loop. 8457: 8458: Drop old and broken support for Olivetti XP7 & XP9 8459: * i386/intel/pmap.c [ORC] (OLIVETTICACHE): Remove macro. 8460: [OLIVETTICACHE] (pstart): Remove declaration. 8461: (CACHE_LINE, CACHE_SIZE, CACHE_PAGE, WRITE_PTE, WRITE_PTE_FAST): Remove 8462: macros. 8463: [OLIVETTICACHE] (write_pte): Remove function. 8464: * DEVELOPMENT: Document the removal. 8465: 8466: 2006-12-19 Samuel Thibault <[email protected]> 8467: 8468: Add support for global pages. 8469: * i386/i386at/model_dep.c: Include <i386/locore.h>. 8470: (i386at_init): Set CR4_PGE if available. 8471: (c_boot_entry): Call discover_x86_cpu_type() before i386at_init(). 8472: * i386/intel/pmap.c: Include <i386/locore.h>. 8473: (pmap_map_bd): Use INTEL_PTE_GLOBAL if available. 8474: (pmap_bootstrap): Likewise. 8475: 8476: Add support for cr3/cr4 flags. 8477: * i386/i386/proc_reg.h (CR3_PCD, CR3_PWT, CR4_VME, CR4_PVI, CR4_TSD) 8478: (CR4_DE, CR4_PSE, CR4_PAE, CR4_MCE, CR4_PGE, CR4_PCE, CR4_OSFXSR) 8479: (CR4_OSXMMEXCPT, get_cr4, set_cr4): New macros. 8480: * i386/intel/pmap.h (INTEL_PTE_GLOBAL): New macro. 8481: 8482: Add support for querying x86 features. 8483: * i386/i386/locore.h (cpu_features): New variable declaration. 8484: (CPU_FEATURE_FPU, CPU_FEATURE_VME, CPU_FEATURE_DE, CPU_FEATURE_PSE) 8485: (CPU_FEATURE_TSC, CPU_FEATURE_MSR, CPU_FEATURE_PAE, CPU_FEATURE_MCE) 8486: (CPU_FEATURE_CX8, CPU_FEATURE_APIC, CPU_FEATURE_SEP, CPU_FEATURE_MTRR) 8487: (CPU_FEATURE_PGE, CPU_FEATURE_MCA, CPU_FEATURE_CMOV, CPU_FEATURE_PAT) 8488: (CPU_FEATURE_PSE_36, CPU_FEATURE_PSN, CPU_FEATURE_CFLSH) 8489: (CPU_FEATURE_DS, CPU_FEATURE_ACPI, CPU_FEATURE_MMX, CPU_FEATURE_FXSR) 8490: (CPU_FEATURE_SSE, CPU_FEATURE_SSE2, CPU_FEATURE_SS, CPU_FEATURE_HTT) 8491: (CPU_FEATURE_TM, CPU_FEATURE_PBE, CPU_HAS_FEATURE): New macros. 8492: * i386/i386/locore.S (cpu_features): New variable. 8493: (discover_x86_cpu_type): Record CPUID feature word 0. 8494: 8495: 2006-12-13 Samuel Thibault <[email protected]> 8496: 8497: Drop useless and broken FPE support. 8498: * i386/configfrac.ac (FPE): Don't define. 8499: * i386/i386/gdt.h (FPE_CS, USER_FPREGS): Remove macros. 8500: * i386/i386/fpu.c (init_fpu, fpu_set_state, fpu_get_state): Remove FPE 8501: support. 8502: * i386/i386/fpu.h: Likewise. 8503: * i386/i386/trap.c (user_trap, i386_exception): Likewise. 8504: * i386/i386/fpe_linkage.c: Remove file. 8505: * i386/Makefrag.am: Remove i386/i386/fpe_linkage.c. 8506: * Makefile.in: Regenerate. 8507: 8508: 2006-12-03 Thomas Schwinge <[email protected]> 8509: 8510: [patch #5019 -- Remove checks for continuations] 8511: 8512: * DEVELOPMENT: Document the removal. 8513: 8514: * i386/configfrag.ac (CONTINUATIONS): Don't define. 8515: 8516: 2006-12-03 Leonardo Lopes Pereira <[email protected]> 8517: 8518: [patch #5019 -- Remove checks for continuations] 8519: * ipc/mach_msg.c: Adapt all users of CONTINUATIONS as if it were always 8520: defined. 8521: * kern/eventcount.c: Likewise. 8522: * kern/ipc_sched.c: Likewise. 8523: * kern/syscall_subr.c: Likewise. 8524: * vm/vm_fault.c: Likewise. 8525: * vm/vm_pageout.c: Likewise. 8526: * vm/vm_resident.c: Likewise. 8527: 8528: 2006-12-03 Thomas Schwinge <[email protected]> 8529: 8530: [patch #5017 -- Remove obsolete IPC interfaces] 8531: 8532: * DEVELOPMENT: Document the removal. 8533: 8534: * configfrag.ac (MACH_IPC_COMPAT): Don't define. 8535: 8536: 2006-12-03 Leonardo Lopes Pereira <[email protected]> 8537: 8538: [patch #5017 -- Remove obsolete IPC interfaces] 8539: * kern/act.c [MIGRATING_THREADS]: Don't include <mach_ipc_compat.h>. 8540: * kern/act.h: Likewise. 8541: * i386/include/mach/i386/machine_types.defs: Adapt all users of 8542: MACH_IPC_COMPAT as if it were always defined to `0'. 8543: * include/mach/mach.defs: Likewise. 8544: * include/mach/mach_param.h: Likewise. 8545: * include/mach/mach_traps.h: Likewise. 8546: * include/mach/message.h: Likewise. 8547: * include/mach/mig_errors.h: Likewise. 8548: * include/mach/notify.h: Likewise. 8549: * include/mach/port.h: Likewise. 8550: * include/mach/std_types.defs: Likewise. 8551: * include/mach/syscall_sw.h: Likewise. 8552: * include/mach/task_special_ports.h: Likewise. 8553: * include/mach/thread_special_ports.h: Likewise. 8554: * ipc/ipc_kmsg.c: Likewise. 8555: * ipc/ipc_kmsg.h: Likewise. 8556: * ipc/ipc_marequest.c: Likewise. 8557: * ipc/ipc_notify.c: Likewise. 8558: * ipc/ipc_notify.h: Likewise. 8559: * ipc/ipc_object.c: Likewise. 8560: * ipc/ipc_object.h: Likewise. 8561: * ipc/ipc_port.c: Likewise. 8562: * ipc/ipc_port.h: Likewise. 8563: * ipc/ipc_right.c: Likewise. 8564: * ipc/ipc_right.h: Likewise. 8565: * ipc/ipc_space.c: Likewise. 8566: * ipc/ipc_space.h: Likewise. 8567: * ipc/mach_debug.c: Likewise. 8568: * ipc/mach_msg.c: Likewise 8569: * ipc/mach_msg.h: Likewise. 8570: * ipc/mach_port.c: Likewise. 8571: * kern/act.c: Likewise. 8572: * kern/act.h: Likewise. 8573: * kern/ipc_host.c: Likewise. 8574: * kern/ipc_tt.c: Likewise. 8575: * kern/syscall_sw.c: Likewise. 8576: * kern/thread.h: Likewise. 8577: 8578: 2006-12-03 Thomas Schwinge <[email protected]> 8579: 8580: [bug #17120 -- GNU Mach debian dir] 8581: * debian/README.Debian: Remove file. 8582: * debian/changelog: Likewise. 8583: * debian/control: Likewise. 8584: * debian/copyright: Likewise. 8585: * debian/postinst: Likewise. 8586: * debian/prerm: Likewise. 8587: * debian/rules: Likewise. 8588: 8589: [bug #18015 -- GNU Mach: `make dist' and friends] 8590: * Makefile.am (DISTCLEANFILES): New variable. 8591: 8592: 2006-11-30 Thomas Schwinge <[email protected]> 8593: 8594: * Makefile.in: Regenerate. 8595: * configure: Likewise. 8596: 8597: 2006-11-30 Barry deFreese <[email protected]> 8598: Thomas Schwinge <[email protected]> 8599: 8600: [bug #18015 -- GNU Mach: `make dist' and friends] 8601: * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New variable. 8602: (EXTRA_DIST): Enhance with the patches and documentation files. 8603: (dist-hook): New target to remove the `CVS' directories. 8604: * Makefrag.am (libkernel_a_SOURCES, EXTRA_DIST): Add header and `mig' 8605: input files. 8606: (DISTCHECK_CONFIGURE_FLAGS): Enable the kernel debugger. 8607: * i386/Makefrag.am: Likewise. Also add `i386/i386/i386asm.sym', 8608: `i386/ldscript' and `i386/README-Drivers'. 8609: * i386/linux/Makefrag.am (liblinux_a_SOURCES): Add the header files 8610: from `i386/linux/'. 8611: * linux/Makefrag.am (liblinux_a_SOURCES, EXTRA_DIST) 8612: (liblinux_pcmcia_cs_modules_a_SOURCES) 8613: (liblinux_pcmcia_cs_clients_a_SOURCES) 8614: (liblinux_pcmcia_cs_wireless_a_SOURCES): Add header and other included 8615: files. 8616: (dist-hook): Depend on `dist-hook-linux'. 8617: (dist-hook-linux): New phony target to remove the `asm' symbolic links. 8618: * Makerules.am (EXTRA_DIST): Add `gensym.awk'. 8619: * doc/Makefrag.am (EXTRA_DIST): Add `$(mach_TEXINFOS)'. 8620: * configure.ac (AC_CONFIG_LINKS): Move instantiation to... 8621: * configfrag.ac: ... here and change quotation. 8622: * linux/configfrag.ac (AC_CONFIG_LINKS): Change quotation. 8623: 8624: 2006-11-29 Thomas Schwinge <[email protected]> 8625: 8626: * configure: Regenerate. 8627: * Makefile.in: Likewise. 8628: 8629: * configure.ac (disable_smashing_stack_protector): New conditional, set 8630: depending on the compiler accepting `-fstack-protector' or not. 8631: * Makefile.am (CFLAGS): Add `-fno-stack-protector' if 8632: `disable_smashing_stack_protector' is set. 8633: 8634: 2006-11-28 Thomas Schwinge <[email protected]> 8635: 8636: * doc/Makefrag.am ($(srcdir)/doc/version.texi): Oppress a potential 8637: error message from grep. 8638: 8639: 2006-11-26 Samuel Thibault <[email protected]> 8640: 8641: [bug #17346 -- GNU mach can't handle 4GB memory] 8642: * i386/i386at/model_dep.c (mem_size_init): Truncate memory size to 8643: 4GiB. 8644: 8645: 2006-11-21 Thomas Schwinge <[email protected]> 8646: 8647: * doc/Makefrag.am (doc/web, html-local, ps-local, pdf-local) 8648: ($(srcdir)/doc/version.texi): New targets to faciliate keeping the web 8649: pages of the GNU Mach Reference Manual updated. 8650: 8651: 2006-11-20 Samuel Thibault <[email protected]> 8652: 8653: [patch #5328 -- GNU Mach asm statements tidy] 8654: * i386/i386/fpe_linkage.c (disable_fpe): Gather dependent asm 8655: statements, add `ax' clobber. 8656: (fpe_exception_fixup): Drop bogus cast from input parameter of lcall 8657: asm statement. 8658: * i386/i386/pio.h (inw, outw): Drop 0x66 prefix an just use the w 8659: instruction variant. 8660: * i386/i386/proc_reg.h: (get_eflags, get_tr, get_ldt): Drop 8661: useless "volatile" from asm statement. 8662: (get_esp): Use direct asm register specification. 8663: * i386/include/mach/i386/cthreads.h (cthread_sp): Likewise. 8664: * i386/intel/pmap.c (pmap_unmap_page_zero): Fix asm clobber into `eax'. 8665: 8666: [patch #5375 -- Fix de4x5 probe] 8667: * linux/src/drivers/net/de4x5.c (pci_probe): Make probe loop stop on 8668: any error, not only device not found. 8669: 8670: 2006-11-17 Constantine Kousoulos <[email protected]> 8671: Thomas Schwinge <[email protected]> 8672: 8673: [bug #18010 -- GNU Mach: update i386/README-Drivers and doc/mach.texi] 8674: * i386/README-Drivers: Move most of the text into... 8675: * doc/mach.texi: ... here and update a number of things. 8676: (UPDATED): Don't override. 8677: 8678: 2006-11-13 Samuel Thibault <[email protected]> 8679: 8680: * i386/i386at/iopl.c (ioplmmap): Add `int' return type. 8681: * i386/i386at/model_dep.c (halt_all_cpus): Fix typo in declaration. 8682: * kern/assert.h (Assert): Add __attribute__ ((noreturn)) to 8683: declaration. 8684: * kern/debug.c (Debugger): Add __attribute__ ((noreturn)) to 8685: declaration. 8686: (Debugger): Add call to panic(). 8687: * kern/debug.h (panic): Add __attribute__ ((noreturn)) to declaration. 8688: * util/putchar.c (putchar): Return printed char. 8689: 8690: 2006-11-13 Barry deFreese <[email protected]> 8691: 8692: * device/chario.c (tty_cts): Add `void' return type. 8693: * device/cons.c (cninit, cnputc): Add `void' return type. 8694: (cngetc, cnmaygetc): Add `int' return type. 8695: * device/net_io.c (net_del_q_info, net_free_dead_infp) 8696: (net_free_dead_entp): Add `void' return type. 8697: * i386/i386/fpu.c (fpnoextflt, fpextovrflt, fpexterrflt, fp_save) 8698: (fp_load, fpintr): Add `void' return type. 8699: * i386/i386/ktss.c (ktss_init): Add `int' type to `exception_stack'. 8700: * i386/i386/loose_ends.c (delay): Add `void' return type. 8701: * i386/i386/phys.c (pmap_zero_page, pmap_copy_page, copy_to_phys) 8702: (copy_from_phys): Add `void' return type. 8703: * i386/i386/pic.c (picinit, form_pic_mask, intnull, prtnull): Add 8704: `void' return type. 8705: * i386/i386/pit.c (clkstart): Add `void' return type. 8706: * i386/i386at/com.c (comparm, comtimer, fix_modem_state) 8707: (commodem_intr): Add `void' return type. 8708: (comintr, commctl, comstop): Add `int' return type. 8709: * i386/i386at/iopl.c (ioplclose): Add `int' return type. 8710: * i386/i386at/kd.c (kd_io_map_openn, kd_io_map_close, feep, pause) 8711: (kd_debug_put, cnpollc, kdclose, kd_handle_ack, kd_resend, kdinit) 8712: (kd_belloff, kd_bellon, kd_putc, kd_setpos, kd_scrollup, kd_scrolldn) 8713: (kd_parseesc, kd_parserest, kd_tab, kd_cls, kd_home, kd_up, kd_down) 8714: (kd_right, kd_left, kd_cr, kd_cltobcur, kd_cltopcurn, kd_cltoecur) 8715: (kd_clfrbcur, kd_delln, kd_insln, kd_delch, kd_erase, kd_eraseln) 8716: (kd_insch, kd_senddata, kd_sendcmd, kd_cmdreg_write, kd_mouse_drain) 8717: (set_kd_state, kd_setleds1, kd_setleds2, cnsetleds, kdreboot): Add 8718: `void' return type. 8719: (kdopen, kdread, kdwrite, kdportdeath, kdsetbell, kdgetkbent, kdintr) 8720: (do_modifier, kdstate2idx, kdstart, kdstop, kd_kbd_magic): Add `int' 8721: return type. 8722: (kd_isupper, kd_islower): Add `boolean_t' return type. 8723: (kd_cmdreg_read): Add `unsigned char' return type. 8724: * i386/i386at/kd_event.c (kbdinit, kbdclose, kdb_in_out, X_kdb_enter) 8725: (X_kdb_exit, X_kdb_enter_init, X_kdb_exit_init): Add `void' return 8726: type. 8727: (kbdopen, kbdioctl, kbdselect, kbdread): Add `int' return type. 8728: * i386/i386at/kd_mouse.c (init_mouse_hw, serial_mouse_open) 8729: (kd_mouse_open, mouseclose, serial_mouse_close, kd_mouse_close) 8730: (mouse_handle_byte, mouse_packet_mouse_system_mouse) 8731: (mouse_packet_microsoft_mouse, ibm_ps2_mouse_open) 8732: (ibm_ps2_mouse_close, mouse_packet_ibm_ps2_mouse, mouse_moved) 8733: (mouse_button): Add `void' return type. 8734: (mouseopen, mouseioctl, mouseselect, mouseread, mouseintr): Add `int' 8735: return type. 8736: * i386/i386at/lpr.c (lprclose, lprpr_addr): Add `void' return type. 8737: (lprprobe, lpropen, lprread, lprwrite, lprportdeath, lprstop, lprpr): 8738: Add `int' return type. 8739: * i386/i386at/model_dep.c (i386at_init, startrtclock): Add `void' 8740: return type. 8741: (timemmap): Add `int' return type. 8742: * i386/i386at/rtc.c (rtcinit, rtcput): Add `void' return type. 8743: (yeartoday, hexdectodec, readtodc, writetodc): Add `int' return type. 8744: * i386/intel/pmap.c (pmap_pageable): Add `void' return type. 8745: * kern/eventcount.c (simpler_thread_setrun): Add `int' type to 8746: `whichrq' variable. 8747: 8748: 2006-11-13 Barry deFreese <[email protected]> 8749: 8750: * i386/i386/locore.h: New file. 8751: * i386/i386/pcb.h: New file. 8752: * i386/i386/pcb.c: Include `pcb.h'. 8753: * i386/i386/pit.c (clkstart): Fix type of s into unsigned long. 8754: * i386/i386/spl.h (spl0, splsched, splx, splsoftclock, splon, sploff) 8755: (splhigh, splimp, spltty, splclock, setsoftclock): Add prototype. 8756: * i386/i386at/kd_event.h: New file. 8757: * i386/i386at/kd_event.c: Include `kd_event.h'. 8758: * i386/i386at/kd_mouse.h: New file. 8759: * i386/i386at/kd_mouse.c: Include `kd_mouse.h'. 8760: (mouseclose): Fix call of `serial_mouse_close' function. 8761: * i386/i386at/kd.c: Include `kd_event.h' and `kd_mouse.h'. 8762: * i386/i386at/kd.h (splx, spltty): Remove prototypes.h 8763: * i386/i386at/lpr.c: Likewise. 8764: * ipc/mach_msg.c: Include `machine/locore.h' and `machine/pcb.h'. 8765: * kern/mach_clock.h: New file. 8766: * kern/mach_clock.c: Include `kern/queue.h', `kern/timer.h' and 8767: `mach_clock.h'. 8768: * kern/mach_factor.h: New file. 8769: * kern/mach_factor.c: Include `mach_factor.h'. 8770: * kern/sched_prim.c: Include `kern/mach_factor.h'. 8771: * kern/thread.c: Include `machine/pcb.h'. 8772: 8773: 2006-11-11 Thomas Schwinge <[email protected]> 8774: 8775: * Makefile.am (gnumach-undef-bad): Depend on the Makefile. 8776: 8777: 2006-11-11 Samuel Thibault <[email protected]> 8778: 8779: Fix I/O port type. 8780: * i386/i386/pic.c (master_icq, master_ocw, slaves_icq, slaves_ocw): 8781: Change variables type from char * to unsigned short. 8782: (picinit): Remove now-useless cast. 8783: * i386/i386at/kd_mouse.c (init_mouse_hw, serial_mouse_close) 8784: (mouseintr): Change variable type from caddr_t to unsigned short, 8785: remove now-useless cast. 8786: 8787: [task #5726 -- GCC built-in functions] 8788: * kern/machine.c: Include `string.h'. 8789: 8790: Fix ``assignment used as truth value'' warnings. 8791: * device/cons.c (cninit): Add parenthesis. 8792: * kern/bootstrap.c (copy_bootstrap): Likewise. 8793: * kern/printf.c (_doprnt): Likewise. 8794: * vm/vm_map.c (vm_map_lookup): Likewise. 8795: 8796: Fix a bunch of ``unused variable'' warnings. 8797: * device/ds_routines.c (ds_device_open): Remove unused `namebuf' 8798: variable. 8799: * device/kmsg.c (kmsgread): Remove unused `err' variable. 8800: * device/net_io.c (net_set_filter): Remove unused `j' variable. 8801: * i386/i386/pcb.c (curr_gdt, curr_ktss): Artificially use parameter of 8802: macro. 8803: * i386/i386/pic.c (picinit): Remove unused `i' variable. 8804: * i386/i386/pit.c (clkstart): Remove unused `flags' variable. 8805: * i386/i386/trap.c (kernel_trap): Remove unused `exc' variable. 8806: (user_trap): Remove unused `map' and `result' variables. 8807: (v86_assist): Remove unused `size' variable. 8808: * i386/i386at/i386at_ds_routines.c (ds_device_open): Remove unused 8809: `dev' variable. 8810: * i386/i386at/kd.c (kdintr): Remove unused `o_pri' variable. 8811: (kdcngetc): Remove unused `i' variable. 8812: * i386/i386at/kd_event.c (kbdgetstat, kbdsetstat): Remove unused 8813: `result' variable. 8814: * i386/i386at/kd_mouse.c (mousegetstat): Likewise. 8815: * i386/i386at/lpr.c (lprattach): Remove unused `tp' variable. 8816: (lprsetstat): Remove unused `dev_addr' and `s' variables. 8817: * i386/intel/pmap.c (pmap_bootstrap): Remove unused `pteva' variable. 8818: (SPLVM, SPLX): Artificially use parameter of macro. 8819: * ipc/ipc_kmsg.c (ipc_kmsg_copyin_body): Remove unused `mr' variable. 8820: * kern/bootstrap.c (boot_script_exec_cmd): Remove unused 8821: `boot_exec_info' and `user_map' variables. 8822: * vm/vm_kern.c (projected_buffer_map): Remove unused `object' 8823: variable. 8824: 8825: 2006-11-10 Samuel Thibault <[email protected]> 8826: 8827: * kern/sched_prim.h (thread_syscall_return): Replace old `volatile' 8828: function qualifier with __attribute__((__noreturn__)). 8829: 8830: 2006-11-09 Barry deFreese <[email protected]> 8831: 8832: [task #5726 -- GCC built-in functions] 8833: * include/printf.h: Move file... 8834: * kern/printf.h: ... here. 8835: * kern/debug.h (panic_init, panic): Add prototypes. 8836: * chips/busses.c: Don't include `printf.h', include `kern/printf.h' 8837: and `kern/debug.h' for panic(). 8838: * ddb/db_command.c: Likewise. 8839: * ddb/db_cond.c: Likewise. 8840: * ddb/db_output.c: Likewise. 8841: * device/cirbuf.c: Likewise. 8842: * device/cons.c: Likewise. 8843: * device/dev_name.c: Likewise. 8844: * device/dev_pager.c: Likewise. 8845: * device/device_init.c: Likewise. 8846: * device/dk_label.c: Likewise. 8847: * device/ds_routines.c: Likewise. 8848: * device/net_io.c: Likewise. 8849: * device/subrs.c: Likewise. 8850: * i386/i386/debug_i386.c: Likewise. 8851: * i386/i386/fpe_linkage.c: Likewise. 8852: * i386/i386/fpu.c: Likewise. 8853: * i386/i386/io_map.c: Likewise. 8854: * i386/i386/kttd_interface.c: Likewise. 8855: * i386/i386/mp_desc.c: Likewise. 8856: * i386/i386/pcb.c: Likewise. 8857: * i386/i386/pic.c: Likewise. 8858: * i386/i386/trap.c: Likewise. 8859: * i386/i386at/autoconf.c: Likewise. 8860: * i386/i386at/com.c: Likewise. 8861: * i386/i386at/i386at_ds_routines.c: Likewise. 8862: * i386/i386at/kd.c: Likewise. 8863: * i386/i386at/kd_event.c: Likewise. 8864: * i386/i386at/kd_mouse.c: Likewise. 8865: * i386/i386at/lpr.c: Likewise. 8866: * i386/i386at/model_dep.c: Likewise. 8867: * i386/intel/pmap.c: Likewise. 8868: * ipc/ipc_entry.c: Likewise. 8869: * ipc/ipc_hash.c: Likewise. 8870: * ipc/ipc_kmsg.c: Likewise. 8871: * ipc/ipc_mqueue.c: Likewise. 8872: * ipc/ipc_notify.c: Likewise. 8873: * ipc/ipc_object.c: Likewise. 8874: * ipc/ipc_port.c: Likewise. 8875: * ipc/ipc_pset.c: Likewise. 8876: * ipc/ipc_right.c: Likewise. 8877: * ipc/mach_msg.c: Likewise. 8878: * ipc/mach_port.c: Likewise. 8879: * ipc/mach_rpc.c: Likewise. 8880: * kern/act.c: Likewise. 8881: * kern/ast.c: Likewise. 8882: * kern/bootstrap.c: Likewise. 8883: * kern/debug.c: Likewise. 8884: * kern/eventcount.c: Likewise. 8885: * kern/exception.c: Likewise. 8886: * kern/host.c: Likewise. 8887: * kern/ipc_host.c: Likewise. 8888: * kern/ipc_kobject.c: Likewise. 8889: * kern/ipc_mig.c: Likewise. 8890: * kern/ipc_sched.c: Likewise. 8891: * kern/ipc_tt.c: Likewise. 8892: * kern/kalloc.c: Likewise. 8893: * kern/lock.c: Likewise. 8894: * kern/mach_clock.c: Likewise. 8895: * kern/machine.c: Likewise. 8896: * kern/pc_sample.c: Likewise. 8897: * kern/printf.c: Likewise. 8898: * kern/processor.c: Likewise. 8899: * kern/sched_prim.c: Likewise. 8900: * kern/server_loop.ch: Likewise. 8901: * kern/startup.c: Likewise. 8902: * kern/task.c: Likewise. 8903: * kern/thread.c: Likewise. 8904: * kern/thread_swap.c: Likewise. 8905: * kern/xpr.c: Likewise. 8906: * kern/zalloc.c: Likewise. 8907: * vm/memory_object.c: Likewise. 8908: * vm/vm_debug.c: Likewise. 8909: * vm/vm_fault.c: Likewise. 8910: * vm/vm_kern.c: Likewise. 8911: * vm/vm_map.c: Likewise. 8912: * vm/vm_object.c: Likewise. 8913: * vm/vm_object.h: Likewise. 8914: * vm/vm_pageout.c: Likewise. 8915: * vm/vm_resident.c: Likewise. 8916: 8917: 2006-11-08 Thomas Schwinge <[email protected]> 8918: 8919: * aclocal.m4: Regenerate using GNU Autoconf 2.60 and GNU Automake 1.10. 8920: * INSTALL: Likewise. 8921: * Makefile.in: Likewise. 8922: * configure: Likewise. 8923: * build-aux/config.guess: Likewise. 8924: * build-aux/config.sub: Likewise. 8925: * build-aux/depcomp: Likewise. 8926: * build-aux/install-sh: Likewise. 8927: * build-aux/missing: Likewise. 8928: * build-aux/texinfo.tex: Likewise. 8929: 8930: * Makefrag.am (gnumach.msgids): Remove temporary files. 8931: 8932: 2006-11-08 Samuel Thibault <[email protected]> 8933: 8934: [task #5726 -- GCC built-in functions] 8935: * include/printf.h (iprintf): Fix prototype. 8936: (vprintf): Add prototype. 8937: * kern/printf.c: Include `printf.h'. 8938: (vprintf, printf): Fix prototype and return a dumb value. 8939: * kern/startup.c: Include `printf.h'. 8940: 8941: 2006-11-07 Barry deFreese <[email protected]> 8942: 8943: [task #5726 -- GCC built-in functions] 8944: * include/printf.h: New file. 8945: (printf_init, _doprnt, printnum, sprintf, printf, indent, iprint): New 8946: declarations. 8947: * include/string.h (strchr, strcmp, strcpy, strlen, strncmp, strncpy) 8948: (strrchr, strsep): New extern declarations. 8949: * kern/strings.c: Don't include `kern/strings.h', include `string.h'. 8950: (strncmp, strncpy, strlen): Fix prototypes into using size_t. 8951: * kern/strings.h: Removed file. 8952: * kern/debug.c: Include `printf.h'. 8953: (do_cnputc): New function. 8954: (panic, log): Use do_cnputc instead of cnputc. 8955: * chips/busses.c: Don't include `kern/strings.h', include `printf.h' and 8956: `string.h'. 8957: (_doprnt): Remove extern declaration. 8958: (indent): Remove extern declaration. 8959: * ddb/db_aout.c: Likewise. 8960: * ddb/db_command.c: Likewise. 8961: * ddb/db_lex.c: Likewise. 8962: * ddb/db_macro.c: Likewise. 8963: * ddb/db_output.c: Likewise. 8964: * ddb/db_print.c: Likewise. 8965: * ddb/db_sym.c: Likewise. 8966: * device/dev_name.c: Likewise. 8967: * device/dev_pager.c: Likewise. 8968: * device/dk_label.c: Likewise. 8969: * device/ds_routines.c: Likewise. 8970: * device/net_io.c: Likewise. 8971: * device/subrs.c: Likewise. 8972: * i386/i386/db_trace.c: Likewise. 8973: * i386/i386/debug_i386.c: Likewise. 8974: * i386/i386/fpu.c: Likewise. 8975: * i386/i386/io_map.c: Likewise. 8976: * i386/i386/kttd_interface.c: Likewise. 8977: * i386/i386/pic.c: Likewise. 8978: * i386/i386/trap.c: Likewise. 8979: * i386/i386at/autoconf.c: Likewise. 8980: * i386/i386at/com.c: Likewise. 8981: * i386/i386at/i386at_ds_routines.c: Likewise. 8982: * i386/i386at/kd.c: Likewise. 8983: * i386/i386at/kd_event.c: Likewise. 8984: * i386/i386at/kd_mouse.c: Likewise. 8985: * i386/i386at/lpr.c: Likewise. 8986: * i386/i386at/model_dep.c: Likewise. 8987: * i386/intel/pmap.c: Likewise. 8988: * ipc/ipc_entry.c: Likewise. 8989: * ipc/ipc_hash.c: Likewise. 8990: * ipc/ipc_kmsg.c: Likewise. 8991: * ipc/ipc_notify.c: Likewise. 8992: * ipc/ipc_object.c: Likewise. 8993: * ipc/ipc_port.c: Likewise. 8994: * ipc/ipc_pset.c: Likewise. 8995: * ipc/mach_msg.c: Likewise. 8996: * ipc/mach_port.c: Likewise. 8997: * ipc/mach_rpc.c: Likewise. 8998: * kern/bootstrap.c: Likewise. 8999: * kern/eventcount.c: Likewise. 9000: * kern/ipc_kobject.c: Likewise. 9001: * kern/pc_sample.c: Likewise. 9002: * kern/printf.c: Likewise. 9003: * kern/sched_prim.c: Likewise. 9004: * kern/thread.c: Likewise. 9005: * kern/zalloc.c: Likewise. 9006: * vm/vm_fault.c: Likewise. 9007: * vm/vm_map.c: Likewise. 9008: * vm/vm_object.c: Likewise. 9009: * vm/vm_resident.c: Likewise. 9010: 9011: 2006-11-05 Samuel Thibault <[email protected]> 9012: 9013: * include/string.h: Fix copyright assignment to FSF, keep author's 9014: name. 9015: 9016: 2006-11-05 Thomas Schwinge <[email protected]> 9017: 9018: * linux/dev/README: New file. 9019: 9020: * config.h.in: Regenerate. 9021: * configure: Likewise. 9022: 9023: [task #5956 -- Automake'ify GNU Mach's code base] 9024: * configure.ac <AM_INIT_AUTOMAKE>: Add `no-define' and `1.9'. 9025: 9026: 2006-11-05 Barry deFreese <[email protected]> 9027: 9028: [task #5878 -- Backport code from GNU Mach's trunk to 9029: gnumach-1-branch: i386_set_gdt, i386_get_gdt''] 9030: [sync from HEAD, 2002-10-03] 9031: * i386/include/mach/i386/mach_i386.defs (i386_set_gdt, i386_get_gdt): 9032: New routines. 9033: * i386/i386/user_ldt.c (i386_set_gdt, i386_get_gdt): New functions. 9034: * i386/i386/gdt.h (USER_GDT, USER_GDT_SLOTS): New macros. 9035: (GDTSZ): Compute it from USER_GDT and USER_GDT_SLOTS. 9036: * i386/i386/thread.h: Include `gdt.h'. 9037: (struct i386_machine_state): New member `user_gdt'. 9038: * i386/i386/pcb.c (switch_ktss): Copy those slots into the GDT. 9039: * linux/src/include/linux/head.h (idt,gdt): Remove extern declaration. 9040: 9041: 2006-11-05 Samuel Thibault <[email protected]> 9042: 9043: FPU, CPU and IO stubs cleanup. 9044: * i386/i386/fpu.h (fstcw): New macro. 9045: * i386/i386/locore.S (_fninit, _fstcw, _fldcw, _fnstsw, _fnclex) 9046: (_clts, _fpsave, _fprestore, set_cr3, get_cr3, flush_tlb, get_cr2) 9047: (get_ldt, set_ldt, get_tr, set_tr, _setts, outb, inb, outw, inw, outl) 9048: (inl, loutb, loutw, linb, linw): Remove functions. 9049: * i386/i386/proc_reg.h (flush_tlb): New macro. 9050: * i386/i386/db_interface.c: Include `i386/proc_reg.h'. 9051: * i386/intel/pmap.c: Likewise. 9052: * i386/intel/pmap.h: Likewise. 9053: * i386/i386/fpu.c: Include `i386/pio.h'. 9054: * i386/i386/pic.c: Likewise. 9055: * i386/i386/pit.c: Likewise. 9056: * i386/i386at/iopl.c: Likewise. 9057: * i386/i386at/kd.c: Likewise. 9058: * i386/i386at/kd_event.c: Likewise. 9059: * i386/i386at/kd_mouse.c: Likewise. 9060: * i386/i386at/rtc.c: Likewise. 9061: 9062: 2006-11-05 Barry deFreese <[email protected]> 9063: 9064: [task #5726 -- GCC built-in functions] 9065: * include/string.h: New file. 9066: * include/mach/mig_support.h: Include `string.h'. 9067: [MACH_KERNEL] (bcopy): Remove extern declaration. 9068: [MACH_KERNEL] (memcpy): Remove macro. 9069: * device/cirbuf.c: Include `string.h'. 9070: (q_to_b, b_to_q): Replace bcopy() with memcpy() and bzero() with 9071: memset(), clean memcpy() and memset() invocation. 9072: * device/cons.c (cnputc): Likewise. 9073: * device/dev_pager.c (device_pager_data_request_done): Likewise. 9074: * device/ds_routines.c (device_write_get, ds_read_done): Likewise. 9075: * device/kmsg.c: Likewise. 9076: * device/net_io.c (net_filter, net_set_filter, net_getstat): Likewise. 9077: * i386/i386/fpu.c (fpu_set_state, fpu_get_state, fp_load) 9078: (fp_state_alloc): Likewise. 9079: * i386/i386/iopb.c (io_tss_init, i386_io_port_list): Likewise. 9080: * i386/i386/mp_desc.c (mp_desc_init): Likewise. 9081: * i386/i386/pcb.c (pcb_init, thread_setstatus) 9082: (thread_getstatus): Likewise. 9083: * i386/i386/phys.c (pmap_zero_page, pmap_copy_page, copy_to_phys) 9084: (copy_from_phys): Likewise. 9085: * i386/i386/trap.c (v86_assist): Likewise. 9086: * i386/i386/user_ldt.c (i386_set_ldt, i386_get_ldt): Likewise. 9087: * i386/i386at/immc.c (immc_cnputc): Likewise. 9088: * i386/i386at/kd_event.c (X_kdb_enter_init, X_kdb_exit_init): Likewise. 9089: * i386/intel/pmap.c (pmap_init, pmap_page_table_page_alloc) 9090: (pmap_create): Likewise. 9091: * ipc/ipc_entry.c (ipc_entry_grow_table): Likewise. 9092: * ipc/ipc_kmsg.c (ipc_kmsg_get_from_kernel) 9093: (ipc_kmsg_put_to_kernel): Likewise. 9094: * ipc/ipc_object.c (ipc_object_alloc, ipc_object_alloc_name): Likewise. 9095: * ipc/ipc_port.c (ipc_port_dngrow): Likewise. 9096: * ipc/ipc_space.c: Likewise. 9097: * ipc/mach_debug.c (mach_port_space_info) 9098: (mach_port_space_info): Likewise. 9099: * kern/act.c (act_create): Likewise. 9100: * kern/boot_script.c: Likewise. 9101: * kern/bootstrap.c: Likewise. 9102: * kern/eventcount.c (evc_init): Likewise. 9103: * kern/host.c (host_info, host_processor_sets): Likewise. 9104: * kern/lock.c (lock_init): Likewise. 9105: * kern/lock_mon.c (lock_info_clear): Likewise. 9106: * kern/mach_clock.c (mapable_time_init): Likewise. 9107: * kern/pc_sample.c (get_sampled_pcs): Likewise. 9108: * kern/processor.c (processor_set_things): Likewise. 9109: * kern/syscall_emulation.c (task_set_emulation_vector_internal) 9110: (task_get_emulation_vector, xxx_task_get_emulation_vector): Likewise. 9111: * kern/task.c (task_threads): Likewise. 9112: * kern/xpr.c (xprbootstrap): Likewise. 9113: * kern/zalloc.c (host_zone_info): Likewise. 9114: * vm/vm_debug.c (mach_vm_object_pages): Likewise. 9115: * vm/vm_kern.c (projected_buffer_allocate, copyinmap) 9116: (copyoutmap): Likewise. 9117: * vm/vm_object.c (vm_object_bootstrap): Likewise. 9118: * vm/vm_resident.c (vm_page_grab_contiguous_pages): Likewise. 9119: 9120: 2006-11-05 Samuel Thibault <[email protected]> 9121: 9122: * DEVELOPMENT: Document the following removals. 9123: 9124: Drop MB1/MB2/EXL architecture support. 9125: * i386/i386/pit.h (PITCTR0_PORT, PITCTR1_PORT, PITCTR2_PORT) 9126: (PITCTL_PORT, CLKNUM): Remove MB1/MB2/EXL cases. 9127: [EXL] (time_latch): Remove structure and type. 9128: [EXL] (intr_disable, intr_restore): Remove functions. 9129: 9130: Drop iPSC architecture support. 9131: * i386/i386/hardclock.c: Remove iPSC386 from #if. 9132: * i386/i386/locore.S: Remove iPSC386 delays. 9133: * i386/i386/pic.c: Remove iPSC386 support. 9134: (SLAVEMASK): Rmove iPSC386 case. 9135: * i386/i386/pic.h (ADDR_PIC_BASE, OFF_ICW, OFF_OCW, SIZE_PIC) 9136: (PICM_VECTBASE, PICS_VECTBASE): Remove iPSC386 cases. 9137: [iPSC386] (I_AM_A_SLAVE, I_AM_A_MASTR): Remove macros. 9138: * i386/i386/pit.h: Remove iPSC386 from #if. 9139: [iPSC386] (CLKNUM): Remove macro. 9140: * kern/machine.c (host_get_boot_info): Remove iPSC386 support. 9141: * vm/vm_map.h (VM_MAP_COPY_PAGE_LIST_MAX): Remove iPSC case. 9142: 9143: Drop i860 architecture support. 9144: * i386/i386/pmap.h: Remove i860 comment. 9145: * i386/intel/pmap.c: Remove i860 comments. 9146: [i860]: Don't include `i860ipsc/nodehw.h'. 9147: (INVALIDATE_TLB): Remove i860 case. 9148: (paging_enabled): Remove variable. 9149: (pmap_map): Remove setting INTEL_PTE_NCACHE. 9150: (pmap_bootstrap): Remove i860 support. 9151: (pmap_page_table_page_alloc): Remove setting INTEL_PTE_NCACHE. 9152: (pmap_enter): Remove call to flush function. 9153: (set_dirbase): Remove function. 9154: * i386/intel/pmap.h: Remove i860 comments. 9155: (INTEL_PGBYTES, INTEL_PGSHIFT, intel_btop, intel_ptob) 9156: (intel_round_page, intel_trunc_page, trunc_intel_to_vm) 9157: (round_intel_to_vm, vm_to_intel, INTEL_PTE_VALID, set_dirbase): Remove 9158: i860 cases. 9159: (INTEL_PTE_valid): Remove macro. 9160: * i386/intel/read_fault.c: Remove i860 comment. 9161: 9162: Drop PS2 architecture support. 9163: * i386/i386/fpu.c (fpintr): Remove PS2 from #if. 9164: * i386/i386/gdt.c [PS2] (abios_int_return, abios_th_return, intstack): 9165: Remove extern declarations. 9166: * i386/i386/gdt.h [PS2] (ABIOS_INT_RET, ABIOS_TH_RET, ABIOS_INT_SS) 9167: (ABIOS_TH_SS, ABIOS_FIRST_AVAIL_SEL): Remove macros. 9168: (GDTSZ): Remove PS2 case. 9169: * i386/i386/hardclock.c [PS2]: Don't include `i386/pic.h' and 9170: `i386/pio.h'. 9171: (hardclock): Remove PS2 prototype and code. 9172: * i386/i386/locore.S (RET_OFFSET): Remove PS2 stack layout. 9173: * i386/i386/pic.c (picinit): Remove #ifdef PS2. 9174: * i386/i386/pic.h: Remove PS2 from #if. 9175: * i386/i386/pit.c [PS2] (clock_int_handler): Remove extern declaration. 9176: Don't include `sys/types.h' and `i386ps2/abios.h'. 9177: (clock_request_block, clock_flags, cqbuf): Remove variables. 9178: (clkstart): Remove call to abios_clock_start function. 9179: (COUNT): Don't define. 9180: (abios_clock_start, ackrtclock): Remove functions. 9181: * i386/i386/pit.h: Remove PS2 from #if. 9182: 9183: 2006-10-26 Thomas Schwinge <[email protected]> 9184: 9185: * Makefile.in: Regenerate. 9186: 9187: [task #5956 -- Automake'ify GNU Mach's code base] 9188: 9189: * Makefrag.am (gnumach.msgids): Remove repetition. 9190: * Makerules.am (%.server.msgids, %.user.msgids): Targets renamed from 9191: `%.msgids'. Also consider MIGCOMSFLAGS respective MIGCOMUFLAGS. 9192: Thanks to Guillem Jover and Leonardo Lopes Pereira for reporting this. 9193: 9194: The Automake build system wants us to have these files in the rcs, so 9195: do that. 9196: * doc/mach.info: New file, generated. 9197: * doc/mach.info-1: Likewise. 9198: * doc/mach.info-2: Likewise. 9199: * doc/stamp-vti: Likewise. 9200: * doc/version.texi: Likewise. 9201: 9202: 2006-10-18 Thomas Schwinge <[email protected]> 9203: 9204: * Makefile.in: Regenerate. 9205: 9206: Install `PREFIX/share/msgids/gnumach.msgids'. 9207: * Makerules.am (%.msgids): Two new rules. 9208: * Makefrag.am (MOSTLYCLEANFILES): Add `gnumach.msgids'. 9209: (gnumach.msgids): New rule. 9210: (exec_msgidsdir, exec_msgids_DATA): New variables. 9211: 9212: 2006-10-16 Thomas Schwinge <[email protected]> 9213: 9214: * configure: Regenerate. 9215: 9216: [bug #18011 -- `make install-data' will build the 9217: ``to-be-generated files''] 9218: * config.status.dep.patch: Do an educated guess instead of using the 9219: `Makefile'. 9220: * configure.ac <config.status.dep.patch>: Update description. 9221: 9222: 2006-10-15 Thomas Schwinge <[email protected]> 9223: 9224: * configure: Regenerate. 9225: 9226: * configure.ac: Update texts snippets: GNU Automake 1.10 has just been 9227: released. 9228: 9229: * i386/include/Makefile.in: Remove unused file. Thanks to Guillem 9230: Jover for spotting this. 9231: 9232: [task #5956 -- Automake'ify GNU Mach's code base] 9233: 9234: * configure: Regenerate. 9235: 9236: * configure.ac <config.status.dep.patch>: Point to [bug #18011 -- 9237: `make install-data' will build the ``to-be-generated files'']. 9238: 9239: * Makefile.in: Regenerate. 9240: 9241: * Makefrag.am (include_mach_exec): Rename to `include_mach_eXec'. 9242: 9243: * Makefile.in: New file, generated by `autoreconf'. 9244: * config.h.in: Likewise. 9245: * configure: Updated file, generated by `autoreconf'. 9246: 9247: * INSTALL: File updated, thanks to `autoreconf'. 9248: * aclocal.m4: Likewise. 9249: 9250: * build-aux/compile: New file, thanks to `autoreconf'. 9251: * build-aux/config.guess: Likewise. 9252: * build-aux/config.sub: Likewise. 9253: * build-aux/depcomp: Likewise. 9254: * build-aux/install-sh: Likewise. 9255: * build-aux/mdate-sh: Likewise. 9256: * build-aux/missing: Likewise. 9257: * build-aux/texinfo.tex: Likewise. 9258: 9259: * AUTHORS: New file, copy from the MIG repository. 9260: 9261: * kern/bootstrap.c: Don't include `bootstrap_symbols.h'. 9262: * ddb/db_command.c: Don't include `cpus.h'. 9263: * ddb/db_mp.c: Likewise. 9264: * i386/i386/ast_check.c: Likewise. 9265: * i386/i386/cswitch.S: Likewise. 9266: * i386/i386/db_interface.c: Likewise. 9267: * i386/i386/fpu.c: Likewise. 9268: * i386/i386/fpu.h: Likewise. 9269: * i386/i386/i386asm.sym: Likewise. 9270: * i386/i386/locore.S: Likewise. 9271: * i386/i386/mp_desc.c: Likewise. 9272: * i386/i386/mp_desc.h: Likewise. 9273: * i386/i386/pcb.c: Likewise. 9274: * i386/i386/trap.c: Likewise. 9275: * i386/intel/pmap.c: Likewise. 9276: * include/mach/machine.h: Likewise. 9277: * ipc/ipc_kmsg.c: Likewise. 9278: * ipc/ipc_kmsg.h: Likewise. 9279: * kern/ast.c: Likewise. 9280: * kern/ast.h: Likewise. 9281: * kern/cpu_number.h: Likewise. 9282: * kern/debug.c: Likewise. 9283: * kern/eventcount.c: Likewise. 9284: * kern/host.c: Likewise. 9285: * kern/ipc_sched.c: Likewise. 9286: * kern/lock.c: Likewise. 9287: * kern/lock.h: Likewise. 9288: * kern/lock_mon.c: Likewise. 9289: * kern/mach_clock.c: Likewise. 9290: * kern/mach_factor.c: Likewise. 9291: * kern/machine.c: Likewise. 9292: * kern/priority.c: Likewise. 9293: * kern/processor.c: Likewise. 9294: * kern/processor.h: Likewise. 9295: * kern/sched.h: Likewise. 9296: * kern/sched_prim.c: Likewise. 9297: * kern/startup.c: Likewise. 9298: * kern/syscall_subr.c: Likewise. 9299: * kern/thread.c: Likewise. 9300: * kern/timer.c: Likewise. 9301: * kern/timer.h: Likewise. 9302: * vm/vm_resident.c: Likewise. 9303: * kern/sched_prim.c: Don't include `fast_tas.h'. 9304: * kern/task.c: Likewise. 9305: * kern/task.h: Likewise. 9306: * kern/sched_prim.c: Don't include `hw_footprint.h'. 9307: * kern/thread.c: Likewise. 9308: * kern/thread.h: Likewise. 9309: * kern/counters.c: Don't include `mach_counters.h'. 9310: * kern/counters.h: Likewise. 9311: * ddb/db_ext_symtab.c: Don't include `mach_debug.h'. 9312: * i386/i386/pcb.c: Likewise. 9313: * kern/ipc_kobject.c: Likewise. 9314: * kern/thread.c: Likewise. 9315: * kern/zalloc.c: Likewise. 9316: * kern/ast.c: Don't include `mach_fixpri.h'. 9317: * kern/processor.c: Likewise. 9318: * kern/processor.h: Likewise. 9319: * kern/sched.h: Likewise. 9320: * kern/sched_prim.c: Likewise. 9321: * kern/syscall_subr.c: Likewise. 9322: * kern/thread.c: Likewise. 9323: * kern/thread.h: Likewise. 9324: * kern/host.c: Don't include `mach_host.h'. 9325: * kern/ipc_sched.c: Likewise. 9326: * kern/machine.c: Likewise. 9327: * kern/processor.c: Likewise. 9328: * kern/processor.h: Likewise. 9329: * kern/sched_prim.c: Likewise. 9330: * kern/startup.c: Likewise. 9331: * kern/task.c: Likewise. 9332: * kern/thread.c: Likewise. 9333: * kern/thread.h: Likewise. 9334: * include/mach/mach.defs: Don't include `mach_ipc_compat.h'. 9335: * include/mach/mach_param.h: Likewise. 9336: * include/mach/mach_traps.h: Likewise. 9337: * include/mach/message.h: Likewise. 9338: * include/mach/mig_errors.h: Likewise. 9339: * include/mach/notify.h: Likewise. 9340: * include/mach/port.h: Likewise. 9341: * include/mach/std_types.defs: Likewise. 9342: * include/mach/task_special_ports.h: Likewise. 9343: * include/mach/thread_special_ports.h: Likewise. 9344: * ipc/ipc_kmsg.c: Likewise. 9345: * ipc/ipc_kmsg.h: Likewise. 9346: * ipc/ipc_marequest.c: Likewise. 9347: * ipc/ipc_notify.c: Likewise. 9348: * ipc/ipc_notify.h: Likewise. 9349: * ipc/ipc_object.c: Likewise. 9350: * ipc/ipc_object.h: Likewise. 9351: * ipc/ipc_port.c: Likewise. 9352: * ipc/ipc_port.h: Likewise. 9353: * ipc/ipc_right.c: Likewise. 9354: * ipc/ipc_right.h: Likewise. 9355: * ipc/ipc_space.c: Likewise. 9356: * ipc/ipc_space.h: Likewise. 9357: * ipc/mach_debug.c: Likewise. 9358: * ipc/mach_msg.c: Likewise. 9359: * ipc/mach_msg.h: Likewise. 9360: * ipc/mach_port.c: Likewise. 9361: * kern/ipc_tt.c: Likewise. 9362: * kern/syscall_sw.c: Likewise. 9363: * kern/thread.h: Likewise. 9364: * include/mach_debug/mach_debug.defs: Don't include `mach_ipc_debug.h'. 9365: * ipc/ipc_hash.c: Likewise. 9366: * ipc/ipc_hash.h: Likewise. 9367: * ipc/ipc_marequest.c: Likewise. 9368: * ipc/ipc_marequest.h: Likewise. 9369: * kern/ipc_kobject.c: Don't include `mach_ipc_test.h'. 9370: * ddb/db_access.c: Don't include `mach_kdb.h'. 9371: * ddb/db_aout.c: Likewise. 9372: * ddb/db_break.c: Likewise. 9373: * ddb/db_command.c: Likewise. 9374: * ddb/db_command.h: Likewise. 9375: * ddb/db_cond.c: Likewise. 9376: * ddb/db_examine.c: Likewise. 9377: * ddb/db_expr.c: Likewise. 9378: * ddb/db_ext_symtab.c: Likewise. 9379: * ddb/db_input.c: Likewise. 9380: * ddb/db_lex.c: Likewise. 9381: * ddb/db_macro.c: Likewise. 9382: * ddb/db_mp.c: Likewise. 9383: * ddb/db_output.c: Likewise. 9384: * ddb/db_print.c: Likewise. 9385: * ddb/db_run.c: Likewise. 9386: * ddb/db_sym.c: Likewise. 9387: * ddb/db_task_thread.c: Likewise. 9388: * ddb/db_trap.c: Likewise. 9389: * ddb/db_variables.c: Likewise. 9390: * ddb/db_watch.c: Likewise. 9391: * ddb/db_watch.h: Likewise. 9392: * ddb/db_write_cmd.c: Likewise. 9393: * i386/i386/db_disasm.c: Likewise. 9394: * i386/i386/db_interface.c: Likewise. 9395: * i386/i386/db_trace.c: Likewise. 9396: * i386/i386/i386asm.sym: Likewise. 9397: * i386/i386/locore.S: Likewise. 9398: * i386/i386/trap.c: Likewise. 9399: * i386/i386at/kd.c: Likewise. 9400: * i386/i386at/model_dep.c: Likewise. 9401: * include/mach_debug/mach_debug.defs: Likewise. 9402: * ipc/ipc_kmsg.c: Likewise. 9403: * ipc/ipc_object.c: Likewise. 9404: * ipc/ipc_port.c: Likewise. 9405: * ipc/ipc_pset.c: Likewise. 9406: * kern/bootstrap.c: Likewise. 9407: * kern/debug.c: Likewise. 9408: * kern/exception.c: Likewise. 9409: * kern/lock.c: Likewise. 9410: * kern/xpr.c: Likewise. 9411: * vm/vm_fault.c: Likewise. 9412: * vm/vm_map.c: Likewise. 9413: * vm/vm_object.c: Likewise. 9414: * vm/vm_resident.c: Likewise. 9415: * kern/lock.h: Don't include `mach_ldebug.h'. 9416: * kern/lock_mon.c: Don't include `mach_lock_mon.h'. 9417: * kern/ipc_kobject.c: Don't include `mach_machine_routines.h'. 9418: * kern/lock_mon.c: Don't include `mach_mp_debug.h'. 9419: * vm/memory_object.c: Don't include `mach_pagemap.h'. 9420: * vm/vm_fault.c: Likewise. 9421: * vm/vm_object.c: Likewise. 9422: * vm/vm_object.h: Likewise. 9423: * vm/vm_pageout.c: Likewise. 9424: * i386/i386/trap.c: Don't include `mach_pcsample.h'. 9425: * kern/mach4.srv: Likewise. 9426: * kern/mach_clock.c: Likewise. 9427: * kern/pc_sample.c: Likewise. 9428: * kern/task.c: Likewise. 9429: * kern/thread.c: Likewise. 9430: * vm/vm_fault.c: Likewise. 9431: * device/net_io.c: Don't include `mach_ttd.h'. 9432: * i386/i386/kttd_interface.c: Likewise. 9433: * i386/i386/locore.S: Likewise. 9434: * i386/i386/trap.c: Likewise. 9435: * i386/i386at/autoconf.c: Likewise. 9436: * include/mach_debug/mach_debug.defs: Don't include `mach_vm_debug.h'. 9437: * vm/vm_debug.c: Likewise. 9438: * vm/vm_page.h: Likewise. 9439: * vm/vm_resident.c: Likewise. 9440: * kern/sched_prim.c: Don't include `power_save.h'. 9441: * kern/sched.h: Don't include `simple_clock.h'. 9442: * kern/sched_prim.c: Likewise. 9443: * kern/thread.c: Likewise. 9444: * kern/mach_clock.c: Don't include `stat_time.h'. 9445: * i386/i386/i386asm.sym: Likewise. 9446: * i386/i386/locore.S: Likewise. 9447: * kern/sched.h: Likewise. 9448: * kern/timer.c: Likewise. 9449: * kern/timer.h: Likewise. 9450: * kern/startup.c: Don't include `xpr_debug.h'. 9451: * kern/xpr.h: Likewise. 9452: * i386/i386at/autoconf.c: Don't include `com.h'. 9453: * i386/i386at/com.c: Likewise. 9454: * i386/i386at/conf.c: Likewise. 9455: * i386/i386at/cons_conf.c: Likewise. 9456: * i386/i386/fpe_linkage.c: Don't include `fpe.h'. 9457: * i386/i386/fpu.c: Likewise. 9458: * i386/i386/fpu.h: Likewise. 9459: * i386/i386/trap.c: Likewise. 9460: * i386/i386at/autoconf.c: Don't include `lpr.h'. 9461: * i386/i386at/conf.c: Likewise. 9462: * i386/i386at/lpr.c: Likewise. 9463: * i386/i386/cswitch.S: Don't include `platforms.h'. 9464: * i386/i386/fpu.c: Likewise. 9465: * i386/i386/gdt.c: Likewise. 9466: * i386/i386/hardclock.c: Likewise. 9467: * i386/i386/i386asm.sym: Likewise. 9468: * i386/i386/io_emulate.c: Likewise. 9469: * i386/i386/locore.S: Likewise. 9470: * i386/i386/pic.c: Likewise. 9471: * i386/i386/pic.h: Likewise. 9472: * i386/i386/pit.c: Likewise. 9473: * i386/i386/pit.h: Likewise. 9474: * i386/i386/seg.h: Likewise. 9475: * i386/i386at/model_dep.c: Likewise. 9476: * i386/i386at/com.c: Don't include `rc.h' 9477: * i386/i386at/cons_conf.c: Likewise. 9478: * i386/i386at/pic_isa.c: Likewise. 9479: * device/ds_routines.c: Don't include <i386/linux/device-drivers.h>. 9480: * i386/i386at/i386at_ds_routines.c: Likewise. 9481: * i386/linux/dev/include/linux/autoconf.h: Likewise. 9482: * linux/dev/arch/i386/kernel/setup.c: Likewise. 9483: * linux/dev/init/main.c: Likewise. 9484: * linux/pcmcia-cs/glue/pcmcia_glue.h: Likewise. 9485: * linux/pcmcia-cs/glue/wireless_glue.h: Likewise. 9486: * kern/lock_mon.c: Don't include <time_stamp.h>. 9487: * device/cons.c: Include <device/cons.h> instead of <cons.h>. 9488: * i386/i386at/com.c: Likewise. 9489: * i386/i386at/kd.c: Likewise. 9490: * i386/i386at/cons_conf.c: Likewise. 9491: * i386/i386at/i386at_ds_routines.c: Include <device/device.server.h> 9492: instead of "device_interface.h". 9493: * device/chario.c: Include <device/device_reply.user.h> instead of 9494: "device_reply.h". 9495: * device/ds_routines.c: Likewise. 9496: * linux/dev/glue/block.c: Likewise. 9497: * linux/dev/glue/net.c: Likewise. 9498: * linux/pcmcia-cs/glue/ds.c: Likewise. 9499: * device/cons.c: Include <device/kmsg.h> instead of <kmsg.h>. 9500: * device/kmsg.c: Likewise. 9501: * i386/i386/cswitch.S: Include <i386/cpu_number.h> instead of 9502: "cpu_number.h". 9503: * i386/i386/locore.S: Likewise. 9504: * i386/intel/pmap.c: Likewise. 9505: * ipc/ipc_kmsg.h: Likewise. 9506: * i386/i386/i386asm.sym: Include <i386/gdt.h> instead of "gdt.h". 9507: * i386/i386/idt.c: Likewise. 9508: * i386/i386at/int_init.c: Likewise. 9509: * i386/i386/cswitch.S: Include <i386/i386asm.h> instead of "i386asm.h". 9510: * i386/i386/locore.S: Likewise. 9511: * i386/i386at/boothdr.S: Likewise. 9512: * i386/i386at/interrupt.S: Likewise. 9513: * i386/i386at/idt.h: Include <i386/idt-gen.h> instead of "idt-gen.h". 9514: * i386/i386at/interrupt.S: Include <i386/ipl.h> instead of "ipl.h". 9515: * i386/i386/i386asm.sym: Include <i386/ldt.h> instead of "ldt.h". 9516: * i386/i386/locore.S: Likewise. 9517: * i386/i386/i386asm.sym: Include <i386/mp_desc.h> instead of 9518: "mp_desc.h". 9519: * i386/i386at/interrupt.S: Include <i386/pic.h> instead of "pic.h". 9520: * i386/i386/cswitch.S: Include <i386/proc_reg.h> instead of 9521: "proc_reg.h". 9522: * i386/i386/locore.S: Likewise. 9523: * i386/i386at/model_dep.c: Likewise. 9524: * i386/i386/i386asm.sym: Include <i386/seg.h> instead of "seg.h". 9525: * i386/i386/idt.c: Likewise. 9526: * i386/i386/locore.S: Likewise. 9527: * i386/i386/locore.S: Include <i386/trap.h> instead of "trap.h". 9528: * i386/i386/i386asm.sym: Include <i386/tss.h> instead of "tss.h". 9529: * i386/i386/i386asm.sym: Include <i386/vm_param.h> instead of 9530: "vm_param.h". 9531: * i386/i386/idt.c: Likewise. 9532: * i386/i386at/kd.c: Likewise. 9533: * i386/i386at/model_dep.c: Likewise. 9534: * i386/intel/pmap.c: Likewise. 9535: * i386/i386/i386asm.sym: Include <i386at/idt.h> instead of "idt.h". 9536: * i386/i386/idt.c: Likewise. 9537: * i386/i386at/int_init.c: Likewise. 9538: * ipc/ipc_target.c: Include <kern/sched_prim.h> instead of 9539: "sched_prim.h". 9540: * vm/memory_object.c: Include <vm/memory_object_default.user.h> instead 9541: of "memory_object_default.h". 9542: * vm/vm_object.c: Likewise. 9543: * vm/vm_pageout.c: Likewise. 9544: * vm/memory_object.c: Include <vm/memory_object_user.user.h> instead of 9545: "memory_object_user.h". 9546: * vm/vm_fault.c: Likewise. 9547: * vm/vm_object.c: Likewise. 9548: * vm/vm_pageout.c: Likewise. 9549: 9550: * Makefile.am: New file. 9551: * Makerules.am <configure's findings, System dependent Makerules> 9552: <Compilation flags, Dependency generation, Autoconf support>: Remove 9553: sections. 9554: <Building from foo.cli, Building from foo.srv>: Rewrite: 9555: (%.server.defs.c, %.user.defs.c, %.server.h %.server.c) 9556: (%.user.h %.user.c, %.server.defs, %.user.defs): New targets. 9557: (%.h %_user.c %.cli.d, %_interface.h %_server.c %.srv.d): Remove 9558: targets. 9559: (echo-%): New target. 9560: * Makefrag.am <configure's findings, Rules, Kernel Image, Installation> 9561: <Building the distribution, Autoconf support, Makerules>: Remove 9562: sections. 9563: (enable_kdb, enable_kmsg): Adapt. 9564: <All the source in each directory> 9565: <Header files installed for user use>: Rewrite to adapt to how things 9566: are to be done now. 9567: <Automatically generated source files>: New section. 9568: (i386/Makefrag.am): Include file if appropriate. 9569: * i386/Makefrag.am <configure's findings, Rules, Installation> 9570: <Autoconf support, Makerules>: Remove sections. 9571: (enable_lpr): Adapt. 9572: <Source files for any i386 kernel>: Rewrite to adapt to how things are 9573: to be done now. 9574: * i386/linux/Makefrag.am: New file. 9575: * linux/Makefrag.am: Likewise. 9576: 9577: * Makefile.in: Move file... 9578: * Makefrag.am: ... here. 9579: * i386/Makefile.in: Move file... 9580: * i386/Makefrag.am: ... here. 9581: * i386/linux/Makefile.in: Remove file. 9582: 9583: * doc/Makefile.in: Remove file. 9584: * doc/Makefrag.am: New file. 9585: * tests/Makefrag.am: Likewise. 9586: * tests/test-mbchk.in: Likewise. 9587: 9588: * configfrag.ac: New file. 9589: * tests/configfrag.ac: Likewise. 9590: * Makerules.am (DEFINES): Convert those into... 9591: * configfrag.ac: ... AC_DEFINE instantiations. 9592: * i386/Makerules.in (DEFINES): Convert those into... 9593: * i386/configfrag.ac: ... AC_DEFINE instantiations. 9594: * i386/Makerules.in: Remove file. 9595: * i386/configfrag.ac (AC_PREREQ, AC_INIT, AC_CONFIG_SRCDIR) 9596: (AC_CONFIG_SUBDIRS, AC_CONFIG_FILES, AC_OUTPUT): Don't invoke. 9597: (../version.m4): Don't include. 9598: (--disable-lpr): Rework configuration option. 9599: (--disable-default-device-drivers): Move configuration option to... 9600: * configfrag.ac: ... here. 9601: * configure.ac (AC_CONFIG_AUX_DIR, AM_INIT_AUTOMAKE): Instantiate. 9602: (AC_PREFIX_DEFAULT, AC_CONFIG_SUBDIRS): Don't invoke. 9603: <Output variable `systype'>: Rework the whole section. 9604: <Options> (--enable-kdb, --disable-kmsg): Move into `configfrag.ac' and 9605: adapt. 9606: <Programs> (AM_PROG_AS, AM_PROG_CC_C_O): Instantiate. 9607: (AC_CHECK_PROG): Move instantiation searching for a `mbchk' program 9608: into `tests/configfrag.ac'. 9609: (AC_CHECK_PROG): Instantiate to search for a `patch' program. 9610: <configure fragments> (tests/configfrag.ac, configfrag.ac) 9611: (linux/configfrag.ac): Include files. 9612: (i386/configfrag.ac): Include file if appropriate. 9613: (AC_CONFIG_HEADER): Instantiate for `config.h'. 9614: (AC_CONFIG_FILES): Remove `Makerules' and `doc/Makefile'. 9615: (AC_CONFIG_COMMANDS_POST): Instantiate for `config.status.dep.patch'. 9616: (AC_CONFIG_COMMANDS): Instantiate for 9617: `Makefile.correct_output_files_for_.S_files.patch' and (the 9618: nonexistent) `Makefile.dependency_tracking_for_.S_files.patch'. 9619: * Makefile.dependency_tracking_for_.S_files.patch: New file. 9620: * config.status.dep.patch: Likewise. 9621: * bogus/bootstrap_symbols.h: Remove file. 9622: * configfrag.ac: AC_DEFINE `BOOTSTRAP_SYMBOLS' to `0'. 9623: * bogus/cpus.h: Remove file. 9624: * configfrag.ac: AC_DEFINE `NCPUS' to `1'. AH_TEMPLATE 9625: `MULTIPROCESSOR'. 9626: * bogus/fast_tas.h: Remove file. 9627: * configfrag.ac: AC_DEFINE `FAST_TAS' to `0'. 9628: * bogus/hw_footprint.h: Remove file. 9629: * configfrag.ac: AC_DEFINE `HW_FOOTPRINT' to `0'. 9630: * bogus/mach_counters.h: Remove file. 9631: * configfrag.ac: AC_DEFINE `MACH_COUNTERS' to `0'. 9632: * bogus/mach_debug.h: Remove file. 9633: * configfrag.ac: AC_DEFINE `MACH_DEBUG' to `1'. 9634: * bogus/mach_fixpri.h: Remove file. 9635: * configfrag.ac: AC_DEFINE `MACH_FIXPRI' to `1'. 9636: * bogus/mach_host.h: Remove file. 9637: * configfrag.ac: AC_DEFINE `MACH_HOST' to `0'. 9638: * bogus/mach_ipc_compat.h: Remove file. 9639: * configfrag.ac: AC_DEFINE `MACH_IPC_COMPAT' to `1'. 9640: * bogus/mach_ipc_debug.h: Remove file. 9641: * configfrag.ac: AC_DEFINE `MACH_IPC_DEBUG' to `1'. 9642: * bogus/mach_ipc_test.h: Remove file. 9643: * configfrag.ac: AC_DEFINE `MACH_IPC_TEST' to `0'. 9644: * bogus/mach_kdb.h: Remove file. 9645: * configfrag.ac (--disable-kdb): AC_DEFINE `MACH_KDB' to `0'. 9646: * bogus/mach_ldebug.h: Remove file. 9647: * configfrag.ac: AC_DEFINE `MACH_LDEBUG' to `0'. 9648: * bogus/mach_lock_mon.h: Remove file. 9649: * configfrag.ac: AC_DEFINE `MACH_LOCK_MON' to `0'. 9650: * bogus/mach_machine_routines.h: Remove file. 9651: * configfrag.ac: Add comment about not AC_DEFINEing 9652: `MACH_MACHINE_ROUTINES' to `0'. 9653: * bogus/mach_mp_debug.h: Remove file. 9654: * configfrag.ac: AC_DEFINE `MACH_MP_DEBUG' to `0'. 9655: * bogus/mach_pagemap.h: Remove file. 9656: * configfrag.ac: AC_DEFINE `MACH_PAGEMAP' to `1'. 9657: * bogus/mach_pcsample.h: Remove file. 9658: * configfrag.ac: AC_DEFINE `MACH_PCSAMPLE' to `1'. 9659: * bogus/mach_ttd.h: Remove file. 9660: * configfrag.ac: AC_DEFINE `MACH_TTD' to `0'. 9661: * bogus/mach_vm_debug.h: Remove file. 9662: * configfrag.ac: AC_DEFINE `MACH_VM_DEBUG' to `1'. 9663: * bogus/power_save.h: Remove file. 9664: * configfrag.ac: AC_DEFINE `POWER_SAVE' to `1'. 9665: * bogus/simple_clock.h: Remove file. 9666: * configfrag.ac: AC_DEFINE `SIMPLE_CLOCK' to `0'. 9667: * bogus/stat_time.h: Remove file. 9668: * configfrag.ac: AC_DEFINE `STAT_TIME' to `1'. 9669: * bogus/xpr_debug.h: Remove file. 9670: * configfrag.ac: AC_DEFINE `XPR_DEBUG' to `1'. 9671: * i386/bogus/com.h: Remove file. 9672: * i386/configfrag.ac: AC_DEFINE `NCOM' to `4'. 9673: * i386/bogus/fpe.h: Remove file. 9674: * i386/configfrag.ac: AC_DEFINE `FPE' to `0'. 9675: * i386/bogus/lpr.h: Remove file. 9676: * i386/configfrag.ac: AC_DEFINE `NLPR' to `1'. 9677: * i386/bogus/mach_machine_routines.h: Remove file. 9678: * i386/configfrag.ac: AC_DEFINE `MACH_MACHINE_ROUTINES' to `1'. 9679: * i386/bogus/platforms.h: Remove file. 9680: * i386/configfrag.ac: AC_DEFINE `AT386' to `1'. 9681: * i386/bogus/rc.h: Remove file. 9682: * i386/configfrag.ac: AC_DEFINE `RCLINE' to `-1' and `RCADDR' to `0x3f8'. 9683: 9684: * Makerules.in: Move file... 9685: * Makerules.am: ... here. 9686: 9687: * linux/configfrag.ac (AC_PREREQ, AC_INIT, AC_CONFIG_SRCDIR) 9688: (AC_CONFIG_HEADER, AC_CANONICAL_HOST, hurd_SYSTYPE, AC_CONFIG_FILES) 9689: (AC_OUTPUT): Don't invoke. 9690: (../../version.m4, ../../Drivers.macros, ../../aclocal.m4): Don't 9691: include. 9692: <case "$host_cpu">: Only evaluate for i386. 9693: (--disable-default-device-drivers): Remove configuraion option. 9694: (LINUX_DEV, __KERNEL__): AC_DEFINE these. 9695: (scsi, net, pcmcia, wireless): Remove AC_DRIVER_CLASS instantiations. 9696: (device_driver_group): New shell function. 9697: (AC_OPTION, AC_OPTION_nodef): New functions. 9698: (linux_DRIVER): Rename function to AC_Linux_DRIVER and adapt. 9699: (linux_DRIVER_nodef): Likewise to AC_Linux_DRIVER_nodef. 9700: <Configuration options>: Adapt to the new functions introduced above 9701: and re-position parts. 9702: <Process device driver groups>: Adapt to the changes related to device 9703: driver groups. 9704: * linux/configure.in <AC_CONFIG_LINKS>: Move to... 9705: * linux/configfrag.ac: ... here. 9706: * linux/configure.in: Remove file. 9707: * linux/configure: Likewise. 9708: * i386/linux/Makerules.in: Likewise. 9709: * Drivers.macros: Likewise. 9710: 9711: * i386/linux/configure.ac: Move file... 9712: * linux/configfrag.ac: ... here. 9713: * i386/linux/configure: Remove file. 9714: * i386/linux/device-drivers.h.in: Likewise. 9715: 9716: * i386/configure.in: Move file... 9717: * i386/configfrag.ac: ... here. 9718: * i386/configure: Remove file. 9719: 9720: * config.guess: Remove file. 9721: * config.sub: Likewise. 9722: * install-sh: Likewise. 9723: 9724: * i386/Files: Remove file. 9725: * i386/Subdirs: Likewise. 9726: * linux/Files: Likewise. 9727: * linux/Subdirs: Likewise. 9728: 9729: 2006-10-13 Thomas Schwinge <[email protected]> 9730: 9731: * configure.in: Move file... 9732: * configure.ac: ... here. 9733: 9734: * Makerules.in (ASFLAGS): Don't define `ASSEMBLER'. 9735: * i386/i386/cpu_number.h: Check for `__ASSEMBLER__' instead of 9736: `ASSEMBLER'. 9737: * i386/i386/debug.h: Likewise. 9738: * i386/i386/ipl.h: Likewise. 9739: * i386/i386/ldt.h: Likewise. 9740: * i386/i386/proc_reg.h: Likewise. 9741: * i386/i386/seg.h: Likewise. 9742: * i386/i386/trap.h: Likewise. 9743: * i386/include/mach/i386/kern_return.h: Likewise. 9744: * i386/include/mach/i386/vm_types.h: Likewise. 9745: * i386/intel/pmap.h: Likewise. 9746: * include/mach/boolean.h: Likewise. 9747: * include/mach/boot.h: Likewise. 9748: * include/mach/error.h: Likewise. 9749: * kern/syscall_emulation.h: Likewise. 9750: 9751: * configure: Regenerate. 9752: * i386/configure: Likewise. 9753: * i386/linux/configure: Likewise. 9754: * linux/configure: Likewise. 9755: 9756: 2006-10-12 Thomas Schwinge <[email protected]> 9757: 9758: * version.m4 (AC_PACKAGE_VERSION): Let's name it `1.3.99'. 9759: 9760: * configure: Regenerate. 9761: * i386/configure: Likewise. 9762: * i386/linux/configure: Likewise. 9763: * linux/configure: Likewise. 9764: 9765: * version.m4: Rewrite. 9766: * configure.in: Adapt to the above. 9767: * i386/configure.in: Likewise. 9768: * i386/linux/configure.ac: Likewise. 9769: * linux/configure.in: Likewise. 9770: 9771: 2006-10-09 Thomas Schwinge <[email protected]> 9772: 9773: * ddb/tr.h: Insert the content of `bogus/mach_assert.h' instead of 9774: including it. 9775: * i386/i386/loose_ends.c: Likewise. 9776: * bogus/mach_assert.h: Remove file. 9777: 9778: * bogus/panic.c: Remove file. 9779: 9780: * linux/src/drivers/scsi/in2000.c (in2000_proc_info) [PROC_INTERFACE]: 9781: Don't consider `__DATE__' and `__TIME__'. 9782: 9783: 2006-10-08 Thomas Schwinge <[email protected]> 9784: 9785: * linux/dev/drivers/scsi/scsi.h: Move file... 9786: * linux/src/drivers/scsi/scsi.h: ... here, overwriting the old file. 9787: 9788: * linux/dev/drivers/scsi/seagate.c: Move file... 9789: * linux/src/drivers/scsi/seagate.c: ... here, overwriting the old file. 9790: 9791: * linux/dev/drivers/scsi/aha152x.c: Move file... 9792: * linux/src/drivers/scsi/aha152x.c: ... here, overwriting the old file. 9793: 9794: * linux/dev/drivers/scsi/sr.c: Move file... 9795: * linux/src/drivers/scsi/sr.c: ... here, overwriting the old file. 9796: 9797: * linux/dev/drivers/scsi/sd_ioctl.c: Move file... 9798: * linux/src/drivers/scsi/sd_ioctl.c: ... here, overwriting the old file. 9799: 9800: * linux/dev/drivers/scsi/sd.c: Move file... 9801: * linux/src/drivers/scsi/sd.c: ... here, overwriting the old file. 9802: 9803: * linux/dev/drivers/scsi/hosts.c: Remove file. 9804: * linux/dev/drivers/scsi/scsi.c: Likewise. 9805: 9806: * linux/dev/drivers/block/ide.c: Move file... 9807: * linux/src/drivers/block/ide.c: ... here, overwriting the old file. 9808: 9809: * linux/dev/drivers/block/ide-cd.c: Remove file. 9810: * linux/src/drivers/block/ide-cd.c (cdrom_sleep): Don't define function 9811: `#ifndef MACH'. 9812: 9813: 2006-10-07 Thomas Schwinge <[email protected]> 9814: 9815: * i386/linux/configure: Regernerate. 9816: * i386/linux/device-drivers.h.in: Likewise. 9817: 9818: * Drivers.macros (AC_DRIVER, AC_DRIVER_nodef): Rewrite to allow options 9819: with dashes in them, make it usable more universally and enhance the 9820: generated comments in header files. 9821: * i386/linux/configure.ac (linux_DRIVER, linux_DRIVER_nodef): Enhance 9822: DESCRIPTION. 9823: (u1434f): Rename to `u14-34f'. 9824: (smcultra): Rename to `smc-ultra'. 9825: (smcultra32): Rename to `smc-ultra32'. 9826: (hpplus): Rename to `hp-plus'. 9827: (ne2kpci): Rename to `ne2k-pci'. 9828: (viarhine): Rename to `via-rhine'. 9829: (intelgige): Rename to `intel-gige'. 9830: (winbond840): Rename to `winbond-840'. 9831: (AC_PCMCIA_OPTION): Remove function. 9832: (pcmcia-isa): Use `AC_DRIVER' instead of `AC_PCMCIA_OPTION'. 9833: * i386/README-Drivers: Update accordingly. 9834: 9835: 2006-10-03 Thomas Schwinge <[email protected]> 9836: 9837: [task #5941 -- Linker script for GNU Mach] 9838: 9839: * Makefile.in (kernel.o): Remove `$(systype)-objfiles-prepend' hackery. 9840: * i386/Makefile.in (sysdep.a): Likewise. 9841: * i386/Makerules.in: Likewise. 9842: (LDFLAGS-kernel): Point to the linker script. 9843: * i386/i386at/boothdr.S (_start): Don't put into `.text', but into 9844: `.text.start' instead. 9845: * i386/ldscript: Change to put `.text' at 0x100000 and put 9846: `.text.start' first into `.text'. 9847: 9848: * i386/ldscript: New file, copied from `/lib/ldscripts/elf_i386.x' of a 9849: GNU Binutils 2.16.1 installation. 9850: 9851: 2006-09-25 Stefan Siegl <[email protected]> 9852: 9853: * linux/dev/glue/net.c (device_get_status): Reworked to not read 9854: from STATUS. Fill `struct iw_point' correctly if necessary. 9855: 9856: 2006-09-23 Stefan Siegl <[email protected]> 9857: 9858: * i386/linux/configure: Regenerate. 9859: * i386/linux/device-drivers.h.in: Likewise. 9860: 9861: * i386/linux/configure.ac (AC_PCMCIA_OPTION): New function. 9862: (--disable-pcmcia-isa): New configuration option to disable ISA-bus 9863: support in the pcmcia core, which is otherwise enabled now by default. 9864: * doc/mach.texi (Configuration): Briefly document the new configuration 9865: option. 9866: * i386/README-Drivers: Likewise. 9867: 9868: 2006-09-20 Thomas Schwinge <[email protected]> 9869: 9870: * configure: Regenerate. 9871: * i386/configure: Likewise. 9872: * i386/linux/configure: Likewise. 9873: * i386/linux/device-drivers.h.in: Likewise. 9874: 9875: * Drivers.macros (AC_DRIVER_ALIAS): Remove definition. 9876: (AC_DRIVER): Extend to take a `description' parameter and consider 9877: `$enable_default_device_drivers'. 9878: (AC_DRIVER_nodef): New definition. 9879: * configure.in (options kdb, kmsg): Remove redundancy. 9880: * i386/configure.in (option default-device-drivers): New option. 9881: (option lpr): Consider `$enable_default_device_drivers'. 9882: * i386/linux/configure.ac: Rework substantially. Remove all aliases. 9883: Rename some of the device driver options. 9884: (option default-device-drivers): New option. 9885: (linux_DRIVER): Take care about a `description' parameter and don't 9886: invoke AC_DRIVER_ALIAS. 9887: (linux_DRIVER_nodef): New definition. 9888: Adapt all usages of AC_DRIVER and linux_DRIVER to provide a 9889: `description' parameter. 9890: (g_NCR5380, NCR53c406a, eata_dma, wavelan, atp): Change from AC_DRIVER 9891: to AC_DRIVER_nodef to have these device drivers disabled by default. 9892: * doc/mach.texi: Add a note about the outdatedness to the configuration 9893: option table. 9894: * i386/README-Drivers: Update. 9895: 9896: 2006-09-19 Samuel Thibault <[email protected]> 9897: 9898: [bug #17338 -- GNU Mach vs. GCC 4.1] 9899: * i386/i386/seg.h (struct pseudo_descriptor): Pack structure and 9900: move the padding field to the end. 9901: (lgdt): Pass the whole structure to the lgdt assembly command. 9902: (lidt): Likewise. 9903: 9904: 2006-08-06 Thomas Schwinge <[email protected]> 9905: 9906: * DEVELOPMENT: Update. 9907: 9908: 2006-07-31 Stefan Siegl <[email protected]> 9909: 9910: * doc/mach.texi (Configuration): Document the new PCMCIA drivers a bit 9911: more. 9912: * i386/README-Drivers: Likewise. 9913: 9914: 2006-07-27 Thomas Schwinge <[email protected]> 9915: 9916: * i386/linux/configure: Regenerate. 9917: 9918: * i386/linux/configure.ac: Pull in the pcmcia code only if really 9919: needed. 9920: 9921: * doc/mach.texi (Configuration): Very briefly document the new drivers. 9922: * i386/README-Drivers: Likewise. 9923: 9924: * linux/dev/include/linux/types.h (_MACH_SA_SYS_TYPES_H_): Define. 9925: 9926: * i386/linux/configure: Regenerate. 9927: * i386/linux/device-drivers.h.in: Likewise. 9928: 9929: 2006-07-27 Stefan Siegl <[email protected]> 9930: 9931: * i386/linux/configure.ac (pcmcia, wireless): New driver classes. 9932: (i82365, 3c574_cs, 3c589_cs, axnet_cs, fmvj18x_cs, nmclan_cs, pcnet_cs) 9933: (smc91c92_cs, xirc2ps_cs, orinoco_cs): New drivers. 9934: * i386/linux/Makefile.in (linux-pcmcia-cs-modules-files) 9935: (linux-pcmcia-cs-clients-files, linux-pcmcia-cs-wireless-files): New 9936: variables. Add `vpath's to the files locations. 9937: (all-linux-files): Add the three new variables. 9938: (linux-pcmcia-cs-modules-flags, linux-pcmcia-cs-clients-flags) 9939: (linux-pcmcia-cs-wireless-flags): New variables. 9940: (linux-flags): Add code to handle the above files and flags. 9941: 9942: * i386/i386at/i386at_ds_routines.c (emulation_list) 9943: [LINUX_DEV && CONFIG_INET && CONFIG_PCMCIA]: Add the Linux pcmcia 9944: emulation structure. 9945: * linux/dev/glue/net.c: Include <linux/wireless.h>. 9946: (device_get_status): Rewrite function. 9947: (device_set_status): New function. 9948: (linux_net_emulation_ops): Add `device_set_status' at the appropriate 9949: position. 9950: * linux/dev/init/main.c (linux_init) [CONFIG_PCMCIA]: Call pcmcia_init. 9951: 9952: * linux/pcmcia-cs/glue/ds.c: New file. 9953: * linux/pcmcia-cs/glue/pcmcia.c: Likewise. 9954: * linux/pcmcia-cs/glue/pcmcia_glue.h: Likewise. 9955: * linux/pcmcia-cs/glue/wireless_glue.h: Likewise. 9956: 9957: * linux/pcmcia-cs/clients/xirc2ps_cs.c (busy_loop): Replace the code by 9958: a call to __udelay. 9959: * linux/pcmcia-cs/include/linux/init.h: Adapt to our Linux environment. 9960: * linux/pcmcia-cs/include/linux/slab.h: Use `#include', not 9961: `#include_next'. 9962: * linux/pcmcia-cs/include/pcmcia/mem_op.h: Adapt to our Linux 9963: environment and fix GCC 4.0 complaints. 9964: * linux/pcmcia-cs/include/pcmcia/version.h: Always assume that 9965: CONFIG_PCMCIA is not defined. 9966: * linux/pcmcia-cs/modules/cs.c (init_pcmcia_cs): Don't make it static. 9967: * linux/pcmcia-cs/modules/ds.c: Use some magic to avoid duplicate 9968: definition `io_req_t'. 9969: (ds_open, ds_release, ds_read, ds_write, ds_select, ds_poll, ds_fops): 9970: Hide functions if MACH is defined. 9971: Likewise for the module handling code. 9972: (ds_ioctl): Use plain `memcpy' if MACH is defined. 9973: (init_pcmcia_ds): Don't register charcater devices if MACH is defined. 9974: Include "../glue/ds.c". 9975: * linux/pcmcia-cs/modules/i82365.c (test_irq): Adapt to GNU Mach. 9976: (init_i82365): Don't make it static. 9977: * linux/pcmcia-cs/modules/pci_fixup.c (pci_devices): Don't define if 9978: MACH is defined. 9979: * linux/pcmcia-cs/wireless/orinoco.c: Adapt to our Linux environment. 9980: 9981: 2006-07-27 Thomas Schwinge <[email protected]> 9982: 9983: Import a number of files from the pcmcia-cs package, version 3.2.8, 9984: available from <http://pcmcia-cs.sourceforge.net/>. 9985: 9986: * linux/pcmcia-cs/clients/3c574_cs.c: Import file. 9987: * linux/pcmcia-cs/clients/3c589_cs.c: Likewise. 9988: * linux/pcmcia-cs/clients/ax8390.h: Likewise. 9989: * linux/pcmcia-cs/clients/axnet_cs.c: Likewise. 9990: * linux/pcmcia-cs/clients/fmvj18x_cs.c: Likewise. 9991: * linux/pcmcia-cs/clients/nmclan_cs.c: Likewise. 9992: * linux/pcmcia-cs/clients/ositech.h: Likewise. 9993: * linux/pcmcia-cs/clients/pcnet_cs.c: Likewise. 9994: * linux/pcmcia-cs/clients/smc91c92_cs.c: Likewise. 9995: * linux/pcmcia-cs/clients/xirc2ps_cs.c: Likewise. 9996: * linux/pcmcia-cs/include/linux/crc32.h: Likewise. 9997: * linux/pcmcia-cs/include/linux/init.h: Likewise. 9998: * linux/pcmcia-cs/include/linux/slab.h: Likewise. 9999: * linux/pcmcia-cs/include/pcmcia/bulkmem.h: Likewise. 10000: * linux/pcmcia-cs/include/pcmcia/bus_ops.h: Likewise. 10001: * linux/pcmcia-cs/include/pcmcia/ciscode.h: Likewise. 10002: * linux/pcmcia-cs/include/pcmcia/cisreg.h: Likewise. 10003: * linux/pcmcia-cs/include/pcmcia/cistpl.h: Likewise. 10004: * linux/pcmcia-cs/include/pcmcia/cs.h: Likewise. 10005: * linux/pcmcia-cs/include/pcmcia/cs_types.h: Likewise. 10006: * linux/pcmcia-cs/include/pcmcia/driver_ops.h: Likewise. 10007: * linux/pcmcia-cs/include/pcmcia/ds.h: Likewise. 10008: * linux/pcmcia-cs/include/pcmcia/mem_op.h: Likewise. 10009: * linux/pcmcia-cs/include/pcmcia/ss.h: Likewise. 10010: * linux/pcmcia-cs/include/pcmcia/version.h: Likewise. 10011: * linux/pcmcia-cs/modules/bulkmem.c: Likewise. 10012: * linux/pcmcia-cs/modules/cirrus.h: Likewise. 10013: * linux/pcmcia-cs/modules/cistpl.c: Likewise. 10014: * linux/pcmcia-cs/modules/cs.c: Likewise. 10015: * linux/pcmcia-cs/modules/cs_internal.h: Likewise. 10016: * linux/pcmcia-cs/modules/ds.c: Likewise. 10017: * linux/pcmcia-cs/modules/ene.h: Likewise. 10018: * linux/pcmcia-cs/modules/i82365.c: Likewise. 10019: * linux/pcmcia-cs/modules/i82365.h: Likewise. 10020: * linux/pcmcia-cs/modules/o2micro.h: Likewise. 10021: * linux/pcmcia-cs/modules/pci_fixup.c: Likewise. 10022: * linux/pcmcia-cs/modules/ricoh.h: Likewise. 10023: * linux/pcmcia-cs/modules/rsrc_mgr.c: Likewise. 10024: * linux/pcmcia-cs/modules/smc34c90.h: Likewise. 10025: * linux/pcmcia-cs/modules/ti113x.h: Likewise. 10026: * linux/pcmcia-cs/modules/topic.h: Likewise. 10027: * linux/pcmcia-cs/modules/vg468.h: Likewise. 10028: * linux/pcmcia-cs/modules/yenta.h: Likewise. 10029: * linux/pcmcia-cs/wireless/hermes.c: Likewise. 10030: * linux/pcmcia-cs/wireless/hermes.h: Likewise. 10031: * linux/pcmcia-cs/wireless/hermes_rid.h: Likewise. 10032: * linux/pcmcia-cs/wireless/ieee802_11.h: Likewise. 10033: * linux/pcmcia-cs/wireless/orinoco.c: Likewise. 10034: * linux/pcmcia-cs/wireless/orinoco.h: Likewise. 10035: * linux/pcmcia-cs/wireless/orinoco_cs.c: Likewise. 10036: 10037: 2006-07-24 Thomas Schwinge <[email protected]> 10038: 10039: * Makerules.in (%.h %_user.c): Add `%.cli.d' to the target list. 10040: Create these files by specifying `-MD' as a flag for mig and rename the 10041: resulting files as needed. 10042: Include these `*.cli.d' files instead of `*.migu.d' files. 10043: (%_interface.h %_server.c): Likewise for `%.srv.d' / `*.migs.d'. 10044: (%.migs.d, %.migu.d): Remove targets. 10045: * Makefile.in (clean): Adapt to the above. 10046: * i386/Makefile.in (clean): Likewise. 10047: 10048: 2006-06-30 Samuel Thibault <[email protected]> 10049: 10050: * i386/i386at/kd_mouse.c (mouse_char_in, mouse_char) Remove variables. 10051: (mouse_char_index) New variable. 10052: (mouse_handle_byte, kd_mouse_read): Use MOUSEBUF instead of MOUSE_CHAR 10053: for storing incoming command characters. 10054: (kd_mouse_read_reset): New function. 10055: (ibm_ps2_mouse_open, ibm_ps2_mouse_close): Call new kd_mouse_read_reset 10056: function. 10057: 10058: 2006-06-09 Stefan Siegl <[email protected]> 10059: 10060: * linux/dev/include/asm-i386/uaccess.h: New dummy file. 10061: * linux/dev/include/linux/pm.h: Likewise. 10062: * linux/dev/include/linux/threads.h: Likewise. 10063: * linux/src/include/linux/symtab_begin.h: New file from Linux 2.0.40. 10064: * linux/src/include/linux/symtab_end.h: Likewise. 10065: * linux/src/include/linux/module.h: Update from Linux 2.0.40 with minor 10066: changes. 10067: * linux/src/include/linux/list.h: New file from Linux 2.2.26. 10068: * linux/src/include/linux/kcomp.h: Likewise with minor changes. 10069: * linux/src/include/linux/wait.h: Update from Linux 2.2.26. 10070: * linux/src/include/linux/wireless.h: Likewise. 10071: * linux/src/include/asm-i386/bitops.h [__KERNEL__] (ffs, hweight32) 10072: (hweight16, hweight8): Copy from Linux 2.2.26. 10073: 10074: * kern/printf.c (_doprnt): Support printing of pointer addresses. 10075: 10076: 2006-05-14 Roland McGrath <[email protected]> 10077: 10078: [sync from HEAD, 2002-06-17] 10079: * device/if_hdr.h: Replace ancient UCB copyright terms with current 10080: approved UCB terms. 10081: * include/sys/reboot.h: Likewise. 10082: * include/device/disk_status.h: Likewise. 10083: * include/device/tape_status.h: Likewise. 10084: * device/net_io.c: Remove advertising clause from UCB copyright terms. 10085: * include/device/audio_status.h: Likewise. 10086: * include/device/bpf.h: Likewise. 10087: 10088: 2006-05-14 Thomas Schwinge <[email protected]> 10089: 10090: * i386/i386at/autoconf.c (bus_device_init) <lpr> [! LINUX_DEV]: Depend 10091: on `MACH_LPR' instead. 10092: * i386/i386at/lpr.c: Fix obsolescent `#else' / `#endif' syntax. 10093: 10094: 2006-05-12 Stefan Siegl <[email protected]> 10095: 10096: * linux/dev/glue/kmem.c (vfree): Panic if `vmalloc_list_lookup' did 10097: NOT succeed. 10098: 10099: 2006-05-08 Thomas Schwinge <[email protected]> 10100: 10101: * DEVELOPMENT: Document Samuel's patch. 10102: 10103: 2006-05-08 Samuel Thibault <[email protected]> 10104: 10105: [bug #7118 -- GNU Mach can't handle 1G memory] 10106: * i386/i386at/model_dep.c (mem_size_init): Limit memory to what can 10107: actually be used (minus a little extra for virtual mappings). 10108: * i386/intel/pmap.c (pmap_bootstrap): Extend the virtual mapping area 10109: according to memory size for at least being able to manage it. But 10110: look out for wrap and limit it to kernel adresses. Remove duplicate 10111: computing. 10112: 10113: 2006-04-27 Richard Braun <[email protected]> 10114: Manuel Menal <[email protected]> 10115: 10116: * device/if_hdr.h (struct ifnet): Added new members `if_snd_port_list' 10117: and `if_snd_port_list_lock'. 10118: * device/net_io.c: Reworked to improve BPF support. Filters can be 10119: applied to ingress packets, egress packets, or both. 10120: * device/subrs.c: Initialize the `if_snd_port_list' and 10121: `if_snd_port_list_lock'. 10122: * include/device/bpf.h [0]: Enable unconditionally. 10123: Include <sys/types.h>. 10124: (BPF_IN, BPF_OUT): New macros. 10125: * include/device/net_status.h (NETF_TYPE_MASK, NETF_IN, NETF_OUT): New 10126: macros. 10127: (struct net_rcv_msg): New member `sent'. 10128: * linux/dev/glue/net.c: Mark ingress packets as received and inject 10129: egress packets into the packet filters. 10130: 10131: 2006-04-26 Thomas Schwinge <[email protected]> 10132: 10133: * Makefile.in: Replace `make' with `$(MAKE)'. 10134: * i386/Makefile.in: Likewise. 10135: Reported by Leonardo Lopes Pereira <[email protected]>. 10136: 10137: 2006-04-08 Thomas Schwinge <[email protected]> 10138: 10139: * i386/Makefile.in (INCLUDES): Don't add `$(srcdir)/bogus'. 10140: * i386/Makerules.in (INCLUDES): Add 10141: `$(abs_top_srcdir)/$(systype)/bogus'. 10142: Reported by Samuel Thibault <[email protected]>. 10143: 10144: 2006-04-02 Thomas Schwinge <[email protected]> 10145: 10146: * Makerules.in (%_user.c, %_server.c): Those are `.PRECIOUS'. 10147: (%.migs.d, %.migu.d): New targets. 10148: (%.migs_d, %.migu_d, %.migsh_d, %.miguh_d): Remove targets. 10149: Adapt the `include's to the renamed targets. 10150: * Makefile.in (clean): Adapt to the renamed targets. 10151: * i386/Makefile.in (clean): Likewise. 10152: 10153: * i386/Makefile.in (boothdr.o): New target. 10154: 10155: 2006-03-21 Thomas Schwinge <[email protected]> 10156: 10157: * Makefile.in (clean): Also remove `kernel.gz', `kernel.stripped' and 10158: `kernel.stripped.gz'. 10159: 10160: * Makefile.in (kernel.o): Handle `$(systype)-objfiles-prepend'. 10161: * i386/Makefile.in (sysdep.a): Likewise. 10162: * i386/Makerules.in (kernel-objfiles-prepend): Transform variable into 10163: `$(systype)-objfiles-prepend'. 10164: (kernel.o): Remove target. 10165: 10166: 2006-03-20 Thomas Schwinge <[email protected]> 10167: 10168: * DEVELOPMENT: Document the NORMA removal. 10169: 10170: 2006-03-20 Leonardo Lopes Pereira <[email protected]> 10171: 10172: Remove unused and unsupported code. Consult the file `DEVELOPMENT' 10173: for details. 10174: 10175: [patch #4982 -- remove of unused / unsuported functions of 10176: gnumach-1-branch] 10177: * bogus/norma_device.h: Remove file. 10178: * bogus/norma_ether.h: Likewise. 10179: * bogus/norma_ipc.h: Likewise. 10180: * bogus/norma_task.h: Likewise. 10181: * bogus/norma_vm.h: Likewise. 10182: * include/mach/mach_norma.defs: Likewise. 10183: * include/mach/norma_task.defs: Likewise. 10184: * include/mach/norma_special_ports.h: Likewise. 10185: * Makefile.in (bogus-files): Remove `norma_device.h', `norma_ether.h', 10186: `norma_ipc.h', `norma_task.h' and `norma_vm.h'. 10187: (mach-headers): Remove `mach_norma.defs', `norma_task.defs' and 10188: `norma_special_ports.h'. 10189: * device/ds_routines.c: Don't include <norma_device.h> anymore and 10190: adapt all users of NORMA_DEVICE as if it were always defined to `0'. 10191: * device/net_io.c: Likewise for <norma_ether.h>, NORMA_ETHER. 10192: * kern/machine.c: Likewise. 10193: * ddb/db_command.c: Likevise for <norma_ipc.h>, NORMA_IPC. 10194: * ipc/ipc_init.c: Likewise. 10195: * ipc/ipc_kmsg.c: Likewise. 10196: * ipc/ipc_kmsg.h: Likewise. 10197: * ipc/ipc_mqueue.c: Likewise. 10198: * ipc/ipc_notify.c: Likewise. 10199: * ipc/ipc_port.c: Likewise. 10200: * ipc/ipc_port.h: Likewise. 10201: * ipc/ipc_space.c: Likewise. 10202: * ipc/ipc_space.h: Likewise. 10203: * ipc/mach_msg.c: Likewise. 10204: * kern/ast.c: Likewise. 10205: * kern/debug.c: Likewise. 10206: * kern/exception.c: Likewise. 10207: * kern/startup.c: Likewise. 10208: * vm/memory_object.c: Likewise. 10209: * vm/vm_map.c: Likewise. 10210: * kern/ipc_kobject.c: Likewise for <norma_task.h>, NORMA_TASK. 10211: * kern/task.c: Likewise. 10212: * kern/task.h: Likewise. 10213: * ddb/db_command.c: Likewise for <norma_vm.h>, NORMA_VM. 10214: * device/dev_pager.c: Likewise. 10215: * include/mach/mach_types.defs: Likewise. 10216: * include/mach/mach_types.h: Likewise. 10217: * include/mach/memory_object_default.defs: Likewise. 10218: * include/mach/memory_object.defs: Likewise. 10219: * ipc/ipc_kmsg.c: Likewise. 10220: * kern/ipc_kobject.c: Likewise. 10221: * kern/ipc_mig.c: Likewise. 10222: * kern/startup.c: Likewise. 10223: * vm/memory_object.c: Likewise. 10224: * vm/vm_object.c: Likewise. 10225: * vm/vm_object.h: Likewise. 10226: * vm/vm_pageout.c: Likewise. 10227: 10228: 2006-03-19 Thomas Schwinge <[email protected]> 10229: 10230: * DEVELOPMENT: Document the FIPC removal. 10231: 10232: 2006-03-19 Leonardo Lopes Pereira <[email protected]> 10233: 10234: Remove unused and unsupported code. Consult the file `DEVELOPMENT' 10235: for details. 10236: 10237: [patch #4982 -- remove of unused / unsuported functions of 10238: gnumach-1-branch] 10239: * ipc/fipc.c: Remove file. 10240: * ipc/fipc.h: Likewise. 10241: * Makefile.in (ipc-cfiles): Remove `fipc.c'. 10242: (ipc-files): Remove `fipc.h'. 10243: * device/device_init.c [FIPC]: Remove code. 10244: * device/net_io.c [FIPC]: Likewise. 10245: * include/mach/syscall_sw.h [FIPC]: Likewise. 10246: * kern/syscall_sw.c [FIPC]: Likewise. 10247: 10248: 2006-03-15 Thomas Schwinge <[email protected]> 10249: 10250: * configure.in: Check for strip and gzip. 10251: * configure: Regenerated. 10252: * Makerules.in (GZIP, STRIP): New variables. 10253: (%.gz, %.stripped): New targets. 10254: 10255: 2006-03-04 Roland McGrath <[email protected]> 10256: 10257: * Makefile.in (DEFS): Substitute once and use the variable elsewhere. 10258: 10259: 2006-03-04 Samuel Thibault <[email protected]> 10260: 10261: [patch #4737 -- User TSS fixup] 10262: * i386/i386/iopb.c: Include "vm_param.h". 10263: (io_tss_init): Fix address and limit of user TSS. 10264: 10265: 2006-03-04 Thomas Schwinge <[email protected]> 10266: 10267: Remove unused and unsupported code. Consult the file 10268: `DEVELOPMENT' for details. Partly based on suggestions by 10269: Gianluca Guida <[email protected]>. 10270: 10271: * i386/bogus/par.h: Remove file. 10272: * i386/i386at/if_par.c: Likewise. 10273: * i386/i386at/if_par.h: Likewise. 10274: * i386/i386at/conf.c: Don't include <par.h> anymore and adapt all users 10275: of NPAR as if it were always defined to `0'. 10276: * i386/i386at/lpr.c: Likewise. 10277: 10278: * i386/bogus/de6c.h: Remove file. 10279: * i386/i386at/if_de6c.c: Likewise. 10280: * i386/i386at/if_de6c.h: Likewise. 10281: * i386/i386at/if_de6s.S: Likewise. 10282: * i386/i386at/conf.c: Don't include <de6c.h> anymore and adapt all 10283: users of NDE6C as if it were always defined to `0'. 10284: * i386/i386at/lpr.c: Likewise. 10285: 10286: 2006-02-20 Thomas Schwinge <[email protected]> 10287: 10288: Remove unused and unsupported code. Consult the file 10289: `DEVELOPMENT' for details. Partly based on suggestions by 10290: Gianluca Guida <[email protected]>. 10291: 10292: * i386/bogus/blit.h: Remove file. 10293: * i386/i386at/blit.c: Likewise. 10294: * i386/i386at/blitreg.h: Likewise. 10295: * i386/i386at/blituser.h: Likewise. 10296: * i386/i386at/blitvar.h: Likewise. 10297: * i386/i386at/conf.c: Don't include <blit.h> anymore and adapt all 10298: users of NBLIT as if it were always defined to `0'. 10299: * i386/i386at/kd.c: Likewise. 10300: (blit_init): Remove definition. 10301: (blit_present): Likewise and adapt all users as if it were always 10302: defined to `FALSE'. 10303: * i386/Makefile.in (i386at-files): Remove `blit.c'. 10304: 10305: * bogus/net_atm.h: Remove file. 10306: * Makefile.in (bogus-files): Remove `net_atm.h'. 10307: * kern/syscall_sw.c: Don't include <net_atm.h> anymore and adapt all 10308: users of NET_ATM as if it were always defined to `0'. 10309: * kern/task.c: Likewise. 10310: * kern/task.h: Likewise. 10311: * kern/thread.c: Likewise. 10312: * kern/thread.h: Likewise. 10313: 10314: * util/about_to_die.c: Remove file. 10315: * util/config.h: Likewise. 10316: * util/cpu.c: Likewise. 10317: * util/cpu.h: Likewise. 10318: * util/cpu_init.c: Likewise. 10319: * util/cpu_subs.h: Likewise. 10320: * util/debug.h: Likewise. 10321: * util/die.c: Likewise. 10322: * util/phys_mem.h: Likewise. 10323: * util/ref_count.h: Likewise. 10324: * util/cpus.h: Move from here... 10325: * bogus/cpus.h: ... to here. 10326: * Makefile.in (bogus-files): Add `cpus.h'. 10327: (util-cfiles): Only contain `putchar.c' and `puts.c'. 10328: (util-files): Only contain `$(util-cfiles)'. 10329: 10330: * i386/util/NOTES: Remove file. 10331: * i386/util/anno.c: Likewise. 10332: * i386/util/anno.h: Likewise. 10333: * i386/util/cpu.h: Likewise. 10334: * i386/util/cpu_subs.h: Likewise. 10335: * i386/util/cpu_tables_init.c: Likewise. 10336: * i386/util/cpu_tables_load.c: Likewise. 10337: * i386/util/crtn.S: Likewise. 10338: * i386/util/debug.h: Likewise. 10339: * i386/util/gdt.c: Likewise. 10340: * i386/util/gdt.h: Likewise. 10341: * i386/util/gdt_sels.h: Likewise. 10342: * i386/util/i16/debug.h: Likewise. 10343: * i386/util/i16/i16.h: Likewise. 10344: * i386/util/i16/i16_die.c: Likewise. 10345: * i386/util/i16/i16_gdt_init_temp.c: Likewise. 10346: * i386/util/i16/i16_nanodelay.c: Likewise. 10347: * i386/util/i16/i16_puts.c: Likewise. 10348: * i386/util/i16/i16_writehex.c: Likewise. 10349: * i386/util/i386_asm.sym: Likewise. 10350: * i386/util/idt.c: Likewise. 10351: * i386/util/idt.h: Likewise. 10352: * i386/util/idt_inittab.S: Likewise. 10353: * i386/util/idt_inittab.h: Likewise. 10354: * i386/util/ldt.h: Likewise. 10355: * i386/util/trap.h: Likewise. 10356: * i386/util/trap_asm.sym: Likewise. 10357: * i386/util/trap_dump.c: Likewise. 10358: * i386/util/trap_dump_die.c: Likewise. 10359: * i386/util/trap_handler.S: Likewise. 10360: * i386/util/trap_return.S: Likewise. 10361: * i386/util/tss.c: Likewise. 10362: * i386/util/tss.h: Likewise. 10363: * i386/util/tss_dump.c: Likewise. 10364: * i386/util/vm_param.h: Likewise. 10365: 10366: * i386/pc/NOTES: Remove file. 10367: * i386/pc/debug.h: Likewise. 10368: * i386/pc/exit.c: Likewise. 10369: * i386/pc/gdt.h: Likewise. 10370: * i386/pc/gdt_sels.h: Likewise. 10371: * i386/pc/i16/i16_a20.c: Likewise. 10372: * i386/pc/i16/i16_a20.h: Likewise. 10373: * i386/pc/i16/i16_bios.h: Likewise. 10374: * i386/pc/i16/i16_exit.c: Likewise. 10375: * i386/pc/i16/i16_ext_mem.c: Likewise. 10376: * i386/pc/i16/i16_init.c: Likewise. 10377: * i386/pc/i16/i16_main.c: Likewise. 10378: * i386/pc/i16/i16_pic.c: Likewise. 10379: * i386/pc/i16/i16_putchar.c: Likewise. 10380: * i386/pc/i16/i16_raw.c: Likewise. 10381: * i386/pc/i16/i16_raw_test_a20.S: Likewise. 10382: * i386/pc/i16/i16_real_int.S: Likewise. 10383: * i386/pc/i16/i16_switch.h: Likewise. 10384: * i386/pc/i16/phys_mem_collect.c: Likewise. 10385: * i386/pc/i16/phys_mem_sources.h: Likewise. 10386: * i386/pc/i16/raw_exit.c: Likewise. 10387: * i386/pc/i16/raw_real_int.c: Likewise. 10388: * i386/pc/ipl.h: Likewise. 10389: * i386/pc/irq.h: Likewise. 10390: * i386/pc/irq_list.h: Likewise. 10391: * i386/pc/pc_asm.sym: Likewise. 10392: * i386/pc/phys_mem.h: Likewise. 10393: * i386/pc/phys_mem_add.c: Likewise. 10394: * i386/pc/pic.c: Likewise. 10395: * i386/pc/pic.h: Likewise. 10396: * i386/pc/putchar.c: Likewise. 10397: * i386/pc/real.h: Likewise. 10398: * i386/pc/real_tss.c: Likewise. 10399: * i386/pc/real_tss.h: Likewise. 10400: * i386/pc/real_tss_def.S: Likewise. 10401: * i386/pc/rv86/config.h: Likewise. 10402: * i386/pc/rv86/gdt_sels.h: Likewise. 10403: * i386/pc/rv86/idt_irq_init.c: Likewise. 10404: * i386/pc/rv86/rv86_real_int.c: Likewise. 10405: * i386/pc/rv86/rv86_real_int_asm.S: Likewise. 10406: * i386/pc/rv86/rv86_reflect_irq.S: Likewise. 10407: * i386/pc/rv86/rv86_trap_handler.S: Likewise. 10408: * i386/pc/rv86/trap_handler.S: Likewise. 10409: 10410: * i386/imps/Makefile.in: Remove file. 10411: * i386/imps/apic.h: Likewise. 10412: * i386/imps/cpu_number.h: Likewise. 10413: * i386/imps/cpus.h: Likewise. 10414: * i386/imps/imps.c: Likewise. 10415: * i386/imps/impsasm.sym: Likewise. 10416: 10417: * i386/dos/dos_buf.c: Remove file. 10418: * i386/dos/dos_check_err.c: Likewise. 10419: * i386/dos/dos_close.c: Likewise. 10420: * i386/dos/dos_fstat.c: Likewise. 10421: * i386/dos/dos_gettimeofday.c: Likewise. 10422: * i386/dos/dos_io.h: Likewise. 10423: * i386/dos/dos_open.c: Likewise. 10424: * i386/dos/dos_read.c: Likewise. 10425: * i386/dos/dos_rename.c: Likewise. 10426: * i386/dos/dos_seek.c: Likewise. 10427: * i386/dos/dos_tcgetattr.c: Likewise. 10428: * i386/dos/dos_unlink.c: Likewise. 10429: * i386/dos/dos_write.c: Likewise. 10430: * i386/dos/i16/gdt.h: Likewise. 10431: * i386/dos/i16/gdt_sels.h: Likewise. 10432: * i386/dos/i16/i16_crt0.S: Likewise. 10433: * i386/dos/i16/i16_crt0.h: Likewise. 10434: * i386/dos/i16/i16_dos.h: Likewise. 10435: * i386/dos/i16/i16_dos_mem.c: Likewise. 10436: * i386/dos/i16/i16_exit.c: Likewise. 10437: * i386/dos/i16/i16_main.c: Likewise. 10438: * i386/dos/i16/i16_putchar.c: Likewise. 10439: * i386/dos/i16/i16_vcpi.c: Likewise. 10440: * i386/dos/i16/i16_xms.c: Likewise. 10441: * i386/dos/i16/idt.h: Likewise. 10442: * i386/dos/i16/phys_mem_sources.h: Likewise. 10443: * i386/dos/putchar.c: Likewise. 10444: 10445: * chips/atm.c: Remove file. 10446: * chips/atmreg.h: Likewise. 10447: * chips/audio.c: Likewise. 10448: * chips/audio_config.h: Likewise. 10449: * chips/audio_defs.h: Likewise. 10450: * chips/bt431.c: Likewise. 10451: * chips/bt431.h: Likewise. 10452: * chips/bt455.c: Likewise. 10453: * chips/bt455.h: Likewise. 10454: * chips/bt459.c: Likewise. 10455: * chips/bt459.h: Likewise. 10456: * chips/bt478.c: Likewise. 10457: * chips/bt478.h: Likewise. 10458: * chips/build_font.c: Likewise. 10459: * chips/cfb_hdw.c: Likewise. 10460: * chips/cfb_misc.c: Likewise. 10461: * chips/dc503.c: Likewise. 10462: * chips/dc503.h: Likewise. 10463: * chips/dtop.h: Likewise. 10464: * chips/dtop_handlers.c: Likewise. 10465: * chips/dtop_hdw.c: Likewise. 10466: * chips/dz_7085.h: Likewise. 10467: * chips/dz_defs.h: Likewise. 10468: * chips/dz_hdw.c: Likewise. 10469: * chips/eccreg.h: Likewise. 10470: * chips/fb_hdw.c: Likewise. 10471: * chips/fb_misc.c: Likewise. 10472: * chips/fdc_82077.h: Likewise. 10473: * chips/fdc_82077_hdw.c: Likewise. 10474: * chips/frc.c: Likewise. 10475: * chips/ims332.c: Likewise. 10476: * chips/ims332.h: Likewise. 10477: * chips/isdn_79c30.h: Likewise. 10478: * chips/isdn_79c30_hdw.c: Likewise. 10479: * chips/kernel_font.c: Likewise. 10480: * chips/kernel_font.data: Likewise. 10481: * chips/lance.c: Likewise. 10482: * chips/lance.h: Likewise. 10483: * chips/lance_mapped.c: Likewise. 10484: * chips/lk201.c: Likewise. 10485: * chips/lk201.h: Likewise. 10486: * chips/mc_clock.c: Likewise. 10487: * chips/mc_clock.h: Likewise. 10488: * chips/mouse.c: Likewise. 10489: * chips/nc.c: Likewise. 10490: * chips/nc.h: Likewise. 10491: * chips/nw.h: Likewise. 10492: * chips/nw_mk.c: Likewise. 10493: * chips/nw_mk.h: Likewise. 10494: * chips/pm_defs.h: Likewise. 10495: * chips/pm_hdw.c: Likewise. 10496: * chips/pm_misc.c: Likewise. 10497: * chips/scc_8530.h: Likewise. 10498: * chips/scc_8530_hdw.c: Likewise. 10499: * chips/screen.c: Likewise. 10500: * chips/screen.h: Likewise. 10501: * chips/screen_defs.h: Likewise. 10502: * chips/screen_switch.c: Likewise. 10503: * chips/screen_switch.h: Likewise. 10504: * chips/serial_console.c: Likewise. 10505: * chips/serial_defs.h: Likewise. 10506: * chips/sfb_hdw.c: Likewise. 10507: * chips/sfb_misc.c: Likewise. 10508: * chips/spans.c: Likewise. 10509: * chips/spans.h: Likewise. 10510: * chips/tca100.c: Likewise. 10511: * chips/tca100.h: Likewise. 10512: * chips/tca100_if.c: Likewise. 10513: * chips/tca100_if.h: Likewise. 10514: * chips/vs42x_rb.h: Likewise. 10515: * chips/xcfb_hdw.c: Likewise. 10516: * chips/xcfb_misc.c: Likewise. 10517: * chips/xcfb_monitor.h: Likewise. 10518: * Makefile.in (chips-files): Only contain `busses.c' and `busses.h'. 10519: * kern/syscall_sw.c: Don't include <chips/nw_mk.h> anymore. 10520: 10521: * i386/i386at/asm_startup.h: Remove file. 10522: * i386/i386at/phys_mem_grab_page.c: Likewise. 10523: * i386/Makefile.in (i386at-files): Remove `phys_mem_grab_page.c'. 10524: 10525: * i386/bogus/evc.h: Remove file. 10526: * i386/i386at/kd.c: Don't include <evc.h> anymore and adapt all users 10527: of NEVC as if it were always defined to `0'. 10528: (evc1init): Remove definition and adapt all users as if it were always 10529: defined to `FALSE'. 10530: 10531: * i386/bogus/nscsi.h: Remove file. 10532: * i386/i386at/model_dep.c: Don't include <nscsi.h> anymore and adapt 10533: all users of NSCSI as if it were always defined to `0'. 10534: (use_all_mem): Don't define anymore and adapt all users as if it were 10535: always defined to `1'. 10536: (NBBY, NBPW, DMA_MAX): Remove macros. 10537: (alloc_dma_mem): Remove function. 10538: 10539: * i386/bogus/asc.h: Remove file. 10540: * i386/bogus/aha.h: Likewise. 10541: * i386/bogus/eaha.h: Likewise. 10542: * i386/bogus/sbic.h: Likewise. 10543: * i386/bogus/sci.h: Likewise. 10544: * i386/bogus/sii.h: Likewise. 10545: * i386/bogus/siop.h: Likewise. 10546: * i386/i386at/eisa.h: Likewise. 10547: * scsi/adapters/README: Likewise. 10548: * scsi/adapters/scsi_33C93.h: Likewise. 10549: * scsi/adapters/scsi_33C93_hdw.c: Likewise. 10550: * scsi/adapters/scsi_5380.h: Likewise. 10551: * scsi/adapters/scsi_5380_hdw.c: Likewise. 10552: * scsi/adapters/scsi_53C700.h: Likewise. 10553: * scsi/adapters/scsi_53C700_hdw.c: Likewise. 10554: * scsi/adapters/scsi_53C94.h: Likewise. 10555: * scsi/adapters/scsi_53C94_hdw.c: Likewise. 10556: * scsi/adapters/scsi_7061.h: Likewise. 10557: * scsi/adapters/scsi_7061_hdw.c: Likewise. 10558: * scsi/adapters/scsi_89352.h: Likewise. 10559: * scsi/adapters/scsi_89352_hdw.c: Likewise. 10560: * scsi/adapters/scsi_aha15.h: Likewise. 10561: * scsi/adapters/scsi_aha15_hdw.c: Likewise. 10562: * scsi/adapters/scsi_aha17_hdw.c: Likewise. 10563: * scsi/adapters/scsi_dma.h: Likewise. 10564: * scsi/adapters/scsi_user_dma.c: Likewise. 10565: * scsi/adapters/scsi_user_dma.h: Likewise. 10566: * scsi/compat_30.h: Likewise. 10567: * scsi/disk_label.c: Likewise. 10568: * scsi/mapped_scsi.c: Likewise. 10569: * scsi/mapped_scsi.h: Likewise. 10570: * scsi/pc_scsi_label.c: Likewise. 10571: * scsi/rz.c: Likewise. 10572: * scsi/rz.h: Likewise. 10573: * scsi/rz_audio.c: Likewise. 10574: * scsi/rz_cpu.c: Likewise. 10575: * scsi/rz_disk.c: Likewise. 10576: * scsi/rz_disk_bbr.c: Likewise. 10577: * scsi/rz_host.c: Likewise. 10578: * scsi/rz_labels.h: Likewise. 10579: * scsi/rz_tape.c: Likewise. 10580: * scsi/scsi.c: Likewise. 10581: * scsi/scsi.h: Likewise. 10582: * scsi/scsi2.h: Likewise. 10583: * scsi/scsi_alldevs.c: Likewise. 10584: * scsi/scsi_comm.c: Likewise. 10585: * scsi/scsi_cpu.c: Likewise. 10586: * scsi/scsi_defs.h: Likewise. 10587: * scsi/scsi_disk.c: Likewise. 10588: * scsi/scsi_endian.h: Likewise. 10589: * scsi/scsi_jukebox.c: Likewise. 10590: * scsi/scsi_optical.c: Likewise. 10591: * scsi/scsi_printer.c: Likewise. 10592: * scsi/scsi_rom.c: Likewise. 10593: * scsi/scsi_scanner.c: Likewise. 10594: * scsi/scsi_tape.c: Likewise. 10595: * scsi/scsi_worm.c: Likewise. 10596: * i386/i386at/autoconf.c: Don't include <aha.h> and <eaha.h> anymore 10597: and adapt all users of NAHA and NEAHA as if it were always defined to 10598: `0'. 10599: * i386/i386at/conf.c: Likewise. 10600: * Makefile.in (scsi-files): Remove variable and all users of it. 10601: 10602: * i386/bogus/wt.h: Remove file. 10603: * i386/i386at/autoconf.c: Don't include <wt.h> anymore and adapt all 10604: users of NWT as if it were always defined to `0'. 10605: * i386/i386at/conf.c: Likewise. 10606: 10607: * i386/bogus/hpp.h: Remove file. 10608: * i386/bogus/ul.h: Likewise. 10609: * i386/bogus/wd.h: Likewise. 10610: * i386/i386at/gpl/if_hpp.c: Likewise. 10611: * i386/i386at/gpl/if_ns.c: Likewise. 10612: * i386/i386at/gpl/if_nsreg.h: Likewise. 10613: * i386/i386at/gpl/if_ul.c: Likewise. 10614: * i386/i386at/gpl/if_wd.c: Likewise. 10615: * i386/i386at/autoconf.c: Don't include <hpp.h>, <ul.h> and <wd.h> 10616: anymore and adapt all users of NHPP, NUL and NWD as if they were always 10617: defined to `0'. 10618: * i386/i386at/conf.c: Likewise. 10619: 10620: * i386/bogus/at3c501.h: Remove file. 10621: * i386/i386at/if_3c501.c: Likewise. 10622: * i386/i386at/if_3c501.h: Likewise. 10623: * i386/i386at/autoconf.c: Don't include <at3c501.h> anymore and adapt 10624: all users of NAT3C501 as if it were always defined to `0'. 10625: * i386/i386at/conf.c: Likewise. 10626: 10627: * i386/bogus/ns8390.h: Remove file. 10628: * i386/i386at/ds8390.h: Likewise. 10629: * i386/i386at/if_3c503.h: Likewise. 10630: * i386/i386at/if_ns8390.c: Likewise. 10631: * i386/i386at/if_ns8390.h: Likewise. 10632: * i386/i386at/if_wd8003.h: Likewise. 10633: * i386/i386at/autoconf.c: Don't include <ns8390.h> anymore and adapt 10634: all users of NNS8390 as if it were always defined to `0'. 10635: * i386/i386at/conf.c: Likewise. 10636: 10637: * i386/bogus/ne.h: Remove file. 10638: * i386/i386at/if_ne.c: Likewise. 10639: * i386/i386at/if_nereg.h: Likewise. 10640: * i386/i386at/autoconf.c: Don't include <ne.h> anymore and adapt all 10641: users of NNE as if it were always defined to `0'. 10642: * i386/i386at/conf.c: Likewise. 10643: 10644: * i386/bogus/pc586.h: Remove file. 10645: * i386/i386at/i82586.h: Likewise. 10646: * i386/i386at/if_pc586.c: Likewise. 10647: * i386/i386at/if_pc586.h: Likewise. 10648: * i386/i386at/autoconf.c: Don't include <pc586.h> anymore and adapt all 10649: users of NPC586 as if it were always defined to `0'. 10650: * i386/i386at/conf.c: Likewise. 10651: 10652: * i386/bogus/fd.h: Remove file. 10653: * i386/i386at/fd.c: Likewise. 10654: * i386/i386at/fdreg.h: Likewise. 10655: * i386/i386at/nfd.c: Likewise. 10656: * i386/i386at/nfdreg.h: Likewise. 10657: * i386/Makefile.in (i386at-files): Remove `fd.c'. 10658: * i386/i386at/autoconf.c: Don't include <fd.h> anymore and adapt all 10659: users of NFD as if it were always defined to `0'. 10660: * i386/i386at/conf.c: Likewise. 10661: 10662: * i386/bogus/hd.h: Remove file. 10663: * i386/i386at/nhd.c: Likewise. 10664: * i386/i386at/nhdreg.h: Likewise. 10665: * i386/i386at/autoconf.c: Don't include <hd.h> anymore and adapt all 10666: users of NHD as if it were always defined to `0'. 10667: * i386/i386at/conf.c: Likewise. 10668: 10669: * DEVELOPMENT: New file. 10670: 10671: 2006-02-05 Thomas Schwinge <[email protected]> 10672: 10673: * Makerules.in: Don't set no_deps to true if MAKECMDGOALS is empty. 10674: 10675: 2006-02-03 Thomas Schwinge <[email protected]> 10676: 10677: * Makerules.in: Set no_deps to true if we don't need the dependency 10678: files. 10679: * i386/linux/Makefile.in: Do care about linux-flags if no_deps is true; 10680: reverting the change from 2006-01-31. 10681: 10682: * Makefile.in: Include Makerules through top_builddir, so that it will 10683: automatically be rebuilt if needed. 10684: 10685: * Makerules.in (CFLAGS): Added -fno-strict-aliasing. 10686: * i386/linux/Makefile.in (linux-gen-flags): Likewise. 10687: 10688: 2006-02-02 Sergio Lopez <[email protected]> 10689: 10690: * linux/src/drivers/scsi/eata_pio.c (eata_pio_detect): Fix a 10691: off-by-one error when probing. 10692: * linux/src/drivers/scsi/eata_dma.c (eata_detect): Likewise. 10693: * linux/dev/drivers/scsi/eata_dma.c (eata_detect): Likewise. 10694: 10695: * linux/src/drivers/net/apricot.c (apricot_probe): Increase eth_addr 10696: size to 8 so we do not trash the stack when reading from the io ports. 10697: 10698: 2006-02-02 Thomas Schwinge <[email protected]> 10699: 10700: * Makerules.in: Move a comment ... 10701: * Makefile.in: ... here. 10702: 10703: 2006-02-01 Thomas Schwinge <[email protected]> 10704: 10705: * linux/dev/drivers/block/genhd.c (add_bsd_partition): Only define if 10706: both MACH and CONFIG_BSD_DISKLABEL are defined. 10707: Reported by Matheus Morais <[email protected]>. 10708: 10709: 2006-01-31 Thomas Schwinge <[email protected]> 10710: 10711: Cleanup of GNU Mach's build system. The system dependent parts are now 10712: handled by the respective Makefile and no longer by the top-level one. 10713: 10714: * configure, i386/configure, i386/linux/configure, linux/configure: 10715: Regenerated. 10716: 10717: * Makefile.in: Various cleanups. 10718: (mach/machine, mach_machine): Targets removed. 10719: (AWK, CC, CFLAGS, CPPFLAGS, DEFINES, INCLUDES, INSTALL, INSTALL_DATA) 10720: (INSTALL_PROGRAM, LD, MIG, MIGFLAGS, NM): Variables moved into 10721: Makerules.in. 10722: Do not include $(sysdep)/Makefrag anymore. 10723: (all, check, clean, distclean, mostlyclean, maintainer-clean, install) 10724: (install-headers, install-kernel): Recurse into the system dependent 10725: subdirectory. 10726: (check): Add a basic test using mbchk. 10727: (clean, distclean): Be more explicit in what to delete. 10728: ($(systype)/%): New target. 10729: (kernel.o): Incorporate the system dependent archive. 10730: (installed-sysdep-headers-names, $(installed-sysdep-headers-names)): 10731: Variable and target moved into the system dependent Makefile.in. 10732: (install-headers, mkheaderdirs): Don't care for the system dependent 10733: header files. 10734: (%.symc, %.symc.o, %.h, %_user.c, %_interface.h, %_server.c): Targets 10735: moved into Makerules.in. 10736: Inclusion of dependency files: Likewise. 10737: (%.migs_d, %.migu_d, %.migsh_d, %.miguh_d, make-deps, %.d): Likewise. 10738: Include Makerules. 10739: * Makerules.in: New file, mainly based on Makefile.in. 10740: * configure.in: Do not substitute cross_compiling and not explicitly 10741: substitute LDFLAGS. 10742: Check for cpp, ranlib, ar and mbchk. 10743: Care for the mach/machine symbolic link. 10744: Add Makerules as a config file. 10745: * i386/Makefile.in: Various cleanups. 10746: Merge i386/Makefrag and the system dependent stuff from Makefile.in 10747: into this file. 10748: (all, check, install, install-headers, install-kernel): Recurse into 10749: the system dependent subdirectory. 10750: (sysdep.o): transformed to the new target sysdep.a. 10751: (linux/linux.o): Target removed. 10752: (clean, distclean): Be more explicit in what to delete. 10753: (linux/%): New target. 10754: (install-headers): Install the system dependent header files. 10755: (mkheaderdirs): New target. 10756: Include the top-level Makerules. 10757: * i386/Makefrag: File removed. 10758: * i386/Makerules.in: New file. 10759: * i386/configure.in: Synchronize AC_INIT to the top-level definition. 10760: Do not check for ld and make. 10761: Add Makerules as a config file. 10762: * i386/linux/Makefile.in: Various cleanups. 10763: Replace linux-objs with objfiles. 10764: (check, install, install-headers, install-kernel): New empty targets. 10765: Don't care about linux-flags if no_deps is true. 10766: Inclusion of dependency files removed and instead... 10767: Include the top-level Makerules. 10768: * i386/linux/Makerules.in: New file. 10769: * i386/linux/configure.ac: Synchronize AC_INIT to the top-level 10770: definition. 10771: Do not check for gcc and ld. 10772: Do not explicitly substitute LDFLAGS. 10773: Add Makerules as a config file. 10774: * linux/configure.in: Synchronize AC_INIT to the top-level definition. 10775: Do not create directories using a dummy file. 10776: * linux/dummy.in: File removed. 10777: 10778: * ddb/db_access.h: Include <machine/vm_param.h> instead of 10779: "vm_param.h". 10780: * kern/bootstrap.c: Likewise. 10781: * kern/thread.c: Likewise. 10782: * vm/vm_kern.c: Likewise. 10783: * vm/vm_object.c: Likewise. 10784: * vm/vm_resident.c: Likewise. 10785: 10786: 2006-01-26 Thomas Schwinge <[email protected]> 10787: 10788: * config.guess: Updated from the canonical source. 10789: * config.sub: Likewise. 10790: 10791: 2006-01-26 Jeroen Dekkers <[email protected]> 10792: 10793: * i386/i386/locore.S (trap_push_segs): Switch fs and gs to kernel 10794: data segment too. 10795: (syscall_entry_2): Likewise. 10796: * i386/i386/user_ldt.c (i386_set_ldt): Always copy the master LDT 10797: when there is no old user LDT. 10798: 10799: 2006-01-26 Samuel Thibault <[email protected]> 10800: 10801: * linux/dev/arch/i386/kernel/irq.c (linux_intr): Disable interrupts 10802: if the driver requested it through request_irq(). 10803: 10804: * linux/dev/drivers/block/ide.c (read_intr): Set the IRQ handler before 10805: issuing a request. 10806: (write_intr): Likewise. 10807: (multwrite_intr): Likewise. 10808: 10809: 2006-01-26 Thomas Schwinge <[email protected]> 10810: 10811: * i386/linux/Makefile.in: Automatically recreate the `Makefile'. 10812: 10813: 2006-01-23 Thomas Schwinge <[email protected]> 10814: 10815: * i386/linux/configure: Regenerated. 10816: 10817: * i386/linux/configure.ac: Only add a AC_DRIVER_ALIAS if it really is a 10818: alias. 10819: 10820: 2006-01-22 Thomas Schwinge <[email protected]> 10821: 10822: * doc/mach.texi (Configuration): Document the recently added drivers. 10823: * i386/README-Drivers: Likewise. 10824: 10825: * configure, i386/configure, i386/linux/configure, linux/configure, 10826: i386/linux/device-drivers.h.in: Regenerated. 10827: 10828: * linux/src/drivers/net/ne2k-pci.c: Resolve conflicts. 10829: 10830: 2006-01-22 Guillem Jover <[email protected]> 10831: 10832: * i386/linux/configure.ac: Renamed winbond-840 driver to winbond_840. 10833: Enable the starfire, intel_gige and natsemi network drivers. Remove 10834: "CONFIG_" from cb_chim, starfire, sundance, winbond840, hamachi, 10835: natsemi, myson803 and ns820 driver declarations. Replace INTER_GIGE 10836: with INTEL_GIGE. 10837: * linux/dev/drivers/net/Space.c: Add conditional probes for natsemi, 10838: ns820, winbond840, hamachi, sundance, starfire, myson803 and intel-gige 10839: drivers. 10840: 10841: * linux/src/include/asm-i386/cache.h: New file from linux 2.2.26. 10842: * linux/dev/include/linux/malloc.h: Include <asm/cache.h>. 10843: 10844: * linux/src/drivers/net/ns820.c (netsami_drv_id): Renamed to ... 10845: (ns820_drv_id): ... this. Fix all callers. 10846: * linux/src/drivers/net/intel-gige.c 10847: (skel_netdev_probe): Renamed to ... 10848: (igige_probe): ... this. 10849: * linux/dev/drivers/net/eepro100.c: Remove obsoleted file. 10850: * linux/src/drivers/net/eepro100.c (pci_id_tbl): Add PCI ID's from 10851: linux-2.6.14-rc4. 10852: 10853: 2006-01-22 Alfred M. Szmidt <[email protected]> 10854: 10855: * i386/linux/configure.ac: Added `pci-scan.o' to the network driver 10856: class. (ns820, myson803, sundance, winbond-840, hamachi): New drivers. 10857: * i386/linux/Makefile.in (linux-net-files): Added `cb_shim.c', 10858: `hamachi.c', `intel-gige.c', `myson803.c', `natsemi.c', `ns820.c', 10859: `starfire.c', `sundance.c', `winbond-840.c' and `pci-scan.c'. 10860: 10861: * linux/dev/include/linux/modversions.h: New file. 10862: 10863: * linux/src/drivers/net/cb_shim.c, linux/src/drivers/net/hamachi.c, 10864: linux/src/drivers/net/intel-gige.c, linux/src/drivers/net/myson803.c, 10865: linux/src/drivers/net/natsemi.c, linux/src/drivers/net/ns820.c, 10866: linux/src/drivers/net/starfire.c, linux/src/drivers/net/sundance.c, 10867: linux/src/drivers/net/winbond-840.c, 10868: linux/src/drivers/net/kern_compat.h, linux/src/drivers/net/pci-scan.c, 10869: linux/src/drivers/net/pci-scan.h: New files from netdrivers 3.5 package 10870: (http://www.scyld.com/network). 10871: 10872: * linux/src/drivers/net/3c59x.c, linux/src/drivers/net/eepro100.c, 10873: linux/src/drivers/net/epic100.c, linux/src/drivers/net/ne2k-pci.c, 10874: linux/src/drivers/net/rtl8139.c, linux/src/drivers/net/tulip.c, 10875: linux/src/drivers/net/via-rhine.c, linux/src/drivers/net/yellowfin.c: 10876: Updated files from netdrivers 3.5 (http://www.scyld.com/network). 10877: 10878: 2006-01-22 Thomas Schwinge <[email protected]> 10879: 10880: * linux/src/drivers/net/ne2k-pci.c (ne_block_input, ne_block_output): 10881: Fix previous patch. 10882: 10883: 2005-07-12 Guillem Jover <[email protected]> 10884: 10885: * configure: Regenerated. 10886: * i386/configure: Regenerated. 10887: 10888: * Drivers.macros (AC_DRIVER_CLASS): Use AH_TEMPLATE. 10889: (AC_DRIVER): Set the value for the AC_DEFINE and AC_DEFINE_UNQUOTED 10890: to 1. 10891: 10892: * aclocal.m4 (AC_PROG_CC_LOCAL, AC_PROG_CC_WORKS_LOCAL): Removed. 10893: * version.m4: New file. 10894: * Makefile.in: Use PACKAGE_VERSION, not VERSION. 10895: * doc/Makefile.in: Likewise. 10896: * version.c.in: Likewise. Use PACKAGE_NAME, not "GNUmach". 10897: * i386/linux/Makefile.in (configure): Change its source to 10898: configure.ac. 10899: 10900: * aclocal.m4: Add missing quotations. 10901: * Drivers.macros: Likewise. 10902: * configure.in: Likewise. Include version.m4 and use PACKAGE and 10903: VERSION m4 macros from it. 10904: * i386/configure.in: Likewise. 10905: (AC_INIT): Use new syntax and move source check to AC_CONFIG_SRCDIR. 10906: * i386/linux/configure.ac: Likewise. Use m4_sinclude, not sinclude. 10907: * linux/configure.in: Likewise. 10908: 10909: * i386/configure.in: Update AC_DEFINE to the new three argument form. 10910: * i386/linux/configure.ac: Move AC_DEFINE inside AC_ARG_ENABLE. 10911: 10912: * configure.in: Use AC_CONFIG_LINKS, not AC_LINK_FILES. 10913: * linux/configure.in: Likewise. 10914: 10915: * i386/configure.in: Call AC_CONFIG_FILES and use the new form of 10916: AC_OUTPUT. 10917: * i386/linux/configure.ac: Likewise. 10918: * linux/configure.in: Likewise 10919: 10920: * configure.in: Use AS_HELP_STRING in AC_ARG_ENABLE help strings. 10921: * Drivers.macros: Likewise. 10922: * i386/configure.in: Likewise. 10923: * i386/linux/configure.ac: Likewise. 10924: 10925: 2005-07-12 Neal H. Walfield <[email protected]> 10926: 10927: * configure.in: Update to use autoconf 2.57. 10928: Do not error out if host_os is not GNU. 10929: Update AC_DEFINEs to the required three argument form. 10930: Don't call AC_CHECK_TOOL(CC, gcc) and AC_PROG_CC_LOCAL, just use 10931: AC_PROG_CC. 10932: AC_SUBST(LDFLAGS). 10933: Refactor AC_CONFIG_SUBDIRS to not do variable substitution. 10934: Call AC_CONFIG_FILES and use the new form of AC_OUTPUT. 10935: * i386/configure.in: Require autoconf 2.57. 10936: * linux/configure.in: Likewise. 10937: * i386/linux/Drivers.in: Move from here... 10938: * i386/linux/configure.ac: ... to here to conform to the 10939: environment autoreconf expects. 10940: (hurd_host_CPU): New macro. 10941: Call AC_PROG_CC, not AC_PROG_CC_LOCAL. 10942: AC_SUBST(LD_FLAGS). 10943: (flashpoint): Update AC_DEFINE to the new three argument form. 10944: * Drivers.macros (AC_DRIVER): Update AC_DEFINE to the new three 10945: argument form. 10946: 10947: 2005-05-24 Alfred M. Szmidt <[email protected]> 10948: 10949: * i386/include/mach/i386/asm.h (END): New macro. 10950: 10951: * i386/include/mach/i386/syscall_sw.h (kernel_trap): Call END. 10952: 10953: 2005-05-28 Alfred M. Szmidt <[email protected]> 10954: 10955: * linux/src/drivers/scsi/u14-34f.c (ihdlr): Silence gcc 4.x 10956: errors. 10957: * linux/src/drivers/scsi/qlogicisp.h: Likewise. 10958: * linux/src/drivers/scsi/advansys.c: Likewise. 10959: (advansys_reset, advansys_interrupt, asc_scsi_done_list, 10960: (asc_enqueue, asc_dequeue, asc_dequeue_list, asc_rmqueue, 10961: (asc_isqueued): Likewise. 10962: * linux/src/drivers/scsi/53c78xx.c (NCR53c7xx_queue_command): 10963: Likewise. 10964: * linux/src/drivers/net/ne2k-pci.c (ne_block_input) 10965: (ne_block_output): Likewise. 10966: * linux/src/drivers/net/hp100.c (__initfunc): Likewise. 10967: * linux/src/drivers/net/3c507.c (el16_interrupt): Likewise. 10968: * linux/dev/drivers/scsi/seagate.c (seagate_st0x_queue_command): 10969: Likewise. 10970: 10971: 2005-05-26 Alfred M. Szmidt <[email protected]> 10972: 10973: * device/cons.h (cn_tab) [KERNEL]: Removed extern declaration. 10974: 10975: * linux/dev/include/linux/fs.h (super_blocks): Declare as an 10976: pointer. 10977: 10978: 2005-02-10 Guillem Jover <[email protected]> 10979: 10980: * linux/dev/glue/block.c (rdwr_partial): Remove leftover assert. 10981: 10982: 2005-01-22 Guillem Jover <[email protected]> 10983: 10984: * linux/dev/include/linux/skbuff.h (skb_put, skb_push): Fix errors 10985: for deprecated use of labels at end of compound statements. 10986: * i386/i386/fpe_linkage.c (enable_fpe): Declare prototype. 10987: 10988: 2005-01-22 Guillem Jover <[email protected]> 10989: 10990: * linux/src/drivers/scsi/qlogicisp_asm.c: Remove file with binary 10991: only firmware. 10992: * linux/src/drivers/scsi/qlogicisp.c: Do not include "qlogicisp_asm.c". 10993: (RELOAD_FIRMWARE): Set to 0. 10994: (risc_code_addr01): New variable from qlogicisp_asm.c. 10995: * linux/Files: Remove linux/src/drivers/scsi/qlogicisp_asm.c. 10996: 10997: 2004-09-08 Neal H. Walfield <[email protected]> 10998: 10999: * linux/dev/kernel/printk.c: Include <kern/assert.h>. 11000: (printk): Use vsnprintf, not linux_vsprintf to avoid buffer 11001: overruns. 11002: 11003: * kern/printf.c (struct vsnprintf_cookie): New structure. 11004: (snputc): New function. 11005: (vsnprintf): Likewise. 11006: 11007: 2004-11-22 Guillem Jover <[email protected]> 11008: 11009: * bogus/mach_assert.h: Change #ifdef DEBUG to #ifndef NDEBUG 11010: for assert et al. 11011: * kern/assert.h: Likewise. 11012: * kern/debug.h: Likewise. 11013: * util/debug.h: Likewise. 11014: 11015: * i386/i386/debug.h: Move dump_ss definition out of [DEBUG]. 11016: * linux/dev/glue/block.c (rdwr_full): Remove invalid assert. 11017: 11018: 2004-09-07 Neal H. Walfield <[email protected]> 11019: 11020: * linux/dev/glue/block.c (__brelse): Unconditionally kfree BH. 11021: (getblk): Unconditionally kalloc BH. 11022: 11023: * kern/kalloc.c [!NDEBUG] (kalloc_init_called): New static 11024: variable. 11025: (kalloc_init): Assert that kalloc_init_called is zero. 11026: [! NDEBUG] Set kalloc_init_called to 1 on success. 11027: (kalloc): Assert that kalloc_init_called is non-zero. 11028: (kget): Likewise. 11029: (kfree): Likewise. 11030: 11031: 2004-11-22 Guillem Jover <[email protected]> 11032: 11033: * i386/i386/locore.S (discover_x86_cpu_type): Enable function. 11034: Enable ID flag for Cyrix CPU. Use %ebp to save the stack pointer. 11035: Restore EFLAGS just after its last usage. 11036: * i386/i386at/model_dep.c (c_boot_entry): Enable use of 11037: discover_x86_cpu_type. Remove hardcoded cpu_type assignment. 11038: * i386/include/mach/i386/eflags.h 11039: (EFL_VI, EFL_VIP): New bits. 11040: (EFL_AC, EFL_ID): Bits finally added. 11041: 11042: 2004-10-26 Guillem Jover <[email protected]> 11043: 11044: * i386/i386/fpe.b: Remove binary without source. 11045: * i386/i386/fpe.b_elf: Likewise. 11046: * i386/i386/fpe_linkage.c: Disable the code if [! FPE]. 11047: * i386/bogus/fpe.h: Add comment about not having an fpe implementation. 11048: * i386/Makefrag (objfiles): Do not add fpe.o. 11049: Remove targets to generate fpe.o. 11050: 11051: 2004-02-29 Marcus Brinkmann <[email protected]> 11052: 11053: * NEWS: Add things that changed so far since 1.3. 11054: 11055: 2004-02-02 Marco Gerards <[email protected]> 11056: 11057: * i386/i386at/kd.c (kdinit): Initialize the input buffer. 11058: 11059: * i386/i386at/kd.h (KDSETLEDS): New macro. 11060: * i386/i386at/kd_event.c (kbdsetstat): Handle KDSETLEDS here to 11061: set the keyboard LEDs state. 11062: 11063: 2004-01-19 Marco Gerards <[email protected]> 11064: 11065: * linux/dev/glue/block.c (init_partition): Don't check for BSD 11066: partitions if the DOS partition is too small. 11067: 11068: 2004-01-16 Marco Gerards <[email protected]> 11069: 11070: * linux/dev/glue/block.c (device_get_status): Correctly calculate 11071: the number of blocks. 11072: 11073: 2004-01-15 Alfred M. Szmidt <[email protected]> 11074: 11075: * linux/dev/include/asm-i386/string.h (memscan): Don't use 11076: multi-line string literals for asm(). 11077: * linux/dev/include/asm-i386/segment.h (__generic_memcpy_tofs) 11078: (__generic_memcpy_fromfs): Likewise. 11079: * linux/src/include/asm-i386/floppy.h (floppy_hardint): Likewise. 11080: * i386/i386/proc_reg.h (flush_instr_queue): Likewise. 11081: * i386/i386/gdt.c (gdt_init): Likewise. 11082: 11083: * linux/src/drivers/scsi/aic7xxx.c: Updated from Linux 2.0.39 11084: * linux/src/drivers/scsi/aic7xxx.h: Likewise. 11085: * linux/src/drivers/scsi/aic7xxx_proc.c: Likewise. 11086: * linux/src/drivers/scsi/scsicam.c: Likewise. 11087: * linux/src/include/linux/pci.h: Likewise. 11088: 11089: * linux/src/drivers/scsi/53c7,8xx.h (patch_dsa_32): Don't use 11090: token paste operator (##). 11091: 11092: * Makefile.in (kernel-undef): Match new output format from 11093: nm (binutils) 2.14.x. 11094: 1.1.1.5 root 11095: 2002-05-27 Roland McGrath <[email protected]> 11096: 11097: * Version 1.3 released. 11098: 11099: 2002-05-23 Marcus Brinkmann <[email protected]> 11100: 11101: * i386/i386at/model_dep.c: Include <kern/cpu_number.h> and 11102: <kern/assert.h>. 11103: (machine_idle): New function. 11104: * bogus/power_save.h (POWER_SAVE): Define to 1. 11105: 11106: 2002-05-22 Roland McGrath <[email protected]> 11107: 11108: * configure.in (VERSION): New substituted variable: set to 1.3 now. 11109: (version.c): Add it to AC_OUTPUT. 11110: * configure: Regenerated. 11111: * Makefile.in (version): New variable, set from that. 11112: Remove vpath directive for version.c, not found in build dir. 11113: (topfiles): version.c -> version.c.in 11114: * doc/Makefile.in (mach-version): Substituted instead of constant. 11115: * version.c: File removed, replaced with ... 11116: * version.c.in: ... this new file. 11117: (version): Make it const. Use @VERSION@ for the number. 11118: 11119: * Makefile.in (debian-files): Add postinst and prerm. 11120: (dist): Use gzip -9 instead of tar z. 11121: 11122: * linux/Files: Add missing files to the list: 11123: linux/dev/drivers/net/eepro100.c 11124: linux/src/include/asm-i386/hardirq.h 11125: linux/src/include/asm-i386/spinlock.h 11126: linux/src/include/linux/compatmac.h 11127: linux/src/include/linux/spinlock.h 11128: 11129: * linux/src/drivers/net/eth16i.c (eth16i_check_signature): Fix syntax: 11130: #ifdef 0 -> #if 0 11131: 11132: * Makefile.in (%.migs_d, %.migu_d): Fix sed substitution to match 11133: whatever target file name gcc comes up with. 11134: (%.migs_d, %.migu_d, %.symc.o, %_user.c, %_server.c): 11135: Depend on $(before-compile). 11136: 11137: 2002-04-24 Marcus Brinkmann <[email protected]> 11138: 11139: * debian/rules (DOCDIR): Move to 11140: $(PREFIX)/share/doc/$(package-dev). 11141: 11142: 2002-04-23 Roland McGrath <[email protected]> 11143: 11144: * i386/i386/ldt.c (ldt_init): Fix fencepost error in segment limits. 11145: 11146: 2002-04-19 Roland McGrath <[email protected]> 11147: 11148: * gensym.awk: Emit \n\ at the end of lines inside strings. 11149: * Makefile.in (%.symc: %.sym): Depend on gensym.awk. 11150: 11151: 2002-03-29 Marcus Brinkmann <[email protected]> 11152: 11153: * doc/mach.texi: End index entry with full stop. 11154: 11155: 2002-03-05 Roland McGrath <[email protected]> 11156: 11157: * kern/bootstrap.c: Include <alloca.h>. 11158: 11159: 2002-03-04 Roland McGrath <[email protected]> 11160: 11161: * Makefile.in (%_interface.h %_server.c: %.srv): Pass -sheader switch 11162: to mig, not -header. 11163: 11164: 2001-11-23 Roland McGrath <[email protected]> 11165: 11166: * i386/i386at/i386at_ds_routines.c (device_deallocate): Do nothing if 11167: argument is DEVICE_NULL. 11168: 11169: 2001-10-21 Marcus Brinkmann <[email protected]> 11170: 11171: * linux/src/arch/i386/lib/delay.c: Convert HTML entities. 11172: Reported by John Tobey <[email protected]>. 11173: 11174: 2001-10-13 Marcus Brinkmann <[email protected]> 11175: 11176: * debian/changelog: Update for next release. 11177: 11178: 2001-10-07 Roland McGrath <[email protected]> 11179: 11180: * ddb/db_access.c: Fix obsolescent #else/#endif syntax. 11181: * device/dev_name.c: Likewise. 11182: * device/dev_pager.c: Likewise. 11183: * device/ds_routines.c: Likewise. 11184: * i386/i386/i386asm.sym: Likewise. 11185: * include/device/device_reply.defs: Likewise. 11186: * include/mach/memory_object.defs: Likewise. 11187: * include/mach/memory_object_default.defs: Likewise. 11188: 11189: * i386/i386/locore.S: Fix sloppy asm syntax to avoid warnings from 11190: newer assembler (%ecx -> %cl in byte insns). 11191: 11192: * kern/bootstrap.c (bootstrap_create): Fix inverted test logic for 11193: compatibility case. Ignore trailing newlines after space for 11194: compatibility detection. 11195: Reported by Neal H Walfield <[email protected]>. 11196: 11197: 2001-10-06 Marcus Brinkmann <[email protected]> 11198: 11199: * README: Replace `GNU mach' by `GNU Mach', and remove 11200: obsolete paragraph about kmsg device. 11201: 11202: 2001-10-06 Marcus Brinkmann <[email protected]> 11203: 11204: * doc/mach.texi: Fix direntry. 11205: 11206: 2001-10-05 Marcus Brinkmann <[email protected]> 11207: 11208: * doc/mach.texi: Replace `path name' by `file name' in one place. 11209: Replace `illegal' by `invalid' and `to to' by `to' everwhere. 11210: 11211: * debian/changelog: Prepare for next release. 11212: 11213: 2001-10-04 Marcus Brinkmann <[email protected]> 11214: 11215: * doc: New directory. 11216: * doc/Makefile.in: New file. 11217: * doc/gpl.texi: Likewise. 11218: * doc/fdl.texi: Likewise. 11219: * doc/mach.texi: Likewise. 11220: * configure.in: Add doc/Makefile to AC_OUTPUT call. 11221: * configure: Regenerated. 11222: 11223: * Makefile.in (dist): Create directories doc and debian. 11224: (doc-files): New variable with documentation files. 11225: (debian-files): New variable with Debian packaging files. 11226: 11227: * debian/rules (stamp-build): Build documentation. 11228: (build-gnumach): Install the documentation into the gnumach 11229: package. 11230: * debian/postrm: New file to install info document. 11231: * debian/prerm: New file to install info document. 11232: 11233: 2001-10-01 Marcus Brinkmann <[email protected]> 11234: 11235: * i386/i386/locore.S (tenmicrosec): Remove subroutine. 11236: * i386/i386/pit.c (delaycount): Remove global variable. 11237: (microdata): Likewise. 11238: (clkstart): Do not call findspeed() and microfind(). 11239: (findspeed): Remove function. 11240: (spinwait): Likewise. 11241: (microfind): Likewise. This function triggers a division by zero 11242: trap on AMD K6 350Mhz+ and Athlon 1.1GHz+ machines (and in general 11243: leads to bad results on fast cpus), and nothing uses this code anymore. 11244: 11245: 2001-09-30 Roland McGrath <[email protected]> 11246: 11247: * kern/bootstrap.c (bootstrap_create): Ignore trailing spaces when 11248: checking boot module string for containing none. 11249: 11250: 2001-09-18 Marcus Brinkmann <[email protected]> 11251: 11252: * linux/dev/glue/misc.c: Do not include <linux/types.h> and 11253: <linux/string.h>. 11254: Remove global variable ___strtok. 11255: Remove implementation of strspn, strpbrk, strtok and strstr. 11256: * Makefile.in: Add strpbrk and strtok. 11257: 11258: 2001-08-24 Roland McGrath <[email protected]> 11259: 11260: * kern/bootstrap.c (bootstrap_create): Make setting of boot-args and 11261: root-device no longer conditional on [! OSKIT_MACH]. 11262: (bootstrap_create) [! OSKIT_MACH]: Parse FOO=BAR words out of the 11263: multiboot command line and turn those into boot script variables. 11264: 11265: * Makefile.in (clib-routines): Add strsep. 11266: * kern/strings.h (strsep, strchr): Declare them. 11267: 11268: 2001-08-23 Roland McGrath <[email protected]> 11269: 11270: * kern/bootstrap.c (bootstrap_create, user_bootstrap, 11271: boot_script_exec_cmd, boot_script_task_resume): Add printfs at 11272: various stages of startup. 11273: 11274: 2001-08-21 Roland McGrath <[email protected]> 11275: 11276: * i386/i386at/model_dep.c (use_all_mem): Turn variable into macro. 11277: (init_alloc_aligned): Make this function static. 11278: Initially skip memory < 16MB and then wrap around to get it last. 11279: 11280: 2001-08-20 Roland McGrath <[email protected]> 11281: 11282: Support "boot script" functionality in multiboot module strings. 11283: * kern/bootstrap.c: Rewrite merged from oskit-branch. 11284: * kern/boot_script.c, kern/boot_script.h: New files, 11285: copied from boot/ directory in Hurd sources. 11286: * Makefile.in (kern-cfiles): Add boot_script.c here. 11287: (kern-files): Add boot_script.h here. 11288: * NEWS: Mention the new feature. 11289: 11290: 2001-08-18 Roland McGrath <[email protected]> 11291: 11292: * i386/i386at/model_dep.c (boot_info): Define a struct, not a pointer. 11293: (c_boot_entry): Copy the contents into it rather than setting the ptr. 11294: (c_boot_entry, init_alloc_aligned, pmap_valid_page, mem_size_init): 11295: Update uses. 11296: (init_alloc_aligned): Don't need to skip the boot_info memory. 11297: * kern/bootstrap.c (boot_info): Update decl. 11298: (bootstrap_create): Update uses. 11299: 11300: 2001-08-18 Marcus Brinkmann <[email protected]> 11301: 11302: * linux/src/drivers/net/eepro100.c: File updated to version in 11303: Linux 2.2.19. This time for real. 11304: 11305: 2001-08-18 Marcus Brinkmann <[email protected]> 11306: 11307: * debian/changelog: Update for next package upload. 11308: * debian/control: Add gnumach-dbg package. 11309: * debian/rules: New targets to build gnumach-dbg package. 11310: Fix various bugs. 11311: 11312: 2001-08-18 Marcus Brinkmann <[email protected]> 11313: 11314: * i386/i386at/kd.c (kdintr): In event mode, make it so that 11315: 0xE0 scancodes are received. 11316: From Kalle Olavi Niemitalo <[email protected]>. 11317: 11318: * i386/i386at/kd.h: New constants KAX_REVERSE, KAX_UNDERLINE, 11319: KAX_BLINK, KAX_BOLD, KAX_DIM, KAX_INVISIBLE, KAX_COL_UNDERLINE, 11320: KAX_COL_DIM. 11321: * i386/i386at/kd.c: Increase K_MAXESC to 32. 11322: New global variable color_table to map color values. 11323: New globals kd_color and kd_attrflags. 11324: (kdinit): Initialize these variables. 11325: (kd_update_kd_attr): New function. 11326: (kd_parserest): Redone to support more terminal attributes, 11327: including colors. 11328: 11329: 2001-08-18 Marcus Brinkmann <[email protected]> 11330: 11331: * linux/src/drivers/net/eepro100.c: File updated to version in 11332: Linux 2.2.19. 11333: * linux/src/include/asm-i386/spinlock.h: New file from Linux 2.2.19. 11334: * linux/src/include/asm-i386/hardirq.h: Likewise. 11335: * linux/src/include/linux/spinlock.h: Likewise. 11336: * linux/src/include/linux/compatmac.h: Likewise. 1.1.1.6 root 11337: * linux/dev/drivers/net/eepro100.c: New file, modified version from 11338: the above to glue it in gnumach. 11339: Submitted by Kapil H. Paranjape <[email protected]>. 1.1.1.5 root 11340: 11341: 2001-08-17 Roland McGrath <[email protected]> 11342: 11343: * Makefile.in (clib-routines): Add strchr. 11344: (kernel-undef-bad): Depend on Makefile. 11345: 11346: * Makefile.in ($(srcdir)/configure, $(srcdir)/config.h.in): 11347: Use $(srcdir) in deps. 11348: (Makefile, config.h, config.status): Likewise. 11349: 11350: 2001-07-29 Marcus Brinkmann <[email protected]> 11351: 11352: * NEWS: Add items for this and other changes. 11353: * configure.in: Define MACH_KMSG by default and document this in 11354: the help output. 11355: * configure: Regenerated. 11356: * debian/rules: Do not enable kmsg explicitely. 11357: 11358: 2001-07-18 Marcus Brinkmann <[email protected]> 11359: 11360: * debian/rules: Add -isp to dpkg-gencontrol invocation. 11361: Move documentation to /share/doc. 11362: * debian/changelog: Update. 11363: 11364: 2001-06-28 Marcus Brinkmann <[email protected]> 11365: 11366: * linux/dev/drivers/block/ide.c (lba_capacity_is_ok): Do not 11367: attempt to correct id->cyls, it is a short and for large disks the 11368: number of cylinders necessary would not fit. Subsequent checks 11369: for lba support would fail. 11370: (current_capacity): Likewise for drive->cyl. 11371: (do_identify): Store value returned by current_capacity in 11372: CAPACITY. The check which corrects the number of bios cylinders 11373: is not aggressive enough. Update it with the check in linux 11374: kernel-2.2.19. 11375: 11376: 2001-06-25 Marcus Brinkmann <[email protected]> 11377: 11378: * i386/bogus/fpe.h (FPE): Define FPE to 0, as the floating point 11379: emulation is broken anyway and blows up plex86. 11380: 11381: 2001-06-17 Marcus Brinkmann <[email protected]> 11382: 11383: * debian/rules: Update to current version. 11384: 11385: 2001-06-13 Roland McGrath <[email protected]> 11386: 11387: * linux/dev/glue/block.c (device_get_status: DEV_GET_RECORDS): 11388: Always return 512 for DEV_GET_SIZE_RECORD_SIZE as DEV_GET_SIZE does. 11389: 11390: 2001-05-27 Marcus Brinkmann <[email protected]> 11391: 11392: * debian/rules: Add --enable-ncr53c8xx to configure. 11393: 11394: 1999-10-06 OKUJI Yoshinori <[email protected]> 11395: 11396: * linux/src/drivers/scsi/tmscsiw.c: Removed. 11397: * linux/src/drivers/scsi/tmscsiw.h: Likewise. 11398: * linux/src/drivers/scsi/dc390w.h: Likewise. 11399: * i386/linux/device-drivers.h.in (CONFIG_SCSI_DC390W): Deleted. 11400: * i386/linux/Drivers.in: Remove linux_DRIVER(dc390w, ...). Now 11401: dc390w, dc390u, and dc390f are aliases to ncr53c8xx. 11402: * i386/linux/configure: Regenerated. 11403: * linux/Files: Likewise. 11404: * i386/linux/Makefile.in (linux-scsi-files): Delete tmscsiw.c. 11405: * linux/dev/drivers/scsi/hosts.c: Do not include dc390w.h. 11406: Reported by Andreas Voegele <[email protected]>. 11407: 11408: 2001-05-20 Roland McGrath <[email protected]> 11409: 11410: * kern/sched_prim.c (state_panic): New function, panic with some 11411: info when a thread's state is bogus. 11412: (thread_wakeup_prim): Use that instead of uninformative panic. 11413: (thread_invoke): Likewise. 11414: (thread_dispatch): Likewise. 11415: 11416: 2001-05-12 Marcus Brinkmann <[email protected]> 11417: 11418: * ipc/ipc_object.c (ipc_object_alloc): Remove initialization of 11419: *namep, which was without effect. 11420: 11421: 2001-04-29 Marcus Brinkmann <[email protected]> 11422: 11423: * debian/changelog: New entries for past Debian uploads. 11424: * debian/rules: Disable eatdma driver (breaks AMD K7), do 11425: not enable com, lpr (com is redundant, lpr doesn't work), 11426: move enabling of kmsg in its own line. 11427: * debian/control: Add build dependency on mig and sharutils. 11428: 11429: 2001-04-29 Marcus Brinkmann <[email protected]> 11430: 11431: * device/chario.c: Set number of elements of tthiwat and ttlowat 11432: to NSPEEDS rather than 16. Initialize the two new elements. 11433: (chario_init): Initialize pdma_timeouts and pdma_water_mark for 11434: B57600 and B115200. 11435: 11436: 2001-04-27 Marcus Brinkmann <[email protected]> 11437: 11438: * include/device/tty_status.h: New macros B57600 and B115200, 11439: increase NSPEED accordingly. 11440: * i386/i386at/com.c (divisorreg): New divisor 1. 11441: 11442: 2001-04-04 Roland McGrath <[email protected]> 11443: 11444: * ddb/db_access.h: Fix obsolescent #else/#endif syntax. 11445: * ddb/db_aout.c: Likewise. 11446: * ddb/db_break.c: Likewise. 11447: * ddb/db_break.h: Likewise. 11448: * ddb/db_command.c: Likewise. 11449: * ddb/db_command.h: Likewise. 11450: * ddb/db_cond.c: Likewise. 11451: * ddb/db_examine.c: Likewise. 11452: * ddb/db_expr.c: Likewise. 11453: * ddb/db_ext_symtab.c: Likewise. 11454: * ddb/db_input.c: Likewise. 11455: * ddb/db_lex.c: Likewise. 11456: * ddb/db_macro.c: Likewise. 11457: * ddb/db_mp.c: Likewise. 11458: * ddb/db_output.c: Likewise. 11459: * ddb/db_print.c: Likewise. 11460: * ddb/db_run.c: Likewise. 11461: * ddb/db_sym.c: Likewise. 11462: * ddb/db_task_thread.c: Likewise. 11463: * ddb/db_task_thread.h: Likewise. 11464: * ddb/db_trap.c: Likewise. 11465: * ddb/db_variables.c: Likewise. 11466: * ddb/db_watch.c: Likewise. 11467: * ddb/db_watch.h: Likewise. 11468: * ddb/db_write_cmd.c: Likewise. 11469: * device/dev_pager.c: Likewise. 11470: * device/device_port.h: Likewise. 11471: * device/device_types_kernel.h: Likewise. 11472: * device/ds_routines.h: Likewise. 11473: * device/errno.h: Likewise. 11474: * device/if_ether.h: Likewise. 11475: * device/if_hdr.h: Likewise. 11476: * device/io_req.h: Likewise. 11477: * device/net_io.c: Likewise. 11478: * device/net_io.h: Likewise. 11479: * i386/i386/ast_check.c: Likewise. 11480: * i386/i386/cswitch.S: Likewise. 11481: * i386/i386/db_disasm.c: Likewise. 11482: * i386/i386/db_interface.c: Likewise. 11483: * i386/i386/db_trace.c: Likewise. 11484: * i386/i386/debug.h: Likewise. 11485: * i386/i386/debug_i386.c: Likewise. 11486: * i386/i386/debug_trace.S: Likewise. 11487: * i386/i386/eflags.h: Likewise. 11488: * i386/i386/gdt.h: Likewise. 11489: * i386/i386/hardclock.c: Likewise. 11490: * i386/i386/idt-gen.h: Likewise. 11491: * i386/i386/ipl.h: Likewise. 11492: * i386/i386/ktss.h: Likewise. 11493: * i386/i386/kttd_interface.c: Likewise. 11494: * i386/i386/ldt.h: Likewise. 11495: * i386/i386/lock.h: Likewise. 11496: * i386/i386/locore.S: Likewise. 11497: * i386/i386/mp_desc.h: Likewise. 11498: * i386/i386/pic.c: Likewise. 11499: * i386/i386/pic.h: Likewise. 11500: * i386/i386/pio.h: Likewise. 11501: * i386/i386/pit.h: Likewise. 11502: * i386/i386/seg.h: Likewise. 11503: * i386/i386/thread.h: Likewise. 11504: * i386/i386/trap.c: Likewise. 11505: * i386/i386/trap.h: Likewise. 11506: * i386/i386/vm_param.h: Likewise. 11507: * i386/i386/vm_tuning.h: Likewise. 11508: * i386/i386at/autoconf.c: Likewise. 11509: * i386/i386at/blit.c: Likewise. 11510: * i386/i386at/conf.c: Likewise. 11511: * i386/i386at/fd.c: Likewise. 11512: * i386/i386at/idt.h: Likewise. 11513: * i386/i386at/immc.c: Likewise. 11514: * i386/i386at/kd.c: Likewise. 11515: * i386/i386at/kd_event.c: Likewise. 11516: * i386/i386at/kd_mouse.c: Likewise. 11517: * i386/i386at/model_dep.c: Likewise. 11518: * i386/i386at/rtc.c: Likewise. 11519: * i386/include/mach/i386/asm.h: Likewise. 11520: * i386/include/mach/i386/eflags.h: Likewise. 11521: * i386/include/mach/i386/mach_i386.defs: Likewise. 11522: * i386/include/mach/i386/multiboot.h: Likewise. 11523: * i386/include/mach/i386/trap.h: Likewise. 11524: * i386/include/mach/i386/vm_types.h: Likewise. 11525: * i386/include/mach/sa/stdarg.h: Likewise. 11526: * i386/intel/pmap.c: Likewise. 11527: * i386/intel/pmap.h: Likewise. 11528: * include/alloca.h: Likewise. 11529: * include/device/device_types.defs: Likewise. 11530: * include/device/device_types.h: Likewise. 11531: * include/device/disk_status.h: Likewise. 11532: * include/device/net_status.h: Likewise. 11533: * include/mach/mach.defs: Likewise. 11534: * include/mach/memory_object.defs: Likewise. 11535: * include/mach/std_types.defs: Likewise. 11536: * include/mach_debug/hash_info.h: Likewise. 11537: * include/mach_debug/ipc_info.h: Likewise. 11538: * include/mach_debug/mach_debug.defs: Likewise. 11539: * include/mach_debug/mach_debug_types.defs: Likewise. 11540: * include/mach_debug/mach_debug_types.h: Likewise. 11541: * include/mach_debug/vm_info.h: Likewise. 11542: * include/mach_debug/zone_info.h: Likewise. 11543: * include/sys/ioctl.h: Likewise. 11544: * include/sys/time.h: Likewise. 11545: * ipc/ipc_entry.h: Likewise. 11546: * ipc/ipc_hash.h: Likewise. 11547: * ipc/ipc_init.c: Likewise. 11548: * ipc/ipc_kmsg.c: Likewise. 11549: * ipc/ipc_kmsg.h: Likewise. 11550: * ipc/ipc_marequest.c: Likewise. 11551: * ipc/ipc_marequest.h: Likewise. 11552: * ipc/ipc_mqueue.c: Likewise. 11553: * ipc/ipc_mqueue.h: Likewise. 11554: * ipc/ipc_notify.c: Likewise. 11555: * ipc/ipc_notify.h: Likewise. 11556: * ipc/ipc_object.c: Likewise. 11557: * ipc/ipc_object.h: Likewise. 11558: * ipc/ipc_port.c: Likewise. 11559: * ipc/ipc_port.h: Likewise. 11560: * ipc/ipc_pset.c: Likewise. 11561: * ipc/ipc_pset.h: Likewise. 11562: * ipc/ipc_right.c: Likewise. 11563: * ipc/ipc_right.h: Likewise. 11564: * ipc/ipc_space.c: Likewise. 11565: * ipc/ipc_space.h: Likewise. 11566: * ipc/mach_debug.c: Likewise. 11567: * ipc/mach_msg.c: Likewise. 11568: * ipc/mach_msg.h: Likewise. 11569: * ipc/mach_port.c: Likewise. 11570: * kern/act.c: Likewise. 11571: * kern/assert.h: Likewise. 11572: * kern/ast.c: Likewise. 11573: * kern/ast.h: Likewise. 11574: * kern/bootstrap.c: Likewise. 11575: * kern/counters.c: Likewise. 11576: * kern/counters.h: Likewise. 11577: * kern/debug.h: Likewise. 11578: * kern/exception.c: Likewise. 11579: * kern/host.h: Likewise. 11580: * kern/ipc_host.c: Likewise. 11581: * kern/ipc_host.h: Likewise. 11582: * kern/ipc_kobject.c: Likewise. 11583: * kern/ipc_mig.c: Likewise. 11584: * kern/ipc_tt.c: Likewise. 11585: * kern/ipc_tt.h: Likewise. 11586: * kern/kalloc.h: Likewise. 11587: * kern/lock_mon.c: Likewise. 11588: * kern/mach_clock.c: Likewise. 11589: * kern/mach_factor.c: Likewise. 11590: * kern/mach_param.h: Likewise. 11591: * kern/machine.c: Likewise. 11592: * kern/processor.c: Likewise. 11593: * kern/profile.c: Likewise. 11594: * kern/queue.h: Likewise. 11595: * kern/sched.h: Likewise. 11596: * kern/startup.c: Likewise. 11597: * kern/syscall_emulation.h: Likewise. 11598: * kern/syscall_subr.c: Likewise. 11599: * kern/syscall_subr.h: Likewise. 11600: * kern/syscall_sw.c: Likewise. 11601: * kern/syscall_sw.h: Likewise. 11602: * kern/task.h: Likewise. 11603: * kern/thread_swap.h: Likewise. 11604: * kern/time_out.h: Likewise. 11605: * kern/time_stamp.c: Likewise. 11606: * kern/time_stamp.h: Likewise. 11607: * kern/timer.c: Likewise. 11608: * kern/timer.h: Likewise. 11609: * kern/xpr.c: Likewise. 11610: * kern/xpr.h: Likewise. 11611: * kern/zalloc.c: Likewise. 11612: * kern/zalloc.h: Likewise. 11613: * linux/dev/drivers/block/ide.c: Likewise. 11614: * linux/dev/include/linux/blk.h: Likewise. 11615: * linux/src/include/linux/cdrom.h: Likewise. 11616: * linux/src/include/linux/md.h: Likewise. 11617: * util/cpu.h: Likewise. 11618: * vm/memory_object.c: Likewise. 11619: * vm/memory_object.h: Likewise. 11620: * vm/pmap.h: Likewise. 11621: * vm/vm_debug.c: Likewise. 11622: * vm/vm_external.h: Likewise. 11623: * vm/vm_fault.c: Likewise. 11624: * vm/vm_fault.h: Likewise. 11625: * vm/vm_kern.h: Likewise. 11626: * vm/vm_map.c: Likewise. 11627: * vm/vm_map.h: Likewise. 11628: * vm/vm_object.h: Likewise. 11629: * vm/vm_pageout.c: Likewise. 11630: * vm/vm_pageout.h: Likewise. 11631: * vm/vm_user.h: Likewise. 11632: 11633: 2001-01-28 Roland McGrath <[email protected]> 11634: 11635: * kern/zalloc.c (zalloc): Change panics for exhausted zone to include 11636: the zone name. 11637: 11638: 2001-01-09 Marcus Brinkmann <[email protected]> 11639: 11640: * include/device/device_types.h: New get_status call 11641: DEV_GET_RECORDS to get the number of records of a device (rather 11642: than the number of bytes). Accordingly define 11643: DEV_GET_RECORDS_DEVICE_RECORDS, DEV_GET_RECORDS_RECORD_SIZE and 11644: DEV_GET_RECORDS_COUNT. 11645: 11646: * linux/dev/glue/block.c (device_get_status): Handle 11647: DEV_GET_RECORDS. 11648: 11649: 2000-11-26 David Welch <[email protected]> 11650: 11651: * i386/Makefrag (i386-installed-headers): Removed dead files 11652: from the list of headers to be installed 11653: 11654: 2000-11-26 Marcus Brinkmann <[email protected]> 11655: 11656: * linux/src/drivers/net/tulip.c: Updated to version 11657: from Linux 2.2.17 (I am amazed that 2.2.x drivers work). 11658: Suggested by Jason Henry Parker <[email protected]>. 11659: 11660: 2000-10-29 Roland McGrath <[email protected]> 11661: 11662: Remove numerous dead header files. 11663: Suggested by Igor Khavkine <[email protected]>. 11664: * i386/include/mach/i386/bios.h: Dead file removed. 11665: * i386/include/mach/i386/code16.h: Dead file removed. 11666: * i386/include/mach/i386/debug_reg.h: Dead file removed. 11667: * i386/include/mach/i386/dpmi.h: Dead file removed. 11668: * i386/include/mach/i386/far_ptr.h: Dead file removed. 11669: * i386/include/mach/i386/paging.h: Dead file removed. 11670: * i386/include/mach/i386/pio.h: Dead file removed. 11671: * i386/include/mach/i386/pmode.h: Dead file removed. 11672: * i386/include/mach/i386/proc_reg.h: Dead file removed. 11673: * i386/include/mach/i386/seg.h: Dead file removed. 11674: * i386/include/mach/i386/time_stamp.h: Dead file removed. 11675: * i386/include/mach/i386/tss.h: Dead file removed. 11676: * i386/include/mach/i386/vcpi.h: Dead file removed. 11677: * i386/include/mach/proc_ops.h: Dead file removed. 11678: * i386/include/mach/sa/sys/varargs.h: Dead file removed. 11679: * i386/include/mach/setjmp.h: Dead file removed. 11680: * include/mach/proc_ops.h: Dead file removed. 11681: * Makefile.in (mach-headers): Remove proc_ops.h. 11682: * i386/Makefrag (i386-installed-headers): Likewise. 11683: (installed-headers): Don't touch this any more. 11684: * i386/Files: Update for removed files. 11685: 11686: 2000-09-29 Marcus Brinkmann <[email protected]> 11687: 11688: * i386/i386at/conf.c (dev_name_list): Don't use MACH_COM to check 11689: if com support is enabled, but NCOM, as it used to be. 11690: 11691: 2000-09-24 OKUJI Yoshinori <[email protected]> 11692: 11693: * linux/dev/glue/block.c: Reverted the changes at 2000-08-17. 11694: Reported by Brent Fulgham <[email protected]>. 11695: 11696: 2000-09-19 Marcus Brinkmann <[email protected]> 11697: 11698: * linux/dev/glue/block.c (init_partition): Move initialization 11699: of MASK until it is asserted that gd is non-NULL. 11700: 11701: 2000-08-17 OKUJI Yoshinori <[email protected]> 11702: 11703: * linux/dev/glue/block.c (rdwr_partial): Mask the minor device 11704: number with MINOR_SHIFT bits, when indexing the array of 11705: partitions. Reported by Marius Vollmer <[email protected]>. 11706: (init_partition): Likewise. 11707: (check_limit): Likewise. 11708: (device_get_status): Likewise. 11709: 11710: 2000-07-27 Marcus Brinkmann <[email protected]> 11711: 11712: * Fix omissions in last change: 11713: * linux/src/arch/i386/lib/delay.S: Now really delete the file. 11714: * linux/src/arch/i386/lib/delay.c: Now really add the file. 11715: 11716: 2000-07-04 Marcus Brinkmann <[email protected]> 11717: 11718: * debian/changelog: Add entry for new Debian upload. 1.1.1.6 root 11719: * linux/dev/drivers/scsi/seagate.c (WRITE_CONTROL, WRITE_DATA): 11720: Added from linux 2.2.15. 11721: (__asm__ constructs): Replace with equivalent C code from linux 2.2.15 11722: to support gcc-2.95. 11723: * linux/src/drivers/scsi/in2000.h: Update asm code to linux 2.2.15. 1.1.1.5 root 11724: * linux/src/drivers/scsi/ppa.c: Replace asm code with equivalent 11725: C code from linux 2.2.15. 11726: 11727: 2000-02-06 Stefan Weil <[email protected]> 11728: 11729: * device/subrs.c: Fixed compiler warning. 11730: * ddb/db_output.c, kern/bootstrap.c, kern/debug.c, kern/printf.c: 11731: Replaced varargs.h by stdarg.h. Fixed prototypes (const char *fmt). 11732: * ddb/db_output.h: Use prototype for db_printf. 11733: * i386/Files: removed varargs.h. 11734: * i386/i386/pit.h: Fixed compiler warning. 11735: * i386/i386at/model_dep.c: Tried to fix compiler warning. 11736: * i386/include/mach/sa/sys/varargs.h: Removed. 11737: * i386/linux/Makefile.in: Removed delay.S, added delay.c. 11738: * linux/dev/include/asm-i386/segment.h: Support gcc-2.95. 11739: * linux/dev/include/asm-i386/string.h, 11740: linux/src/include/asm-i386/string.h: Update from linux-2.2.14. 11741: * linux/dev/lib/vsprintf.c: Fixed compiler warning. 11742: * linux/src/include/asm-i386/delay.h: Update from linux-2.2.14. 11743: * linux/src/arch/i386/lib/delay.c: Copy from linux-2.2.14. 11744: * linux/src/include/asm-i386/string.h: Update from linux-2.2.14. 11745: 11746: 1999-10-08 Thomas Bushnell, BSG <[email protected]> 11747: 11748: * linux/src/drivers/net/3c59x.c: Updated to version 0.99L of the 11749: driver from ftp://cesdis.gsfc.nasa.gov/linux/drivers/3c59x.c, in 11750: order to support the 3c509c card, as requested by Jeff Bailey 11751: <[email protected]>. 11752: 11753: 1999-09-17 Thomas Bushnell, BSG <[email protected]> 11754: 11755: * linux/dev/drivers/block/ide.c (do_request) [MACH]: In "bad 11756: access" printf, actually print the number of sectors of the 11757: partition. 11758: 11759: 1999-10-05 Roland McGrath <[email protected]> 11760: 11761: * i386/intel/pmap.c (pmap_bootstrap): Use _start instead of start. 11762: * i386/i386/trap.c (kernel_trap): Likewise. 11763: 11764: 1999-10-04 Roland McGrath <[email protected]> 11765: 11766: * configure.in: Remove AC_CHECK_TOOL(MAKE,...) check. 11767: * Makefile.in (MAKE): Variable removed. We require GNU make anyway, 11768: and it always sets MAKE. 11769: * configure: Regenerated. 11770: 11771: * Makefile.in (clib-routines.o, check-clib-routines, clib-routines.d): 11772: Remove these rules, replace with: 11773: (kernel.o): New target, relocatable object linked from kernel objects. 11774: (kernel-undef, kernel-undef-bad): New targets, glean undefined symbols 11775: from kernel.o. 11776: (clib-routines.o): New target, use those to select symbols from libc. 11777: (clib-routines): Add some symbols; move defn to kernel linking page. 11778: This variable is now a list of symbols allowed to be undefined, 11779: rather than a prescriptive list of symbols always grabbed from libc. 11780: (kernel): Rewrite this rules to just link kernel.o and clib-routines.o 11781: together to make the kernel image. 11782: 11783: 1999-09-15 Mark Kettenis <[email protected]> 11784: 11785: * i386/i386/user_ldt.c: Fix user LDT management. 11786: (i386_set_ldt): Prevent thrashing the LDT for the current thread. 11787: Correctly calculate size of new LDT. Set base adress of the LDT 11788: descriptor to the linear address of the LDT instead of the kernel 11789: virtual address. Copy descriptors from the default LDT if there 11790: is no old LDT for the current thread. Call switch_ktss if we are 11791: setting a new LDT for the current thread. 11792: (i386_get_ldt): Fix bug in copying out the descriptors. 11793: 11794: 1999-09-09 Thomas Bushnell, BSG <[email protected]> 11795: 11796: * linux/src/drivers/net/rtl8139.c (RX_BUF_LEN_IDX): Reduce from 3 11797: to 2. (64K exceeds the limits in linux/dev/glue/kmem.c:kmalloc.) 11798: (rtl8129_open): If we fail to get the memory we need, then free 11799: the IRQ before returning. 11800: Reported by Daniel Kobras <[email protected]>. 11801: 11802: 1999-09-07 Thomas Bushnell, BSG <[email protected]> 11803: 11804: * linux/src/drivers/net/yellowfin.c (yellowfin_probe): Return 11805: correct value. Reported by Marcus Brinkmann 11806: <[email protected]>. 11807: 11808: * linux/dev/drivers/net/Space.c: Declare tc515_probe. Reported by 11809: Marcus Brinkmann <[email protected]>. 11810: 11811: 1999-09-04 Thomas Bushnell, BSG <[email protected]> 11812: 11813: * vm/vm_resident.c (vm_page_grab): Only block unprivileged 11814: allocations over vm_page_external_limit if they are actually 11815: external allocations. Reported by Mark Kettenis 11816: ([email protected]>. 11817: 11818: 1999-08-10 Thomas Bushnell, BSG <[email protected]> 11819: 11820: * i386/i386at/model_dep.c (init_alloc_aligned): Revert previous 11821: change except for the one to AVAIL_NEXT. All the rest of the 11822: previous code was correct. Correction from Momchil Velikov 11823: ([email protected]). 11824: 11825: 1999-07-23 Roland McGrath <[email protected]> 11826: 11827: * Drivers.macros (AC_DRIVER): Use `test' instead of `[ ... ]'. 11828: Reported by "Momchil 'Velco' Velikov" <[email protected]>. 11829: 11830: 1999-07-20 Roland McGrath <[email protected]> 11831: 11832: * linux/dev/drivers/block/genhd.c (check_partition): Change message 11833: to say these are only the DOS partitions. 11834: * i386/linux/dev/include/linux/autoconf.h (CONFIG_BSD_DISKLABEL, 11835: CONFIG_SMD_DISKLABEL): #undef these. The dev/glue/block.c code 11836: deals with BSD disklabels and expects the Linux genhd.c code to 11837: handle only the DOS partitions; having genhd.c do BSD disklabels 11838: too just confuses things. 11839: 11840: Force subdirectory targets so they get recompiled properly. 11841: * i386/Makefile.in (linux/linux.o): Depend on FORCE instead of linux. 11842: (FORCE): New target. 11843: * i386/Makefrag (i386/sysdep.o, FORCE): Likewise. 11844: 11845: 1999-07-11 Thomas Bushnell, BSG <[email protected]> 11846: 11847: * i386/i386at/model_dep.c (init_alloc_aligned): Make the checks 11848: correctly for addresses falling into skip regions. Reported by 11849: Momchil Velikov ([email protected]). 11850: 11851: 1999-07-01 Thomas Bushnell, BSG <[email protected]> 11852: 11853: * i386/linux/Makefile.in: For each .o file in $(linux-objs) 11854: include a corresponding .d file, unless `no_deps' is `t'. 11855: (make-deps): New function. 11856: (%.d): New pattern rules for building %.d from %.c and %.S. 11857: 11858: 1999-06-29 Thomas Bushnell, BSG <[email protected]> 11859: 11860: * vm/vm_resident.c (vm_page_grab): Don't bounce requests when 11861: vm_page_external_count == vm_page_external_limit, so that before 11862: initialization is complete we can still allocate memory without 11863: relying on current_thread. 11864: (vm_page_wait): Also block if we are over the external page 11865: limit. 11866: * vm/vm_pageout.c (vm_pageout_scan): Rewrite the 11867: scan-for-pages-to-pageout loop to not crash when we hit the end of 11868: the inactive queue; instead jump back to the 11869: pause-for-a-little-while code. 11870: 11871: 1999-06-27 Thomas Bushnell, BSG <[email protected]> 11872: 11873: * vm/vm_resident.c (vm_page_external_count): Define variable. 11874: (vm_page_grab): New argument `external'. All callers changed. 11875: Keep track of number of externally managed pages. Don't let 11876: non-privileged threads exceed the externally-managed page limit. 11877: (vm_page_grab_contiguous_pages): New argument `external'. All 11878: callers changed. Keep track of number of externally managed 11879: pages. Don't let non-privileged threads exceed the 11880: externally-managed page limit. 11881: (vm_page_convert): New argument `external', handed off to 11882: vm_page_grab. All callers changed. 11883: (vm_page_release): New argument `external'. All callers 11884: changed. Keep track of number of externally managed pages. 11885: (vm_page_bootstrap): Initialize M->external. 11886: (vm_page_external_limit): Define new variable. 11887: (vm_page_grab_phys_addr, vm_page_alloc): Add new arg for 11888: vm_page_grab. 11889: (vm_page_free): Provide new arg to vm_page_release. 11890: * vm/vm_page.h (vm_page_external_limit, vm_page_external_count): 11891: New variables. 11892: (struct vm_page): New members `external' and `extcounted'. 11893: (vm_page_grab, vm_page_release, vm_page_convert): Specify new 11894: argument. 11895: * vm/vm_pageout.c (vm_pageout): Initialize vm_page_external_limit 11896: and vm_page_external_target. 11897: (VM_PAGE_EXTERNAL_LIMIT, VM_PAGE_EXTERNAL_TARGET): New macro. 11898: (vm_page_external_target): New variable. 11899: (vm_pageout_scan): Regard "too many externally managed pages" as a 11900: reason to keep doing work, but if that's the only reason we're 11901: doing work, then the only thing we do is schedule cleaning of 11902: pages. Help keep track of the number of externally managed pages 11903: that we care about. 11904: * i386/intel/pmap.c (pmap_page_table_page_alloc): Add new arg for 11905: vm_page_grab. 11906: * linux/dev/glue/block.c (alloc_buffer, device_read): Likewise. 11907: * vm/vm_map.c (vm_map_copy_steal_pages): Likewise. 11908: * vm/vm_fault.c (vm_fault_page): Add new args for vm_page_grab and 11909: vm_page_convert. 11910: 11911: * vm/vm_pageout.c (VM_PAGEOUT_BURST_WAIT): Reduce to 10ms/page. 11912: (VM_PAGEOUT_EMPTY_WAIT): Reduce to 75 ms. 11913: (VM_PAGE_FREE_RESERVED): Increase to 50 pages. 11914: (VM_PAGEOUT_RESERVED_INTERNAL): Adjust to `(reserve) - 25'. 11915: (VM_PAGEOUT_RESERVED_REALLY): Adjust to `(reserve) - 40'. 11916: 1.1.1.4 root 11917: 1999-06-21 Thomas Bushnell, BSG <[email protected]> 11918: 11919: * i386/Files: Don't mention i386/pc/Makerules, 11920: i386/include/Makerules, or i386/util/Makerules. 11921: 11922: * Makefile.in (all-real-archs): Delete variable. 11923: (dist): No longer make `machine' symlink. 11924: 11925: * Makefile.in (dist): Sanify file permissions before building tar 1.1.1.5 root 11926: file. 1.1.1.4 root 11927: 11928: * i386/Subdirs: Remove i386/i386at/boot. 11929: 11930: Sun Jun 20 18:33:59 1999 Thomas Bushnell, BSG <[email protected]> 11931: 11932: * version.c (version): Updated to version 1.2. 1.1.1.5 root 11933: 1.1.1.4 root 11934: * i386/Files: Regenerated. 11935: * i386/Subdirs: Regenerated. 1.1.1.5 root 11936: 1.1.1.4 root 11937: * linux/Files: New file. 11938: * linux/Subdirs: New file. 11939: * Makefile.in (all-archs): Add `linux'. 11940: (all-real-archs): New variable. 11941: (dist): Create `machine' symlink only on 11942: $(all-real-archs). 11943: 11944: * Makefile.in (dist): Use `cp' instead of `ln'. 11945: 11946: * config.guess: Updated from autoconf 2.13. 11947: * config.sub: Likewise. 11948: 11949: 1999-06-16 Thomas Bushnell, BSG <[email protected]> 11950: 11951: * linux/dev/drivers/net/Space.c (ethif_probe): Probe tc59x_probe 11952: (CONFIG_VORTEX) after el3_probe (CONFIG_EL3), because the latter 11953: card matches the former probe, but the driver doesn't work with 11954: it. Reported by Marcus Brinkmann <[email protected]>. 11955: 11956: * Drivers.macros (AC_DRIVER): Only turn on driver if $enableval is 11957: not `no'. Reported by Kalle Olavi Niemitalo <[email protected]>. 11958: 11959: 1999-06-15 Thomas Bushnell, BSG <[email protected]> 11960: 11961: * ipc/ipc_init.c (ipc_bootstrap): Don't make the IOT_PORT zone 11962: exhaustible, because allocation of ports for internal objects 11963: panics if zalloc fails. 11964: 11965: 1999-06-07 OKUJI Yoshinori <[email protected]> 11966: 11967: * linux/dev/drivers/block/genhd.c [MACH] (mach_minor): New variable. 11968: (add_bsd_partition): New function. 11969: (bsd_disklabel_partition) [MACH]: Call add_bsd_partition. 11970: (msdos_partition) [MACH]: Set mach_minor to MINOR before 11971: calling bsd_disklabel_partition. 11972: * linux/dev/drivers/block/ide.c (do_request) [MACH]: Fix "bad access" 11973: message. 11974: 11975: 1999-06-02 Roland McGrath <[email protected]> 11976: 11977: * kern/bootstrap.c (build_args_and_stack): If kernel_cmdline is 11978: nonempty, give the bootstrap task an environment variable of 11979: "MULTIBOOT_CMDLINE=kernel command line" on its stack. 11980: 11981: 1999-05-29 Roland McGrath <[email protected]> 11982: 11983: * kern/startup.c (start_kernel_threads): Call record_time_stamp to 11984: reset the kernel task's creation_time field, so it's not zero. 11985: 11986: 1999-05-24 Mark Kettenis <[email protected]> 11987: 11988: * i386/i386/fpu.c (fp_free): Clear task switch flag before calling 11989: fwait. 11990: (fpu_get_state): Only save FPU state info if the live FPU state 11991: belongs to our target, i.e. if THREAD is the current thread. 11992: (fp_load): Print warning if we try to load an invalid FPU state, 11993: and reset the FPU to some sane state instead. 11994: 11995: 1999-05-23 Roland McGrath <[email protected]> 11996: 11997: * kern/task.c (task_info): Allow count for TASK_BASIC_INFO to be less 11998: two words, not just one. The new member creation_time is two words. 11999: 12000: 1999-05-22 Roland McGrath <[email protected]> 12001: 12002: * linux/configure: Regenerated. 12003: 12004: 1999-05-21 Roland McGrath <[email protected]> 12005: 12006: * linux/configure.in: Fix names dummy -> dummy.in in AC_OUTPUT call. 12007: 12008: 1999-05-14 Roland McGrath <[email protected]> 12009: 12010: * i386/linux/Drivers.in (linux_DRIVER): New macro, does AC_DRIVER and 12011: defines alias for Linux module name. Use that for all single-module 12012: Linux drivers, so we don't forget to define any of the aliases for the 12013: Linux module names. 12014: * i386/linux/configure: Regenerated. 12015: 12016: 1999-04-28 OKUJI Yoshinori <okuji@localhost> 12017: 12018: * linux/dev/drivers/block/genhd.c (bsd_disklabel_partition) [MACH]: 12019: Print BSD slices, using Mach device syntax instead of Linux extented 12020: partition syntax. 12021: 12022: 1999-05-01 Mark Kettenis <[email protected]> 12023: 12024: * linux/dev/glue/block.c (device_get_status): Always set 12025: status_count to DEV_GET_STATUS_COUNT if flavor is DEV_GET_SIZE. 12026: 12027: 1999-04-30 Roland McGrath <[email protected]> 12028: 12029: * i386/linux/Drivers.in: Don't create asm-${systype} symlinks here. 12030: * linux/configure.in: New file. Create them here instead. 12031: * linux/dummy.in: New file, used by configure. 12032: * linux/configure: New file (generated by autoconf). 12033: * configure.in: Configure in linux subdir. 12034: * configure: Regenerated. 12035: 12036: * i386/configure.in: Require only autoconf 2.12, not 2.13. 12037: * i386/configure: Regenerated. 12038: 12039: * aclocal.m4 (hurd_SYSTYPE): New macro. 12040: * i386/linux/Drivers.in: Use it. 12041: * i386/linux/configure: Regenerated. 12042: 12043: Wed Apr 28 02:17:51 1999 Thomas Bushnell, BSG <[email protected]> 12044: 12045: * linux/src/drivers/net/3c59x.c: Upgrade to Linux 2.2.1 version. 12046: (vortex_start_xmit): Don't frob VP->stat.tx_bytes. 12047: (boomerang_start_xmit): Likewise. 12048: (vortex_rx): Don't frob VP->stats.rx_bytes. 12049: (boomerang_rx): Likewise. 12050: Requested by Jeff Bailey ([email protected]). 12051: 12052: Mon Apr 26 02:13:02 1999 Thomas Bushnell, BSG <[email protected]> 12053: 12054: * Makefile.in (objfiles): Don't add $(systype)/sysdep.o here. 12055: ($(systype)/sysdep.o): Delete rule. 12056: (clean, distclean, mostlyclean, maintainerclean, install-headers, 12057: install-kernel): Don't do recursive make here. 12058: * i386/Makefrag (objfiles): Add i386/sysdep.o to the list. 12059: (i386/sysdep.o): New rule. 12060: (clean): Depend on i386-clean. 12061: (distclean): Depend on i386-distclean. 12062: (mostlyclean): Depend on i386-mostlyclean. 12063: (maintainerclean): Depend on i386-maintainerclean. 12064: (install-headers): Depend on i386-install-headers. 12065: (install-kernel): Depend on i386-install-kernel. 12066: (i386-clean, i386-distclean, i386-mostlyclean, 12067: i386-maintainerclean, i386-install-kernel, i386-install-headers): 12068: New rules. 12069: 12070: 1999-04-14 OKUJI Yoshinori <[email protected]> 12071: 12072: * version.c (version): Update to 1.1.92. 12073: 12074: Sun Mar 14 18:53:01 1999 Thomas Bushnell, BSG <[email protected]> 12075: 12076: * device/ds_routines.c (ds_read_done): When touching memory to 12077: mark it dirty, make sure we say "volatile" so the compiler doesn't 12078: optimize it out. 12079: 12080: 1999-04-12 OKUJI Yoshinori <[email protected]> 12081: 12082: * i386/linux/Drivers.in: Fix the source paths for `asm' symbolic 12083: links. Reported by KONISHI Toru <[email protected]>. 12084: 12085: * linux/dev/drivers/block/ide.c (init_hwif_data) [MACH]: Print Mach 12086: device name instead of Linux one. 12087: * linux/dev/drivers/block/genhd.c (disk_name): Likewise. 12088: * linux/dev/drivers/scsi/sd.c (sd_init_onedisk): Likewise. 12089: (sd_detect): Likewise. 12090: * linux/dev/drivers/sr.c (sr_detect): Likewise. 12091: (get_sectorsize): Likewise. 12092: 12093: 1999-03-01 OKUJI Yoshinori <[email protected]> 12094: 12095: Version 1.1.91. 12096: 12097: * version.c (version): Update to 1.1.91. 12098: 12099: 1999-03-01 OKUJI Yoshinori <[email protected]> 12100: 12101: * i386/linux/Drivers.in: Fix linking paths. 12102: * i386/linux/Makefile.in: Corrent include paths and fix 12103: Drivers.macros location. 12104: 12105: 1999-02-28 OKUJI Yoshinori <[email protected]> 12106: 12107: * Makefile.in (clean): Don't move device-drivers.h, because it is 12108: not in the top directory any longer. 12109: (distclean): Remove config.cache and config.log. 12110: * i386/Makefile.in (distclean): Remove config.status, config.log 12111: and Makefile. 12112: * i386/linux/Makefile.in (distclean): Remove config.status, 12113: config.log, Makefile and device-drivers.h. 12114: 12115: 1999-02-27 OKUJI Yoshinori <[email protected]> 12116: 12117: * i386/linux/Drivers.in: Don't link dev/include/asm-i386 to 12118: dev/include/asm. Check if directories already exist before 12119: mkdir_p's. Link directories manually, because AC_LINK_FILES 12120: is weak in linking files from non-current directories. 12121: 12122: * i386/i386at/i386at_ds_routines.c: Include 12123: <i386/linux/device-drivers.h> instead of <linux/device-drivers.h>. 12124: * device/ds_routines.c [LINUX_DEV]: Likewise. 12125: * i386/linux/Makefile.in (linux-gen-flags): Fix an extra slash. 12126: (distclean): Remove asm links. 12127: * linux/src/COPYING: Copied from linux-2.0.36. 12128: 12129: 1999-02-27 OKUJI Yoshinori <[email protected]> 12130: 12131: * Makefile.in: Omit to detect if com or lpr is used, and don't use 12132: linux.o. 12133: (objfiles): Add $(systype)/sysdep.o. 12134: (clean): Chain the target to $(systype). 12135: (distclean): Likewise. 12136: (mostlyclean): Likewise. 12137: (maintainer-clean): Likewise. 12138: (install-headers): Likewise. 12139: (install-kernel): Likewise. 12140: * configure.in: AC_CONFIG_SUBDIRS ${systype} instead of linux. 12141: (--disable-linuxdev): Deleted. 12142: (--disable-com): Likewise. 12143: (--enable-lpr): Likewise. 12144: * i386/Makefile.in: New file. 12145: * i386/configure.in: Likewise. 12146: * i386/Makefrag (DEFINES): Add -DLINUX_DEV. 12147: (objfiles): Always add com.o. If MACH_LPR is defined, then add lpr.o. 12148: * linux/Drivers.in: Moved to ... 12149: * i386/linux/Drivers.in: ... here. Include ../../aclocal.m4. 12150: (mkdir_p): New function to create the linux include dirs. 12151: * linux/Makefile.in: Moved to ... 12152: * i386/linux/Makefile.in: ... here, and modify so that paths 12153: are valid. 12154: (clean): New target. 12155: (distclean): Likewise. 12156: (mostlyclean): Likewise. 12157: (maintainer-clean): Likewise. 12158: * linux/src/include/linux/autoconf.h: Removed. 12159: * linux/dev/include/linux/autoconf.h: Moved to ... 12160: * i386/linux/dev/include/linux/autoconf.h: ... here. 12161: * linux/dev/arch/i386/linux_emul.h: Moved to ... 12162: * i386/linux/dev/include/linux_emul.h: ... here. 12163: * linux/device-drivers.h.in: Moved to ... 12164: * i386/linux/device-drivers.h.in: ... here. 12165: * linux/aclocal.m4: Removed. 12166: * linux/configure: Likewise. 12167: 12168: 1999-02-14 Gordon Matzigkeit <[email protected]> 12169: 12170: * Makefile.in (install-kernel): Be sure that $(bootdir) is 12171: created before installing the kernel. 12172: 12173: 1999-02-06 OKUJI Yoshinori <[email protected]> 12174: 12175: * configure.in: Enable com by default, because current kbd and 12176: mouse can't be linked without com. Reported by M. Meiarashi 12177: <[email protected]>. 12178: 12179: 1999-02-05 OKUJI Yoshinori <[email protected]> 12180: 12181: Version 1.1.90. 12182: 12183: * version.c (version): Update to 1.1.90. 12184: 12185: 1999-02-04 OKUJI Yoshinori <[email protected]> 12186: 12187: * device/kmsg.c (kmsginit): Add a missing semicolon. 12188: (kmsggetstat): Fix typos, 12189: DEV_GET_DEVICE_SIZE -> DEV_GET_SIZE_DEVICE_SIZE and 12190: DEV_GET_RECORD_SIZE -> DEV_GET_SIZE_RECORD_SIZE. 12191: (kmsg_putchar): Fix a typo kmsg_done_init -> kmsg_init_done. 12192: * linux/dev/glue/block.c (device_get_status): Allocate a hd_geometry 12193: on the stack. 12194: * linux/dev/drivers/block/ide.c: New file. 12195: * linux/dev/drivers/scsi/sd_ioctl.c: New file. 12196: 12197: 1999-02-02 OKUJI Yoshinori <[email protected]> 12198: 12199: * i386/i386at/kd_event.c (kbdgetstat): Fix a typo 12200: DEV_GET_SIZES -> DEV_GET_SIZE. 12201: * i386/i386at/kd_mouse.c (mousegetstat): Likewise. 12202: * device/kmsg.c (kmsggetstat): Likewise. 12203: 12204: 1999-02-01 OKUJI Yoshinori <[email protected]> 12205: 12206: * linux/dev/glue/block.c (dev_getstat): Fix a missing `struct'. 12207: * device/cons.c (cninit): Don't call kmsginit. 12208: * kmsg.c (kmsg_buffer): Defined as static. 12209: (kmsg_write_offset): Likewise. 12210: (kmsg_read_offset): Likewise. 12211: (kmsg_read_queue): Likewise. 12212: (kmsg_in_use): Likewise. 12213: (kmsg_lock): Likewise. 12214: (kmsginit): Likewise, and call queue_init instead of setting 12215: PREV and NEXT manually. 12216: (kmsg_done_init): New variable. 12217: (kmsg_putchar): Call kmsginit if not initialized yet. 12218: (kmsggetstat): New function. 12219: * kmsg.h (kmsggetstat): Add the prototype. 12220: * i386/i386at/kd_event.c (kbdgetstat): Handle DEV_GET_SIZE. 12221: (kbdread): Check if the amount a user specify is a multiple 12222: of sizeof(kd_event). 12223: * i386/i386at/kd_mouse.c (mousegetstat): New function. 12224: (mouseread): Check if the amount a user specify is a multiple 12225: of sizeof(kd_event). 12226: * i386/i386at/conf.c (dev_name_list): Set the mouse getstat entry 12227: to mousegetstat and the kmsg getstat entry to kmsggetstat. 12228: Use MACH_COM instead of NCOM to determine if com is used. 12229: Use MACH_LPR instead of NLPR to determine if lpr is used. 12230: * configure.in (--enable-com): New option. 12231: (--enable-lpr): Likewise. 12232: * Makefile.in (enable_com): New variable. 12233: (enable_lpr): Likewise. 12234: * i386/Makefrag (i386at-files): Remove com.c. 12235: (objfiles): Add com.o if enable_com is yes, and lpr.o if enable_lpr 12236: is yes. 12237: 12238: Tue Jan 26 21:36:10 1999 Thomas Bushnell, BSG <[email protected]> 12239: 12240: * kern/exception.c (exception_no_server): Correctly comment out 12241: the suspend code. (This should have happened on 17 April 1997, 12242: but apparently I did it backwards.) 12243: 12244: 1999-01-26 OKUJI Yoshinori <[email protected]> 12245: 12246: * device/kmsg.c (kmsgopen): Added simple_lock and simple_unlock. 12247: (ksmgclose): Likewise. 12248: 12249: 1999-01-25 OKUJI Yoshinori <[email protected]> 12250: 12251: * Makefile.in (install-headers): New target for installing only 12252: the headers. 12253: (install-kernel): New target for installing only the kernel. 12254: (mkheaderdirs): New target for making the headers 12255: installation directories. 12256: (mkkerneldirs): New target for making the kernel 12257: installation directory. 12258: (install): Do nothing by itself, but depend on install-kernel 12259: and install-headers. 12260: 12261: 1999-01-24 OKUJI Yoshinori <[email protected]> 12262: 12263: * device/kmsg.h (KMSGBUFSIZE): Deleted. 12264: * device/kmsg.c: Rewritten completely to provide stream interface. 12265: * linux/dev/glue/block.c (device_getstat): Added V_GETPARMS support. 12266: * config.guess: New version from automake-1.4. 12267: * config.sub: Likewise. 12268: * install-sh: Likewise. 12269: 12270: Some changes were merged from gnumach-m68k by 12271: Aymeric Vincent <[email protected]>. 12272: 12273: * Makefile.in (clean): Don't hang if device-drivers.h doesn't exist. 12274: * linux/Makefile.in (CPPFLAGS): Fix a typo. 12275: 12276: 1999-01-16 OKUJI Yoshinori <[email protected]> 12277: 12278: * device/kmsg.c: Fixed the copyright notice. 12279: (MACH_KMSG): Removed. 12280: * Makefile.in (enable_kmsg): New variable. 12281: (objfiles): Add kmsg.o, if and only if enable_kmsg is yes. 12282: 12283: 1999-01-10 OKUJI Yoshinori <[email protected]> 12284: 12285: * i386/i386at/kd.c: Applied a keymap patch. Reported by 12286: Marcus Brinkmann <[email protected]>. 12287: * i386/i386at/kd.h: Likewise. 12288: 12289: 1998-12-30 OKUJI Yoshinori <[email protected]> 12290: 12291: * linux/dev/glue/net.c (dev_alloc_skb): Change the skb arragement. 12292: (dev_kfree_skb): Free only skb. 12293: (device_write): Keep skb elements up-to-date. 12294: 12295: 1998-12-18 OKUJI Yoshinori <[email protected]> 12296: 12297: * Makefile.in (objfiles): Add kmsg.o. 12298: * device/cons.c: Include <device/io_req.h>. 12299: * device/kmsg.c: Rewritten almost entirely. 12300: 12301: 1998-12-06 OKUJI Yoshinori <[email protected]> 12302: 12303: Add kmsg device. 12304: 12305: * Makefile.in (device-files): Add kmsg.c and kmsg.h. 12306: * configure.in (--enable-kmsg): New option. 12307: * device/cons.c: Include kmsg.h. 12308: (cninit): Call kmsginit if MACH_KMSG is defined. 12309: (cnputc): Call kmsg_putchar if MACH_KMSG is defined. 12310: * device/kmsg.c: New file. 12311: * device/kmsg.h: Likewise. 12312: * i386/i386at/conf.c (dev_name_list): Add kmsg entry. 12313: 12314: 1998-12-02 OKUJI Yoshinori <[email protected]> 12315: 12316: * configure.in: Fix linuxdev option handling. 12317: * linux/Drivers.in: Remove linuxdev option and fix linking files. 12318: * linux/Makefile.in: Replace @DEFS@ with -DLINUX_DEV. 12319: * linux/dev/arch/i386/kernel/irq.c: Include missing header files. 12320: * linux/dev/arch/i386/kernel/setup.c: Include <device-drivers.h>. 12321: * linux/dev/glue/kmem.c: Add printf declaration. 12322: * linux/dev/glue/misc.c: Include <linux/types.h>. 12323: * linux/dev/init/main.c: Call linux_sched_init instead of sched_init. 12324: * linux/dev/kernel/sched.c: Add timer_bh declaration. 12325: (tqueue_bh): Fix the argument. 12326: (linux_sched_init): Renamed from sched_init. 12327: 12328: 1998-12-01 OKUJI Yoshinori <[email protected]> 12329: 12330: * i386/i386at/i386at_ds_routines.c: Include <linux/device-drivers.h> 12331: only if LINUX_DEV is defined. Reported by UCHIYAMA Yasushi 12332: <[email protected]>. 12333: * device/ds_routines.c: Likewise. 12334: * configure.in: AC_CONFIG_SUBDIRS(linux) instead of linuxdev. 12335: (--disable-linuxdev): New option. 12336: * linux/Makefile.in (CPPFLAGS): Remove -DLINUX_DEV, and add @DEFS@. 12337: (objfiles): Add linux.o only if LINUX_DEV is defined. 12338: * linux/Drivers.in (--disable-linuxdev): New option. 12339: * i386/Makefrag (DEFINES): Remove -DLINUX_DEV. 12340: 12341: 1998-11-30 OKUJI Yoshinori <[email protected]> 12342: 12343: Clean up linux emulation code to make it architecture-independent 12344: as much as possible. 12345: 12346: * linux: Renamed from linuxdev. 12347: * Makefile.in (objfiles): Add linux.o instead of linuxdev.o. 12348: (MAKE): New variable. Used for the linux.o target. 12349: * configure.in: Add AC_CHECK_TOOL(MAKE, make). 12350: * i386/i386/spl.h: Include <i386/ipl.h>, for compatibility with 12351: OSF Mach 3.0. Suggested by Elgin Lee <[email protected]>. 12352: * linux/src: Renamed from linux/linux. 12353: * linux/dev: Renamed from linux/mach. 12354: * linux/Drivers.in (AC_INIT): Use dev/include/linux/autoconf.h, 12355: instead of mach/include/linux/autoconf.h. 12356: * Makefile.in (all): Target ../linux.o instead of ../linuxdev.o. 12357: * linux/dev/drivers/block/genhd.c: Include <machine/spl.h> instead 12358: of <i386/ipl.h>. 12359: * linux/dev/drivers/net/auto_irq.c: Remove unneeded header files, 12360: <i386/ipl.h> and <i386/pic.h>. 12361: * linux/dev/init/main.c: Many i386-dependent codes moved to ... 12362: * linux/dev/arch/i386/irq.c: ... here. 12363: * linux/dev/arch/i386/setup.c: New file. 12364: * linux/dev/arch/i386/linux_emul.h: Likewise. 12365: * linux/dev/arch/i386/glue/timer.c: Merged into sched.c. 12366: * linux/dev/arch/i386/glue/sched.c: Include <machine/spl.h> instead 12367: of <i386/ipl.h>, and moved to ... 12368: * linux/dev/kernel/sched.c: ... here. 12369: * linux/dev/arch/i386/glue/block.c: Include <machine/spl.h> and 12370: <linux_emul.h>, instead of i386-dependent header files, and 12371: moved to ... 12372: * linux/dev/glue/blocl.c: ... here. 12373: * linux/dev/arch/i386/glue/net.c: Include <machine/spl.h> and 12374: <linux_emul.h>, instead of i386-dependent header files, and 12375: moved to ... 12376: * linux/dev/glue/net.c: ... here. 12377: * linux/dev/arch/i386/glue/misc.c: Remove `x86' and moved to ... 12378: * linux/dev/glue/misc.c: ... here. 12379: * linux/dev/arch/i386/glue/kmem.c: Moved to ... 12380: * linux/dev/glue/kmem.c: ... here. 12381: 12382: 1998-11-25 OKUJI Yoshinori <[email protected]> 12383: 12384: * linuxdev/mach/init/main.c (linux_init): Call reserve_mach_irqs. 12385: * linuxdev/mach/arch/i386/kernel/irq.c (probe_irq_on): Fix ivect 12386: mishandling. 12387: (probe_irq_off): Disable unnecessary IRQs. Reported by 12388: UCHIYAMA Yasushi <[email protected]>. 12389: (reserve_mach_irqs): New function. 12390: 12391: 1998-11-24 OKUJI Yoshinori <[email protected]> 12392: 12393: * linuxdev/arch/i386/linux_init.c (linux_init): Check ivect 12394: before set linux_bad_intr. 12395: * linuxdev/arch/i386/linux_irq.c (probe_irq_on): Allocate only 12396: if ivect is null, and set linux_intr_pri to intpri. 12397: 12398: * linuxdev: Heavily changed. It becomes more Linux-like file 12399: hierarchy as suggested by Roland McGrath <[email protected]>. 12400: * linuxdev/linux: Contain original Linux source files. 12401: * linuxdev/mach: Contain modified source files for Mach. 12402: * linuxdev/mach/arch/i386/glue: XXX Contain files that are 12403: not easy to segregate. 12404: * Makefile.in: Call `make -C linuxdev all', instead of include 12405: linuxdev/Makefrag. 12406: 12407: 1998-11-23 OKUJI Yoshinori <[email protected]> 12408: 12409: * linuxdev/arch/i386/linux_irq.c (linux_bad_intr): New function. 12410: (free_irq): Set linux_bad_intr into ivect[irq]. 12411: * linuxdev/arch/i386/linux_init.c (linux_init): 12412: Set linux_bad_intr as the default interrupt handler. 12413: 12414: * linuxdev/include/asm-i386/string.h (strstr): Fix the 12415: egcs/gcc 2.8.x bug and a linkage problem. Reported by 12416: Roland McGrath <[email protected]>. 12417: 12418: 1998-11-18 OKUJI Yoshinori <[email protected]> 12419: 12420: * linuxdev/Drivers.in: Fix a typo. 12421: * linuxdev/Makefrag: Likewise. 12422: * linuxdev/arch/i386/linux_block.c (set_blocksize): Likewise. 12423: 12424: * linuxdev/arch/i386/linux_kmem.c (vfree): Cast void * to 12425: vm_offset_t. 12426: * linuxdev/drivers/net/wavelan.p.h: Include 12427: <linuxdev/drivers/net/i82586.h>, instead of <drivers/net/i82586.h>. 12428: * linuxdev/drivers/scsi/aha152x.c: Define AUTOCONF. 12429: * linuxdev/configure: Regenerate. 12430: 12431: 1998-11-17 OKUJI Yoshinori <[email protected]> 12432: 12433: * linuxdev/arch/i386/linux_misc.c (strstr): New function. 12434: Because inline version strstr is not used when use 12435: egcs/gcc 2.8.x. Reported by UCHIYAMA Yasushi <[email protected]>. 12436: 12437: * linuxdev/arch/i386/linux_irq.c (unmask_irq): Fix a typo. 12438: 12439: 1998-11-17 OKUJI Yoshinori <[email protected]> 12440: 12441: * i386/README-Drivers: Update to Linux 2.0.36 device drivers. 12442: * linuxdev/Drivers.in: Likewise. 12443: * linuxdev/Makefrag: Likewise. 12444: * linuxdev/arch/i386/linux_lib.S: Likewise. 12445: * linuxdev/device-drivers.h.in: Likewise. 12446: * linuxdev/drivers/block/floppy.c: Likewise. 12447: * linuxdev/drivers/block/ide.c: Likewise. 12448: * linuxdev/drivers/block/ide.h: Likewise. 12449: * linuxdev/drivers/net/3c505.h: Likewise. 12450: * linuxdev/drivers/net/3c509.c: Likewise. 12451: * linuxdev/drivers/net/3c515.c: Likewise. 12452: * linuxdev/drivers/net/3c59x.c: Likewise. 12453: * linuxdev/drivers/net/Space.c: Likewise. 12454: * linuxdev/drivers/net/apricot.c: Likewise. 12455: * linuxdev/drivers/net/de4x5.c: Likewise. 12456: * linuxdev/drivers/net/eepro.c: Likewise. 12457: * linuxdev/drivers/net/eepro100.c: Likewise. 12458: * linuxdev/drivers/net/eexpress.c: Likewise. 12459: * linuxdev/drivers/net/epic100.c: Likewise. 12460: * linuxdev/drivers/net/eth16i.c: Likewise. 12461: * linuxdev/drivers/net/hp100.c: Likewise. 12462: * linuxdev/drivers/net/lance.c: Likewise. 12463: * linuxdev/drivers/net/ne2k-pci.c: Likewise. 12464: * linuxdev/drivers/net/pcnet32.c: Likewise. 12465: * linuxdev/drivers/net/rtl8139.c: Likewise. 12466: * linuxdev/drivers/net/tlan.c: Likewise. 12467: * linuxdev/drivers/net/tulip.c: Likewise. 12468: * linuxdev/drivers/net/wavelan.c: Likewise. 12469: * linuxdev/drivers/pci/pci.c: Likewise. 12470: * linuxdev/drivers/scsi/BusLogic.c: Likewise. 12471: * linuxdev/drivers/scsi/FlashPoint.c: Likewise. 12472: * linuxdev/drivers/scsi/aha152x.c: Likewise. 12473: * linuxdev/drivers/scsi/aha1542.c: Likewise. 12474: * linuxdev/drivers/scsi/aic7xxx/sequencer.h: Likewise. 12475: * linuxdev/drivers/scsi/aic7xxx.c: Likewise. 12476: * linuxdev/drivers/scsi/aic7xxx_proc.c: Likewise. 12477: * linuxdev/drivers/scsi/aic7xxx_reg.h: Likewise. 12478: * linuxdev/drivers/scsi/dtc.c: Likewise. 12479: * linuxdev/drivers/scsi/eata.c: Likewise. 12480: * linuxdev/drivers/scsi/eata.h: Likewise. 12481: * linuxdev/drivers/scsi/eata_dma.c: Likewise. 12482: * linuxdev/drivers/scsi/gdth.c: Likewise. 12483: * linuxdev/drivers/scsi/gdth.h: Likewise. 12484: * linuxdev/drivers/scsi/gdth_proc.c: Likewise. 12485: * linuxdev/drivers/scsi/gdth_proc.h: Likewise. 12486: * linuxdev/drivers/scsi/hosts.c: Likewise. 12487: * linuxdev/drivers/scsi/in2000.c: Likewise. 12488: * linuxdev/drivers/scsi/in2000.h: Likewise. 12489: * linuxdev/drivers/scsi/ncr53c8xx.c: Likewise. 12490: * linuxdev/drivers/scsi/ppa.h: Likewise. 12491: * linuxdev/drivers/scsi/scsi.c: Likewise. 12492: * linuxdev/drivers/scsi/scsicam.c: Likewise. 12493: * linuxdev/drivers/scsi/sd.c: Likewise. 12494: * linuxdev/drivers/scsi/seagate.c: Likewise. 12495: * linuxdev/drivers/scsi/u14-34f.c: Likewise. 12496: * linuxdev/drivers/scsi/u14-34f.h: Likewise. 12497: * linuxdev/drivers/scsi/wd7000.c: Likewise. 12498: * linuxdev/drivers/scsi/wd7000.h: Likewise. 12499: * linuxdev/include/asm-i386/irq.h: Likewise. 12500: * linuxdev/include/asm-i386/processor.h: Likewise. 12501: * linuxdev/include/asm-i386/ptrace.h: Likewise. 12502: * linuxdev/include/asm-i386/system.h: Likewise. 12503: * linuxdev/include/asm-i386/unistd.h: Likewise. 12504: * linuxdev/include/linux/fs.h: Likewise. 12505: * linuxdev/include/linux/genhd.h: Likewise. 12506: * linuxdev/include/linux/interrupt.h: Likewise. 12507: * linuxdev/include/linux/ip.h: Likewise. 12508: * linuxdev/include/linux/pci.h: Likewise. 12509: * linuxdev/include/linux/version.h: Likewise. 12510: * linuxdev/include/linux/wireless.h: Likewise. 12511: 12512: * linuxdev/drivers/net/via-rhine.c: New file. 12513: * linuxdev/drivers/scsi/aic7xxx_seq.c: Likewise. 12514: * linuxdev/include/linux/rose.h: Likewise. 12515: 12516: * linuxdev/drivers/scsi/aic7xxx_seq.h: Removed. 12517: * linuxdev/configure: Regenerate. 12518: * linuxdev/include/asm-i386/string.h: Fix the egcs/gcc 2.8.x problem, 12519: according to http://www.suse.de/~florian/kernel+egcs.html. 12520: 12521: 1998-11-14 OKUJI Yoshinori <[email protected]> 12522: 12523: * Makefile.in (clib-routines.o): Add -L option to search libc.a. 12524: Reported by TAKEUCHI Yoji <[email protected]>. 12525: 12526: * linuxdev/drivers/pci/bios32.c: Moved to ... 12527: * linuxdev/arch/i386/linux_bios32.c: ... here. Because it is 12528: i386-specific code. 12529: * linuxdev/include/asm: Moved to ... 12530: * linuxdev/include/asm-i386: ... here. 12531: 12532: * i386/README-Drivers: Update to Linux 2.0.35 device drivers. 12533: * linuxdev/Drivers.in: Likewise. 12534: * linuxdev/configure: Likewise. 12535: * linuxdev/device-drivers.h.in: Likewise. 12536: * linuxdev/Makefrag: Likewise. 12537: * linuxdev/arch/i386/linux_autoirq.c: Likewise. 12538: * linuxdev/arch/i386/linux_block.c: Likewise. 12539: * linuxdev/arch/i386/linux_dma.c: Likewise. 12540: * linuxdev/arch/i386/linux_init.c: Likewise. 12541: * linuxdev/arch/i386/linux_irq.c: Likewise. 12542: * linuxdev/arch/i386/linux_kmem.c: Likewise. 12543: * linuxdev/arch/i386/linux_misc.c: Likewise. 12544: * linuxdev/arch/i386/linux_net.c: Likewise. 12545: * linuxdev/arch/i386/linux_port.c: Likewise. 12546: * linuxdev/arch/i386/linux_printk.c: Likewise. 12547: * linuxdev/arch/i386/linux_sched.c: Likewise. 12548: * linuxdev/arch/i386/linux_timer.c: Likewise. 12549: * linuxdev/arch/i386/linux_version.c: Likewise. 12550: * linuxdev/arch/i386/linux_vsprintf.c: Likewise. 12551: * linuxdev/drivers/block/cmd640.c: Likewise. 12552: * linuxdev/drivers/block/floppy.c: Likewise. 12553: * linuxdev/drivers/block/genhd.c: Likewise. 12554: * linuxdev/drivers/block/ide-cd.c: Likewise. 12555: * linuxdev/drivers/block/ide.c: Likewise. 12556: * linuxdev/drivers/block/ide.h: Likewise. 12557: * linuxdev/drivers/block/ide_modes.h: Likewise. 12558: * linuxdev/drivers/block/rz1000.c: Likewise. 12559: * linuxdev/drivers/block/triton.c: Likewise. 12560: * linuxdev/drivers/net/3c501.c: Likewise. 12561: * linuxdev/drivers/net/3c503.c: Likewise. 12562: * linuxdev/drivers/net/3c505.c: Likewise. 12563: * linuxdev/drivers/net/3c507.c: Likewise. 12564: * linuxdev/drivers/net/3c509.c: Likewise. 12565: * linuxdev/drivers/net/3c59x.c: Likewise. 12566: * linuxdev/drivers/net/8390.c: Likewise. 12567: * linuxdev/drivers/net/8390.h: Likewise. 12568: * linuxdev/drivers/net/Space.c: Likewise. 12569: * linuxdev/drivers/net/ac3200.c: Likewise. 12570: * linuxdev/drivers/net/apricot.c: Likewise. 12571: * linuxdev/drivers/net/at1700.c: Likewise. 12572: * linuxdev/drivers/net/atp.c: Likewise. 12573: * linuxdev/drivers/net/atp.h: Likewise. 12574: * linuxdev/drivers/net/de4x5.c: Likewise. 12575: * linuxdev/drivers/net/de4x5.h: Likewise. 12576: * linuxdev/drivers/net/de600.c: Likewise. 12577: * linuxdev/drivers/net/de620.c: Likewise. 12578: * linuxdev/drivers/net/depca.c: Likewise. 12579: * linuxdev/drivers/net/dev.c: Likewise. 12580: * linuxdev/drivers/net/e2100.c: Likewise. 12581: * linuxdev/drivers/net/eepro.c: Likewise. 12582: * linuxdev/drivers/net/eepro100.c: Likewise. 12583: * linuxdev/drivers/net/eexpress.c: Likewise. 12584: * linuxdev/drivers/net/eth16i.c: Likewise. 12585: * linuxdev/drivers/net/ewrk3.c: Likewise. 12586: * linuxdev/drivers/net/ewrk3.h: Likewise. 12587: * linuxdev/drivers/net/hp-plus.c: Likewise. 12588: * linuxdev/drivers/net/hp.c: Likewise. 12589: * linuxdev/drivers/net/hp100.c: Likewise. 12590: * linuxdev/drivers/net/hp100.h: Likewise. 12591: * linuxdev/drivers/net/i82586.h: Likewise. 12592: * linuxdev/drivers/net/lance.c: Likewise. 12593: * linuxdev/drivers/net/ne.c: Likewise. 12594: * linuxdev/drivers/net/net_init.c: Likewise. 12595: * linuxdev/drivers/net/ni52.c: Likewise. 12596: * linuxdev/drivers/net/ni52.h: Likewise. 12597: * linuxdev/drivers/net/ni65.c: Likewise. 12598: * linuxdev/drivers/net/ni65.h: Likewise. 12599: * linuxdev/drivers/net/seeq8005.c: Likewise. 12600: * linuxdev/drivers/net/seeq8005.h: Likewise. 12601: * linuxdev/drivers/net/sk_g16.c: Likewise. 12602: * linuxdev/drivers/net/sk_g16.h: Likewise. 12603: * linuxdev/drivers/net/smc-ultra.c: Likewise. 12604: * linuxdev/drivers/net/tulip.c: Likewise. 12605: * linuxdev/drivers/net/wavelan.c: Likewise. 12606: * linuxdev/drivers/net/wavelan.h: Likewise. 12607: * linuxdev/drivers/net/wd.c: Likewise. 12608: * linuxdev/drivers/net/znet.c: Likewise. 12609: * linuxdev/drivers/pci/pci.c: Likewise. 12610: * linuxdev/drivers/scsi/53c7,8xx.h: Likewise. 12611: * linuxdev/drivers/scsi/53c78xx.c: Likewise. 12612: * linuxdev/drivers/scsi/53c8xx_d.h: Likewise. 12613: * linuxdev/drivers/scsi/AM53C974.c: Likewise. 12614: * linuxdev/drivers/scsi/AM53C974.h: Likewise. 12615: * linuxdev/drivers/scsi/BusLogic.c: Likewise. 12616: * linuxdev/drivers/scsi/BusLogic.h: Likewise. 12617: * linuxdev/drivers/scsi/NCR53c406a.c: Likewise. 12618: * linuxdev/drivers/scsi/NCR53c406a.h: Likewise. 12619: * linuxdev/drivers/scsi/advansys.c: Likewise. 12620: * linuxdev/drivers/scsi/advansys.h: Likewise. 12621: * linuxdev/drivers/scsi/aha152x.c: Likewise. 12622: * linuxdev/drivers/scsi/aha152x.h: Likewise. 12623: * linuxdev/drivers/scsi/aha1542.c: Likewise. 12624: * linuxdev/drivers/scsi/aha1542.h: Likewise. 12625: * linuxdev/drivers/scsi/aha1740.c: Likewise. 12626: * linuxdev/drivers/scsi/aha1740.h: Likewise. 12627: * linuxdev/drivers/scsi/aic7xxx.c: Likewise. 12628: * linuxdev/drivers/scsi/aic7xxx.h: Likewise. 12629: * linuxdev/drivers/scsi/aic7xxx_seq.h: Likewise. 12630: * linuxdev/drivers/scsi/constants.h: Likewise. 12631: * linuxdev/drivers/scsi/eata.c: Likewise. 12632: * linuxdev/drivers/scsi/eata.h: Likewise. 12633: * linuxdev/drivers/scsi/eata_dma.c: Likewise. 12634: * linuxdev/drivers/scsi/eata_dma.h: Likewise. 12635: * linuxdev/drivers/scsi/eata_generic.h: Likewise. 12636: * linuxdev/drivers/scsi/eata_pio.c: Likewise. 12637: * linuxdev/drivers/scsi/eata_pio.h: Likewise. 12638: * linuxdev/drivers/scsi/fdomain.c: Likewise. 12639: * linuxdev/drivers/scsi/fdomain.h: Likewise. 12640: * linuxdev/drivers/scsi/g_NCR5380.c: Likewise. 12641: * linuxdev/drivers/scsi/g_NCR5380.h: Likewise. 12642: * linuxdev/drivers/scsi/hosts.c: Likewise. 12643: * linuxdev/drivers/scsi/hosts.h: Likewise. 12644: * linuxdev/drivers/scsi/in2000.c: Likewise. 12645: * linuxdev/drivers/scsi/in2000.h: Likewise. 12646: * linuxdev/drivers/scsi/pas16.c: Likewise. 12647: * linuxdev/drivers/scsi/pas16.h: Likewise. 12648: * linuxdev/drivers/scsi/scsi.c: Likewise. 12649: * linuxdev/drivers/scsi/scsi.h: Likewise. 12650: * linuxdev/drivers/scsi/scsi_ioctl.c: Likewise. 12651: * linuxdev/drivers/scsi/scsi_proc.c: Likewise. 12652: * linuxdev/drivers/scsi/scsicam.c: Likewise. 12653: * linuxdev/drivers/scsi/sd.c: Likewise. 12654: * linuxdev/drivers/scsi/sd.h: Likewise. 12655: * linuxdev/drivers/scsi/sd_ioctl.c: Likewise. 12656: * linuxdev/drivers/scsi/seagate.c: Likewise. 12657: * linuxdev/drivers/scsi/seagate.h: Likewise. 12658: * linuxdev/drivers/scsi/sr.c: Likewise. 12659: * linuxdev/drivers/scsi/sr_ioctl.c: Likewise. 12660: * linuxdev/drivers/scsi/t128.c: Likewise. 12661: * linuxdev/drivers/scsi/t128.h: Likewise. 12662: * linuxdev/drivers/scsi/u14-34f.c: Likewise. 12663: * linuxdev/drivers/scsi/u14-34f.h: Likewise. 12664: * linuxdev/drivers/scsi/ultrastor.c: Likewise. 12665: * linuxdev/drivers/scsi/ultrastor.h: Likewise. 12666: * linuxdev/drivers/scsi/wd7000.c: Likewise. 12667: * linuxdev/drivers/scsi/wd7000.h: Likewise. 12668: * linuxdev/include/asm-i386/bitops.h: Likewise. 12669: * linuxdev/include/asm-i386/delay.h: Likewise. 12670: * linuxdev/include/asm-i386/dma.h: Likewise. 12671: * linuxdev/include/asm-i386/errno.h: Likewise. 12672: * linuxdev/include/asm-i386/fcntl.h: Likewise. 12673: * linuxdev/include/asm-i386/floppy.h: Likewise. 12674: * linuxdev/include/asm-i386/ioctl.h: Likewise. 12675: * linuxdev/include/asm-i386/floppy.h: Likewise. 12676: * linuxdev/include/asm-i386/irq.h: Likewise. 12677: * linuxdev/include/asm-i386/processor.h: Likewise. 12678: * linuxdev/include/asm-i386/ptrace.h: Likewise. 12679: * linuxdev/include/asm-i386/resource.h: Likewise. 12680: * linuxdev/include/asm-i386/segment.h: Likewise. 12681: * linuxdev/include/asm-i386/sigcontext.h: Likewise. 12682: * linuxdev/include/asm-i386/signal.h: Likewise. 12683: * linuxdev/include/asm-i386/socket.h: Likewise. 12684: * linuxdev/include/asm-i386/statfs.h: Likewise. 12685: * linuxdev/include/asm-i386/string.h: Likewise. 12686: * linuxdev/include/asm-i386/system.h: Likewise. 12687: * linuxdev/include/asm-i386/termios.h: Likewise. 12688: * linuxdev/include/asm-i386/types.h: Likewise. 12689: * linuxdev/include/asm-i386/unistd.h: Likewise. 12690: * linuxdev/include/linux/autoconf.h: Likewise. 12691: * linuxdev/include/linux/binfmts.h: Likewise. 12692: * linuxdev/include/linux/bios32.h: Likewise. 12693: * linuxdev/include/linux/blk.h: Likewise. 12694: * linuxdev/include/linux/blkdev.h: Likewise. 12695: * linuxdev/include/linux/cdrom.h: Likewise. 12696: * linuxdev/include/linux/config.h: Likewise. 12697: * linuxdev/include/linux/etherdevice.h: Likewise. 12698: * linuxdev/include/linux/fd.h: Likewise. 12699: * linuxdev/include/linux/fdreg.h: Likewise. 12700: * linuxdev/include/linux/fs.h: Likewise. 12701: * linuxdev/include/linux/genhd.h: Likewise. 12702: * linuxdev/include/linux/hdreg.h: Likewise. 12703: * linuxdev/include/linux/if.h: Likewise. 12704: * linuxdev/include/linux/if_arp.h: Likewise. 12705: * linuxdev/include/linux/if_ether.h: Likewise. 12706: * linuxdev/include/linux/if_tr.h: Likewise. 12707: * linuxdev/include/linux/igmp.h: Likewise. 12708: * linuxdev/include/linux/in.h: Likewise. 12709: * linuxdev/include/linux/inet.h: Likewise. 12710: * linuxdev/include/linux/interrupt.h: Likewise. 12711: * linuxdev/include/linux/ioport.h: Likewise. 12712: * linuxdev/include/linux/ip.h: Likewise. 12713: * linuxdev/include/linux/kernel.h: Likewise. 12714: * linuxdev/include/linux/locks.h: Likewise. 12715: * linuxdev/include/linux/major.h: Likewise. 12716: * linuxdev/include/linux/malloc.h: Likewise. 12717: * linuxdev/include/linux/mc146818rtc.h: Likewise. 12718: * linuxdev/include/linux/mm.h: Likewise. 12719: * linuxdev/include/linux/module.h: Likewise. 12720: * linuxdev/include/linux/mount.h: Likewise. 12721: * linuxdev/include/linux/net.h: Likewise. 12722: * linuxdev/include/linux/netdevice.h: Likewise. 12723: * linuxdev/include/linux/nfs.h: Likewise. 12724: * linuxdev/include/linux/notifier.h: Likewise. 12725: * linuxdev/include/linux/pagemap.h: Likewise. 12726: * linuxdev/include/linux/pci.h: Likewise. 12727: * linuxdev/include/linux/personality.h: Likewise. 12728: * linuxdev/include/linux/proc_fs.h: Likewise. 12729: * linuxdev/include/linux/quota.h: Likewise. 12730: * linuxdev/include/linux/route.h: Likewise. 12731: * linuxdev/include/linux/sched.h: Likewise. 12732: * linuxdev/include/linux/skbuff.h: Likewise. 12733: * linuxdev/include/linux/socket.h: Likewise. 12734: * linuxdev/include/linux/sockios.h: Likewise. 12735: * linuxdev/include/linux/string.h: Likewise. 12736: * linuxdev/include/linux/time.h: Likewise. 12737: * linuxdev/include/linux/timer.h: Likewise. 12738: * linuxdev/include/linux/tqueue.h: Likewise. 12739: * linuxdev/include/linux/tty.h: Likewise. 12740: * linuxdev/include/linux/types.h: Likewise. 12741: * linuxdev/include/linux/uio.h: Likewise. 12742: * linuxdev/include/linux/version.h: Likewise. 12743: * linuxdev/include/linux/wait.h: Likewise. 12744: * linuxdev/include/net/af_unix.h: Likewise. 12745: * linuxdev/include/net/ax25.h: Likewise. 12746: * linuxdev/include/net/ax25call.h: Likewise. 12747: * linuxdev/include/net/icmp.h: Likewise. 12748: * linuxdev/include/net/ip.h: Likewise. 12749: * linuxdev/include/net/ip_alias.h: Likewise. 12750: * linuxdev/include/net/ip_forward.h: Likewise. 12751: * linuxdev/include/net/ipx.h: Likewise. 12752: * linuxdev/include/net/netlink.h: Likewise. 12753: * linuxdev/include/net/netrom.h: Likewise. 12754: * linuxdev/include/net/nrcall.h: Likewise. 12755: * linuxdev/include/net/p8022.h: Likewise. 12756: * linuxdev/include/net/protocol.h: Likewise. 12757: * linuxdev/include/net/psnap.h: Likewise. 12758: * linuxdev/include/net/raw.h: Likewise. 12759: * linuxdev/include/net/route.h: Likewise. 12760: * linuxdev/include/net/sock.h: Likewise. 12761: * linuxdev/include/net/tcp.h: Likewise. 12762: * linuxdev/include/net/udp.h: Likewise. 12763: 12764: * linuxdev/arch/i386/linux_soft.c: Removed. 12765: * linuxdev/drivers/scsi/NCR5380.src: Likewise. 12766: * linuxdev/drivers/scsi/aic7xxx_proc.src: Likewise. 12767: * linuxdev/drivers/scsi/aic7xxx_reg.h: Likewise. 12768: * linuxdev/drivers/scsi/eata_dma_proc.src: Likewise. 12769: * linuxdev/drivers/scsi/eata_pio_proc.src: Likewise. 12770: * linuxdev/drivers/scsi/qlogic.c: Likewise. 12771: * linuxdev/drivers/scsi/qlogic.h: Likewise. 12772: * linuxdev/drivers/scsi/scsi_debug.c: Likewise. 12773: * linuxdev/drivers/scsi/scsi_debug.h: Likewise. 12774: * linuxdev/drivers/scsi/scsi_ioctl.h: Likewise. 12775: * linuxdev/include/linux/math_emu.h: Likewise. 12776: * linuxdev/include/linux/minix_fs.h: Likewise. 12777: * linuxdev/include/linux/minix_fs_sb.h: Likewise. 12778: * linuxdev/include/linux/scsi.h: Likewise. 12779: * linuxdev/include/linux/scsicam.h: Likewise. 12780: * linuxdev/include/linux/vm86.h: Likewise. 12781: 12782: * linuxdev/arch/i386/linux_ctype.c: New file. 12783: * linuxdev/arch/i386/linux_lib.S: Likewise. 12784: * linuxdev/arch/i386/linux_softirq.c: Likewise. 12785: * linuxdev/drivers/net/3c515.c: Likewise. 12786: * linuxdev/drivers/net/epic100.c: Likewise. 12787: * linuxdev/drivers/net/eth82586.h: Likewise. 12788: * linuxdev/drivers/net/fmv18x.c: Likewise. 12789: * linuxdev/drivers/net/ne2k-pci.c: Likewise. 12790: * linuxdev/drivers/net/pcnet32.c: Likewise. 12791: * linuxdev/drivers/net/rtl8139.c: Likewise. 12792: * linuxdev/drivers/net/smc-ultra32.c: Likewise. 12793: * linuxdev/drivers/net/smc9194.c: Likewise. 12794: * linuxdev/drivers/net/smc9194.h: Likewise. 12795: * linuxdev/drivers/net/tlan.c: Likewise. 12796: * linuxdev/drivers/net/tlan.h: Likewise. 12797: * linuxdev/drivers/net/wavelan.p.h: Likewise. 12798: * linuxdev/drivers/net/yellowfin.c: Likewise. 12799: * linuxdev/drivers/scsi/FlashPoint.c: Likewise. 12800: * linuxdev/drivers/scsi/NCR5380.c: Likewise. 12801: * linuxdev/drivers/scsi/NCR5380.h: Likewise. 12802: * linuxdev/drivers/scsi/aic7xxx/scsi_message.h: Likewise. 12803: * linuxdev/drivers/scsi/aic7xxx/sequencer.h: Likewise. 12804: * linuxdev/drivers/scsi/aic7xxx_proc.c: Likewise. 12805: * linuxdev/drivers/scsi/dc390.h: Likewise. 12806: * linuxdev/drivers/scsi/dc390w.h: Likewise. 12807: * linuxdev/drivers/scsi/dtc.c: Likewise. 12808: * linuxdev/drivers/scsi/dtc.h: Likewise. 12809: * linuxdev/drivers/scsi/eata_dma_proc.c: Likewise. 12810: * linuxdev/drivers/scsi/eata_pio_proc.c: Likewise. 12811: * linuxdev/drivers/scsi/gdth.c: Likewise. 12812: * linuxdev/drivers/scsi/gdth.h: Likewise. 12813: * linuxdev/drivers/scsi/gdth_ioctl.h: Likewise. 12814: * linuxdev/drivers/scsi/gdth_proc.c: Likewise. 12815: * linuxdev/drivers/scsi/gdth_proc.h: Likewise. 12816: * linuxdev/drivers/scsi/ncr53c8xx.c: Likewise. 12817: * linuxdev/drivers/scsi/ncr53c8xx.h: Likewise. 12818: * linuxdev/drivers/scsi/ppa.c: Likewise. 12819: * linuxdev/drivers/scsi/ppa.h: Likewise. 12820: * linuxdev/drivers/scsi/qlogicfas.c: Likewise. 12821: * linuxdev/drivers/scsi/qlogicfas.h: Likewise. 12822: * linuxdev/drivers/scsi/qlogicisp.c: Likewise. 12823: * linuxdev/drivers/scsi/qlogicisp.h: Likewise. 12824: * linuxdev/drivers/scsi/qlogicisp_asm.c: Likewise. 12825: * linuxdev/drivers/scsi/scripts.h: Likewise. 12826: * linuxdev/drivers/scsi/scsiio.c: Likewise. 12827: * linuxdev/drivers/scsi/scsiiom.c: Likewise. 12828: * linuxdev/drivers/scsi/tmscsim.c: Likewise. 12829: * linuxdev/drivers/scsi/tmscsim.h: Likewise. 12830: * linuxdev/drivers/scsi/tmscsiw.c: Likewise. 12831: * linuxdev/drivers/scsi/tmscsiw.h: Likewise. 12832: * linuxdev/include/asm-i386/atomic.h: Likewise. 12833: * linuxdev/include/asm-i386/checksum.h: Likewise. 12834: * linuxdev/include/asm-i386/ioctls.h: Likewise. 12835: * linuxdev/include/asm-i386/math_emu.h: Likewise. 12836: * linuxdev/include/asm-i386/posix_types.h: Likewise. 12837: * linuxdev/include/asm-i386/semaphore.h: Likewise. 12838: * linuxdev/include/asm-i386/sockios.h: Likewise. 12839: * linuxdev/include/asm-i386/string-486.h: Likewise. 12840: * linuxdev/include/asm-i386/termbits.h: Likewise. 12841: * linuxdev/include/asm-i386/unaligned.h: Likewise. 12842: * linuxdev/include/asm-i386/vm86.h: Likewise. 12843: * linuxdev/include/linux/affs_hardblocks.h: Likewise. 12844: * linuxdev/include/linux/atalk.h: Likewise. 12845: * linuxdev/include/linux/ax25.h: Likewise. 12846: * linuxdev/include/linux/compile.h: Likewise. 12847: * linuxdev/include/linux/ctype.h: Likewise. 12848: * linuxdev/include/linux/fddidevice.h: Likewise. 12849: * linuxdev/include/linux/icmp.h: Likewise. 12850: * linuxdev/include/linux/if_fddi.h: Likewise. 12851: * linuxdev/include/linux/ipx.h: Likewise. 12852: * linuxdev/include/linux/md.h: Likewise. 12853: * linuxdev/include/linux/netrom.h: Likewise. 12854: * linuxdev/include/linux/posix_types.h: Likewise. 12855: * linuxdev/include/linux/random.h: Likewise. 12856: * linuxdev/include/linux/ucdrom.h: Likewise. 12857: * linuxdev/include/linux/udp.h: Likewise. 12858: * linuxdev/include/linux/wireless.h: Likewise. 12859: * linuxdev/include/net/br.h: Likewise. 12860: * linuxdev/include/net/gc.h: Likewise. 12861: * linuxdev/include/net/ip_masq.h: Likewise. 12862: * linuxdev/include/net/p8022tr.h: Likewise. 12863: * linuxdev/include/net/p8022trcall.h: Likewise. 12864: * linuxdev/include/net/rose.h: Likewise. 12865: * linuxdev/include/net/rosecall.h: Likewise. 12866: * linuxdev/include/net/slhc_vj.h: Likewise. 12867: * linuxdev/include/net/spx.h: Likewise. 12868: * linuxdev/include/scsi/scsi.h: Likewise. 12869: * linuxdev/include/scsi/scsi_ioctl.h: Likewise. 12870: * linuxdev/include/scsi/scsicam.h: Likewise. 12871: 12872: 1998-11-06 OKUJI Yoshinori <[email protected]> 12873: 12874: * i386/i386at/gpl/linux: Moved to ... 12875: * linuxdev: ... here. 12876: * i386/Makefrag: Linux drivers specific code moved to ... 12877: * linuxdev/Makefrag: ... here. 12878: * i386/Files: Recreated. 12879: * i386/Subdirs: Likewise. 12880: * linuxdev/drivers: New directory. 12881: * linuxdev/arch: Likewise. 12882: * linuxdev/arch/i386: Likewise. 12883: * linuxdev/{block,scsi,net,pci}: Moved to ... 12884: * linuxdev/drivers/{block,scsi,net,pci}: ... here. 12885: * i386/{Drivers.in,device-drivers.h.in,driverlist.in}: Moved to ... 12886: * linuxdev/{Drivers.in,device-drivers.h.in,driverlist.in}: ... here. 12887: * linuxdev/{linux_emul.h,linux_*.c}: Moved to ... 12888: * linuxdev/arch/i386/{linux_emul.h,linux_*.c}: ... here. 12889: * linuxdev/arch/i386/linux_block.c: Include <linux_emul.h>, instead 12890: of <i386at/gpl/linux/linux_emul.h>. 12891: * linuxdev/arch/i386/linux_init.c: Likewise. 12892: * linuxdev/arch/i386/linux_kmem.c: Likewise. 12893: * linuxdev/arch/i386/linux_misc.c: Likewise. 12894: * linuxdev/arch/i386/linux_net.c: Likewise. 12895: * linuxdev/arch/i386/linux_sched.c: Likewise. 12896: * device/ds_routines.c: Include <linuxdev/device-drivers.h>, instead 12897: of <i386/device-drivers.h>. 12898: * linuxdev/arch/i386/linux_init.c: Likewise. 12899: * linuxdev/include/linux/autoconf.h: Likewise. 12900: * Makefile.in: Include $(srcdir)/linuxdev/Makefrag. 12901: * linuxdev/Drivers.in (AC_INIT): Use include/linux/autoconf.h, 12902: instead of i386/i386asm.sym. 12903: 12904: 1998-10-28 Roland McGrath <[email protected]> 12905: 12906: * include/mach/multiboot.h: Contents were doubled. 12907: 12908: 1998-10-24 Roland McGrath <[email protected]> 12909: 12910: * Makefile.in (mach_machine): Don't depend on config.status, since it 12911: is always newer than the symlink target. 12912: 12913: * i386/Makefrag ($(systype)/device-drivers.h): Depend on 12914: $(systype)/driverlist, and have no commands. 12915: 12916: * configure.in (--enable-kdb): Fix help text; handle --disable-kdb. 12917: Remove BUILD_CC checks and lex/yacc checks (which were for mig). 12918: (installed_clib): Remove these checks. 12919: (LD, NM, MIG): Use AC_CHECK_TOOL for these. 12920: 12921: * Makefile.in (all, clean, mostlyclean, install, dist, 12922: %_interface.h rule, all *mig* rules): Remove all commands, deps, 12923: and rules related to mig, which is now in a separate distribution. 12924: 12925: * Makefile.in (before-compile): Add mach/machine. 12926: (mach/machine, mach_machine): New rules to make symlink so 12927: #include <mach/machine/foo.h> works. 12928: 12929: * Makefile.in (NM): New variable, substituted by configure. 12930: (check-clib-routines): Use $(NM) instead of literal "nm". 12931: Fix awk script to grok __ defns and weak defns of desired symbols. 12932: (clib-routines.o): Use $(CC) -r -nostartfiles -nostdlib -static 12933: instead of $(LD) -r. Use -lc instead of $(installed-clib). 12934: (installed-clib): Variable removed. 12935: 12936: * i386/Makefrag: Use -include for linux-flags, so no warning. 12937: 12938: * device/chario.c: Add forward decl for ttstart. 12939: 12940: * i386/i386/db_trace.c: Use explicit int in decl. 12941: 12942: * device/ds_routines.c (device_write_trap, device_writev_trap, 12943: ds_trap_write_done): Cast arg to zfree. 12944: 12945: * kern/ipc_tt.c (mach_ports_lookup): Remove unnecessary cast. 12946: 12947: 1998-10-04 Roland McGrath <[email protected]> 12948: 12949: * include/mach/message.h: Use __typeof instead of typeof. 12950: 12951: 1998-09-06 Roland McGrath <[email protected]> 12952: 12953: * kern/time_out.h: Include <mach/time_value.h> for time_value_t defn. 12954: 12955: 1998-07-19 Roland McGrath <[email protected]> 12956: 12957: * mig: Subdirectory removed, now in separate dist. 12958: 12959: Fri Apr 24 14:24:15 1998 Thomas Bushnell, n/BSG <[email protected]> 12960: 12961: * i386/i386/pcb.c (thread_setstatus): Set STATE before validating 12962: segment registers. Reported by UCHIYAMA Fasushi ([email protected]). 12963: 12964: Fri Apr 24 13:19:40 1998 Thomas Bushnell n/BSG <[email protected]> 12965: 12966: * kern/debug.c (panic): Increase "seconds" in delay to 1000; machines 12967: are faster now. 12968: 12969: * i386/i386at/gpl/linux/linux_kmem.c: Increase MEM_CHUNKS to 7. 12970: 12971: Wed Aug 20 16:05:19 1997 Thomas Bushnell, n/BSG <[email protected]> 12972: 12973: * kern/thread.h (struct thread): New member `creation_time'. 12974: * include/mach/thread_info.h: New member `creation_time'. 12975: * kern/thread.c (thread_create): Set creation time stamp. 12976: (thread_info) [THREAD_BASIC_INFO]: Fill in new creation time 12977: field. Carefully preserve compatibility with old callers. 12978: 12979: * kern/task.h (struct task): New member `creation_time'. 12980: * include/mach/task_info.h: New member `creation_time'. 12981: * kern/task.c (task_create): Set creation time stamp. 12982: (task_info) [TASK_BASIC_INFO]: Fill in new creation time field. 12983: Carefully preserve compatibility with old callers. 12984: 12985: * kern/mach_clock.c (record_time_stamp): New function. 12986: * kern/time_out.h (record_time_stamp): Add prototype. 12987: 12988: Sun Aug 3 18:25:38 1997 Shantanu Goel <[email protected]> 12989: 12990: * i386/i386/thread.h (struct pcb): Added new field `data' used 12991: by Linux driver emulation. 12992: 12993: * i386/i386at/gpl/linux/include/linux/blk.h (end_request): 12994: Revamped Mach specific code. Don't use `errors' field in request. 12995: Don't call driver's request function. 12996: 12997: * i386/i386at/gpl/linux/include/linux/fs.h (struct buffer_head): 12998: Deleted old Mach-specific definition. Use original Linux defintion. 12999: 13000: * i386/i386at/gpl/linux/linux_block.c: Rewritten extensively. 13001: (collect_buffer_pages): Deleted. 13002: (alloc_buffer, free_buffer): Rewritten to use Mach page allocator. 13003: (getblk, __brelse): Use Mach kernel allocator. 13004: (check_for_error): Deleted. 13005: (ll_rw_block): Allocate request structure on stack. 13006: (rdwr_partial, rdwr_full, do_rdwr) New routines. 13007: (block_read, block_write): Rewritten to use new routine do_rdwr. 13008: (find_name): New routine. 13009: (read_bsd_label, read_vtoc): New routines. 13010: (init_partition): New routine. 13011: (device_open): Rewritten for modularity. Allocate Linux block 13012: variables on the stack. 13013: (check_limit): New routine. 13014: (device_read, device_write): Rewritten extensively. Map user 13015: pages into kernel buffer before passing to driver. This is in 13016: preparation for general Linux block driver support. Allocate 13017: Linux block variables on the stack. 13018: 13019: * i386/i386at/gpl/linux/linux_kmem.c: 13020: (collect_buffer_pages): Deleted. 13021: 13022: Fri Aug 1 16:15:33 1997 Thomas Bushnell, n/BSG <[email protected]> 13023: 13024: * kern/mach_clock.c (clock_interrupt): Test correct macro to see 13025: if PC sampling is configured: MACH_PCSAMPLE, not MACH_SAMPLE. 13026: 13027: * i386/i386/locore.S (discover_x86_cpu_type): Comment out routine 13028: for now. 13029: * i386/i386at/model_dep.c (c_boot_entry): Comment out use of 13030: discover_x86_cpu_type for now. 13031: 13032: * i386/include/mach/i386/eflags.h (EFL_AC, EFL_ID): New bits. 13033: 13034: * i386/i386/locore.S (discover_x86_cpu_type): Use correct opcode 13035: for right shift. Use ENTRY macro correctly. 13036: 13037: Mon Jul 28 17:01:19 1997 Thomas Bushnell, n/BSG <[email protected]> 13038: 13039: * COPYING: New file. 13040: * Makefile.in (topfiles): Add COPYING. 13041: 13042: Mon Jul 21 14:20:39 1997 Thomas Bushnell, n/BSG <[email protected]> 13043: 13044: * kern/mach4.srv: Include <mach_pcsample.h> so the value of 13045: MACH_PCSAMPLE is made available for mach4.defs. 13046: 13047: Thu Jul 10 13:51:20 1997 Thomas Bushnell, n/BSG <[email protected]> 13048: 13049: * Makefile.in (install): Use `ln -sf' instead of `-ln -s'. 13050: Suggested by Marcus G. Daniels ([email protected]). 13051: 13052: Thu Jun 26 13:48:31 1997 Thomas Bushnell, n/BSG <[email protected]> 13053: 13054: * i386/i386/locore.S (discover_x86_cpu_type): New function. 13055: * i386/i386at/model_dep.c (c_boot_entry): Fill in cpu type in 13056: MACHINE_SLOT using new function. 13057: 13058: * include/mach/machine.h (CPU_TYPE_I486, CPU_TYPE_PENTIUM, 13059: CPU_TYPE_PENTIUMPRO, CPU_TYPE_POWERPC): New CPU types. These 13060: conform to current OSF Mach values, but note that some of the 13061: various subtypes are different. 13062: 13063: Mon Jun 16 12:14:17 1997 Thomas Bushnell, n/BSG <[email protected]> 13064: 13065: * i386/i386/loose_ends.c (ovbcopy): Delete function. Suggested by 13066: Matthew Wilcox ([email protected].) 13067: 1.1.1.3 root 13068: Thu Jun 12 18:08:29 1997 Thomas Bushnell, n/BSG <[email protected]> 13069: 13070: Version 1.1.3 released. 1.1.1.4 root 13071: 1.1.1.3 root 13072: * version.c (version): Update to 1.1.3. 13073: 13074: Wed Jun 11 20:16:47 1997 Thomas Bushnell, n/BSG <[email protected]> 13075: 13076: * i386/Drivers.in: Add el3. How did this escape notice? 13077: * i386/device-drivers.h.in: Add CONFIG_EL3. 13078: 1.1.1.2 root 13079: Tue Jun 10 13:33:37 1997 Thomas Bushnell, n/BSG <[email protected]> 13080: 1.1.1.3 root 13081: Version 1.1.2 released. 1.1.1.4 root 13082: 1.1.1.2 root 13083: * Makefile.in (install): Install cross-migcom as `migcom', not as 1.1.1.4 root 13084: `mig'. 1.1.1.2 root 13085: 13086: * i386/Makefrag (objfiles += $(device_drivers)): Sort 13087: $(device_drivers) before adding to objfiles in order to remove 1.1.1.4 root 13088: duplicates. 1.1.1.2 root 13089: 13090: Mon Jun 9 22:14:09 1997 Thomas Bushnell, n/BSG <[email protected]> 13091: 13092: * i386/Drivers.in: Fix typos apt.o -> atp.o; 3c403.o -> 3c503.o. 1.1.1.4 root 13093: 1.1.1.2 root 13094: * Drivers.macros (AC_DRIVER): Test the class selected flag 1.1.1.4 root 13095: correctly. 13096: 1.1.1.2 root 13097: Mon May 26 14:33:19 1997 Thomas Bushnell, n/BSG <[email protected]> 13098: 13099: * version.c (version): Update to version 1.1.2. 13100: 13101: Fri May 23 10:08:48 1997 Thomas Bushnell, n/BSG <[email protected]> 13102: 13103: * kern/thread.c (thread_info): Set flags word correctly; 13104: TH_FLAGS_SWAPPED and TH_FLAGS_IDLE are not exclusive. 13105: 13106: * Makefile.in (topfiles): Add aclocal.m4. 13107: Reported by Marcus G. Daniels ([email protected]). 1.1.1.4 root 13108: 1.1.1.2 root 13109: Mon May 12 11:25:38 1997 Thomas Bushnell, n/BSG <[email protected]> 13110: 13111: Version 1.1.1 released. 1.1.1.4 root 13112: 1.1.1.2 root 13113: * version.c (version): Update to version 1.1.1. 13114: 13115: * bogus/mach_kdb.h: Make sure MACH_KDB is always defined, to zero 13116: if necessary. Bug report from Marcus Daniels 1.1.1.4 root 13117: ([email protected]). 1.1.1.2 root 13118: 13119: Fri May 9 13:06:25 1997 Thomas Bushnell, n/BSG <[email protected]> 13120: 13121: * i386/Files: Fix typo for _setjmp.S. 13122: Reflect 53c7,8xx.c -> 53c78xx.c change. 13123: 13124: Wed May 7 15:32:08 1997 Thomas Bushnell, n/BSG <[email protected]> 13125: 13126: * version.c (version): Update to version 1.1. 13127: * NEWS: New file. 13128: * Makefile.in (topfiles): Add NEWS. 13129: 13130: Mon May 5 11:34:01 1997 Thomas Bushnell, n/BSG <[email protected]> 13131: 13132: * Makefile.in (enable_kdb): Use findstring instead of filter. 13133: Reported by Marcus Daniels ([email protected]). 13134: 13135: Fri May 2 12:43:46 1997 Thomas Bushnell, n/BSG <[email protected]> 13136: 13137: * Makefile.in (enable_kdb): New variable. 13138: (clib-routines): If enable_kdb, then add strstr. 13139: * i386/i386/_setjmp.S: New file, from UK22 libmach. 13140: * i386/Files: Add i386/i386/_setjmp.S. 13141: * i386/Makefrag (objfiles): Add _setjmp.o if enable_kdb. 1.1.1.4 root 13142: 1.1.1.2 root 13143: 1997-04-30 Marcus G. Daniels <[email protected]> 13144: 13145: * Makefile.in (clib-routines): Add htons not because it is necessary, 13146: but because libc5 systems will bring it in. 13147: (check-clib-routines): Tolerate extra weak symbols. 13148: 13149: Wed Apr 30 14:12:12 1997 Thomas Bushnell, n/BSG <[email protected]> 13150: 13151: * Makefile.in: Delete duplicate rule for cross-mig. 13152: 13153: Mon Apr 28 12:09:53 1997 Thomas Bushnell, n/BSG <[email protected]> 13154: 13155: * Makefile.in (check): New target. Reported by 1.1.1.4 root 13156: [email protected]. 1.1.1.2 root 13157: 13158: * i386/Drivers.in (ncr53c7xx): Change file name to 53c78xx.o. 13159: * i386/i386at/gpl/linux/scsi/53c7,8xx.c: Moved to ... 13160: * i386/i386at/gpl/linux/scsi/53c78xx.c: ... here. 13161: * i386/Makefrag (linux-scsi-files): Change file name here too. 13162: Reported by [email protected]. 13163: 13164: Wed Apr 23 14:35:44 1997 Miles Bader <[email protected]> 13165: 13166: * ipc/ipc_entry.c [MACH_KDB]: Add include of <kern/task.h>. 13167: 13168: Wed Apr 23 13:21:23 1997 Thomas Bushnell, n/BSG <[email protected]> 13169: 13170: * configure.in (BUILD_CC): Use AC_CHECK_PROGS, not AC_CHECK_PROG, 13171: since we are checking multiple names. 13172: 13173: * configure.in (kdb): New --enable option. 13174: * Makefile.in (DEFINES): Add @DEFS@. 13175: * bogus/mach_kdb.h: Make this file zero length; we get MACH_KDB 13176: from configure now. 13177: 13178: * Makefile.in (clean, distclean, mostlyclean, maintainter-clean): 1.1.1.4 root 13179: New targets. 13180: (all-archs-configures): New variable. 1.1.1.2 root 13181: (MIG): Change to ./local-mig. 13182: (./local-mig): Change to build this instead of ./mig 13183: (check-clib-routines): Use nm -g in case there are local symbols. 1.1.1.4 root 13184: Suggested by Matthew Wilcox ([email protected]). 1.1.1.2 root 13185: 13186: Fri Apr 18 15:25:10 1997 Thomas Bushnell, n/BSG <[email protected]> 13187: 13188: * configure.in: Add AC_PREREQ for version 2.12. 13189: * i386/Drivers.in: Likewise. 13190: 13191: Wed Apr 16 16:55:36 1997 Marcus G. Daniels <[email protected]> 13192: 13193: * configure.in: Replace AC_PROG_CC with AC_PROG_CC_LOCAL. 13194: If cross compiling do Lex/Yacc checks with BUILD_CC. 1.1.1.6 root 13195: Check CC and BUILD_CC for libraries having the needed support, 1.1.1.2 root 13196: and substitute discovery in installed_clib. 13197: 13198: * aclocal.m4: New file. These replacement macros are to handle 13199: the case where there is a cross compiler but no supporting files. 13200: 13201: * Makefile.in (installed-clib): Don't hardwire a Hurd libcrt.a. 13202: (cross_linkable): Only define cross-migcom variable when it will 13203: be possible to build it. 13204: (all, install): Use $(cross-migcom). 13205: (install): Install cross-migcom only if was to be built. 1.1.1.4 root 13206: (mkinstalldirs): Add $(bindir), $(includedir)/mach/exec 1.1.1.2 root 13207: (cross-lexxer.o lexxer.o): lexxer.o needs cpu.h. 13208: (./cross-migcom): Prevent dependency generation for cross-* MiG files 13209: unless they can actually be built. 13210: 13211: Thu Apr 17 15:55:40 1997 Thomas Bushnell, n/BSG <[email protected]> 13212: 13213: * kern/exception.c (exception_no_server): Comment out the suspend 13214: code; it's useful for special case debugging, but causes problems 13215: in general. 13216: 13217: Wed Apr 16 12:52:25 1997 Thomas Bushnell, n/BSG <[email protected]> 13218: 13219: * Makefile.in (cross-lexxer.o lexxer.o): Add pump-priming 13220: dependency on cpu.h. Reported by Marcus G. Daniels 1.1.1.4 root 13221: ([email protected]). 1.1.1.2 root 13222: 13223: * configure.in: Fail if configure target is not for GNU os. 13224: 13225: * i386/Drivers.in (com): Delete option. It's required by 13226: kd_mouse.c. 13227: * i386/Makefrag (i386at-files): Add com.c. 13228: (driver-files): Delete variable. 13229: * i386/bogus/com.h: Revert change of March 10. 13230: * i386/device-drivers.h.in (CONFIG_MACH_COM): Delete option. 13231: Bug report from Marcus G. Daniels ([email protected]). 1.1.1.4 root 13232: 13233: * Makefile.in (./cross-mig): New rule. 1.1.1.2 root 13234: (mkinstalldirs): Add $(libexecdir). 1.1.1.4 root 13235: * configure.in: Recognize i686. 1.1.1.2 root 13236: Reported by Marcus G. Daniels ([email protected]). 13237: 1.1 root 13238: Mon Apr 14 11:50:45 1997 Thomas Bushnell, n/BSG <[email protected]> 13239: 1.1.1.4 root 13240: * Released version 1.0. 13241: 1.1 root 13242: * kern/exception.c (exception_no_server): Try and suspend the 13243: failing thread before killing the task. Then a debugger can be 1.1.1.4 root 13244: used. 1.1 root 13245: 13246: * i386/Makefrag: Add rebuilding rules for configure subscript. 13247: 13248: * i386/Makefrag: Fix up copyright notice. 13249: * i386/Drivers.in: Likewise. 13250: * Makefile.in: Likewise. 13251: * Drivers.macros: Likewise. 13252: * configure.in: Likewise. 13253: 13254: * include/sys/time.h: New file, from include/mach/sa/sys/time.h. 13255: * include/sys/reboot.h: New file, from include/mach/sa/sys/reboot.h. 13256: * include/sys/ioctl.h: New file, from include/mach/sa/sys/ioctl.h. 13257: * include/alloca.h: New file, from include/mach/sa/alloca.h. 13258: * Makefile.in (other-sys-headers): Add time.h, ioctl.h, and reboot.h. 13259: (other-mach-headers): New variable. 13260: (mach-exec-headers): New variable. 13261: (other-headers): New variable. 13262: (installed-headers): Add mach-exec-headers. 1.1.1.4 root 13263: (dist): Distribute other-mach-headers, other-sys-headers, 1.1 root 13264: mach-exec-headers, and other-headers. 13265: (device-files): Add device.srv. 1.1.1.4 root 13266: 1.1 root 13267: * Makefile.in (check-clib-routines): Use more efficient rule. 13268: 13269: Fri Apr 11 15:18:09 1997 Thomas Bushnell, n/BSG <[email protected]> 13270: 13271: * Makefile.in (dist): Repair rule. 13272: (other-sys-headers): New variable. 13273: (dist): Install $(other-sys-headers). 13274: (INCLUDES): Remove -I$(srcdir)/include/mach/sa. 13275: (rules for mig-related .d files): Include MiG-specific -I flags. 13276: (mach-headers): Add inline.h. 13277: * include/sys/types.h: New file, from include/mach/sa/sys/types.h. 13278: 13279: Mon Mar 24 16:23:21 1997 Thomas Bushnell, n/BSG <[email protected]> 13280: 13281: * version.c (version): Make that 1.0. Whee. 13282: 13283: Fri Mar 21 15:50:09 1997 Thomas Bushnell, n/BSG <[email protected]> 13284: 13285: * i386/i386at/gpl/linux/scsi/aha1740.c (aha1740_test_port): Try 1.1.1.6 root 13286: and turn on PORTADDR_ENH before checking it. 1.1 root 13287: 1.1.1.4 root 13288: * vm/vm_object.c (vm_object_cached_max): Increase to 200. 1.1 root 13289: 13290: Thu Mar 20 12:33:06 1997 Thomas Bushnell, n/BSG <[email protected]> 13291: 13292: * Makefile.in (dist): New target. Reorganized some vars 13293: describing source. 13294: * i386/Subdirs: New file. 13295: * i386/Files: New file. 13296: 13297: * version.c (version): Push back to 0.1. 13298: 13299: * Makefile.in (cross_compiling, bindir, libexecdir): New 1.1.1.4 root 13300: variable. 13301: 1.1 root 13302: * Makefile.in (install): Depend on cross-mig and cross-migcom; 13303: install them. New rules added to build mig, migcom, cross-mig, 13304: and cross-migcom. 1.1.1.4 root 13305: 1.1 root 13306: * configure.in (AC_PROG_LEX, AC_PROG_YACC): New tests. 13307: (BUILD_CC): New test to set these. 13308: 13309: * Makefile.in (%.h %_user.c): Depend on $(MIG) too. 13310: (%_interface.h %_server.c): Likewise. 13311: (MIG): Don't use @MIG@; hard code it to the one we build. 13312: (BUILD_CC, BUILD_CFLAGS, MIGCOM, LEX, YACC, LEXLIB): New variables. 1.1.1.4 root 13313: 1.1 root 13314: Wed Mar 19 16:47:28 1997 Thomas Bushnell, n/BSG <[email protected]> 13315: 13316: * i386/i386at/kd.c (BROKEN_KEYBOARD_RESET): Turn off this so that 13317: we attempt the keyboard resets. 13318: * i386/i386/locore.S (cpu_shutdown): Attempt to provide a more 1.1.1.4 root 13319: `robust' null_idtr. 1.1 root 13320: 13321: Mon Mar 17 13:47:14 1997 Thomas Bushnell, n/BSG <[email protected]> 13322: 13323: * i386/i386at/gpl/linux/scsi/hosts.c (scsi_init): Don't print out 13324: gratuitious obnoxiousness. 13325: * i386/i386at/gpl/linux/scsi/scsi.c (scsi_dev_init): Likewise. 13326: * i386/i386at/gpl/linux/block/triton.c (ide_init_triton): 1.1.1.4 root 13327: Likewise. 1.1 root 13328: (init_triton_dma): Likewise. 13329: * i386/i386at/gpl/linux/pci/pci.c (pci_init): Likewise. 13330: * i386/i386at/gpl/linux/pci/bios32.c (check_pcibios): Likewise. 13331: (pcibios_init): Likewise. 13332: * i386/i386at/gpl/linux/block/genhd.c (add_partition): Likewise. 13333: 13334: * i386/i386at/gpl/linux/net/8390.c (ei_debug): Make default value 1.1.1.4 root 13335: zero. 1.1 root 13336: 13337: Wed Mar 12 14:50:46 1997 Thomas Bushnell, n/BSG <[email protected]> 13338: 13339: * i386/i386at/com.c (comprobe): Turn off noisiness. 13340: 13341: * i386/i386at/gpl/linux/linux_block.c (check_disk_change): Don't 13342: print out gratuitous obnoxiousness. 13343: (device_open): Likewise. 13344: * kern/bootstrap.c (copy_bootstrap): Likewise. 13345: (user_bootstrap): Likewise. 13346: * i386/i386at/gpl/linux/block/genhd.c (msdos_partition): Likewise. 13347: (osf_partition): Likewise. 13348: (sun_partition): Likewise. 13349: (check_partition): Likewise. 13350: * i386/i386/pit.c (findspeed): Likewise. 13351: * vm/vm_resident.c (vm_page_bootstrap): Likewise. 13352: 13353: Mon Mar 10 15:04:47 1997 Thomas Bushnell, n/BSG <[email protected]> 13354: 13355: * i386/i386at/gpl/linux/linux_init.c (calibrate_delay): Don't 13356: print out gratuitous obnoxiousness. 1.1.1.4 root 13357: 1.1 root 13358: * i386/i386at/gpl/linux/linux_init.c (linux_init): Only call 13359: linux_net_emulation_init if CONFIG_INET. Include 1.1.1.4 root 13360: <i386/device-drivers.h>. 1.1 root 13361: 13362: * i386/i386at/i386at_ds_routines.c: Include 13363: <i386/device-drivers.h>. Don't mention linux_net_emulation_ops 13364: unless CONFIG_INET. 13365: 13366: * device/ds_routines.c (io_done_thread_continue): [i386] 1.1.1.6 root 13367: Conditionalize free_skbuffs also on CONFIG_INET. Include 13368: <i386/device-drivers.h>. 1.1 root 13369: 13370: * i386/Drivers.in, i386/device-drivers.h.in, i386/driverlist.in: 13371: New files. 13372: * i386/Makefrag: Include i386/driverlist; don't include all device 13373: drivers in kernel image; instead use list from driverlist. 13374: * configure.in: Configure in $systype subdir too. 1.1.1.4 root 13375: 1.1 root 13376: * i386/i386at/gpl/linux/include/linux/autoconf.h: Damage severly 13377: to conform to device-drivers.h model. 13378: 13379: * i386/bogus/com.h: Include <i386/device-drivers.h>. 13380: Only turn on NCOM if CONFIG_MACH_COM is present. 13381: 13382: Mon Mar 3 16:26:58 1997 Thomas Bushnell, n/BSG <[email protected]> 13383: 13384: * include/mach/message.h (__mach_msg, __mach_msg_trap): Add decls. 13385: 13386: Tue Feb 25 15:42:23 1997 Thomas Bushnell, n/BSG <[email protected]> 13387: 13388: * i386/Makefrag (INCLUDES): Find `include' directory in new 1.1.1.4 root 13389: location. 1.1 root 13390: * Makefile (INCLUDES): Find `include' directory in new location. 13391: (%.symc): Find gensym.awk in new location. 1.1.1.4 root 13392: 1.1 root 13393: * Reorganized directories into new layout and unified mach4 and 13394: mach4-i386 into a single tree. 13395: 13396: 13397: Older changes in ChangeLog.00 (for i386 directory) and ChangeLog.0 (for 1.1.1.4 root 13398: all other files).
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.