|
|
1.1.1.9 ! root 1: 2016-05-18 Thomas Schwinge <[email protected]> ! 2: ! 3: GNU Mach 1.7 ! 4: * version.m4 (AC_PACKAGE_VERSION): Set to 1.7. ! 5: * NEWS: Finalize for 1.7. ! 6: ! 7: 2016-05-18 Samuel Thibault <[email protected]> ! 8: ! 9: Fix gcc-6 warnings ! 10: * ddb/db_elf.c (elf_db_sym_init): Turn `i' into unsigned. ! 11: * device/ds_routines.c (ds_device_open, device_writev_trap): Likewise. ! 12: * i386/i386/user_ldt.c (i386_set_ldt): Likewise for `i', `min_selector', and ! 13: `first_desc'. ! 14: (i386_get_ldt): Likewise for `ldt_count'. ! 15: (user_ldt_free): Likewise for `i'. ! 16: * i386/i386/xen.h (hyp_set_ldt): Turn `count' into unsigned long. ! 17: * i386/intel/pmap.c (pmap_bootstrap): Turn `i', `j' and 'n' into unsigned. ! 18: (pmap_clear_bootstrap_pagetable): Likewise for `i' and `j'. ! 19: * ipc/ipc_kmsg.c (ipc_msg_print): Turn `i' and `numwords' into unsigned. ! 20: * kern/boot_script.c (boot_script_parse_line): Likewise for `i'. ! 21: * kern/bootstrap.c (bootstrap_create): Likewise for `n' and `i'. ! 22: * kern/host.c (host_processors): Likewise for `i'. ! 23: * kern/ipc_tt.c (mach_ports_register): Likewise. ! 24: * kern/mach_clock.c (tickadj, bigadj): turn into unsigned. ! 25: * kern/processor.c (processor_set_things): Turn `i' into unsigned. ! 26: * kern/task.c (task_threads): Likewise. ! 27: * kern/thread.c (consider_thread_collect, stack_init): Likewise. ! 28: * kern/strings.c (memset): Turn `i' into size_t. ! 29: * vm/memory_object.c (memory_object_lock_request): Turn `i' into unsigned. ! 30: * xen/block.c (hyp_block_init): Use %u format for evt. ! 31: (device_open): Drop unused err variable. ! 32: (device_write): Turn `copy_npages', `i', `nbpages', and `j' into unsigned. ! 33: * xen/console.c (hypcnread, hypcnwrite, hypcnclose): Turn dev to dev_t. ! 34: (hypcnclose): Return void. ! 35: * xen/console.h (hypcnread, hypcnwrite, hypcnclose): Fix prototypes ! 36: accordingly. ! 37: * xen/evt.c (form_int_mask): Turn `i' into int. ! 38: * xen/net.c (hyp_net_init): Use %u format for evt. ! 39: (device_open): Remove unused `err' variable. ! 40: ! 41: 2016-05-17 Samuel Thibault <[email protected]> ! 42: ! 43: Revert "Fix getting ELF symbol bind and type" ! 44: This reverts commit a8a52cafb5621b475737ffdc81f63703d5b37904. ! 45: ! 46: It seems to be breaking backtracing in ddb... ! 47: ! 48: 2016-05-16 Richard Braun <[email protected]> ! 49: ! 50: Fix pageout deadlock ! 51: The pageout daemon uses small, internal, temporary objects to transport ! 52: the data out to memory managers, which are expected to release the data ! 53: once written out to backing store. Releasing this data is done with a ! 54: vm_deallocate call. The problem with this is that vm_map is allowed to ! 55: merge these objects, in which case vm_deallocate will only remove a ! 56: reference instead of releasing the underlying pages, causing the pageout ! 57: daemon to deadlock. ! 58: ! 59: This change makes the pageout daemon mark these objects so that they ! 60: don't get merged. ! 61: ! 62: * vm/vm_object.c (vm_object_bootstrap): Update template. ! 63: (vm_object_coalesce): Don't coalesce if an object is used for pageout. ! 64: * vm/vm_object.h (struct vm_object): New `used_for_pageout` member. ! 65: * vm/vm_pageout.c (vm_pageout_page): Mark new objects for pageout. ! 66: ! 67: 2016-05-15 Richard Braun <[email protected]> ! 68: ! 69: Fix warning ! 70: ddb/db_output.c (db_printf): Return 0. ! 71: ddb/db_printf.h (db_printf): Change declaration to return an int. ! 72: ! 73: 2016-04-21 Samuel Thibault <[email protected]> ! 74: ! 75: Fix xen boot ! 76: * i386/i386/pcb.c (pcb_init): Make sure there is a thread before calling ! 77: current_task(). ! 78: ! 79: 2016-04-20 Justus Winter <[email protected]> ! 80: ! 81: Fix type of program counter argument ! 82: * i386/i386/hardclock.c (hardclock): Use '0' instead of 'NULL'. ! 83: * vm/vm_fault (vm_fault_cleanup): Likewise. ! 84: ! 85: xen: fix build ! 86: * i386/xen/xen.c (hypclock_machine_intr): Fix 'clock_interrupt' call. ! 87: * xen/time.c (clkstart): Likewise. ! 88: ! 89: 2016-04-20 Samuel Thibault <[email protected]> ! 90: ! 91: Add kernel profiling through sampling ! 92: * NEWS: Advertise feature. ! 93: * configfrac.ac (--enable-kernsample): Add option. ! 94: * kern/pc_sample.h (take_pc_sample): Add usermode and pc parameter. ! 95: (take_pc_sample_macro): Take usermode and pc parameters, pass as such to ! 96: take_pc_sample. ! 97: * kern/pc_sample.c (take_pc_sample): Use pc parameter when usermode is 1. ! 98: * kern/mach_clock.c (clock_interrupt): Add pc parameter. Pass usermode and ! 99: pc to take_pc_sample_macro call. ! 100: * i386/i386/hardclock.c (hardclock): Pass regs->eip to clock_interrupt call ! 101: on normal interrupts, NULL on interrupt interrupt. ! 102: * vm/vm_fault.c (vm_fault_cleanup): Set usermode to 1 and pc to NULL in ! 103: take_pc_sample_macro call. ! 104: ! 105: 2016-04-17 Samuel Thibault <[email protected]> ! 106: ! 107: Add memory barrier to spl* ! 108: * i386/i386/spl.S (mb): Define macro ! 109: (SETIPL, spl0, spl7): Call mb. ! 110: ! 111: Avoid using C99 for variable declaration for now ! 112: * kern/gsync.c (gsync_setup): Declare `i' variable out of for loop. ! 113: ! 114: 2016-04-15 Samuel Thibault <[email protected]> ! 115: ! 116: update NEWS file ! 117: ! 118: 2016-04-15 Agustina Arzille <[email protected]> ! 119: ! 120: Lightweight synchronization mechanism ! 121: * Makefrag.am (libkernel_a_SOURCES): Add kern/gsync.c and kern/gsync.h. ! 122: * include/mach/gnumach.defs (gsync_wait, gsync_wake, gsync_requeue): New ! 123: routines. ! 124: * include/mach/kern_return.h (KERN_TIMEDOUT, KERN_INTERRUPTED): New error ! 125: codes. ! 126: * kern/gsync.c: New file. ! 127: * kern/gsync.h: New file. ! 128: * kern/startup.c: Include <kern/gsync.h> ! 129: (setup_main): Call gsync_setup. ! 130: ! 131: 2016-04-15 Justus Winter <[email protected]> ! 132: ! 133: Update NEWS file ! 134: ! 135: Add --disable-assert flag to disable assertions ! 136: * configfrag.ac: Use 'AC_HEADER_ASSERT'. ! 137: ! 138: i386: Fix error handling ! 139: * i386/i386at/model_dep.c (i386at_init): Fix error handling. ! 140: ! 141: 2016-04-05 Flavio Cruz <[email protected]> ! 142: ! 143: Fix bootstraping issues with stdint.h. ! 144: * include/mach/std_types.h: Do not include stdint.h. ! 145: * kern/rdxtree.h: Replace sys/types.h with stdint.h. ! 146: ! 147: 2016-04-04 Samuel Thibault <[email protected]> ! 148: ! 149: Follow-up stdint use ! 150: 7bbfa39f59dcbc55b21d31abb9e2febef6a51ebb ('Use uint32_t instead of ! 151: unsigned32_t.') missed some Xen code ! 152: ! 153: * xen/net.c (recompute_checksum): Use stdint.h types. ! 154: * xen/time.c (hyp_get_stime): Likewise. ! 155: ! 156: 2016-04-04 Flavio Cruz <[email protected]> ! 157: ! 158: Use uint32_t instead of unsigned32_t. ! 159: Implement stdint.h and use it in gnumach. ! 160: ! 161: Remove old type definitions such as signed* and unsigned*. ! 162: ! 163: * Makefile.am: Add -ffreestanding. ! 164: * i386/i386/xen.h: Use uint64_t. ! 165: * i386/include/mach/i386/machine_types.defs: Use uint32_t and int32_t. ! 166: * i386/include/mach/i386/vm_types.h: Remove definitions of int*, uint*, ! 167: unsigned* and signed* types. ! 168: * i386/xen/xen.c: Use uint64_t. ! 169: * include/device/device_types.defs: Use uint32_t. ! 170: * include/mach/std_types.defs: Use POSIX types. ! 171: * include/mach/std_types.h: Include stdint.h. ! 172: * include/stdint.h: New file with POSIX types. ! 173: * include/sys/types.h: Include stdint.h. ! 174: * ipc/ipc_kmsg.c: Use uint64_t. ! 175: * kern/exception.c: Use uint32_t. ! 176: * linux/dev/include/linux/types.h: Remove POSIX types. ! 177: * xen/block.c: Use uint64_t. ! 178: * xen/net.c: Do not use removed unsigned*_t types. ! 179: * xen/ring.h: Use uint32_t instead. ! 180: * xen/store.c: Use uint32_t. ! 181: * xen/store.h: Use uint32_t. ! 182: * xen/time.c: Use POSIX types only. ! 183: * xen/time.h: Use uint64_t. ! 184: ! 185: 2016-03-19 Samuel Thibault <[email protected]> ! 186: ! 187: Make kernel mapping start address configurable ! 188: and move it to 16MiB by default to free 24bit DMA area ! 189: ! 190: * i386/configfrag.ac (--with-_START_MAP): Add option, default to 0x1000000. ! 191: * i386/Makefrag.am (_START_MAP): Set to $(_START_MAP). ! 192: (_START): Set to _START_MAP+0xC0000000. ! 193: ! 194: 2016-03-19 Samuel Thibault <[email protected]> ! 195: ! 196: Fix getting ELF symbol bind and type ! 197: ddb/db_elf.c (elf_db_search_symbol): Use ELF32_ST_BIND and ELF32_ST_TYPE to ! 198: access symbol bind and type. ! 199: ! 200: 2016-03-13 Richard Braun <[email protected]> ! 201: ! 202: Avoid panics on physical memory exhaustion ! 203: * vm/vm_resident (vm_page_grab_contig): Return NULL instead of calling ! 204: panic on memory exhaustion. ! 205: ! 206: 2016-03-11 Samuel Thibault <[email protected]> ! 207: ! 208: Ship missing files ! 209: Makefrag.am (libkernel_a_SOURCES): Add kern/log2.h. ! 210: (EXTRA_DIST): Add kern/exc.defs. ! 211: i386/Makefrag.am (libkernel_a_SOURCES): Add i386/i386at/elf.h. ! 212: ! 213: 2016-03-11 Richard Braun <[email protected]> ! 214: ! 215: Merge remote-tracking branch 'remotes/origin/rbraun/vm_cache_policy' ! 216: Finally ;-). ! 217: ! 218: 2016-03-09 Richard Braun <[email protected]> ! 219: ! 220: Fix stack allocation on Xen ! 221: Stack allocation on Xen can fail because of fragmentation. This change ! 222: makes stack allocation use the slab allocator. ! 223: ! 224: * kern/thread.c (thread_stack_cache): New global variable. ! 225: (stack_alloc): Use kmem_cache_alloc instead of vm_page_grab_contig. ! 226: (stack_collect): Use kmem_cache_free instead of vm_page_free_contig. ! 227: (kmem_cache_init): Initialize thread_stack_cache. ! 228: ! 229: 2016-03-09 Richard Braun <[email protected]> ! 230: ! 231: Relax slab allocation alignment constraint ! 232: * kern/slab.c (kmem_pagealloc_virtual): Pass alignment to function, ! 233: call kmem_alloc_aligned when greater than a page. ! 234: (kmem_pagealloc): Pass alignment to function. ! 235: (kmem_slab_create): Update call to kmem_pagealloc. ! 236: (kalloc): Likewise. ! 237: (kmem_cache_compute_properties): Fix handling of color with large slab ! 238: sizes. ! 239: (kmem_cache_init): Allow alignment greater than the page size. ! 240: ! 241: 2016-03-06 Samuel Thibault <[email protected]> ! 242: ! 243: Inherit fpu control word from parent to child ! 244: * i386/i386/thread.h (struct pcb): Add init_control field. ! 245: * i386/i386/fpu.h (fpinherit): New prototype. ! 246: * i386/i386/fpu.c (fpinit): Add thread parameter. When init_control field is ! 247: set, use that value instead of a hardcoded one. ! 248: (fpinherit): New function. ! 249: (fp_load): Pass thread parameter to fpinit(). ! 250: * kern/thread.c (thread_create): Pass parent task to pcb_init(). ! 251: * i386/i386/pcb.c (pcb_init): Add parent_task parameter, call fpinherit when ! 252: it is equal to current_task(). ! 253: ! 254: 2016-02-28 Justus Winter <[email protected]> ! 255: ! 256: ipc: add missing kernel object type ! 257: * ipc/ipc_object.c (ikot_print_array): Add entry for IKOT_PAGER_PROXY. ! 258: ! 259: doc: clarify memory object initialization ! 260: * doc/mach.texi: Mention another way how a memory manager can signal ! 261: that an object is ready. ! 262: ! 263: i386: add parts of cpu.h from x15 ! 264: * i386/Makefrag.am (libkernel_a_SOURCES): Add new file. ! 265: * i386/i386/cpu.h: New file. ! 266: ! 267: 2016-02-26 Justus Winter <[email protected]> ! 268: ! 269: include: avoid generating unused client stubs ! 270: * include/mach/mach.defs: Avoid generating unused client stubs, some ! 271: of which use an unreasonable amount of stack space and showed up in ! 272: compiler warnings. ! 273: ! 274: 2016-02-26 Samuel Thibault <[email protected]> ! 275: ! 276: Document thread_sleep about events woken from interrupt handlers ! 277: * kern/sched_prim.c (thread_sleep): Document case of events woken from ! 278: interrupt handlers. ! 279: ! 280: Document why code is not racy ! 281: * i386/i386at/kd_mouse.c (kd_mouse_read): Document why the ! 282: assert_wait/thread_block pair is not racy. ! 283: ! 284: 2016-02-23 Justus Winter <[email protected]> ! 285: ! 286: Include the exception protocol in 'gnumach.msgids' ! 287: * Makefrag.am: Include the exception protocol in 'gnumach.msgids'. ! 288: * kern/exc.defs: New file. ! 289: ! 290: 2016-02-22 Richard Braun <[email protected]> ! 291: ! 292: Remove kmem cache flags from the debugging interface ! 293: * include/mach_debug/slab_info.h (CACHE_FLAGS_NO_CPU_POOL, ! 294: CACHE_FLAGS_SLAB_EXTERNAL, CACHE_FLAGS_NO_RECLAIM, ! 295: CACHE_FLAGS_VERIFY, CACHE_FLAGS_DIRECT): Remove macros. ! 296: * kern/slab.c (host_slab_info): Pass raw cache flags to caller. ! 297: ! 298: 2016-02-22 Richard Braun <[email protected]> ! 299: ! 300: Fix slab allocator option handling ! 301: The slab allocator has grown to use multiple ways to allocate slabs ! 302: as well as track them, which got a little messy. One consequence is ! 303: the breaking of the KMEM_CF_VERIFY option. In order to make the code ! 304: less confusing, this change expresses all options as explicit cache ! 305: flags and clearly defines their relationships. ! 306: ! 307: The special kmem_slab and vm_map_entry caches are initialized ! 308: accordingly. ! 309: ! 310: * kern/slab.c (KMEM_CF_DIRECTMAP): Rename to ... ! 311: (KMEM_CF_PHYSMEM): ... this new macro. ! 312: (KMEM_CF_DIRECT): Restore macro. ! 313: (KMEM_CF_USE_TREE, KMEM_CF_USE_PAGE): New macros. ! 314: (KMEM_CF_VERIFY): Update value. ! 315: (kmem_pagealloc_directmap): Rename to... ! 316: (kmem_pagealloc_physmem): ... this new function. ! 317: (kmem_pagefree_directmap): Rename to ... ! 318: (kmem_pagefree_physmem): ... this new function. ! 319: (kmem_pagealloc, kmem_pagefree): Update macro names. ! 320: (kmem_slab_use_tree): Remove function. ! 321: (kmem_slab_create, kmem_slab_destroy): Update according to the new ! 322: cache flags. ! 323: (kmem_cache_compute_sizes): Rename to ... ! 324: (kmem_cache_compute_properties): ... this new function, and update ! 325: to properly set cache flags. ! 326: (kmem_cache_init): Update call to kmem_cache_compute_properties. ! 327: (kmem_cache_alloc_from_slab): Check KMEM_CF_USE_TREE instead of ! 328: calling the defunct kmem_slab_use_tree function. ! 329: (kmem_cache_free_to_slab): Update according to the new cache flags. ! 330: kmem_cache_free_verify): Add assertion. ! 331: (slab_init): Update initialization of kmem_slab_cache. ! 332: * kern/slab.h (KMEM_CACHE_DIRECTMAP): Rename to ... ! 333: (KMEM_CACHE_PHYSMEM): ... this new macro. ! 334: * vm/vm_map.c (vm_map_init): Update initialization of vm_map_entry_cache. ! 335: ! 336: 2016-02-22 Richard Braun <[email protected]> ! 337: ! 338: Optimize slab lookup on the free path ! 339: Caches that use external slab data but allocate slabs from the direct ! 340: physical mapping can look up slab data in constant time by associating ! 341: the slab data directly with the underlying page. ! 342: ! 343: * kern/slab.c (kmem_slab_use_tree): Take KMEM_CF_DIRECTMAP into account. ! 344: (kmem_slab_create): Set page private data if relevant. ! 345: (kmem_slab_destroy): Clear page private data if relevant. ! 346: (kmem_cache_free_to_slab): Use page private data if relevant. ! 347: * vm/vm_page.c (vm_page_init_pa): Set `priv' member to NULL. ! 348: * vm/vm_page.h (vm_page_set_priv, vm_page_get_priv): New functions. ! 349: ! 350: 2016-02-22 Richard Braun <[email protected]> ! 351: ! 352: Fix unused variable warnings ! 353: * kern/slab.c (slab_init): Remove unused variables. ! 354: ! 355: 2016-02-20 Richard Braun <[email protected]> ! 356: ! 357: Avoid slab allocation failures caused by memory fragmentation ! 358: Since the slab allocator has been changed to sit directly on top of the ! 359: physical allocator, failures caused by fragmentation have been observed, ! 360: as one could expect. This change makes the slab allocator revert to ! 361: kernel virtual memory when allocating larger-than-page slabs. This ! 362: solution is motivated in part to avoid the complexity of other solutions ! 363: such as page mobility, and also because a microkernel cannot be extended ! 364: to new arbitrary uncontrolled usage patterns such as a monolithic kernel ! 365: with loadable modules. As such, large objects are rare, and their use ! 366: infrequent, which is compatible with the use of kernel virtual memory. ! 367: ! 368: * kern/slab.c: Update module description. ! 369: (KMEM_CF_SLAB_EXTERNAL, KMEM_CF_VERIFY): Update values. ! 370: (KMEM_CF_DIRECT): Remove macro. ! 371: (KMEM_CF_DIRECTMAP): New macro. ! 372: (kmem_pagealloc_directmap, kmem_pagefree_directmap, ! 373: kmem_pagealloc_virtual, kmem_pagefree_virtual): New functions. ! 374: (kmem_pagealloc, kmem_pagefree, kmem_slab_create, kmem_slab_destroy, ! 375: kalloc, kfree): Update to use the new pagealloc functions. ! 376: (kmem_cache_compute_sizes): Update the algorithm used to determine slab ! 377: size and other cache properties. ! 378: (kmem_slab_use_tree, kmem_cache_free_to_slab, host_slab_info): Update to ! 379: correctly use the cache flags. ! 380: (slab_init): Add KMEM_CACHE_DIRECTMAP to the kmem_slab_cache init flags. ! 381: * kern/slab.h (KMEM_CACHE_VERIFY): Change value. ! 382: (KMEM_CACHE_DIRECTMAP): New macro. ! 383: * vm/vm_map.c (vm_map_init): Add KMEM_CACHE_DIRECTMAP to the ! 384: vm_map_entry_cache init flags. ! 385: ! 386: 2016-02-16 Richard Braun <[email protected]> ! 387: ! 388: Avoid panics on physical memory exhaustion ! 389: * vm/vm_resident (vm_page_grab): Return NULL instead of calling panic ! 390: on memory exhaustion. ! 391: ! 392: 2016-02-14 Samuel Thibault <[email protected]> ! 393: ! 394: Reduce VM_KERNEL_MAP_SIZE ! 395: Now that KMEM_MAP_SIZE (128MiB) has been removed. ! 396: ! 397: * i386/i386/vm_param.h (VM_KERNEL_MAP_SIZE): Decrease by 128MiB. ! 398: ! 399: 2016-02-07 Justus Winter <[email protected]> ! 400: ! 401: vm: initialize external maps ! 402: * vm/vm_external.c (vm_external_create): Initialize allocated maps. ! 403: ! 404: 2016-02-07 Richard Braun <[email protected]> ! 405: ! 406: Fix page cache accounting ! 407: * vm/vm_object.c (vm_object_bootstrap): Set template object `cached' ! 408: member to FALSE. ! 409: (vm_object_cache_add, vm_object_cache_remove): New functions. ! 410: (vm_object_collect, vm_object_deallocate, vm_object_lookup, ! 411: vm_object_lookup_name, vm_object_destroy): Use new cache management functions. ! 412: (vm_object_terminate, vm_object_collapse): Make sure object isn't cached. ! 413: * vm/vm_object.h (struct vm_object): New `cached' member. ! 414: ! 415: 2016-02-07 Justus Winter <[email protected]> ! 416: ! 417: vm: allocate a large map for all objects larger than SMALL_SIZE ! 418: * vm/vm_external.c (vm_external_create): Allocate a large map for all ! 419: objects larger than SMALL_SIZE. 'vm_external_state_{g,s}et' can deal ! 420: with offsets larger than 'LARGE_SIZE', so currently objects larger ! 421: than 'LARGE_SIZE' are missing out on the optimization. ! 422: ! 423: vm: remove unused field from struct vm_external ! 424: * vm/vm_external.h (struct vm_external): Remove unused field ! 425: 'existence_count'. ! 426: ! 427: 2016-02-07 Richard Braun <[email protected]> ! 428: ! 429: Remove kmem map ! 430: Now that the slab allocator doesn't use kernel virtual memory any more, ! 431: this map has become irrelevant. ! 432: ! 433: * kern/slab.c (KMEM_MAP_SIZE): Remove macro. ! 434: (kmem_map_store, kmem_map): Remove variables. ! 435: (slab_init): Remove call kmem_submap. ! 436: * kern/slab.h (kmem_map): Remove extern declaration. ! 437: ! 438: 2016-02-06 Richard Braun <[email protected]> ! 439: ! 440: Change computation of slab size ! 441: Allocating directly out of the physical memory allocator makes the slab ! 442: allocator vulnerable to failures due to fragmentation. This change makes ! 443: the slab allocator use the lowest possible size for its slabs to reduce ! 444: the chance of contiguous allocation failures. ! 445: ! 446: * kern/slab.c (KMEM_MIN_BUFS_PER_SLAB, KMEM_SLAB_SIZE_THRESHOLD): Remove ! 447: macros. ! 448: (kmem_cache_compute_sizes): Update the algorithm used to determine slab ! 449: size and other cache properties. ! 450: ! 451: 2016-02-02 Richard Braun <[email protected]> ! 452: ! 453: Fix various memory managment errors ! 454: A few errors were introduced in the latest changes. ! 455: ! 456: o Add VM_PAGE_WAIT calls around physical allocation attempts in case of ! 457: memory exhaustion. ! 458: o Fix stack release. ! 459: o Fix memory exhaustion report. ! 460: o Fix free page accounting. ! 461: ! 462: * kern/slab.c (kmem_pagealloc, kmem_pagefree): New functions ! 463: (kmem_slab_create, kmem_slab_destroy, kalloc, kfree): Use kmem_pagealloc ! 464: and kmem_pagefree instead of the raw page allocation functions. ! 465: (kmem_cache_compute_sizes): Don't store slab order. ! 466: * kern/slab.h (struct kmem_cache): Remove `slab_order' member. ! 467: * kern/thread.c (stack_alloc): Call VM_PAGE_WAIT in case of memory ! 468: exhaustion. ! 469: (stack_collect): Call vm_page_free_contig instead of kmem_free to ! 470: release pages. ! 471: * vm/vm_page.c (vm_page_seg_alloc): Fix memory exhaustion report. ! 472: (vm_page_setup): Don't update vm_page_free_count. ! 473: (vm_page_free_pa): Check page parameter. ! 474: (vm_page_mem_free): New function. ! 475: * vm/vm_page.h (vm_page_free_count): Remove extern declaration. ! 476: (vm_page_mem_free): New prototype. ! 477: * vm/vm_pageout.c: Update comments not to refer to vm_page_free_count. ! 478: (vm_pageout_scan, vm_pageout_continue, vm_pageout): Use vm_page_mem_free ! 479: instead of vm_page_free_count, update types accordingly. ! 480: * vm/vm_resident.c (vm_page_free_count, vm_page_free_count_minimum): ! 481: Remove variables. ! 482: (vm_page_free_avail): New variable. ! 483: (vm_page_bootstrap, vm_page_grab, vm_page_release, vm_page_grab_contig, ! 484: vm_page_free_contig, vm_page_wait): Use vm_page_mem_free instead of vm_page_free_count, ! 485: update types accordingly, don't set vm_page_free_count_minimum. ! 486: * vm/vm_user.c (vm_statistics): Likewise. ! 487: ! 488: 2016-02-02 Richard Braun <[email protected]> ! 489: ! 490: Fix unused variable warnings ! 491: * i386/i386at/biosmem.c (biosmem_bootstrap): Remove unused variables. ! 492: ! 493: 2016-02-02 Richard Braun <[email protected]> ! 494: ! 495: Stack the slab allocator directly on top of the physical allocator ! 496: In order to increase the amount of memory available for kernel objects, ! 497: without reducing the amount of memory available for user processes, ! 498: a new allocation strategy is introduced in this change. ! 499: ! 500: Instead of allocating kernel objects out of kernel virtual memory, ! 501: the slab allocator directly uses the direct mapping of physical ! 502: memory as its backend. This largely increases the kernel heap, and ! 503: removes the need for address translation updates. ! 504: ! 505: In order to allow this strategy, an assumption made by the interrupt ! 506: code had to be removed. In addition, kernel stacks are now also ! 507: allocated directly from the physical allocator. ! 508: ! 509: * i386/i386/db_trace.c: Include i386at/model_dep.h ! 510: (db_i386_reg_value): Update stack check. ! 511: * i386/i386/locore.S (trap_from_kernel, all_intrs, ! 512: int_from_intstack): Update interrupt handling. ! 513: * i386/i386at/model_dep.c: Include kern/macros.h. ! 514: (int_stack, int_stack_base): New variables. ! 515: (int_stack_high): Remove variable. ! 516: (i386at_init): Update interrupt stack initialization. ! 517: * i386/i386at/model_dep.h: Include i386/vm_param.h. ! 518: (int_stack_top, int_stack_base): New extern declarations. ! 519: (ON_INT_STACK): New macro. ! 520: * kern/slab.c: Include vm/vm_page.h ! 521: (KMEM_CF_NO_CPU_POOL, KMEM_CF_NO_RECLAIM): Remove macros. ! 522: (kmem_pagealloc, kmem_pagefree, kalloc_pagealloc, kalloc_pagefree): Remove ! 523: functions. ! 524: (kmem_slab_create): Allocate slab pages directly from the physical allocator. ! 525: (kmem_slab_destroy): Release slab pages directly to the physical allocator. ! 526: (kmem_cache_compute_sizes): Update the slab size computation algorithm to ! 527: return a power-of-two suitable for the physical allocator. ! 528: (kmem_cache_init): Remove custom allocation function pointers. ! 529: (kmem_cache_reap): Remove check on KMEM_CF_NO_RECLAIM. ! 530: (slab_init, kalloc_init): Update calls to kmem_cache_init. ! 531: (kalloc, kfree): Directly fall back on the physical allocator for big ! 532: allocation sizes. ! 533: (host_slab_info): Remove checks on defunct flags. ! 534: * kern/slab.h (kmem_slab_alloc_fn_t, kmem_slab_free_fn_t): Remove types. ! 535: (struct kmem_cache): Add `slab_order' member, remove `slab_alloc_fn' and ! 536: `slab_free_fn' members. ! 537: (KMEM_CACHE_NOCPUPOOL, KMEM_CACHE_NORECLAIM): Remove macros. ! 538: (kmem_cache_init): Update prototype, remove custom allocation functions. ! 539: * kern/thread.c (stack_alloc): Allocate stacks from the physical allocator. ! 540: * vm/vm_map.c (vm_map_kentry_cache, kentry_data, kentry_data_size): Remove ! 541: variables. ! 542: (kentry_pagealloc): Remove function. ! 543: (vm_map_init): Update calls to kmem_cache_init, remove initialization of ! 544: vm_map_kentry_cache. ! 545: (vm_map_create, _vm_map_entry_dispose, vm_map_copyout): Unconditionnally ! 546: use vm_map_entry_cache. ! 547: * vm/vm_map.h (kentry_data, kentry_data_size, kentry_count): Remove extern ! 548: declarations. ! 549: * vm/vm_page.h (VM_PT_STACK): New page type. ! 550: * device/dev_lookup.c (dev_lookup_init): Update calls to kmem_cache_init. ! 551: * device/dev_pager.c (dev_pager_hash_init, device_pager_init): Likewise. ! 552: * device/ds_routines.c (mach_device_init, mach_device_trap_init): Likewise. ! 553: * device/net_io.c (net_io_init): Likewise. ! 554: * i386/i386/fpu.c (fpu_module_init): Likewise. ! 555: * i386/i386/machine_task.c (machine_task_module_init): Likewise. ! 556: * i386/i386/pcb.c (pcb_module_init): Likewise. ! 557: * i386/intel/pmap.c (pmap_init): Likewise. ! 558: * ipc/ipc_init.c (ipc_bootstrap): Likewise. ! 559: * ipc/ipc_marequest.c (ipc_marequest_init): Likewise. ! 560: * kern/act.c (global_act_init): Likewise. ! 561: * kern/processor.c (pset_sys_init): Likewise. ! 562: * kern/rdxtree.c (rdxtree_cache_init): Likewise. ! 563: * kern/task.c (task_init): Likewise. ! 564: * vm/memory_object_proxy.c (memory_object_proxy_init): Likewise. ! 565: * vm/vm_external.c (vm_external_module_initialize): Likewise. ! 566: * vm/vm_fault.c (vm_fault_init): Likewise. ! 567: * vm/vm_object.c (vm_object_bootstrap): Likewise. ! 568: * vm/vm_resident.c (vm_page_module_init): Likewise. ! 569: (vm_page_bootstrap): Remove initialization of kentry_data. ! 570: ! 571: 2016-01-30 Richard Braun <[email protected]> ! 572: ! 573: Fix early page allocation on Xen ! 574: The Xen target was completely ignored when porting the biosmem and ! 575: vm_page physical memory allocators. Let's fix this. ! 576: ! 577: * i386/Makefrag.am (libkernel_a_SOURCES): Add i386/i386at/biosmem.{c,h}. ! 578: * i386/i386/vm_page.h (VM_PAGE_MAX_SEGS, VM_PAGE_DIRECTMAP_LIMIT, ! 579: VM_PAGE_HIGHMEM_LIMIT): Define for Xen. ! 580: * i386/i386at/biosmem.c: Include mach/xen.h. ! 581: (biosmem_panic_setup_msg): Comment out for Xen since it's unused. ! 582: (biosmem_map_build, biosmem_map_build_simple, ! 583: biosmem_save_cmdline_sizes, biosmem_find_boot_data_update, ! 584: biosmem_find_boot_data, biosmem_setup_allocator): Likewise. ! 585: (biosmem_bootstrap_common): New function. ! 586: (biosmem_xen_bootstrap): Likewise, for Xen. ! 587: (biosmem_bootalloc): Perform bottom-up allocations for Xen. ! 588: * i386/i386at/biosmem.h (biosmem_xen_bootstrap): New prototype, for Xen. ! 589: * i386/i386at/model_dep.c (i386at_init): Call biosmem_xen_bootstrap instead ! 590: of biosmem_bootstrap on Xen. ! 591: * i386/include/mach/i386/vm_types.h (phys_addr_t): Define as an unsigned ! 592: 64-bits integer when PAE is enabled. ! 593: ! 594: 2016-01-29 Samuel Thibault <[email protected]> ! 595: ! 596: Disable probing legacy IDE when AHCI driver works ! 597: * linux/src/drivers/block/ide.c (default_io_base): Do not qualify const. ! 598: (ide_disable_base): New function. ! 599: * linux/dev/include/linux/blk.h (ide_disable_base): New declaration. ! 600: * linux/dev/drivers/block/ahci.c (ahci_probe_dev): Call ide_disable_base ! 601: with each I/O BAR of the AHCI PCI card. ! 602: ! 603: Use PCI macros ! 604: * linux/dev/drivers/block/ahci.c (ahci_probe_dev): Use ! 605: PCI_BASE_ADDRESS_SPACE_IO and PCI_BASE_ADDRESS_MEM_MASK macros instead of ! 606: hardcoded values. ! 607: ! 608: ahci: print PCI bus/dev/fun in hexadecimal ! 609: * linux/dev/drivers/block/ahci.c: Print PCI bus/dev/fun number in ! 610: hexadecimal ! 611: ! 612: 2016-01-29 Samuel Thibault <[email protected]> ! 613: ! 614: Fallback on direct PCI access when no BIOS32 is available ! 615: Some hardware start shippping with no BIOS32 at all, and we'll have to ! 616: implement ACPI to get the address of the mmconfig table. In the meanwhile, ! 617: we can hope that the direct probe works (it does on HP820 for instance). ! 618: ! 619: * linux/src/arch/i386/kernel/bios32.c (pcibios_init): Also try ! 620: check_direct_pci() when bios32 probing failed. ! 621: ! 622: 2016-01-23 Richard Braun <[email protected]> ! 623: ! 624: Merge branch 'rbraun/vm_page' ! 625: ! 626: 2016-01-23 Richard Braun <[email protected]> ! 627: ! 628: Use vm_page as the physical memory allocator ! 629: This change replaces the historical page allocator with a buddy allocator ! 630: implemented in vm/vm_page.c. This allocator allows easy contiguous allocations ! 631: and also manages memory inside segments. In a future change, these segments ! 632: will be used to service requests with special constraints, such as "usable ! 633: for 16-bits DMA" or "must be part of the direct physical mapping". ! 634: ! 635: * Makefrag.am (libkernel_a_SOURCES): Add vm/vm_page.c. ! 636: * i386/Makefrag.am (libkernel_a_SOURCES): Add i386/i386at/biosmem.{c,h}. ! 637: * i386/i386/vm_param.h: Include kern/macros.h. ! 638: (VM_PAGE_DMA_LIMIT, VM_PAGE_MAX_SEGS, VM_PAGE_DMA32_LIMIT, ! 639: VM_PAGE_DIRECTMAP_LIMIT, VM_PAGE_HIGHMEM_LIMIT, VM_PAGE_SEG_DMA, ! 640: VM_PAGE_SEG_DMA32, VM_PAGE_SEG_DIRECTMAP, VM_PAGE_SEG_HIGHMEM): New macros. ! 641: * i386/i386at/model_dep.c: Include i386at/biosmem.h. ! 642: (avail_next, avail_remaining): Remove variables. ! 643: (mem_size_init): Remove function. ! 644: (i386at_init): Initialize and use the biosmem module for early physical ! 645: memory management. ! 646: (pmap_free_pages): Return phys_last_addr instead of avail_remaining. ! 647: (init_alloc_aligned): Turn into a wrapper for biosmem_bootalloc. ! 648: (pmap_grab_page): Directly call init_alloc_aligned instead of pmap_next_page. ! 649: * i386/include/mach/i386/vm_types.h (phys_addr_t): New type. ! 650: * kern/bootstrap.c (free_bootstrap_pages): New function. ! 651: (bootstrap_create): Call free_bootstrap_pages instead of vm_page_create. ! 652: * kern/cpu_number.h (CPU_L1_SIZE): New macro. ! 653: * kern/slab.h: Include kern/cpu_number.h. ! 654: (CPU_L1_SIZE): Remove macro, moved to kern/cpu_number.h. ! 655: * kern/startup.c (setup_main): Change the value of machine_info.memory_size. ! 656: * linux/dev/glue/glue.h (alloc_contig_mem, free_contig_mem): Update prototypes. ! 657: * linux/dev/glue/kmem.c (linux_kmem_init): Don't use defunct page queue. ! 658: * linux/dev/init/main.c (linux_init): Don't free unused memory. ! 659: (alloc_contig_mem, free_contig_mem): Turn into wrappers for the vm_page ! 660: allocator. ! 661: * linux/pcmcia-cs/glue/ds.c (PAGE_SHIFT): Don't undefine. ! 662: * vm/pmap.h (pmap_startup, pmap_next_page): Remove prototypes. ! 663: * vm/vm_fault.c (vm_fault_page): Update calls to vm_page_convert. ! 664: * vm/vm_init.c (vm_mem_init): Call vm_page_info_all. ! 665: * vm/vm_object.c (vm_object_page_map): Update call to vm_page_init. ! 666: * vm/vm_page.h (vm_page_queue_free): Remove variable declaration. ! 667: (vm_page_create, vm_page_release_fictitious, vm_page_release): Remove ! 668: declarations. ! 669: (vm_page_convert, vm_page_init): Update prototypes. ! 670: (vm_page_grab_contig, vm_page_free_contig): New prototypes. ! 671: * vm/vm_resident.c (vm_page_template, vm_page_queue_free, ! 672: vm_page_big_pagenum): Remove variables. ! 673: (vm_page_bootstrap): Update and call vm_page_setup. ! 674: (pmap_steal_memory): Update and call vm_page_bootalloc. ! 675: (pmap_startup, vm_page_create, vm_page_grab_contiguous_pages): Remove functions. ! 676: (vm_page_init_template, vm_page_grab_contig, ! 677: vm_page_free_contig): New functions. ! 678: (vm_page_init): Update and call vm_page_init_template. ! 679: (vm_page_release_fictitious): Make static. ! 680: (vm_page_more_fictitious): Update call to vm_page_init. ! 681: (vm_page_convert): Rewrite to comply with vm_page. ! 682: (vm_page_grab): Update and call vm_page_alloc_pa. ! 683: (vm_page_release): Update and call vm_page_free_pa. ! 684: ! 685: 2016-01-23 Richard Braun <[email protected]> ! 686: ! 687: Import the vm_page module from X15 and relicense to GPLv2+ ! 688: * vm/vm_page.c: New File. ! 689: * vm/vm_page.h: Merge vm_page.h from X15. ! 690: (struct vm_page): New members: node, type, seg_index, order, ! 691: vm_page_header. Turn phys_addr into a phys_addr_t. ! 692: ! 693: Import the biosmem module from X15 and relicense to GPLv2+ ! 694: * i386/i386at/biosmem.c: New file. ! 695: * i386/i386at/biosmem.h: Likewise. ! 696: ! 697: Import the multiboot module from X15 and relicense to GPLv2+ ! 698: * i386/include/mach/i386/multiboot.h: Merge multiboot.h from X15. ! 699: ! 700: Import the elf module from X15 and relicense to GPLv2+ ! 701: * i386/i386at/elf.h: New file. ! 702: ! 703: Import the log2 module from X15 and relicense to GPLv2+ ! 704: * kern/log2.h: New file. ! 705: ! 706: 2016-01-14 Samuel Thibault <[email protected]> ! 707: ! 708: Fix build with gcc-6 ! 709: * linux/src/include/linux/compiler-gcc6.h: New file. ! 710: ! 711: 2016-01-13 Samuel Thibault <[email protected]> ! 712: ! 713: Increase kernel map size ! 714: To avoid running out of memory due to the increased consumption by radix ! 715: trees which replaced arrays. ! 716: ! 717: * kern/slab.c (KMEM_MAP_SIZE): Bump from 96MiB to 128MiB. ! 718: * i386/i386/vm_param.h (VM_KERNEL_MAP_SIZE): Add 32MiB accordingly. ! 719: ! 720: 2016-01-02 Richard Braun <[email protected]> ! 721: ! 722: Completely disable strict aliasing ! 723: * Makefile.am (AM_CFLAGS): Add -fno-strict-aliasing. ! 724: ! 725: Fix object page list type ! 726: * vm/vm_object.h (struct vm_object): Use queue_head_t instead of ! 727: queue_chain_t as the page list type. ! 728: ! 729: 2016-01-02 Flavio Cruz <[email protected]> ! 730: ! 731: replace extern with static in some linux code ! 732: * linux/dev/include/linux/fs.h: Replace extern with static. ! 733: * linux/dev/include/linux/locks.h: Likewise. ! 734: * linux/dev/include/linux/mm.h: Likewise. ! 735: * linux/src/drivers/net/e2100.c: Likewise ! 736: * linux/src/include/asm-i386/termios.h: Likewise. ! 737: * linux/src/include/linux/interrupt.h: Likewise. ! 738: * linux/src/include/net/route.h: Likewise. ! 739: * linux/src/include/net/sock.h: Likewise. ! 740: ! 741: fix t_addr assignment in lpropen ! 742: * i386/i386at/lpr.c (lpropen): Fix assignment to t_addr. ! 743: ! 744: 2016-01-01 Flavio Cruz <[email protected]> ! 745: ! 746: remove unnused disk code and headers ! 747: * i386/Makefrag.am: Remove disk.h. ! 748: * i386/i386at/disk.h: Remove unnused definitions. ! 749: * i386/include/mach/i386/disk.h: Remove. ! 750: * linux/dev/glue/block.c (device_get_status): Remove V_GETPARMS case. ! 751: ! 752: fix some compiler warnings in gnumach ! 753: * linux/dev/glue/block.c (out): Cast to device_t. ! 754: * linux/dev/init/main.c (alloc_contig_mem): Initialize addr and cast return value to void *. ! 755: * i386/i386/phys.c (pmap_copy_page): Initialize src_map. ! 756: * i386/intel/pmap.c: Include i386at/model_dep.h. ! 757: * kern/mach_clock.c (mapable_time_init): Cast to void *. ! 758: ! 759: 2016-01-01 Richard Braun <[email protected]> ! 760: ! 761: Slightly improve map debugging readability ! 762: * vm/vm_object.c (vm_object_print): Break line so all debugging output fits ! 763: in a page. ! 764: ! 765: 2015-12-29 Richard Braun <[email protected]> ! 766: ! 767: Improve map debugging readability ! 768: * vm/vm_map.c (vm_map_print): Reduce indentation, break lines earlier. ! 769: (vm_map_copy_print): Likewise. ! 770: * vm/vm_object.c (vm_object_print): Likewise. ! 771: ! 772: Improve VM map debugging ! 773: * vm/vm_map.c (vm_map_print): Update arguments to conform to ddb ! 774: protocol. ! 775: * vm/vm_print.h (vm_map_print): Likewise for prototype. ! 776: ! 777: Fix vm_map_copyout ! 778: * vm/vm_map.c (vm_map_copyout): Reinitialize copy map red-black tree. ! 779: ! 780: 2015-12-11 Samuel Thibault <[email protected]> ! 781: ! 782: Fix boot under kvm in linux 4.3 ! 783: * i386/i386/locore.S (discover_x86_cpu_type): Disable Cyrix CPU discovery. ! 784: ! 785: 2015-11-29 Samuel Thibault <[email protected]> ! 786: ! 787: Nicer out of memory condition reporting ! 788: * vm/vm_object.c (_vm_object_allocate): Return 0 immediately when ! 789: kmem_cache_alloc returned 0. ! 790: (vm_object_allocate): Panic when _vm_object_allocate returns 0. ! 791: ! 792: 2015-11-27 Samuel Thibault <[email protected]> ! 793: ! 794: Fix wired accounting ! 795: * vm/vm_map.c (vm_map_pageable_common): Put back wired_count decrementation ! 796: into user_wired_count test. ! 797: ! 798: Fix ahci unit MAX_PORTS check ! 799: * linux/dev/drivers/block/ahci.c (ahci_do_request): Fix checking unit ! 800: against MAX_PORTS. ! 801: ! 802: Fix bound ! 803: * i386/i386at/lpr.c (lprprobe): Fix checking unit against NLPR. ! 804: ! 805: Fix missing format in printk ! 806: * linux/dev/drivers/block/ahci.c (ahci_probe_dev): Add missing format. ! 807: 1.1.1.8 root 808: 2015-10-31 Thomas Schwinge <[email protected]> 809: 810: GNU Mach 1.6 811: * version.m4 (AC_PACKAGE_VERSION): Set to 1.6. 812: * NEWS: Finalize for 1.6. 813: 814: 2015-10-31 Thomas Schwinge <[email protected]> 815: 816: Rework *.msgids handling when neither client nor server stubs are required 817: Originally added in commit 255c47e669819f153c722c98a230f6fe4e6ece08, but "make 818: distcheck" didn't like that: 819: 820: [...] 821: ERROR: files left in build directory after distclean: 822: ./ipc/notify.msgids 823: Makefile:7489: recipe for target 'distcleancheck' failed 824: make[1]: *** [distcleancheck] Error 1 825: make[1]: Leaving directory '[...]/gnumach/release.build/gnumach-1.5/_build/sub' 826: Makefile:7416: recipe for target 'distcheck' failed 827: make: *** [distcheck] Error 1 828: 829: Instead of special-casing that, generalize the Makefile rules. 830: 831: * Makefrag.am (nodist_lib_dep_tr_for_defs_a_SOURCES): Add 832: ipc/notify.none.defs.c. 833: (nodist_libkernel_a_SOURCES): Add ipc/notify.none.msgids. 834: (gnumach.msgids): Remove ipc/notify.msgids prerequisite. 835: * Makerules.mig.am (%.msgids): Remove rule, and instead... 836: (%.none.defs.c, %.none.msgids): ... add these rules. 837: 838: 2015-10-05 Justus Winter <[email protected]> 839: 840: Update NEWS file 841: 842: 2015-10-05 Samuel Thibault <[email protected]> 843: 844: Fix time going back in Xen case 845: when backward time correction happens to get bigger than the tick duration. 846: 847: * kern/mach_clock.c (clock_interrupt): When `tickdelta' is bigger than `usec', 848: truncate it to `usec-1'. 849: 850: 2015-10-05 Joshua Branson <[email protected]> 851: 852: Add generated mach documentation files to gitignore 853: * .gitignore: Add doc/mach.aux doc/mach.cp doc/mach.cps doc/mach.fn 854: doc/mach.fns doc/mach.ky doc/mach.log doc/mach.pdf doc/mach.pg doc/mach.toc 855: doc/mach.tp doc/mach.vr. 856: 857: 2015-09-29 Justus Winter <[email protected]> 858: 859: kern/slab: print total used and reclaimable memory 860: * kern/slab.c (_slab_info): Print total used and reclaimable memory. 861: 862: kern/slab: include flags in the slab information 863: * kern/slab.c (_slab_info): Include flags in the slab information. 864: 865: ddb: fix line formatting 866: * ddb/db_output.c (db_putchar): Fix off-by-one, allowing one more 867: character to be printed before the newline is inserted. 868: 869: ddb: add new command `show slabinfo' 870: * ddb/db_command.c (db_show_cmds): Add `slabinfo'. 871: * kern/slab.c (slab_info): Generalize so that it can be used with 872: different printf-like functions, and turn it into a static function. 873: (slab_info): New wrapper retaining the old behaviour. 874: (db_show_slab_info): New wrapper that uses `db_printf' instead. 875: * kern/slab.h (db_show_slab_info): New declaration. 876: 877: 2015-09-27 Justus Winter <[email protected]> 878: 879: i386: trace syscalls of a single task 880: * i386/i386/debug_i386.c (syscall_trace_task): New variable. 881: (syscall_trace_print): If set, trace only syscalls from this task. 882: 883: i386: improve syscall tracing 884: * kern/syscall_sw.h (mach_trap_t): Turn unused field into `mach_trap_name'. 885: (MACH_TRAP, MACH_TRAP_STACK): Record name. 886: * i386/i386/debug_i386.c (syscall_trace_print): Use the name and 887: format the arguments to look like c. 888: 889: Fix build with -DDEBUG 890: * device/cirbuf.c: Add missing include. 891: * i386/i386/debug.h (dump_ss): Hide declaration from assembler. 892: * i386/i386/debug_i386.c: Fix include. 893: * kern/sched_prim.h: Add missing include, fix declaration. 894: 895: kern/bootstrap: drop into the debugger 896: * kern/bootstrap.c (boot_script_prompt_task_resume): Drop into the 897: debugger instead of merely waiting for return using `safe_gets', which 898: disables interrupts, making it impossible to break into the debugger 899: using the magic keys. 900: 901: 2015-09-19 Flávio Cruz <[email protected]> 902: 903: Add macros to convert between time_value_t and timespec 904: * include/mach/time_value.h (TIME_VALUE_TO_TIMESPEC, 905: TIMESPEC_TO_TIME_VALUE): New macros 906: 907: 2015-09-07 Justus Winter <[email protected]> 908: 909: kern: use proper memory fences when handling the mapped time 910: * include/mach/time_value.h (struct mapped_time_value): Adjust comment. 911: * kern/mach_clock.c (mtime): Likewise. Also make it volatile. 912: (update_mapped_time): Use full hardware barriers. 913: (read_mapped_time): New macro with proper fences. 914: (record_time_stamp, host_get_time): Use the new macro. 915: 916: 2015-09-07 Justus Winter <[email protected]> 917: 918: kern: fix loop reading the time value 919: Previously, recent versions of gcc would hoist the loads out of the 920: loop reading the time value. 921: 922: * kern/macros.h (access_once): New macro. 923: * kern/mach_clock.c (host_get_time): Use the new macro to prevent the 924: loads from being hoisted out of the loop. 925: 926: 2015-09-07 Rik van Riel <[email protected]> 927: 928: commit fce798016c4bd2be89b86b0d343ab54505409412 929: [PATCH] advansys.c buffer overflow 930: 931: The Stanford checker found an error in advansys.c, the driver 932: is accessing field 6 in an array[6]. Since this is the only 933: place where this field is accessed it should be safe to simply 934: remove this line. 935: 936: 2015-08-31 Samuel Thibault <[email protected]> 937: 938: Reserve 64k at beginning of memory, not just 4k 939: Linux does this to be extra careful with some BIOSes which apparently 940: spuriously write between 4k and 64k. 941: 942: * i386/i386at/model_dep.c (RESERVED_BIOS): New macro. 943: (avail_next, mem_size_init, init_alloc_aligned): Use RESERVED_BIOS instead 944: of hardcoded 0x1000. 945: 946: 2015-08-30 James Clarke <[email protected]> 947: 948: Fix printk not handling ANSI escape codes 949: * i386/i386at/kd.c (kdstart): Moved escape sequence handling to new 950: kd_putc_esc function. 951: (kd_putc_esc): New function with logic from kdstart. 952: (kdcnputc): Call kd_putc_esc rather than kd_putc to allow for ANSI 953: escape codes. 954: * i386/i386at/kd.h (kd_putc_esc): New function. 955: 956: 2015-08-28 Flávio Cruz <[email protected]> 957: 958: Make sure the reply port's reference is released when the thread needs to be halted. 959: * kern/thread.h (thread_halt_self): Add continuation_t parameter. 960: * kern/thread.c (thread_halt_self): Pass continuation_t parameter to 961: thread_block instead of thread_exception_return. 962: * kern/ast.c (ast_taken): Pass thread_exception_return to thread_halt_self. 963: * kern/profile.c (profile_thread): Likewise. 964: * kern/exception.c (exception_no_server): Likewise. 965: (thread_release_and_exception_return): New function. 966: (exception_raise_continue_slow): Pass thread_release_and_exception_return to 967: thread_halt_self. 968: 969: 2015-08-28 Flávio Cruz <[email protected]> 970: 971: Add a thread_no_continuation definition 972: to replace the use of the NULL pointer. 973: 974: * kern/sched_prim.h (thread_no_continuation): New macro. 975: * kern/machine.c (processor_assign, processor_doaction): Use 976: thread_no_continuation instead of 0. 977: * kern/profile.c (send_last_sample_buf): Likewise 978: * kern/sched_prim.c (thread_sleep, thread_invoke, thread_dispatch): 979: Likewise. 980: * kern/task.c (task_terminate, task_assign): Likewise. 981: * kern/thread.c (thread_suspend): Likewise. 982: * kern/thread.h (struct thread): Change type of swap_func field to 983: continuation_t. 984: 985: 2015-08-20 Justus Winter <[email protected]> 986: 987: kern/bootstrap: tune locking 988: * kern/bootstrap.c (boot_script_exec_cmd): Avoid holding the lock 989: across the call to `thread_create'. 990: 991: i386: enable assertions 992: * i386/intel/pmap.c (pmap_page_protect): Enable assertions. 993: (phys_attribute_clear, phys_attribute_test): Likewise. 994: 995: kern: really zero-out unused simple lock info entries 996: * kern/lock.c (simple_unlock): Really zero-out unused simple lock info 997: entries. 998: 999: 2015-08-18 Justus Winter <[email protected]> 1000: 1001: i386: fix panic message 1002: * i386/intel/pmap.c (pmap_page_protect): Fix function name in panic 1003: message. 1004: 1005: vm: collapse unreachable branch into assertion 1006: * vm/vm_object.c (vm_object_collapse): Collapse unreachable branch 1007: into assertion. 1008: 1009: 2015-08-17 Justus Winter <[email protected]> 1010: 1011: kern: keep track of the writer when debugging locks 1012: * configfrag.ac (MACH_LDEBUG): Adjust comment, we use it to sanity 1013: check all locks now. 1014: * kern/lock.c (lock_write): Keep track of the writer thread. 1015: (lock_done): Clear writer. 1016: (lock_read_to_write): Keep track of the writer thread. 1017: (lock_write_to_read): Assert that the current thread holds the lock. 1018: Clear writer. 1019: (lock_try_write): Keep track of the writer thread. 1020: (lock_try_read_to_write): Likewise. 1021: (lock_set_recursive): Assert that the current thread holds the lock. 1022: * kern/lock.h (struct lock): New field `writer'. 1023: (have_read_lock, have_write_lock, have_lock): New macros that can be 1024: used to assert that the current thread holds the given lock. If 1025: MACH_LDEBUG is not set, they evaluate to true. 1026: 1027: 2015-08-17 Justus Winter <[email protected]> 1028: 1029: kern: improve simple lock debugging 1030: Do not bother saving the return address when acquire a simple lock. 1031: Save the location as provided by the compiler as string instead. Also 1032: save the lock parameter. 1033: 1034: * kern/lock.c (struct simple_locks_info): Drop `ra', add `expr', `loc'. 1035: (simple_lock): Rename to `_simple_lock', add expression and location 1036: parameters and save them. 1037: (simple_lock_try): Likewise. 1038: (simple_unlock): Zero-out the now unused slot in the list of taken locks. 1039: (db_show_all_slocks): Use the new information. 1040: * kern/lock.h (simple_lock, simple_lock_try): Provide macro versions 1041: passing the location and expression as string. 1042: 1043: 2015-08-17 Justus Winter <[email protected]> 1044: 1045: kern: disable the simple lock checks while debugging 1046: * kern/lock.c (do_check_simple_locks): New variable. 1047: (check_simple_locks): Make check conditional. 1048: (check_simple_locks_{en,dis}able): New functions. 1049: * kern/lock.h (check_simple_locks_{en,dis}able): New declarations. 1050: * ddb/db_trap.c (db_task_trap): Disable simple lock checks. 1051: 1052: 2015-08-15 Justus Winter <[email protected]> 1053: 1054: vm: fix compiler warning 1055: * vm/vm_user.c (vm_wire): Drop unused but set variable `host'. 1056: 1057: vm: enable extra assertions 1058: * vm/vm_fault.c (vm_fault_page): Enable extra assertions. 1059: 1060: Avoid re-defining macros 1061: * kern/macros.h: Avoid re-defining macros. 1062: * linux/src/include/linux/compiler-gcc.h: Likewise. 1063: * linux/src/include/linux/compiler.h: Likewise. 1064: 1065: 2015-07-25 Justus Winter <[email protected]> 1066: 1067: kern: add boot-time clock, use it for time stamps 1068: The kernel keeps track of task and thread creation times by saving a 1069: time stamp. Previously, the real-time clock was used for this. When 1070: the real-time clock is changed, however, the reference frame for the 1071: time stamps is lost. This surfaced in Hurd systems reporting 1072: spuriously long uptimes. 1073: 1074: Fix this by creating a boot-time clock and use it as reference frame 1075: for the time stamps. 1076: 1077: * kern/mach_clock.c (clock_boottime_offset): Create clock by keeping 1078: track of the offset from the real-time. 1079: (clock_boottime_update): New function. 1080: (record_time_stamp): Use the boot-time clock for time stamps. 1081: (read_time_stamp): New function to convert it back to real-time. 1082: (host_set_time): Call `clock_boottime_update'. 1083: * kern/mach_clock.h (record_time_stamp): Amend comment. 1084: (read_time_stamp): New declaration. 1085: * kern/task.c (task_info): Use `read_time_stamp'. 1086: * kern/thread.c (thread_info): Likewise. 1087: 1088: 2015-07-25 Justus Winter <[email protected]> 1089: 1090: include: provide time-value substraction 1091: * include/mach/time_value.h (time_value_assert): New macro to assert 1092: that the given value is well-formed. 1093: (time_value_add_usec): Use the new macro. 1094: (time_value_sub_usec): New macro. 1095: (time_value_add): Use `time_value_add_usec'. 1096: (time_value_sub_usec): New macro. 1097: 1098: kern/lock: make sure the macros are only used on simple locks 1099: * kern/lock.h (struct slock, simple_lock_data_empty): Add field 1100: `is_a_simple_lock'. 1101: (simple_lock_assert): New macro that tests for `is_a_simple_lock'. 1102: Use this macro to assert that the arguments to various other macros 1103: are indeed simple locks. 1104: 1105: Disable the kernel tracing system XPR 1106: * configfrag.ac (XPR_DEBUG): Disable tracing system. 1107: 1108: ipc/space: inline reference counting 1109: * ipc/ipc_space.h (is_{reference,release}): Use the macro variant. 1110: 1111: Make sure the field offsets are updated 1112: * Makerules.am: Make sure the field offsets are updated. 1113: 1114: 2015-07-20 Justus Winter <[email protected]> 1115: 1116: kern/bootstrap: deallocate thread 1117: Previously, killing the thread would fail because of the extra 1118: reference, making task_terminate loop forever. 1119: 1120: * kern/bootstrap.c (boot_script_exec_command): Deallocate thread. 1121: 1122: 2015-07-19 Justus Winter <[email protected]> 1123: 1124: kern/bootstrap: deallocate task 1125: * kern/bootstrap.c (boot_script_free_task): Deallocate task. 1126: 1127: 2015-07-18 Justus Winter <[email protected]> 1128: 1129: linux/net: fix build with -O0 1130: * linux/src/drivers/net/pci-scan.c: Avoid #erroring out. 1131: 1132: 2015-07-18 Justus Winter <[email protected]> 1133: 1134: kern/printf: do not serialize printf and co 1135: A lot of code assumes that printf is re-entrant, e.g. the pagination 1136: code in the debugger, or any use of assert inside the console driver. 1137: 1138: * kern/printf.c: Drop the lock serializing calls to `_doprnt'. 1139: (printf_init): Remove function. 1140: * kern/printf.h (printf_init): Remove declaration. 1141: * kern/startup.c (setup_main): Remove call to `printf_init'. 1142: 1143: 2015-07-18 Justus Winter <[email protected]> 1144: 1145: kern/lock: use compiler built-in functions to get return address 1146: * kern/lock.c (struct simple_locks_info): Fix type of `ra'. 1147: (simple_lock, simple_lock_try): Use compiler built-in functions to get 1148: return address. 1149: 1150: kern/bootstrap: fix locking 1151: * kern/bootstrap.c (boot_script_exec_cmd): Add missing unlock. 1152: (user_bootstrap): Likewise. 1153: 1154: kern/slab: fix locking 1155: * kern/slab.c (host_slab_info): Fix locking. 1156: 1157: 2015-07-15 Justus Winter <[email protected]> 1158: 1159: ipc: use a general lock to protect IPC spaces 1160: This fixes a corruption in the radix trees representing the IPC spaces 1161: when memory was tight. 1162: 1163: * ipc/ipc_space.h: Use a general lock to protect IPC spaces. 1164: 1165: 2015-07-15 Justus Winter <[email protected]> 1166: 1167: ipc: fix the locking of the IPC entry allocation functions 1168: * ipc/ipc_entry.c (ipc_entry_alloc): Assume the space is write-locked. 1169: (ipc_entry_alloc_name): Likewise. 1170: * ipc/ipc_object.c: Fix the locking around all call sites to the two 1171: functions where the space was not locked before. 1172: 1173: i386: fix typo 1174: * i386/intel/pmap.c: Fix typo. 1175: 1176: 2015-07-12 Justus Winter <[email protected]> 1177: 1178: ipc: avoid kmem_alloc 1179: * ipc/ipc_table.c (ipc_table_alloc): Unconditionally use `kalloc'. 1180: (ipc_table_free): Unconditionally use `kfree'. 1181: 1182: 2015-07-12 Justus Winter <[email protected]> 1183: 1184: vm: really fix traversing the list of inactive pages 1185: Previously, the pageout code traversed the list of pages in an object 1186: instead of the list of inactive pages. 1187: 1188: * vm/vm_pageout.c (vm_pageout_scan): Fix traversing the list of 1189: inactive pages. 1190: 1191: 2015-07-11 Justus Winter <[email protected]> 1192: 1193: kern: make sure the queue macros are only used on queues 1194: This turns mistakes as the one corrected in e59f05e9 into compile-time 1195: errors. 1196: 1197: * kern/queue.h: Add a new macro, queue_assert, and use it to assert 1198: that all arguments given to the queue macros have the correct type. 1199: * device/net_io.c (ENQUEUE_DEAD): Adapt to the fact that 1200: `queue_next(q)' is no longer an lvalue. 1201: 1202: 2015-07-11 Justus Winter <[email protected]> 1203: 1204: vm: fix traversing the list of inactive pages 1205: Previously, the pageout code traversed the hash table chain instead of 1206: the list of inactive pages. The code merely compiled by accident, 1207: because the `struct page' also has a field called `next' for the hash 1208: table chain. 1209: 1210: * vm/vm_pageout.c (vm_pageout_scan): Fix traversing the list of 1211: inactive pages. 1212: 1213: 2015-07-10 Justus Winter <[email protected]> 1214: 1215: vm: drop debugging remnants 1216: * vm/vm_object.c (vm_object_terminate): Drop debugging remnants. 1217: 1218: kern: make printf handle long long integers 1219: * Makefile.am (clib_routines): Steal `__umoddi3'. 1220: * kern/printf.c (MAXBUF): Increase size. 1221: (printnum, _doprnt): Handle long long integers. 1222: * kern/printf.h (printnum): Adjust declaration. 1223: 1224: 2015-07-09 Justus Winter <[email protected]> 1225: 1226: vm: fix panic message 1227: * vm/vm_kern.c (kmem_init): Fix panic message. 1228: 1229: i386: fix line wrapping in the immediate console 1230: * i386/i386at/immc.c (immc_cnputc): Fix line wrapping. 1231: 1232: kern: remove superfluous file 1233: * kern/server_loop.ch: Remove superfluous file. 1234: 1235: kern: improve error handling 1236: * kern/bootstrap.c (boot_script_exec_cmd): Improve error handling. 1237: 1238: 2015-07-09 Samuel Thibault <[email protected]> 1239: 1240: Allow non-privileged tasks to wire 64KiB task memory 1241: * doc/mach.texi (vm_wire): Document that the host port does not have to be 1242: privileged. 1243: * include/mach/mach_hosts.defs (vm_wire): Use mach_port_t instead of 1244: host_priv_t. 1245: * vm/vm_map.h (vm_map): Add user_wired field. 1246: * vm/vm_map.c (vm_map_setup): Initialize user_wired field to 0. 1247: (vm_map_pageable_common, vm_map_entry_delete, vm_map_copy_overwrite, 1248: vm_map_copyout_page_list, vm_map_copyin_page_list): When switching 1249: user_wired_count field of entry between 0 and non-0, accumulate the 1250: corresponding size into the user_wired field of map. 1251: * vm/vm_user.c (vm_wire): Turn host parameter into port parameter, and 1252: inline a version of convert_port_to_host_priv which records whether the host 1253: port is privileged or not. When it is not privileged, check whether 1254: the additional amount to user_wired will overcome 64KiB. 1255: 1256: 2015-07-07 Samuel Thibault <[email protected]> 1257: 1258: Fix build with -O0 1259: * linux/src/include/linux/string.h (strcpy, strncpy, strcat, strncat, 1260: strchr, strrchr, strlen, strnlen, strcmp, strncmp, memmove, 1261: memscan): Comment out extern declarations. 1262: * linux/dev/include/asm-i386/string.h (strcpy, strncpy, strcat, strncat, 1263: strcmp, strncmp, strchr, strrchr, strlen, __memcpy, __constant_memcpy, 1264: memmove, memchr, __memset_generic, __constant_c_memset, strnlen, 1265: __constant_c_and_count_memset, memscan): Turn extern inline into static 1266: inline. 1267: * linux/dev/include/linux/fs.h (mark_buffer_uptodate): Likewise. 1268: * linux/src/include/asm-i386/bitops.h (set_bit, clear_bit, change_bit, 1269: test_and_set_bit, test_and_clear_bit, test_and_change_bit, test_bit, 1270: find_first_zero_bit, find_next_zero_bit, ffz, ffs): Likewise. 1271: * linux/src/include/asm-i386/io.h (virt_to_phys, phys_to_virt, __out##s, 1272: __in##s, ins##s, outs##s): Likewise. 1273: * linux/src/include/asm-i386/semaphore.h (down, down_interruptible, up): 1274: Likewise. 1275: * linux/src/include/asm-i386/segment.h [!__OPTIMIZE]: Emit an ud2 instruction 1276: instead of an undefined reference. 1277: 1278: 2015-07-05 Samuel Thibault <[email protected]> 1279: 1280: Add missing distributed file 1281: * Makefrag.am (EXTRA_DIST): Add ipc/notify.defs. 1282: 1283: 2015-06-30 Justus Winter <[email protected]> 1284: 1285: Fix re-configuring out-of-tree builds 1286: Previously, running `../configure ...' to reconfigure an out-of-tree 1287: build would link `machine' to `i386/i386' instead of `../i386/i386' 1288: (i.e. point to the build directory instead to the source) if 1289: `i386/i386' also exists in the build directory because of a previous 1290: build. 1291: 1292: * configfrag.ac: Prefix machine link target with `$srcdir'. 1293: 1294: 2015-06-30 Samuel Thibault <[email protected]> 1295: 1296: Fix restoring interrupts on timeout 1297: * linux/dev/drivers/block/ahci.c (ahci_identify): Restore flags before 1298: returning on timeout. 1299: 1300: 2015-06-29 Samuel Thibault <[email protected]> 1301: 1302: Print about powered-down AHCI ports 1303: * linux/dev/drivers/block/ahci.c (ahci_probe_dev): Print messages when 1304: device is present but powered down. 1305: 1306: 2015-06-28 Justus Winter <[email protected]> 1307: 1308: ddb: automatically display stack traces 1309: * ddb/db_trap.c (db_task_trap): Automatically display stack traces if 1310: an unexpected trap occurs. 1311: 1312: 2015-06-28 Justus Winter <[email protected]> 1313: 1314: i386: improve the immediate console 1315: Improve the immediate console to the point that it can be enabled and 1316: display e.g. assertion failures from very early on (i.e. from 1317: `c_boot_entry'). 1318: 1319: * device/cons.h (romgetc, romputc): New declarations. 1320: * i386/configfrag.ac: Add configuration variable. 1321: * i386/i386at/conf.c (dev_name_list): Add entry. 1322: * i386/i386at/cons_conf.c (constab): Add entry. 1323: * i386/i386at/immc.c: Add missing includes. 1324: (immc_cnprobe, immc_cninit, immc_cngetc, immc_romputc): New functions. 1325: (immc_cnputc): Fix signature, use virtual addresses. 1326: * i386/i386at/immc.h: New file. 1327: * i386/i386at/kd.c: Use `#if ENABLE_IMMEDIATE_CONSOLE'. 1328: * i386/i386at/kd.h (kd_setpos): Add missing declaration. 1329: * i386/i386at/model_dep.c (c_boot_entry): Install immediate console as 1330: early boot console. 1331: 1332: 2015-06-26 Justus Winter <[email protected]> 1333: 1334: i386: add comment 1335: * i386/i386at/model_dep.c (rebootflag): Explain flag. 1336: 1337: 2015-06-20 Justus Winter <[email protected]> 1338: 1339: kern: fix error handling 1340: This avoids calling `thread_deallocate' with an uninitialized value, 1341: as found by the Clang Static Analyzer. 1342: 1343: * kern/thread.c (kernel_thread): Fix error handling. 1344: 1345: 2015-06-09 Justus Winter <[email protected]> 1346: 1347: kern: add function attributes to the printf-functions 1348: * kern/printf.h (sprintf, snprintf, vsnprintf, printf): Add the 1349: `printf' function attribute that allows the compiler to check the 1350: format strings and arguments. 1351: 1352: 2015-06-05 Flávio Cruz <[email protected]> 1353: 1354: Fix typo 1355: * vm/vm_kern.c (kmem_alloc_aligned): Fix typo. 1356: 1357: Use custom port macros. 1358: * ipc/ipc_port.c (ipc_port_alloc_special): Use ip_alloc and ip_lock_init 1359: macros instead of manually inlining them. 1360: 1361: 2015-05-31 Justus Winter <[email protected]> 1362: 1363: ipc: fix typo 1364: * ipc/notify.defs: Fix typo. 1365: 1366: Include the notify protocol in `gnumach.msgids' 1367: * Makefrag.am (gnumach.msgids): Add `notify.msgids' as prerequisite. 1368: * Makerules.mig.am: Add rule to generate the list of message ids when 1369: neither the client nor the server stubs are required. 1370: * ipc/notify.defs: New file. 1371: 1372: 2015-05-29 Justus Winter <[email protected]> 1373: 1374: kern: fix argument handling 1375: Previously, the processor argument was not checked. If called with a 1376: non-processor argument (like a task), `processor' is set to NULL, 1377: triggering a page fault. Likewise for the other functions. 1378: 1379: * kern/processor.c (processor_get_assignment): Fix argument handling. 1380: * kern/task.c (task_get_assignment): Likewise. 1381: * kern/thread.c (thread_get_assignment): Likewise. 1382: 1383: 2015-05-23 Justus Winter <[email protected]> 1384: 1385: Restrict `-fno-strict-aliasing' to the Linux drivers 1386: * Makefile.am: Move `-fno-strict-aliasing'... 1387: * linux/Makefrag.am: ... here. 1388: 1389: i386: avoid breaking the strict-aliasing rules 1390: * i386/i386/pcb.c (switch_ktss): Cleanly convert the value. 1391: 1392: kern: avoid breaking the strict-aliasing rules 1393: * kern/exception.c (exception_parse_reply): Use `BAD_TYPECHECK'. 1394: 1395: vm: drop unused `kmem_realloc' 1396: * vm/vm_kern.c (kmem_realloc): Remove function. 1397: (kmem_alloc_wired): Adopt comment. 1398: * vm/vm_kern.h (kmem_realloc): Remove declaration. 1399: 1400: 2015-05-23 Samuel Thibault <[email protected]> 1401: 1402: Add stdint integer types in Linux glue 1403: * linux/dev/include/linux/types.h (int8_t, uint8_t, int16_t, uint16_t, 1404: int32_t, uint32_t, int64_t, uint64_t): New types. 1405: 1406: 2015-05-22 Justus Winter <[email protected]> 1407: 1408: ipc: drop remnants of the IPC tables 1409: * ipc/ipc_table.c (ipc_table_entries): Remove. 1410: (ipc_table_entries_size): Likewise. 1411: (ipc_table_init): Remove initialization of `ipc_table_entries'. 1412: (ipc_table_realloc): Remove function. 1413: * ipc/ipc_table.h: Adjust comments. 1414: (ipc_table_entries): Remove declaration. 1415: (ipc_table_realloc): Likewise. 1416: (it_entries_{alloc,reallocable,realloc,free}): Remove macros. 1417: 1418: ipc: drop size parameter from `ipc_space_create' 1419: * ipc/ipc_space.c (ipc_space_create): Drop size parameter. 1420: * ipc/ipc_space.h (ipc_space_create): Adopt declaration, fix comment. 1421: * kern/ipc_tt.c (ipc_task_init): Adopt accordingly. 1422: 1423: 2015-05-20 Justus Winter <[email protected]> 1424: 1425: ipc: inline key ipc entry lookup functions 1426: Declare functions looking up IPC entries that were previously inlined 1427: manually with `static inline' so that they will be inlined into the 1428: fast paths by the compiler. 1429: 1430: * ipc/ipc_entry.c (ipc_entry_lookup, ipc_entry_get, 1431: ipc_entry_dealloc): Move functions... 1432: * ipc/ipc_space.h: ... here, and declare them as `static inline'. 1433: * ipc/ipc_entry.h: Drop associated declarations. 1434: 1435: 2015-05-20 Justus Winter <[email protected]> 1436: 1437: ipc: replace the IPC table with a radix tree 1438: Currently, the port names are mapped to an IPC object (e.g. a port) 1439: using a table. This, however, requires large chunks of continuous 1440: memory, and leads to scalability problems as virtual kernel memory is 1441: a scarce resource. To avoid excessive overhead, non-contiguous port 1442: names are spilled into a splay tree. 1443: 1444: Replace the IPC table with a radix tree. As the radix tree is able to 1445: store non-contiguous names with reasonable overhead, we can drop the 1446: splay tree as well. 1447: 1448: * ipc/ipc_entry.c (ipc_entry_tree_collision): Remove function. 1449: (ipc_entry_cache): New variable. 1450: (ipc_entry_lookup): Replace with a radix tree lookup. 1451: (ipc_entry_get): The free list handling is changed a little. Adopt 1452: accordingly. 1453: (ipc_entry_free_name): New function. 1454: (ipc_entry_alloc): Adopt accordingly. 1455: (ipc_entry_alloc_name): Likewise. 1456: (ipc_entry_dealloc): Likewise. 1457: (ipc_entry_grow_table): Remove function. 1458: * ipc/ipc_entry.h (struct ipc_entry): Update comment, add field for 1459: name and free list, remove unused fields. 1460: (ipc_entry_cache, ie_alloc, ie_free): New declarations. 1461: (struct ipc_tree_entry): Remove. Also remove any related declarations. 1462: (ipc_entry_grow_table): Remove declaration. 1463: * ipc/ipc_init.c (ipc_bootstrap): Adopt initialization. 1464: * ipc/ipc_kmsg.c (ipc_kmsg_copyout_header): Use `ipc_entry_alloc' 1465: instead of re-coding it. Adopt free list handling. 1466: (ipc_kmsg_copyout_object): Adopt free list handling, store the name. 1467: * ipc/ipc_object.c (ipc_object_copyout): Likewise. 1468: (ipc_object_copyout_multiname): Likewise. 1469: * ipc/ipc_space.c (ipc_space_create): Initialize radix tree and free list. 1470: Drop table and splay tree initialization. 1471: (ipc_space_destroy): Free ipc entries and radix tree, remove table and 1472: splay tree cleanup. 1473: * ipc/ipc_space.h (struct ipc_space): Add radix tree, free list, and size. 1474: Remove all fields related to the table and splay tree. 1475: * ddb/db_print.c (db_port_iterate): Adopt iteration. 1476: (db_lookup_port): Adopt lookup. 1477: * include/mach_debug/ipc_info.h: Remove unused parts of the debug interface. 1478: * include/mach_debug/mach_debug.defs: Likewise. 1479: * include/mach_debug/mach_debug_types.defs: Likewise. 1480: * ipc/mach_debug.c: Likewise. 1481: * ipc/ipc_right.c (ipc_right_reverse): Adopt lookup, store name. 1482: (ipc_right_check): Adopt removal. 1483: (ipc_right_destroy): Likewise. 1484: (ipc_right_dealloc): Likewise. 1485: (ipc_right_delta): Likewise. 1486: (ipc_right_copyin): Adopt insertion, adopt removal. 1487: (ipc_right_copyin_two): Adopt removal. 1488: (ipc_right_copyout): Adopt insertion, adopt removal. 1489: (ipc_right_rename): Likewise, also update comment. 1490: * ipc/mach_port.c (mach_port_names): Adopt iteration. 1491: (mach_port_get_set_status): Likewise. 1492: * ipc/port.h: Update comment. 1493: * ipc/ipc_hash.c: Delete file. 1494: * ipc/ipc_hash.h: Likewise. 1495: * ipc/ipc_splay.c: Likewise. 1496: * ipc/ipc_splay.h: Likewise. 1497: * Makefrag.am (libkernel_a_SOURCES): Remove these files. 1498: 1499: 2015-05-20 Justus Winter <[email protected]> 1500: 1501: ipc: replace reverse hash table with a radix tree 1502: Currently, there is a hash table mapping (space, object) tuples to 1503: `ipc_entry' objects. This hash table is intertwined with the IPC 1504: tables. There is one hash table per IPC space, but it is only for the 1505: entries in the IPC table. This hash table is called `local' in the 1506: source. All IPC entries being spilled into the splay tree are instead 1507: mapped by a global hash table. 1508: 1509: Replace the local (i.e. per IPC space) reverse hash table with a radix 1510: tree. 1511: 1512: * ipc/ipc_entry.c (ipc_entry_grow_table): Adjust accordingly. 1513: * ipc/ipc_entry.h (struct ipc_entry): Adjust comment. 1514: * ipc/ipc_hash.c: Adjust comment explaining the local lookup table. 1515: (IPC_LOCAL_HASH_INVARIANT): New macro. 1516: (ipc_hash_local_lookup): Use the new `ipc_reverse_lookup' function. 1517: (ipc_hash_local_insert): Use the new `ipc_reverse_insert' function. 1518: (ipc_hash_local_delete): Use the new `ipc_reverse_remove' function. 1519: * ipc/ipc_space.c (ipc_space_create): Initialize radix tree. 1520: (ipc_space_destroy): Free radix tree. 1521: * ipc/ipc_space.h (struct ipc_space): Add radix tree. 1522: (ipc_reverse_insert): New function. 1523: (ipc_reverse_remove): Likewise. 1524: (ipc_reverse_remove_all): Likewise. 1525: (ipc_reverse_lookup): Likewise. 1526: * ipc/ipc_right.c (ipc_right_clean): Update comment. 1527: 1528: 2015-05-20 Justus Winter <[email protected]> 1529: 1530: ipc: undo manual inlining of `ipc_entry_X' functions 1531: Today we can rely on the compiler to inline functions. Undoing this 1532: manual optimization is a first step to replace the IPC tables. 1533: 1534: * ipc/mach_msg.c (mach_msg_trap): Undo the manual inlining of 1535: `ipc_entry_lookup', `ipc_entry_dealloc', and `ipc_entry_get'. 1536: * ipc/ipc_kmsg.c (ipc_kmsg_copyin_header, ipc_kmsg_copyout_header): Likewise. 1537: * kern/exception.c (exception_raise): Likewise. 1538: * kern/ipc_mig.c (fast_send_right_lookup): Likewise. 1539: 1540: 2015-05-20 Justus Winter <[email protected]> 1541: 1542: kern: add radix tree library 1543: Import a radix tree library from Richard Braun's librbraun. 1544: 1545: * Makefile.am (clib_routines): Steal `__ffsdi2'. 1546: * Makefrag.am (libkernel_a_SOURCES): Add new files. 1547: * kern/rdxtree.c: New file. 1548: * kern/rdxtree.h: Likewise. 1549: * kern/rdxtree_i.h: Likewise. 1550: * kern/startup.c (setup_main): Initialize radix tree library. 1551: 1552: 2015-05-20 Justus Winter <[email protected]> 1553: 1554: kern: gracefully handle resource shortage 1555: * kern/thread.c (stack_alloc): Report resource shortage. 1556: * kern/sched_prim.h (stack_alloc): Adjust declaration accordingly. 1557: * kern/thread_swap.c (thread_doswapin): Report resource shortage. 1558: (swapin_thread_continue): If the swap-in fails, put the thread back on 1559: the queue and go back to sleep. 1560: * kern/thread_swap.h (thread_doswapin): Adjust declaration accordingly. 1561: 1562: vm: gracefully handle resource shortage 1563: * vm/vm_object.c (vm_object_copy_call): Gracefully handle resource 1564: shortage by doing the allocation earlier and aborting the function if 1565: unsuccessful. 1566: 1567: kern: gracefully handle resource shortage 1568: * kern/task.c (task_create): Gracefully handle resource shortage. 1569: 1570: 2015-05-19 Justus Winter <[email protected]> 1571: 1572: kern: import `macros.h' from x15 1573: Import the macro definitions from the x15 kernel project, and replace 1574: all similar definitions littered all over the place with it. 1575: 1576: Importing this file will make importing code from the x15 kernel 1577: easier. We are already using the red-black tree implementation and 1578: the slab allocator from it, and we will import even more code in the 1579: near future. 1580: 1581: * kern/list.h: Do not define `structof', include `macros.h' instead. 1582: * kern/rbtree.h: Likewise. 1583: * kern/slab.c: Do not define `ARRAY_SIZE', include `macros.h' instead. 1584: * i386/grub/misc.h: Likewise. 1585: * i386/i386/xen.h: Do not define `barrier', include `macros.h' instead. 1586: * kern/macro_help.h: Delete file. Replaced by `macros.h'. 1587: * kern/macros.h: New file. 1588: * Makefrag.am (libkernel_a_SOURCES): Add new file, remove old file. 1589: * device/dev_master.h: Adopt accordingly. 1590: * device/io_req.h: Likewise. 1591: * device/net_io.h: Likewise. 1592: * i386/intel/read_fault.c: Likewise. 1593: * ipc/ipc_kmsg.h: Likewise. 1594: * ipc/ipc_mqueue.h: Likewise. 1595: * ipc/ipc_object.h: Likewise. 1596: * ipc/ipc_port.h: Likewise. 1597: * ipc/ipc_space.h: Likewise. 1598: * ipc/ipc_splay.c: Likewise. 1599: * ipc/ipc_splay.h: Likewise. 1600: * kern/assert.h: Likewise. 1601: * kern/ast.h: Likewise. 1602: * kern/pc_sample.h: Likewise. 1603: * kern/refcount.h: Likewise. 1604: * kern/sched.h: Likewise. 1605: * kern/sched_prim.c: Likewise. 1606: * kern/timer.c: Likewise. 1607: * kern/timer.h: Likewise. 1608: * vm/vm_fault.c: Likewise. 1609: * vm/vm_map.h: Likewise. 1610: * vm/vm_object.h: Likewise. 1611: * vm/vm_page.h: Likewise. 1612: 1613: 2015-05-17 Justus Winter <[email protected]> 1614: 1615: i386: avoid compiler warning 1616: * i386/i386/phys.c (pmap_zero_page, pmap_copy_page, copy_to_phys, 1617: copy_from_phys): Avoid compiler warning about `map' being used 1618: uninitialized. 1619: 1620: 2015-05-14 Justus Winter <[email protected]> 1621: 1622: i386: use macro to compute address of saved registers 1623: * i386/i386/pcb.c (stack_attach): Use `USER_REGS'. 1624: (stack_handoff): Likewise. 1625: 1626: 2015-05-02 Samuel Thibault <[email protected]> 1627: 1628: Fix semaphore failure path special calling convention 1629: * linux/src/include/asm-i386/semaphore.h (down): Pass semaphore address to 1630: down_failed through ecx. 1631: (down_interruptible): Likewise to down_failed_interruptible. 1632: (up): Likewise to up_wakeup. 1633: 1634: 2015-05-02 Justus Winter <[email protected]> 1635: 1636: kern: fix comment 1637: * kern/rbtree.h: Fix comment. 1638: 1639: 2015-05-02 Samuel Thibault <[email protected]> 1640: 1641: Fix warning 1642: * i386/i386at/rtc.c (rtcget, rtcput): Make functions take an rtc_st 1643: structure which it casts to char * itself. 1644: 1645: Fix warnings 1646: * device/ds_routines.c (device_open, ds_open_done, device_close, 1647: device_write, device_write_inband, ds_write_done, device_read, 1648: device_read_inband, ds_read_done, device_set_status, mach_device_get_status, 1649: device_set_filter, device_map, ds_no_senders): Convert from K&R declaration, 1650: fix type of `device' into void*. 1651: 1652: Fix block_io_mmap prototype 1653: * device/blkio.c (block_io_mmap): Fix prototype of dummy function. 1654: * device/blkio.h (block_io_mmap): Likewise. 1655: 1656: 2015-05-01 Samuel Thibault <[email protected]> 1657: 1658: Use gnu89 inline style 1659: * Makefile.am (AM_CFLAGS): Add -fgnu89-inline option. 1660: 1661: 2015-05-01 Samuel Thibault <[email protected]> 1662: 1663: Replace clobbers with earlyclobbers 1664: Newer gccs consider the former "impossible" 1665: 1666: * linux/src/include/asm-i386/bitops.h (find_first_zero_bit): Replace 1667: clobbers with earlyclobbers. 1668: * linux/src/include/asm-i386/semaphore.h (down, down_interruptible, up): 1669: Likewise. 1670: 1671: 2015-04-30 Samuel Thibault <[email protected]> 1672: 1673: Fix build with gcc-5 1674: * linux/src/include/linux/compiler-gcc5.h: New file. 1675: 1676: 2015-04-24 Justus Winter <[email protected]> 1677: 1678: kern: avoid hardcoding the lowest priority 1679: The number of priorities has been changed from 32 to 50 in 1680: 6a234201081156e6d5742e7eeabb68418b518fad. 1681: 1682: * kern/syscall_subr.c (thread_depress_priority): Avoid hardcoding the 1683: lowest priority. 1684: 1685: 2015-04-23 Justus Winter <[email protected]> 1686: 1687: kern: disable stack allocation counters by default 1688: Disable the stack allocation counters by default. Casual checking 1689: revealed that the hits-to-miss ratio is excellent. 1690: 1691: * kern/thread.c (stack_alloc_{hits,misses,max}): Move variables... 1692: * kern/counters.c: ... here, and add the usual counter prefix. 1693: * kern/counters.h: New declarations. 1694: 1695: 2015-04-23 Samuel Thibault <[email protected]> 1696: 1697: Avoid accessing ip_protected_payload without the lock. 1698: * ipc/ipc_kmsg.c (ipc_kmsg_copyout_header): Avoid accessing 1699: dest->ip_protected_payload without the lock. 1700: * ipc/mach_msg.c (ipc/mach_msg.c): Avoid accessing 1701: dest_port->ip_protected_payload without the lock. 1702: 1703: Prepend 0x to hexadecimal offset 1704: * i386/i386/db_trace.c (db_i386_stack_trace): Prepend 0x to hexadecimal offset. 1705: 1.1.1.7 root 1706: 2015-04-10 Thomas Schwinge <[email protected]> 1707: 1708: GNU Mach 1.5. 1709: * version.m4 (AC_PACKAGE_VERSION): Set to 1.5. 1710: * NEWS: Finalize for 1.5. 1711: 1712: 2015-03-19 Samuel Thibault <[email protected]> 1713: 1714: Give the Debian package name for the non-multilib libc.a 1715: * Makefile.am (clib-routines.o): Mention the Debian libc6-dev:i386 package. 1716: 1717: 2015-03-08 Samuel Thibault <[email protected]> 1718: 1719: Remove spl debugging in Xen case 1720: xen cli/sti doesn't use IF 1721: 1722: * i386/i386/spl.S [MACH_XEN]: Disable IF check. 1723: 1724: 2015-03-05 Samuel Thibault <[email protected]> 1725: 1726: Show odd number of ports 1727: * linux/dev/drivers/block/ahci.c (ahci_probe_dev): Show odd number of ports. 1728: 1729: 2015-02-26 Samuel Thibault <[email protected]> 1730: 1731: Use printf_once instead of recoding it 1732: * i386/i386at/kd_event.c: Call printf_once instead of recoding it. 1733: * i386/i386at/kd_mouse.c: Likewise. 1734: 1735: Limit printing "queue full" messages 1736: * i386/i386at/kd_event.c (kbd_enqueue): Print "queue full" warning only 1737: once. 1738: * i386/i386at/kd_mouse.c (mouse_enqueue): Likewise. 1739: 1740: 2015-02-25 Justus Winter <[email protected]> 1741: 1742: kern: inherit the name of the parent task 1743: * kern/task.c (task_create): Inherit the name of the parent task. 1744: 1745: 2015-02-20 Justus Winter <[email protected]> 1746: 1747: i386: specialize `copyinmsg' and `copyoutmsg' 1748: Previously, `copyinmsg' was the same function as `copyin'. The former 1749: is for messages, and the size of messages is a multiple of four. 1750: Likewise for `copyoutmsg'. 1751: 1752: Provide a specialized version of both functions. This shaves off a 1753: couple of instructions and improves our IPC performance. 1754: 1755: * i386/i386/locore.S (copyinmsg): New function. 1756: (copyoutmsg): New function. 1757: 1758: 2015-02-20 Justus Winter <[email protected]> 1759: 1760: i386: drop needless instruction from `copyout' 1761: * i386/i386/locore.S (copyout): Do not needlessly copy length to %eax 1762: first. 1763: 1764: 2015-02-20 Justus Winter <[email protected]> 1765: 1766: kern: improve assert 1767: Use the ternary operator to implement `assert' like it is done in the 1768: glibc. The glibcs changelog does not mention the rationale behind 1769: this change, but doing the same seems to improve our IPC performance. 1770: 1771: * kern/assert.h (assert): Define macro using the ternary operator. 1772: 1773: 2015-02-20 Justus Winter <[email protected]> 1774: 1775: linux: fix compiler warning 1776: If the loop above completes at least one iteration, `i' will be larger 1777: than zero. 1778: 1779: * linux/dev/glue/block.c (rdwr_full): Add assertion to appease the 1780: compiler. 1781: 1782: 2015-02-20 Justus Winter <[email protected]> 1783: 1784: kern: reduce the size of `struct thread' 1785: Reduce the size of `struct thread' by twelve bytes making it fit into 1786: exactly five cache lines (on 32-bit platforms). 1787: 1788: * kern/thread.h (struct thread): Group the state and all flags in a 1789: bitfield. 1790: (TH_EV_WAKE_ACTIVE, TH_EV_STATE): Provide macros that generate keys 1791: for synchronization primitives like `thread_wakeup'. 1792: * kern/thread.c (thread_halt, thread_dowait, thread_suspend): Use the 1793: new keys instead of addresses of fields for the synchronisation. 1794: * kern/ipc_sched.c (thread_handoff): Likewise. 1795: * kern/sched_prim.c (thread_invoke, thread_dispatch): Likewise. 1796: 1797: 2015-02-18 Justus Winter <[email protected]> 1798: 1799: kern: avoid #if 0ing out thread_collect_scan 1800: Currently, `thread_collect_scan' does nothing because `pcb_collect' is 1801: a nop. Its body is exempt from compilation by means of the 1802: preprocessor. 1803: 1804: This is unfortunate as it increases the risk of bitrot, and we still 1805: need to pay the price of rate-limiting thread_collect_scan. 1806: 1807: * kern/thread.c (thread_collect_scan): Drop #if 0 around the body. 1808: * vm/vm_pageout.c (vm_pageout_scan): Do not call 1809: `consider_thread_collect' and document why. 1810: 1811: 2015-02-18 Justus Winter <[email protected]> 1812: 1813: vm: fix typo 1814: * vm/vm_resident.c: Fix typo. 1815: 1816: 2015-01-22 Justus Winter <[email protected]> 1817: 1818: ipc: warn about more port management bugs 1819: * ipc/mach_port.c (mach_port_destroy): Simplify expression. Reword warning. 1820: (mach_port_deallocate): Likewise. 1821: (mach_port_mod_refs): Also warn about errors when using this function. 1822: 1823: 2015-01-02 Stefan Weil <[email protected]> 1824: 1825: vm: Fix typo in comment (found by codespell) 1826: 1827: kern: Fix typos in comments (found by codespell) 1828: 1829: ipc: Fix typo in comment (found by codespell) 1830: 1831: include: Fix typos in comments (found by codespell) 1832: 1833: i386: Fix typos in comments (found by codespell) 1834: 1835: device: Fix typos in comments (found by codespell) 1836: 1837: Makefile.am: Fix typos and grammar in comment 1838: 1839: ddb: Fix typos in comments (found by codespell) 1840: 1841: 2015-01-02 Samuel Thibault <[email protected]> 1842: 1843: Handle kernel traps happening before starting userland 1844: * i386/i386/trap.c (kernel_trap): When current_thread is null, assume that 1845: we are in kernel land. 1846: 1847: 2014-12-16 Justus Winter <[email protected]> 1848: 1849: kern: gracefully handle bogus sample pc sequence number 1850: If a sequence number larger than the sample control sequence number is 1851: supplied, `nsamples' becomes negative. Handle this gracefully. 1852: 1853: * kern/pc_sample.c (get_sampled_pcs): Handle bogus sequence number. 1854: 1855: 2014-12-16 Justus Winter <[email protected]> 1856: 1857: ipc: guard test code with `MACH_IPC_TEST' 1858: * ipc/ipc_kmsg.h (ikm_mark_bogus): New macro. 1859: (ipc_kmsg_rmqueue_first_macro): Use `ikm_mark_bogus'. 1860: * ipc/ipc_kmsg.c (ipc_kmsg_rmqueue): Likewise. 1861: 1862: 2014-12-16 Justus Winter <[email protected]> 1863: 1864: ipc: tune size of cached kernel message buffers 1865: The previous limit was 256 bytes. That seems a little crummy by 1866: todays standards, and we are frequently sending bigger packets 1867: (e.g. every RPC containing a string_t on Hurd). 1868: 1869: Use the page size for IKM_SAVED_KMSG_SIZE to make sure the page is 1870: pinned to a single processor. 1871: 1872: * ipc/ipc_kmsg.h (IKM_SAVED_KMSG_SIZE): Define to `PAGE_SIZE'. 1873: 1874: 2014-12-15 Samuel Thibault <[email protected]> 1875: 1876: Make spl7 just clear IF instead of setting the PIC mask 1877: * i386/i386/spl.S (spl7): Just set curr_ipl and cli. 1878: (splx) [MACH_KDB || MACH_TTD]: When curr_ipl is 7, make sure that IF is cleared. 1879: (splx): When staying at ipl7, do not enable interrupts. 1880: (spl) [MACH_KDB || MACH_TTD]: When curr_ipl is 7, make sure that IF is cleared. 1881: (spl): When new ipl is 7, branch to spl7. 1882: * i386/i386/locore.S (TIME_TRAP_UENTRY, TIME_TRAP_SENTRY): Save flags, and 1883: restore them instead of blindly using sti. 1884: 1885: 2014-12-11 Samuel Thibault <[email protected]> 1886: 1887: Ship missing file 1888: * Makefrag.am (EXTRA_DIST): Add kern/task_notify.cli. 1889: 1890: 2014-12-09 Justus Winter <[email protected]> 1891: 1892: include: add X_IMPORTS to ipc definitions 1893: This makes it possible to inject imports. 1894: 1895: * include/mach/gnumach.defs: Make it possible to inject imports. 1896: * include/mach/mach.defs: Likewise. 1897: * include/mach/mach_host.defs: Likewise. 1898: 1899: 2014-12-09 Justus Winter <[email protected]> 1900: 1901: kern: provide notifications about new tasks 1902: These notifications are sent to the port registered via 1903: `register_new_task_notification' and provide a robust parental 1904: relation between tasks to a userspace server. 1905: 1906: * Makefrag.am: Add task_notify.defs. 1907: * include/mach/gnumach.defs: Add register_new_task_notification. 1908: * include/mach/task_notify.defs: New file. 1909: * kern/task.c (new_task_notification): New variable. 1910: (task_create): Send new task notifications. 1911: (register_new_task_notification): Add server function. 1912: * kern/task_notify.cli: New file. 1913: 1914: 2014-12-09 Justus Winter <[email protected]> 1915: 1916: Retire procedure `old_mach_port_get_receive_status' 1917: Retire the compatibility RPC `old_mach_port_get_receive_status' that 1918: works like `mach_port_get_receive_status' but returns an 1919: `old_mach_port_status' object that lacks the `mps_seqno' field. 1920: 1921: Do not remove the type yet, so we do not break anyones build. The RPC 1922: stubs currently distributed with the glibc require it. 1923: 1924: * include/mach/mach_port.defs (old_mach_port_get_receive_status): Drop RPC. 1925: * include/mach/mach_types.defs (old_mach_port_status_t): Drop type. 1926: * include/mach/port.h (old_mach_port_status_t): Add note to remove 1927: this for the 1.6 release. 1928: * ipc/mach_port.c (old_mach_port_get_receive_status): Drop function. 1929: 1930: 2014-12-07 Samuel Thibault <[email protected]> 1931: 1932: Fix pthread_create warning on translator termination 1933: This was due to task_terminate not actually properly suspending threads 1934: before disable the task port, which was thus preventing pthread_create 1935: from being able to create a stack. Thanks Gabriele Giacone for finding 1936: out a reproducer of this. 1937: 1938: * kern/task.h (task_hold_locked): New declaration. 1939: * kern/task.c (task_hold): Move the locked part of the code into... 1940: (task_hold_locked): ... new function. 1941: (task_terminate): Call task_hold_locked just before deactivating the 1942: task. Call ipc_task_disable after waiting for threads to actually 1943: suspend with task_dowait. 1944: 1945: 2014-12-01 Justus Winter <[email protected]> 1946: 1947: kern: disable all counters by default 1948: Make all five non-conditional counters conditional ones. Casual 1949: checking revealed that the hits-to-miss ratio is excellent. 1950: 1951: * kern/counters.c: Make all counters conditional. 1952: * kern/counters.h: Likewise. 1953: * kern/ipc_sched.c: Likewise. 1954: * kern/sched_prim.c: Likewise. 1955: 1956: 2014-11-28 Justus Winter <[email protected]> 1957: 1958: include: make `mach_port_t' payload-aware 1959: Honor a new macro `MACH_PAYLOAD_TO_PORT' to inject a translation 1960: function mapping payloads to port names in the definition of 1961: `mach_port_t'. 1962: 1963: * include/mach/std_types.defs (mach_port_t): Honor 1964: `MACH_PAYLOAD_TO_PORT'. 1965: * include/device/device.defs (reply_port_t): Likewise. 1966: * include/device/device_reply.defs (reply_port_t): Likewise. 1967: * include/device/device_request.defs (reply_port_t): Likewise. 1968: 1969: 2014-11-23 Samuel Thibault <[email protected]> 1970: 1971: Fix programming PIT counter 1972: * linux/dev/arch/i386/kernel/irq.c (init_IRQ): Properly mask 8 bits of 1973: PIT counter. 1974: 1975: 2014-11-21 David Michael <[email protected]> 1976: 1977: Correct GCC's -Wformat-security issues 1978: * linux/pcmcia-cs/clients/axnet_cs.c (axdev_init): Add a format string 1979: literal where printk only has a single variable argument. 1980: * linux/src/drivers/net/3c507.c (el16_probe1): Likewise. 1981: * linux/src/drivers/net/3c509.c (el3_probe): Likewise. 1982: * linux/src/drivers/net/3c515.c (init_module): Likewise. 1983: (tc515_probe): Likewise. 1984: * linux/src/drivers/net/ac3200.c (ac_probe1): Likewise. 1985: * linux/src/drivers/net/apricot.c (apricot_probe): Likewise. 1986: * linux/src/drivers/net/at1700.c (at1700_probe1): Likewise. 1987: * linux/src/drivers/net/de4x5.c (de4x5_hw_init): Likewise. 1988: * linux/src/drivers/net/de600.c (de600_probe): Likewise. 1989: * linux/src/drivers/net/de620.c (de620_probe): Likewise. 1990: * linux/src/drivers/net/depca.c (depca_hw_init): Likewise. 1991: * linux/src/drivers/net/e2100.c (e21_probe1): Likewise. 1992: * linux/src/drivers/net/eepro.c (eepro_probe1): Likewise. 1993: * linux/src/drivers/net/eepro100.c (speedo_found1): Likewise. 1994: * linux/src/drivers/net/eexpress.c (eexp_hw_probe): Likewise. 1995: * linux/src/drivers/net/ewrk3.c (ewrk3_hw_init): Likewise. 1996: * linux/src/drivers/net/fmv18x.c (fmv18x_probe1): Likewise. 1997: * linux/src/drivers/net/hp-plus.c (hpp_probe1): Likewise. 1998: * linux/src/drivers/net/hp.c (hp_probe1): Likewise. 1999: * linux/src/drivers/net/lance.c (lance_probe1): Likewise. 2000: * linux/src/drivers/net/ne.c (ne_probe1): Likewise. 2001: * linux/src/drivers/net/pcnet32.c (pcnet32_probe1): Likewise. 2002: * linux/src/drivers/net/seeq8005.c (seeq8005_probe1): Likewise. 2003: * linux/src/drivers/net/smc-ultra.c (ultra_probe1): Likewise. 2004: * linux/src/drivers/net/smc-ultra32.c (ultra32_probe1): Likewise. 2005: * linux/src/drivers/net/wd.c (wd_probe1): Likewise. 2006: 2007: 2014-11-16 Samuel Thibault <[email protected]> 2008: 2009: Only set debug registers when they are used 2010: * i386/i386/db_interface.c (zero_dr): New variable 2011: (db_load_context): Do not set debug registers to zero when they are already 2012: zero. 2013: (db_dr): When kernel debug registers get zero, record that the debug 2014: registers have been zeroed. 2015: 2016: 2014-11-13 Samuel Thibault <[email protected]> 2017: 2018: Add nodma options 2019: Some very slow qemu instances would eventually trigger DMA timeouts, 2020: let's give a way to disable DMA there, it does not actually slow down 2021: operations anyway. 2022: 2023: * linux/src/drivers/block/ide.h (ide_drive_s): Add nodma field. 2024: * linux/src/drivers/block/ide.c (do_identify): Do not call 2025: dmaproc(ide_dma_check) when nodma is 1. 2026: (ide_setup): Add nodma option. 2027: 2028: 2014-11-12 Samuel Thibault <[email protected]> 2029: 2030: Pass ide and hd kernel options to ide driver 2031: * linux/dev/drivers/block/genhd.c: Include <linux/hdreg.h> and 2032: <alloca.h> 2033: (device_setup): Look for ide and hd options, and call ide_setup with 2034: them. 2035: * linux/src/drivers/block/ide.c (ide_setup) [MACH]: Parse hd[0-7] instead 2036: of hd[a-h]. 2037: 2038: 2014-11-10 Samuel Thibault <[email protected]> 2039: 2040: Fix documentation for vm_map 2041: doc/mach.texi (vm_map): Document that vm_map uses the address as a 2042: starting hint even when anywhere is TRUE. 2043: 2044: Revert "Make vm_map really ignore `address' when `anywhere' is true" 2045: This reverts commit 5ae510e35c54009626999a88f0f1cb34d6dfc94f. 2046: 2047: 2014-11-03 Justus Winter <[email protected]> 2048: 2049: include: add a payload-aware intran mutator for device_t 2050: * include/device/device_types.defs (device_t): Add a payload-aware 2051: intran mutator. 2052: 2053: include: add a payload-aware intran mutator for notify_port_t 2054: * include/mach/notify.defs (notify_port_t): Add a payload-aware intran 2055: mutator. 2056: 2057: include: add a payload-aware intran mutator for memory_object_t 2058: * include/mach/mach_types.defs (memory_object_t): Add a payload-aware 2059: intran mutator. 2060: * include/mach/memory_object.defs: Likewise in the inlined type 2061: declarations. 2062: 2063: 2014-11-03 Samuel Thibault <[email protected]> 2064: 2065: Fix link refusal 2066: * Makefile.am (clib-routines.o): Refuse to link only when multiarch is 2067: detected. 2068: 2069: 2014-11-03 Samuel Thibault <[email protected]> 2070: 2071: Refuse to link against a libc with multiarch support 2072: We don't have support for this yet. 2073: 2074: * Makefile.am (clib-routines.o): Check for the presence of 2075: __init_cpu_features, and in such case refuse to continue. 2076: 2077: 2014-11-02 Samuel Thibault <[email protected]> 2078: 2079: Fix build when gcc avoids inlining 2080: * ipc/ipc_port.h (ipc_port_flag_protected_payload, 2081: ipc_port_flag_protected_payload_set, 2082: ipc_port_flag_protected_payload_clear): Use static inline qualifier instead 2083: of extern inline. 2084: 2085: 2014-10-22 Samuel Thibault <[email protected]> 2086: 2087: Revert "Make sure mig is available" 2088: This reverts commit b28e05e203e0739fa5db59c5af378b29eea7a232. 2089: 2090: 2014-10-10 Justus Winter <[email protected]> 2091: 2092: doc: restore section `Inherited Ports' 2093: Previously, the section `Inherited Ports' was commented out. This was 2094: done, as the functionality was unused by the Hurd. The functions 2095: `mach_ports_register' and `mach_ports_lookup' were never removed, and 2096: are exposed to user space. 2097: 2098: This patch brings the documentation back and adds a remark at the top, 2099: that the section documents the original intentions for this interface. 2100: 2101: I chose bringing back the documentation over removing the 2102: functionality because I like to make use of it as a method for service 2103: discovery that is deliberately orthogonal to the way the service 2104: lookup is usually done in the Hurd. This can be used to implement 2105: robust low-level debugging facilities. 2106: 2107: * doc/mach.texi: Restore section `Inherited Ports'. 2108: 2109: 2014-10-01 Justus Winter <[email protected]> 2110: 2111: Add protected payloads to NEWS 2112: 2113: ipc: provide the protected payload in ipc_kmsg_copyout_header 2114: * ipc/ipc_kmsg.c (ipc_kmsg_copyout_header): If a protected payload is 2115: set for the destination port, provide it in msgh_protected_payload. 2116: * ipc/mach_msg.c (mach_msg_trap): Likewise in the fast paths. 2117: * doc/mach.texi (Message Receive): Document message semantics with 2118: protected payloads. 2119: 2120: include: define MACH_MSG_TYPE_PROTECTED_PAYLOAD 2121: * include/mach/message.h: Define MACH_MSG_TYPE_PROTECTED_PAYLOAD. 2122: (MACH_MSG_TYPE_LAST): Adjust accordingly. 2123: * doc/mach.texi (Message Format): Document 2124: MACH_MSG_TYPE_PROTECTED_PAYLOAD. 2125: 2126: include: add msgh_protected_payload to mach_msg_header_t 2127: * include/mach/message.h (mach_msg_header_t): Add 2128: msgh_protected_payload as a union with msgh_local_port. 2129: * doc/mach.texi (Message Format): Document msgh_protected_payload. 2130: 2131: ipc: implement mach_port_{set,clear}_protected_payload 2132: * include/mach/mach_port.defs: Add mach_port_{set,clear}_protected_payload. 2133: * ipc/mach_port.c: Implement mach_port_{set,clear}_protected_payload. 2134: * doc/mach.texi (Receive Rights): Document 2135: mach_port_{set,clear}_protected_payload. 2136: 2137: 2014-10-01 Justus Winter <[email protected]> 2138: 2139: ipc: add protected payload 2140: Add a field ip_protected_payload and a flag ip_has_protected_payload 2141: to struct ipc_port. 2142: 2143: Clear the protected payload when a receive port is moved from one ipc 2144: space to another. This is done to retain the old behavior of 2145: mach_msg, so that a port name is sent in the msgh_local_port field. 2146: If the new owner of that receive right wishes to use the protected 2147: payload mechanism, it has to be explicitly set again. 2148: 2149: * ipc/ipc_port.h (struct ipc_port): Add field ip_protected_payload. 2150: (ipc_port_set_protected_payload): Add function declaration. 2151: (ipc_port_clear_protected_payload): Likewise. 2152: (ipc_port_flag_protected_payload): Add accessor for the protected 2153: payload flag. 2154: (ipc_port_flag_protected_payload_set): Likewise. 2155: (ipc_port_flag_protected_payload_clear): Likewise. 2156: * ipc/ipc_port.c (ipc_port_init): Initialize protected payload. 2157: (ipc_port_print): Print protected_payload. 2158: (ipc_port_set_protected_payload): New function. 2159: (ipc_port_clear_protected_payload): Likewise. 2160: (ipc_port_destroy): Clear the payload when moving a receive port. 2161: * ipc/ipc_right.c (ipc_right_copyin): Likewise. 2162: (ipc_right_copyout): Likewise. 2163: * ipc/ipc_object.c (ipc_object_copyin_from_kernel): Likewise. 2164: * ipc/ipc_object.h (IO_BITS_PROTECTED_PAYLOAD): New bitmask. 2165: (IO_BITS_OTYPE): Adjust accordingly. 2166: 2167: 2014-09-30 Justus Winter <[email protected]> 2168: 2169: ipc: use fast modulo operation in local hash table 2170: * ipc/ipc_table.h: Document that table sizes must be powers of two. 2171: * ipc/ipc_hash.c (IH_LOCAL_HASH): Use fast modulo operation. 2172: 2173: kern: silence compiler warning about uninitialized variable 2174: * kern/slab.c (kmem_cache_compute_sizes): Initialize optimal_size and 2175: assert that a size is selected. 2176: 2177: kern: fix type of recompute_priorities 2178: * kern/sched_prim.c (recompute_priorities): Fix type. 2179: * kern/sched_prim.h (recompute_priorities): Likewise. 2180: 2181: 2014-09-26 Justus Winter <[email protected]> 2182: 2183: kern: create send rights as they are inserted at bootstrap time 2184: Previously, it was impossible to hand e.g. the master device port to 2185: more than one bootstrap task. Fix this by creating the send right as 2186: it is inserted into the target task. 2187: 2188: * kern/bootstrap.c (bootstrap_create): Do not create the send rights 2189: here... 2190: (boot_script_insert_right): ... but here. 2191: 2192: 2014-09-25 Justus Winter <[email protected]> 2193: 2194: Update NEWS file 2195: 2196: 2014-09-17 Justus Winter <[email protected]> 2197: 2198: ddb: add support for ELF symbol tables 2199: * ddb/db_elf.c: New file. 2200: * ddb/db_elf.h: Likewise. 2201: * Makefrag.am (libkernel_a_SOURCES): Add db_elf.{c,h}. 2202: * ddb/db_sym.c (dummy_db_sym_init): New stub db_sym_init function. 2203: (db_sym_switch): Add ELF functions. 2204: * ddb/db_sym.h (SYMTAB_ELF): New macro. 2205: (elf_db_sym_init): New declaration. 2206: * i386/i386at/model_dep.c (c_boot_entry): Get ELF section header 2207: information from the multiboot structure, and call elf_db_sym_init. 2208: 2209: ddb: add `show all tasks' command 2210: * ddb/db_command.c (db_show_all_cmds): Add `tasks'. 2211: * ddb/db_print.c (db_show_all_tasks): New function. 2212: * ddb/db_print.h (db_show_all_tasks): New prototype. 2213: 2214: 2014-09-17 Samuel Thibault <[email protected]> 2215: 2216: Report DR6 to userland 2217: * i386/i386/trap.c (user_trap): On T_DEBUG, record the content of dr6 in 2218: PCB, and clear it. 2219: 2220: 2014-09-06 Samuel Thibault <[email protected]> 2221: 2222: Make vm_map really ignore `address' when `anywhere' is true 2223: As vm_allocate does. 2224: 2225: * vm/vm_user.c (vm_map): When `anywhere' is true, set `address' to the 2226: minimum address of the `target_map'. 2227: 2228: 2014-09-01 Pietro Braione <[email protected]> 2229: 2230: Fix printf warning 2231: linux/src/drivers/net/sundance.c (start_tx): Fix format string according 2232: to parameter. 2233: 2234: 2014-08-30 Samuel Thibault <[email protected]> 2235: 2236: Tune pageout parameters 2237: This targets having always at least 8% free memory instead of just 1%. 2238: This has shown improving buildd stability a lot. Also increase the 2239: reserved amount to nowadays standards. 2240: 2241: * vm/vm_pageout.c (VM_PAGE_FREE_TARGET): Increase to 10%. 2242: (VM_PAGE_FREE_MIN): Increase to 8%. 2243: (VM_PAGE_FREE_RESERVED): Increase to 500 pages. 2244: (VM_PAGEOUT_RESERVED_INTERNAL): Increase to 150 pages. 2245: (VM_PAGEOUT_RESERVED_REALLY): Increase to 100 pages. 2246: 2247: 2014-08-30 Samuel Thibault <[email protected]> 2248: 2249: Increate the pageout thread priority 2250: * vm/vm_pageout.c (vm_pageout): Set the priority to 0. 2251: 2252: 2014-08-30 Samuel Thibault <[email protected]> 2253: 2254: Bump NR_GRANT_PAGES 2255: This has shown needed on buildds with several disks and network 2256: interfaces. 2257: 2258: * xen/grant.c (NR_GRANT_PAGES): Increase from 4 to 8. 2259: 2260: 2014-08-22 Samuel Thibault <[email protected]> 2261: 2262: Fix computation 2263: * i386/i386at/com.c (comintr): Fix computation of '@'. 2264: 2265: 2014-08-22 Neal H. Walfield <[email protected]> 2266: 2267: Even less magic-looking control value 2268: * i386/i386at/com.c (comintr): Use 'A'-1 instead of '@'. 2269: 2270: 2014-08-22 Justus Winter <[email protected]> 2271: 2272: Support invoking the debugger over the serial console 2273: * i386/i386at/com.c (comintr): Invoke the debugger if ctrl-alt-d is 2274: pressed. 2275: * i386/i386at/com.h (kdb_kintr): Add declaration. 2276: 2277: 2014-07-25 Samuel Thibault <[email protected]> 2278: 2279: Drop debugging prints 2280: * i386/i386at/acpi.c (grub_machine_acpi_get_rsdpv2): Drop debugging 2281: prints. 2282: 2283: 2014-07-06 Samuel Thibault <[email protected]> 2284: 2285: Do not unmap page 0 when not needed 2286: Since we need it to access some BIOS information, e.g. at ACPI shutdown. When 2287: the kernel VM is not starting at 0, there is already nothing mapped there in 2288: user tasks, anyway. 2289: 2290: * i386/i386at/model_dep.c (machine_init) [VM_MIN_KERNEL_ADDRESS != 0]: 2291: Do not call pmap_unmap_page_zero. 2292: * i386/intel/pmap.c (pmap_unmap_page_zero): Warn that unmapping page 2293: zero may break some BIOS functions. 2294: 2295: 2014-07-06 Samuel Thibault <[email protected]> 2296: 2297: Document that io_map_cached leaks memory 2298: 2299: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 2300: 2301: 2014-07-06 Justus Winter <[email protected]> 2302: 2303: i386: use ACPI to power off the machine 2304: This is a mostly verbatim copy of acpihalt.c from GRUB2 with a little 2305: bit of glue code. 2306: 2307: * i386/Makefrag.am (libkernel_a_SOURCES): Add the new files. 2308: * i386/grub/acpi.h: Verbatim copy from GRUB2. 2309: * i386/grub/compiler.h: Likewise. 2310: * i386/grub/cpu/io.h: Likewise. 2311: * i386/grub/cpu/time.h: Likewise. 2312: * i386/grub/cpu/types.h: Likewise. 2313: * i386/grub/err.h: Likewise. 2314: * i386/grub/misc.h: Likewise. 2315: * i386/grub/mm.h: Likewise. 2316: * i386/grub/symbol.h: Likewise. 2317: * i386/grub/time.h: Likewise. 2318: * i386/grub/types.h: Likewise. 2319: * i386/i386at/acpi.c: Likewise. 2320: * i386/i386at/acpihalt.c: Likewise. 2321: (grub_acpi_halt): Map physical addresses. 2322: * i386/i386at/acpihalt.h: New file. 2323: * i386/grub/glue.h: Some glue macros. 2324: * i386/grub/i18n.h: Stub out i18n. 2325: * i386/i386at/grub_glue.c: Some glue code. 2326: * i386/i386at/model_dep.c (halt_all_cpus): Use grub_acpi_halt. 2327: 2328: 2014-07-06 Justus Winter <[email protected]> 2329: 2330: i386: add io_map_cached 2331: io_map_cached is like io_map, but reuses the old mapping if it is 2332: applicable. 2333: 2334: * i386/i386/io_map.c: Add io_map_cached. 2335: 2336: 2014-06-11 Justus Winter <[email protected]> 2337: 2338: doc: explain the floating point flag in kdb output 2339: * doc/mach.texi (Kernel Debugger Commands): Explain the floating point 2340: flag. 2341: 2342: 2014-06-11 Justus Winter <[email protected]> 2343: 2344: i386: remap some keys 2345: As a convenience for the nice people using our debugger, remap some 2346: keys to the readline-like shortcuts supported by dde. 2347: 2348: * i386/i386at/kd.c (kdcnmaygetc): Remap some keys. 2349: 2350: 2014-06-11 Justus Winter <[email protected]> 2351: 2352: i386: reformat the key map 2353: * i386/i386at/kd.c (key_map): Remove superfluous newlines so that 2354: every entry fits into one line. This way line numbers can be used as 2355: an index into the map. 2356: 2357: ddb: use db_thread_stat to format the flags 2358: * ddb/db_print.c (db_print_thread): Use db_thread_stat to format the 2359: flags. 2360: 2361: ddb: print task names if available 2362: * ddb/db_print.c (db_print_task): Print task name if available. 2363: * i386/i386/db_interface.c (db_task_name): Likewise. 2364: * i386/i386/db_machdep.h (DB_GNUMACH_TASK_NAME): Remove unused definition. 2365: 2366: kern: set the name of the kernel task to 'gnumach' 2367: * kern/taks.c (task_init): Set the name of the kernel task to 'gnumach'. 2368: 2369: 2014-06-11 Justus Winter <[email protected]> 2370: 2371: device: fix net_rcv_msg-messages 2372: Previously, all net_rcv_msg-messages sent by net_deliver were 2373: malformed. It never was a problem in practice, since the messages are 2374: not complex and thus the kernel does not try to parse the message. 2375: 2376: struct net_rcv_msg contains an additional field of type boolean_t. 2377: This field has no associated type descriptor, so it must not be 2378: included in the message. 2379: 2380: * device/net_io.c (net_deliver): Account for the extra field in the 2381: msgh_size calculation. 2382: 2383: 2014-05-27 Samuel Thibault <[email protected]> 2384: 2385: Add missing memory clobber 2386: * i386/i386/xen.h (mb, rmb, wmb): Add memory clobber. 2387: 2388: 2014-05-25 Justus Winter <[email protected]> 2389: 2390: Rewrite old-style #endif FOO directives 2391: * i386/include/mach/i386/cthreads.h: Rewrite old-style #endif FOO 2392: directives. 2393: * include/device/tape_status.h: Likewise. 2394: * include/mach/alert.h: Likewise. 2395: * include/mach/boot.h: Likewise. 2396: * include/mach/default_pager_types.defs: Likewise. 2397: * include/mach/default_pager_types.h: Likewise. 2398: * include/mach/multiboot.h: Likewise. 2399: * include/mach/notify.defs: Likewise. 2400: * include/mach_debug/pc_info.h: Likewise. 2401: * kern/act.h: Likewise. 2402: * kern/refcount.h: Likewise. 2403: * kern/shuttle.h: Likewise. 2404: 2405: 2014-05-25 Justus Winter <[email protected]> 2406: 2407: include: fix the embedded type definitions in memory_object.defs 2408: In order to use MIG translation functions to lookup memory objects, 2409: preprocessor macros have been introduced into the definition of 2410: memory_object_t in 50cc5152. 2411: 2412: The procedure definitions contain inlined type definitions in order to 2413: change the type of the argument in question (i.e. to make it 2414: polymorphic). The inline definitions however lack the destructor 2415: function, leading to reference leaks when a reference is acquired in 2416: the intran function. 2417: 2418: * include/mach/memory_object.defs: Add the destructor functions to the 2419: inlined type definitions. 2420: 2421: 2014-05-03 Justus Winter <[email protected]> 2422: 2423: ddb: add "halt" command 2424: * ddb/db_command.c (db_command_table): Add "halt" command. 2425: * i386/i386/db_interface.h (db_halt_cpu): New declaration. 2426: * i386/i386at/model_dep.c (db_halt_cpu): New function. 2427: 2428: 2014-04-30 Justus Winter <[email protected]> 2429: 2430: vm: make struct vm_map fit into a cache line 2431: Currently, the size of struct vm_map is 68 bytes. By using a bit 2432: field for the boolean flags, it can be made fit into a cache line. 2433: 2434: * vm/vm_map.h (struct vm_map): Use a bit field for the boolean flags 2435: wait_for_space and wiring_required. 2436: 2437: 2014-04-30 Justus Winter <[email protected]> 2438: 2439: i386: fix MACHINE_SERVER_HEADER 2440: Commit b6dab094 introduced a way to include the MIG-generated server 2441: files for the machine specific interface in ipc_kobject.c. 2442: 2443: This broke out-of-tree builds. Here, 'machine' is a symlink to 2444: '../i386/i386', it points into the source tree. The MIG-generated 2445: files however are put in the build tree in i386/i386. 2446: 2447: * i386/i386/machine_routines.h (MACHINE_SERVER_HEADER): Fix path. 2448: 2449: 2014-04-30 Justus Winter <[email protected]> 2450: 2451: kern: include the MIG-generated server headers for MACHINE_SERVER 2452: GNU MIG recently gained support for emitting x_server_routine 2453: declarations in the generated server header file. Using this 2454: declaration, the x_server_routine functions can be inlined into the 2455: ipc_kobject_server function. 2456: 2457: * kern/ipc_kobject.c: Include the MIG-generated server headers for the 2458: machine-dependent interfaces. 2459: (ipc_kobject_server): Drop the simple declaration of 2460: MACHINE_SERVER_ROUTINE. 2461: * i386/i386/machine_routines.h (MACHINE_SERVER_HEADER): New 2462: definition. 2463: 2464: 2014-04-30 Justus Winter <[email protected]> 2465: 2466: include: do not guard the host_slab_info RPC with MACH_VM_DEBUG 2467: Previously, the definition of the host_slab_info RPC was guarded with 2468: MACH_VM_DEBUG, even though it is not at all concerned with the VM 2469: subsystem. Furthermore, there was no "skip" directive for 2470: host_slab_info. 2471: 2472: The function host_slab_info is guarded with MACH_DEBUG. The server 2473: for the RPCs in mach_debug.defs is only used if MACH_DEBUG is 2474: defined. There is no need to guard host_slab_info. 2475: 2476: * include/mach_debug/mach_debug.defs (host_slab_info): Unconditionally 2477: include the RPC. 2478: 2479: 2014-04-30 Justus Winter <[email protected]> 2480: 2481: Install the mach_debug header files 2482: The task_set_name RPC introduced in 877a319c changed 2483: include/mach/gnumach.defs to include mach_debug/mach_debug_types.defs. 2484: Previously though, the debug headers were not installed. 2485: 2486: * Makefrag.am: Install the mach_debug header files. 2487: 2488: 2014-04-30 Justus Winter <[email protected]> 2489: 2490: doc: fix the number of priorities 2491: The number of priorities has been changed from 32 to 50 in 2492: 6a234201081156e6d5742e7eeabb68418b518fad. 2493: 2494: * doc/mach.texi: Update accordingly. 2495: 2496: 2014-04-25 Samuel Thibault <[email protected]> 2497: 2498: Make sure mig is available 2499: * configure.ac (MIG): Error out if MiG was not found. 2500: 2501: 2014-04-13 Justus Winter <[email protected]> 2502: 2503: kern: set the name of tasks created during the bootstrap 2504: * kern/bootstrap.c (boot_script_task_create): Set the name of newly 2505: created tasks. 2506: 2507: 2014-04-10 Justus Winter <[email protected]> 2508: 2509: include: fix the definition of device_open 2510: Previously, every userspace server implementing the device protocol 2511: filtered the device definitions to replace the device_t type with 2512: mach_port_send_t to make the device argument of device_open 2513: polymorphic. Rather than doing that, which makes it impossible to use 2514: translation functions, fix the definition of device_open. 2515: 2516: * include/device/device.defs (device_open): Redefine the device 2517: argument to make it polymorphic unless a outran function is specified. 2518: 2519: 2014-04-08 Justus Winter <[email protected]> 2520: 2521: include: make the device_t types translation functions mutable 2522: Make the intran, outtran and destructor functions mutable using 2523: preprocessor macros. Make it possible to inject imports using the 2524: DEVICE_IMPORTS macro. This way, userspace servers can provide their 2525: own translation functions. 2526: 2527: * include/device/device_types.defs: Honor DEVICE_IMPORTS. 2528: (device_t): Make the translation mutable using preprocessor macros. 2529: 2530: 2014-04-05 Justus Winter <[email protected]> 2531: 2532: include: make the notify_port_t types translation functions mutable 2533: Make the intran, outtran and destructor functions mutable using 2534: preprocessor macros. Make it possible to inject imports using the 2535: NOTIFY_IMPORTS macro. This way, userspace servers can provide their 2536: own translation functions. 2537: 2538: * include/mach/notify.defs: Honor NOTIFY_IMPORTS. 2539: (notify_port_t): Make the translation mutable using preprocessor macros. 2540: 2541: 2014-04-04 Marin Ramesa <[email protected]> 2542: 2543: Convert from K&R to ANSI 2544: Convert from K&R style function definitions to ANSI style 2545: function definitions. 2546: 2547: * ddb/db_access.c: Convert function prototypes from K&R to ANSI. 2548: * ddb/db_aout.c: Likewise. 2549: * ddb/db_break.c: Likewise. 2550: * ddb/db_command.c: Likewise. 2551: * ddb/db_cond.c: Likewise. 2552: * ddb/db_examine.c: Likewise. 2553: * ddb/db_expr.c: Likewise. 2554: * ddb/db_ext_symtab.c: Likewise. 2555: * ddb/db_input.c: Likewise. 2556: * ddb/db_lex.c: Likewise. 2557: * ddb/db_macro.c: Likewise. 2558: * ddb/db_mp.c: Likewise. 2559: * ddb/db_output.c: Likewise. 2560: * ddb/db_print.c: Likewise. 2561: * ddb/db_run.c: Likewise. 2562: * ddb/db_sym.c: Likewise. 2563: * ddb/db_task_thread.c: Likewise. 2564: * ddb/db_trap.c: Likewise. 2565: * ddb/db_variables.c: Likewise. 2566: * ddb/db_watch.c: Likewise. 2567: * device/blkio.c: Likewise. 2568: * device/chario.c: Likewise. 2569: * device/dev_lookup.c: Likewise. 2570: * device/dev_name.c: Likewise. 2571: * device/dev_pager.c: Likewise. 2572: * device/ds_routines.c: Likewise. 2573: * device/net_io.c: Likewise. 2574: * device/subrs.c: Likewise. 2575: * i386/i386/db_interface.c: Likewise. 2576: * i386/i386/fpu.c: Likewise. 2577: * i386/i386/io_map.c: Likewise. 2578: * i386/i386/loose_ends.c: Likewise. 2579: * i386/i386/mp_desc.c: Likewise. 2580: * i386/i386/pcb.c: Likewise. 2581: * i386/i386/phys.c: Likewise. 2582: * i386/i386/trap.c: Likewise. 2583: * i386/i386/user_ldt.c: Likewise. 2584: * i386/i386at/com.c: Likewise. 2585: * i386/i386at/kd.c: Likewise. 2586: * i386/i386at/kd_event.c: Likewise. 2587: * i386/i386at/kd_mouse.c: Likewise. 2588: * i386/i386at/kd_queue.c: Likewise. 2589: * i386/i386at/lpr.c: Likewise. 2590: * i386/i386at/model_dep.c: Likewise. 2591: * i386/i386at/rtc.c: Likewise. 2592: * i386/intel/pmap.c: Likewise. 2593: * i386/intel/read_fault.c: Likewise. 2594: * ipc/ipc_entry.c: Likewise. 2595: * ipc/ipc_hash.c: Likewise. 2596: * ipc/ipc_kmsg.c: Likewise. 2597: * ipc/ipc_marequest.c: Likewise. 2598: * ipc/ipc_mqueue.c: Likewise. 2599: * ipc/ipc_notify.c: Likewise. 2600: * ipc/ipc_port.c: Likewise. 2601: * ipc/ipc_right.c: Likewise. 2602: * ipc/mach_debug.c: Likewise. 2603: * ipc/mach_msg.c: Likewise. 2604: * ipc/mach_port.c: Likewise. 2605: * ipc/mach_rpc.c: Likewise. 2606: * kern/act.c: Likewise. 2607: * kern/exception.c: Likewise. 2608: * kern/ipc_mig.c: Likewise. 2609: * kern/ipc_tt.c: Likewise. 2610: * kern/lock_mon.c: Likewise. 2611: * kern/mach_clock.c: Likewise. 2612: * kern/machine.c: Likewise. 2613: * kern/printf.c: Likewise. 2614: * kern/priority.c: Likewise. 2615: * kern/startup.c: Likewise. 2616: * kern/syscall_emulation.c: Likewise. 2617: * kern/syscall_subr.c: Likewise. 2618: * kern/thread_swap.c: Likewise. 2619: * kern/time_stamp.c: Likewise. 2620: * kern/timer.c: Likewise. 2621: * kern/xpr.c: Likewise. 2622: * vm/memory_object.c: Likewise. 2623: * vm/vm_debug.c: Likewise. 2624: * vm/vm_external.c: Likewise. 2625: * vm/vm_fault.c: Likewise. 2626: * vm/vm_kern.c: Likewise. 2627: * vm/vm_map.c: Likewise. 2628: * vm/vm_pageout.c: Likewise. 2629: * vm/vm_user.c: Likewise. 2630: 2631: 2014-04-04 Samuel Thibault <[email protected]> 2632: 2633: Fix prototype 2634: * linux/dev/glue/block.c (device_set_status): Fix prototype. 2635: 2636: 2014-04-04 Marin Ramesa <[email protected]> 2637: 2638: Use explicit prototypes for struct dev_ops fields 2639: * device/conf.h: Include <sys/types.h>, <mach/port.h>, <mach/vm_prot.h>. 2640: Predefine struct io_req, io_req_t and io_return_t. 2641: (dev_ops): Add explicit prototypes for d_open, d_close, d_read, d_write, 2642: d_getstat, d_setstat, d_mmap, d_port_death. 2643: (nulldev_open, nulldev_close, nulldev_read, nulldev_write, 2644: nulldev_getstat, nulldev_setstat, nulldev_portdeath): Add prototypes. 2645: (nomap): Fix prototype. 2646: * device/dev_name.c (nulldev_open, nulldev_close, nulldev_read, 2647: nulldev_write, nulldev_getstat, nulldev_setstat, nulldev_portdeath): New 2648: functions. 2649: (nomap): Fix prototype. 2650: * device/ds_routines.c (dev_close): Pass 0 as flag parameter. 2651: * device/kmsg.c (kmsgclose): Drop return value. 2652: * device/kmsg.h (kmsgclose): Fix prototype. 2653: * i386/i386at/com.c (comopen): Fix prototype. 2654: (comclose): Fix prototype, drop return value. 2655: (comread, comwrite): Fix prototype. 2656: * i386/i386at/com.h (comopen, comclose, comread, comwrite): Fix 2657: prototype. 2658: * i386/i386at/conf.c (dev_ops): Use nulldev_open, nulldev_close, 2659: nulldev_read, nulldev_write, nulldev_getstat, nulldev_setstat, 2660: nulldev_portdeath where appropriate. 2661: * i386/i386at/kd.c (kdclose, kdread, kdwrite, kdmmap): Fix prototype. 2662: * i386/i386at/kd.h (kdclose, kdread, kdwrite, kdmmap): Likewise. 2663: * i386/i386at/kd_event.c (kbdopen): Likewise. 2664: * i386/i386at/kd_event.h (kbdopen): Likewise. 2665: * i386/i386at/kd_mouse.c (mouseopen): Likewise. 2666: * i386/i386at/kd_mouse.h (mouseopen): Likewise. 2667: * i386/i386at/lpr.c (lpropen, lprclose, lprread, lprwrite): Likewise. 2668: * i386/i386at/lpr.h (lpropen, lprclose, lprread, lprwrite): Likewise. 2669: * i386/i386at/mem.c (memmmap): Likewise. 2670: * i386/i386at/mem.h (memmmap): Likewise. 2671: * i386/i386at/model_dep.c (timemmap): Likewise. 2672: * i386/i386at/model_dep.h (timemmap): Likewise. 2673: * kern/mach_clock.c (timeopen, timeclose): Likewise. 2674: * kern/mach_clock.h: Include <sys/types.h>, predefine struct io_req and 2675: io_req_t. 2676: (timeopen, timeclose): Fix prototype. 2677: 2678: 2014-03-28 Samuel Thibault <[email protected]> 2679: 2680: Assume EGA/VGA card 2681: CGA and MONO cards are more than hard to find nowadays, and some buggy BIOSes 2682: claim running them nowadays... 2683: 2684: * i386/i386at/kd.c (kd_xga_init): Do not handle CGA and MONO cases any 2685: more, which thus default to EGA/VGA. 2686: 2687: 2014-03-28 Samuel Thibault <[email protected]> 2688: 2689: Really default to EGA/VGA on unknown CMOS values 2690: * i386/i386at/kd.c (kd_xga_init): Use CM_EGA_VGA behavior as default 2691: case for unknown values of CMOS data. 2692: 2693: 2014-03-26 Justus Winter <[email protected]> 2694: 2695: kern: fix formatting of multiboot modules 2696: Previously, bootstrap_create would print the multiboot modules with 2697: padding applied to the end of the line. As multiboot modules as used 2698: by the Hurd span more than one line. This makes the list of modules 2699: hard to read and it looks unclean, more like an accident. 2700: Furthermore, it is not clear what the intend of this was, as the 2701: padding is applied at the end of the line, with no further information 2702: printed thereafter. 2703: 2704: * kern/bootstrap.c (bootstrap_create): Remove variable maxlen and len, 2705: update printfs. 2706: 2707: 2014-03-25 Justus Winter <[email protected]> 2708: 2709: include: make the memory_object_t types translation functions mutable 2710: Make the intran, outtran and destructor functions mutable using 2711: preprocessor macros. Make it possible to inject imports using the 2712: MEMORY_OBJECT_IMPORTS macro. This way, userspace servers can provide 2713: their own translation functions. 2714: 2715: * include/mach/mach_types.defs (memory_object_t): Make the translation 2716: mutable using preprocessor macros. 2717: * include/mach/memory_object.defs: Likewise for the inlined type declarations. 2718: Honor MEMORY_OBJECT_IMPORTS. 2719: * include/mach/memory_object_default.defs: Likewise. 2720: 2721: 2014-03-22 Samuel Thibault <[email protected]> 2722: 2723: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 2724: 2725: 2014-03-22 Samuel Thibault <[email protected]> 2726: 2727: Fix overflow 2728: We were filling much more than the mapwindows array, thus overwriting in 2729: at least debugger variables. 2730: 2731: * i386/intel/pmap.c (pmap_bootstrap): Make sure to limit mapwindows 2732: initialization within PMAP_NMAPWINDOWS. 2733: 2734: 2014-03-20 Justus Winter <[email protected]> 2735: 2736: xen: fix error handling 2737: Previously, the error KERN_RESOURCE_SHORTAGE was not properly 2738: propagated. 2739: 2740: Found using the Clang Static Analyzer. 2741: 2742: * xen/block.c (device_open): Fix error handling, remove unused label. 2743: * xen/net.c (device_open): Likewise. 2744: 2745: 2014-03-20 Samuel Thibault <[email protected]> 2746: 2747: Only complain once per boot about Xen console smash 2748: * xen/console.c (hypputc): Make `complain' variable static. 2749: 2750: 2014-03-17 Samuel Thibault <[email protected]> 2751: 2752: Increase possible number of AHCI devices to 8 2753: by reducing possible number of partitions to 32. 2754: 2755: * linux/dev/drivers/block/ahci.c (MAX_PORTS): Set to 8. 2756: (PARTN_BITS): Set to 5. 2757: 2758: 2014-03-03 Samuel Thibault <[email protected]> 2759: 2760: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 2761: 2762: 2014-03-03 Samuel Thibault <[email protected]> 2763: 2764: Keep two virtual pages as mapping windows to access physical memory 2765: PCI devices expose their memory etc. way beyond last_phys_addr. Userland 2766: drivers opening /dev/mem need to open those too, even if phystokv() will 2767: not work for them. 2768: 2769: * i386/intel/pmap.h (pmap_mapwindow_t): New type. 2770: (pmap_get_mapwindow, pmap_put_mapwindow): New prototypes. 2771: (PMAP_NMAPWINDOWS): New macro. 2772: * i386/intel/pmap.c (mapwindows): New array. 2773: (pmap_get_mapwindow, pmap_put_mapwindow): New functions. 2774: (pmap_bootstrap, pmap_virtual_space): Reserve virtual pages for the mapping 2775: windows. 2776: * i386/i386/phys.c: Include <i386/model_dep.h> 2777: (INTEL_PTE_W, INTEL_PTE_R): New macros 2778: (pmap_zero_page, pmap_copy_page, copy_to_phys, copy_from_phys): Use 2779: `pmap_get_mapwindow' to temporarily map physical pages beyond last_phys_addr. 2780: 2781: 2014-02-26 Justus Winter <[email protected]> 2782: 2783: kern: fix mig_strncpy 2784: Previously, the function mig_strncpy would always zero-terminate the 2785: destination string. Make mig_strncpy behave like mig_strncpy and 2786: strncpy in the glibc. Also fix the implementation of mig_strncpy to 2787: return the length of the written string to align the implementation 2788: with the declaration in include/mach/mig_support.h. 2789: 2790: * kern/ipc_mig.c (mig_strncpy): Do not zero-terminate the destination 2791: string. Return length of destination string. 2792: 2793: 2014-02-23 Samuel Thibault <[email protected]> 2794: 2795: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 2796: 2797: AHCI driver cleanups 2798: * linux/dev/drivers/block/ahci.c (struct port): Add id and is_cd fields. 2799: (ahci_end_request): Only print error if quiet flag of the request is not 2800: set. 2801: (ahci_do_port_request): Upgrade sector parameter to 64 bit. Include 2802: those bits in the LBA48 request. 2803: (ahci_do_request): Upgrade sector count to 64bit. Only print errors if 2804: quiet flag of the request is not set. 2805: (ahci_probe_port): Move identify code... 2806: (ahci_identify): ... to new function. Handle WIN_PIDENTIFY case to 2807: recognize ATAPI devices. 2808: (ahci_probe_port): Also try WIN_PIDENTIFY command. 2809: (ahci_geninit): Avoid checking partition table on empty devices. 2810: 2811: 2014-02-19 Justus Winter <[email protected]> 2812: 2813: include: skip routines related to migrating threads 2814: * include/mach/mach_port.defs: Skip the routines mach_port_set_rpcinfo 2815: and mach_port_create_act if MIGRATING_THREADS is not defined. 2816: 2817: 2014-02-12 Samuel Thibault <[email protected]> 2818: 2819: Reduce kmem_map to make room for kentry_data_size 2820: * kern/slab.c (KMEM_MAP_SIZE): Decrease from 128MiB to 96MiB. 2821: 2822: 2014-02-10 Samuel Thibault <[email protected]> 2823: 2824: Make open return ENXIO on missing CD-ROM 2825: * linux/src/drivers/block/ide-cd.c (ide_cdrom_open): Return -ENXIO when 2826: CD sense failed. 2827: 2828: Add quiet flag to CD I/O 2829: * linux/src/drivers/block/ide-cd.c (cdrom_queue_packet_command): Add `quiet' 2830: parameter, copied into the request. 2831: (cdrom_decode_status): Do not print I/O error when `quiet' field of 2832: request is non-zero. 2833: (cdrom_end_request): Do not print sense results when `quiet' field of 2834: request is non-zero. 2835: (cdrom_check_status, cdrom_read_capacity, cdrom_read_tocentry): Pass 1 to 2836: `cdrom_queue_packet_command''s `quiet' parameter. 2837: (cdrom_lockdoor, cdrom_eject, cdrom_pause, cdrom_startstop, 2838: cdrom_read_subchannel, cdrom_mode_sense, cdrom_mode_select, 2839: cdrom_play_lba_range_1, cdrom_read_block, cdrom_load_unload, 2840: ide_cdrom_ioctl): Pass 0 to `cdrom_queue_packet_command''s `quiet' parameter. 2841: 2842: Add missing initialization 2843: * linux/src/drivers/block/ide.c (ide_init_drive_cmd): Initialize `quiet' 2844: field of request to 0; 2845: 2846: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 2847: 2848: 2014-02-10 Samuel Thibault <[email protected]> 2849: 2850: Add quiet flag to block I/O 2851: This avoids grub & such making Mach print flurries of floppy errors. 2852: 2853: * linux/dev/include/linux/blkdev.h (request): Add `quiet' field. 2854: * linux/dev/include/linux/blk.h (end_request): Print I/O error only if 2855: the `quiet' field of the request is 0. 2856: * linux/dev/include/linux/fs.h (ll_rw_block): Add `quiet' parameter. 2857: * linux/dev/glue/block.c (ll_rw_block): Add `quiet' parameter, copied into 2858: the request. 2859: (bread, rdwr_partial, rdwr_full): Pass 0 to `ll_rw_block''s `quiet' parameter. 2860: * linux/dev/drivers/block/floppy.c (floppy_revalidate): Pass 1 to 2861: `ll_rw_block''s `quiet' parameter. 2862: 2863: 2014-02-06 Richard Braun <[email protected]> 2864: 2865: vm: trigger garbage collection on kernel memory pressure 2866: In addition to physical pages, the slab allocator also consumes kernel 2867: virtual memory, so reclaim pages on failure to allocate from a kernel map. 2868: This method isn't foolproof but helps alleviate fragmentation. 2869: 2870: * vm/vm_kern.c (kmem_alloc): Call slab_collect and retry allocation 2871: once on failure. 2872: (kmem_realloc): Likewise. 2873: (kmem_alloc_wired): Likewise. 2874: (kmem_alloc_wired): Likewise. 2875: (kmem_alloc_aligned): Likewise. 2876: 2877: 2014-02-05 Samuel Thibault <[email protected]> 2878: 2879: Remove duplicate typedef 2880: * device/net_io.c (net_rcv_port_t, net_hash_entry_t, net_hash_header_t): 2881: Remove duplicate typedefs. 2882: 2883: 2014-02-05 Justus Winter <[email protected]> 2884: 2885: doc: document task_set_name 2886: * doc/mach.texi (Task Information): Document the new task_set_name 2887: procedure. 2888: 2889: 2014-02-05 Justus Winter <[email protected]> 2890: 2891: include: add task_set_name 2892: task_set_name sets the name of a task. This is a debugging aid. The 2893: name will be used in error messages printed by the kernel. 2894: 2895: * include/mach/gnumach.defs (task_set_name): New procedure. 2896: 2897: 2014-02-05 Justus Winter <[email protected]> 2898: 2899: kern: implement task_set_name 2900: task_set_name sets the name of a task. This is a debugging aid. The 2901: name will be used in error messages printed by the kernel. 2902: 2903: * kern/task.c (task_set_name): New function. 2904: * kern/task.h (task_set_name): New declaration. 2905: 2906: 2014-02-04 Samuel Thibault <[email protected]> 2907: 2908: Fix comstart when the queue is empty 2909: Found by Coverity 2910: 2911: * i386/i386at/com.c (comstart): Make `nch' an int. When `getc' returns 2912: -1, just return. 2913: 2914: 2014-02-04 Samuel Thibault <[email protected]> 2915: 2916: Fix potential NULL dereference 2917: Found by Coverity 2918: 2919: * i386/i386/user_ldt.c (i386_get_ldt): Fetch `pcb' field of `thread' 2920: only after looking for `thread' being NULL. 2921: 2922: 2014-02-04 Samuel Thibault <[email protected]> 2923: 2924: Fix potential NULL dereference 2925: * vm/vm_kern.c (projected_buffer_deallocate): Look for `map' being NULL 2926: or kernel_map before locking it. 2927: 2928: 2014-02-04 Samuel Thibault <[email protected]> 2929: 2930: Fix potential NULL dereference 2931: Found by Coverity 2932: 2933: * i386/i386/db_trace.c (db_find_kthread): Handle case when task is NULL. 2934: 2935: 2014-02-04 Samuel Thibault <[email protected]> 2936: 2937: Fix potential NULL dereference 2938: Found by Coverity. 2939: 2940: * i386/i386at/com.c (comopen): On com_reprobe() returning success, check 2941: for `isai' again. 2942: 2943: 2014-02-04 Justus Winter <[email protected]> 2944: 2945: xen: fix buffer size 2946: Previously, only strlen(device_name) bytes were allocated, missing one 2947: byte for the terminating zero. 2948: 2949: * xen/block.c (hyp_block_init): Fix buffer size. 2950: 2951: 2014-02-04 Justus Winter <[email protected]> 2952: 2953: ddb: safely copy symbol names into the symtab structure 2954: Use strncpy instead of strcpy to copy the name of a symbol into the 2955: symtab structure. Make sure that the string is properly terminated. 2956: 2957: Found using Coverity. 2958: 2959: * ddb/db_sym.c (db_add_symbol_table): Use strncpy instead of strcpy, 2960: ensure string termination. 2961: 2962: 2014-02-04 Justus Winter <[email protected]> 2963: 2964: kern: make kmem_error panic 2965: The slab allocator relies on the fact that kmem_cache_error does not 2966: return. Previously, kmem_error was using printf. Use panic instead. 2967: 2968: Found using the Clang Static Analyzer. 2969: 2970: * kern/slab.c (kmem_error): Use panic instead of printf. 2971: 2972: 2014-02-04 Justus Winter <[email protected]> 2973: 2974: kern: use kmem_warn instead of kmem_error in kmem_cache_error 2975: * kern/slab.c (kmem_cache_error): Use kmem_warn instead of kmem_error 2976: to print the cache name and its address. 2977: 2978: 2014-02-04 Samuel Thibault <[email protected]> 2979: 2980: Fix FPU state copy size 2981: * i386/i386/fpu.c (fpu_set_state, fpu_get_state): Fix size of 2982: `user_fp_regs' access. 2983: 2984: Make empty while loops more prominent 2985: * i386/i386at/kd.c (kdintr, kd_senddata, kd_sendcmd, kd_getgata, 2986: kd_cmdreg_read, kd_cmdreg_write, kd_mouse_drain): Move semi colon of 2987: empty while loops on a single line to make it more visible. 2988: 2989: 2014-02-04 Samuel Thibault <[email protected]> 2990: 2991: Fix FPU state access 2992: Found by coverity. 2993: 2994: * i386/i386/fpu.c (fpu_set_state, fpu_get_state): Fix out of bound 2995: `user_fp_regs' access. 2996: 2997: 2014-02-04 Samuel Thibault <[email protected]> 2998: 2999: Fix typo 3000: * i386/i386at/kd_mouse.c (mouseopen): Fix typo. 3001: 3002: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 3003: 3004: 2014-02-04 Samuel Thibault <[email protected]> 3005: 3006: Add missing break 3007: Found by Coverity 3008: 3009: * i386/i386at/kd_mouse.c (mouseopen): Add missing break. 3010: 3011: 2014-02-01 Justus Winter <[email protected]> 3012: 3013: include: add a fixed-size string type for debugging purposes 3014: * include/mach/debug.defs: New file. 3015: * include/mach/debug.h: Likewise. 3016: 3017: ipc: use the name of the task for error messages 3018: * ipc/mach_port.c (mach_port_destroy): Use the name of the task for 3019: error messages. 3020: (mach_port_deallocate): Likewise. 3021: 3022: kern: add a name field to struct task 3023: * kern/task.c (task_create): Initialize name with the address of the task. 3024: * kern/task.h (TASK_NAME_SIZE): New definition. 3025: (struct task): Add field name. 3026: 3027: kern: add snprintf 3028: * kern/printf.c (snprintf): New function. 3029: * kern/printf.h (snprintf): New declaration. 3030: 3031: 2014-01-16 Justus Winter <[email protected]> 3032: 3033: kern: include the mig-generated server headers in ipc_kobject.c 3034: GNU MIG recently gained support for emitting x_server_routine 3035: declarations in the generated server header file. Using this 3036: declaration, the x_server_routine functions can be inlined into the 3037: ipc_kobject_server function. 3038: 3039: * kern/ipc_kobject.c: Include the mig-generated server headers. 3040: 3041: 2014-01-16 Justus Winter <[email protected]> 3042: 3043: vm: remove the declaration of memory_object_create_proxy 3044: It is not clear to me why the declaration was put there in the first 3045: place. It is not used anywhere, and it conflicts with the declaration 3046: generated by mig. 3047: 3048: * vm/memory_object_proxy.h (memory_object_create_proxy): Remove declaration. 3049: 3050: 2014-01-09 Justus Winter <[email protected]> 3051: 3052: kern: align kmem_cache objects using __cacheline_aligned 3053: * kern/slab.h (struct kmem_cache): Align kmem_cache objects using 3054: __cacheline_aligned. 3055: 3056: include: add new file for cache-related definitions 3057: * include/cache.h (__cacheline_aligned): This macro can be used to 3058: align statically allocated objects so that they start at a cache line. 3059: 3060: 2014-01-06 Justus Winter <[email protected]> 3061: 3062: kern: optimize the layout of struct kmem_cache 3063: * kern/slab.h (struct kmem_cache): Reorder the fields so that all hot 3064: fields are within the first cache line. 3065: 3066: 2014-01-05 Justus Winter <[email protected]> 3067: 3068: kern: explain the significance of the chosen length 3069: * kern/slab.h (KMEM_CACHE_NAME_SIZE): Explain the significance of the 3070: chosen length. 3071: 3072: 2014-01-05 Justus Winter <[email protected]> 3073: 3074: linux: fix bit tests 3075: The pattern is !x&y. An expression of this form is almost always 3076: meaningless, because it combines a boolean operator with a bit 3077: operator. In particular, if the rightmost bit of y is 0, the result 3078: will always be 0. 3079: 3080: Fixed using coccinelle. 3081: 3082: // !x&y combines boolean negation with bitwise and 3083: // 3084: // Confidence: High 3085: // Copyright: (C) Gilles Muller, Julia Lawall, EMN, DIKU. GPLv2. 3086: // URL: http://www.emn.fr/x-info/coccinelle/rules/notand.html 3087: // Options: 3088: 3089: @@ expression E1,E2; @@ 3090: ( 3091: !E1 & !E2 3092: | 3093: - !E1 & E2 3094: + !(E1 & E2) 3095: ) 3096: 3097: * linux/src/drivers/scsi/FlashPoint.c: Fix bit tests. 3098: 3099: 2014-01-05 Justus Winter <[email protected]> 3100: 3101: linux: fix bit tests 3102: The pattern is !x&y. An expression of this form is almost always 3103: meaningless, because it combines a boolean operator with a bit 3104: operator. In particular, if the rightmost bit of y is 0, the result 3105: will always be 0. 3106: 3107: Fixed using coccinelle. 3108: 3109: // !x&y combines boolean negation with bitwise and 3110: // 3111: // Confidence: High 3112: // Copyright: (C) Gilles Muller, Julia Lawall, EMN, DIKU. GPLv2. 3113: // URL: http://www.emn.fr/x-info/coccinelle/rules/notand.html 3114: // Options: 3115: 3116: @@ expression E; constant C; @@ 3117: ( 3118: !E & !C 3119: | 3120: - !E & C 3121: + !(E & C) 3122: ) 3123: 3124: * linux/src/drivers/net/tlan.c: Fix bit tests. 3125: * linux/src/drivers/scsi/AM53C974.c: Likewise. 3126: * linux/src/drivers/scsi/FlashPoint.c: Likewise. 3127: * linux/src/drivers/scsi/NCR5380.c: Likewise. 3128: * linux/src/drivers/scsi/t128.c: Likewise. 3129: 3130: 2014-01-03 Justus Winter <[email protected]> 3131: 3132: kern: make struct kmem_cache fit into two cache lines 3133: Previously, the size of struct kmem_cache was 136 bytes, just eight 3134: bytes larger than 128 bytes, which is typically two cache lines on 3135: today's CPUs. 3136: 3137: By reducing the size of the name field which holds a human-readable 3138: description by eight bytes to 24 bytes, the struct kmem_cache can be 3139: made fit into two cache lines. This change should not affect the 3140: usefulness of this field. For reference, the length of the largest 3141: hard-coded name is 17. 3142: 3143: * kern/slab.h (KMEM_CACHE_NAME_SIZE): Define to 24. 3144: 3145: 2014-01-03 Justus Winter <[email protected]> 3146: 3147: kern: reduce the size of struct task 3148: * kern/task.h (struct task): Reduce the size of struct task by 3149: 2 * sizeof boolean_t by using a bit field for the boolean flags. 3150: 3151: 2014-01-03 Justus Winter <[email protected]> 3152: 3153: vm: reduce the size of struct vm_page 3154: Previously, the bit field left 31 bits unused. By reducing the size 3155: of wire_count by one bit, the size of the whole struct is reduced by 3156: four bytes. 3157: 3158: * vm/vm_page.h (struct vm_page): Reduce the size of wire_count to 15 3159: bits. 3160: 3161: 2014-01-03 Justus Winter <[email protected]> 3162: 3163: vm: merge the two bit fields in struct vm_page 3164: * vm/vm_page.h (struct vm_page): Merge the two bit fields. 3165: 3166: 2014-01-03 Justus Winter <[email protected]> 3167: 3168: vm: remove NS32000-specific padding from struct vm_page 3169: Apparently, the NS32000 was a 32-bit CPU from the 1990ies. The string 3170: "ns32000" appears nowhere else in the source. 3171: 3172: * vm/vm_page.h (struct vm_page): Remove NS32000-specific padding. 3173: 3174: 2014-01-02 Samuel Thibault <[email protected]> 3175: 3176: Make sure cursor is initialized 3177: * i386/i386at/kd.c (kd_xga_init): Add start, stop variables, read them 3178: from CRT registers, make sure the cursor is enabled and is not reduced 3179: to 0, and write them back to CRT registers. 3180: * i386/i386at/kd.h (C_START, C_STOP): New macros. 3181: 3182: 2014-01-01 Marin Ramesa <[email protected]> 3183: 3184: i386/include/mach/i386/mach_i386_types.h: add comments after else and endif 3185: * i386/include/mach/i386/mach_i386_types.h (MACH_KERNEL): Add comments after else and endif. 3186: 3187: Add comment after endif 3188: * i386/i386/io_perm.h (_I386_IO_PERM_H_): Add comment after endif. 3189: 3190: 2013-12-20 Samuel Thibault <[email protected]> 3191: 3192: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 3193: 3194: 2013-12-20 Marin Ramesa <[email protected]> 3195: 3196: Mark pure functions with attribute pure 3197: 3198: kern/strings.c (strlen): mark with attribute pure 3199: * kern/strings.c (strlen): Mark with attribute pure. 3200: 3201: ddb/db_watch.c (db_watchpoint_cmd): remove forward declaration 3202: * ddb/db_watch.c (db_watchpoint_cmd) (db_option): Remove forward declaration. 3203: 3204: 2013-12-20 Marin Ramesa <[email protected]> 3205: 3206: Declare void argument lists (part 2) 3207: Declare void argument lists that were not declared in the first 3208: part of this patch and 3209: 3210: * kern/sched_prim.h (recompute_priorities): Fix prototype. 3211: * kern/startup.c (setup_main) (recompute_priorities): Fix call. 3212: 3213: 2013-12-18 Justus Winter <[email protected]> 3214: 3215: i386: add missing includes 3216: * i386/i386at/kd_event.h: Add missing includes. 3217: 3218: 2013-12-17 Marin Ramesa <[email protected]> 3219: 3220: kern: avoid the casts in enqueue_head() and enqueue_tail() 3221: * kern/eventcount.c (simpler_thread_setrun) (enqueue_head) (th): Avoid the cast. 3222: * kern/thread.c (thread_halt_self) (enqueue_tail) (thread): Likewise. 3223: * kern/thread_swap.c (thread_swapin) (enqueue_tail) (thread): Likewise. 3224: 3225: Mark functions that don't return with attribute noreturn 3226: 3227: vm: qualify pointers whose dereferenced values are constant with const 3228: 3229: util: qualify pointers whose dereferenced values are constant with const 3230: 3231: kern: qualify pointers whose dereferenced values are constant with const 3232: 3233: ipc: qualify pointers whose dereferenced values are constant with const 3234: 3235: i386: qualify pointers whose dereferenced values are constant with const 3236: 3237: device: qualify pointers whose dereferenced values are constant with const 3238: 3239: Cleanup of the copyin() and copyout() calls 3240: * device/ds_routines.c (device_write_trap) (copyin) (data): Cast to (void *). Argument is an address. 3241: (device_write_trap) (copyin) (io_data): Don't cast. 3242: (device_writev_trap) (copyin) (iovec, stack_iovec): Likewise. 3243: (device_writev_trap) (copyin) (data, p): Cast to (void *). Arguments are addresses. 3244: * kern/bootstrap.c (build_args_and_stack) (copyout) (arg_count, string_pos, zero): Don't cast. 3245: * kern/ipc_mig.c (syscall_vm_map) (copyin, copyout) (addr, address): Likewise. 3246: (syscall_vm_allocate) (copyin, copyout) (addr, address): Likewise. 3247: (syscall_task_create) (copyout) (name, child_task): Likewise. 3248: (syscall_mach_port_allocate) (copyout) (name, namep): Likewise. 3249: * kern/time_stamp.c (copyout) (temp, tsp): Likewise. 3250: 3251: 2013-12-17 Marin Ramesa <[email protected]> 3252: 3253: kern/sched_prim.h: remove unnecessary __GNUC__ #ifdef 3254: Attribute noreturn is used irrespective of __GNUC__. Remove 3255: unnecessary #ifdef. 3256: 3257: * kern/sched_prim.h [__GNUC__]: Remove #ifdef. 3258: 3259: 2013-12-17 Justus Winter <[email protected]> 3260: 3261: xen: add missing includes 3262: * xen/console.h: Add missing includes. 3263: 3264: 2013-12-16 Marin Ramesa <[email protected]> 3265: 3266: kern: quiet GCC warnings about set but unused variables 3267: * kern/lock.h (simple_lock_data_empty): Define. 3268: (decl_simple_lock_data, simple_unlock): Likewise. 3269: * kern/sched_prim.c (lock): Declare. 3270: [MACH_SLOCKS]: Remove #ifs. 3271: * kern/task.c (task_lock, task_unlock): Remove address operator. 3272: 3273: Quiet GCC warning about uninitialized variable 3274: * ddb/db_command.h (db_error): Mark with attribute noreturn. 3275: * i386/i386/setjmp.h (_longjmp): Likewise. 3276: 3277: 2013-12-15 Marin Ramesa <[email protected]> 3278: 3279: i386/i386/db_trace.c: use (long *) instead of an (int *) 3280: * i386/i386/db_trace.c (db_lookup_i386_kreg) (kregp): Use (long *) instead of an (int *). 3281: 3282: device/dev_pager.c (device_pager_data_request_done): cast to size_t instead to unsigned 3283: * device/dev_pager.c (device_pager_data_request_done) (memset) (io_residual): Cast to size_t instead to unsigned. 3284: 3285: 2013-12-15 Marin Ramesa <[email protected]> 3286: 3287: device/dev_pager.c: remove unnecessary casts 3288: Variable pager is already of ipc_port_t type. 3289: 3290: * device/dev_pager.c: Remove unnecessary casts. 3291: 3292: 2013-12-15 Marin Ramesa <[email protected]> 3293: 3294: kern/sched_prim.c: avoid casts 3295: Avoid the casts by passing the address of the links thread 3296: structure member to enqueue_tail(). 3297: 3298: * kern/sched_prim.c: Avoid casts. 3299: 3300: 2013-12-15 Marin Ramesa <[email protected]> 3301: 3302: ddb: qualify pointers whose dereferenced values are constant with const 3303: 3304: 2013-12-15 Samuel Thibault <[email protected]> 3305: 3306: Fix gcc signedness warning 3307: Thanks Marin Ramesa and Richard Braun for investigating. 3308: 3309: * i386/i386at/kd.c (kdintr): Make `char_idx' and `max' unsigned. 3310: (kdstate2idx): Make function take and return unsigned ints for the state. 3311: * i386/i386at/kd.h (kdstate2idx): Likewise. 3312: 3313: 2013-12-15 Marin Ramesa <[email protected]> 3314: 3315: Type definition 3316: * i386/i386/ast_check.c (init_ast_check, cause_ast_check): Define return type. 3317: * i386/i386/pic.c (intnull, prtnull): Define argument types. 3318: * i386/i386at/com.c (compr_addr): Likewise. 3319: (compr): Likewise. 3320: (compr_addr): Fix printf format. 3321: * i386/i386at/kd.c (kd_cmdreg_write, kd_kbd_magic): Define argument types. 3322: * i386/i386at/kd_mouse.c (init_mouse_hw): Likewise. 3323: * ipc/mach_port.c (sact_count): Define return type. 3324: * ipc/mach_rpc.c (mach_port_rpc_sig): Define argument types. 3325: * kern/act.c (dump_act): Define return type. 3326: * kern/lock_mon.c (simple_lock, simple_lock_try, simple_unlock, lip, lock_info_sort, lock_info_clear, print_lock_info): Define return type. 3327: (time_lock): Define return type and argument type. 3328: * kern/timer.c (time_trap_uexit): Define argument type. 3329: 3330: 2013-12-15 Marin Ramesa <[email protected]> 3331: 3332: ddb/db_expr.c (db_mult_expr): initialize lhs 3333: Initialize lhs to zero to avoid uninitialized usage in db_unary(). 3334: 3335: * ddb/db_expr.c (db_mult_expr) (lhs): Initialize to zero. 3336: 3337: 2013-12-15 Marin Ramesa <[email protected]> 3338: 3339: ddb/db_break.c (db_delete_cmd): remove unnecessary initialization 3340: Now that we have returns there are no more warnings from GCC about 3341: uninitialized variable. Remove unnecessary initialization of variable 3342: bkpt. 3343: 3344: * ddb/db_break.c (db_delete_cmd) (bkpt): Remove unnecessary initialization. 3345: 3346: 2013-12-15 Marin Ramesa <[email protected]> 3347: 3348: ddb/db_break.c (db_find_breakpoint_here): remove unnecessary casts 3349: Variable addr and member address are already of db_addr_t type which 3350: is type defined as vm_offset_t. 3351: 3352: * ddb/db_break.c (db_find_breakpoint_here) (DB_PHYS_EQ) (addr, address): Remove unecessary casts. 3353: 3354: 2013-12-15 Marin Ramesa <[email protected]> 3355: 3356: vm/vm_resident.c (vm_page_print): remove unnecessary casts 3357: Members offset and phys_addr are of vm_offset_t types. 3358: 3359: * vm/vm_resident.c (vm_page_print) (offset, phys_addr): Remove unnecessary casts. 3360: 3361: 2013-12-15 Marin Ramesa <[email protected]> 3362: 3363: vm/vm_kern.c (kmem_submap): remove unnecessary cast 3364: The return value from vm_map_min() is already of vm_offset_t type. 3365: 3366: * vm/vm_kern.c (kmem_submap) (addr): Remove unnecessary cast. 3367: 3368: 2013-12-15 Marin Ramesa <[email protected]> 3369: 3370: i386/i386/ldt.c: remove forward declaration 3371: * i386/i386/ldt.c (syscall): Remove forward declaration. 3372: Include locore.h. 3373: * i386/i386/locore.h (syscall): Add prototype. 3374: 3375: 2013-12-15 Marin Ramesa <[email protected]> 3376: 3377: kern/mach_clock.c: update comment 3378: This is mach_clock.c, not clock_prim.c. 3379: 3380: * kern/mach_clock.c: Update comment. 3381: 3382: 2013-12-15 Marin Ramesa <[email protected]> 3383: 3384: Declare void argument lists 3385: 3386: 2013-12-11 Marin Ramesa <[email protected]> 3387: 3388: i386/i386at/kd_mouse.c (kd_mouse_open): remove forward declaration 3389: * i386/i386at/kd_mouse.c (kd_mouse_open) (kdintr): Remove forward declaration. 3390: 3391: i386/i386at/kd.c (kdinit): remove forward declaration 3392: * i386/i386at/kd.c (kdinit) (kd_xga_init): Remove forward declaration. 3393: * i386/i386at/kd.h (kd_xga_init): Add prototype. 3394: 3395: 2013-12-11 Marin Ramesa <[email protected]> 3396: 3397: i386/i386at/kd.c (kdmmap): remove unnecessary cast 3398: Variable off is already an unsigned int. 3399: 3400: * i386/i386at/kd.c (kdmmap) (off): Remove unnecessary cast. 3401: 3402: 2013-12-11 Marin Ramesa <[email protected]> 3403: 3404: i386/i386at/kd.c: remove forward declarations 3405: * i386/i386at/kd.c (kd_getdata, state2leds, kdstart, kdstop): Remove forward declarations. 3406: * i386/i386at/kd.h (kd_getdata, state2leds, kdstart, kdstop): Add prototypes. 3407: Include device/tty.h. 3408: 3409: 2013-12-11 Marin Ramesa <[email protected]> 3410: 3411: i386/i386/db_trace.c (db_i386_stack_trace): remove unnecessary cast 3412: Argument to INKERNEL() is already cast to vm_offset_t in the macro itself. 3413: 3414: * i386/i386/db_trace.c (db_i386_stack_trace) (INKERNEL) (callpc): Don't cast to unsigned long. 3415: (db_i386_stack_trace) (INKERNEL) (frame): Likewise. 3416: 3417: 2013-12-11 Marin Ramesa <[email protected]> 3418: 3419: i386/i386/db_trace.c: remove forward declaration 3420: * i386/Makefrag.am: List i386/i386/db_trace.h. 3421: * i386/i386/db_trace.c: Include machine/db_trace.h. 3422: (db_i386_stack_trace): Remove forward declaration. 3423: * i386/i386/db_trace.h: New file. 3424: Add copyright. 3425: [_I386_DB_TRACE_H_]: Add ifndef. 3426: (i386_frame): Declare forward. 3427: (db_i386_stack_trace): Add prototype. 3428: 3429: 2013-12-11 Marin Ramesa <[email protected]> 3430: 3431: ipc/mach_debug.c (mach_port_kernel_object): remove unnecessary cast 3432: Member ip_kobject is of type vm_offset_t. 3433: 3434: * ipc/mach_debug.c (mach_port_kernel_object) (ip_kobject): Remove unnecessary cast. 3435: 3436: 2013-12-11 Marin Ramesa <[email protected]> 3437: 3438: ipc/mach_debug.c (mach_port_kernel_object): remove unnecessary cast 3439: Return value from ip_kotype is an unsigned int. 3440: 3441: * ipc/mach_debug.c (mach_port_kernel_object) (ip_kotype): Remove unnecessary cast. 3442: 3443: 2013-12-11 Marin Ramesa <[email protected]> 3444: 3445: Cleanup of the memcpy(), memmove(), memcmp() and memset() calls 3446: Addresses were cast to (void *). Pointers uncasted. 3447: 3448: * device/ds_routines.c (ds_read_done) (memset) (start_sent): Cast to (void *) instead to (char *). Argument is an address. 3449: (ds_read_done) (memset) (end_data): Likewise. 3450: * i386/i386/pcb.c (thread_getstatus) (memcpy) (pm): Don't cast. Argument is a pointer. 3451: (thread_getstatus) (memcpy) (iopb): Likewise. 3452: * i386/i386at/immc.c (immc_cnputc) (memmove): Cast first argument to (void *). Argument is an address. 3453: (immc_cnputc) (memmove): Cast second argument to (void *). Argument is an address. 3454: (immc_cnputc) (memset): Cast first argument to (void *). Argument is an address. 3455: * i386/i386at/model_dep.c (i386at_init) (memcpy) (phystokv): Cast to (void *) instead to (char *). Argument is an address. 3456: * i386/intel/pmap.c (pmap_init) (memset) (addr): Likewise. 3457: * ipc/mach_debug.c (mach_port_space_info) (memset) (table_addr + size_used): Likewise. 3458: (mach_port_space_info) (memset) (tree_addr + size_used): Likewise. 3459: * kern/host.c (host_processor_sets) (memcpy) (newaddr): Likewise. 3460: (host_processor_sets) (memcpy) (addr): Likewise. 3461: * kern/xpr.c (xprbootstrap) (memset) (addr): Likewise. 3462: * vm/vm_debug.c (mach_vm_object_pages) (memset) (addr + size_used): Likewise. 3463: 3464: 2013-12-10 Marin Ramesa <[email protected]> 3465: 3466: device/subrs.c: use io_req_t instead of struct buf 3467: Struct buf is not defined. Use io_req_t instead of it. 3468: 3469: * device/subrs.c (harderr) (bp): Change name to ior and use io_req_t as type instead of (struct buf *). 3470: (harderr) (minor): Use io_unit instead of b_dev. 3471: (harderr): Use io_recnum instead of b_blkno. 3472: (gateblk): Use io_req_t as return value instead of (struct buf *). 3473: (brelse) (bp): Change name to ior and use io_req_t as type instead of (struct buf *). 3474: (brelse) (ior): Remove variable. 3475: 3476: 2013-12-10 Marin Ramesa <[email protected]> 3477: 3478: device/net_io.c: remove forward declarations 3479: * 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. 3480: * device/net_io.h (net_rcv_port, net_hash_entry, net_hash_header): Declare forward. 3481: (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. 3482: 3483: device/dev_pager.c: remove forward declarations 3484: * device/dev_pager.c (device_pager_data_request_done, device_pager_data_write_done): Remove forward declarations. 3485: * device/dev_pager.h (device_pager_data_request_done, device_pager_data_write_done): Add prototypes. 3486: 3487: device/dev_pager.c: remove forward declaration 3488: * Makefrag.am: Include device/blkio.h. 3489: * device/blkio.h: New file. 3490: Add copyright. 3491: [_DEVICE_BLKIO_H_]: Add ifndef. 3492: (block_io_mmap): Add prototype. 3493: * device/dev_pager.c: Include device/blkio.h. 3494: (block_io_mmap): Remove forward declaration. 3495: 3496: 2013-12-10 Marin Ramesa <[email protected]> 3497: 3498: device/dev_pager.c (device_pager_data_request_done): remove unnecessary cast 3499: The argument to trunc_page() is already cast to vm_offset_t in the 3500: macro itself. 3501: 3502: * device/dev_pager.c (device_pager_data_request_done) (trunc_page) (io_data): Don't cast to vm_offset_t. 3503: 3504: 2013-12-10 Marin Ramesa <[email protected]> 3505: 3506: device/dev_pager.c (device_pager_data_request): cast to (void *) instead to (char *) 3507: * device/dev_pager.c (device_pager_data_request) (vm_object_page_map) (ds): Cast to (void *) instead to (char *). 3508: 3509: device/dev_pager.c (device_pager_data_request): remove forward declaration 3510: * Makefrag.am: Include device/dev_pager.h. 3511: * device/dev_pager.c: Likewise. 3512: (device_map_page): Remove forward declaration. 3513: * device/dev_pager.h: New file. 3514: Add copyright. 3515: [_DEVICE_DEV_PAGER_H_]: Add ifndef. 3516: (device_map_page): Add prototype. 3517: 3518: device/cons.c: fix argument list 3519: * device/cons.c (romgetc, romputc): Fix argument list. 3520: 3521: 2013-12-10 Marin Ramesa <[email protected]> 3522: 3523: device/cirbuf.c (cb_free): use vm_size_t instead of an int 3524: This is more in line with the call to kfree() in cb_free(). 3525: 3526: * device/cirbuf.c (cb_free) (size): Use vm_size_t instead of an int. 3527: 3528: 2013-12-10 Marin Ramesa <[email protected]> 3529: 3530: device/cirbuf.c (cb_alloc): use vm_size_t instead of an int 3531: This is more in line with the call to kalloc() in cb_alloc(). 3532: 3533: * device/chario.c (tty_inq_size, tty_outq_size): Use unsigned int instead if an int. 3534: * device/cirbuf.c (cb_alloc) (buf_size): Use vm_size_t instead of an int. 3535: * device/cirbuf.h (cb_alloc) (buf_size): Likewise. 3536: 3537: 2013-12-10 Marin Ramesa <[email protected]> 3538: 3539: device/chario.c: trivial stylistic fix for consistency 3540: * device/chario.c: Trivial stylistic fix for consistency. 3541: 3542: 2013-12-10 Marin Ramesa <[email protected]> 3543: 3544: i386/i386/db_interface.c: use vm_offset_t instead of an unsigned int 3545: This is more in line with how the function db_user_to_kernel_address() is 3546: called. In this way there is one cast less and several GCC warnings are 3547: silenced. 3548: 3549: * i386/i386/db_interface.c (db_set_hw_watchpoint) (kern_addr): Use vm_offset_t instead of an unsigned int. 3550: (db_user_to_kernel_address) (kaddr): Likewise. 3551: (db_user_to_kernel_address) (ptetokv): Don't cast return value. 3552: (db_read_bytes) (kern_addr): Use vm_offset_t instead of an unsigned int. 3553: (db_write_bytes_user_space) (kern_addr): Likewise. 3554: (db_task_name) (vaddr, kaddr): Likewise. 3555: * i386/i386/db_interface.h (db_user_to_kernel_address) (kaddr): Likewise. 3556: 3557: 2013-12-10 Marin Ramesa <[email protected]> 3558: 3559: i386/i386at/kd_event.c (kbdsetstat): fix difference in signedness 3560: * i386/i386at/kd_event.c (X_kdb_enter_init, X_kdb_exit_init): Cast first arguments to (unsigned int *). 3561: 3562: 2013-12-10 Marin Ramesa <[email protected]> 3563: 3564: i386: move prototypes to fix implicit declaration of function 3565: This fixes the implicit declarations in kern/machine.c and kern/debug.c. 3566: 3567: * i386/i386/model_dep.h (halt_cpu, halt_all_cpus): Add prototypes. 3568: * i386/i386at/model_dep.h (halt_cpu, halt_all_cpus): Remove prototypes. 3569: 3570: 2013-12-08 Marin Ramesa <[email protected]> 3571: 3572: ddb/db_trap.c (db_task_trap): remove forward declarations 3573: * ddb/db_break.h (db_check_breakpoint_valid): Add prototype. 3574: * ddb/db_trap.c (db_init_default_thread, db_check_breakpoint_valid): Remove forward declarations. 3575: 3576: 2013-12-08 Marin Ramesa <[email protected]> 3577: 3578: Use db_addr_t instead of db_expr_t 3579: In this way everything falls into place and there is one cast less. 3580: 3581: Function db_task_printsym() is already always called with the cast to 3582: db_addr_t in the first argument. 3583: 3584: * ddb/db_aout.c (aout_db_line_at_pc): Use db_addr_t instead of db_expr_t. 3585: (aout_db_search_by_addr): Don't cast to vm_offset_t. Argument is already 3586: db_addr_t. 3587: * ddb/db_aout.h (aout_db_line_at_pc): Use db_addr_t instead of db_expr_t. 3588: * ddb/db_sym.c (db_task_printsym): Likewise. 3589: (db_line_at_pc): Likewise. 3590: * ddb/db_sym.h (db_task_printsym): Likewise. 3591: (db_line_at_pc): Likewise. 3592: * i386/i386/db_trace.c (db_task_printsym): Cast to db_addr_t instead of db_expr_t. 3593: Member swap_func is a pointer to void. 3594: 3595: 2013-12-08 Marin Ramesa <[email protected]> 3596: 3597: ddb/db_print.c: use unsigned long instead of an unsigned int 3598: Variable db_maxoff is in other files declared as unsigned long. 3599: 3600: * ddb/db_print.c (db_maxoff): Use unsigned long instead of an unsigned int. 3601: 3602: 2013-12-08 Marin Ramesa <[email protected]> 3603: 3604: ddb/db_mp.c: definition of db_console() only if CONSOLE_ON_MASTER 3605: Function db_console() is called only if CONSOLE_ON_MASTER. 3606: 3607: If it stays this way, db_console() will not compile. I don't know 3608: if it should be removed. Maybe someone will rewrite it. 3609: 3610: * ddb/db_mp.c (db_console): Definition only if CONSOLE_ON_MASTER. 3611: * ddb/db_mp.h [CONSOLE_ON_MASTER] (db_console): Add prototype. 3612: 3613: 2013-12-08 Marin Ramesa <[email protected]> 3614: 3615: ddb/db_mp.c: use boolean instead of an int 3616: * ddb/db_mp.c (db_enter_debug): Use boolean instead of an int. 3617: 3618: ddb/db_examine.c: trivial stylistic fix for consistency 3619: * ddb/db_examine.c: Trivial stylistic fix for consistency. 3620: 3621: ddb/db_examine.c (db_examine_cmd): remove forward declaration 3622: * ddb/db_examine.c (db_option): Remove forward declaration. 3623: 3624: ddb/db_command.c (db_command): remove forward declaration 3625: * ddb/db_command.c (db_fncall): Remove forward declaration. 3626: 3627: ddb/db_command.c: use boolean values 3628: * ddb/db_command.c (db_cmd_loop_done): Use boolean values. 3629: 3630: 2013-12-08 Marin Ramesa <[email protected]> 3631: 3632: i386/i386at/kd.c: use io_req instead of uio 3633: Struct uio is nowhere defined and in device/buf.h the string uio is defined 3634: as io_req. Remove all declarations of uio structure and use io_req_t instead 3635: of it. 3636: 3637: * device/buf.h (uio, io_req): Remove definition. 3638: * i386/i386at/kd.c: Remove comment. 3639: (kdread): Use io_req_t. 3640: (kdwrite): Likewise. 3641: * i386/i386at/kd.h (kdread, kdwrite): Use io_req_t as argument type. 3642: 3643: 2013-12-08 Marin Ramesa <[email protected]> 3644: 3645: ddb/db_break.c (db_find_thread_breakpoint_here): remove unnecessary cast 3646: Variable addr is already of type db_addr_t. 3647: 3648: * ddb/db_break.c (db_find_thread_breakpoint_here) (addr): Don't cast to db_addr_t. 3649: 3650: 2013-12-08 Marin Ramesa <[email protected]> 3651: 3652: ddb/db_break.c (db_add_thread_breakpoint): fix argument list 3653: * ddb/db_break.c (db_add_thread_breakpoint): Fix argument list. 3654: 3655: ddb/db_aout.c (aout_db_lookup): remove forward declaration 3656: * ddb/db_aout.c (db_sym_parse_and_lookup): Remove forward declaration. 3657: * ddb/db_sym.h (db_sym_parse_and_lookup): Add prototype. 3658: 3659: 2013-12-08 Marin Ramesa <[email protected]> 3660: 3661: ddb/db_aout.c (aout_db_qualified_search): use DB_SYM_NULL as return value 3662: Function aout_db_qualified_search() returns db_sym_t. Use DB_SYM_NULL as 3663: return value instead of zero. 3664: 3665: * ddb/db_aout.c (aout_db_qualified_search): Use DB_SYM_NULL as return value. 3666: 3667: 2013-12-08 Marin Ramesa <[email protected]> 3668: 3669: i386/i386/db_interface.c: remove forward declaration 3670: * i386/i386/db_interface.c (db_write_bytes_user_space): Remove forward declaration. 3671: * i386/i386/db_interface.h (db_write_bytes_user_space): Add prototype. 3672: 3673: i386/i386at/lpr.c: fix initalization from incompatible pointer type 3674: * i386/i386at/lpr.c (lprprobe): Modify argument types. 3675: * i386/i386at/lpr.h (lprprobe): Likewise. 3676: 3677: i386/i386at/com.c: fix assignment from incompatible pointer type 3678: * device/tty.h (tty): Modify so that correct argument list and return type is listed. 3679: 3680: i386/i386at/com.c: fix initialization from incompatible pointer type 3681: * i386/i386at/com.c (comprobe): Modify argument types. 3682: (comprobe): Cast from (struct bus_ctrl *) to (struct bus_device *). 3683: comprobe_general() uses only a small subset of members, so it's all 3684: the same which struct it is. 3685: * i386/i386at/com.h (comprobe): Modify argument types. 3686: 3687: kern/startup.c: use boolean values 3688: * kern/startup.c (reboot_on_panic): Use boolean values. 3689: 3690: vm/vm_map.c: use boolean instead of an int 3691: * vm/vm_map.c (vm_map_pmap_enter_print, vm_map_pmap_enter_enable): Use boolean instead of an int. 3692: 3693: vm/vm_object.c: remove unused variable 3694: * vm/vm_object.c (vm_object_terminate_remove_all): Remove unused variable. 3695: 3696: vm/vm_pageout.c: remove forward declarations 3697: * vm/vm_pageout.c (vm_pageout_continue, vm_pageout_scan_continue): Remove forward declarations. 3698: * vm/vm_pageout.h (vm_pageout_continue, vm_pageout_scan_continue): Add prototypes. 3699: 3700: i386/i386at/pic_isa.c: remove forward declaration 3701: * i386/Makefrag.am: Include i386/i386/hardclock.h. 3702: * i386/i386/hardclock.h: New file. 3703: Add copyright. 3704: [_I386_HARDCLOCK_H_]: Add ifndef. 3705: (hardclock): Add prototype. 3706: * i386/i386at/pic_isa.c (hardclock): Remove forward declaration. 3707: Include i386/hardclock.h. 3708: 3709: i386/i386at/model_dep.c: fix argument list 3710: * i386/i386at/model_dep.c (timemmap): Fix argument list. 3711: 3712: i386/i386at/lpr.c: fix argument list 3713: * i386/i386at/lpr.c (lprprobe): Fix argument list. 3714: 3715: ddb/db_output.c: remove forward declaration 3716: * ddb/db_input.h (db_check_interrupt): Add prototype. 3717: * ddb/db_output.c: Include ddb/db_input.h. 3718: (db_check_interrupt): Remove forward declaration. 3719: 3720: 2013-12-08 Marin Ramesa <[email protected]> 3721: 3722: kern/act.h: remove unnecessary include 3723: File kern/act.h includes itself. Remove this include. 3724: 3725: * kern/act.h: Don't include kern/act.h. 3726: 3727: 2013-12-08 Marin Ramesa <[email protected]> 3728: 3729: Cleanup of the prototypes 3730: * device/cirbuf.h (nqdb): Remove prototype without definition. 3731: * device/conf.h (dev_set_indirect): Likewise. 3732: * kern/boot_script.h (boot_script_read_file): Likewise. 3733: * kern/eventcount.h (evc_notify_abort): Remove duplicate prototype. 3734: * kern/thread.h (thread_set_own_priority): Likewise. 3735: * kern/thread_swap.h (thread_swapout): Remove prototype without definition. 3736: * kern/timer.h (softclock): Remove duplicate prototype. 3737: * vm/pmap.h (pmap_resident_count, pmap_access, pmap_phys_address, pmap_phys_to_frame): Remove prototypes without function definition. 3738: * vm/vm_page.h (vm_set_page_size): Likewise. 3739: 3740: vm/vm_page.h: remove unused variables 3741: * vm/vm_page.h (first_phys_addr, last_phys_addr): Remove unused variables. 3742: 3743: kern/syscall_sw.c: use boolean instead of an int 3744: * kern/syscall_sw.c (kern_invalid_debug): Use boolean instead of an int. 3745: 3746: 2013-12-08 Marin Ramesa <[email protected]> 3747: 3748: kern/refcount.h: remove unnecessary include 3749: File kern/refcount.h includes itself. Remove this include. 3750: 3751: * kern/refcount.h: Don't include kern/refcount.h. 3752: 3753: 2013-12-08 Marin Ramesa <[email protected]> 3754: 3755: kern/rbtree.h: remove unnecessary include 3756: File kern/rbtree.h includes itself. Remove this include. 3757: 3758: * kern/rbtree.h: Don't include kern/rbtree.h. 3759: 3760: 2013-12-08 Marin Ramesa <[email protected]> 3761: 3762: kern/priority.c: update comment 3763: This is priority.c. Not clock_prim.c. 3764: 3765: * kern/priority.c: Update comment. 3766: 3767: 2013-12-08 Marin Ramesa <[email protected]> 3768: 3769: kern/pc_sample.c: remove unused variables 3770: * kern/pc_sample.c (pc_sampling_enabled, pc_sampling_lock): Remove unused variables. 3771: 3772: kern/lock_mon.c: remove dead assignments 3773: * kern/lock_mon.c (scurval, ssum, sli): Remove variables. 3774: (scurval, ssum, sli): Remove dead assignments. 3775: 3776: 2013-12-08 Marin Ramesa <[email protected]> 3777: 3778: kern/lock_mon.c: use spl_t instead of an int 3779: Variable curr_ipl is in other files declared as spl_t. 3780: 3781: * kern/lock_mon.c (curr_ipl): Use spl_t instead of an int. 3782: 3783: 2013-12-08 Marin Ramesa <[email protected]> 3784: 3785: kern/act.h: remove prototype without definition 3786: * kern/act.h (act_create_kernel): Remove prototype without definition. 3787: 3788: 2013-12-08 Samuel Thibault <[email protected]> 3789: 3790: Add comment 3791: 3792: 2013-12-08 Marin Ramesa <[email protected]> 3793: 3794: ipc/port.h: update comment 3795: This is ipc/port.h. Not ipc/ipc_port.h. 3796: 3797: * ipc/port.h: Update comment. 3798: 3799: 2013-12-08 Marin Ramesa <[email protected]> 3800: 3801: ipc/mach_port.c: use boolean instead of an int 3802: * ipc/mach_port.c (mach_port_deallocate_debug): Use boolean instead of an int. 3803: 3804: ipc/ipc_init.c: qualify constant with const 3805: * ipc/ipc_init.c (ipc_kernel_map_size): Qualify constant with const. 3806: 3807: i386/intel/pmap.c: remove unused variable 3808: * i386/intel/pmap.c (end): Remove unused variable. 3809: 3810: i386/intel/pmap.c: use boolean instead of an int 3811: * i386/intel/pmap.c (pmap_debug): Use boolean instead of an int. 3812: 3813: time: remove unused variable 3814: * i386/i386at/rtc.c (tz): Remove unused variable. 3815: * xen/time.c (tz): Remove unused variable. 3816: 3817: i386/i386at/rtc.c: use boolean instead of an int 3818: * i386/i386at/rtc.c (first_rtcopen_ever): Use boolean instead of an int. 3819: 3820: i386/i386at/kd.c: use boolean instead of an unsigned int 3821: * i386/i386at/kd.c (kd_bellstate): Use boolean instead of an unsigned int. 3822: 3823: i386/i386at/kd.c: use boolean instead of an int 3824: * i386/i386at/kd.c (mouse_in_use): Use boolean instead of an int. 3825: Remove duplicate declaration. 3826: 3827: i386/i386at/model_dep.c, kd.c: use boolean instead of an int 3828: * i386/i386at/kd.c (rebootflag): Use boolean instead of an int. 3829: Remove duplicate variable declaration. 3830: * i386/i386at/model_dep.c (rebootflag): Use boolean instead of an int. 3831: 3832: i386/i386at/immc.c, kd.c: use boolean instead of an int 3833: * i386/i386at/immc.c (immediate_console_enable): Use boolean instead of an int. 3834: * i386/i386at/kd.c (immediate_console_enable): Likewise. 3835: 3836: i386/i386/user_ldt.c: remove unused variable 3837: * i386/i386/user_ldt.c (acc_type): Remove unused variable. 3838: 3839: i386/i386/trap.c: remove unused variables 3840: * 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. 3841: 3842: i386/i386/trap.c: remove unused variable 3843: * i386/i386/trap.c (brb): Remove unused variable. 3844: 3845: i386/i386/pit.c: remove unused variables 3846: * i386/i386/pit.c (pitctr1_port, pitctr2_port): Remove unused variables. 3847: 3848: i386/i386/pic.c: remove unused variables 3849: * i386/i386/pic.c (nintr, npics): Remove unused variables. 3850: 3851: i386/i386/mp_desc.c: remove unused variable 3852: * i386/i386/mp_desc.c (avail_start): Remove unused variable. 3853: 3854: 2013-12-08 Marin Ramesa <[email protected]> 3855: 3856: i386/i386/ipl.h: remove ifdef and add ifndef 3857: This code is used even if KERNEL is not defined. Remove the ifdef. 3858: 3859: * i386/i386/ipl.h [_I386_IPL_H_]: Add ifndef. 3860: 3861: 2013-12-08 Marin Ramesa <[email protected]> 3862: 3863: i386/i386/db_interface.c: use boolean instead of an int 3864: * i386/i386/db_interface.c (kernel_dr): Use boolean instead of an int. 3865: 3866: 2013-12-08 Marin Ramesa <[email protected]> 3867: 3868: device/tty.h, chario.h: move prototype 3869: Now that we have device/chario.h move the chario_init() prototype 3870: from device/tty.h to device/chario.h. 3871: 3872: * device/chario.h (chario_init): Add prototype. 3873: * device/device_init.c: Include device/chario.h. 3874: * device/tty.h (chario_init): Remove prototype. 3875: 3876: 2013-12-08 Marin Ramesa <[email protected]> 3877: 3878: device/kmsg.c: use boolean instead of an int 3879: * device/kmsg.c (kmsg_init_done): Use boolean instead of an int. 3880: 3881: device/kmsg.c: use boolean instead of an int 3882: * device/kmsg.c (kmsg_in_use): Use boolean instead of an int. 3883: 3884: device/if_ether.h: remove unused variable 3885: * device/if_ether.h (etherbroadcastaddr): Remove unused variable. 3886: * device/subrs.c (etherbroadcastaddr): Remove initialization. 3887: 3888: device/dev_lookup.c: remove unused lock 3889: * device/dev_lookup.c (dev_port_lock): Remove unused lock. 3890: 3891: device/cirbuf.c: use boolean instead of an int 3892: * device/cirbuf.c (cb_check_enable): Use boolean instead of an int. 3893: 3894: device/chario.c: use boolean instead of an int 3895: * device/chario.c (pdma_default): Use boolean instead of an int. 3896: 3897: 2013-12-08 Marin Ramesa <[email protected]> 3898: 3899: ddb/db_output.c: remove duplicate function 3900: Function kdbprintf() and db_printf() are the same function. Remove 3901: kdbprintf() and define kdbprintf to db_printf. 3902: 3903: * ddb/db_output.c (kdbprintf): Remove function. 3904: * ddb/db_output.h: Define kdbprintf to db_printf. 3905: (kdbprintf): Remove prototype. 3906: 3907: 2013-12-08 Marin Ramesa <[email protected]> 3908: 3909: ddb/db_output.c: remove call to nonexistent db_printf_enter() 3910: * ddb/db_output.c [db_printf_enter] (db_printf_enter): Remove call to nonexistent function. 3911: 3912: ddb/db_command.h: remove duplicate variable declaration 3913: * ddb/db_command.h (db_recover): Remove duplicate variable declaration. 3914: 3915: ddb/db_command.c: remove forward declaration 3916: * ddb/db_command.c (db_skip_to_eol): Remove forward declaration. 3917: 3918: 2013-12-08 Marin Ramesa <[email protected]> 3919: 3920: i386/i386/setjmp.h: remove ifdef 3921: Function _longjmp() is used even if __GNUC__ is not defined. Avoid 3922: implicit declaration in that case by removing the ifdef. 3923: 3924: * i386/i386/setjmp.h [__GNUC__] (_longjmp): Remove ifdef. 3925: 3926: 2013-12-08 Marin Ramesa <[email protected]> 3927: 3928: kern/machine.c: remove __volatile__ 3929: Shutdown can be optimised. Remove __volatile__. 3930: 3931: * kern/machine.c [__GNUC__] (processor_doshutdown): Remove volatile function qualifier. 3932: 3933: 2013-12-08 Marin Ramesa <[email protected]> 3934: 3935: ipc/ipc_port.c: trivial stylistic fix for consistency 3936: * ipc/ipc_port.c (indent): Trivial stylistic fix for consistency. 3937: 3938: 2013-12-08 Samuel Thibault <[email protected]> 3939: 3940: Make unsigned character constants unsigned 3941: Thanks Marin Ramesa for the report. 3942: 3943: * i386/i386at/kd.h (K_DONE, NC, K_SCAN): Make constants unsigned. 3944: 3945: 2013-12-08 Samuel Thibault <[email protected]> 3946: 3947: Always make Assert trigger debugger 3948: * kern/debug.c (Assert): Always call Debugger, even if db_breakpoints_insert 3949: is not set. 3950: 3951: 2013-12-08 Samuel Thibault <[email protected]> 3952: 3953: Fix implicit declaration of function 3954: Thanks Marin Ramesa for the report. 3955: 3956: * device/ds_routines.h (device_deallocate): Move declaration to... 3957: * include/device/device_types.h (device_deallocate): ... here. 3958: 3959: 2013-12-08 Marin Ramesa <[email protected]> 3960: 3961: device/device_types_kernel.h: remove redeclaration of dev_port_lookup() 3962: * device/device_types_kernel.h (dev_port_lookup): Remove prototype. 3963: 3964: Add ifndefs 3965: * i386/i386at/cram.h [_CRAM_H_]: Add ifndef. 3966: * i386/i386at/disk.h [_DISK_H_]: Likewise. 3967: * i386/i386at/i8250.h [_I8250_H_]: Likewise. 3968: * i386/include/mach/i386/asm.h [_MACH_I386_ASM_H_]: Likewise. 3969: * i386/include/mach/i386/disk.h [_MACH_I386_DISK_H_]: Likewise. 3970: 3971: Add comments after endifs 3972: * device/cons.c [MACH_KMSG]: Likewise. 3973: [CONSBUFSIZE > 0]: Likewise. 3974: * i386/i386/trap.c [MACH_KDB]: Likewise. 3975: [MACH_PV_PAGETABLES]: Likewise. 3976: * i386/i386at/kd.c [ENABLE_IMMEDIATE_CONSOLE]: Likewise. 3977: * ipc/ipc_kmsg_queue.h [_IPC_KMSG_QUEUE_H_]: Likewise. 3978: * kern/act.c [ACTWATCH]: Likewise. 3979: * kern/refcount.h [MACHINE_REFCOUNT]: Likewise. 3980: * kern/task.c [FAST_TAS]: Likewise. 3981: 3982: 2013-12-04 Samuel Thibault <[email protected]> 3983: 3984: Add missing include 3985: * ddb/db_variables.h: Include <machine/db_machdep.h>. 3986: 3987: 2013-12-04 Marin Ramesa <[email protected]> 3988: 3989: i386/i386at/com.h: include chips/busses.h for struct bus_device 3990: * i386/i386at/com.h: Include chips/busses.h. 3991: 3992: ddb/db_variables.c: fix near initialization 3993: * ddb/db_task_thread.c (db_set_default_thread): New parameter. 3994: * ddb/db_task_thread.h (db_set_default_thread): Likewise. 3995: 3996: kern/mach_clock.c: remove forward declaration 3997: * Makefrag.am: Include kern/priority.h. 3998: * kern/mach_clock.c (thread_quantum_update): Remove forward declaration. 3999: Include kern/priority.h. 4000: * kern/priority.h: New file. 4001: Add copyright. 4002: [_KERN_PRIORITY_H_]: Add ifndef. 4003: (thread_quantum_update): Add prototype. 4004: 4005: ipc/mach_port.c: remove forward declaration 4006: * ipc/mach_port.c (mach_port_get_receive_status): Remove forward declaration. 4007: * ipc/mach_port.h (mach_port_get_receive_status): Add prototype. 4008: 4009: ipc/ipc_entry.c: remove forward declaration 4010: * ipc/ipc_entry.c (db_ipc_object_by_name): Remove forward declaration. 4011: * ipc/ipc_entry.h (db_ipc_object_by_name): Add prototype. 4012: 4013: i386/i386at/model_dep.c: remove forward declaration 4014: * i386/i386at/model_dep.c (init_alloc_aligned): Remove forward declaration. 4015: * i386/i386at/model_dep.h (init_alloc_aligned): Add prototype. 4016: 4017: kern/time_stamp.c: remove multimax code 4018: * kern/time_stamp.c [multimax]: Remove code. 4019: 4020: 2013-12-04 Samuel Thibault <[email protected]> 4021: 4022: Remove unnecessary file 4023: * i386/Makefrag.am: Don't include i386/include/mach/i386/rpc.h. 4024: * i386/include/mach/i386/rpc.h: Remove file. 4025: 4026: 2013-12-04 Marin Ramesa <[email protected]> 4027: 4028: vm/vm_user.c: remove forward declaration 4029: * vm/vm_user.c (vm_map_machine_attribute): Remove forward declaration. 4030: 4031: 2013-12-04 Marin Ramesa <[email protected]> 4032: 4033: vm/vm_resident.c: correct comment 4034: This is vm_resident.c, not vm_page.c. 4035: 4036: * vm/vm_resident.c: Correct comment. 4037: 4038: 2013-12-04 Marin Ramesa <[email protected]> 4039: 4040: vm/vm_map.c: remove forward declarations 4041: * 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. 4042: * vm/vm_map.h (_vm_map_clip_end): Correct prototype. 4043: 4044: vm/vm_kern.c: remove forward declarations 4045: * vm/vm_kern.c (kmem_alloc_pages, kmem_remap_pages): Remove forward declarations. 4046: * vm/vm_kern.h (kmem_alloc_pages, kmem_remap_pages): Add prototypes. 4047: 4048: vm/vm_fault.c: remove forward declaration 4049: * vm/vm_fault.c (vm_fault_wire_fast): Remove forward declaration. 4050: * vm/vm_fault.h (vm_fault_wire_fast): Add prototype. 4051: 4052: 2013-12-04 Marin Ramesa <[email protected]> 4053: 4054: ipc/ipc_kmsg.h: update comment 4055: Struct ipc_kmsg_queue is not defined in kern/thread.h. 4056: 4057: * ipc/ipc_kmsg.h: Update comment. 4058: 4059: 2013-12-04 Marin Ramesa <[email protected]> 4060: 4061: kern: remove forward declaration 4062: * kern/xpr.c (db_printf): Remove forward declaration. 4063: [MACH_KDB] Include ddb/db_output.h. 4064: 4065: kern/thread.c: remove forward declaration 4066: * i386/i386/pcb.h (pcb_module_init): Add prototype. 4067: * kern/thread.c (pcb_module_init): Remove forward declaration. 4068: 4069: kern/task.c: remove forward declarations 4070: * ipc/ipc_mqueue.h: Include ipc/ipc_kmsg_queue.h. 4071: * kern/ipc_kobject.h: Move includes into ifndef. 4072: * kern/syscall_emulation.h: Include kern/task.h. 4073: (eml_init, eml_task_reference, eml_task_deallocate): Add prototypes. 4074: * kern/task.c: Include kern/syscall_emulation.h. 4075: (eml_init, eml_task_reference, eml_task_deallocate): Remove forward declarations 4076: 4077: kern/syscall_sw.c: remove forward declarations 4078: * kern/eventcount.h (evc_wait_clear): Add prototype. 4079: * kern/ipc_mig.h: Include device/device_types.h. 4080: (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. 4081: * 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. 4082: Include kern/ipc_mig.h. 4083: Include kern/eventcount.h. 4084: 4085: kern/syscall_subr.c: remove forward declaration 4086: * kern/syscall_subr.c (thread_depress_priority): Remove forward declaration. 4087: * kern/syscall_subr.h (thread_depress_priority): Add prototype. 4088: 4089: kern/startup.c: remove forward declarations 4090: * Makefrag.am: Include kern/bootstrap.h. 4091: Include vm/vm_init.h. 4092: Include device/device_init.h. 4093: * device/device_init.h: New file. 4094: Add copyright. 4095: [_DEVICE_DEVICE_INIT_H_]: Add ifndef. 4096: (device_service_create): Add prototype. 4097: * i386/i386/mp_desc.h (start_other_cpus): Add prototype. 4098: * kern/bootstrap.h: New file. 4099: Add copyright. 4100: [_KERN_BOOTSTRAP_H_]: Add ifndef. 4101: (bootstrap_create): Add prototype. 4102: * kern/sched_prim.h (idle_thread, sched_thread): Add prototypes. 4103: * kern/startup.c: Include kern/bootstrap.h. 4104: Include kern/startup.h. 4105: Include vm/vm_init.h. 4106: Include vm/vm_pageout.h. 4107: Include device/device_init.h. 4108: (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. 4109: [NCPUS > 1] Include machine/mp_desc.h and kern/machine.h. 4110: * kern/startup.h: Include kern/thread.h. 4111: (cpu_launch_first_thread, start_kernel_threads): Add prototypes. 4112: * vm/vm_init.h: New file. 4113: Add copyright. 4114: [_VM_VM_INIT_H_]: Add ifndef. 4115: (vm_mem_init, vm_mem_bootstrap): Add prototypes. 4116: * vm/vm_pageout.h (vm_pageout): Add prototype. 4117: 4118: kern/sched_prim.c: remove forward declarations 4119: * kern/sched_prim.c (set_pri, do_thread_scan, choose_pset_thread, checkrq, thread_check): Remove forward declarations. 4120: * kern/sched_prim.h (set_pri, do_thread_scan, choose_pset_thread, checkrq, thread_check): Add prototypes. 4121: 4122: kern/processor.c: remove forward declarations 4123: * kern/processor.c (quantum_set, pset_init, processor_init): Remove forward declarations. 4124: * kern/processor.h (quantum_set, pset_init, processor_init): Add prototypes. 4125: 4126: kern/ipc_mig.c: remove forward declarations 4127: * device/ds_routines.h (ds_device_write_trap, ds_device_writev_trap): Add prototypes. 4128: * kern/ipc_mig.c (ds_device_write_trap, ds_device_writev_trap): Remove forward declarations. 4129: 4130: kern/debug.c: remove forward declaration 4131: * kern/debug.c (cnputc): Remove forward declaration. 4132: Include device/cons.h. 4133: 4134: kern/bootstrap.c: remove forward declarations 4135: * i386/i386/pcb.h: Include mach/thread_status.h. 4136: Include machine/thread.h. 4137: * kern/bootstrap.c: Include machine/pcb.h. 4138: (user_stack_low, set_user_regs): Remove forward declarations. 4139: 4140: ipc/mach_msg.c: remove forward declarations 4141: * ipc/mach_msg.c: Include kern/exception.h. 4142: (exception_raise_continue, exception_raise_continue_fast): Remove forward declarations. 4143: * kern/exception.h: Include ipc/ipc_types.h. 4144: Include ipc/ipc_kmsg.h. 4145: 4146: ipc/ipc_table.c: remove forward declaration 4147: * ipc/ipc_table.c (ipc_table_fill): Remove forward declaration. 4148: * ipc/ipc_table.h (ipc_table_fill): Add prototype. 4149: 4150: ipc/ipc_kmsg.c: remove forward declarations 4151: * ipc/ipc_kmsg.c (copyinmap, copyoutmap, ipc_msg_print): Remove forward declarations. 4152: * ipc/ipc_kmsg.h (ipc_msg_print): Add prototype. 4153: 4154: i386/intel/pmap.c: remove forward declarations 4155: * i386/intel/pmap.c (pmap_remove_range, signal_cpus): Remove forward declarations. 4156: * i386/intel/pmap.h (pmap_remove_range, signal_cpus): Add prototypes. 4157: 4158: 2013-12-04 Samuel Thibault <[email protected]> 4159: 4160: Drop duplicate declaration 4161: * i386/i386/model_dep.h (halt_cpu, halt_all_cpus): Remove duplicate 4162: declaration. 4163: * i386/i386at/model_dep.h (halt_cpu, halt_all_cpus): Add comments. 4164: 4165: 2013-12-04 Marin Ramesa <[email protected]> 4166: 4167: i386/i386at: remove forward declarations 4168: * Makefrag.am: Include kern/startup.h. 4169: * i386/i386at/model_dep.c: Include kern/startup.h. 4170: Include i386at/model_dep.h. 4171: (setup_main, halt_all_cpus, halt_cpu, inittodr): Remove forward declarations. 4172: * i386/i386at/model_dep.h (halt_all_cpus, halt_cpu, inittodr): Add prototypes. 4173: * kern/startup.h: New file. 4174: Add copyright. 4175: [_KERN_STARTUP_H_]: Add ifndef. 4176: (setup_main): Add prototype. 4177: 4178: i386/i386at/kd_mouse.c: remove forward declarations 4179: * i386/i386at/kd_mouse.c (mouseintr, mouse_enqueue, mouse_read_done): Remove forward declarations. 4180: (mouseintr): Define argument type. 4181: * i386/i386at/kd_mouse.h (mouseintr, mouse_enqueue, mouse_read_done): Add prototypes. 4182: 4183: i386/i386at/kd_event.c: remove forward declarations 4184: * i386/i386at/kd_event.c (kbd_enqueue, X_kdb_enter_init, X_kdb_exit_init, kbd_read_done): Remove forward declarations. 4185: * i386/i386at/kd_event.h (kbd_enqueue, X_kdb_enter_init, X_kdb_exit_init, kbd_read_done): Add prototypes. 4186: 4187: i386/i386at/kd.c: remove forward declarations 4188: * i386/i386at/kd.c (kd_enqsc, kdcheckmagic, do_modifier, bmpch2bit, bmppaintcsr, bit2fbptr): Remove forward declarations. 4189: * i386/i386at/kd.h: Include device/buf.h. 4190: Include i386at/kdsoft.h. 4191: (kdcheckmagic, do_modifier, bmpch2bit, bmppaintcsr, bit2fbptr): Add prototypes. 4192: * i386/i386at/kd_event.h (kd_enqsc): Add prototype. 4193: 4194: i386/i386at/conf.c: remove forward declarations 4195: * i386/Makefrag.am: Include i386/i386at/model_dep.h and i386/i386at/mem.h. 4196: * i386/i386at/com.h (comgetstat, comsetstat): Declare as extern. 4197: (comopen, comclose, comread, comwrite, comportdeath): Add prototypes. 4198: * i386/i386at/conf.c: Include kern/mach_clock.h and i386at/model_dep.h. 4199: (timeopen, timeclose, timemmap): Remove forward declarations. 4200: (kdopen, kdclose, kdread, kdwrite, kdgetstat, kdsetstat, kdportdeath, kdmmap): Likewise. 4201: (comopen, comclose, comread, comwrite, comportdeath, comgetstat, comsetstat): Likewise. 4202: (lpropen, lprclose, lprread, lprwrite, lprportdeath, lprgetstat, lprsetstat): Likewise. 4203: (kbdopen, kbdclose, kbdread, kbdgetstat, kbdsetstat): Likewise. 4204: (mouseopen, mouseclose, mouseread, mousegetstat): Likewise. 4205: (memmmap): Likewise. 4206: (kmsgopen, kmsgclose, kmsgread, kmsggetstat): Likewise. 4207: (hypcnopen, hypcnclose, hypcnread, hypcnwrite, hypcnportdeath, hypcngetstat, hypcnsetstat): Likewise. 4208: Include i386at/kd.h. 4209: Include i386at/com.h. 4210: Include i386at/lpr.h. 4211: Include i386at/kd_event.h. 4212: Include i386at/kd_mouse.h. 4213: Include i386at/mem.h. 4214: Include device/kmsg.h. 4215: Include xen/console.h. 4216: * i386/i386at/kd.h: Include device/io_req.h. 4217: (kdopen, kdclose, kdread, kdwrite, kdgetstat, kdsetstat, kdportdeath, kdmmap): Add prototypes. 4218: * i386/i386at/kd_event.h (kbdopen, kbdclose, kbdread, kbdgetstat, kbdsetstat): Likewise. 4219: * i386/i386at/kd_mouse.h (mouseopen, mouseclose, mouseread, mousegetstat): Likewise. 4220: * i386/i386at/lpr.h (lpropen, lprclose, lprread, lprwrite, lprportdeath): Likewise. 4221: (lprgetstat, lprsetstat): Declare as extern. 4222: * i386/i386at/mem.h: New file. 4223: Add copyright. 4224: [_MEM_H_]: Add ifndef. 4225: (memmmap): Add prototype. 4226: * i386/i386at/model_dep.c: Include i386/i386at/model_dep.h. 4227: (timemmap): Fix argument list. 4228: * i386/i386at/model_dep.h: New file. 4229: Add copyright. 4230: [_MODEL_DEP_H_]: Add ifndef. 4231: (timemmap): Add prototype. 4232: * kern/mach_clock.h (timeopen, timeclose): Add prototypes. 4233: * xen/console.h (hypcnopen, hypcnclose, hypcnread, hypcnwrite, hypcnportdeath, hypcngetstat, hypcnsetstat): Add prototypes. 4234: 4235: i386/i386at/autoconf.c, com.c, lpr.c: remove forward declarations 4236: * i386/i386/autoconf.c (comintr, lprintr): Remove forward declarations. 4237: Include i386at/com.h. 4238: Include i386at/lprreg.h. 4239: * i386/i386at/com.c (comprobe, commctl, comstart, comstop, comattach, comintr, comgetstat, comsetstat): Remove forward declarations. 4240: * i386/i386at/com.h: Include device/tty.h. 4241: (comprobe, commctl, comstart, comstop, comattach, comintr, comgetstat, comsetstat): Add prototypes. 4242: * i386/i386at/lpr.c (lprprobe, lprstop, lprintr, lprstart, lprattach, lprgetstat, lprsetstat, lprpr_addr): Remove forward declarations. 4243: (lprprobe): Fix argument list. 4244: (lprpr): Define argument type. 4245: lprpr_addr): Likewise. 4246: * i386/i386at/lprreg.h (lprprobe, lprstop, lprintr, lprstart, lprattach, lprgetstat, lprsetstat, lprpr_addr): Add prototypes. 4247: 4248: kern/exception.c: remove forward declarations 4249: * i386/i386/trap.h (thread_kdb_return): Add prototype. 4250: * kern/exception.c (thread_kdb_return, db_printf): Remove forward declarations. 4251: Include machine/trap.h. 4252: Include ddb/db_output.h. 4253: 4254: kern: new header file exception.h 4255: * Makefrag.am: Include kern/exception.h. 4256: * i386/i386/trap.c: Include kern/exception.h. 4257: (exception, thread_exception_return): Remove forward declarations. 4258: * kern/exception.c: Include kern/exception.h. 4259: (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. 4260: * kern/exception.h: New file. 4261: Add copyright. 4262: [_KERN_EXCEPTION_H_]: Add ifndef. 4263: (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. 4264: 4265: i386/i386/pcb.c: remove forward declarations 4266: * i386/i386/pcb.c (Load_context, Switch_context, Thread_continue, user_ldt_free): Remove forward declarations. 4267: * i386/i386/pcb.h (Load_context, Switch_context, Thread_continue): Add prototypes. 4268: * i386/i386/user_ldt.h (user_ldt_free): Add prototype. 4269: 4270: i386/i386/io_perm.c: remove forward declaration 4271: * i386/i386/io_perm.c: Include pcb.h. 4272: (update_ktss_iopb): Remove forward declaration. 4273: * i386/i386/pcb.h (update_ktss_iopb): Add prototype. 4274: 4275: i386/i386/fpu.c, trap.c: remove forward declarations 4276: * i386/i386/fpu.c: Include i386/trap.h. 4277: (void i386_exception, fp_save, fp_load): Remove forward declaration. 4278: * i386/i386/trap.c (void i386_exception): Remove forward declaration. 4279: * i386/i386/trap.h (void i386_exception): Add prototype. 4280: 4281: i386/i386/db_trace.c: remove forward declaration 4282: * i386/i386/db_interface.h: Include ddb/db_variables.h. 4283: (db_i386_reg_value): Add prototype. 4284: * i386/i386/db_trace.c (db_i386_reg_value): Remove forward declaration. 4285: 4286: device/device_init.c: remove forward declarations 4287: * device/dev_lookup.c: Include device/ds_routines.h. 4288: * device/device_init.c: Include device/ds_routines.h. 4289: Include device/net_io.h. 4290: (mach_device_init, dev_lookup_init, net_io_init, device_pager_init, io_done_thread, net_thread): Remove forward declarations. 4291: * device/ds_routines.h (mach_device_init, dev_lookup_init, device_pager_init, io_done_thread): Add prototypes. 4292: * device/net_io.h (net_io_init, net_thread): Add prototypes. 4293: 4294: ddb/db_variables.c: remove forward declarations 4295: * ddb/db_task_thread.h: Include ddb/db_variables.h. 4296: (db_set_default_thread, db_get_task_thread): Add prototypes. 4297: * ddb/db_variables: Include ddb/db_macro.h. 4298: (db_set_default_thread, db_get_task_thread, db_arg_variable): Remove forward declarations. 4299: 4300: ddb/db_trap.c: remove forward declarations 4301: * ddb/db_run.h (db_restart_at_pc, db_stop_at_pc): Add prototypes. 4302: * ddb/db_trap.c (db_restart_at_pc, db_stop_at_pc): Remove forward declarations. 4303: Include ddb/db_run.h. 4304: 4305: ddb/db_command.c: remove useless forward declaration without definition 4306: * ddb/db_command.c (ddb_display): Remove forward declaration. 4307: Remove ddb_display call. 4308: 4309: ddb/db_command.c: remove forward declaration 4310: * ddb/db_command.c (db_reset_cpu): Remove forward declaration. 4311: * i386/i386/db_interface.h (db_reset_cpu): Add prototype. 4312: * i386/i386at/model_dep.c: Include i386/db_interface.h. 4313: 4314: ddb/db_sym.c: fix argument list 4315: * ddb/db_sym.c (dummy_db_free_symbol): Fix argument list. 4316: 4317: ddb/db_sym.c: remove useless forward declarations without definitions 4318: * 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. 4319: (x_db): Modify field definition. 4320: 4321: ddb: new header file db_aout.h 4322: * Makefrag.am: Include ddb/db_aout.h. 4323: * ddb/db_aout.c: Include ddb/db_aout.h. 4324: * ddb/db_aout.h: New file. 4325: Add copyright. 4326: [_DDB_DB_AOUT_H_]: Add ifndef. 4327: Include ddb/db_sym.h. 4328: Include machine/db_machdep.h. 4329: (aout_db_line_at_pc, aout_db_lookup, aout_db_search_symbol, aout_db_symbol_values): Add prototypes. 4330: * ddb/db_sym.c: Include ddb/db_aout.h. 4331: (db_search_in_task_symbol, aout_db_line_at_pc, aout_db_lookup, aout_db_search_symbol, aout_db_symbol_values): Remove forward declarations. 4332: * ddb/db_sym.h (db_search_in_task_symbol): Add prototype. 4333: 4334: ddb/db_aout.c: trivial stylistic fix for consistency 4335: * ddb/db_aout.c: Trivial stylistic fix for consistency. 4336: 4337: ddb/db_run.c: add comment after endif 4338: * ddb/db_run.c [FIXUP_PC_AFTER_BREAK]: Add comment after endif. 4339: 4340: ddb/db_mp.c: add comment after else and endif 4341: * ddb/db_mp.c [CONSOLE_ON_MASTER]: Add comment after else and endif. 4342: 4343: ddb/db_input.c: add comment after endif 4344: * ddb/db_input.c [DB_HISTORY_SIZE]: Add comment after endif. 4345: 4346: ddb/db_command.c: remove forward declarations 4347: * ddb/db_command.c: Include machine/db_interface.h. 4348: (db_help_cmd, db_stack_trace_cmd): Remove forward declarations. 4349: * ddb/db_command.h (db_help_cmd): Add prototype. 4350: * i386/i386/db_interface.h (db_stack_trace_cmd): Add prototype. 4351: 4352: device/net_io.c: initialize hash_entp to NULL 4353: * device/net_io.c (hash_entp): Initialize to NET_HASH_ENTRY_NULL. 4354: 4355: 2013-11-24 Marin Ramesa <[email protected]> 4356: 4357: Modify struct db_variable 4358: * ddb/db_macro.c (db_arg_variable): Make function void. 4359: * ddb/db_macro.h (db_arg_variable): Declare void return. 4360: * ddb/db_task_thread.c (db_set_default_thread): Make function void. 4361: (db_get_task_thread): Make function void. 4362: * ddb/db_variables.c (db_set_default_thread, db_get_task_thread, db_arg_variable): Declare void return. 4363: (db_read_write_variable): Use void in initialization. 4364: * ddb/db_variables.h (db_variable): Make third member return void. 4365: [FCN_NULL]: Define void. 4366: * i386/i386/db_trace.c (db_i386_reg_value): Make function void. 4367: 4368: device: new header file chario.h 4369: * Makefrag.am: Include device/chario.h. 4370: * device/chario.c (queue_delayed_reply, tty_output, char_open_done, char_read_done, char_write_done): Remove forward declarations. 4371: * device/chario.h: New file. 4372: Add copyright. 4373: [_DEVICE_CHARIO_H_]: Add ifndef. 4374: Include device/tty.h. 4375: (queue_delayed_reply, tty_output, char_open_done, char_read_done, char_write_done): Add prototypes. 4376: 4377: ddb/db_examine.c: trivial stylistic fix for consistency 4378: * ddb/db_examine.c: Trivial stylistic fix for consistency. 4379: 4380: ddb: move forward declarations into a header file 4381: * ddb/db_examine.c (db_disasm, db_search): Remove forward declarations. 4382: * ddb/db_examine.h (db_disasm, db_search): Add prototypes. 4383: 4384: ddb: move forward declaration into a header file 4385: * ddb/db_sym.c (db_lookup): Remove forward declaration. 4386: * ddb/db_sym.h (db_lookup): Add prototype. 4387: 4388: ddb: create new header file db_mp.h 4389: * Makefrag.am: Include ddb/db_mp.h. 4390: * ddb/db_mp.c (remote_db, lock_db, unlock_db): Remove forward declarations. 4391: * ddb/db_mp.h: New file. 4392: Add copyright. 4393: [_DDB_DB_MP_H_]: Add ifndef. 4394: (remote_db, lock_db, unlock_db): Add prototypes. 4395: 4396: ddb: move forward declarations into a header file 4397: * ddb/db_run.c (db_set_task_single_step, db_clear_task_single_step): Remove forward declarations. 4398: * ddb/db_run.h (db_set_task_single_step, db_clear_task_single_step): Add prototypes. 4399: 4400: 2013-11-24 Samuel Thibault <[email protected]> 4401: 4402: Simplify test 4403: * ddb/db_sym.c (db_name_is_ambiguous): Simplify test for value returned by 4404: X_db_lookup. 4405: 4406: Drop spurious volatile qualifier 4407: * kern/processor.h (processor_doshutdown): Drop spurious volatile qualifier. 4408: 4409: 2013-11-24 Marin Ramesa <[email protected]> 4410: 4411: kern: move forward declarations into a header file 4412: * kern/machine.c (processor_doaction, processor_doshutdown): Remove forward declarations. 4413: * kern/processor.h (processor_doaction, processor_doshutdown): Add prototypes. 4414: 4415: kern: move forward declaration into a header file 4416: * kern/eventcount.c [NCPUS] (simpler_thread_setrun): Remove forward declaration. 4417: * kern/eventcount.h [NCPUS] (simpler_thread_setrun): Add prototype. 4418: 4419: kern: move forward declaration into a header file 4420: * kern/timer.c (timer_init): Remove forward declaration. 4421: * kern/timer.h (timer_init): Add prototype. 4422: 4423: kern: move forward declaration into a header file 4424: * kern/mach_clock.c (softclock): Remove forward declaration. 4425: * kern/timer.h (softclock): Add prototype. 4426: 4427: kern: move forward declarations into a header file 4428: * kern/thread.c [MACH_DEBUG] (stack_init, stack_finalize): Remove forward declarations. 4429: * kern/thread.h [MACH_DEBUG] (stack_init, stack_finalize): Add prototypes. 4430: 4431: vm: move forward declarations into a header file 4432: * vm/vm_map.c (vm_map_delete, vm_map_copyout_page_list, vm_map_copy_page_discard, vm_map_lookup_entry): Remove forward declarations. 4433: * vm/vm_map.h (vm_map_delete, vm_map_copyout_page_list, vm_map_copy_page_discard, vm_map_lookup_entry): Add prototypes. 4434: 4435: vm: move forward declarations into a header file 4436: * vm/vm_object.c (memory_object_release, vm_object_deactivate_pages, vm_object_copy_delayed): Remove forward declarations. 4437: * vm/vm_object.h (memory_object_release, vm_object_deactivate_pages, vm_object_copy_delayed): Add prototypes. 4438: 4439: 2013-11-24 Samuel Thibault <[email protected]> 4440: 4441: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 4442: 4443: 2013-11-24 Marin Ramesa <[email protected]> 4444: 4445: Remove leftover register qualifiers 4446: * ddb/db_break.c: Remove register qualifiers. 4447: * i386/i386/pcb.c: Likewise. 4448: * i386/i386at/com.c: Likewise. 4449: * i386/i386at/lpr.c: Likewise. 4450: * i386/intel/pmap.c: Likewise. 4451: * kern/machine.c: Likewise. 4452: * kern/queue.h: Likewise. 4453: * kern/sched_prim.c: Likewise. 4454: * kern/sched_prim.h: Likewise. 4455: * kern/timer.c: Likewise. 4456: * vm/vm_fault.c: Likewise. 4457: * vm/vm_resident.h: Likewise. 4458: 4459: 2013-11-24 Richard Braun <[email protected]> 4460: 4461: New RPC for thread destruction 4462: A new call, thread_terminate_release, is added to support self 4463: destruction in threading libraries. 4464: 4465: * include/mach/gnumach.defs (thread_terminate_release): New 4466: simpleroutine declaration. 4467: * kern/thread.c: Include vm/vm_user.h and ipc/mach_port.h. 4468: (thread_terminate_release): New function. 4469: * kern/thread.h (thread_terminate_release): New prototype. 4470: 4471: 2013-11-24 Richard Braun <[email protected]> 4472: 4473: Export mach_port_destroy declaration 4474: * ipc/mach_port.h (mach_port_destroy): Add prototype. 4475: 4476: 2013-11-22 Marin Ramesa <[email protected]> 4477: 4478: ddb/db_break.c: remove duplicate include 4479: * ddb/db_break.c: Don't include ddb/db_access.h. 4480: 4481: 2013-11-21 Marin Ramesa <[email protected]> 4482: 4483: i386/i386/db_interface.h: fix implicit declaration of function 4484: * i386/i386/db_interface.h (cnpollc): Add prototype. 4485: 4486: ddb/db_sym.c: move assignment outside if 4487: * ddb/db_sym.c: Move assignment outside of if. 4488: (db_lookup): New variable. 4489: 4490: i386/i386at/kd.h: fix implicit declaration of function 4491: * i386/i386at/kd.h [MACH_KDB] (kdb_kintr): Add prototype. 4492: 4493: ddb/db_break.c: fix implicit declaration of functions 4494: * ddb/db_break.c: Include machine/db_interface.h. 4495: 4496: 2013-11-20 Marin Ramesa <[email protected]> 4497: 4498: i386/i386/trap.c: fix implicit declaration of function 4499: * i386/i386/trap.c: Include machine/db_interface.h. 4500: 4501: i386/i386/db_trace.c: don't cast to db_addr_t 4502: * i386/i386/db_trace.c (db_check_thread_address_valid): Don't cast argument 1 to db_addr_t. 4503: 4504: 2013-11-20 Samuel Thibault <[email protected]> 4505: 4506: Comment out db_search_null 4507: * i386/i386/db_interface.c (db_search_null) [!GNU]: Do not define 4508: db_search_null. 4509: 4510: 2013-11-20 Marin Ramesa <[email protected]> 4511: 4512: i386/i386/db_interface.c: add comments after else and endif 4513: * i386/i386/db_interface.c [GNU]: Add comments after else and endif. 4514: 4515: 2013-11-20 Marin Ramesa <[email protected]> 4516: 4517: i386/i386/db_interface.c: remove return value 4518: Void function returns with FALSE. Remove return value. 4519: 4520: * i386/i386/db_interface.c (db_task_name): Remove return value. 4521: 4522: 2013-11-20 Marin Ramesa <[email protected]> 4523: 4524: i386/i386/db_trace.c: fix implicit declaration of function 4525: * i386/i386/db_trace.c: Include machine/db_interface.h. 4526: 4527: i386/i386/db_interface.c: fix implicit declaration of function 4528: * i386/i386/db_interface.c: Include string.h. 4529: 4530: i386/i386/db_interface.c: fix implicit declaration of function 4531: * i386/i386/db_interface.c: Include vm/vm_fault.h. 4532: 4533: Fix implicit declaration of function 4534: * ddb/db_sym.c (aout_db_sym_init): Remove forward declaration. 4535: * ddb/db_sym.h (aout_db_sym_init): Add prototype. 4536: * i386/i386at/model_dep.c (aout_db_sym_init): Fix call. 4537: [MACH_KDB]: Include ddb/db_sym.h. 4538: [MACH_KDB]: Add comment after else and endif. 4539: 4540: kern/xpr.c: quiet warning about uninitialized variable 4541: * kern/xpr.c (s): Initialize. 4542: 4543: kern/startup.c: fix implicit declaration of function 4544: * kern/startup.c [MACH_KDB]: Include device/cons.h. 4545: 4546: ipc/ipc_print.h: include ipc/ipc_pset.h for ipc_pset_t 4547: * ipc/ipc_print.h: Include ipc/ipc_pset.h for ipc_pset_t. 4548: 4549: ddb/db_variables.c: fix initializations from incompatible pointer type 4550: * ddb/db_variables.c (db_set_default_thread, db_get_task_thread, db_arg_variable, fcn): Declare long return type. 4551: 4552: ddb/db_run.c: move declaration of brpc into SOFTWARE_SSTEP 4553: * ddb/db_run.c (brpc): Move declaration into SOFTWARE_SSTEP code. 4554: 4555: ddb/db_run.c: trivial stylistic fix for consistency 4556: * ddb/db_run.c: Trivial stylistic fix for consistency. 4557: 4558: ddb/db_run.c: remove set but unused variable 4559: * ddb/db_run.c (ins): Remove variable. 4560: 4561: ddb: fix implicit declaration of function 4562: * ddb/db_variables.c (db_read_write_variable): Remove forward declaration. 4563: * ddb/db_variables.h (db_read_write_variable): Add prototype. 4564: 4565: ddb/db_examine.c: add missing cast 4566: ddb/db_examine.c (addr, count): Cast to (db_expr_t *). 4567: 4568: Add comment 4569: * ddb/db_command.c [DB_MACHINE_COMMANDS]: Add comment after endif. 4570: 4571: 2013-11-20 Samuel Thibault <[email protected]> 4572: 4573: Drop volatile function qualifier 4574: * i386/i386/setjmp.h (_longjmp): Drop volatile function qualifier. 4575: 4576: 2013-11-20 Marin Ramesa <[email protected]> 4577: 4578: ddb/db_break.c: quiet GCC warning about uninitialized variable 4579: * ddb/db_break.c (bkpt): Initialize. 4580: 4581: 2013-11-19 Marin Ramesa <[email protected]> 4582: 4583: kern/slab.c: initialize info_size 4584: info_size is initialized to a random value. Quiet the warning by 4585: initializing to zero. 4586: 4587: * kern/slab.c (info_size): Initialize to zero. 4588: 4589: 2013-11-19 Marin Ramesa <[email protected]> 4590: 4591: kern/slab.c: initialize optimal_embed 4592: optimal_embed is initialized to a random value. Quiet the warning by 4593: initializing to zero. 4594: 4595: * kern/slab.c (optimal_embed): Initialize to zero. 4596: 4597: 2013-11-19 Marin Ramesa <[email protected]> 4598: 4599: Add copyright 4600: * ddb/db_write_cmd.h: Add copyright. 4601: * ipc/ipc_print.h: Likewise. 4602: * vm/vm_print.h: Likewise. 4603: 4604: 2013-11-18 Marin Ramesa <[email protected]> 4605: 4606: Add ifndefs 4607: Finish up with the addition of ifndefs. 4608: 4609: * device/buf.h: Add ifndef. 4610: * device/dev_master.h: Likewise. 4611: * include/device/tty_status.h: Likewise. 4612: * include/mach/version.h: Likewise. 4613: * ipc/ipc_machdep.h: Likewise. 4614: 4615: 2013-11-17 Marin Ramesa <[email protected]> 4616: 4617: ddb/stab.h: add ifndef 4618: * ddb/stab.h: Add ifndef. 4619: 4620: ddb/db_write_cmd.c: remove register qualifiers 4621: * ddb/db_write_cmd.c: Remove register qualifiers. 4622: 4623: ddb/db_watch.c: remove register qualifiers 4624: * ddb/db_watch.c: Remove register qualifiers. 4625: 4626: ddb/db_variables.c: remove register qualifiers 4627: * ddb/db_variables.c: Remove register qualifiers. 4628: 4629: ddb/db_task_thread.c: remove register qualifiers 4630: * ddb/db_task_thread.c: Remove register qualifiers. 4631: 4632: ddb/db_sym.h: add comment after endif 4633: * ddb/db_sym.h: Add comment after endif. 4634: 4635: ddb/db_sym.c: remove register qualifiers 4636: * ddb/db_sym.c: Remove register qualifiers. 4637: 4638: ddb/db_run.h: add ifndef 4639: * ddb/db_run.h: Add ifndef. 4640: 4641: ddb/db_run.c: remove register qualifiers 4642: * ddb/db_run.c: Remove register qualifiers. 4643: 4644: ddb/db_print.c: remove register qualifiers 4645: * ddb/db_print.c: Remove register qualifiers. 4646: 4647: ddb/db_output.h: add ifndef 4648: * ddb/db_output.h: Add ifndef. 4649: 4650: ddb/db_output.c: remove register qualifiers 4651: * ddb/db_output.c: Remove register qualifiers. 4652: 4653: ddb/db_mp.c: remove register qualifier 4654: * ddb/db_mp.c: Remove register qualifier. 4655: 4656: ddb/db_macro.c: remove register qualifiers 4657: * ddb/db_macro.c: Remove register qualifiers. 4658: 4659: ddb/db_lex.h: add ifndef 4660: * ddb/db_lex.h: Add ifndef. 4661: 4662: ddb/db_lex.c: remove register qualifiers 4663: * ddb/db_lex.c: Remove register qualifiers. 4664: 4665: ddb/db_input.c: remove register qualifiers 4666: * ddb/db_input.c: Remove register qualifiers. 4667: 4668: ddb/db_expr.c: remove register qualifier 4669: * ddb/db_expr.c: Remove register qualifier. 4670: 4671: ddb/db_examine.c: remove register qualifiers 4672: * ddb/db_examine.c: Remove register qualifiers. 4673: 4674: ddb/db_cond.c: remove register qualifiers 4675: * ddb/db_cond.c: Remove register qualifiers. 4676: 4677: ddb/db_command.h: add ifndef 4678: * ddb/db_command.h: Add ifndef. 4679: 4680: ddb/db_command.c: remove register qualifiers 4681: * ddb/db_command.c: Remove register qualifiers. 4682: 4683: ddb/db_break.c: remove register qualifiers 4684: * ddb/db_break.c: Remove register qualifiers. 4685: 4686: ddb/db_aout.c: remove register qualifiers 4687: * ddb/db_aout.c: Remove register qualifiers. 4688: 4689: ddb/db_access.h: add ifndef 4690: * ddb/db_access.h: Add ifndef. 4691: 4692: ddb/db_access.c: remove register qualifiers 4693: * ddb/db_access.c: Remove register qualifiers. 4694: 4695: 2013-11-17 Samuel Thibault <[email protected]> 4696: 4697: Remove dead code 4698: Thanks Marin Ramesa for the report. 4699: 4700: * i386/i386/user_ldt.c (selector_check): Remove function. 4701: * i386/i386/user_ldt.h (S_CODE, S_STACK, S_DATA): Remove macros. 4702: (selector_check): Remove declaration. 4703: 4704: 2013-11-15 Marin Ramesa <[email protected]> 4705: 4706: i386/intel/read_fault.c: remove register qualifier 4707: * i386/intel/read_fault.c: Remove register qualifier. 4708: 4709: i386/intel/pmap.h: remove register qualifiers 4710: * i386/intel/pmap.h: Remove register qualifiers. 4711: 4712: i386/intel/pmap.c: remove register qualifiers 4713: * i386/intel/pmap.c: Remove register qualifiers. 4714: 4715: i386/i386at/rtc.h: remove register qualifiers 4716: * i386/i386at/rtc.h: Remove register qualifiers. 4717: 4718: i386/i386at/rtc.c: remove register qualifier 4719: * i386/i386at/rtc.c: Remove register qualifier. 4720: 4721: i386/i386at/lpr.c: remove register qualifier 4722: * i386/i386at/lpr.c: Remove register qualifier. 4723: 4724: i386/i386at/kd_mouse.c: remove register qualifiers 4725: * i386/i386at/kd_mouse.c: Remove register qualifiers. 4726: 4727: i386/i386at/kd.c: remove register qualifiers 4728: * i386/i386at/kd.c: Remove register qualifiers. 4729: 4730: i386/i386at/kd_event.c: remove register qualifiers 4731: * i386/i386at/kd_event.c: Remove register qualifiers. 4732: 4733: i386/i386at/int_init.h: add comment after endif 4734: * i386/i386at/int_init.h (__ASSEMBLER__): Add comment after endif. 4735: 4736: i386/i386at/idt.h: add comment after endif 4737: * i386/i386at/idt.h (__ASSEMBLER__): Add comment after endif. 4738: 4739: i386/i386at/com.c: remove register qualifiers 4740: * i386/i386at/com.c: Remove register qualifiers. 4741: 4742: i386/i386at/com.c: trivial stylistic fix for consistency 4743: * i386/i386at/com.c: Trivial stylistic fix for consistency. 4744: 4745: i386/i386at/autoconf.c: remove register qualifiers 4746: * i386/i386at/autoconf.c: Remove register qualifiers. 4747: 4748: i386/i386/trap.c: remove register qualifiers 4749: * i386/i386/trap.c: Remove register qualifiers. 4750: 4751: i386/i386/thread.h: add comment after endif 4752: * i386/i386/thread.h (LINUX_DEV): Add comment after endif. 4753: 4754: i386/i386/pic.h: add comment after endif 4755: * i386/i386/pic.h (__ASSEMBLER__): Add comment after endif. 4756: 4757: i386/i386/pcb.c: remove register qualifiers 4758: * i386/i386/pcb.c: Remove register qualifiers. 4759: 4760: i386/i386/mp_desc.c: remove register qualifiers 4761: * i386/i386/mp_desc.c: Remove register qualifiers. 4762: 4763: i386/i386/machine_routines.h: add comment after endif 4764: * i386/i386/machine_routines.h (_I386_MACHINE_ROUTINES_H_): Add comment after endif. 4765: 4766: i386/i386/loose_ends.c: remove unused variable 4767: * i386/i386/loose_ends.c (boothowto): Remove unused variable. 4768: 4769: i386/i386/loose_ends.c: add comment after endif 4770: * i386/i386/loose_ends.c (NDEBUG): Add comment after endif. 4771: 4772: i386/i386/lock.h: remove register quaalifier 4773: * i386/i386/lock.h: Remove register qualifier. 4774: 4775: i386/i386/kttd_interface.c: trivial stylistic fix for consistency 4776: * i386/i386/kttd_interface.c: Trivial stylistic fix for consistency. 4777: 4778: i386/i386/hardclock.c: add comment after endif 4779: * i386/i386/hardclock.c (LINUX_DEV): Add comment after endif. 4780: 4781: i386/i386/fpu.h: remove register qualifiers 4782: * i386/i386/fpu.h: Remove register qualifiers. 4783: 4784: i386/i386/fpu.c: remove register qualifiers 4785: * i386/i386/fpu.c: Remove register qualifiers. 4786: 4787: i386/i386/db_trace.c: qualify constants with const 4788: * i386/i386/db_trace.c: Qualify constants with const. 4789: 4790: i386/i386/db_trace.c: remove register qualifiers 4791: * i386/i386/db_trace.c: Remove register qualifiers. 4792: 4793: i386/i386/db_interface.c: remove register qualifiers 4794: * i386/i386/db_interface.c: Remove register qualifiers. 4795: 4796: Fix typo 4797: 4798: i386/i386/vm_tuning.h: remove file 4799: * i386/Makefrag.am: Remove i386/i386/vm_tuning.h. 4800: * i386/i386/vm_tuning.h: Remove file. 4801: * vm/vm_pageout.c: Don't include i386/i386/vm_tuning.h. 4802: 4803: i386/i386at: add ifndefs 4804: * i386/i386at/kd_queue.h: Add ifndef. 4805: * i386/i386at/kdsoft.h: Likewise. 4806: * i386/i386at/lprreg.h: Likewise. 4807: * i386/i386at/rtc.h: Likewise. 4808: 4809: chips/busses.c: remove register qualifiers 4810: * chips/busses.c: Remove register qualifiers. 4811: 4812: chips/busses.c: use boolean instead of an int 4813: * chips/busses.c (found): Constrain range of values to a boolean. 4814: 4815: vm/vm_user.c: remove register qualifiers 4816: * vm/vm_user.c: Remove register qualifiers. 4817: 4818: vm/vm_resident.c: remove register qualifiers 4819: * vm/vm_resident.c: Remove register qualifiers. 4820: 4821: vm/vm_pageout.c: remove register qualifiers 4822: * vm/vm_pageout.c: Remove register qualifiers. 4823: 4824: vm/vm_object.c: remove register qualifiers 4825: * vm/vm_object.c: Remove register qualifiers. 4826: 4827: vm/vm_map.c: remove register qualifiers 4828: * vm/vm_map.c: Remove register qualifiers. 4829: 4830: vm/vm_map.c: trivial stylistic fix for consistency 4831: * vm/vm_map.c: Trivial stylistic fix for consistency. 4832: 4833: vm/vm_kern.c: remove register qualifiers 4834: * vm/vm_kern.c: Remove register qualifiers. 4835: 4836: vm/vm_fault.c: remove register qualifiers 4837: * vm/vm_fault.c: Remove register qualifiers. 4838: 4839: vm/vm_fault.c: remove unused variable 4840: * vm/vm_fault.c: Remove unused variable. 4841: 4842: vm/memory_object_proxy.h: fix definition 4843: * vm/memory_object_proxy.h (_VM_MEMORY_OBJECT_PROXY_H_): Fix definition. 4844: 4845: vm/memory_object.c: remove register qualifiers 4846: * vm/memory_object.c: Remove register qualifiers. 4847: 4848: 2013-11-13 Marin Ramesa <[email protected]> 4849: 4850: kern: remove register qualifiers 4851: * kern/xpr.c: Remove register qualifiers. 4852: 4853: kern: remove register qualifiers 4854: * kern/timer.h: Remove register qualifiers. 4855: 4856: kern: remove register qualifiers 4857: * kern/timer.c: Remove register qualifiers. 4858: 4859: kern: remove register qualifiers 4860: * kern/thread_swap.c: Remove register qualifiers. 4861: 4862: kern: remove register qualifiers 4863: * kern/thread.c: Remove register qualifiers. 4864: 4865: kern: remove register qualifiers 4866: * kern/task.c: Remove register qualifiers. 4867: 4868: kern: remove register qualifiers 4869: * kern/syscall_subr.c: Remove register qualifiers. 4870: 4871: kern: remove register qualifiers 4872: * kern/syscall_emulation.c: Remove register qualifiers. 4873: 4874: kern: remove register qualifiers 4875: * kern/strings.c: Remove register qualifiers. 4876: 4877: kern: remove register qualifiers 4878: * kern/startup.c: Remove register qualifiers. 4879: 4880: kern: remove register qualifiers 4881: * kern/sched_prim.c: Remove register qualifiers. 4882: 4883: kern: remove register qualifiers 4884: * kern/sched.h: Remove register qualifiers. 4885: 4886: kern: remove register qualifiers 4887: * kern/queue.h: Remove register qualifiers. 4888: 4889: kern: remove register qualifiers 4890: * kern/queue.c: Remove register qualifiers. 4891: 4892: kern: remove register qualifiers 4893: * kern/processor.c: Remove register qualifiers. 4894: 4895: kern: remove register qualifiers 4896: * kern/priority.c: Remove register qualifiers. 4897: 4898: kern: remove register qualifiers 4899: * kern/printf.c: Remove register qualifiers. 4900: 4901: kern: remove register qualifiers 4902: * kern/pc_sample.c: Remove register qualifiers. 4903: 4904: kern: remove register qualifiers 4905: * kern/machine.c: Remove register qualifiers. 4906: 4907: kern: remove register qualifiers 4908: * kern/mach_factor.c: Remove register qualifiers. 4909: 4910: kern: remove register qualifiers 4911: * kern/mach_clock.c: Remove register qualifiers. 4912: 4913: kern: remove register qualifiers 4914: * kern/lock_mon.c: Remove register qualifiers. 4915: 4916: kern: remove register qualifiers 4917: * kern/lock.c: Remove register qualifiers. 4918: 4919: kern: remove register qualifiers 4920: * kern/ipc_tt.c: Remove register qualifiers. 4921: 4922: kern: remove register qualifiers 4923: * kern/ipc_sched.c: Remove register qualifiers. 4924: 4925: kern: remove register qualifiers 4926: * kern/ipc_mig.c: Remove register qualifiers. 4927: 4928: kern: remove register qualifiers 4929: * kern/host.c: Remove register qualifiers. 4930: 4931: kern: remove register qualifiers 4932: * kern/exception.c: Remove register qualifiers. 4933: 4934: kern: remove register qualifiers 4935: * kern/eventcount.c: Remove register qualifiers. 4936: 4937: kern: remove register qualifiers 4938: * kern/bootstrap.c: Remove register qualifiers. 4939: 4940: kern: remove register qualifiers 4941: * kern/ast.c: Remove register qualifiers. 4942: 4943: kern: remove register qualifiers 4944: * kern/act.c: Remove register qualifiers. 4945: 4946: 2013-11-11 Marin Ramesa <[email protected]> 4947: 4948: ipc: remove register qualifiers 4949: * ipc/ipc_thread.h: Remove register qualifiers. 4950: 4951: ipc: remove register qualifiers 4952: * ipc/mach_msg.c: Remove register qualifiers. 4953: 4954: ipc: qualify constants with const 4955: * ipc/ipc_table.c: Qualify constants with const. 4956: 4957: ipc: trivial stylistic fix for consistency 4958: * ipc/ipc_pset.c: Trivial stylistic fix for consistency. 4959: 4960: 2013-11-11 Samuel Thibault <[email protected]> 4961: 4962: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 4963: 4964: 2013-11-11 Marin Ramesa <[email protected]> 4965: 4966: ipc: remove register qualifiers 4967: * ipc/ipc_kmsg.c: Remove register qualifiers. 4968: 4969: 2013-11-11 Justus Winter <[email protected]> 4970: 4971: kern: fix the error handling in exec_load 4972: Found using the Clang Static Analyzer. 4973: 4974: * kern/elf-load.c (exec_load): Properly propagate errors. 4975: 4976: 2013-11-10 Marin Ramesa <[email protected]> 4977: 4978: kern: comment unused variable 4979: Variable reply_port is never used. There is indication in the comments 4980: that it might be used in future function call, so comment it. 4981: 4982: * kern/ipc_mig.c (syscall_device_writev_request): Comment variable. 4983: 4984: 2013-11-10 Marin Ramesa <[email protected]> 4985: 4986: device: initialize to zero offset 4987: Initialize addr to zero offset to quiet warnings about uninitialized 4988: deallocation. 4989: 4990: * device/chario.c (addr): Initialize to zero. 4991: 4992: 2013-11-10 Marin Ramesa <[email protected]> 4993: 4994: remove register qualifiers 4995: * device/subrs.c: Remove register qualifiers. 4996: 4997: remove register qualifiers 4998: * device/net_io.c: Remove register qualifiers. 4999: 5000: remove definitions of ETHERMTU and ETHERMIN 5001: * device/if_ether.h (ETHERMTU, ETHERMIN): Remove unused definitions. 5002: 5003: remove register qualifiers 5004: * device/blkio.c: Remove register qualifiers. 5005: 5006: 2013-11-09 Vladimir 'φ-coder/phcoder' Serbinenko <[email protected]> 5007: 5008: Fix overflow in Xen clock computation 5009: * xen/time.c (hyp_get_stime): Split `delta` into `delta_high` and 5010: `delta_low`, as it may overflow 4 second timing nowadays. 5011: 5012: 2013-11-09 Marin Ramesa <[email protected]> 5013: 5014: Remove lint code 5015: 5016: 2013-10-10 Richard Braun <[email protected]> 5017: 5018: Increase kernel map entry pool size 5019: * vm/vm_map.h (KENTRY_DATA_SIZE): Set to 256 pages. 5020: 1.1.1.9 ! root 5021: 2013-10-09 Richard Braun <[email protected]> ! 5022: ! 5023: VM cache policy change ! 5024: This patch lets the kernel unconditionnally cache non empty unreferenced ! 5025: objects instead of using a fixed arbitrary limit. As the pageout daemon ! 5026: evicts pages, it collects cached objects that have become empty. The ! 5027: effective result is a graceful adjustment of the number of objects ! 5028: related to memory management (virtual memory objects, their associated ! 5029: ports, and potentially objects maintained in the external memory ! 5030: managers). Physical memory can now be almost entirely filled up with ! 5031: cached pages. In addition, these cached pages are not automatically ! 5032: deactivated as objects can quickly be referenced again. ! 5033: ! 5034: There are problems with this patch however. The first is that, on ! 5035: machines with a large amount of physical memory (above 1 GiB but it also ! 5036: depends on usage patterns), scalability issues are exposed. For example, ! 5037: file systems which don't throttle their writeback requests can create ! 5038: thread storms, strongly reducing system responsiveness. Other issues ! 5039: such as linear scans of memory objects also add visible CPU overhead. ! 5040: ! 5041: The second is that, as most memory is used, it increases the chances of ! 5042: swapping deadlocks. Applications that map large objects and quickly ! 5043: cause lots of page faults can still easily bring the system to its ! 5044: knees. ! 5045: 1.1.1.7 root 5046: 2013-09-28 Samuel Thibault <[email protected]> 5047: 5048: Add files missing in distrib tarball 5049: * Makefrag.am (libkernel_a_SOURCES): Add ddb/db_write_cmd.h, 5050: ipc/ipc_print.h, vm/vm_print.h 5051: * linux/Makefrag.am (EXTRA_DIST): Add linux/src/drivers/scsi/FlashPoint.c, 5052: linux/src/drivers/scsi/eata_pio_proc.c, linux/src/drivers/scsi/scsiiom.c. 5053: 1.1.1.6 root 5054: 2013-09-27 Thomas Schwinge <[email protected]> 5055: 1.1.1.7 root 5056: Merge remote-tracking branch 'savannah/master' into master 5057: 1.1.1.6 root 5058: GNU Mach 1.4. 5059: * version.m4 (AC_PACKAGE_VERSION): Set to 1.4. 5060: * NEWS: Finalize changes for 1.4. 5061: * README: Update. 5062: 5063: * configure.ac (AM_INIT_AUTOMAKE): Add dist-bzip2. 5064: 5065: Generate ChangeLog files for distributions. 5066: * gitlog-to-changelog: New file; import from gnulib's 5067: 9fc81090f6c5590bd1b0e0fa5087577a2ee43a3e:build-aux/gitlog-to-changelog. 5068: * Makefile.am (gen-ChangeLog): New target. 5069: (dist-hook): Depend on it. 5070: 5071: dist-hook extensibility. 5072: * Makefile.am (dist-hook): Rename to... 5073: (dist-rm-CVS): ... this new target. 5074: (dist-hook): Depend on it. 5075: 5076: * README: Simplify build instructions. 5077: Follow-up to commit 471e5b080f7790c2cf95e3069d9fed1173c9ec17. 5078: 1.1.1.7 root 5079: 2013-09-27 Svante Signell <[email protected]> 5080: 5081: Fix typo 5082: * README: Fix typo. 5083: 1.1.1.6 root 5084: 2013-09-26 Samuel Thibault <[email protected]> 5085: 5086: Fix gpl.texi build 5087: texinfo does not support @heading/@center in the middle of an enumerate. 5088: 5089: * doc/gpl.texi: Move "NO WARRANTY" to item heading. 5090: 5091: 2013-09-26 Samuel Thibault <[email protected]> 5092: 5093: Really update README 5094: * README: Network drivers are actually enabled by default. 5095: 5096: Update README 5097: * README: Update default drivers notice. Mention cross-compilation flags 5098: for 64bit systems. 5099: 5100: 2013-09-24 Samuel Thibault <[email protected]> 5101: 5102: Drop Invariant, Front-Cover and Back-Cover references 5103: The referenced Invariant sections does not exist, and the front and back 5104: covers do not hold much information. 5105: 5106: 2013-09-22 Marin Ramesa <[email protected]> 5107: 5108: device: remove unused file dk_label.c 5109: * device/dk_label.c: Remove file. 5110: 5111: 2013-09-21 Marin Ramesa <[email protected]> 5112: 5113: add comments after endifs 5114: * device/ds_routines.c [CONFIG_PCMCIA, CONFIG_INET, LINUX_DEV, MACH_HYP]: Add comments after endifs. 5115: 5116: remove lint code 5117: * device/ds_routines.c [lint]: Remove ifdefs and associated code. 5118: 5119: remove register qualifiers 5120: * device/ds_routines.c: Remove register qualifiers. 5121: 5122: remove lint code 5123: * device/dev_pager.c [lint]: Remove ifdefs and associated code. 5124: 5125: Coding style trivial fixes 5126: 5127: remove register qualifiers 5128: * device/dev_pager.c: Remove register qualifiers. 5129: 5130: 2013-09-16 Marin Ramesa <[email protected]> 5131: 5132: another small change in style for consistency 5133: * device/dev_name.c: Change in coding style. 5134: 5135: 2013-09-16 Marin Ramesa <[email protected]> 5136: 5137: use boolean_t instead of an int 5138: Variable 'found' already receives values TRUE and FALSE, so why not make 5139: it a boolean. 5140: 5141: * device/dev_name.c: Use boolean_t instead of an int. 5142: 5143: 2013-09-16 Marin Ramesa <[email protected]> 5144: 5145: remove preprocessor comments 5146: The first one is a message that name lookup has been called, which 5147: I think is safe to remove, or maybe add #if DEBUG. Second one is a 5148: alternate calculation that I doubt it will ever be used, so I think 5149: it's safe to remove it. 5150: 5151: * device/dev_name.c: Remove preprocessor comments. 5152: 5153: 2013-09-16 Marin Ramesa <[email protected]> 5154: 5155: another small change in style for consistency 5156: * device/dev_name.c: Change in coding style. 5157: 5158: small style changes for consistency 5159: * device/dev_name: Changes in coding style. 5160: 5161: remove register qualifiers 5162: * device/dev_name.c: Remove register qualifiers. 5163: 5164: 2013-09-15 Marin Ramesa <[email protected]> 5165: 5166: remove definition of NDEVICES 5167: NDEVICES is never used. Judging by the position and the comments 5168: it was once used in initialization, but it's not anymore. I think 5169: it's safe to remove it. 5170: 5171: * device/dev_lookup.c (NDEVICES): Remove definition. 5172: 5173: 2013-09-15 Marin Ramesa <[email protected]> 5174: 5175: remove register qualifiers 5176: * device/dev_lookup.c: Remove register qualifiers. 5177: 5178: 2013-09-11 Marin Ramesa <[email protected]> 5179: 5180: remove register qualifiers. 5181: * device/cirbuf.c: Remove register qualifiers. 5182: 5183: 2013-09-11 Marin Ramesa <[email protected]> 5184: 5185: track the console init with a boolean instead of an int 5186: A variable that keeps track if the console init has been called. It should 5187: never receive values other than 0 and 1, so constrain it's possible range of 5188: values to a boolean. 5189: 5190: * device/cons.c (cn_inited): Use boolean_t instead of an int. 5191: 5192: 2013-09-11 Marin Ramesa <[email protected]> 5193: 5194: track the console buffer usage with a boolean instead of an int 5195: A variable that keeps track of the console buffer usage should never receive 5196: values other than 0 and 1, so constrain it's value range to boolean. Plus, it's 5197: more readable this way. 5198: 5199: * device/cons.c (consbufused): Use boolean_t instead of an int. 5200: 5201: 2013-09-11 Marin Ramesa <[email protected]> 5202: 5203: drop unused CONSMAJOR 5204: CONSMAJOR is never used. I'm guessing that in the past it was 5205: a part of some problematic code. I don't see a reason to keep 5206: it's definition. 5207: 5208: * device/cons.h (CONSMAJOR): Remove definition. 5209: 5210: 2013-09-09 Marin Ramesa <[email protected]> 5211: 5212: Remove register qualifiers 5213: * device/chario.c: Remove register qualifiers. 5214: 5215: Add const qualifiers. 5216: * device/chario.c (tty_inq_size, tty_outq_size): Qualify constants as const. 5217: 5218: Drop useless forward declaration 5219: * device/chario.c (tty_flush): Remove forward declaration (prototype is in tty.h). 5220: 5221: Drop luna88k bits 5222: * device/tty.h [luna88k]: Remove ifdef and include for nonexistent header files. 5223: * kern/debug.c: Remove check for luna88k. 5224: 5225: 2013-08-28 Samuel Thibault <[email protected]> 5226: 5227: Drop FXSR initialization message 5228: * i386/i386/fpu.c (init_fpu): Drop FXSR initialization message 5229: 5230: 2013-07-18 Marin Ramesa <[email protected]> 5231: 5232: kern: add missing prototype 5233: * kern/lock.h (db_show_all_slocks): Add prototype. 5234: 5235: ipc: organize ipc print function prototypes 5236: * ipc/ipc_print.h: New file. 5237: [MACH_KDB] Include <mach/mach_types.h>. 5238: [MACH_KDB] Include <mach/message.h>. 5239: [MACH_KDB] Include <ipc/ipc_types.h>. 5240: (ipc_port_print): Add prototype. 5241: (ipc_pset_print): Likewise. 5242: (ipc_kmsg_print): Likewise. 5243: (ipc_msg_print): Likewise. 5244: * ipc/ipc_port.h (ipc_port_print): Remove prototype. 5245: * ipc/ipc_port.c [MACH_KDB]: Include <ipc/ipc_print.h>. 5246: * ipc/ipc_pset.h (ipc_pset_print): Remove prototype. 5247: * ipc/ipc_pset.c [MACH_KDB]: Include <ipc/ipc_print.h>. 5248: * ipc/ipc_kmsg.c [MACH_KDB]: Include <ipc/ipc_print.h>. 5249: 5250: vm: organize vm print function prototypes 5251: * vm/vm_print.h: New file. 5252: Include <vm/vm_map.h>. 5253: Include <machine/db_machdep.h>. 5254: (vm_map_print): Add prototype. 5255: (vm_map_copy_print): Likewise. 5256: (vm_object_print): Likewise. 5257: (vm_page_print): Likewise. 5258: Include <vm/vm_object.h>. 5259: Include <vm/vm_page.h> 5260: * vm/vm_map.h (vm_map_print): Remove prototype. 5261: * vm/vm_map.c [MACH_KDB]: Include <vm/vm_print.h>. 5262: * vm/vm_object.h (vm_object_print): Remove prototype. 5263: * vm/vm_object.c [MACH_KDB]: Include <vm/vm_print.h>. 5264: * vm/vm_resident.c [MACH_KDB]: Include <vm/vm_print.h>. 5265: 5266: ddb: cleanup db_command.c 5267: * ddb/db_command.c (_longjmp): Remove prototype. 5268: (vm_map_print): Likewise. 5269: (vm_object_print): Likewise. 5270: (vm_page_print): Likewise. 5271: (vm_map_copy_print): Likewise. 5272: (ipc_port_print): Likewise. 5273: (ipc_pset_print): Likewise. 5274: (db_show_all_slocks): Likewise. 5275: (ipc_kmsg_print): Likewise. 5276: (ipc_msg_print): Likewise. 5277: Include <vm/vm_print.h>. 5278: Include <ipc/ipc_print.h>. 5279: Include <kern/lock.h>. 5280: * i386/i386/setjmp.h [__GNUC__] (_longjmp): Add prototype. 5281: 5282: 2013-07-07 Marin Ramesa <[email protected]> 5283: 5284: fix implicit declarations 5285: * ddb/db_trap.c: Include <machine/setjmp.h>. 5286: * i386/i386/setjmp.h (_setjmp): Add prototype. 5287: 5288: 2013-07-07 Samuel Thibault <[email protected]> 5289: 5290: Restore db_help_cmd 5291: * ddb/db_command.c (db_help_cmd): Restore function. 5292: 5293: 2013-07-06 Marin Ramesa <[email protected]> 5294: 5295: ddb: cleanup db_command.c 5296: * ddb/db_write_cmd.h: New file. 5297: (db_write_cmd): Add prototype. 5298: Include <mach/boolean.h>. 5299: Include <machine/db_machdep.h>. 5300: * ddb/db_break.h (db_listbreak_cmd): Add prototype. 5301: (db_delete_cmd): Likewise. 5302: (db_breakpoint_cmd): Likewise. 5303: * ddb/db_watch.h (db_listwatch_cmd): Likewise. 5304: (db_deletewatch_cmd): Likewise. 5305: (db_watchpoint_cmd): Likewise. 5306: * ddb/db_print.h (db_show_one_thread): Likewise. 5307: (db_show_all_threads): Likewise. 5308: * ddb/db_examine.h (db_print_cmd): Likewise. 5309: (db_examine_forward): Likewise. 5310: (db_examine_backward): Likewise. 5311: (db_search_cmd): Likewise. 5312: * ddb/db_variables.h (db_set_cmd): Likewise. 5313: * ddb/db_run.h (db_trace_until_call_cmd): Likewise. 5314: (db_trace_until_matching_cmd): Likewise. 5315: (db_continue_cmd): Likewise. 5316: * ddb/db_command.h (db_fncall): Likewise. 5317: * ddb/db_command.c: Include <ddb/db_break.h>. 5318: Include <ddb/db_watch.h>. 5319: Include <ddb/db_variables.h>. 5320: Include <ddb/db_write_cmd.h>. 5321: Include <ddb/db_run.h>. 5322: Include <ddb/db_cond.h>. 5323: (db_listbreak_cmd): Remove prototype. 5324: (db_listwatch_cmd): Likewise. 5325: (db_show_one_thread): Likewise. 5326: (db_show_all_threads): Likewise. 5327: (db_show_macro): Likewise. 5328: (db_show_help): Likewise. 5329: (db_print_cmd): Likewise. 5330: (db_examine_cmd): Likewise. 5331: (db_set_cmd): Likewise. 5332: (db_examine_forward): Likewise. 5333: (db_examine_backward): Likewise. 5334: (db_search_cmd): Likewise. 5335: (db_write_cmd): Likewise. 5336: (db_delete_cmd): Likewise. 5337: (db_breakpoint_cmd): Likewise. 5338: (db_deletewatch_cmd): Likewise. 5339: (db_watchpoint_cmd): Likewise. 5340: (db_single_step_cmd): Likewise. 5341: (db_trace_until_call_cmd): Likewise. 5342: (db_trace_until_matching_cmd): Likewise. 5343: (db_continue_cmd): Likewise. 5344: (db_cond_cmd): Likewise. 5345: (db_help_cmd): Likewise. 5346: (db_def_macro_cmd): Likewise. 5347: (db_del_macro_cmd): Likewise. 5348: (db_fncall): Likewise. 5349: 5350: 2013-07-05 Marin Ramesa <[email protected]> 5351: 5352: ddb: use and cleanup db_print.h 5353: * ddb/db_command.c: Include db_print.h. 5354: Remove extern db_show_regs(). 5355: Remove extern db_show_one_task(). 5356: Remove extern db_show_port_id(). 5357: * ddb/db_print.c: Include db_print.h 5358: * ddb/db_print.h (db_show_all_acts): Remove prototype. 5359: (db_show_one_act): Likewise. 5360: (db_show_shuttle): Likewise. 5361: (db_show_one_task_vm): Likewise. 5362: (db_show_all_task_vm): Likewise. 5363: (db_show_one_space): Likewise. 5364: (db_show_all_spaces): Likewise. 5365: (db_sys): Likewise. 5366: (db_port_kmsg_count): Likewise. 5367: (db_show_one_simple_lock): Likewise. 5368: (db_show_one_mutex): Likewise. 5369: (db_show_subsystem): Likewise. 5370: (db_show_runq): Likewise. 5371: 5372: 2013-07-04 Marin Ramesa <[email protected]> 5373: 5374: ddb: fix implicit declarations 5375: * ddb/db_break.c: Include ddb/db_access.h. 5376: * ddb/db_examine.h (db_xcdump): Add prototype. 5377: * ddb/db_ext_symtab.c: Include vm/vm_user.h. 5378: * ddb/db_input.c: Include device/cons.h. 5379: * ddb/db_output.c: Likewise. 5380: 5381: 2013-06-29 Marin Ramesa <[email protected]> 5382: 5383: (slab_info): fix format warnings 5384: * kern/slab.c (slab_info): Fix format for vm_size_t. 5385: 5386: Add device_pager_setup prototype 5387: * device/ds_routines.h (device_pager_setup): Add prototype. 5388: 5389: Add [nh]to[hn][ls] prototypes 5390: * device/net_io.h (ntohl, htonl, ntohs, htons): Add prototypes. 5391: 5392: 2013-06-29 Samuel Thibault <[email protected]> 5393: 5394: Fix int/long discrepancy 5395: * device/net_io.c (bpf_match): Make the `keys' parameter a pointer to 5396: unsigned int instead of unsigned long. 5397: (bpf_do_filter): Make `A', `B' and `mem' unsigned ints instead of unsigned 5398: longs. Also turn long casts into int casts. 5399: 5400: 2013-06-24 Samuel Thibault <[email protected]> 5401: 5402: Add partitioning reload support to ahci 5403: * linux/dev/drivers/block/ahci.c (port): Add `gd' field. 5404: (ahci_ioctl): New function. 5405: (ahci_fops): Fill `ioctl' field with `ahci_ioctl'. 5406: (ahci_probe_pci): Fill `gd' field with `gd'. 5407: 5408: Fix printing ahci PCI dev and fun 5409: * linux/dev/drivers/block/ahci.c (ahci_probe_dev): Compute `dev' and `fun' 5410: earlier so they can be printed. 5411: 5412: 2013-06-10 Samuel Thibault <[email protected]> 5413: 5414: Add missing 4KiB memory 5415: * i386/i386at/model_dep.c (init_alloc_aligned): Let allocated area last 5416: until end of memory map. 5417: 5418: Add non-contiguous mmap support 5419: * i386/include/mach/i386/multiboot.h (multiboot_mmap): New structure 5420: * i386/i386at/model_dep.c (mem_size_init): Parse boot_info.mmap_addr if 5421: available. 5422: (init_alloc_aligned): Likewise. 5423: 5424: 2013-06-09 Samuel Thibault <[email protected]> 5425: 5426: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 5427: 5428: 2013-06-09 Samuel Thibault <[email protected]> 5429: 5430: Do not skip AHCI controller without HOST_CAP_ONLY 5431: We rather rely on the announced PCI type to determine whether to use IDE or 5432: AHCI. 5433: 5434: * linux/dev/drivers/block/ahci.c (ahci_probe_dev): Do not skip AHCI 5435: controller without HOST_CAP_ONLY. 5436: 5437: 2013-06-09 Samuel Thibault <[email protected]> 5438: 5439: Add timeout to ahci IDENTIFY 5440: * linux/dev/drivers/block/ahci.c (identify_timeout): New function. 5441: (identify_timer): New variable. 5442: (ahci_probe_port): Add timer to abandon identify command. 5443: 5444: Fix printf format 5445: * linux/dev/drivers/block/ahci.c (ahci_do_request): Cast capacity into unsigned 5446: long and use %lu format. 5447: (ahci_probe_port): Cast size into unsigned and use %u format. 5448: 5449: Fix format 5450: 5451: 2013-06-09 Richard Braun <[email protected]> 5452: 5453: Fix object construction in the slab allocator 5454: There is currently no actual use of constructors, which is why this bug has 5455: been long overlooked. 5456: 5457: * kern/slab.c (kmem_cpu_pool_fill): Call constructor on buffers unless 5458: verification is enabled for the cache, or the constructor is NULL. 5459: 5460: 2013-06-04 Marin Ramesa <[email protected]> 5461: 5462: Comment unused variable 5463: * kern/ipc_mig.c (syscall_device_write_request): Comment unused variable. 5464: 5465: 2013-06-04 Samuel Thibault <[email protected]> 5466: 5467: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 5468: 5469: 2013-06-04 Miguel Figueiredo <[email protected]> 5470: 5471: Fix format warnings 5472: * vm/vm_resident.c (pmap_startup): Fix printf format. 5473: * xen/block.c (hyp_block_init, device_write): Likewise. 5474: * xen/net.c (hyp_net_init): Likewise. 5475: 5476: 2013-06-02 Miguel Figueiredo <[email protected]> 5477: 5478: Remove unused variable 5479: * kern/act.c (act_create): Remove unused variable. 5480: 5481: 2013-06-02 Richard Braun <[email protected]> 5482: 5483: Fix yet another locking error in the slab allocator 5484: * kern/slab.c (kmem_cache_free): Relock cache before retrying releasing 5485: an object to the CPU pool layer. 5486: 5487: 2013-06-02 Miguel Figueiredo <[email protected]> 5488: 5489: Remove unused variable 5490: * ipc/mach_port.c (mach_port_set_syscall_right): Remove unused variable. 5491: 5492: 2013-05-30 Samuel Thibault <[email protected]> 5493: 5494: Add LBA48 support to AHCI driver 5495: * linux/dev/drivers/block/ahci.c (port): Extend `capacity' field type to 5496: unsigned long long. Add `lba48' field. Make `identify' field unsigned. 5497: (ahci_do_port_request): When `lba48' is true, use WIN_READDMA_EXT and 5498: WIN_WRITEDMA_EXT commands. 5499: (ahci_probe_port): Test lba48 flag, read capacity and set `lba48' 5500: accordingly. Display size in GiB above 10GiB. 5501: * linux/src/include/linux/hdreg.h (WIN_READDMA_EXT, WIN_WRITEDMA_EXT): New 5502: macros 5503: (hd_driveid): Add `command_set_2' and lba_capacity_2' fields. 5504: 5505: 2013-05-27 Miguel Figueiredo <[email protected]> 5506: 5507: Remove old elevator algorithm function 5508: * device/blkio.c (disksort): remove unused function 5509: 5510: 2013-05-19 Miguel Figueiredo <[email protected]> 5511: 5512: Remove unneeded variable initialization 5513: * kern/thread.c (thread_force_terminate): Remove unneeded variable 5514: initialization. 5515: 5516: 2013-05-19 Samuel Thibault <[email protected]> 5517: 5518: Remove duplicate line 5519: Reported by Miguel Figueiredo 5520: 5521: * kern/thread.c (thread_create): Remove duplicate reset of 5522: new_thread->pc_sample.buffer to 0. 5523: 5524: 2013-05-16 Richard Braun <[email protected]> 5525: 5526: Reduce fragmentation in the slab allocator 5527: This reverts a change brought when reworking slab lists handling that made 5528: the allocator store slabs in LIFO order, whatever their reference count. 5529: While it's fine for free slabs, it actually increased fragmentation for 5530: partial slabs. 5531: 5532: * kern/slab.c (kmem_cache_alloc_from_slab): Insert slabs that become partial 5533: at the end of the partial slabs list. 5534: 5535: 2013-05-16 Richard Braun <[email protected]> 5536: 5537: Rename list_insert to list_insert_head 5538: This change increases clarity. 5539: 5540: * kern/list.h (list_insert): Rename to ... 5541: (list_insert_head): ... this. 5542: * kern/slab.c: Update calls to list_insert. 5543: 5544: 2013-05-15 Richard Braun <[email protected]> 5545: 5546: Fix itemization errors in the texinfo documentation 5547: * doc/mach.texi: Replace @itemx with @item for --enable-tulip and 5548: --enable-epic100. 5549: 5550: 2013-05-13 Miguel Figueiredo <[email protected]> 5551: 5552: Drop unused variables 5553: * kern/slab.c (kalloc_init): Remove unused variables. 5554: 5555: 2013-05-11 Samuel Thibault <[email protected]> 5556: 5557: Add missing parameters to printf 5558: * linux/dev/drivers/block/ahci.c (ahci_probe_dev): Add missing parameters to 5559: printf. 5560: 5561: 2013-05-10 Samuel Thibault <[email protected]> 5562: 5563: Fix ahci.h path 5564: * linux/Makefrag.am (liblinux_a_SOURCES): Fix path to ahci.h 5565: 5566: Add AHCI driver 5567: * linux/dev/glue/kmem.c (vmtophys): New function. 5568: * linux/dev/include/linux/mm.h (vmtophys): New prototype. 5569: * linux/src/include/linux/pci.h (PCI_CLASS_STORAGE_SATA, 5570: PCI_CLASS_STORAGE_SATA_AHCI): New macros. 5571: * linux/dev/drivers/block/ahci.c: New file. 5572: * linux/dev/include/ahci.h: New file. 5573: * linux/Makefrag.am (liblinux_a_SOURCES): Add linux/dev/drivers/block/ahci.c 5574: and linux/dev/drivers/block/ahci.h. 5575: * linux/src/drivers/block/ide.c: Include <ahci.h>. 5576: (probe_for_hwifs): Call ahci_probe_pci. 5577: 5578: 2013-05-02 Samuel Thibault <[email protected]> 5579: 5580: Fix non-block-aligned-offset reads 5581: This fixes grave issues when device_read is called with non-block-aligned 5582: offset, e.g. when using grub-probe with a non-block-aligned partition table. 5583: 5584: * linux/dev/glue/block.c (rdwr_full): Use current position instead of base 5585: buffer position to check for alignment. 5586: 5587: 2013-05-01 Samuel Thibault <[email protected]> 5588: 5589: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 5590: 5591: Fix macro name 5592: * linux/dev/glue/block.c (device_get_status): Use 5593: DEV_GET_RECORDS_RECORD_SIZE for DEV_GET_RECORDS instead of 5594: DEV_GET_SIZE_RECORD_SIZE. 5595: 5596: 2013-04-21 Richard Braun <[email protected]> 5597: 5598: Optimize slab reaping 5599: Instead of walking the list of free slabs while holding the cache lock, 5600: detach the list from the cache and directly compute the final count values, 5601: and destroy slabs after releasing the cache lock. 5602: 5603: * kern/slab.c (kmem_cache_reap): Optimize. 5604: 5605: 2013-04-21 Richard Braun <[email protected]> 5606: 5607: Rework slab lists handling 5608: Don't enforce strong ordering of partial slabs. Separating partial slabs 5609: from free slabs is already effective against fragmentation, and sorting 5610: would sometimes cause pathological scalability issues. In addition, store 5611: new slabs (whether free or partial) in LIFO order for better cache usage. 5612: 5613: * kern/slab.c (kmem_cache_grow): Insert new slab at the head of the slabs list. 5614: (kmem_cache_alloc_from_slab): Likewise. In addition, don't sort partial slabs. 5615: (kmem_cache_free_to_slab): Likewise. 5616: * kern/slab.h: Remove comment about partial slabs sorting. 5617: 5618: 2013-04-21 Richard Braun <[email protected]> 5619: 5620: Fix locking error in the slab allocator 5621: * kern/slab.c (kmem_cache_free): Lock cache before releasing an object to 5622: the slab layer. 5623: 5624: 2013-04-08 Samuel Thibault <[email protected]> 5625: 5626: Add -fno-optimize-sibling-calls option for better kdb traces 5627: * Makefrag.am (AM_CFLAGS) [enable_kdb]: Add -fno-optimize-sibling-calls 5628: option. 5629: 5630: 2013-03-11 Samuel Thibault <[email protected]> 5631: 5632: Update BASEPRI_USER 5633: * kern/sched.h (BASEPRI_USER): Increase to 25. 5634: 5635: Fix build without kdb 5636: * i386/i386/db_interface.h [! MACH_KBD] (db_set_hw_watchpoint, 5637: db_clear_hw_watchpoint, db_dr): Do not declare functions. 5638: 5639: 2013-03-06 Samuel Thibault <[email protected]> 5640: 5641: Increase number of priorities 5642: * kern/sched.h (NRQS): Increase to 50. 5643: 5644: 2013-03-05 Samuel Thibault <[email protected]> 5645: 5646: Do not hardcode maximum priority value 5647: * kern/sched_prim.c (do_priority_computation): Replace 31 with NRQS - 1. 5648: idle_thread: Likewise. 5649: 5650: 2013-02-04 Samuel Thibault <[email protected]> 5651: 5652: Include machine/db_interface instead of hardcoding function prototypes 5653: * ddb/db_access.c: Include <machine/db_interface.h>. 5654: (db_read_bytes, db_write_bytes): Remove functions prototypes. 5655: (db_get_task_value): Fix calling db_read_bytes. 5656: (db_put_task_value): Fix calling db_write_bytes. 5657: * ddb/db_watch.c: Include <machine/db_interface.h>. 5658: (db_set_hw_watchpoint, db_clear_hw_watchpoint): Remove functions prototypes. 5659: 5660: 2013-02-04 Samuel Thibault <[email protected]> 5661: 5662: Plug hw debug register support into kdb 5663: Make the `watch' command use hw debug registers whenever possible. 5664: 5665: * ddb/db_watch.c (db_set_hw_watchpoint, db_clear_hw_watchpoint): Add 5666: functions prototypes. 5667: (db_set_watchpoints): Try to call db_set_hw_watchpoint. 5668: (db_clear_watchpoints): Call db_clear_hw_watchpoint. 5669: * i386/i386/db_interface.c: Include <ddb/db_watch.h> 5670: (db_set_hw_watchpoint): Take a db_watchpoint_t WATCH parameter instead of 5671: its content. Remove support for clearing a debug register. 5672: (db_clear_hw_watchpoint): Add function. 5673: * i386/i386/db_interface.h: Include <ddb/db_watch.h>. 5674: (db_set_hw_watchpoint): Fix function prototype. 5675: (db_clear_hw_watchpoint): Add function prototype. 5676: * i386/i386/db_machdep.h: Do not include <machine/db_interface.h> 5677: 5678: 2013-02-04 Samuel Thibault <[email protected]> 5679: 5680: Document dwatch 5681: * doc/mach.texi: Add dwatch documentation. 5682: 5683: 2013-02-04 Samuel Thibault <[email protected]> 5684: 5685: Add x86 hardware debugging register support 5686: This adds using the x86 hardware debugging registers, either from the kernel 5687: through db_set_hw_watchpoint, or from userland through i386_DEBUG_STATE. 5688: While the kernel is using the registers, the userland values are ignored. 5689: 5690: * i386/i386/db_interface.c (kernel_dr, ids): New variables. 5691: (db_load_context, db_get_debug_state, db_set_debug_state, db_dr, 5692: db_set_hw_watchpoint): New functions. 5693: (kdb_trap): Use get_dr* instead of dr_addr[]. 5694: * i386/i386/db_interface.h (db_user_to_kernel_address, db_set_hw_watchpoint) 5695: (db_dr, db_get_debug_state, db_set_debug_state, db_load_context): Add functions 5696: prototypes. 5697: (dr0, dr1, dr2, dr3): Remove functions prototypes. 5698: * i386/i386/locore.S (dr6, dr0, dr1, dr2, dr3): Remove functions. 5699: (dr_msk, dr_addr): Remove variables. 5700: * i386/include/mach/i386/thread_status.h (i386_DEBUG_STATE): Add macro. 5701: (i386_debug_state): Add structure. 5702: (i386_DEBUG_STATE_COUNT): Add macro. 5703: * i386/i386/thread.h: Include <mach/machine/thread_status.h>. 5704: (i386_machine_state): Add `struct i386_debug_state ids' field. 5705: * i386/i386/pcb.c: Include <i386/db_interface.h>. 5706: (switch_ktss): Call db_load_context. 5707: (thread_setstatus, thread_getstatus): Add I386_DEBUG_STATE case. 5708: * i386/i386/proc_reg.h (get_dr0, set_dr0, get_dr1, set_dr1, get_dr2, 5709: set_dr2, get_dr3, set_dr3, get_dr6, set_dr6, get_dr7, set_dr7): Add macros. 5710: 5711: 2013-02-03 Samuel Thibault <[email protected]> 5712: 5713: Prevent the kernel from making any FPU use 5714: * i386/Makefrag.am (AM_CFLAGS): Add -mno-3dnow -mno-mmx -mno-sse -mno-sse2. 5715: 5716: 2013-01-31 Samuel Thibault <[email protected]> 5717: 5718: Implement pmap_map_mfn for the PVH case 5719: * i386/intel/pmap.c (pmap_map_mfn) [MACH_XEN && !MACH_PV_PAGETABLES]: 5720: Implement. 5721: 5722: Make the PVH variant get sure that the support is available in the hypervisor 5723: * i386/xen/xen_boothdr.S (FEATURES): Mark PVH features as required. 5724: 5725: 2013-01-30 Samuel Thibault <[email protected]> 5726: 5727: Add comment for TODO 5728: 5729: Do not use 4gb segment assistance in PVH 5730: * i386/i386/gdt.c (gdt_init) [MACH_PV_DESCRIPTORS && !MACH_PV_PAGETABLES]: 5731: Do not enable VMASST_TYPE_4gb_segments. 5732: * i386/i386/trap.c (user_trap): Do not handle trap 15, 4gb segment 5733: assist notification. 5734: 5735: Drop spurious inclusion 5736: * i386/i386/vm_param.h [MACH_XEN && !MACH_PV_PAGETABLES]: Do not include 5737: <xen/public/xen.h>. 5738: 5739: Increase VM_MAX_KERNEL_ADDRESS for PVH case 5740: * i386/i386/vm_param.h (VM_MAX_KERNEL_ADDRESS) [MACH_XEN && 5741: !MACH_PV_PAGETABLES]: Remove hypervisor area from VM_MAX_KERNEL_ADDRESS 5742: restriction. 5743: 5744: 2013-01-28 Samuel Thibault <[email protected]> 5745: 5746: More ifdef fixes for ring1 support and pv descriptors support 5747: * i386/i386/idt_inittab.S: Turn MACH_XEN test into MACH_PV_DESCRIPTORS test. 5748: * i386/i386/fpu.c: Turn appropriate MACH_HYP/XEN tests into MACH_RING1 tests. 5749: * i386/i386/ktss.c: Likewise. 5750: * i386/i386/locore.S: Likewise. 5751: * i386/i386/mp_desc.c: Likewise. 5752: * i386/i386/pcb.c: Likewise. 5753: * i386/i386/proc_reg.h: Likewise. 5754: * i386/i386/trap.c: Likewise. 5755: 5756: Add initial code for disabling PV pagetables 5757: * xen/configfrag.ac (--disable-pv-pagetables): Add option. 5758: * i386/xen/xen_boothdr.S (XEN_ELFNOTE_FEATURES) [!MACH_PV_PAGETABLES]: Add 5759: writable_page_tables. 5760: * i386/i386/gdt.c: Turn appropriate MACH_XEN/MACH_HYP tests into 5761: MACH_PV_PAGETABLES tests. 5762: * i386/i386/i386asm.sym: Likewise 5763: * i386/i386/ldt.c: Likewise 5764: * i386/i386/locore.S: Likewise 5765: * i386/i386/proc_reg.h: Likewise 5766: * i386/i386/user_ldt.c: Likewise 5767: * i386/i386/vm_param.h: Likewise 5768: * i386/i386/xen.h: Likewise 5769: * i386/i386at/model_dep.c: Likewise 5770: * i386/intel/pmap.h: Likewise 5771: * include/mach/xen.h: Likewise 5772: * xen/console.c: Likewise 5773: * xen/store.c: Likewise 5774: * i386/intel/pmap.c: Likewise. Define pmap_map_mfn as TODO stub. 5775: 5776: Fix comments 5777: 5778: Fix build with --disable-pseudo-phys 5779: * i386/i386/i386asm.sym (PFN_LIST) [!MACH_PSEUDO_PHYS]: Do not define. 5780: 5781: Add initial code for disabling ring1 xen execution 5782: * xen/configfrag.ac (--disable-ring1): Add option. 5783: * i386/xen/xen_boothdr.S (XEN_ELFNOTE_FEATURES) [!MACH_RING1]: Add 5784: supervisor_mode_kernel. 5785: * i386/i386/seg.h (KERNEL_RING) [!MACH_RING1]: Set macro to 0. 5786: 5787: Add initial code for disabling PV descriptors 5788: * xen/configfrag.ac (--disable-pv-descriptors): Add option 5789: * i386/xen/xen_boothdr.S (XEN_ELFNOTE_FEATURES) [!MACH_PV_DESCRIPTORS]: Add 5790: writable_descriptor_tables. 5791: * i386/i386/gdt.c: Turn appropriate MACH_XEN/MACH_HYP tests into 5792: MACH_PV_DESCRIPTORS tests. 5793: * i386/i386/gdt.h: Likewise. 5794: * i386/i386/i386asm.sym: Likewise. 5795: * i386/i386/idt.c: Likewise. 5796: * i386/i386/idt_inittab.S: Likewise. 5797: * i386/i386/ldt.c: Likewise. 5798: * i386/i386/pcb.c: Likewise. 5799: * i386/i386/seg.h: Likewise. 5800: * i386/i386/user_ldt.c: Likewise. 5801: * i386/i386/user_ldt.h: Likewise. 5802: 5803: 2013-01-22 Richard Braun <[email protected]> 5804: 5805: Add the mach_print debugging system call 5806: The purpose of this system call is to help debugging in situations where 5807: it's desirable to bypass the mach_msg call entirely. 5808: 5809: * include/mach/syscall_sw.h (mach_print): Generate system call code. 5810: * kern/syscall_subr.c: Include <kern/printf.h>. 5811: [MACH_KDB] (mach_print): New function. 5812: * kern/syscall_subr.h (mach_print): New prototype. 5813: * kern/syscall_sw.c [MACH_KDB] (mach_trap_table): Declare mach_print 5814: system call. 5815: 5816: 2013-01-13 Samuel Thibault <[email protected]> 5817: 5818: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 5819: 5820: Fix task stats incrementations 5821: * vm/vm_fault.c (vm_fault_page): Properly increment 5822: current_task()->zero_fills and cow_faults. 5823: 5824: 2013-01-13 David Höppner <[email protected]> 5825: 5826: Add statistics for task_events_info 5827: * ipc/ipc_mqueue.c (ipc_mqueue_send, ipc_mqueue_receive): Increment 5828: counters for message sent and received. 5829: * kern/ipc_kobject.c (ipc_kobject_server): Increment sent and received 5830: counters for the kernel task. 5831: * kern/task.c (task_create): Zero statistics. 5832: * kern/task.c (task_info): Add task_events_info call. 5833: * kern/task.h: Add statistics. 5834: * vm/vm_fault.c (vm_fault_page): Increment zero_fills, pageins, 5835: reactivations and cow_faults counters. 5836: * vm/vm_fault.c (vm_fault_wire_fast): Increment faults counters. 5837: * vm/vm_pageout.c (vm_pageout_scan): Increment reactivations counter. 5838: 5839: 2013-01-08 Richard Braun <[email protected]> 5840: 5841: Fix slab cache list locking 5842: This problem was overlooked because of simple locks being no-ops. 5843: 5844: * kern/slab.c (slab_collect): Fix lock name to kmem_cache_list_lock. 5845: (host_slab_info): Likewise. 5846: 5847: 2013-01-08 Richard Braun <[email protected]> 5848: 5849: Add function to dump a raw summary of the slab allocator state 5850: The purpose of this function is to allow kernel code to display the state 5851: of the slab caches in situations where the host_slab_info RPC wouldn't be 5852: available, e.g. before a panic. 5853: 5854: * kern/slab.c (slab_info): New function. 5855: * kern/slab.h: Add declaration for slab_info. 5856: 5857: 2013-01-06 Samuel Thibault <[email protected]> 5858: 5859: Double KENTRY_DATA_SIZE 5860: * vm/vm_map.h (KENTRY_DATA_SIZE): Bump from 32 pages to 64 pages. 5861: 5862: 2013-01-04 David Höppner <[email protected]> 5863: 5864: Fix compilation warning implicit function declaration kdbprintf 5865: When kernel debugger support is requested ipc and vm need 5866: the prototype for the debugger function kdbprintf. 5867: 5868: * ddb/db_output.h: Add prototype for kdbprintf. 5869: * ipc/ipc_object.c: Add include file ddb/db_output.h 5870: * ipc/ipc_port.c: Likewise. 5871: * ipc/ipc_pset.c: Likewise. 5872: * vm/vm_map.c: Likewise. 5873: * vm/vm_object.c: Likewise. 5874: * vm/vm_resident.c: Likewise. 5875: 5876: 2012-12-27 Samuel Thibault <[email protected]> 5877: 5878: Fix slow boot in virtualbox 5879: By disabling some of the most slow drivers by default, and giving progress 5880: feedback to the user. 5881: 5882: * linux/configfrag.ac (CONFIG_SCSI_NCR53C7xx, CONFIG_SCSI_AIC7XXX, 5883: CONFIG_SCSI_GDTH): Disable by default 5884: * linux/src/drivers/scsi/eata.c (__initfunc): Don't feed line in probe 5885: message. 5886: * linux/src/drivers/scsi/hosts.c (scsi_init): Print SCSI probe progress. 5887: 5888: 2012-12-27 Samuel Thibault <[email protected]> 5889: 5890: Fix spurious error on accessing fd1 5891: Cherry picked from Linux kernel commit 76c25284e0d845bff4ee1031721556148af4db1c 5892: 5893: * linux/dev/drivers/block/floppy.c (config_types): Clear from 5894: `allowed_drive_mask' floppy drives whose cmos type is 0. 5895: 5896: 2012-12-23 Samuel Thibault <[email protected]> 5897: 5898: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 5899: 5900: 2012-12-23 Samuel Thibault <[email protected]> 5901: 5902: Make thread_suspend wait for !TH_UNINT 5903: 0a55db5 made thread_suspend return KERN_FAILURE when the target thread is in 5904: TH_UNINT state. That however is not currently handled by libc, and it's more 5905: useful to just wait for the thread to get interruptible. 5906: 5907: * kern/sched_prim.c (thread_invoke): Wake NEW_THREAD->STATE for thread_suspend. 5908: * kern/thread.c (thread_suspend): Wait on NEW_THREAD->STATE as long as THREAD 5909: has TH_UNINT. 5910: 5911: 2012-12-21 David S. Miller <[email protected]> 5912: 5913: ide: Increase WAIT_DRQ to accomodate some CF cards and SSD drives. 5914: Based upon a patch by Philippe De Muyter, and feedback from Mark 5915: Lord and Robert Hancock. 5916: 5917: As noted by Mark Lord, the outdated ATA1 spec specifies a 20msec 5918: timeout for setting DRQ but lots of common devices overshoot this. 5919: 5920: (cherry picked from Linux kernel commit 602da297e293eb2cbd28dcdbbe247593a46a853a) 5921: 5922: * linux/src/drivers/block/ide.h (WAIT_DRQ): Increase to 1 s. 5923: 5924: 2012-12-21 Thomas Schwinge <[email protected]> 5925: 5926: IDE disk drives with unusual C/H/S. 5927: * linux/src/drivers/block/ide.c: Partially update to Linux 2.0.40 code. 5928: 5929: 2012-12-05 Richard Braun <[email protected]> 5930: 5931: Fix kernel task creation time 5932: The mapable_time_init function is called before machine_init, but the 5933: latter sets the system boot time. Fix their calling order. 5934: 5935: * kern/startup.c (setup_main): Call machine_init before mapable_time_init. 5936: 5937: 2012-12-04 Richard Braun <[email protected]> 5938: 5939: Strongly reduce risks of name capture in rbtree macros 5940: * kern/rbtree.h (rbtree_lookup): Prefix local variable names with three 5941: underscores. 5942: (rbtree_lookup_nearest): Likewise. 5943: (rbtree_insert): Likewise. 5944: (rbtree_lookup_slot): Likewise. 5945: (rbtree_insert_slot): Rewrite as an inline function. 5946: 5947: 2012-11-21 Richard Braun <[email protected]> 5948: 5949: Fix calls to vm_map when size is 0 5950: * vm/vm_map.c (vm_map_enter): return KERN_INVALID_ARGUMENT if size is 0. 5951: * vm/vm_user.c (vm_map): Likewise. 5952: 5953: 2012-11-19 Matthew Leach <[email protected]> 5954: 5955: Fix compilation error with older versions of GCC 5956: Some versions of GCC will error if you define a type twice (even if 5957: the definition is the same). The NCR53C8XX SCSI driver defines 5958: 'vm_offset_t', this is also defined in vm_types.h and will therefore 5959: cause a compilation error depending on the GCC version. 5960: 5961: * linux/src/drivers/scsi/ncr53c8xx.c [!MACH] (vm_offset_t, vm_size_t): Don't 5962: define types. 5963: 5964: 2012-09-23 Samuel Thibault <[email protected]> 5965: 5966: Fix gnumach_server_routine prototype 5967: * kern/ipc_kobject.c (ipc_kobject_server): Set gnumach_server_routine 5968: prototype to mig_routine_t. 5969: 5970: 2012-09-23 Richard Braun <[email protected]> 5971: 5972: Add missing file for page statistics 5973: * kern/gnumach.srv: New file. 5974: 5975: Add missing file for page statistics 5976: * include/mach/vm_cache_statistics.h: New file 5977: 5978: 2012-09-23 Gianluca Guida <[email protected]> 5979: 5980: Fix panic on irq >= 16 5981: * linux/src/drivers/net/pci-scan.c (pci_drv_register): Skip device 5982: if we are getting an invalid IRQ >= 16 and different from 255 (it 5983: happens in some motherboard). 5984: 5985: 2012-09-23 Sergio Lopez <[email protected]> 5986: 5987: Update DMA auto-enabling, make forcing DMA an option 5988: * linux/configfrag.ac (--enable-ide-forcedma): Add option. 5989: * linux/src/drivers/block/ide.c (ide_probe_promise_20246): Do not call 5990: ide_init_promise. 5991: (probe_for_hwifs): Add SI, VIA, AL PCI probing. 5992: * linux/src/drivers/block/ide.h (hwif_chipset_t): Add hpt343, udma and 5993: ultra66 chipsets. 5994: * linux/src/drivers/block/triton.c: Update to upstream 1.14 version. 5995: * linux/src/include/linux/hdreg.h (HDIO_GET_IDENTITY): Rename to ... 5996: (HDIO_OBSOLETE_IDENTITY): ... new macro. 5997: (HDIO_GET_IDENTITY): New macro. 5998: (hd_driveid): Add fields for extended identification. 5999: 6000: 2012-09-23 Alexey Dejneka <[email protected]> 6001: 6002: Fix CDROM door unlock on closure without device_close 6003: * linux/dev/glue/block.c 6004: (device_open): Properly return devp on multiple opens. 6005: (device_close_forced): Renamed from device_close, when force parameter is 1, do 6006: not wait for open_count to become 0 before closing. 6007: (device_close): New function. 6008: (device_no_senders): New function. 6009: linux_block_emulation_ops: Use (device_no_senders). 6010: 6011: 2012-09-23 Richard Braun <[email protected]> 6012: 6013: Provide basic page cache statistics 6014: * Makefrag.am (EXTRA_DIST): Add kern/gnumach.srv. 6015: (include_mach_HEADERS): Add include/mach/gnumach.defs and 6016: include/mach/vm_cache_statistics.h 6017: (nodist_libkernel_a_SOURCES): Add kern/gnumach.server.defs.c, 6018: kern/gnumach.server.h, kern/gnumach.server.c, kern/gnumach.server.msgids, 6019: kern/gnumach.server.defs. 6020: * include/mach/mach_types.h: Add #include <mach/vm_cache_statistics.h>. 6021: * kern/ipc_kobject.c (ipc_kobject_server): Declare and call 6022: gnumach_server_routine. 6023: * vm/vm_object.c (vm_object_cached_pages): New variable. 6024: (vm_object_cached_pages_lock_data): Likewise. 6025: (vm_object_deallocate): Update number of cached pages. 6026: (vm_object_lookup): Likewise. 6027: (vm_object_lookup_name): Likewise. 6028: (vm_object_destroy): Likewise. 6029: (vm_object_enter): Likewise. 6030: * vm/vm_object.h (ref_count): Declare as int. 6031: (resident_page_count): Likewise. 6032: (vm_object_cached_count): Add extern declaration. 6033: (vm_object_cached_pages): Likewise. 6034: (vm_object_cached_pages_lock_data): Likewise. 6035: (vm_object_cached_pages_update): New macro. 6036: * vm/vm_resident.c (vm_page_insert): Assert resident page count doesn't 6037: overflow, update number of cached pages as appropriate. 6038: (vm_page_replace): Likewise. 6039: (vm_page_remove): Update number of cached pages as appropriate. 6040: * vm/vm_user.c: Add #include <mach/vm_cache_statistics.h>. 6041: (vm_cache_statistics): New function. 6042: * vm/vm_user.h: Add #include <mach/mach_types.h>. 6043: (vm_cache_statistics): New declaration. 6044: * include/mach/gnumach.defs: New file. 6045: 6046: 2012-08-24 Richard Braun <[email protected]> 6047: 6048: Store threads waiting on a message queue in LIFO order 6049: * ipc/ipc_thread.h (ipc_thread_enqueue_macro): Insert thread at the 6050: head of the list instead of the tail. 6051: 6052: 2012-07-14 Samuel Thibault <[email protected]> 6053: 6054: Fix Xen boot at linear address 0xC0000000 6055: * i386/intel/pmap.c (pmap_bootstrap): Interate over linear addresses and compute 6056: l3 and l2 offsets from it instead of assuming nul l3 offset. 6057: 6058: 2012-07-08 Richard Braun <[email protected]> 6059: 6060: Fix slab collection timing 6061: The slab garbage collector uses sched_tick as its time reference, which 6062: is increased every seconds, while the interval is expressed in clock 6063: ticks. Use the proper time reference instead. 6064: 6065: * kern/slab.c (kmem_gc_last_tick): Declare as unsigned long. 6066: (slab_collect): Use elapsed_ticks instead of sched_tick. 6067: 6068: 2012-07-08 Richard Braun <[email protected]> 6069: 6070: Increase the slab collection interval 6071: * kern/slab.c (KMEM_GC_INTERVAL): Increase to 5 seconds. 6072: 6073: 2012-07-07 Richard Braun <[email protected]> 6074: 6075: Allocate kernel thread stacks out of kmem_map 6076: The kernel submaps eat most of the available kernel space. Using the 6077: main kernel map for thread stacks sometimes lead to exhaustion when many 6078: threads are created. Use kmem_map instead to increase this limit. 6079: 6080: * kern/thread.c (stack_alloc): Use kmem_map instead of kernel_map for 6081: stack allocation. 6082: (stack_collect): Likewise for release. 6083: 6084: 2012-07-07 Richard Braun <[email protected]> 6085: 6086: Merge kalloc_map into kmem_map 6087: * ipc/ipc_table.c: Add #include <kern/slab.h>. 6088: (ipc_table_alloc): Use kmem_map instead of kalloc_map when allocating 6089: a table. 6090: (ipc_table_realloc): Likewise for reallocation. 6091: (ipc_table_free): Likewise for release. 6092: * kern/kalloc.h (kalloc_map): Remove declaration. 6093: * kern/slab.c (KMEM_MAP_SIZE): Increase to 128 MiB. 6094: (KALLOC_MAP_SIZE): Remove macro. 6095: (kalloc_map_store): Remove variable. 6096: (kalloc_map): Likewise. 6097: (kalloc_pagealloc): Use kmem_map instead of kalloc_map for general 6098: purpose allocations. 6099: (kalloc_pagefree): Likewise. 6100: (kalloc_init): Remove the creation of kalloc_map. 6101: 6102: 2012-06-10 Samuel Thibault <[email protected]> 6103: 6104: Permit to select/deselect whole driver groups 6105: * linux/configfrag.ac (AC_OPTION_Linux_group): New function 6106: (AC_OPTION_Linux_ix86_at): Do not enable driver by default if the group was 6107: explicitly disabled. 6108: (scsi, net, pcmcia, wireless): Define groups. 6109: 6110: 2012-05-17 Samuel Thibault <[email protected]> 6111: 6112: Offset bios32 entry 6113: * linux/src/arch/i386/kernel/bios32.c (check_pcibios, pcibios_init): Convert 6114: physical bios32 entry address to kernel virtual address. 6115: 6116: 2012-05-17 Samuel Thibault <[email protected]> 6117: 6118: Clear direction flag after bios32 call 6119: Linux does this, there are probably wild BIOSes out there. 6120: 6121: * linux/src/arch/i386/kernel/bios32.c (bios32_service, check_pcibios, 6122: pci_bios_find_class, pci_bios_find_device, pci_bios_read_config_byte, 6123: pci_bios_read_config_word, pci_bios_read_config_dword, 6124: pci_bios_write_config_byte, pci_bios_write_config_word, 6125: pci_bios_write_config_dword): Clear direction flag after lcall to bios32. 6126: 6127: 2012-05-05 Samuel Thibault <[email protected]> 6128: 6129: Offset kernel addresses by 3GiB 6130: This permits better trace support in kdb. 6131: 6132: * i386/i386/vm_param.h (VM_MIN_KERNEL_ADDRESS): Set to 0xC0000000 6133: * i386/Makefrag.am (_START): Set to 0xC0100000. 6134: 6135: 2012-05-05 Samuel Thibault <[email protected]> 6136: 6137: Document how to offset the kernel to get better debugging 6138: * i386/i386/vm_param.h (VM_MIN_KERNEL_ADDRESS): Document that it can be 6139: changed, but _START has to be offset too. 6140: (INIT_VM_MIN_KERNEL_ADDRESS): Document that it should remain 0. 6141: 6142: 2012-04-27 Richard Braun <[email protected]> 6143: 6144: Augment VM maps with a red-black tree 6145: * vm/vm_map.c: Add #include <kern/rbtree.h>. 6146: (vm_map_setup): Initialize the map red-black tree. 6147: (vm_map_entry_cmp_lookup): New function. 6148: (vm_map_entry_cmp_insert): Likewise. 6149: (_vm_map_entry_link): Insert map entry in the red-black tree. 6150: (_vm_map_entry_unlink): Remove map entry from the red-black tree. 6151: (vm_map_lookup_entry): Rework the way the VM map hint is used, and 6152: replace the linear search with a binary search tree lookup. 6153: (vm_map_copy_insert): Move map entries from the map copy tree to the 6154: destination map tree. 6155: (vm_map_copyin): Initialize the map copy red-black tree. 6156: * vm/vm_map.h: Add #include <kern/rbtree.h>. 6157: (vm_map_entry): Add `tree_node' member. 6158: (vm_map_header): Add `tree' member. 6159: 6160: 2012-04-22 Richard Braun <[email protected]> 6161: 6162: Update comments. 6163: Literature about red-black trees vary concerning the cases numbering, 6164: and the implementation doesn't make all of them clearly appear. Remove 6165: cases numbering references to avoid confusion. 6166: 6167: 2012-04-22 Richard Braun <[email protected]> 6168: 6169: Fix copyright assignment 6170: Maksym and I have assigned copyright to the Free Software Foundation. 6171: In addition, restore the original upstream copyrights for correctness. 6172: 6173: * kern/list.h: Fix copyright assignment. 6174: * kern/rbtree.c: Likewise. 6175: * kern/rbtree.h: Likewise. 6176: * kern/rbtree_i.h: Likewise. 6177: * kern/slab.c: Likewise. 6178: * kern/slab.h: Likewise. 6179: 6180: 2012-04-06 Samuel Thibault <[email protected]> 6181: 6182: Check hyp_stack_switch return 6183: * i386/i386/pcb.c (switch_ktss): Check value returned by hyp_stack_switch. 6184: 6185: Fix integer type 6186: * kern/thread.c (host_stack_usage): Set `total' type to natural_t. 6187: 6188: 2012-04-06 Samuel Thibault <[email protected]> 6189: 6190: Do not take address of va_list variable 6191: This breaks on x86_64, where it is an array and thus gets bogus results. 6192: 6193: * ddb/db_output.c (db_printf, kdbprintf): Pass copy of va_list variable instead 6194: of its address. 6195: * kern/debug.c (panic, log): Likewise. 6196: * kern/printf.c (vprintf, iprintf, sprintf, vsnprintf): Likewise. 6197: (_doprnt): Take va_list instead of va_list *, fix usage and comment accordingly. 6198: * kern/printf.h (_doprnt): Take va_list instead of va_list *. 6199: 6200: 2012-03-24 Samuel Thibault <[email protected]> 6201: 6202: Fix Xen boot after c74adfe 6203: * i386/Makefrag.am (_START_MAP): Define symbol to 0x100000. 6204: * i386/xen/Makefrag.am (_START_MAP): Define symbol to 0xC0000000. 6205: * i386/ldscript: Use _START_MAP instead of hardcoding 0x100000. 6206: 6207: 2012-03-24 Samuel Thibault <[email protected]> 6208: 6209: Relocate kernel at bootup 6210: Grub is not able to map us at high addresses. We can however make it load us at 6211: low addresses (through the linker script mapping), then use segmentation to move 6212: ourselves to high addresses, and switch to C which uses high addresses 6213: (through _START definition). 6214: 6215: * i386/ldscript: Force mapping kernel at 0x100000, regardless of the value 6216: of _START. 6217: * i386/i386at/boothdr.S (boot_entry): Set up initial segments to project the 6218: bootstrap linear space to high addresses. 6219: 6220: 2012-03-24 Samuel Thibault <[email protected]> 6221: 6222: Make sure BIOS area is mapped in kernel threads 6223: * i386/i386at/model_dep.c (i386at_init): Map BIOS memory at 0. 6224: * i386/intel/pmap.c (pmap_create): Do not map BIOS memory in user tasks. 6225: 6226: 2012-03-24 Samuel Thibault <[email protected]> 6227: 6228: Separate INIT_VM_MIN_KERNEL_ADDRESS from VM_MIN_KERNEL_ADDRESS 6229: The former is the initial value set by the bootloader. It may not be the 6230: same as what Mach will set up. 6231: 6232: * i386/i386/vm_param.h (INIT_VM_MIN_KERNEL_ADDRESS): New macro. 6233: * i386/i386at/model_dep.c (i386at_init): Use INIT_VM_MIN_KERNEL_ADDRESS 6234: instead of VM_MIN_KERNEL_ADDRESS. 6235: 6236: 2012-03-24 Samuel Thibault <[email protected]> 6237: 6238: Add missing phystokv/kvtophys calls 6239: * i386/i386/vm_param.h [!MACH_XEN]: Do not include <xen/public/xen.h>. 6240: * i386/i386at/model_dep.c (init_alloc_aligned): Use phystokv to compare physical 6241: memory addresses with kernel start, end, and symbol table. 6242: * i386/intel/pmap.c (pmap_enter): Use kvtophys to convert ptp pointer to pte 6243: entry. 6244: * linux/dev/init/main.c (alloc_contig_mem, linux_init): Use phystokv to convert 6245: allocated pages to virtual pointer. 6246: * linux/src/include/asm-i386/io.h: Include <machine/vm_param.h>. 6247: (virt_to_phys): Call _kvtophys. 6248: (phys_to_virt): Call phystokv. 6249: * linux/src/include/linux/compatmac.h: Include <asm/io.h>. 6250: (ioremap): Use phys_to_virt to convert physical address to virtual pointer. 6251: (my_iounmap): Likewise. 6252: * linux/dev/include/asm-i386/page.h: Include <mach/vm_param.h>. 6253: (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK): Remove macros. 6254: * linux/src/drivers/scsi/ncr53c8xx.c (vm_size_t): Remove type. 6255: * linux/dev/glue/net.c: Include <machine/vm_param.h> 6256: (device_write): Call phystokv to convert from physical page address to 6257: virtual pointer. 6258: * linux/dev/glue/block.c (alloc_buffer, free_buffer, rdwr_full): Likewise. 6259: 6260: Fix issig crash at boot 6261: * linux/dev/glue/misc.c (issig): Return 0 if current_thread() is NULL. 6262: 6263: Fix wrap-around in pmap bootstrap 6264: * i386/intel/pmap.c (pmap_bootstrap): Check against `va' wrap around 6265: 0xffffffff. 6266: 6267: 2012-03-23 Samuel Thibault <[email protected]> 6268: 6269: Fix boot with big values of _start 6270: When _start is not close to 0, just using init_alloc_aligned() is not enough 6271: to know how much should be duplicated between linear and virtual mappings. 6272: Just mapping everything that can be is not very costly and should just work 6273: when it can work. 6274: 6275: * i386/i386at/model_dep.c (i386at_init) [VM_MIN_KERNEL_ADDRESS != 6276: LINEAR_MIN_KERNEL_ADDRESS]: Extend `nb_direct' to VM_MIN_KERNEL_ADDRESS - 6277: LINEAR_MIN_KERNEL_ADDRESS. 6278: 6279: 2012-03-22 Ludovic Courtès <[email protected]> 6280: 6281: Refer to `PFN_LIST' on Xen only. 6282: * i386/i386/i386asm.sym (PFN_LIST): Enclose in #ifdef MACH_XEN. Thanks 6283: to Samuel Thibault for the suggestion. 6284: 6285: 2012-03-20 Samuel Thibault <[email protected]> 6286: 6287: Use long types 6288: * ddb/db_examine.c (db_xcdump): Do not cast addr before passing to 6289: db_read_bytes. 6290: * ddb/db_macro.c (db_arg_variable): Return long. 6291: * ddb/db_macro.h (db_arg_variable): Likewise. 6292: * ddb/db_sym.c (db_maxoff): Set type to unsigned long. 6293: * ddb/db_task_thread.c (db_set_default_thread, db_get_task_thread): Return 6294: long. 6295: * ddb/db_variables.h (db_variable): Make fcn function field to return long. 6296: (FCN_NULL): Make function type return long. 6297: * i386/i386/db_interface.c (int_regs): Set field sizes to long. 6298: * i386/i386/db_machdep.h (db_expr_t): Set type to long. 6299: * i386/i386/db_trace.c (db_i386_reg_value): Return long. Use long types. 6300: (i386_frame, i386_kregs, interrupt_frame, db_nextframe): Set field sizes to 6301: long. 6302: (db_regs, i386_kregs): Use long * pointers. 6303: (db_lookup_i386_kreg): Return long *. 6304: (db_numargs, db_nextframe, db_stack_trace_cmd, db_i386_stack_trace): Use long 6305: types. 6306: * i386/i386/debug_i386.c (dump_ss): Fix format. 6307: * i386/i386/ktss.c (ktss_init): Use long type. 6308: * i386/i386/pcb.c (set_user_regs): Likewise. 6309: * i386/i386/thread.h (i386_saved_state, v86_segs, i386_kernel_state, 6310: i386_interrupt_state): Set field sizes to long. 6311: * i386/i386/trap.c (kernel_trap, user_trap): Fix formats. 6312: * kern/ast.h (ast_t): Set type to long. 6313: * kern/boot_script.c (create_task, resume_task, prompt_resume_task, 6314: boot_script_set_variable): Use long types. 6315: * kern/boot_script.h (boot_script_set_variable): Use long type. 6316: * kern/bootstrap.c (bootstrap_create): Pass long type. 6317: * kern/lock.c (simple_lock, simple_lock_try): Use long type. 6318: * linux/dev/kernel/softirq.c (linux_soft_intr): Fix format. 6319: 6320: Complain about Xen console smash only once at a time 6321: * xen/console.c (hypputc): Warning only once per console write about console 6322: ring smash. 6323: 6324: Make xchgl arch-neutral 6325: * i386/i386/xen.h (xchgl): Use xchg instruction instead of xchgl, so the 6326: assembler can detect unsigned long size. 6327: 6328: 2012-03-20 Guillem Jover <[email protected]> 6329: 6330: Use compiler defined __i386__ symbol instead of use defined i386 6331: * i386/configfrag.ac (i386): Remove definition. 6332: * i386/intel/pmap.c (pmap_update_interrupt): Rename i386 to __i386__. 6333: * i386/intel/pmap.h: Likewise. 6334: * kern/debug.c (Debugger): Likewise. 6335: * kern/lock.c (simple_lock, simple_lock_try, db_show_all_slocks): Likewise. 6336: 6337: 2012-03-20 Guillem Jover <[email protected]> 6338: 6339: Change types holding cpu flags from int to long 6340: On amd64 the cpu flags is a 64-bit word, and long on 32-bit systems is 6341: 32-bit wide anyway. 6342: 6343: * linux/dev/glue/kmem.c (linux_kmalloc, linux_kfree, __get_free_pages, 6344: free_pages): Use unsigned long instead of unsigned. 6345: * linux/dev/include/asm-i386/system.h (__save_flags, __restore_flags): 6346: Likewise. 6347: * linux/dev/kernel/printk.c (printk): Likewise. 6348: * linux/src/drivers/scsi/advansys.c (DvcEnterCritical, DvcLeaveCritical, 6349: advansys_queuecommand, advansys_abort, advansys_reset, advansys_interrupt, 6350: interrupts_enabled, AdvISR): Likewise. 6351: * linux/src/drivers/scsi/aha152x.c (aha152x_intr): Likewise. 6352: * linux/src/drivers/scsi/aha1542.c (aha1542_intr_handle): Likewise. 6353: * linux/src/drivers/scsi/aic7xxx.c (aic7xxx_done_cmds_complete): Likewise. 6354: * linux/src/drivers/scsi/ultrastor.c (log_ultrastor_abort, 6355: ultrastor_queuecommand, ultrastor_abort): Likewise. 6356: 6357: 2012-03-20 Guillem Jover <[email protected]> 6358: 6359: Match type for count with tty_get_status and tty_set_status 6360: * i386/i386at/com.c (comgetstat): Use natural_t instead of `unsigned int'. 6361: (comsetstat): Likewise. 6362: * i386/i386at/kd.c (kdgetstat, kdsetstat): Likewise. 6363: * i386/i386at/lpr.c (lprgetstat, lprsetstat): Likewise. 6364: 6365: 2012-03-19 Samuel Thibault <[email protected]> 6366: 6367: Use unsigned int for ELF 32bit values 6368: * i386/include/mach/i386/exec/elf.h (Elf32_Addr, Elf32_Off, Elf32_Sword, 6369: Elf32_Word): Use int type instead of long. 6370: 6371: 2012-03-18 Samuel Thibault <[email protected]> 6372: 6373: Fix assembly snippet portability 6374: * xen/evt.c (hyp_c_callback): Do not set assembly instruction suffixes, 6375: using 1UL constant instead. 6376: 6377: Use unsigned long types for addresses 6378: * i386/include/mach/i386/vm_param.h (i386_btop, i386_ptob, i386_round_page, 6379: i386_trunc_page): Cast to unsigned long. 6380: 6381: Use unsigned long for registers 6382: * i386/i386/proc_reg.h (get_eflags, get_esp, get_eflags, get_cr0, get_cr2, 6383: get_cr3, get_cr4): Return unsigned long type. 6384: (set_eflags, set_cr0, set_cr3, set_cr4): Take unsigned long type. 6385: 6386: Do not hardcode structure offset 6387: * i386/i386/i386asm.sym (R_EDI): Define macro. 6388: * i386/i386/locore.S (t_page_fault): Use R_CR2-R_EDI instead of hardcoded 6389: 12. 6390: 6391: 2012-03-18 Samuel Thibault <[email protected]> 6392: 6393: Set Xen kernel virtual address to 0xC0000000 6394: That makes the virtual addressing equal to linear addressing, thus optimizing 6395: some computations away. 6396: 6397: * i386/i386/vm_param.h (VM_MIN_KERNEL_ADDRESS) [MACH_XEN]: Set to 6398: 0xC0000000UL. 6399: * i386/xen/Makefrag.am (gnumach_LINKFLAGS): Set _START to 0xC0000000. 6400: * i386/xen/xen_boothdr.S (VIRT_BASE, ELF_PADDR_OFFSET): Set to 0xC0000000. 6401: 6402: 2012-03-18 Samuel Thibault <[email protected]> 6403: 6404: Fix access above 4GiB in bootstrap page table 6405: * i386/intel/pmap.c (pmap_set_page_readonly_init) [PAE]: Access the bootstrap 6406: dirbase with PTEMASK (1 page) instead of PDEMASK (4 pages) through pmap_pde. 6407: 6408: 2012-03-15 Thomas Schwinge <[email protected]> 6409: 6410: Fix build error introduced in 5f701793f63f16d111db3e3d2e91134fcc179c5b. 6411: * linux/src/include/linux/interrupt.h (intr_count): Declare as unsigned int. 6412: 6413: 2012-03-14 Samuel Thibault <[email protected]> 6414: 6415: Simplify splx 6416: * i386/i386/spl.S (splx): Use S_ARG0 instead of reimplementing it. 6417: 6418: Fix variable types according to assembly use 6419: * linux/dev/arch/i386/kernel/irq.c (intr_count): Set to int type. 6420: * linux/dev/kernel/softirq.c (bh_active, bh_mask): Likewise. 6421: (linux_soft_intr: active, mask, left): Likewise 6422: * linux/src/include/linux/interrupt.h (bh_active, bh_mask): Likewise. 6423: * linux/src/kernel/softirq.c (intr_count, bh_active, bh_mask): Likewise. 6424: (do_bottom_half: active, mask, left): Likewise 6425: 6426: Stick to binutils ELF scripts 6427: * i386/ldscript: Reformat to follow binutils version 6428: 6429: Fix PAE page frame number mask. 6430: * i386/intel/pmap.h (INTEL_PTE_PFN): Keep only 47bits, others are not usable. 6431: 6432: Fix Xen bootstrap at virtual address above 1GiB 6433: * i386/intel/pmap.h (lin2pdpnum): New macro. 6434: * i386/intel/pmap.c (pmap_set_page_readonly_init): Use lin2pdpnum macro 6435: instead of hardcoding 0. 6436: 6437: Simplify i386at_init 6438: * i386/i386at/model_dep.c (i386at_init): Do not copy linear into virtual kernel 6439: mapping when they are equal, and do not drop the former either. Use the 6440: function `i' variable. 6441: 6442: Simplify kvtophys 6443: * i386/i386/phys.c (kvtophys): Use pte_to_pa macro instead of reimplementing 6444: it. 6445: 6446: 2012-03-09 Samuel Thibault <[email protected]> 6447: 6448: Use unsigned long for addresses and sizes 6449: TODO: remonter formats 6450: 6451: * i386/include/mach/i386/vm_types.h (vm_offset_t): Define to unsigned long. 6452: (signed32_t): Define to signed int. 6453: (unsigned32_t): Define to unsigned int. 6454: * i386/include/mach/sa/stdarg.h (__va_size): Use sizeof(unsigned long)-1 6455: instead of 3. 6456: * include/mach/port.h (mach_port_t): Define to vm_offset_t instead of 6457: natural_t. 6458: * include/sys/types.h (size_t): Define to unsigned long instead of 6459: natural_t. 6460: * linux/src/include/asm-i386/posix_types.h (__kernel_size_t): Define to 6461: unsigned long. 6462: (__kernel_ssize_t): Define to long. 6463: * linux/src/include/linux/stddef.h (size_t): Define to unsigned long. 6464: 6465: * device/dev_pager.c (dev_pager_hash): Cast port to vm_offset_t insted of 6466: natural_t. 6467: (device_pager_data_request): Fix format. 6468: 6469: * device/ds_routines.c (ds_no_senders): Fix format. 6470: * i386/i386/io_map.c (io_map): Likewise. 6471: * i386/i386at/autoconf.c (take_dev_irq): Likewise. 6472: * i386/i386at/com.c (comattach): Likewise. 6473: * i386/i386at/lpr.c (lprattach): Likewise. 6474: * i386/i386at/model_dep.c (mem_size_init, mem_size_init, c_boot_entry): 6475: Likewise. 6476: * i386/intel/pmap.c (pmap_enter): Likewise. 6477: * ipc/ipc_notify.c (ipc_notify_port_deleted, ipc_notify_msg_accepted, 6478: ipc_notify_dead_name): Likewise. 6479: * ipc/mach_port.c (mach_port_destroy, mach_port_deallocate): Likewise. 6480: * kern/ipc_kobject.c (ipc_kobject_destroy): Likewise. 6481: * kern/slab.c (kalloc_init): Likewise. 6482: * vm/vm_fault.c (vm_fault_page): Likewise. 6483: * vm/vm_map.c (vm_map_pmap_enter): Likewise. 6484: * xen/block.c (device_read): Likewise. 6485: 6486: * device/net_io.c (bpf_match): Take unsigned long * instead of unsigned int 6487: *. 6488: (bpf_do_filter): Make mem unsigned long instead of long. 6489: * i386/i386/ktss.c (ktss_init): Cast pointer to unsigned long instead of 6490: unsigned. 6491: * i386/i386/pcb.c (stack_attach, switch_ktss): Cast pointers to long instead of 6492: int. 6493: * i386/i386/trap.c (dump_ss): Likewise. 6494: * ipc/ipc_hash.c (IH_LOCAL_HASH): Cast object to vm_offset_t. 6495: * ipc/mach_msg.c (mach_msg_receive, mach_msg_receive_continue): Cast kmsg to 6496: vm_offset_t instead of natural_t. 6497: * kern/pc_sample.c (take_pc_sample): Cast to vm_offset_t instead of 6498: natural_t. 6499: * kern/boot_script.c (sym, arg): Set type of `val' field to long instead of int. 6500: (create_task, builtin_symbols, boot_script_parse_line, 6501: boot_script_define_function): Cast to long instead of int. 6502: * kern/bootstrap.c (bootstrap_create): Likewise. 6503: * kern/sched_prim.c (decl_simple_lock_data): Likewise. 6504: * kern/printf.c (vsnprintf): Set size type to size_t. 6505: * kern/printf.h (vsnprintf): Likewise. 6506: * vm/vm_map.h (kentry_data_size): Fix type to vm_size_t. 6507: * vm/vm_object.c (vm_object_pmap_protect_by_page): Fix size parameter type 6508: to vm_size_t. 6509: 6510: 2012-03-08 Samuel Thibault <[email protected]> 6511: 6512: Move kentry_data_size initial value to header 6513: * vm/vm_map.h (KENTRY_DATA_SIZE): Define macro. 6514: * vm/vm_map.c (kentry_data_size): Initialize to KENTRY_DATA_SIZE. 6515: 6516: 2012-03-03 Gabriele Giacone <[email protected]> 6517: 6518: Set default serial parameters to 8N1 instead of 7E1 6519: * i386/i386at/com.c (comcninit): Set LINE_CTL register to i8BITS instead of 6520: i7BITS|iPEN. 6521: 6522: 2012-02-19 Samuel Thibault <[email protected]> 6523: 6524: Fix format for string print 6525: * linux/src/drivers/net/3c505.c (elp_sense): Use %s format for printing a mere 6526: string, not the string. 6527: 6528: Fix format for string print 6529: * linux/src/drivers/net/8390.c: Use %s format for printing a mere string, not 6530: the string. 6531: 6532: Fix format for string print 6533: * linux/src/drivers/net/3c503.c (el2_probe1): Use %s format for printing a mere 6534: string, not the string. 6535: 6536: Fix format for string print 6537: * linux/src/drivers/scsi/aha1542.c (aha1542_setup): Use %s format for printing a 6538: mere string, not the string. 6539: 6540: Fix format for string print 6541: * linux/src/drivers/scsi/advansys.c (asc_prt_line): Use %s format for 6542: printing a mere string, not the string. 6543: 6544: Fix format for string print 6545: * i386/i386at/model_dep.c (c_boot_entry): Use %s format for printing a mere 6546: string, not the string. 6547: 6548: 2012-01-28 Samuel Thibault <[email protected]> 6549: 6550: Merge branch 'master' into master-slab 6551: 6552: 2012-01-22 Samuel Thibault <[email protected]> 6553: 6554: Fix build on 64bit host 6555: When stealing the memset function from the 32bit host libc on a 64bit host 6556: system, glibc tends to bring unwanted references to _Unwind_Resume, 6557: __gcc_personality_v0, etc. So let's stop stealing memset. 6558: 6559: * kern/strings.c (memset): New function. 6560: * Makefile.am (clib_routines): Remove memset. 6561: 6562: 2012-01-09 Richard Braun <[email protected]> 6563: 6564: Improve ipc hash/marequest init readability 6565: Use macros instead of raw numeric values. 6566: 6567: * ipc/ipc_hash.h (IPC_HASH_GLOBAL_SIZE): New macro. 6568: * ipc/ipc_hash.c (ipc_hash_init): Directly set the global hash table 6569: size to IPC_HASH_GLOBAL_SIZE. 6570: * ipc/ipc_marequest.h (IPC_MAREQUEST_SIZE): New macro. 6571: * ipc/ipc_marequest.c (ipc_marequest_init): Directly set the marequest 6572: hash table size to IPC_MAREQUEST_SIZE. 6573: 6574: 2011-12-30 Samuel Thibault <[email protected]> 6575: 6576: Cope with dom0s which do not respect feature-no-csum-offload 6577: Event with feature-no-csum-offload=1, some dom0s (such as Debian Squeeze's 6578: 2.6.32) send packets with a blank checksum. Recompute them before givin the 6579: packet to pfinet. 6580: 6581: * xen/net.c (recompute_checksum): New function. 6582: (hyp_net_intr): Call recompute_checksum when the checksum is blank but the 6583: data is validated. 6584: 6585: 2011-12-29 Samuel Thibault <[email protected]> 6586: 6587: Fix typo 6588: 6589: Upgrade number of event queues 6590: * kern/sched_prim.c (NUMQUEUES): Increase to 1031 6591: 6592: 2011-12-17 Richard Braun <[email protected]> 6593: 6594: Remove arbitrary limits used by the zone system 6595: The zone allocator could limit the size of its zones to an arbitrary 6596: value set at zinit() time. There is no such parameter with the slab 6597: module. As a result of removing those limits, the kern/mach_param.h 6598: header becomes empty, and is simply removed altogether. 6599: 6600: * Makefrag.am (libkernel_a_SOURCES): Remove kern/mach_param.h. 6601: * i386/i386/fpu.c: Remove #include <kern/mach_param.h>. 6602: * i386/i386/machine_task.c: Likewise. 6603: * i386/i386/pcb.c: Likewise. 6604: * ipc/ipc_init.c: Likewise. 6605: (ipc_space_max): Remove variable. 6606: (ipc_tree_entry_max): Likewise. 6607: (ipc_port_max): Likewise. 6608: (ipc_pset_max): Likewise. 6609: * ipc/ipc_init.h (IPC_ZONE_TYPE): Remove macro. 6610: (ipc_space_max): Remove extern declaration. 6611: (ipc_tree_entry_max): Likewise. 6612: (ipc_port_max): Likewise. 6613: (ipc_pset_max): Likewise. 6614: * ipc/ipc_hash.c (ipc_hash_init): Don't use ipc_tree_entry_max to 6615: compute ipc_hash_global_size. 6616: * ipc/ipc_marequest.c: Remove #include <kern/mach_param.h>. 6617: (ipc_marequest_max): Remove variable. 6618: (ipc_marequest_init): Don't use ipc_marequest_max to compute 6619: ipc_marequest_size. 6620: (ipc_marequest_info): Return (unsigned int)-1 in maxp. 6621: * kern/act.c: Remove #include <kern/mach_param.h>. 6622: * kern/mach_clock.c: Likewise. 6623: * kern/priority.c: Likewise. 6624: * kern/task.c: Likewise. 6625: * kern/thread.c: Likewise. 6626: * vm/memory_object_proxy.c: Likewise. 6627: * vm/vm_fault.c: Likewise. 6628: 6629: 2011-12-17 Richard Braun <[email protected]> 6630: 6631: Remove the defunct kernel_task_create() function 6632: The kmem_suballoc() function, which has been replaced with 6633: kmem_submap(), is called by kernel_task_create(). Rather than update it, 6634: remove this now unused function. 6635: 6636: * kern/task.c (kernel_task_create): Remove function. 6637: * kern/task.h (kernel_task_create): Remove prototype. 6638: 6639: 2011-12-17 Richard Braun <[email protected]> 6640: 6641: Fix kern/kalloc.h includes 6642: * device/dev_pager.c: Remove #include <kern/kalloc.h>. 6643: * i386/i386/io_perm.c: Add #include <kern/kalloc.h>. 6644: * kern/bootstrap.c: Likewise. 6645: * kern/ipc_tt.c: Likewise. 6646: * kern/pc_sample.c: Likewise. 6647: * kern/processor.c: Likewise. 6648: * kern/server_loop.ch: Likewise. 6649: * kern/thread.c: Likewise. 6650: * linux/dev/glue/block.c: Likewise. 6651: * linux/dev/glue/net.c: Likewise. 6652: * vm/vm_map.c: Likewise. 6653: * xen/block.c: Likewise. 6654: * xen/net.c: Likewise. 6655: * xen/store.c: Likewise. 6656: 6657: 2011-12-17 Richard Braun <[email protected]> 6658: 6659: Adjust VM initialization 6660: Unlike the zone allocator, the slab code can't be fed with an initial 6661: chunk of memory. Some VM objects used early during startup now have to 6662: be statically allocated, and kernel map entries need a special path 6663: to avoid recursion when being allocated. 6664: 6665: * vm/vm_map.c (vm_submap_object_store): New variable. 6666: (vm_submap_object): Point to vm_submap_object_store. 6667: (kentry_data_size): Initialize to arbitrary value. 6668: (kentry_count): Remove variable. 6669: (kentry_pagealloc): New function. 6670: (vm_map_setup): Likewise. 6671: (vm_map_create): Replace initialization with a call to vm_map_setup(). 6672: * vm/vm_map.h (vm_map_setup): New prototype. 6673: * vm/vm_kern.c (kernel_map_store): New variable. 6674: (kernel_map): Point to kernel_map_store. 6675: (kmem_suballoc): Remove function. Replaced with... 6676: (kmem_submap): New function. 6677: (kmem_init): Call vm_map_setup() instead of vm_map_create(). 6678: * vm/vm_kern.h (kmem_suballoc): Remove prototype. 6679: (kmem_submap): New prototype. 6680: * vm/vm_object.c (kernel_object_store): New variable. 6681: (kernel_object): Point to kernel_object_store. 6682: (vm_object_template): Change type from vm_object_t to struct vm_object. 6683: (_vm_object_setup): New function. 6684: (_vm_object_allocate): Replace initialization with a call to 6685: _vm_object_setup(). 6686: (vm_object_bootstrap): Don't allocate vm_object_template, and use it as 6687: a structure instead of a pointer. Initialize kernel_object and 6688: vm_submap_object with _vm_object_setup() instead of 6689: _vm_object_allocate(). 6690: * vm/vm_resident.c (vm_page_bootstrap): Don't initialize 6691: kentry_data_size. 6692: * device/ds_routines.c (device_io_map_store): New variable. 6693: (device_io_map): Point to device_io_map_store. 6694: (mach_device_init): Call kmem_submap() instead of kmem_suballoc(). 6695: * ipc/ipc_init.c (ipc_kernel_map_store): New variable. 6696: (ipc_kernel_map): Point to ipc_kernel_map_store. 6697: 6698: 2011-12-17 Richard Braun <[email protected]> 6699: 6700: Adjust the kernel to use the slab allocator 6701: * device/dev_lookup.c: Replace zalloc header, types and function calls 6702: with their slab counterparts. 6703: * device/dev_pager.c: Likewise. 6704: * device/ds_routines.c: Likewise. 6705: * device/io_req.h: Likewise. 6706: * device/net_io.c: Likewise. 6707: * i386/i386/fpu.c: Likewise. 6708: * i386/i386/io_perm.c: Likewise. 6709: * i386/i386/machine_task.c: Likewise. 6710: * i386/i386/pcb.c: Likewise. 6711: * i386/i386/task.h: Likewise. 6712: * i386/intel/pmap.c: Likewise. 6713: * i386/intel/pmap.h: Remove #include <kernel/zalloc.h>. 6714: * include/mach_debug/mach_debug.defs (host_zone_info): Replace 6715: routine declaration with skip directive. 6716: (host_slab_info): New routine declaration. 6717: * include/mach_debug/mach_debug_types.defs (zone_name_t) 6718: (zone_name_array_t, zone_info_t, zone_info_array_t): Remove types. 6719: (cache_info_t, cache_info_array_t): New types. 6720: * include/mach_debug/mach_debug_types.h: Replace #include 6721: <mach_debug/zone_info.h> with <mach_debug/slab_info.h>. 6722: * ipc/ipc_entry.c: Replace zalloc header, types and function calls with 6723: their slab counterparts. 6724: * ipc/ipc_entry.h: Likewise. 6725: * ipc/ipc_init.c: Likewise. 6726: * ipc/ipc_marequest.c: Likewise. 6727: * ipc/ipc_object.c: Likewise. 6728: * ipc/ipc_object.h: Likewise. 6729: * ipc/ipc_space.c: Likewise. 6730: * ipc/ipc_space.h: Likewise. 6731: * ipc/ipc_table.c (kalloc_map): Remove extern declaration. 6732: * kern/act.c: Replace zalloc header, types and function calls with their 6733: slab counterparts. 6734: * kern/kalloc.h: Add #include <vm/vm_types.h>. 6735: (MINSIZE): Remove definition. 6736: (kalloc_map): Add extern declaration. 6737: (kget): Remove prototype. 6738: * kern/mach_clock.c: Adjust comment. 6739: * kern/processor.c: Replace zalloc header, types and function calls with 6740: their slab counterparts. 6741: * kern/startup.c: Remove #include <kernel/zalloc.h>. 6742: * kern/task.c: Replace zalloc header, types and function calls with 6743: their slab counterparts. 6744: * kern/thread.c: Likewise. 6745: * vm/memory_object_proxy.c: Likewise. 6746: * vm/vm_external.c: Likewise. 6747: * vm/vm_fault.c: Likewise. 6748: * vm/vm_init.c: Likewise. 6749: * vm/vm_map.c: Likewise. 6750: * vm/vm_object.c: Likewise. 6751: * vm/vm_page.h: Remove #include <kernel/zalloc.h>. 6752: * vm/vm_pageout.c: Replace zalloc header, types and function calls with 6753: their slab counterparts. 6754: * vm/vm_resident.c: Likewise. 6755: (zdata, zdata_size): Remove declarations. 6756: (vm_page_bootstrap): Don't steal memory for the zone system. 6757: 6758: 2011-12-17 Richard Braun <[email protected]> 6759: 6760: Import the slab allocator 6761: As it is intended to completely replace the zone allocator, remove it on 6762: the way. So long to the venerable code ! 6763: 6764: * Makefrag.am (libkernel_a_SOURCES): Add kern/slab.{c,h}, remove kern/kalloc.c 6765: and kern/zalloc.{c,h}. 6766: * configfrag.ac (SLAB_VERIFY, SLAB_USE_CPU_POOLS): Add defines. 6767: * i386/Makefrag.am (libkernel_a_SOURCES): Remove i386/i386/zalloc.h. 6768: * i386/configfrag.ac (CPU_L1_SHIFT): Remove define. 6769: * include/mach_debug/slab_info.h: New file. 6770: * kern/slab.c: Likewise. 6771: * kern/slab.h: Likewise. 6772: * i386/i386/zalloc.h: Remove file. 6773: * include/mach_debug/zone_info.h: Likewise. 6774: * kern/kalloc.c: Likewise. 6775: * kern/zalloc.c: Likewise. 6776: * kern/zalloc.h: Likewise. 6777: 6778: 2011-12-17 Richard Braun <[email protected]> 6779: 6780: Import utility files 6781: * Makefrag.am (libkernel_a_SOURCES): Add kern/list.h, kern/rbtree.c, 6782: kern/rbtree.h and kern/rbtree_i.h. 6783: * kern/list.h: New file. 6784: * kern/rbtree.c: Likewise. 6785: * kern/rbtree.h: Likewise. 6786: * kern/rbtree_i.h: Likewise. 6787: * kern/macro_help.h (MACRO_BEGIN): Use GNU C compound statement 6788: enclosed in parentheses. 6789: (MACRO_END): Likewise. 6790: 6791: 2011-11-27 Samuel Thibault <[email protected]> 6792: 6793: Keep frame pointer when debugger is enabled 6794: * Makefrag.am (AM_CFLAGS) [enable_kdb]: Add -fno-omit-frame-pointer. 6795: 6796: 2011-10-16 Samuel Thibault <[email protected]> 6797: 6798: Merge branch 'master' of callisto:gnumach 6799: 6800: 2011-10-16 Samuel Thibault <[email protected]> 6801: 6802: Do not map xen driver pages 6803: * xen/block.c (hyp_block_init): Use vm_page_grab_phys_addr instead of 6804: kmem_alloc_wired to allocate driver pages. 6805: * xen/net.c (hyp_net_init): Likewise. 6806: 6807: 2011-10-16 Samuel Thibault <[email protected]> 6808: 6809: Increase kmem area for the Xen case. 6810: Kernel tacks are 4 pages in the Xen case, so we need more kmem space. 6811: 6812: * i386/i386/vm_param.h (VM_KERNEL_MAP_SIZE) [MACH_XEN]: Increase to 224MiB. 6813: 6814: 2011-10-10 Samuel Thibault <[email protected]> 6815: 6816: Raise block device interrupt level to SPL6 6817: * linux/dev/drivers/block/genhd.c (device_setup): Set linux_intr_pri to 6818: SPL6. 6819: * linux/dev/glue/block.c (init_partition, device_open): Likewise. 6820: 6821: Raise Linux kmem memory size 6822: * linux/dev/glue/kmem.c (MEM_CHUNKS): Increase to 32. 6823: 6824: 2011-10-10 Samuel Thibault <[email protected]> 6825: 6826: Leave interrupts enabled in sym53c8xx driver 6827: The driver can work with them, and request_irq works fine with them. 6828: 6829: * linux/src/drivers/scsi/sym53c8xx.c (ncr_attach): Do not pass SA_INTERRUPT to 6830: request_irq(). 6831: 6832: 2011-10-09 Samuel Thibault <[email protected]> 6833: 6834: Define BITS_PER_LONG for Linux code 6835: * linux/src/include/asm-i386/types.h (BITS_PER_LONG): Define to 32. 6836: 6837: 2011-10-08 Samuel Thibault <[email protected]> 6838: 6839: Add sym53c8xx driver from linux 2.2 6840: This driver supports qemu's SCSI host device. 6841: Unfortunately it seems to be breaking the network device, so test with care. 6842: 6843: * linux/Makefrag.am (liblinux_a_SOURCES): Add 6844: linux/src/drivers/scsi/sym53c8xx{.c,_comm.h,.h,_defs.h} 6845: * linux/configfrag.ac: Add AC_Linux_DRIVER([sym53c8xx] to enable 6846: CONFIG_SCSI_SYM53C8XX. 6847: * linux/dev/glue/kmem.c (MEM_CHUNKS): Increase to 16. 6848: * linux/src/drivers/scsi/hosts.c [CONFIG_SCSI_SYM53C8XX]: Include "sym53c8xx.h". 6849: (builtin_scsi_hosts): include SYM53C8XX. 6850: 6851: 2011-09-28 Sergio Lopez <[email protected]> 6852: 6853: fix copy out-of-line data when length >= 512MB 6854: * ipc/ipc_kmsg.c (ipc_kmsg_copyin_body): Change length type to 6855: unsigned64_t. Cast number to unsigned64_t. 6856: (ipc_kmsg_copyout_body): Likewise. 6857: 6858: 2011-09-28 Sergio López <[email protected]> 6859: 6860: Make thread_suspend honor the TH_UNINT flag 6861: Interrupting a thread without a continuation, puts it in a 6862: inconsistent state. This is the cause for the bug described in 6863: https://lists.gnu.org/archive/html/bug-hurd/2011-09/msg00148.html 6864: 6865: * kern/thread.c (thread_suspend): Fail with KERN_FAILURE if thread is 6866: uninterruptible. 6867: 6868: 2011-09-12 Guillem Jover <[email protected]> 6869: 6870: Remove unused [!MACH_KERNEL] driver code 6871: Use «unifdef -DMACK_KERNEL=1» as a starting point, but only remove 6872: the code not exposed on public headers, the rest is needed to build 6873: properly from userland. 6874: 6875: * device/cons.c [!MACH_KERNEL]: Remove includes. 6876: [!MACH_KERNEL] (constty): Remove variable. 6877: (cninit, cnmaygetc) [MACH_KERNEL]: Remove preprocessor conditionals. 6878: [!MACH_KERNEL] (cnopen, cnclose, cnread, cnwrite, cnioctl, cnselect) 6879: (cncontrol): Remove functions. 6880: * device/cons.h (struct consdev) [MACH_KERNEL]: Remove preprocessor 6881: conditional. 6882: * device/kmsg.h [MACH_KERNEL]: Likewise. 6883: * i386/i386at/autoconf.c [!MACH_KERNEL]: Remove includes. 6884: * i386/i386at/kd_event.c [!MACH_KERNEL]: Likewise. 6885: [!MACH_KERNEL] (kbd_sel, kbdpgrp, kbdflag): Remove variables. 6886: [!MACH_KERNEL] (KBD_COLL, KBD_ASYNC, KBD_NBIO): Remove macros. 6887: (kbdopen, kbdclose, kbd_enqueue) [!MACH_KERNEL]: Remove code. 6888: [!MACH_KERNEL] (kbdioctl, kbdselect, kbdread): Remove functions. 6889: [!MACH_KERNEL] (X_kdb_enter_init, X_kdb_exit_init: Likewise. 6890: * i386/i386at/kd_mouse.c [!MACH_KERNEL]: Remove includes. 6891: [!MACH_KERNEL] (mouse_sel, mousepgrp, mouseflag): Remove variables. 6892: [!MACH_KERNEL] (MOUSE_COLL, MOUSE_ASYNC, MOUSE_NBIO): Remove macros. 6893: (mouseopen, mouseclose, kd_mouse_read, mouse_enqueue) [!MACH_KERNEL]: Remove 6894: code. 6895: [!MACH_KERNEL] (mouseioctl, mouseselect, mouseread): Remove functions. 6896: * i386/i386at/lpr.c [!MACH_KERNEL]: Remove includes. 6897: (lpropen) [MACH_KERNEL]: Remove preprocessor conditionals. 6898: (lpropen, lprclose, lprstart) [!MACH_KERNEL]: Remove code. 6899: [!MACH_KERNEL] (lprwrite, lprioctl, lprstop): Remove functions. 6900: * i386/i386at/rtc.c (readtodc, writetodc) [!MACH_KERNEL]: Remove code. 6901: * kern/mach_factor.c [MACH_KERNEL]: Remove preprocessor conditional. 6902: * xen/time.c (readtodc) [!MACH_KERNEL]: Remove code. 6903: 6904: 2011-09-09 Samuel Thibault <[email protected]> 6905: 6906: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 6907: 6908: 2011-09-09 Guillem Jover <[email protected]> 6909: 6910: Do not take unused strpbrk() from libc 6911: * Makefile.am (clib_routines): Remove strpbrk. 6912: 6913: 2011-09-06 Thomas Schwinge <[email protected]> 6914: 6915: * .gitignore: Tighten some rules, and distribute others to... * doc/.gitignore: ... here; * i386/i386/.gitignore: ... here; * tests/.gitignore: ..., and here. 6916: 6917: * i386/i386/pcb.h (stack_attach): Parameterize the continuation parameter's parameter list. * i386/i386/pcb.c (stack_attach): Likewise. 6918: 6919: Move i386/i386/locore.S declarations. 6920: * i386/i386/trap.c (recover_table, recover_table_end, retry_table) 6921: (retry_table_end): Move declarations to... 6922: * i386/i386/locore.h: ... here. 6923: 6924: 2011-09-06 Thomas Schwinge <[email protected]> 6925: 6926: Further prototyping work for memory_object_proxy.c functions. 6927: * vm/memory_object_proxy.h: Add #includes. 6928: (memory_object_proxy_lookup): New declaration. 6929: * vm/memory_object_proxy.c: #include <vm/memory_object_proxy.h>. 6930: * vm/vm_user.c: Likewise. 6931: (memory_object_proxy_lookup): Drop declaration. 6932: 6933: Parts based on a patch by FridolÃn Pokorný <[email protected]>. 6934: 6935: 2011-09-05 Samuel Thibault <[email protected]> 6936: 6937: Drop module memory free verbosity 6938: * kern/bootstrap.c (bootstrap_create): Do not show freed module memory. 6939: 6940: Free memory used by boot modules 6941: * vm/vm_resident.c (pmap_startup): Warn when some pages could not be included 6942: in the allocator due to bad estimation. 6943: * kern/bootstrap.c: Include <vm/pmap.h>. 6944: (bootstrap_create): Call vm_page_create on bootstrap modules content. 6945: 6946: 2011-09-03 FridolÃn Pokorný <[email protected]> 6947: 6948: Add prototypes for memory_object_proxy.c functions 6949: * vm/memory_object_proxy.h: Add file. 6950: * vm/vm_init.c: Include <vm/memory_object_proxy.h>. 6951: * kern/ipc_kobject.c: Likewise. 6952: * Makefile.am (libkernel_a_SOURCES): Add vm/memory_object_proxy.h. 6953: 6954: 2011-09-03 Samuel Thibault <[email protected]> 6955: 6956: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 6957: 6958: 2011-09-02 Guillem Jover <[email protected]> 6959: 6960: Remove long obsolete RPC routines 6961: * kern/compat_xxx_defs.h: Remove file. 6962: * Makefrag.am (libkernel_a_SOURCES): Remove `kern/compat_xxx_defs.h'. 6963: 6964: * include/mach/mach_types.defs (xxx_emulation_vector_t): Remove type. 6965: 6966: * device/device.srv: Do not simport <kern/compat_xxx_defs.h>. 6967: * kern/mach.srv: Likewise. 6968: * kern/mach_host.srv: Likewise. 6969: 6970: * include/device/device.defs [MACH_KERNEL]: Do not simport 6971: <kern/compat_xxx_defs.h>. 6972: (xxx_device_set_status, xxx_device_get_status) 6973: (xxx_device_set_filter): Replace routine declarations with skip 6974: directives. 6975: * include/mach/mach.defs [MACH_KERNEL]: Do not simport 6976: <kern/compat_xxx_defs.h>. 6977: (xxx_memory_object_lock_request, xxx_task_get_emulation_vector) 6978: (xxx_task_set_emulation_vector, xxx_host_info, xxx_slot_info) 6979: (xxx_cpu_control, xxx_task_info, xxx_thread_get_state) 6980: (xxx_thread_set_state, xxx_thread_info): Replace routine declarations 6981: with skip directive. 6982: * include/mach/mach_host.defs [MACH_KERNEL]: Do not simport 6983: <kern/compat_xxx_defs.h>. 6984: (yyy_host_info, yyy_processor_info, yyy_processor_control) 6985: (xxx_processor_set_default_priv, yyy_processor_set_info): Replace 6986: routine declarations with skip directive. 6987: 6988: * kern/ipc_host.c (xxx_processor_set_default_priv): Remove function. 6989: * kern/machine.c (xxx_host_info, xxx_slot_info) 6990: (xxx_cpu_control): Likewise. 6991: * kern/syscall_emulation.c (xxx_task_set_emulation_vector) 6992: (xxx_task_get_emulation_vector): Likewise. 6993: * vm/memory_object.c (xxx_memory_object_lock_request): Likewise. 6994: 6995: 2011-09-02 Guillem Jover <[email protected]> 6996: 6997: Do not remap errno codes from E* to LINUX_E* 6998: Mach no longer uses any of the old and clashing errno E* codes, so 6999: it's safe to use them now w/o namespacing. This also means one less 7000: modification needed to the Linux code. 7001: 7002: * linux/dev/include/asm-i386/errno.h: Remove file. 7003: * linux/dev/kernel/dma.c (notifier_chain_unregister) [MACH_INCLUDE]: Remove 7004: code. 7005: * linux/dev/include/linux/notifier.h: Likewise. 7006: * linux/dev/arch/i386/kernel/irq.c (setup_x86_irq): Rename LINUX_EBUSY 7007: to EBUSY. 7008: (request_irq): Rename LINUX_EINVAL to EINVAL. 7009: * linux/dev/glue/block.c (register_blkdev): Rename LINUX_EBUSY to EBUSY 7010: and LINUX_EINVAL to EINVAL. 7011: (unregister_blkdev): Rename LINUX_EINVAL to EINVAL. 7012: (rdwr_partial) Rename LINUX_ENOMEM to ENOMEM and LINUX_EIO to EIO. 7013: * linux/dev/glue/misc.c (linux_to_mach_error): Rename LINUX_EPERM to 7014: EPERM, LINUX_EIO to EIO, LINUX_ENXIO to ENXIO, LINUX_EACCES to EACCES, 7015: LINUX_EFAULT to EFAULT, LINUX_EBUSY to EBUSY, LINUX_EINVAL to EINVAL, 7016: LINUX_EROFS to EROFS, LINUX_EWOULDBLOCK to EWOULDBLOCK and LINUX_ENOMEM 7017: to ENOMEM. 7018: (verify_area): Rename LINUX_EFAULT to EFAULT. 7019: * linux/dev/kernel/resource.c (check_region): Rename LINUX_EBUSY to 7020: EBUSY. 7021: * linux/dev/kernel/sched.c (__do_down): Rename LINUX_EINTR to EINTR. 7022: 7023: 2011-09-02 Guillem Jover <[email protected]> 7024: 7025: Use Mach native error codes instead of POSIX errno E* ones 7026: * device/errno.h: Remove file. 7027: * Makefrag.am (libkernel_a_SOURCES): Remove `device/errno.h'. 7028: * i386/i386at/com.c: Include <device/device_types.h> instead of 7029: <device/errno.h>. 7030: (comopen): Replace ENXIO with D_NO_SUCH_DEVICE. 7031: * i386/i386at/kd_event.c: Include <device/device_types.h> instead of 7032: <device/errno.h>. 7033: * i386/i386at/kd_mouse.c: Likewise. 7034: (mouseopen): Replace ENODEV with D_NO_SUCH_DEVICE and EBUSY with 7035: D_ALREADY_OPEN. 7036: * i386/i386at/lpr.c: Include <device/device_types.h> instead of 7037: <device/errno.h>. 7038: (lpropen): Replace ENXIO with D_NO_SUCH_DEVICE and EBUSY with 7039: D_ALREADY_OPEN. 7040: 7041: 2011-09-02 Guillem Jover <[email protected]> 7042: 7043: Change argument name to match function body usage 7044: Otherwise the function wrongly uses the global symbol. 7045: 7046: * linux/src/drivers/scsi/ppa.c (ppa_nibble_in): Rename `str_p' argument 7047: to `base'. 7048: 7049: 2011-09-02 Guillem Jover <[email protected]> 7050: 7051: Disable set but unused variable 7052: * linux/src/drivers/scsi/gdth.c (gdth_detect): Conditionalize `b' on 7053: [LINUX_VERSION_CODE < 0x020000]. Do not preset it to 0, it's initialized 7054: later on when needed. 7055: 7056: Remove set but unused variables 7057: * linux/dev/drivers/block/floppy.c (setup_rw_floppy): Remove `dflags'. 7058: (floppy_eject): Remove `dummy'. 7059: * linux/src/drivers/net/8390.c (ethdev_init): Remove `ei_local'. 7060: * linux/src/drivers/scsi/ppa.c (ppa_detect): Remove `ppb'. 7061: 7062: Cast addr argument to vm_offset_t 7063: * linux/dev/glue/kmem.c (vfree): Cast `addr' argument on kfree_mem 7064: function to vm_offset_t. 7065: 7066: Add vsnprintf prototype 7067: * kern/printf.h (vsnprintf): New prototype. 7068: 7069: Add missing headers 7070: * linux/dev/init/main.c: Include <linux/pci.h>. 7071: * linux/dev/kernel/printk.c: Include <kern/printf.h>. 7072: 7073: 2011-09-01 Ludovic Courtès <[email protected]> 7074: 7075: Add missing header file to the distribution. 7076: * linux/Makefrag.am (liblinux_a_SOURCES): Add `linux/dev/glue/glue.h', 7077: which appeared in commit 2b4bff9914d57bff600ac70194b8b1aab3485bee 7078: ("Fix declarations"). 7079: 7080: 2011-09-01 Samuel Thibault <[email protected]> 7081: 7082: Fix documentation 7083: 7084: Close kernel stacks. 7085: * i386/i386/pcb.c (stack_attach): Initialize ebp to 0. 7086: 7087: 2011-09-01 Samuel Thibault <[email protected]> 7088: 7089: Fix PC sampling 7090: interrupt.S now saves the IRQ on the stack to acknowledge it later. 7091: 7092: * i386/i386/hardclock.c (hardclock): Add irq parameter. 7093: * i386/i386at/kd.c (kdintr, kdcheckmagic): Remove regs parameter. 7094: * i386/i386at/kd.h (kdintr): Likewise. 7095: 7096: 2011-08-31 Guillem Jover <[email protected]> 7097: 7098: Add silent rules support if available and disable it by default 7099: * configure.ac (AM_SILENT_RULES): Add silent rules support if available, 7100: and disable it by default. 7101: * Makefile.am (AWK_V, AWK_V_, AWK_V_0): New variables. 7102: (NM_V, NM_V_, NM_V_0): Likewise. 7103: (GZIP_V, GZIP_V_, GZIP_V_0): Likewise. 7104: (MIGCOM_V, MIGCOM_V_, MIGCOM_V_0): Likewise. 7105: (gnumach-undef): Use NM_V in front of NM. 7106: (gnumach-undef-bad): Use AM_V_GEN in front of sed. 7107: (clib-routines.o): Use AM_V_at in fron of undefined symbols check. 7108: Use AM_V_CCLD in front of CCLD. 7109: * Makefrag.am (gnumach.msgids): Use AM_V_GEN in front of cat. 7110: * Makerules.am (%.symc): Use AWK_V in front of AWK. 7111: (%.symc.o): Use AM_V_CC in front of COMPILE. 7112: (%.h): Use AM_V_GEN in front of sed. 7113: (%.gz): Use GZIP_V in front of GZIP. 7114: * Makerules.mig.am (%.user.defs.c): Use AM_V_GEN in front of command. 7115: (%.server.defs.c): Likewise. 7116: (%.user.h %.user.c %.user.msgids): Use MIGCOM_V in front of MIGCOM. 7117: (%.server.h %.server.c %.server.msgids): Likewise. 7118: 7119: 2011-08-31 Samuel Thibault <[email protected]> 7120: 7121: Optimize copyout path 7122: * i386/i386/locore.S (copyout): Remove RETRY() use from >=i486 variant. Move 7123: copyout_ret and copyout_fail. 7124: 7125: Fix copyout retry on lazy allocation on >= i486 7126: * i386/i386/locore.S (copyout): Add a >=i486 variant of copyout which uses 7127: no loop, but simply retries rep mov. 7128: 7129: Disable global page while writing in kernel space 7130: * i386/i386/db_interface.c (db_write_bytes): If CPU has PGE feature, disable 7131: CR4_PGE before enabling kernel page write access, and re-enable the former after 7132: disabling the latter. 7133: 7134: 2011-08-31 Samuel Thibault <[email protected]> 7135: 7136: Protect set_cr3 against compiler assignment optimizations 7137: This fixes the kdb `break' command. 7138: 7139: i386/i386/proc_reg.h (set_cr3): Add "memory" clobber. 7140: 7141: 2011-08-31 Guillem Jover <[email protected]> 7142: 7143: Fix undefined operation on assigning self pre-incremented variable 7144: * linux/src/drivers/scsi/wd7000.c (mail_out): Add `1' instead of 7145: pre-incrementing self assigned variable. 7146: * linux/src/drivers/net/de4x5.c (de4x5_sw_reset, de4x5_queue_pkt, de4x5_rx) 7147: (de4x5_tx, de4x5_rx_ovfc, set_multicast_list, ping_media, mii_get_phy) 7148: (de4x5_ioctl): Likewise. 7149: * linux/src/drivers/net/depca.c (depca_rx, depca_tx, load_packet): Likewise. 7150: 7151: Honour type promotion on variable argument handling 7152: * linux/dev/lib/vsprintf.c (linux_vsprintf): Use `int' when retrieving 7153: a `short' through `va_arg'. 7154: 7155: Correct MiG Mach types to fix compilation warnings 7156: * include/mach/mach_types.defs (thread_info_t): Change from array of 7157: natural_t to integer_t. 7158: (task_info_t): Likewise. 7159: (host_info_t): Likewise. 7160: (processor_info_t): Likewise. 7161: (processor_set_info_t): Likewise. 7162: 7163: Denote __exit symbols as used 7164: * linux/src/include/linux/init.h: Include <linux/compiler.h>. 7165: (__exitused): New macro. 7166: (__exit): Define to ` __exitused __cold notrace'. 7167: * linux/src/include/linux/kcomp.h (__exit): Remove. 7168: 7169: Move <linux/init.h> from linux/pcmcia-cs to linux/src 7170: * linux/pcmcia-cs/include/linux/init.h: Move to ... 7171: * linux/src/include/linux/init.h: ... here. 7172: 7173: Import Linux 3.1 compiler definitions 7174: * linux/src/include/linux/compiler.h: New file. 7175: * linux/src/include/linux/compiler-gcc.h: Likewise. 7176: * linux/src/include/linux/compiler-gcc3.h: Likewise. 7177: * linux/src/include/linux/compiler-gcc4.h: Likewise. 7178: * linux/dev/include/linux/kernel.h (barrier): Remove definition and 7179: include <linux/compiler.h> instead. 7180: 7181: Import Linux 3.1 ctype code 7182: * linux/src/include/linux/ctype.h: Update file. 7183: * linux/src/lib/ctype.c: Likewise. 7184: 7185: Remove unused and non-functional string specialization header 7186: * linux/src/include/asm-i386/string-486.h: Remove. 7187: 7188: Fix memcmp prototype 7189: * include/string.h (memcmp): Remove bogus `*' from return type. 7190: 7191: 2011-08-31 Samuel Thibault <[email protected]> 7192: 7193: Fix declarations 7194: * device/ds_routines.h (io_done_list): Add variable declaration. 7195: (device_io_map): Keep variable declaration and move definition to... 7196: * device/ds_routines.c: ... here. 7197: * i386/i386/fpu.c: Include <i386/pic.h> 7198: (curr_ipl): Remove declaration. 7199: (fpintr): Add int unit parameter. 7200: * linux/dev/glue/glue.h: New header. 7201: * i386/i386/fpu.h (fpintr): Add function prototype. 7202: * i386/i386/hardclock.c (clock_interrupt, linux_timer_intr): Remove prototypes. 7203: [LINUX_DEV]: Include <linux/dev/glue/glue.h> 7204: * i386/i386/ipl.h (curr_ipl): Add declaration. 7205: * i386/i386/pic.h (curr_pic_mask, pic_mask, prtnull, intnull): Add 7206: declarations. 7207: * i386/i386at/kd.h (kdintr): Add declaration. 7208: * i386/i386at/pic_isa.c: Include <i386/fpu.h> and <i386at/kd.h> 7209: (intnull, fpintr, hardclock, kdintr, prtnull): Remove prototypes. 7210: * i386/xen/xen.c: Include <kern/mach_clock.h> 7211: (clock_interrupt): Remove prototype. 7212: * linux/dev/arch/i386/kernel/irq.c: Include <linux/dev/glue/glue.h> and 7213: <machine/machspl.h> 7214: (linux_timer_intr, splhigh, spl0, curr_ipl, curr_pic_mask, pic_mask, 7215: get_options): Remove declarations. 7216: * linux/dev/drivers/block/floppy.c: Include <linux/dev/glue/glue.h> 7217: (issig, get_options): Remove declarations. 7218: * linux/dev/drivers/block/genhd.c: Include <linux/dev/glue/glue.h> 7219: (linux_intr_pri): Remove declaration. 7220: * linux/dev/glue/block.c: Include <devices/ds_routines.h> and 7221: <linux/dev/glue/glue.h>. 7222: (device_io_map, blksize_size): Remove declarations. 7223: * linux/dev/glue/kmem.c: Include <kern/printf.h> and <linux/dev/glue/glue.h> 7224: (alloc_contig_mem, printf): Remove declarations. 7225: * linux/dev/glue/misc.c: Include <printf.h> and <linux/dev/glue/glue.h> 7226: (vm_map_lookup_entry, printf): Remove prototypes. 7227: * linux/dev/glue/net.c: Include <kern/printf.h>, <device/ds_routines.h> and 7228: <linux/dev/glue/glue.h>. 7229: (linux_intr_pri, io_done_list): Remove declarations. 7230: * linux/dev/init/main.c: Include <machine/model_dep.h> and 7231: <linux/dev/glue/glue.h>. 7232: (phys_last_addr, alloc_contig_mem, free_contig_mem, init_IRQ, 7233: restore_IRQ, startrtclock, linux_version_init, linux_kmem_init, pci_init, 7234: linux_net_emulation_init, device_setup, linux_printk, linux_timer_intr, spl0, 7235: splhigh, form_pic_mask, linux_bad_intr, prtnull, intnull, linux_sched_init, 7236: pcmcia_init): Remove declarations. 7237: * linux/dev/kernel/sched.c: Include <kern/printf.h>, <machine/machspl.h> and 7238: <linux/dev/glue/glue.h>. 7239: (alloc_contig_mem, free_contig_mem, splhigh, splx, linux_soft_intr, issig, 7240: printf, linux_auto_config): Remove prototypes. 7241: * linux/dev/kernel/softirq.c: Include <linux/dev/glue/glue.h>. 7242: * linux/src/drivers/block/floppy.c: Include <linux/dev/glue/glue.h>. 7243: (get_options): Remove prototype. 7244: * linux/src/init/main.c: Include <linux/dev/glue/glue.h> 7245: (init_IRQ): Remove prototype. 7246: 7247: 2011-08-30 Guillem Jover <[email protected]> 7248: 7249: Add linux_timer_intr function declaration 7250: * i386/i386/hardclock.c [LINUX_DEV] (linux_timer_intr): New prototype. 7251: 7252: Add missing headers 7253: * device/dev_pager.c: Include <device/memory_object_reply.user.h>. 7254: * linux/pcmcia-cs/glue/wireless_glue.h: Include <kern/debug.h>. 7255: 7256: Remove unused variable 7257: * i386/i386at/rtc.c (rtc): Remove variable. 7258: 7259: Cast host_get_time() arguments to fix warnings 7260: * linux/dev/glue/misc.c (do_gettimeofday): Cast arguments to 7261: `host_get_time'. 7262: 7263: Cast function timeout() argument to fix a warning 7264: * kern/mach_clock.h (timer_func_t): New function type. 7265: (struct timer_elt): Change fcn type to timer_func_t. 7266: * i386/i386at/com.c (comstart): Cast `ttrstrt' to `timer_funct_t *' in 7267: `timeout' call. 7268: * i386/i386at/lpr.c (lprstart): Likewise, 7269: 7270: Return a value on non-void function 7271: * i386/i386at/com.c (comcnprobe, comcninit, comcnputc): Return 0. 7272: 7273: 2011-08-30 Samuel Thibault <[email protected]> 7274: 7275: Fix copyright assignment 7276: I have assigned copyright to the Free Software Foundation. 7277: 7278: * i386/i386/xen.h: Fix copyright assignment 7279: * i386/xen/xen.c: Likewise. 7280: * i386/xen/xen_boothdr.S: Likewise. 7281: * i386/xen/xen_locore.S: Likewise. 7282: * include/mach/xen.h: Likewise. 7283: * xen/block.c: Likewise. 7284: * xen/block.h: Likewise. 7285: * xen/console.c: Likewise. 7286: * xen/console.h: Likewise. 7287: * xen/evt.c: Likewise. 7288: * xen/evt.h: Likewise. 7289: * xen/grant.c: Likewise. 7290: * xen/grant.h: Likewise. 7291: * xen/net.c: Likewise. 7292: * xen/net.h: Likewise. 7293: * xen/ring.c: Likewise. 7294: * xen/ring.h: Likewise. 7295: * xen/store.c: Likewise. 7296: * xen/store.h: Likewise. 7297: * xen/time.c: Likewise. 7298: * xen/time.h: Likewise. 7299: * xen/xen.c: Likewise. 7300: * xen/xen.h: Likewise. 7301: 7302: 2011-08-30 Samuel Thibault <[email protected]> 7303: 7304: Console declaration cleanup 7305: * device/cons.h: Add multiple inclusion _DEVICE_CONS_H macro protector. 7306: (struct consdev): Add function members prototypes. 7307: * i386/i386/xen.h: Include <mach/xen.h>. 7308: * i386/i386at/com.c (comcnprobe, comcninit, comcngetc, comcnputc): Move 7309: prototypes... 7310: * i386/i386at/com.h: ... here. Include <device/cons.h>. 7311: * i386/i386at/cons_conf.c [MACH_HYP]: Include <xen/console.h>. 7312: [!MACH_HYP]: Include "kd.h". 7313: [!MACH_HYP && NCOM > 0]: Include "com.h". 7314: (hypcnprobe, hypcninit, hypcngetc, hypcnputc, kdcnprobe, kdcninit, kdcngetc, 7315: kdcnputc comcnprobe, comcninit, comcngetc, comcnputc): Remove prototypes. 7316: * i386/i386at/kd.c (kdcnputc): Make it return int, -1 on error, 0 on 7317: success. 7318: (kdcnprobe, kdcninit, kdcngetc, kdcnputc): Move prototypes... 7319: * i386/i386at/kd.h: ... here. Include <device/cons.h>. 7320: * xen/console.c (hypcnprobe): Remove unused `my_console' local variable. 7321: * xen/console.h: Include <device/cons.h> 7322: (hypcnputc, hypcngetc, hypcnprobe, hypcninit): Add prototypes. 7323: 7324: 2011-08-30 Guillem Jover <[email protected]> 7325: 7326: Move Linux module macros to their original header 7327: * linux/pcmcia-cs/glue/wireless_glue.h (EXPORT_SYMBOL) 7328: (SET_MODULE_OWNER): Move to ... 7329: * linux/src/include/linux/module.h [!MODULE]: ... here. 7330: 7331: Move cdrom_sleep() definition to its original source file 7332: * linux/dev/kernel/sched.c (cdrom_sleep): Move to ... 7333: * linux/src/drivers/block/ide-cd.c [MACH]: ... here, make it static. 7334: Include <kern/sched_prim.h>. 7335: 7336: 2011-08-29 Samuel Thibault <[email protected]> 7337: 7338: Make copyout run in 1 loop on >= i486 7339: * i386/i386/locore.S (copyout): On >= i486, skip WP-check loop split and just 7340: use byte count. 7341: 7342: 2011-08-28 Samuel Thibault <[email protected]> 7343: 7344: Skip kernel WP check on i486 and above 7345: * i386/i386/i386asm.sym (machine_slot.sub_type): Define. 7346: * i386/i386/locore.S (copyout_retry): Skip if machine_slot[0].cpu_type > 3. 7347: 7348: Enable >4GiB cr3 7349: * i386/xen/xen_boothdr.S (__xen_guest): Add [extended-cr3] to PAE 7350: (XEN_ELFNOTE_PAE_MODE): Likewise. 7351: 7352: 2011-08-28 Samuel Thibault <[email protected]> 7353: 7354: Disable (<i486)-only WP workaround on Xen & PAE 7355: i386 didn't support PAE anyway. 7356: 7357: * i386/i386/locore.S (copyout_retry) [MACH_HYP || PAE]: Remove. 7358: * xen/xen.c (hyp_invalidate_pte): Remove function. 7359: * xen/xen.h (hyp_invalidate_pte): Remove prototype. 7360: 7361: 2011-08-28 Samuel Thibault <[email protected]> 7362: 7363: Fix pmap_clear_bootstrap_pagetable with >4G mfns 7364: * i386/intel/pmap.c (pmap_clear_bootstrap_pagetable): Use pte_to_pa instead 7365: of atop. 7366: 7367: Rework memory mapping reservation 7368: * i386/i386/vm_param.h (VM_KERNEL_MAP_SIZE): Define to 192MiB. 7369: * i386/i386at/model_dep.c (mem_size_init): Use VM_KERNEL_MAP_SIZE instead of 7370: 1/6 factor. 7371: * i386/intel/pmap.c (morevm): Remove. 7372: (pmap_bootstrap): Use VM_KERNEL_MAP_SIZE instead of morevm. 7373: 7374: Move free_skbuffs declaration to the top 7375: * device/ds_routines.c (free_skbuffs): Move declaration to the top. 7376: 7377: 2011-08-27 Guillem Jover <[email protected]> 7378: 7379: Initialize the new map entry when it's a projected buffer 7380: * vm/vm_map.c (vm_map_fork): Call vm_map_entry_create for projected_on 7381: buffers too. 7382: 7383: Fix initialization from incompatible pointer type 7384: * linux/dev/glue/block.c (device_get_status): Cast `hg' to `unsigned long' 7385: in ioctl call. 7386: 7387: Match signedness of char pointer comparisons and assignments 7388: * linux/dev/drivers/block/genhd.c (msdos_partition): Cast `data' assignment 7389: to `unsigned char *'. 7390: * linux/src/drivers/block/ide-cd.c (cdrom_queue_request_sense): Cast 7391: `buffer' assignment to `unsigned char *'. 7392: (cdrom_transfer_packet_command): Change `cmd_buf' argument type to 7393: `unsigned char *'. 7394: (cdrom_read_capacity): Cast `pc.buffer' assignments to `unsigned char *'. 7395: Use temporary `model' and `fw_rev' `const char *' variables to compare 7396: against literal strings and characters. 7397: * linux/src/drivers/block/ide.c (execute_drive_cmd): Cast `args' 7398: assignment to `byte *'. 7399: (ide_open): Cast `rq.buffer' assignment to `char *'. 7400: (ide_release): Likewise. 7401: (ide_ioctl): Likewise. 7402: (do_identify): Cast variables being compared against literal string to 7403: `char *'. 7404: (probe_for_drive): Likewise. 7405: * linux/src/drivers/block/ide.h (struct packet_command): Change `buffer' 7406: type to `unsigned char *'. 7407: 7408: Always initialize A and X variables in BPF code 7409: * device/net_io.c (bpf_do_filter): Remove lint conditional. 7410: 7411: Disable unused variables 7412: * i386/i386at/com.c (comstart): Disable `i' variable. 7413: * linux/src/drivers/net/at1700.c (net_close): Disable `lp' variable. 7414: * linux/dev/include/linux/blk.h (end_request): Disable `nsect' variable 7415: on MACH. 7416: 7417: Remove unused variables 7418: * vm/memory_object_proxy.c (memory_object_create_proxy): Remove unused 7419: `kr' variable. 7420: * linux/dev/glue/block.c (free_buffer): Remove unused `i' variable. 7421: (register_blkdev): Remove unused `err' variable. 7422: (unregister_blkdev): Likewise. 7423: (bread): Likewise. 7424: (init_partition): Likewise. 7425: * linux/dev/glue/net.c (device_write): Likewise. 7426: 7427: Remove ident tags producing preprocessor warnings 7428: * linux/src/drivers/scsi/FlashPoint.c: Remove #ident tags. 7429: 7430: Add header for printf prototype 7431: * vm/memory_object_proxy.c: Include <kern/printf.h>. 7432: 7433: Add prototype for free_skbuffs function 7434: * device/ds_routines.c [LINUX_DEV && CONFIG_INET] (free_skbuffs): Add 7435: prototype. 7436: 7437: Add prototype for log function 7438: * kern/debug.h (log): New prototype. 7439: 7440: 2011-08-27 Samuel Thibault <[email protected]> 7441: 7442: * Makefile.am (AM_CFLAGS): Add -fno-builtin-log. 7443: 7444: 2011-08-27 Guillem Jover <[email protected]> 7445: 7446: Add prototypes for locore functions 7447: * i386/i386at/model_dep.c (discover_x86_cpu_type): Move ... 7448: * i386/i386/locore.h: ... here. 7449: (inst_fetch, cpu_shutdown): New prototypes. 7450: * i386/i386at/kd.c: Include <i386/locore.h>. 7451: 7452: Do not take obsolete and unused bcopy and bzero from libc 7453: * Makefile.am (clib_routines): Remove bcopy and bzero. 7454: 7455: Use AC_LANG_SOURCE inside AC_LANG_CONFTEST to fix autoconf warning 7456: * configure.ac (AC_LANG_CONFTEST): Wrap the source into a AC_LANG_SOURCE 7457: call. 7458: 7459: Add a .gitignore file 7460: * .gitignore: New file. 7461: 7462: 2011-08-22 Samuel Thibault <[email protected]> 7463: 7464: Make ipc_space_zone not exhaustible 7465: Users of ipc_space_create() actually assume that it succeeds. 7466: 7467: * ipc/ipc_init.c (ipc_bootstrap): Create ipc_space_zone without EXHAUSTIBLE 7468: flag. 7469: 7470: 2011-08-22 Samuel Thibault <[email protected]> 7471: 7472: Add more details to "zone exhausted" panics. 7473: * kern/zalloc (zalloc): Add more details to "zone exhausted" panics. 7474: 7475: 2011-08-21 Samuel Thibault <[email protected]> 7476: 7477: Add 8byte breakpoint macro 7478: * i386/i386/db_interface.h (I386_DB_LEN_8): Define macro. 7479: 7480: 2011-08-18 Samuel Thibault <[email protected]> 7481: 7482: Add compiler barrier to update_mapped_time 7483: * kern/mach_clock.c (update_mapped_time): Add compiler barriers between 7484: writes to shared memory. Update comment: on SMP, write barriers are 7485: required. 7486: 7487: 2011-08-10 Samuel Thibault <[email protected]> 7488: 7489: Do not warn for cross-space spurious port deallocation 7490: These are harmless (the target is stopped) and difficult to fix anyway. 7491: 7492: * ipc/mach_port.c (mach_port_destroy): Do not warn about spurious port 7493: deallocation when SPACE is not equal to current_space(). 7494: (mach_port_deallocate): Likewise. 7495: 7496: 2011-08-10 Samuel Thibault <[email protected]> 7497: 7498: Add more spurious deallocation debugging 7499: * ipc/mach_port.c (mach_port_destroy): Print the current space and the 7500: target space on spurious deallocation. 7501: (mach_port_deallocate): Likewise. 7502: 7503: 2011-07-21 Samuel Thibault <[email protected]> 7504: 7505: Whitelist QEMU Hard-Drive for DMA. 7506: PIO has become very slow in Linux 2.6.35+, so we do not really have the 7507: choice any more. 7508: 7509: * linux/src/drivers/block/triton.c (good_dma_drives): Re-whitelist QEMU hard 7510: drive. 7511: 7512: 2011-05-19 Samuel Thibault <[email protected]> 7513: 7514: Fix gcc 4.6 build 7515: * linux/dev/include/linux/skbuff.h (skb_put, skb_push): Do not print the 7516: address of a local label, gcc 4.6 does not build this and the debugger can 7517: output it anyway. 7518: * linux/src/include/linux/skbuff.h (skb_put, skb_push): Likewise. 7519: 7520: 2011-05-18 Samuel Thibault <[email protected]> 7521: 7522: Merge two asm constraints 7523: * linux/src/drivers/scsi/ultrastor.c (find_and_clear_bit_16): Use + modifier 7524: instead of using both a read and a write constraint. 7525: 7526: 2011-05-09 Samuel Thibault <[email protected]> 7527: 7528: Do not warn on vm_map_enter with fixed address failing 7529: * vm/vm_map.c (vm_map_enter): Warn about missing room in map only if 7530: anywhere is set. 7531: 7532: 2011-04-24 Samuel Thibault <[email protected]> 7533: 7534: Update constants to nowadays standards 7535: Follow-up to fa6c711d 7536: 7537: * ipc/ipc_init.c (ipc_kernel_map_size): Increase to 8MiB. 7538: 7539: 2011-04-23 Samuel Thibault <[email protected]> 7540: 7541: Enable all caches 7542: * i386/i386at/model_dep.c (i386at_init): Set CR0_CD and CR0_NW in CR0 7543: register. 7544: 7545: Drop spurious warning 7546: * ipc/ipc_entry.c (ipc_entry_get): Do not warn when ipc_entry_get returns 7547: KERN_NO_SPACE. 7548: 7549: 2011-04-22 Samuel Thibault <[email protected]> 7550: 7551: Warn once when part of the kernel is lacking space 7552: * ipc/ipc_entry.c (ipc_entry_get, ipc_entry_grow_table): Warn when returning 7553: KERN_NO_SPACE. 7554: * vm/vm_map.c (vm_map_find_entry, vm_map_enter, vm_map_copyout, 7555: vm_map_copyout_page_list): Warn when returning KERN_NO_SPACE. 7556: 7557: 2011-04-22 Samuel Thibault <[email protected]> 7558: 7559: Update constants to nowadays standards 7560: Follow-up to fa6c711d 7561: 7562: * vm/vm_object.c (DEVICE_IO_MAP_SIZE): Increase to 16MiB. 7563: * kern/kalloc.c (kalloc_map_size): Increase to 64MiB. 7564: * i386/intel/pmap.c (morevm): Increase to 128MiB. 7565: 7566: 2011-04-20 Samuel Thibault <[email protected]> 7567: 7568: Warn once when part of the kernel is lacking memory 7569: * kern/printf.h (printf_once): New macro. 7570: * ipc/mach_port.c (mach_port_names, mach_port_get_set_status): Warn when 7571: returning KERN_RESOURCE_SHORTAGE. 7572: * vm/vm_kern.c: Include printf.h. 7573: (kmem_alloc, kmem_realloc, kmem_alloc_wired, kmem_alloc_aligned, 7574: kmem_alloc_pageable): Warn when failing. 7575: * vm/vm_resident.c (vm_page_grab_contiguous_pages): Warn when returning 7576: KERN_RESOURCE_SHORTAGE. 7577: 7578: 2011-04-19 Samuel Thibault <[email protected]> 7579: 7580: Close call stack on continuation 7581: * i386/i386/locore.S (call_continuation): Push dummy return address instead 7582: of letting the callee get a random one. 7583: 7584: 2011-04-18 Arne Babenhauserheide <[email protected]> 7585: 7586: Removed deprecated LINTLIBRARY #ifdefs 7587: mach/mach_traps.h: Removed LINTLIBRARY #ifdefs. 7588: mach/message.h: Removed LINTLIBRARY #ifdefs. 7589: 7590: 2011-04-03 Samuel Thibault <[email protected]> 7591: 7592: Fix build with kdb from make dist-generated tarball 7593: * Makefrag.am (libkernel_a_SOURCES): Add ddb/db_cond.h, ddb/db_examine.h, 7594: ddb/db_input.h, ddb/db_macro.h, ddb/db_trap.h. 7595: * i386/Makefrag.am (libkernel_a_SOURCES): Add i386/i386/db_interface.h 7596: 7597: 2011-03-21 Samuel Thibault <[email protected]> 7598: 7599: Fix typo 7600: * i386/i386at/kd.c (key_map): Fix K_PERIOD typo. 7601: 7602: 2011-03-20 Samuel Thibault <[email protected]> 7603: 7604: Clean kd.[ch] 7605: * i386/i386at/kd.h (NUMSTATES): Fix comment about NORM_STATE. 7606: * i386/i386at/kd.c (key_map): Use K_* macros instead of numeric values. 7607: 7608: 2011-03-14 Samuel Thibault <[email protected]> 7609: 7610: Also warn about mach_port_destroy on invalid ports 7611: * ipc/mach_port.c (mach_port_destroy): Warn (and possibly call debugger) when 7612: ipc_right_lookup_write didn't find the port name. 7613: 7614: 2011-03-11 Samuel Thibault <[email protected]> 7615: 7616: Fix continuation after keyboard debugger invocation 7617: According to stack layout change in 5da1aea7 7618: 7619: * i386/i386/locore.S [!MACH_XEN] (RET_OFFSET): Define to 12 instead of 8. 7620: 7621: 2011-03-06 Samuel Thibault <[email protected]> 7622: 7623: Enable global pages after enabling paging 7624: * i386/i386at/model_dep.c (i386at_init): Enable CR4_PGE after enabling 7625: CR0_PG. 7626: 7627: 2011-03-05 Samuel Thibault <[email protected]> 7628: 7629: Fix temporary direct mapping during page table enabling 7630: * i386/i386at/model_dep.c (i386at_init): Count the number of actually 7631: needed temporary L1 direct mapping by getting the last used address from 7632: init_alloc_aligned(), instead of hardcoding it to 1 or 3, and then use a for 7633: loop. 7634: 7635: 2011-03-03 Samuel Thibault <[email protected]> 7636: 7637: Keep supplementary L1 pages read-only 7638: * i386/intel/pmap.c (pmap_bootstrap): Fix loop which keeps supplementary L1 7639: pages read-only: break as soon as one of the L1 supplementary pages has been 7640: recognized, so that its pte does not get rewritten read-write. 7641: 7642: 2011-02-27 Samuel Thibault <[email protected]> 7643: 7644: Refuse to share IRQs at different interrupt levels 7645: * linux/dev/arch/i386/kernel/irq.c (setup_x86_irq): Return -LINUX_EBUSY when 7646: trying to share an IRQ between two different interrupt levels. 7647: 7648: 2011-02-27 Samuel Thibault <[email protected]> 7649: 7650: Re-enable updating pvlist for kernel_pmap 7651: This partially reverts 0744feb6 7652: 7653: * i386/intel/pmap.c (pmap_remove_range): Update pvlist for kernel_pmap too. 7654: 7655: 2011-02-27 Samuel Thibault <[email protected]> 7656: 7657: Acknoledge interrupt after handler call 7658: This fixes interrupt overflows when software interrupts processing gets slower 7659: than hardware. 7660: 7661: * i386/i386at/interrupt.S (interrupt): Issue EOI to PICs after having called 7662: the interrupt handler and disabled interrupts through cli. 7663: 7664: 2011-02-27 Samuel Thibault <[email protected]> 7665: 7666: Detect interrupt overflow 7667: * i386/i386/locore.S (int_from_instack): Check %esp against _intstack, issue 7668: ud2 on stack overflow. 7669: 7670: Add x86 debug register Xen support 7671: * i386/xen/xen_boothdr.S: Add global visibility to __hyp_* symbols. 7672: * i386/i386/locore.S [MACH_XEN] (dr6,dr0,dr1,dr2,dr3): Make get_debugreg and 7673: set_debugreg hypercalls to manipulate debug registers. 7674: (dr0,dr1,dr2,dr3): Fix dr7 field shift. 7675: * i386/i386/xen.h (hyp_set_debugreg, hyp_get_debugreg): New prototypes. 7676: 7677: Add prototypes for x86 debug registers 7678: * i386/i386/db_interface.h (I386_DB_TYPE_X, I386_DB_TYPE_W, I386_DB_TYPE_RW, 7679: I386_DB_LEN_1, I386_DB_LEN_2, I386_DB_LEN_4, I386_DB_LOCAL, 7680: I386_DB_GLOBAL): New macros. 7681: (dr0, dr1, dr2, dr3): New function prototypes. 7682: 7683: Fix for kdb watch command 7684: * i386/intel/pmap.c (pmap_remove_range): Do not update pvlist for 7685: kernel_map. 7686: [MACH_KBD] (pmap_enter): Allow physical memory remapping. 7687: 7688: 2011-02-26 Samuel Thibault <[email protected]> 7689: 7690: Add console=comN boot option to enable serial console 7691: * i386/configfrag.ac (RCLINE, RCADDR): Remove defines. 7692: * i386/i386at/com.c: Include <string.h> and <util/atoi.h> 7693: [!RCLINE] (RCBAUD, comcndev, comcnprobe, comcninit, comcngetc, comcnputc): 7694: Declare and define macro, variable, and functions. 7695: (rcline): New variable. 7696: (kernel_cmdline): New declaration. 7697: (comcnprobe): Detect "console=comN" option and set rcline accordingly, use 7698: rcline instead of RCLINE for serial console selection. 7699: * i386/i386at/cons_conf.c [NCOM>0 && !RCLINE] (comcnprobe, comcninit, 7700: comcngetc, comcnputc): Declare functions. 7701: [NCOM>0 && !RCLINE] (constab): Enable "com" console. 7702: * i386/i386at/kd_event.c (kbdopen): Call kdinit function, for when the 7703: VGA+pckbd console was not initialized. 7704: 7705: 2011-02-09 Samuel Thibault <[email protected]> 7706: 7707: xen block: Add more legacy hd* name support 7708: * xen/block.c (hyp_block_init): Add IDE 3-10 device number recognition. Skip 7709: unknown block device numbers. 7710: 7711: 2011-02-07 Samuel Thibault <[email protected]> 7712: 7713: Defer Xen device initialization to device_service_create 7714: * device/device_init.c (device_service_create) [MACH_HYP]: Call 7715: hyp_dev_init. 7716: * xen/xen.c (hyp_init): Do not call hyp_block_init and hyp_net_init, now 7717: called in ... 7718: (hyp_dev_init): New function. 7719: * xen/xen.h (hyp_dev_init): New declaration. 7720: 7721: Add rx-copy support to netfront 7722: * xen/net.c (net_data): Add rx_copy field. 7723: (enqueue_rx_buf): When rx_copy != 0, give grant on buffer to domD instead of 7724: issuing a transfer from domD. 7725: (hyp_net_intr): When rx_copy != 0, take back grant on buffer instead of 7726: finishing transfer. Do not panic on packet error, free kmsg on error. 7727: (hyp_net_init): Check for feature-rx-copy in backend, write 1 to 7728: request-rx-copy in such case. Wait for Connected state before continuing. 7729: Only unmap buffer when rx_copy is 0. 7730: 7731: 2011-01-31 Diego Nieto Cid <[email protected]> 7732: 7733: * doc/mach.texi (device_set_filter): Document filter header. 7734: Acked-by: Richard Braun <[email protected]> 7735: 7736: 2011-01-31 Samuel Thibault <[email protected]> 7737: 7738: Enable pae_extended_cr3 in pmap_bootstrap 7739: * i386/i386/gdt.c (gdt_init): Do not enable VMASST_TYPE_pae_extended_cr3. 7740: * i386/intel/pmap.c (pmap_bootstrap): Enable VMASST_TYPE_pae_extended_cr3. 7741: 7742: Enable Xen >4GiB physical memory support 7743: * i386/i386/gdt.c (gdt_init): Enable VMASST_TYPE_pae_extended_cr3. 7744: * i386/i386/xen.h: Drop actually-unneeded comment. 7745: * i386/xen/xen_boothdr.S (FEATURES) [MACH_PSEUDO_PHYS]: Add pae_pgdir_above_4gb. 7746: (XEN_ELFNOTE_FEATURES) [MACH_PSEUDO_PHYS]: Add pae_pgdir_above_4gb. 7747: 7748: Drop kbd device on xen 7749: * i386/Makefrag.am (libkernel_a_SOURCES): Move i386/i386at/kd_event.[ch] and 7750: i386/i386at/kd_queue.[ch] to [PLATFORM_at]. 7751: * i386/i386at/conf.c (dev_name_list): Move kbd device to [!MACH_HYP]. 7752: 7753: 2011-01-15 Samuel Thibault <[email protected]> 7754: 7755: Avoid dropping kd_intr when RCLINE is >= 0 7756: * i386/i386at/kd.c (kdintr): Return immediately if !kd_initialized. 7757: * i386/i386at/pic_isa.c (ivect) [RCLINE >= 0]: Enable kdintr in that case 7758: too. 7759: 7760: 2011-01-15 Samuel Thibault <[email protected]> 7761: 7762: Move -d and -H parse to kern/startup.c 7763: The code is arch-independant, and reboot_on_panic, used by kern/debug.c 7764: would be undefined on non-i386. 7765: 7766: * i386/i386at/model_dep.c (reboot_on_panic, c_boot_entry): Move -d and -H parse 7767: to... 7768: * kern/startup.c (reboot_on_panic,setup_main): ... here. Include <string.h> 7769: 7770: 2010-12-09 Samuel Thibault <[email protected]> 7771: 7772: memcpy operands are not supposed to overlap 7773: * include/string.h (memmove): Add prototype. 7774: * i386/i386at/immc.c (immc_cnputc): Replace memcpy with memmove. 7775: 7776: 2010-10-24 Samuel Thibault <[email protected]> 7777: 7778: Avoid harmless warning 7779: * i386/i386at/kd.c (kd_setleds1): Only display unexpected state warning when 7780: debugging is enabled. 7781: 7782: 2010-10-23 Samuel Thibault <[email protected]> 7783: 7784: Add prototype for strstr 7785: * include/string.h (strstr): Add prototype. 7786: 7787: Add prototype for discover_x86_cpu_type 7788: * i386/i386at/model_dep.c (discover_x86_cpu_type): Add prototype. 7789: 7790: Warn on unknown CPU family 7791: * i386/i386at/model_dep.c (c_boot_entry): Warn in the default case for 7792: cpu_type. 7793: 7794: Recognize P4 and Opteron-like as pentium pro 7795: * i386/i386at/model_dep.c (c_boot_entry): Treat cpu_type 15 as Pentium pro. 7796: 7797: 2010-09-19 Samuel Thibault <[email protected]> 7798: 7799: Fix device_get/set_status ABI for NET_FLAGS 7800: * linux/dev/glue/net.c (device_get_status): Compare count with 1 instead 7801: of sizeof(short). Access *status instead of *(short *) status. 7802: (device_set_status): Likewise. 7803: 7804: 2010-09-14 Thomas Schwinge <[email protected]> 7805: 7806: Merge branch 'typo-print' 7807: 7808: 2010-09-14 Thomas Schwinge <[email protected]> 7809: 7810: Typo fix. 7811: * i386/i386/trap.c (user_trap): Call printf, not print. 7812: 7813: 2010-09-14 Samuel Thibault <[email protected]> 7814: 7815: Fix ifunc entries 7816: * i386/ldscript: Update to the version from binutils 2.20.51.20100617. 7817: Remove SEARCH_DIR calls. 7818: * Makefile.am (clib_routines): Accept undefined __rel_iplt_start and 7819: __rel_iplt_end as these come from the ldscript. 7820: * i386/i386at/boothdr.S (boot_entry): Call ifunc hooks at boot. 7821: * i386/xen/xen_boothdr.S (start): Likewise. 7822: 7823: 2010-09-08 Samuel Thibault <[email protected]> 7824: 7825: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 7826: 7827: Fix non-contiguous PCI functions 7828: * linux/src/drivers/pci/pci.c (scan_bus): Do not set `is_multi' to 0 7829: when a hole is encountered. Detect 0000:ffff and ffff:0000 vendor ID as 7830: holes too. 7831: 7832: 2010-08-27 Guillem Jover <[email protected]> 7833: 7834: Fix "make dist" 7835: * Makefile.am (EXTRA_DIST): Remove ChangeLog.0, ChangeLog.00 and 7836: Makefile.correct_output_files_for_.S_files.patch. 7837: * Makefrag.am (libkernel_a_SOURCES): Add ipc/mach_port.h, 7838: kern/ipc_mig.h, kern/machine.h, util/putchar.h, util/atoi.h, 7839: vm/vm_resident.h, vm/vm_types.h and device/subrs.h. 7840: Remove kern/time_out.h. 7841: * i386/Makefrag.am (libkernel_a_SOURCES): Add i386/i386at/autoconf.h, 7842: i386/i386at/com.h, i386/i386at/int_init.h, i386/i386/loose_ends.h, 7843: i386/i386/model_dep.h, i386/intel/read_fault.h and i386/i386/xen.h. 7844: Remove i386/i386/timer.h. 7845: * linux/Makefrag.am (liblinux_a_SOURCES): Add 7846: linux/src/drivers/net/sis900.h. 7847: * xen/Makefrag.am (libkernel_a_SOURCES): Add xen/public/arch-x86_32.h 7848: xen/public/arch-x86_64.h, xen/public/arch-x86/xen.h, 7849: xen/public/arch-x86/xen-mca.h, xen/public/arch-x86/xen-x86_32.h, 7850: xen/public/arch-x86/xen-x86_64.h, xen/public/callback.h, xen/public/COPYING, 7851: xen/public/dom0_ops.h, xen/public/domctl.h, xen/public/elfnote.h, 7852: xen/public/elfstructs.h, xen/public/event_channel.h, xen/public/features.h, 7853: xen/public/grant_table.h, xen/public/io/blkif.h, xen/public/io/console.h, 7854: xen/public/io/fbif.h, xen/public/io/fsif.h, xen/public/io/kbdif.h, 7855: xen/public/io/netif.h, xen/public/io/pciif.h, xen/public/io/protocols.h, 7856: xen/public/io/ring.h, xen/public/io/tpmif.h, xen/public/io/xenbus.h, 7857: xen/public/io/xs_wire.h, xen/public/kexec.h, xen/public/libelf.h, 7858: xen/public/memory.h, xen/public/nmi.h, xen/public/physdev.h, 7859: xen/public/platform.h, xen/public/sched.h, xen/public/sysctl.h, 7860: xen/public/trace.h, xen/public/vcpu.h, xen/public/version.h, 7861: xen/public/xencomm.h, xen/public/xen-compat.h, xen/public/xen.h, 7862: xen/public/xenoprof.h, xen/block.h, xen/console.h, xen/evt.h, 7863: xen/grant.h, xen/net.h, xen/ring.h, xen/store.h, xen/time.h and xen/xen.h. 7864: 7865: 2010-08-26 Samuel Thibault <[email protected]> 7866: 7867: Do not advice to install libc0.3-xen on 4gb_segment trap 7868: ext2fs.static will trigger some anyway. Instead, provide an easy way to 7869: track how many traps happen. 7870: 7871: * i386/i386/gdt.c [MACH_XEN] (gdt_init): Disable enabling 7872: VMASST_TYPE_4gb_segments_notify. 7873: * i386/i386/trap.c [MACH_XEN] (user_trap): Remove printing libc0.3-xen 7874: installation advice on 4gb_segments trap. Instead, print a count every 10000 7875: traps, and disable them on the 1000000th. 7876: 7877: 2010-08-22 Samuel Thibault <[email protected]> 7878: 7879: Disable 4gb segment emulation notification on first notification 7880: i386/i386/trap.c [MACH_XEN] (user_trap): Disable 7881: VMASST_TYPE_4gb_segments_notify on trap 15. 7882: 7883: Report Xen 4gb segment emulation 7884: * i386/i386/gdt.c [MACH_XEN] (gdt_init): Enable VMASST_TYPE_4gb_segments_notify. 7885: * i386/i386/idt_inittab.S [MACH_XEN]: Set trap 15 as pushing an error 7886: code. 7887: * i386/i386/trap.c [MACH_XEN]: Print trap 15 first occurrence. 7888: 7889: 2010-08-01 Samuel Thibault <[email protected]> 7890: 7891: Fix unexpected irq + irq timeout on write 7892: * linux/src/drivers/block/ide.c (do_rw_disk): Set IRQ handler before 7893: issuing write command. 7894: 7895: Move read-only sections to after text section 7896: 7897: 2010-07-31 Samuel Thibault <[email protected]> 7898: 7899: Un-whitelist the QEMU harddisk for DMA support 7900: * linux/src/drivers/block/triton.c (good_dma_drives): Remove "QEMU HARDDISK". 7901: 7902: Put a name on the 16MiB magic number 7903: * linux/dev/glue/kmem.c (MEM_DMA_LIMIT): New macro 7904: (linux_kmem_init): Replace 16 * 1024 * 1024 occurrences with 7905: MEM_DMA_LIMIT. 7906: 7907: 2010-06-25 Jeremie Koenig <[email protected]> 7908: 7909: Route BLKRRPART to partitions layer 7910: * linux/dev/glue/block.c (device_set_status): New function 7911: (linux_block_emulation_ops): Set set_status field to device_set_status. 7912: 7913: 2010-04-16 Samuel Thibault <[email protected]> 7914: 7915: Add memory clobbers to segment selector loaders 7916: * i386/i386/seg.h (lldt): Add memory clobber to lldt asm 7917: snippet. 7918: * i386/i386/tss.h (ltr): Add memory clobber to ltr asm 7919: snippet. 7920: 7921: 2010-04-08 Samuel Thibault <[email protected]> 7922: 7923: Fix bootstrap additional mapping 7924: * i386/intel/pmap.c (pmap_bootstrap): Use pt_entry_t type 7925: instead of vm_offset_t to map additional kernel space. 7926: 7927: Extend machine addresses to 64bit for PAE 7928: * i386/i386/pcb.c (switch_ktss): Use uint64_t for descriptor 7929: type instead of unsigned long long. 7930: * i386/i386/seg.h (fill_descriptor): Use uint64_t for descriptor 7931: type instead of unsigned long long. Cast result of kv_to_ma() 7932: into vm_offset_t before printing. 7933: * i386/i386/xen.h (hyp_mmu_update_pte): Use pt_entry_t type 7934: instead of unsigned long long, make pte parameter a pt_entry_t 7935: too. 7936: (hyp_mmu_update_pte): Compute pte address just using pt_entry_t 7937: integers. 7938: (hyp_high): New macro to fix 32bit right shifting. 7939: (hyp_do_update_descriptor): Use pt_entry_t type for machine 7940: address instead of unsigned long. Split it in 32bit parts. Use uint64_t 7941: for descriptor type instead of unsigned long long. 7942: (update_va_mapping): Use pt_entry_t type instead of unsigned 7943: long long. Use hyp_high macro. 7944: (hyp_invlpg): Use uint64_t for time type instead of unsigned 7945: long long. 7946: * i386/intel/pmap.c (pmap_bootstrap): Use ptetokv instead of 7947: pte_to_pa + phystokv. Cast machine addresses into vm_offset_t 7948: before printing. 7949: (pmap_set_page_readwrite): Likewise. 7950: (pmap_set_page_readonly): Likewise 7951: (pmap_set_page_readonly_init): Likewise 7952: (pmap_clear_bootstrap_pagetable): Likewise 7953: (pmap_destroy): Likewise 7954: (pmap_map_mfn): Use pt_entry_t type for machine addresses. Cast 7955: machine addresses into vm_offset_t before printing. 7956: * i386/intel/pmap.h [PAE] (INTEL_PTE_PFN): Set macro to 7957: 0xfffffffffffff000ULL. 7958: * include/mach/xen.h [PAE] (pa_to_ma, ma_to_pa): Use pt_entry_t 7959: type for machine addresses. 7960: [!PAE] (pa_to_ma): Remove cast to vm_offset_t. 7961: (mfn_to_kv): Use mfn_to_pfn + ptoa instead of ptoa + ma_to_pa. 7962: * xen/xen.c (hyp_invalidate_pte): Cast machine addresses into 7963: vm_offset_t before printing. 7964: 7965: 2010-04-06 Samuel Thibault <[email protected]> 7966: 7967: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 7968: 7969: Fix crash on Xen when no module is provided 7970: * kern/bootstrap.c (bootstrap_create): Iterate over bmods only 7971: if is not NULL. 7972: 7973: 2010-03-15 Thomas Schwinge <[email protected]> 7974: 7975: Require GNU Automake 1.10.2. 7976: 9ff49d9648debffbe42d18863c739d37bcdb50b4's config.status.dep.patch is fit for 7977: 1.10.2 (released in November 2008) and later, and is no longer suitable for 7978: 1.10.1. 7979: 7980: * configure.ac (AM_INIT_AUTOMAKE): Require 1.10.2. 7981: 7982: 2010-03-14 Samuel Thibault <[email protected]> 7983: 7984: Fix Xen build without kdb 7985: * xen/console.c (hypcnintr): Use #if MACH_KDB instead of #ifdef 7986: MACH_KDB. 7987: 7988: Add mem device 7989: * i386/Makefrag.am (libkernel_a_SOURCES): Add 7990: i386/i386at/iopl.c. 7991: * i386/i386at/conf.c [!MACH_HYP] (memmmap): Declare function. 7992: (memname): Add macro. 7993: (dev_name_list): Add mem device. 7994: * i386/i386at/mem.c: New file. 7995: 7996: 2010-03-02 Samuel Thibault <[email protected]> 7997: 7998: whitelist the QEMU harddisk for DMA support 7999: * linux/src/drivers/block/triton.c (good_dma_drives): Add 8000: "QEMU HARDDISK". 8001: 8002: 2010-01-04 Samuel Thibault <[email protected]> 8003: 8004: ignore bogus FDPT information from BIOS 8005: 8006: 2009-12-22 Samuel Thibault <[email protected]> 8007: 8008: Align mach_port_deallocate debug flag with usage 8009: * ipc/mach_port.c (debug_mach_port_deallocate): Rename to... 8010: (mach_port_deallocate_debug): ... new name, and set volatile 8011: to permit live changes from ddb. 8012: 8013: Do not systematically debug buggy port deallocation 8014: * ipc/mach_port.c (debug_mach_port_deallocation): New variable, 8015: set to 0. 8016: (mach_port_deallocate): Only call SoftDebugger if 8017: debug_mach_port_deallocation is not 0. 8018: 8019: Merge branch 'master' of debhurd0:xen/gnumach 8020: 8021: 2009-12-22 root <[email protected]> 8022: 8023: Fix debugger trigger 8024: * i386/i386/locore.S [MACH_XEN] (RET_OFFSET): Define to 8 8025: * xen/console.c (hypcnintr): On pound sign, call kdb_kintr instead of 8026: panicing. 8027: 8028: 2009-12-21 Samuel Thibault <[email protected]> 8029: 8030: Invoke debugger on duplicate port deallocation 8031: * ipc/mach_port.c (mach_port_deallocate): Call SoftDebugger if 8032: ipc_right_lookup_write was not succcessful and `name' is not 8033: MACH_PORT_NULL or MACH_PORT_DEAD. 8034: 8035: Add a SoftDebugger function 8036: * kern/debug.h (SoftDebugger): Add prototype. 8037: * kern/debug.c (Debugger): Move code invoking debugging trap 8038: to... 8039: (SoftDebugger): ... new function. Print the passed message. 8040: * kern/lock_mon.c (decl_simple_lock_data, retry_bit_lock): Call 8041: SoftDebugger instead of Debugger. 8042: * device/ds_routines.c (ds_device_open, device_read, 8043: device_read_inband): Call SoftDebugger instead of Debugger. 8044: * i386/i386at/model_dep.c (c_boot_entry): Call SoftDebugger 8045: instead of Debugger. 8046: * kern/syscall_sw.c (null_port, kern_invalid): Call SoftDebugger 8047: instead of Debugger. 8048: * vm/vm_object.c (vm_object_collapse): Call SoftDebugger instead 8049: of Debugger. 8050: 8051: 2009-12-19 Samuel Thibault <[email protected]> 8052: 8053: Document kdb_kintr stack manipulation 8054: * i386/i386/locore.S: Document kdb_kintr stack manipulation. 8055: 8056: 2009-12-19 root <[email protected]> 8057: 8058: Fix debugger trigger 8059: * i386/i386/locore.S [MACH_XEN] (RET_OFFSET): Define to 8 8060: * xen/console.c (hypcnintr): On pound sign, call kdb_kintr instead of 8061: panicing. 8062: 8063: 2009-12-18 Guillem Jover <[email protected]> 8064: 8065: Add missing casts 8066: * vm/vm_resident.c (vm_page_grab_contiguous_pages): Cast `prevmemp' 8067: assignement to vm_page_t. 8068: 8069: Add missing function prototypes 8070: * i386/i386/pcb.c (Load_context): New prototype. 8071: * i386/i386at/lpr.c (lprpr_addr): Likewise. 8072: 8073: Use `unsigned char *' for byte buffers 8074: * linux/src/drivers/net/apricot.c (struct i596_tbd): Change `data' 8075: member type to `unsigned char *'. 8076: (struct i596_rfd): Change `data' member type to `unsigned char'. 8077: (print_eth): Change argument type to `unsigned char'. Remove 8078: unneeded casts. 8079: (set_multicast_list): Change cast for print_eth to `unsigned char *'. 8080: 8081: Mark macro arguments as used 8082: * i386/intel/pmap.c [!NCPUS > 1] (INVALIDATE_TLB): Mark `pmap', `s' 8083: and `e' arguments as used. 8084: * i386/intel/pmap.h [!NCPUS > 1] (PMAP_ACTIVATE_KERNEL): Mark `my_cpu' 8085: argument as used. 8086: (PMAP_DEACTIVATE_KERNEL): Likewise. 8087: (PMAP_ACTIVATE_USER): Likewise. Mark `th' argument as used. 8088: (PMAP_DEACTIVATE_USER): Mark `thread' and `cpu' arguments as used. 8089: 8090: Missing `*' in assembler indirect lcall 8091: * linux/src/arch/i386/kernel/bios32.c (bios32_service): Add `*' 8092: in indirect lcall. 8093: (check_pcibios, pci_bios_find_class, pci_bios_find_device): Likewise. 8094: (pci_bios_read_config_byte, pci_bios_read_config_word): Likewise. 8095: (pci_bios_read_config_dword, pci_bios_write_config_byte): Likewise. 8096: (pci_bios_write_config_word, pci_bios_write_config_dword): Likewise. 8097: 8098: Interrupt handlers do not return any value 8099: * i386/i386at/kd_mouse.c (kd_mouse_open): Change kdintr return type 8100: to `void'. 8101: (oldvect): Change return type to `void'. 8102: * linux/dev/arch/i386/kernel/irq.c (linux_timer_intr): Likewise. 8103: (intnull, prtnull, linux_intr, linux_bad_intr): Likewise. 8104: (old_clock_handler): Likewise. 8105: 8106: Use selector definitions from Mach for Linux code 8107: * linux/src/include/asm-i386/segment.h [MACH]: Include <machine/gdt.h> 8108: and <machine/ldt.h>. 8109: [MACH && MACH_HYP] (KERNEL_CS, KERNEL_DS): Remove macros. 8110: [MACH && !MACH_HYP] (KERNEL_CS, KERNEL_DS): Likewise. 8111: [MACH] (USER_CS, USER_DS): Likewise. 8112: 8113: Move linux/dev/include/asm-i386/segment.h to src tree 8114: * linux/dev/include/asm-i386/segment.h: Move to ... 8115: * linux/src/include/asm-i386/segment.h: ... here. 8116: 8117: Match function types with `struct tty' member functions 8118: * i386/i386at/com.c (comstart): Change return type to `void'. 8119: * i386/i386at/lpr.c (lprstop): Likewise. 8120: 8121: Use explicit type int when defining register variables 8122: * linux/src/drivers/scsi/aha1542.c (WAIT, WAITd): Define variables 8123: with explicit type `register int' and not just `register'. 8124: 8125: 2009-12-16 Samuel Thibault <[email protected]> 8126: 8127: Add Xen support 8128: 2009-03-11 Samuel Thibault <[email protected]> 8129: 8130: * i386/i386/vm_param.h (VM_MIN_KERNEL_ADDRESS) [MACH_XEN]: Set to 8131: 0x20000000. 8132: * i386/i386/i386asm.sym (pfn_list) [VM_MIN_KERNEL_ADDRESS == 8133: LINEAR_MIN_KERNEL_ADDRESS]: Define to constant PFN_LIST. 8134: 8135: 2009-02-27 Samuel Thibault <[email protected]> 8136: 8137: * i386/intel/pmap.c [MACH_HYP] (INVALIDATE_TLB): Call hyp_invlpg 8138: instead of flush_tlb when e - s is compile-time known to be 8139: PAGE_SIZE. 8140: 8141: 2008-11-27 Samuel Thibault <[email protected]> 8142: 8143: * i386/configfrag.ac (enable_pae): Enable by default on the Xen 8144: platform. 8145: 8146: 2007-11-14 Samuel Thibault <[email protected]> 8147: 8148: * i386/i386at/model_dep.c (machine_relax): New function. 8149: (c_boot_entry): Refuse to boot as dom0. 8150: 8151: 2007-10-17 Samuel Thibault <[email protected]> 8152: 8153: * i386/i386/fpu.c [MACH_XEN]: Disable unused fpintr(). 8154: 8155: 2007-08-12 Samuel Thibault <[email protected]> 8156: 8157: * Makefile.am (clib_routines): Add _START. 8158: * i386/xen/xen_boothdr: Use _START for VIRT_BASE and PADDR_OFFSET. Add 8159: GUEST_VERSION and XEN_ELFNOTE_FEATURES. 8160: 8161: 2007-06-13 Samuel Thibault <[email protected]> 8162: 8163: * i386/i386/user_ldt.h (user_ldt) [MACH_XEN]: Add alloc field. 8164: * i386/i386/user_ldt.c (i386_set_ldt) [MACH_XEN]: Round allocation of 8165: LDT to a page, set back LDT pages read/write before freeing them. 8166: (user_ldt_free) [MACH_XEN]: Likewise. 8167: 8168: 2007-04-18 Samuel Thibault <[email protected]> 8169: 8170: * device/ds_routines.c [MACH_HYP]: Add hypervisor block and net devices. 8171: 8172: 2007-02-19 Thomas Schwinge <[email protected]> 8173: 8174: * i386/xen/Makefrag.am [PLATFORM_xen] (gnumach_LINKFLAGS): Define. 8175: 8176: * Makefrag.am: Include `xen/Makefrag.am'. 8177: * configure.ac: Include `xen/configfrag.ac'. 8178: (--enable-platform): Support the `xen' platform. 8179: * i386/configfrag.ac: Likewise. 8180: * i386/Makefrag.am [PLATFORM_xen]: Include `i386/xen/Makefrag.am'. 8181: 8182: 2007-02-19 Samuel Thibault <[email protected]> 8183: Thomas Schwinge <[email protected]> 8184: 8185: * i386/xen/Makefrag.am: New file. 8186: * xen/Makefrag.am: Likewise. 8187: * xen/configfrag.ac: Likewise. 8188: 8189: 2007-02-11 (and later dates) Samuel Thibault <[email protected]> 8190: 8191: Xen support 8192: * Makefile.am (clib_routines): Add _start. 8193: * Makefrag.am (include_mach_HEADERS): Add include/mach/xen.h. 8194: * device/cons.c (cnputc): Call hyp_console_write. 8195: * i386/Makefrag.am (libkernel_a_SOURCES): Move non-Xen source to 8196: [PLATFORM_at]. 8197: * i386/i386/debug_trace.S: Include <i386/xen.h> 8198: * i386/i386/fpu.c [MACH_HYP] (init_fpu): Call set_ts() and clear_ts(), 8199: do not enable CR0_EM. 8200: * i386/i386/gdt.c: Include <mach/xen.h> and <intel/pmap.h>. 8201: [MACH_XEN]: Make gdt array extern. 8202: [MACH_XEN] (gdt_init): Register gdt with hypervisor. Request 4gb 8203: segments assist. Shift la_shift. 8204: [MACH_PSEUDO_PHYS] (gdt_init): Shift pfn_list. 8205: * i386/i386/gdt.h [MACH_XEN]: Don't define KERNEL_LDT and LINEAR_DS. 8206: * i386/i386/i386asm.sym: Include <i386/xen.h>. 8207: [MACH_XEN]: Remove KERNEL_LDT, Add shared_info's CPU_CLI, CPU_PENDING, 8208: CPU_PENDING_SEL, PENDING, EVTMASK and CR2. 8209: * i386/i386/idt.c [MACH_HYP] (idt_init): Register trap table with 8210: hypervisor. 8211: * i386/i386/idt_inittab.S: Include <i386/i386asm.h>. 8212: [MACH_XEN]: Set IDT_ENTRY() for hypervisor. Set trap table terminator. 8213: * i386/i386/ktss.c [MACH_XEN] (ktss_init): Request exception task switch 8214: from hypervisor. 8215: * i386/i386/ldt.c: Include <mach/xen.h> and <intel/pmap.h> 8216: [MACH_XEN]: Make ldt array extern. 8217: [MACH_XEN] (ldt_init): Set ldt readwrite. 8218: [MACH_HYP] (ldt_init): Register ldt with hypervisor. 8219: * i386/i386/locore.S: Include <i386/xen.h>. Handle KERNEL_RING == 1 8220: case. 8221: [MACH_XEN]: Read hyp_shared_info's CR2 instead of %cr2. 8222: [MACH_PSEUDO_PHYS]: Add mfn_to_pfn computation. 8223: [MACH_HYP]: Drop Cyrix I/O-based detection. Read cr3 instead of %cr3. 8224: Make hypervisor call for pte invalidation. 8225: * i386/i386/mp_desc.c: Include <mach/xen.h>. 8226: [MACH_HYP] (mp_desc_init): Panic. 8227: * i386/i386/pcb.c: Include <mach/xen.h>. 8228: [MACH_XEN] (switch_ktss): Request stack switch from hypervisor. 8229: [MACH_HYP] (switch_ktss): Request ldt and gdt switch from hypervisor. 8230: * i386/i386/phys.c: Include <mach/xen.h> 8231: [MACH_PSEUDO_PHYS] (kvtophys): Do page translation. 8232: * i386/i386/proc_reg.h [MACH_HYP] (cr3): New declaration. 8233: (set_cr3, get_cr3, set_ts, clear_ts): Implement macros. 8234: * i386/i386/seg.h [MACH_HYP]: Define KERNEL_RING macro. Include 8235: <mach/xen.h> 8236: [MACH_XEN] (fill_descriptor): Register descriptor with hypervisor. 8237: * i386/i386/spl.S: Include <i386/xen.h> and <i386/i386/asm.h> 8238: [MACH_XEN] (pic_mask): #define to int_mask. 8239: [MACH_XEN] (SETMASK): Implement. 8240: * i386/i386/vm_param.h [MACH_XEN] (HYP_VIRT_START): New macro. 8241: [MACH_XEN]: Set VM_MAX_KERNEL_ADDRESS to HYP_VIRT_START- 8242: LINEAR_MIN_KERNEL_ADDRESS + VM_MIN_KERNEL_ADDRESS. Increase 8243: KERNEL_STACK_SIZE and INTSTACK_SIZE to 4 pages. 8244: * i386/i386at/conf.c [MACH_HYP]: Remove hardware devices, add hypervisor 8245: console device. 8246: * i386/i386at/cons_conf.c [MACH_HYP]: Add hypervisor console device. 8247: * i386/i386at/model_dep.c: Include <sys/types.h>, <mach/xen.h>. 8248: [MACH_XEN] Include <xen/console.h>, <xen/store.h>, <xen/evt.h>, 8249: <xen/xen.h>. 8250: [MACH_PSEUDO_PHYS]: New boot_info, mfn_list, pfn_list variables. 8251: [MACH_XEN]: New la_shift variable. 8252: [MACH_HYP] (avail_next, mem_size_init): Drop BIOS skipping mecanism. 8253: [MACH_HYP] (machine_init): Call hyp_init(), drop hardware 8254: initialization. 8255: [MACH_HYP] (machine_idle): Call hyp_idle(). 8256: [MACH_HYP] (halt_cpu): Call hyp_halt(). 8257: [MACH_HYP] (halt_all_cpus): Call hyp_reboot() or hyp_halt(). 8258: [MACH_HYP] (i386at_init): Initialize with hypervisor. 8259: [MACH_XEN] (c_boot_entry): Add Xen-specific initialization. 8260: [MACH_HYP] (init_alloc_aligned, pmap_valid_page): Drop zones skipping 8261: mecanism. 8262: * i386/intel/pmap.c: Include <mach/xen.h>. 8263: [MACH_PSEUDO_PHYS] (WRITE_PTE): Do page translation. 8264: [MACH_HYP] (INVALIDATE_TLB): Request invalidation from hypervisor. 8265: [MACH_XEN] (pmap_map_bd, pmap_create, pmap_destroy, pmap_remove_range) 8266: (pmap_page_protect, pmap_protect, pmap_enter, pmap_change_wiring) 8267: (pmap_attribute_clear, pmap_unmap_page_zero, pmap_collect): Request MMU 8268: update from hypervisor. 8269: [MACH_XEN] (pmap_bootstrap): Request pagetable initialization from 8270: hypervisor. 8271: [MACH_XEN] (pmap_set_page_readwrite, pmap_set_page_readonly) 8272: (pmap_set_page_readonly_init, pmap_clear_bootstrap_pagetable) 8273: (pmap_map_mfn): New functions. 8274: * i386/intel/pmap.h [MACH_XEN] (INTEL_PTE_GLOBAL): Disable global page 8275: support. 8276: [MACH_PSEUDO_PHYS] (pte_to_pa): Do page translation. 8277: [MACH_XEN] (pmap_set_page_readwrite, pmap_set_page_readonly) 8278: (pmap_set_page_readonly_init, pmap_clear_bootstrap_pagetable) 8279: (pmap_map_mfn): Declare functions. 8280: * i386/i386/xen.h: New file. 8281: * i386/xen/xen.c: New file. 8282: * i386/xen/xen_boothdr.S: New file. 8283: * i386/xen/xen_locore.S: New file. 8284: * include/mach/xen.h: New file. 8285: * kern/bootstrap.c [MACH_XEN] (boot_info): Declare variable. 8286: [MACH_XEN] (bootstrap_create): Rebase multiboot header. 8287: * kern/debug.c: Include <mach/xen.h>. 8288: [MACH_HYP] (panic): Call hyp_crash() without delay. 8289: * linux/dev/include/asm-i386/segment.h [MACH_HYP] (KERNEL_CS) 8290: (KERNEL_DS): Use ring 1. 8291: * xen/block.c: New file. 8292: * xen/block.h: Likewise. 8293: * xen/console.c: Likewise. 8294: * xen/console.h: Likewise. 8295: * xen/evt.c: Likewise. 8296: * xen/evt.h: Likewise. 8297: * xen/grant.c: Likewise. 8298: * xen/grant.h: Likewise. 8299: * xen/net.c: Likewise. 8300: * xen/net.h: Likewise. 8301: * xen/ring.c: Likewise. 8302: * xen/ring.h: Likewise. 8303: * xen/store.c: Likewise. 8304: * xen/store.h: Likewise. 8305: * xen/time.c: Likewise. 8306: * xen/time.h: Likewise. 8307: * xen/xen.c: Likewise. 8308: * xen/xen.h: Likewise. 8309: * xen/public/COPYING: Import file from Xen. 8310: * xen/public/callback.h: Likewise. 8311: * xen/public/dom0_ops.h: Likewise. 8312: * xen/public/domctl.h: Likewise. 8313: * xen/public/elfnote.h: Likewise. 8314: * xen/public/elfstructs.h: Likewise. 8315: * xen/public/event_channel.h: Likewise. 8316: * xen/public/features.h: Likewise. 8317: * xen/public/grant_table.h: Likewise. 8318: * xen/public/kexec.h: Likewise. 8319: * xen/public/libelf.h: Likewise. 8320: * xen/public/memory.h: Likewise. 8321: * xen/public/nmi.h: Likewise. 8322: * xen/public/physdev.h: Likewise. 8323: * xen/public/platform.h: Likewise. 8324: * xen/public/sched.h: Likewise. 8325: * xen/public/sysctl.h: Likewise. 8326: * xen/public/trace.h: Likewise. 8327: * xen/public/vcpu.h: Likewise. 8328: * xen/public/version.h: Likewise. 8329: * xen/public/xen-compat.h: Likewise. 8330: * xen/public/xen.h: Likewise. 8331: * xen/public/xencomm.h: Likewise. 8332: * xen/public/xenoprof.h: Likewise. 8333: * xen/public/arch-x86/xen-mca.h: Likewise. 8334: * xen/public/arch-x86/xen-x86_32.h: Likewise. 8335: * xen/public/arch-x86/xen-x86_64.h: Likewise. 8336: * xen/public/arch-x86/xen.h: Likewise. 8337: * xen/public/arch-x86_32.h: Likewise. 8338: * xen/public/arch-x86_64.h: Likewise. 8339: * xen/public/io/blkif.h: Likewise. 8340: * xen/public/io/console.h: Likewise. 8341: * xen/public/io/fbif.h: Likewise. 8342: * xen/public/io/fsif.h: Likewise. 8343: * xen/public/io/kbdif.h: Likewise. 8344: * xen/public/io/netif.h: Likewise. 8345: * xen/public/io/pciif.h: Likewise. 8346: * xen/public/io/protocols.h: Likewise. 8347: * xen/public/io/ring.h: Likewise. 8348: * xen/public/io/tpmif.h: Likewise. 8349: * xen/public/io/xenbus.h: Likewise. 8350: * xen/public/io/xs_wire.h: Likewise. 8351: 8352: 2009-11-30 Samuel Thibault <[email protected]> 8353: 8354: Add stack-protector support 8355: * kern/debug.c (__stack_chk_guard): New variable 8356: (__stack_chk_fail): New function. 8357: 8358: Use gcc builtins for stdarg.h when available 8359: * i386/include/mach/sa/stdarg.h [__GNUC__ >= 3] (va_list): 8360: Typedef to __builtin_va_list. 8361: (va_start): define to __builtin_va_start. 8362: (va_end): define to __builtin_va_end. 8363: (va_arg): define to __builtin_va_arg. 8364: 8365: 2009-11-28 Samuel Thibault <[email protected]> 8366: 8367: Fix commit d088a062 8368: * vm/memory_object_proxy.c: New file. 8369: 8370: 2009-11-28 Samuel Thibault <[email protected]> 8371: 8372: Add memory object proxies 8373: Memory object proxies permit to replicate objects with different parameters, 8374: like reduced privileged, different offset, etc. They are e.g. essential for 8375: properly managing memory access permissions. 8376: 8377: 2005-06-06 Marcus Brinkmann <[email protected]> 8378: 8379: * include/mach/mach4.defs: Add memory_object_create_proxy 8380: interface. 8381: * Makefile.in (vm-cfiles): Add memory_object_proxy.c. 8382: * i386/include/mach/i386/vm_types.h (vm_offset_array_t): New type. 8383: * include/mach/memory_object.h (memory_object_array_t): New type. 8384: * vm/memory_object_proxy.c: New file. 8385: * kern/ipc_kobject.h: New macro IKOT_PAGER_PROXY. Bump up macros 8386: IKOT_UNKNOWN and IKOT_MAX_TYPE. 8387: * kern/ipc_kobject.c (ipc_kobject_notify): Call 8388: memory_object_proxy_notify for IKOT_PAGER_PROXY. 8389: * vm/vm_init.c (vm_mem_init): Call memory_object_proxy_init. 8390: * vm/vm_user.c (vm_map): Implement support for proxy memory 8391: objects. 8392: 8393: 2009-11-28 Samuel Thibault <[email protected]> 8394: 8395: Add -H option to halt on panic 8396: 2005-12-29 Soeren D. Schulze <[email protected]> 8397: 8398: * i386/i386at/model_dep.c (reboot_on_panic) [!MACH_KBD]: New variable. 8399: (c_boot_entry) [!MACH_KBD]: Set reboot_on_panic to 0 if kernel_cmdline 8400: contains '-H'. 8401: * kern/debug.c (panic): Call halt_all_cpus with reboot_on_panic as 8402: argument. 8403: 8404: 2009-11-28 Samuel Thibault <[email protected]> 8405: 8406: Add sis900 driver 8407: 2005-05-01 Andreas B. Mundt <[email protected]> 8408: 8409: * i386/README-Drivers: Likewise. 8410: * i386/linux/Makefile.in (linux-net-files): Added 'sis900'. 8411: * i386/linux/configure.ac (sis900): New driver. 8412: * linux/dev/drivers/net/Space.c: Add conditional probes 'sis900' 8413: driver. 8414: * linux/src/drivers/net/sis900.c: New file. 8415: * linux/src/drivers/net/sis900.h: Likewise. 8416: 8417: 2009-11-28 Samuel Thibault <[email protected]> 8418: 8419: Add XMM FPU registers save/restore support. 8420: * i386/include/mach/i386/fp_reg.h (struct i386_fp_regs): Invert array 8421: indices. 8422: (struct i386_xfp_save): New structure. 8423: (FP_387X): New macro. 8424: * i386/i386/thread.h (struct i386_fpsave_state): Add xfp_save_state 8425: member, keep existing fp_save_state and fp_regs members in an unnamed 8426: union member. Move fp_valid member to the end of the structure. 8427: * i386/i386/fpu.h (fxsave, fxrstor): New macros. 8428: (fpu_save_context): Use fxsave() when FPU is FXSR-capable. 8429: * i386/i386/fpu.c: Include <i386/locore.h> 8430: (mxcsr_feature_mask): New variable. 8431: (fp_save, fp_load): Add declaration. 8432: (init_fpu): Add FXSR-capable FPU detection. 8433: (fpu_module_init): Request 16-byte alignment to zinit() for 8434: i386_fpsave_state structures. 8435: (twd_i387_to_fxsr, twd_fxsr_to_i387): New functions. 8436: (fpu_set_state): Convert FPU state when FPU is FXSR-capable. 8437: (fpu_get_state): Convert FPU state when FPU is FXSR-capable. 8438: (fpexterrflt): Pass to i386_exception either xfp_save_state or 8439: fp_save_state according to FPU type. 8440: (fpastintr): Likewise. 8441: (fp_load): Likewise. Use fxrstor() when FPU is FXSR-capable. 8442: (fp_save): Use fxsave() when FPU is FXSR-capable. 8443: (fp_state_alloc): Add FXSR-aware initialization. 8444: 8445: Fix debugging message 8446: * i386/i386/fpu.c (fphandleerr): Fix debugging message. 8447: 8448: Add native FPU error support 8449: * i386/i386/fpu.c (init_fpu): Enable CR0_NE when processor is at 8450: least i486. 8451: (fpintr): Move code handling the FPU state to... 8452: (fphandleerr): New function. 8453: (fpexterrflt): Rename into... 8454: (fpastintr): New function. 8455: (fpexterrflt): Reintroduce function, calls fphandleerr then 8456: raises exception. 8457: * i386/i386/fpu.h (fpastintr): Add prototype. 8458: * i386/i386/trap.c (i386_astintr): Call fpastintr instead of 8459: fpexterrflt. 8460: 8461: Panic when no FPU is available 8462: * i386/i386/fpu.c (init_fpu): Panic if no FPU is available. 8463: 8464: Initialize FPU in MS-DOS compatibility mode 8465: * i386/i386/fpu.c (init_fpu): Make sure CR0_NE is dropped. 8466: 8467: 2009-11-22 Samuel Thibault <[email protected]> 8468: 8469: Declare memcmp function 8470: * include/string.h (memcmp): New prototype. 8471: 8472: Do not fail if no PTE maps virtual address 0 8473: * i386/intel/pmap.c (pmap_unmap_page_zero): Do not fail if no PTE maps 8474: virtual address 0. 8475: 8476: Remove (vm_offset_t) casts from constants 8477: * i386/i386/vm_param.h (VM_MIN_KERNEL_ADDRESS, VM_MAX_KERNEL_ADDRESS, 8478: LINEAR_MIN_KERNEL_ADDRESS, LINEAR_MAX_KERNEL_ADDRESS): Remove 8479: (vm_offset_t) cast, use UL suffix instead. 8480: * i386/include/mach/i386/vm_param.h (VM_MIN_ADDRESS, 8481: VM_MAX_ADDRESS): Remove (vm_offset_t) cast, use UL suffix instead. 8482: 8483: Really call startrtclock() with an active thread. 8484: * kern/startup.c (cpu_launch_first_thread): Call startrtclock 8485: really after starting at least one thread. 8486: 8487: Add pmap parameter to INVALIDATE_TLB 8488: * i386/intel/pmap.c (INVALIDATE_TLB): Add pmap parameter. 8489: (PMAP_UPDATE_TLBS): Pass pmap parameter. 8490: (process_pmap_updates): Likewise. 8491: (pmap_unmap_page_zero): Use INVALIDATE_TLB instead of hardcoding 8492: it. 8493: 8494: Add phys_first_addr and phys_last_addr declaration 8495: * i386/i386/model_dep.h (phys_first_addr, phys_last_addr): New 8496: declarations. 8497: * i386/i386/trap.c: Include <i386/model_dep.h> 8498: (user_trap): Remove extern declaration of phys_last_addr. 8499: * i386/intel/pmap.c: Include <i386/model_dep.h> 8500: (phys_first_addr, phys_last_addr): Remove extern declaration. 8501: 8502: Use typeof(boot_info) 8503: * i386/i386at/model_dep.c (i386at_init): Use typeof(boot_info) 8504: instead of hardcoding struct multiboot_info*. 8505: 8506: Fix early interrupt crash 8507: * i386/i386at/model_dep.c (i386at_init): Move int_stack_high 8508: assignation to before setting up interrupts. 8509: 8510: Add missing phystokv/kvtophys conversions 8511: * i386/i386/mp_desc.c (interrupt_stack_alloc): Apply phystokv to 8512: stack_start. 8513: * i386/i386at/model_dep.c (i386at_init): Apply phystokv to 8514: memory allocated to duplicate multiboot information. Apply 8515: _kvtophys before calling set_cr3. Apply phystokv to 8516: phys_last_addr before assigning to int_stack_high. 8517: * i386/intel/pmap.c (pmap_bootstrap): Apply phystokv to 8518: phys_last_addr, use kernel_virtual_start instead of 8519: phys_last_addr. Apply phystokv to allocated bootstrap page 8520: table pages. Apply _kvtophys to page table pointers before 8521: writing into page table. 8522: (pmap_enter): Apply phystokv to allocated page table page, apply 8523: kvtophys to deallocated page table page. 8524: 8525: Show command lines in task list 8526: * Makefile.am (clib_routines): Add memcmp. 8527: * i386/i386/db_machdep.h (DB_GNUMACH_TASK_NAME): New macro. 8528: * i386/i386/db_interface.c (GNU): New macro. 8529: [GNU] (looks_like_command): New function. 8530: (db_task_name): When task map is kernel_pmap, return 8531: DB_GNUMACH_TASK_NAME. 8532: [GNU] (db_task_name): Use a GNU/Hurd-specific heuristic to get 8533: argv[] of a task. 8534: 8535: Replace phys_mem_va with VM_MIN_KERNEL_ADDRESS 8536: * i386/i386/vm_param.h (phystokv): Use VM_MIN_KERNEL_ADDRESS 8537: instead of phys_mem_va. 8538: (_kvtophys): New macro. 8539: * i386/i386at/model_dep.c (phys_mem_va): Remove variable. 8540: 8541: Avoid confusion between global and local ldt vars 8542: * i386/i386/pcb.c (switch_ktss): Rename ldt variable into tldt. 8543: 8544: Do not assume that VM_MIN_KERNEL_ADDRESS is 0 8545: * i386/i386/vm_param.h (VM_MAX_KERNEL_ADDRESS): Add 8546: VM_MIN_KERNEL_ADDRESS. 8547: (kvtolin): Subtract VM_MIN_KERNEL_ADDRESS. 8548: (lintokv): Add VM_MIN_KERNEL_ADDRESS. 8549: * i386/i386at/model_dep.c (mem_size_init): Subtract 8550: VM_MIN_KERNEL_ADDRESS in computation of phys_last_addr. 8551: (i386at_init): Use VM_MIN_KERNEL_ADDRESS instead of 0 as 8552: argument of lin2pdenum. 8553: 8554: Rewamp spl.h 8555: * i386/i386/spl.h (splnet, splbio, spl7, splx_cli): Add 8556: prototypes. 8557: 8558: Do not assume that VM_MIN_KERNEL_ADDRESS is 0 8559: * i386/i386/gdt.c (gdt_init): Subtract VM_MIN_KERNEL_ADDRESS 8560: from LINEAR_MIN_KERNEL_ADDRESS to avoid assuming the former 8561: being 0. 8562: 8563: Fix db_search_null loop 8564: * i386/i386/db_interface.c (db_search_null): Do not decrease 8565: vaddr twice. 8566: 8567: Introduce KERNEL_RING 8568: * i386/i386/seg.h (KERNEL_RING): New macro, set to 0. 8569: (ACC_PL_K, SEL_PL_K): Use KERNEL_RING instead of assuming 0. 8570: * i386/i386/gdt.h (KERNEL_CS, KERNEL_DS): Likewise. 8571: * i386/i386/db_interface.c (kdb_trap, kdb_kentry): Likewise. 8572: * i386/i386/kttd_interface.c (kttd_trap, kttd_netentry): Likewise. 8573: * i386/i386/i386asm.sym: Add KERNEL_RING expression. 8574: 8575: Rename kd_atoi into mach_atoi 8576: * i386/i386at/kd.c: Include <util/atoi.h> 8577: (DEFAULT): Remove, replaced by MACH_ATOI_DEFAULT. 8578: (kd_parserest): Use mach_atoi instead of kd_atoi and MACH_ATOI_DEFAULT 8579: instead of DEFAULT. 8580: (kd_atoi): Move and rename function to... 8581: * util/atoi.c: ... mach_atoi in new file. 8582: * i386/i386at/kd.h (kd_atoi): Move and rename declaration to... 8583: * util/atoi.h: ... mach_atoi in new file. 8584: * Makefrag.am (libkernel_a_SOURCES): Add util/atoi.c 8585: 8586: 2009-11-16 Guillem Jover <[email protected]> 8587: 8588: Update dependency patch for Automake 1.10.2, 1.11, and thereabouts. 8589: * config.status.dep.patch: Refresh. 8590: 8591: 2009-11-11 Zheng Da <[email protected]> 8592: 8593: Fix a bug in vm_page_grab_contiguous_pages. 8594: * vm/vm_resident.c (vm_page_grab_contiguous_pages): Maintain the free vm page queue correctly. 8595: 8596: 2009-11-01 Samuel Thibault <[email protected]> 8597: 8598: Show EATA probing progression 8599: * linux/src/drivers/scsi/eata.c (port_detect): Print the port being 8600: probed. 8601: 8602: 2009-10-26 Samuel Thibault <[email protected]> 8603: 8604: Fix VM_MAX_ADDRESS default 8605: * i386/include/mach/i386/vm_param.h (VM_MAX_ADDRESS): Set back to 0xc0000000 by 8606: default. 8607: 8608: Make tuning VM_MAX_ADDRESS trivial 8609: * i386/i386/vm_param.h (LINEAR_MIN_KERNEL_ADDRESS): Set to 8610: VM_MAX_ADDRESS instead of hardcoding to 0xc0000000. 8611: (VM_MAX_KERNEL_ADDRESS): Set to LINEAR_MAX_KERNEL_ADDRESS - 8612: LINEAR_MIN_KERNEL_ADDRESS instead of hardcoding to 0x40000000. 8613: * i386/include/mach/i386/vm_param.h: Document how it may be tuned. 8614: 8615: Fix build 8616: * i386/i386at/com.h (comtimer): Fix prototype of comtimer. 8617: 8618: 2009-10-25 Samuel Thibault <[email protected]> 8619: 8620: Fix warning 8621: * i386/i386at/autoconf.c: Include <i386/pic.h> even when [!LINUX_DEV]. 8622: 8623: Fix warning 8624: * i386/i386/trap.h: Include <mach/mach_types.h> 8625: 8626: Fix warning 8627: * i386/i386/pcb.c (thread_setstatus): Comment out state variable 8628: declaration. 8629: 8630: Fix warning 8631: * device/net_io.c (net_set_filter): Cast filter into bpf_insn_t for 8632: bpf_eq call. 8633: 8634: Fix warning 8635: * i386/i386/locore.S (TIME_INT_ENTRY): Fix comment. 8636: 8637: Fix warning 8638: * i386/intel/pmap.c (i): Declare only when [NCPUS > 1]. 8639: 8640: 2009-10-20 Samuel Thibault <[email protected]> 8641: 8642: Fix warnings 8643: * devices/io_reqs.h (io_req): Set type of io_alloc_size field to 8644: vm_size_t. 8645: * device/ds_routines.c (device_write_dealloc): Remove cast of 8646: io_alloc_size field. 8647: * device/subrs.c (brelse): Likewise. 8648: 8649: Fix warnings 8650: * device/chario.c (ttypush): Set parameter type to void * instead of 8651: struct tty *, and implicitly cast the former into the latter instead. 8652: * i386/i386at/com.c: Include <kern/mach_clock.h>. 8653: (timeout, ttrstrt): Remove declarations. 8654: (comtimer): Add unused void * parameter. 8655: (comopen): Pass NULL to comtimer function. 8656: * i386/i386at/kd.h (kd_belloff): Add unused void * parameter. 8657: * i386/i386at/kd.c (timeout): Remove declaration. 8658: (kd_belloff): Add unused void * parameter. 8659: (feep, kdsetbell): Pass NULL to kd_belloff function. 8660: * i386/i386at/lpr.c: Include <mach_clock.h>. 8661: (timeout, ttrstrt): Remove declarations. 8662: * kern/mach_clock.c (softclock, timeout, untimeout): Set parameter 8663: type of fcn function pointer to void * instead of char *. Set type 8664: of param to void * instead of char *. 8665: * kern/mach_clock.h (timer_elt): Set parameter type of fcn member 8666: to void * instead of char *. Set time of param member to void * instead 8667: of char *. 8668: (timeout): Set parameter type of fcn function pointer parameter to void 8669: * instead of char *. 8670: (untimeout): Likewise, set type of param parameter to void * instead of 8671: char *. 8672: * kern/sched_prim.c (sched_init): Remove cast of recompute_priorities. 8673: Replace (char *)0 with NULL. 8674: (thread_timeout): Set parameter type to void * instead of thread_t, and 8675: implicitly cast the former into the latter instead. 8676: (thread_timeout_setup): Remove cast of thread_timeout, cast 8677: thread_depress_timeout into (void (*) (void*)). Remove cast of thread. 8678: (thread_recompute_priorities): Add unused void * parameter. 8679: 8680: Fix warnings 8681: * device/tty.h (tty): Set type of t_ispeed and t_ospeed members to 8682: unsigned char instead of (potentially signed) char. 8683: 8684: Fix warnings 8685: * vm/vm_resident.c (vm_page_grab_contiguous_pages): Remove unused 8686: count_zeroes and not_found_em labels. 8687: 8688: Fix warning 8689: * vm/vm_pageout.c (vm_pageout_scan): Remove unused Restart label. 8690: 8691: Fix warning 8692: * vm/vm_map.c (vm_map_lookup): Add braces to fix readability. 8693: 8694: Fix warning 8695: * kern/thread.c (_s_): Remove unused variable. 8696: 8697: Fix warnings 8698: * kern/bootstrap.c (task_insert_send_right): Remove spurious cast of 8699: port into ipc_object_t. 8700: (load_protect_text, load_fault_in_text, boot_map, 8701: load_bootstrap_symbols): Comment out unused variables and function. 8702: (read_exec): Comment out unused user_map variable. 8703: 8704: Fix boot from grub2 with more than 800MiB memory 8705: * i386/i386at/model_dep.c (init_alloc_aligned): Add declaration. 8706: (i386at_init): Use init_alloc_aligned to allocate memory to save the 8707: content pointed by boot_info: cmdline, mods_addr, mod_start, and string. 8708: Set kernel_cmdline to the newly allocated string. 8709: (c_boot_entry): Do not set kernel_cmdline. 8710: 8711: Better estimate avail_remaining 8712: * i386/i386at/model_dep.c (mem_size_init): Move avail_remaining computation to 8713: after all phys_last_addr corrections. 8714: 8715: 2009-10-18 Samuel Thibault <[email protected]> 8716: 8717: Revert "Fix multiboot compliancy concerning x86 D flag" 8718: This reverts commit de00e82b8c4491a4ff3320c0ddd80ac91ed0977b. 8719: 8720: Flags already get cleared using push/pop a few instructions later. 8721: 8722: 2009-10-17 Samuel Thibault <[email protected]> 8723: 8724: Fix multiboot compliancy concerning x86 D flag 8725: i386/i386at/boothdr.S (boot_entry): Clear D flag. 8726: 8727: 2009-10-14 Samuel Thibault <[email protected]> 8728: 8729: Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/gnumach 8730: 8731: Update constants to nowadays standards 8732: kern/zalloc.c (zone_map_size): Increase to 64MiB. 8733: i386/i386at/model_dep.c (mem_size_init): Reduce cap to 1/6 of memory 8734: space to save room for zalloc area. 8735: linux/src/drivers/block/ide.h (INITIAL_MULT_COUNT): Set to 16. 8736: vm/vm_map.h (VM_MAP_COPY_PAGE_LIST_MAX): Set to 64. 8737: vm/vm_object.c (vm_object_cached_max): Set to 4000. 8738: 8739: 2009-10-14 Thomas Schwinge <[email protected]> 8740: 8741: Merge branch 'master-zhengda' 8742: 8743: 2009-10-14 Zheng Da <[email protected]> 8744: 8745: Apply patch #6851: fix a bug in BPF * net_io.c (net_filter): Correct the amount of data of a packet accepted by BPF. 8746: 8747: 2009-10-14 Samuel Thibault <[email protected]> 8748: 8749: Fix yet more allocation failures during gc 8750: kern/zalloc.c (zone_gc): Allocate and free two vm_map_kentry_zone elements to 8751: make sure the gc will be able to allocate two in vm_map_delete. 8752: 8753: Revert spurious part of 909c941d 8754: 8755: Fix db kernel memory access 8756: i386/i386/db_interface.c (db_read_bytes): Also check addr against 8757: VM_MAX_KERNEL_ADDRESS. 8758: 8759: Fix macro escapes 8760: i386/intel/pmap.c (INVALIDATE_TLB): Fix macro escapes 8761: 8762: Fix allocation failure during gc 8763: kern/zalloc.c (zone_gc): Allocate and free a vm_map_kentry_zone element to make 8764: sure the gc will be able to allocate one for vm_map_delete. 8765: 8766: More restrictive requirements on zone alignment 8767: kern/zalloc.c (zinit): Panic if requested alignment doesn't match page 8768: size and list elements. 8769: 8770: Fix return with lock held 8771: vm/vm_map.c (vm_map_copy_overwrite): Unlock dst_map before returning. 8772: 8773: Fix return with lock held 8774: vm/vm_map.c (vm_map_enter): Use RETURN instead of return to unlock the 8775: map before returning. 8776: 8777: Make local variable static 8778: kern/lock.c (lock_wait_time): Add static qualifier. 8779: 8780: Advertise memory size truncations 8781: i386/i386at/model_dep.c (mem_size_init): Advertise memory size 8782: truncations. 8783: 8784: 2009-09-27 Samuel Thibault <[email protected]> 8785: 8786: Disable CMD-640 support 8787: It messes too much with probing and brings hang issue. 8788: 8789: * i386/linux/dev/include/linux/autoconf.h 8790: (CONFIG_BLK_DEV_CMD640, CONFIG_BLK_DEV_CMD640_ENHANCED): 8791: Undefine macros. 8792: 8793: 2009-07-11 Thomas Schwinge <[email protected]> 8794: 8795: Switch to the new ChangeLog style. 8796: * ChangeLog: Wipe out content, and add instructions about how to get it back. 8797: * ChangeLog.0: Remove file. 8798: * ChangeLog.00: Likewise. 8799: 8800: 2009-02-26 Samuel Thibault <[email protected]> 8801: 8802: * i386/i386/prog_reg.h (invlpg_linear): Rename macro into... 8803: (invlpg_linear_range): ... this. 8804: (invlpg_linear): New macro. 8805: * i386/intel/pmap.c (INVALIDATE_TLB): Call invlpg_linear instead 8806: of flush_tlb when e - S is compile-time known to be PAGE_SIZE, 8807: instead of run-time known to be less than 32 * PAGE_SIZE. 8808: 8809: 2009-01-05 Samuel Thibault <[email protected]> 8810: 8811: * i386/i386/gdt.h (LINEAR_DS): New macro. 8812: * i386/i386/gdt.c (gdt_init): Initialize LINEAR_DS descriptor. 8813: * i386/i386/proc_reg.h (invlpg_user): Rename macro into... 8814: (invlpg_linear): ... this. Use movw instead of movl to set KERNEL_DS 8815: selector. Use LINEAR_DS selector instead of USER_DS selector. 8816: * i386/intel/pmap.c (INVALIDATE_TLB): Call invlpg_linear instead of 8817: invlpg_user. For now, disable use of invlpg. 8818: 8819: 2008-12-30 Samuel Thibault <[email protected]> 8820: 8821: * i386/i386/proc_reg.h [__ASSEMBLER__ && __GNUC__]: Include 8822: <i386/gdt.h> and <i386/ldt.h> 8823: (invlpg_user): New macro. 8824: * i386/intel/pmap.c (INVALIDATE_TLB): Call invlpg_user instead 8825: of invlpg. 8826: (pmap_remove, pmap_page_protect, pmap_protect, pmap_enter, 8827: pmap_collect, phys_attribute_clear): Call PMAP_UPDATE_TLBS 8828: after pde update instead of before. 8829: 8830: 2008-12-29 Samuel Thibault <[email protected]> 8831: 8832: * i386/intel/pmap.c (pmap_bootstrap): Extend kernel virtual memory to 8833: at least the size of the physical memory. 8834: 8835: 2008-12-05 Samuel Thibault <[email protected]> 8836: 8837: * vm/vm_fault.c (vm_fault_page): Print value returned 8838: memory_object_data_request as %x instead of %d. 8839: 8840: 2008-11-15 Shakthi Kannan <[email protected]> 8841: 8842: * device/ds_routines.h (device_reference, device_deallocate): Add 8843: function prototypes. 8844: * kern/task.c (task_create): Moved unused i variable inside FAST_TAS. 8845: * vm/vm_map.h (vm_map_copy_page_discard): Add function prototype. 8846: * vm/vm_kern.c (projected_buffer_deallocate): Give &map->hdr 8847: instead of map to _vm_map_clip_start and _vm_map_clip_end functions. 8848: 8849: 2008-12-01 Samuel Thibault <[email protected]> 8850: 8851: * device/device_emul.h (device_emulation_ops): Turn back reference, 8852: dealloc, dev_to_port, write_trap and writev_trap into taking a void*, 8853: as they do not always take a mach_device_t. 8854: * device/ds_routines.c (mach_device_emulation_ops): Cast 8855: mach_device_reference, mach_device_deallocate, 8856: mach_convert_device_to_port, device_write_trap and device_writev_trap 8857: to (void*) to make them accept a void* argument. 8858: * linux/pcmcia-cs/glue/ds.c (device_deallocate): Rename function 8859: into... 8860: (ds_device_deallocate): ... this. 8861: (dev_to_port): Call ds_device_deallocate instead of device_deallocate. 8862: (linux_pcmcia_emulation_ops): Use ds_device_deallocate instead of 8863: device_deallocate, cast mach_device_reference to (void*) to make it 8864: accept a void* argument. 8865: 8866: 2008-11-28 Thomas Schwinge <[email protected]> 8867: 8868: * doc/Makefrag.am: Only advertize updating the web pages on 8869: gnumach-1-branch. 8870: 8871: 2008-11-27 Samuel Thibault <[email protected]> 8872: 8873: * i386/i386/proc_reg.h (invlpg): New macro. 8874: * i386/intel/pmap.c (INVALIDATE_TLB): If portion to be flushed is less 8875: than 32 pages, use calls to invlpg instead of flush_tlb. 8876: 8877: 2008-11-23 Samuel Thibault <[email protected]> 8878: 8879: * i386/i386/proc_reg.h (get_cr0, get_cr2, get_cr3, get_cr4, get_tr, 8880: get_ldt): Add volatile qualifier to asm statement to prevent gcc from 8881: optimizing it away since there seems to be no way to clobber these 8882: properly in the set_* macros. 8883: 8884: 2008-11-17 Thomas Schwinge <[email protected]> 8885: 8886: * Makefile.am (install_sh, INSTALL): Point to `build-aux/install-sh'. 8887: Make use of its `-C' option. 8888: 8889: * configure.ac: Require GNU Automake 1.10.1. 8890: * Makefile.am: Adapt. 8891: * Makefile.correct_output_files_for_.S_files.patch: Remove. 8892: 8893: 2008-07-19 Barry deFreese <[email protected]> 8894: 8895: * device/device_emul.h (struct device_emulation_ops): Make members 8896: reference, dealloc, dev_to_port, write_trap, and writev_trap take 8897: mach_device_t parameter instead of void *. 8898: * i386/i386at/autoconf.c: Make forward declarations for comintr() 8899: and lprintr() match prototype. Add brackets around initialization 8900: members for bus_ctlr and bus_device structs. 8901: * i386/i386at/conf.c (dev_name_list): Pass nomap instead of nulldev 8902: for map field. 8903: * i386/i386at/pic_isa.c (intnull, fpintr, hardclock, kdintr, 8904: prtnull): Declare the type of the value returned by functions to void. 8905: 8906: 2008-11-13 Thomas Schwinge <[email protected]> 8907: 8908: [task #8135 -- PAE for GNU Mach] 8909: * i386/configfrag.ac (enable_pae): Add checks: this is ix86-only. 8910: * doc/mach.texi (Configuration): Document the new option. 8911: 8912: 2008-11-11 Shakthi Kannan <[email protected]> 8913: 8914: * kern/eventcount.c (evc_wait_clear): Remove unused variable 'ret'. 8915: 8916: 2008-11-10 Samuel Thibault <[email protected]> 8917: 8918: [task #8135 -- PAE for GNU Mach] 8919: * i386/configfrag.ac: Add --enable-pae option, which defines PAE. 8920: * i386/i386/i386asm.sym (PDPSHIFT, PDEMASK, PTE_SIZE): New assembly 8921: macros. 8922: * i386/i386/locore.S (copyout_retry) [PAE]: Use page directory pointer 8923: bits, take PTE_SIZE into account. 8924: * i386/i386at/model_dep.c (i386at_init) [PAE]: Set second initial 2MB 8925: page. Enable PAE bit. Set cr3 to page directory pointer table instead 8926: of page directory. 8927: * i386/intel/pmap.c (pmap_bootstrap, pmap_create) [PAE]: Allocate 4 8928: pages for dirbase. Setup pdpbase. 8929: (pmap_destroy) [PAE]: Free 4 pages from dirbase. Free pdpbase. 8930: * i386/intel/pmap.h (pt_entry_t) [PAE]: Typedef to unsigned long long. 8931: (PDPSHIFT, PDPNUM, PDPMASK) [PAE]: New macros. 8932: (PDESHIFT, PDEMASK, PTEMASK) [PAE]: Set to PAE values. 8933: (lin2pdenum, NPDES) [PAE]: Make them take the page directory pointer 8934: index into account too. 8935: (struct pmap) [PAE]: Add `pdpbase' member. 8936: (set_dirbase): Remove macro, replaced by... 8937: (set_pmap): New macro, taking a pmap instead of the dirbase. 8938: (PMAP_ACTIVATE_USER): Use set_pmap instead of set_dirbase. 8939: 8940: 2008-11-05 Shakthi Kannan <[email protected]> 8941: 8942: * ipc/mach_port.c (mach_port_insert_right): Cast poly into 8943: (ipc_object_t) to fix compiler warning when calling 8944: ipc_object_copyout_name. 8945: 8946: 2008-08-31 Samuel Thibault <[email protected]> 8947: 8948: * i386/i386/trap.c (user_trap): On page fault, raise exception instead 8949: of asserting that cr2 is below LINEAR_MIN_KERNEL_ADDRESS. 8950: 8951: 2008-07-29 Zheng Da <[email protected]> 8952: Manuel Menal <[email protected]> 8953: 8954: * include/device/net_status.h (NET_FLAGS): New macro. 8955: * linux/dev/glue/net.c (device_get_status): Handle NET_FLAGS case. 8956: (device_set_status): Likewise, calls dev_change_flags. 8957: * linux/dev/include/linux/netdevice.h (dev_change_flags): Declare 8958: function. 8959: * linux/dev/net/core/dev.c (dev_change_flags): Add function. 8960: 8961: 2008-08-03 Samuel Thibault <[email protected]> 8962: 8963: * i386/i386/lock.h (_simple_lock_xchg_, bit_lock, bit_unlock): Add 8964: memory clobbers. 8965: * i386/include/mach/i386/cthreads.h (spin_unlock, spin_try_lock): Add 8966: memory clobbers. 8967: 8968: 2008-07-23 Barry deFreese <[email protected]> 8969: 8970: * device/chario.c (ttyinput_many): Change chars param to char *. 8971: * device/tty.h (ttyinput_many): Likewise. 8972: * i386/i386/pcb.h: Include <mach/exec/exec.h>. 8973: * i386/i386at/autoconf.h: Include <chips/busses.h>. 8974: * i386/i386at/model_dep.c (inittodr): Cast &new_time.seconds to u_int *. 8975: * ipc/mach_port.c (mach_port_insert_right): Cast poly to ipc_object_t. 8976: * ipc/mach_debug.c (host_ipc_hash_info): Initialize size to 0 to make 8977: the compiler believe that there is no bug. 8978: * ipc/mach_debug.c (mach_port_space_info): Likewise for tree_size and 8979: table_size. 8980: * i386/i386at/com.c (commctl): Likewise for b. 8981: * i386/i386/trap.c (user_trap): Likewise for exc. 8982: * i386/i386/user_ldt.c (i386_set_ldt): Likewise for old_copy_object. 8983: * i386/i386at/com.c (comintr): Check line_stat&iOR instead of line&iOR. 8984: 8985: 2008-07-23 Barry deFreese <[email protected]> 8986: 8987: * i386/i386/locore.h (copyinmsg, copyoutmsg): 8988: Make parameters const void* and void* instead of vm_offset_t. 8989: * i386/i386at/com.c (comportdeath): Cast port as ipc_port_t in 8990: tty_portdeath call. 8991: * i386/i386at/kd.c (kdportdeath): Likewise. 8992: * i386/i386at/lpr.c (lprportdeath): Likewise. 8993: * i386/i386at/kd_mouse.c (mouse_handle_byte): Cast param to wakeup() as 8994: vm_offset_t. 8995: * i386/intel/pmap.c (pmap_destroy): Cast arg 2 of kmem_free() to 8996: vm_offset_t. 8997: * i386/intel/pmap.h: Cast all arg 1 params to kvtophy() to vm_offset_t. 8998: * ipc/ipc_kmsg.c: Remove casts from params to copyinmsg and 8999: copyoutmsg calls. 9000: * ipc/mach_msg.c: Likewise. 9001: * kern/exceptions.c: Likewise. 9002: * ipc/mach_msg.c: Remove casts from params to copyout calls. 9003: * ipc/bootstrap.c: Likewise. 9004: * kern/ipc_tt.c (mach_ports_register): Cast memory[i] as ipc_port_t in 9005: assignment. 9006: 9007: 2008-07-19 Barry deFreese <[email protected]> 9008: 9009: * chips/busses.h (bus_ctlr, bus_device): Make intr return void instead 9010: of int. 9011: * device/tty.h (tty): Make t_start and t_stop return void instead of 9012: int. 9013: * i386/i386/ipl.h (ivect[]): return void instead of int. 9014: * i386/i386at/pic_isa.h (ivect[]): Likewise. 9015: * i386/i386at/kd_mouse.c (mouseintr): Likewise. 9016: * i386/i386at/com.c (comintr, comstop): Likewise. 9017: * i386/i386at/kd.c (kdcnputc, kdstart, kdstop, kdintr): Likewise. 9018: * i386/i386/trap.c (exception, thread_exception_return, i386_exception): 9019: Add __attribute__ ((noreturn)). 9020: * i386/i386at/kd.c (kdcnprobe): Return 0 at end of function. 9021: * i386/i386at/lpr.c (lprintr, lprstart): Return void instead of int. 9022: (lprstart): Don't return numeric values any longer. 9023: * kern/eventcount.c (evc_wait_clear): Return a value. 9024: * kern/exceptions.c (exception, exception_try_task, exception_no_server, 9025: exception_raise, exception_raise_continue, exception_raise_continue_slow, 9026: exception_raise_continue_fast): Add __attribute__ ((noreturn)). 9027: (exception, exceptio_try_task, exception_raise, 9028: exception_raise_continue_slow, exception_raise_continue_fast): 9029: Remove spurious returns. 9030: (exception_no_server): Add panic() on return from thread_halt_self(). 9031: 9032: 2008-07-20 Samuel Thibault <[email protected]> 9033: 9034: * linux/pcmcia-cs/glue/wireless_glue.h (schedule_task): Add parameter 9035: to Debugger() call. 9036: * kern/lock_mon.c (retry_simple_lock, retry_bit_lock): Likewise. 9037: * kern/machine.c (Debugger): Remove declaration. 9038: * device/net_io.c (net_deliver): Fix parenthesis to really round up. 9039: * kern/mach_clock.c (timeout): Make the `fcn' parameter take a void * 9040: instead of char *. 9041: * kern/mach_clock.h (timeout): Likewise. 9042: * device/net_io.c (net_set_filter): Reference the proper member 9043: instead of casting pointers. 9044: * device/subrs.c (ether_sprintf): Set type of `i' to `int'. 9045: * i386/i386/trap.c (kernel_trap): Pass page fault address to printf. 9046: * i386/i386at/rtc.c (rtcget): Fix parenthesis to really test the bit. 9047: * linux/src/include/linux/tqueue.h (queue_task_irq, 9048: queue_task_irq_off, queue_task, run_task_queue): Turn into static 9049: inlines. 9050: 9051: 2008-07-19 Barry deFreese <[email protected]> 9052: 9053: * device/dev_hdr.h (dev_name_lookup, dev_set_indirection): Add 9054: prototypes. 9055: * device/dev_pager.c: Include <vm/vm_user.h>. 9056: * device/ds_routines.c: Likewise. 9057: * device/subrs.c: Likewise. 9058: * device/device_init.c: Include <device/tty.h>. 9059: * device/ds_routines.h (iowait): Add prototype. 9060: * device/net_io.h (net_kmsg_collect): Add prototype. 9061: * device/net_io.c (hash_ent_remove, net_free_dead_infp, 9062: net_free_dead_entp, bpf_validate, bpf_eq, net_add_q_info, 9063: bpf_match): Add forward declarations. 9064: * device/subrs.h: New header. 9065: * i386/i386/fpu.h: Include <sys/types.h>. 9066: Change <i386/thread.h> include to <kern/thread.h>. 9067: (fp_save, fp_load, fp_free, fpu_module_init, fpu_set_state, 9068: fpu_get_state, fpnoextflt, fpextovrflt, fpexterrflt, init_fpu): 9069: Add prototypes. 9070: * i386/i386/gdt.h (gdt_init): Add prototype. 9071: * i386/i386/io_map.c: Include <vm/pmap.h>. 9072: * vm/vm_kern.c: Likewise. 9073: * i386/i386/ktss.h (ktss_init): Add prototype. 9074: * i386/i386/ldt.h (ldt_init): Add prototype. 9075: * i386/i386/loose_ends.h: New header. 9076: * i386/i386/loose_ends.c (delay): Complete prototype. 9077: * i386/i386/model_dep.h (startrtclock): Add prototype. 9078: * i386/i386/pcb.h (load_context, stack_attach, stack_detach, 9079: switch_ktss): Add prototypes. 9080: * i386/i386/pic.h (form_pic_mask, picinit): Add prototypes. 9081: * i386/i386/pit.c: Include <i386/pic.h>. 9082: * i386/i386at/kd_mouse.c: Likewise. 9083: * i386/i386/pit.h (clkstart): Add prototype. 9084: * i386/i386/trap.c: Include <i386/fpu.h>, <intel/read_fault.h>, 9085: <vm/vm_fault.h>. 9086: * i386/i386/trap.h (interrupted_pc): Add prototype. 9087: * i386/i386/user_ldt.c: Include <i386/pcb.h>. 9088: * i386/i386at/autoconf.h: New header. 9089: * i386/i386at/com.h: New header. 9090: * i386/i386at/com.c: Include <i386at/autoconf.h>, <i386at/com.h>. 9091: * i386/i386at/idt.h (idt_init): Add prototype. 9092: * i386/i386at/int_init.h: New header. 9093: * i386/i386at/kd.c: Include <i386/loose_ends.h>. 9094: * kern/debug.c: Likewise. 9095: * i386/i386at/kd_event.c: Include <device/ds_routines.h>. 9096: * i386/i386at/kd_mouse.c: Likewise. 9097: * i386/i386at/kd_mouse.c: Include <device/subrs.h>, <i386at/com.h>. 9098: * i386/i386at/lpr.c: Include <i386at/autoconf.h> 9099: * i386/i386at/model_dep.c: Include: <i386/fpu.h>, <i386/gdt.h>, 9100: <i386/ktss.h>, <i386/ldt.h>, <i386/pic.h>, <i386/pit.h>, 9101: <i386at/autoconf.h>, <i386at/idt.h>, <i386at/int_init.h>, 9102: <i386at/kd.h>, <i386at/rtc.h>. 9103: * i386/i386at/rtc.h (readtodc, writetodc): Add prototypes. 9104: * i386/intel/pmap.h: Include <mach/vm_prot.h>. 9105: (pmap_bootstrap, pmap_unmap_page_zero, pmap_zero_page, pmap_copy_page, 9106: kvtophys): Add prototypes. 9107: * i386/intel/read_fault.h: New header. 9108: * kern/ast.h (ast_init, ast_check): Add prototypes. 9109: * kern/debug.c (Debugger): Move prototype to... 9110: * kern/debug.h (Debugger): ... here. 9111: * kern/eventcount.h (evc_notify_abort): Add prototype. 9112: * kern/ipc_mig.c: Include <kern/syscall_subr.h>, <kern/ipc_tt.h>, 9113: <device/ds_routines.h> 9114: * kern/ipc_mig.h: New header. 9115: * kern/ipc_tt.h (mach_reply_port): Add prototype. 9116: * kern/machine.h: New header. 9117: * kern/processor.h (pset_sys_bootstrap): Move prototype outside of 9118: MACH_HOST check. 9119: * kern/sched_prim.h (thread_bind, compute_priority, 9120: thread_timeout_setup): Add prototypes. 9121: * kern/startup.c: Include <kern/machine.h>, <machine/pcb.h>. 9122: * kern/syscall_subr.c: Include <kern/syscall_subr.h>. 9123: (thread_depress_abort): Remove prototype. 9124: * kern/syscall_subr.h: Include <sys/types.h>, <mach/mach_types.h> 9125: (thread_depress_abort): Add prototype. 9126: * kern/syscall_sw.c: Include: <kern/debug.h>. 9127: * kern/task.h (consider_task_collect): Add prototype. 9128: * kern/thread.c: Include <kern/eventcount.h>, <kern/ipc_mig.h>, 9129: <kern/syscall_subr.h>. 9130: * kern/thread.h (stack_collect): Add prototype. 9131: * linux/pcmcia-cs/glue/pcmcia_glue.h (Debugger): Remove prototype. 9132: * util/putchar.c: Include <device/cons.h>. 9133: * util/putchar.h: New header. 9134: * util/puts.c: Include <device/cons.h>, <util/putchar.h>. 9135: * vm/memory_object.c: Include <vm/vm_map.h>. 9136: (memory_object_data_provided): Move function below 9137: memory_object_data_supply definition. 9138: * vm/vm_init.c: Include <vm/vm_fault.h>. 9139: * vm/vm_kern.h (projected_buffer_in_range): Add prototype. 9140: * vm/vm_map.c: Include <vm/pmap.h>, <vm/vm_resident.h>. 9141: (vm_map_delete, vm_map_copyout_page_list, vm_map_copy_page_discard): 9142: Add forward declaration. 9143: * vm/vm_map.h (vm_map_copyin_object, vm_map_submap, 9144: _vm_map_clip_start, _vm_map_clip_end): Add prototypes. 9145: * vm/vm_pageout.c: Include <device/net_io.h>, <kern/task.h>, 9146: <machine/locore.h>. 9147: * vm/vm_resident.h: New header. 9148: * vm/vm_user.c: Include <vm/vm_kern.h>. 9149: * vm/pmap.h (pmap_pageable, pmap_map_bd): Add prototype. 9150: 9151: 2008-07-18 Andrei Barbu <[email protected]> 9152: 9153: * i386/i386/db_disasm.c (Iba): New macro. 9154: (db_inst_table): Use Iba for aam and aad instructions. 9155: (db_disasm): Decode operands for Iba case. 9156: * i386/i386/db_interface.c (db_read_bytes): Do not increment the 9157: address before printing it. 9158: * include/sys/types.h (int8_t, uint8_t, u_int8_t, int16_t, uint16_t, 9159: u_int16_t, int32_t, uint32_t, u_int32_t, int64_t, uint64_t, 9160: u_int64_t): New types. 9161: * ddb/db_sym.c (db_task_printsym): Do not print empty symbols. 9162: * ddb/db_break.c (db_set_breakpoint): Add db_breakpoint_t return type, 9163: return the breakpoint in non-ddb case. 9164: * ddb/db_break.h (BKPT_EXTERNAL): New macro. 9165: (db_set_breakpoint): Add declaration. 9166: * (ddb/db_sym.h): Add _DDB_DB_SYM_H_ header protection. 9167: (db_find_sym_and_offset, db_find_xtrn_sym_and_offset, 9168: db_find_task_sym_and_offset, db_find_xtrn_task_sym_and_offset): Call 9169: db_free_symbol. 9170: (db_free_symbol): New declaration. 9171: (db_sym_switch): New `free_symbol' member. 9172: (X_db_free_symbol): New macro. 9173: * ddb/db_sym.c (db_value_of_name, db_lookup, db_name_is_ambiguous, 9174: db_search_task_symbol, db_search_in_task_symbol, db_task_printsym): 9175: Call db_free_symbol. 9176: (db_free_symbol): New function. 9177: (dummy_db_free_symbol): New empty function. 9178: (x_db): Initialize `free_symbol' memberi with dummy_db_free_symbol. 9179: * i386/i386/db_trace.c (db_i386_stack_trace): Call db_free_symbol. 9180: * kern/lock_mon.c (print_lock_info): Likewise. 9181: * include/sys/types.h (quad): Remove type. 9182: 9183: 2008-07-15 Barry deFreese <[email protected]> 9184: 9185: * device/cons.c (cnputc): Turn parameter `c' into a char. 9186: * device/cons.h (cninit, cngetc, cnmaygetc, cnputc): Add prototypes. 9187: * i386/i386at/model_dep.c: Include <device/cons.h> 9188: * kern/printf.c: Include <device/cons.h> 9189: (cnputc): Remove prototype. 9190: (vprintf, iprintf): Explicitely cast cnputc into the type _doprnt 9191: expects. 9192: * linux/dev/kernel/printk.c: Include <device/cons.h> 9193: (cnputc): Remove prototype. 9194: * device/ds_routines.c: Include <machine/locore.h> 9195: * ipc/ipc_kmsg.c: Likewise. 9196: * kern/bootstrap.c: Likewise. 9197: * kern/exception.c: Likewise. 9198: * kern/ipc_mig.c: Likewise. 9199: * kern/sched_prim.c: Likewise. 9200: * kern/time_stamp.c: Likewise. 9201: * vm/vm_kern.c: Likewise. 9202: * device/ds_routine.h (ds_notify): Add prototype. 9203: * kern/ipc_kobject.c: Include <device/ds_routines.h> 9204: * device/net_io.h (net_ast): Add prototype. 9205: * ipc/ipc_kmsg.c: Include <device/net_io.h> 9206: * kern/ast.c: Include <device/net_io.h> 9207: * i386/i386at/kd.h (kd_isupper, kd_islower, kd_senddata, kd_sendcmd, 9208: kd_cmdreg_write, kd_mouse_drain, set_kd_state, kd_setleds1, kd_setleds2, 9209: cnsetleds, kdreboot, kd_putc, kd_parseesc, kd_down, kd_up, kd_cr, 9210: kd_tab, kd_left, kd_right, kd_scrollup, kd_scrolldn, kd_cls, kd_home, 9211: kd_atoi, kd_insch, kd_cltobcur, kd_cltopcur, kd_cltoecur, kd_clfrbcur, 9212: kd_eraseln, kd_insln, kd_delln, kd_delch, kd_erase, kd_bellon, 9213: kd_belloff, kdinit, kdsetkbent, kdgetkbent, kdsetbell, kd_resend, 9214: kd_handle_ack, kd_kbd_magic, kdstate2idx, kd_parserest, kdcnmaygetc, 9215: kd_slmwd, kd_slmscu, kd_slmscd): Add prototypes. 9216: * i386/i386at/kd.c (do_modifier): Add prototype. 9217: * kern/ipc_kobject.c: Include <vm/vm_object.h> 9218: * vm/vm_object.h: Include <sys/types.h> and <ipc/ipc_types.h>. 9219: (vm_object_coalesce, vm_object_pager_wakeup): Add prototypes. 9220: * kern/priority.c: Include <kern/sched_prim.h>. 9221: * kern/sched_prim.c (recompute_priorities, update_priority): Remove 9222: prototypes. 9223: * kern/sched_prim.h (update_priority, compute_my_priority): Add 9224: prototypes. 9225: * kern/time_stamp.h (timestamp_init): Add prototype. 9226: * kern/startup.c: Include <kern/time_stamp.h>. 9227: * ipc/ipc_kmsg.c: Include <vm/vm_user.h> and <ipc/ipc_hash.h>. 9228: * ipc/ipc_mqueue (ipc_mqueue_copyin): Add prototype. 9229: * kern/bootstrap.c: Include <vm/vm_user.h>. 9230: * kern/exceptions.c: Include <ipc/ipc_notify.h>. 9231: * kern/ipc_kobject.h (ipc_kobject_notify): Add prototype. 9232: * kern/ipc_mig.c: Include <device/dev_hdr.h>. 9233: * kern/pc_sample.c: Include <machine/trap.h>. 9234: * kern/printf.h (safe_gets): Add prototype. 9235: * kern/processor.c: Include <kern/ipc_tt.h>. 9236: * kern/queue.h (insque): Add prototype. 9237: * kern/startup.c: Include <kern/mach_factor.h> and <kern/xpr.h>. 9238: * kern/thread.h (thread_start, kernel_thread, thread_priority, 9239: thread_set_own_priority, thread_max_priority, thread_policy, 9240: consider_thread_collect, stack_privilege): Add prototypes. 9241: * kern/timer.h (timer_normalize, timer_init, init_timers): Add 9242: prototypes. 9243: * vm/vm_map.h (vm_map_lookup_entry, vm_map_entry_delete): Add 9244: prototypes. 9245: * device/chario.c: Include <vm/vm_user.h> 9246: * device/device_init.c (chario_init): Remove prototype. 9247: * device/tty.h (ttyinput_many, tty_cts, tty_get_status, 9248: tty_set_status, tty_flush, ttrstrt, ttstart, ttyclose, tty_portdeath, 9249: chario_init): Add prototypes. 9250: * i386/i386/model_dep.h: New header. 9251: * i386/i386at/model_dep.c: Include <i386/model_dep.h>. 9252: * kern/debug.c: Include <machine/model_dep.h>. 9253: * kern/mach_clock.c: Likewise. 9254: * kern/sched_prim.c: Likewise. 9255: * kern/startup.c: Likewise. 9256: * kern/machine.c: Likewise. 9257: (halt_cpu): Remove prototype. 9258: * vm/pmap.h (pmap_grab_page): Add prototype. 9259: * ipc/mach_port.h: New header. 9260: * ipc/mach_port.c: Include <ipc/mach_port.h>. 9261: (mach_port_get_receive_status): Add forward declaration. 9262: * kern/bootstrap.c: Include <ipc/mach_port.h>. 9263: * kern/ipc_mig.c: Likewise. 9264: * kern/syscall_sw.c: Likewise. 9265: * device/dev_pager.c (device_pager_data_request, 9266: device_pager_data_request_done, device_pager_init_pager): Fix printf 9267: formats. 9268: * i386/i386/debug_i386.c (dump_ss): Likewise. 9269: * i386/i386/trap.c (user_trap): Likewise. 9270: * i386/i386at/com.c (comtimer): Likewise. 9271: * ipc/ipc_notify (ipc_notify_port_deleted, ipc_notify_msg_accepted, 9272: ipc_notify_port_destroyed, ipc_notify_no_senders, 9273: ipc_notify_send_once, ipc_notify_dead_name): Likewise. 9274: * kern/ipc_kobject.c (ipc_kobject_destroy): Likewise. 9275: * kern/sched_prim.c (do_runq_scan): Likewise. 9276: * linux/pcmcia-cs/clients/smc91c92_cs.c (smc_start_xmit): Likewise. 9277: * linux/src/drivers/net/sundance.c (start_tx): Likewise. 9278: * vm/vm_fault.c (vm_fault_page): Likewise. 9279: * vm/vm_map.c (vm_map_pmap_enter): Likewise. 9280: * vm/vm_object.c (vm_object_collapse): Likewise. 9281: 9282: 2008-07-04 Samuel Thibault <[email protected]> 9283: 9284: * linux/src/drivers/net/rtl8139.c (rtl8129_open): Move IRQ 9285: initialization after ring initialization. 9286: 9287: 2008-07-02 Samuel Thibault <[email protected]> 9288: 9289: * linux/dev/include/asm/segment.h (__put_user, __get_user): Add 9290: always_inline attribute. 9291: 9292: 2008-06-29 Samuel Thibault <[email protected]> 9293: 9294: * i386/i386/fpu.c (fpintr): Do not panic if the we receive the 9295: interrupt twice in the same thread. 9296: 9297: 2008-05-28 Thomas Schwinge <[email protected]> 9298: 9299: [bug #23417, patch #6508 -- Building with -g3] 9300: * Makefile.am (MIGCOM): Revert the 2008-05-19 change. 9301: 9302: 2008-05-25 Andrei Barbu <[email protected]> 9303: 9304: * ddb/db_aout.c (aout_db_symbol_values): Add stab parameter. 9305: * ddb/db_sym.h (db_sym_switch): Add stab parameter to symbol_values 9306: member. 9307: (X_db_symbol_values): Pass stab parameter to symbole_values function. 9308: 9309: 2008-05-19 Thomas Schwinge <[email protected]> 9310: 9311: [patch #6508 -- Building with -g3] 9312: * Makefile.am (MIGCOM): Let it filter through CPP again. 9313: Suggested by Andrei Barbu <[email protected]>. 9314: 9315: 2008-05-09 Andrei Barbu <[email protected]> 9316: 9317: * i386/i386/loose_ends.c (DELAY): Use volatile qualifier instead of 9318: register to prevent optimization. 9319: 9320: 2008-03-10 Samuel Thibault <[email protected]> 9321: 9322: * doc/Makefrag.am: Fix typo. 9323: 9324: 2008-03-07 Samuel Thibault <[email protected]> 9325: 9326: * i386/i386/locore.S (syscall): Clear direction flag at entry. 9327: 9328: 2008-02-06 Samuel Thibault <[email protected]> 9329: 9330: * linux/src/drivers/block/triton.c (ide_init_triton): Enable Bus 9331: Mastering if not enabled by BIOS. 9332: 9333: 2007-12-30 Samuel Thibault <[email protected]> 9334: 9335: * kern/debug.c (panic) [MACH_KDB]: Don't wait before running the 9336: debugger. 9337: * linux/dev/glue/block.c (MAX_BUF): Set to sane stack-friendly 8 9338: instead of blindly following VM_MAP_COPY_PAGE_LIST_MAX. 9339: (rdwr_full): increment blk by cc >> bshift instead of nb. 9340: 9341: 2007-12-11 Thomas Schwinge <[email protected]> 9342: 9343: * linux/dev/include/linux/nfs.h: Remove unused file. 9344: * linux/src/include/linux/nfs.h: Likewise. 9345: 9346: 2007-12-10 Thomas Schwinge <[email protected]> 9347: 9348: * i386/Makefrag.am (i386/i386at/boothdr.o, i386/i386at/interrupt.o) 9349: (i386/i386/cswitch.o, i386/i386/locore.o): Remove targets. 9350: * configure.ac <Dependency tracking for `.S' files>: Add a hack to 9351: re-add the four targets with have been removed above for the (legacy) 9352: case only where they are actually needed. 9353: 9354: 2007-12-05 Guillem Jover <[email protected]> 9355: 9356: * i386/Makefrag.am (i386/i386at/interrupt.o): New target, depends on 9357: i386/i386/i386asm.h 9358: (i386/i386/cswitch.o): Likewise. 9359: (i386/i386/locore.o): Likewise. 9360: 9361: 2007-11-18 Samuel Thibault <[email protected]> 9362: 9363: * i386/intel/pmap.c (pmap_map_bd): Use 9364: INTEL_PTE_NCACHE|INTEL_PTE_WTHRU. Get pmap lock. 9365: 9366: 2007-11-15 Samuel Thibault <[email protected]> 9367: 9368: * ddb/db_examine.c (db_strcpy): Add extra parentheses around 9369: assignment used as boolean. 9370: * ddb/db_sym.c (db_qualify, db_lookup): Likewise. 9371: 9372: 2007-11-08 Thomas Schwinge <[email protected]> 9373: 9374: * doc/mach.texi: Do the copyright and licensing things as suggested by 9375: the GNU Texinfo manual. 9376: 9377: 2007-10-09 Thomas Schwinge <[email protected]> 9378: 9379: * linux/dev/glue/net.c (device_open) <LINUX_IFF_ALLMULTI>: Comment. 9380: 9381: 2007-10-08 Stefan Siegl <[email protected]> 9382: 9383: * linux/dev/glue/net.c (device_open): Set LINUX_IFF_ALLMULTI flag 9384: on device and propagate. 9385: 9386: 2007-10-02 Samuel Thibault <[email protected]> 9387: 9388: * kern/zalloc.c (zget_space): Fix last change. 9389: 9390: 2007-09-03 Samuel Thibault <[email protected]> 9391: 9392: * kern/zalloc.c (zget_space): Align zalloc_next_space again after 9393: calling kmem_alloc_wired (which may sleep). 9394: 9395: 2007-08-16 Samuel Thibault <[email protected]> 9396: 9397: * Makefile.am (clib_routines): Add udivdi3, __udivdi3 and _end. Fix 9398: edata into _edata. 9399: (gnumach-undef): Do not remove heading _s. 9400: (clib-routines.o): Add -lgcc. 9401: 9402: 2007-07-09 Samuel Thibault <[email protected]> 9403: 9404: * i386/i386/db_interface.c (int_regs): Drop gs and fs fields. 9405: (kdb_kentry): Get fs and gs from struct i386_interrupt_state instead of 9406: struct int_regs. 9407: * i386/i386/kttd_interface.c (int_regs, kttd_netentry): Likewise. 9408: * i386/i386/locore.S (all_intrs): Save fs and gs and set them to kernel 9409: segment too. 9410: (return_to_iret): Restore fs and gs too. 9411: (return_to_iret_i): Likewise. 9412: (ast_from_interrupt): Set fs and gs to kernel segment too. 9413: (kdb_from_iret): Don't save/restore fs and gs either. 9414: (ttd_from_iret): Likewise. 9415: * i386/i386/thread.h (i386_interrupt_state): Add gs and fs fields. 9416: * linux/src/include/asm-i386/irq.h (SAVE_ALL): Set gs to kernel 9417: segment too. 9418: 9419: 2007-08-04 Samuel Thibault <[email protected]> 9420: 9421: * i386/i386/locore.S (TIME_TRAP_UENTRY, TIME_TRAP_SENTRY) 9422: (TIME_TRAP_UEXIT): Use TH_SYSTEM_TIMER instead of old TH_SYS_TIMER. 9423: (current_tstamp, TIME_TRAP_UENTRY, TIME_TRAP_SENTRY, TIME_TRAP_UEXIT) 9424: (TIME_INT_ENTRY, TIME_INT_EXIT, timer_switch, start_timer): Use 9425: EXT(current_tstamp) and EXT(current_timer) instead of _current_tstampt 9426: and _current_timer. 9427: * i386/i386/io_perm.c (i386_io_perm_create): Lock io_perm->port, not 9428: inexistent device->port. 9429: * i386/i386at/model_dep.c: Make init_alloc_aligned() extern. 9430: * i386/i386/mp_desc.c: Include <machine/vm_param.h> 9431: (interrupt_stack_alloc): Call init_alloc_aligned() instead of 9432: init_alloc(). 9433: (cpu_control, interrupt_processor, cpu_start, start_other_cpus): New 9434: functions. 9435: * i386/i386/mp_desc.h: Include <i386at/idt.h> instead of "idt.h" 9436: * i386/i386/cswitch.S: Use EXT(interrupt_stack) instead of 9437: _interrupt_stack. 9438: * i386/i386/i386asm.sym (MP_GDT, MP_IDT): Remove macros. 9439: * i386/i386/lock.h: Don't include_next "lock.h". 9440: * i386/linux/dev/include/linux/autoconf.h [NCPUS > 1]: Define 9441: CONFIG_SMP. 9442: * linux/dev/include/asm-i386/smp.h: New file. 9443: * linux/dev/init/main.c [__SMP__ && __i386] (smp_loops_per_tick): 9444: Restore variable. 9445: * linux/pcmcia-cs/modules/cs_internal.h: Use __SMP__ instead of 9446: USE_SPIN_LOCKS. 9447: * linux/pcmcia-cs/modules/i82365.c: Likewise. 9448: * linux/pcmcia-cs/modules/rsrc_mgr.c: Likewise. 9449: * linux/dev/include/asm-i386/system.h: Update to Linux 2.2 for SMP. 9450: * configfrag.ac (mach_ncpus): Define to 1. 9451: (NCPUS): Set to $mach_ncpus. 9452: [$mach_ncpus > 1] (MULTIPROCESSOR): Set to 1. 9453: * linux/configfrag.ac [$mach_ncpus > 1] (__SMP__): Define. 9454: * linux/dev/arch/i386/kernel/irq.c: Include <asm/hardirq.h>. 9455: (local_bh_count, local_irq_count, global_irq_holder, global_irq_lock) 9456: (global_irq_count, check_smp_invalidate, show, wait_on_bh) 9457: (wait_on_irq, synchronize_bh, synchronize_irq, get_irqlock) 9458: (__global_cli, __global_sti, __global_save_flags) 9459: (__global_restore_flags): New variables and functions from Linux 2.2 9460: * linux/src/drivers/net/3c515.c (test_and_set_bit): Remove macro. 9461: * linux/src/drivers/net/de4x5.c (test_and_set_bit): Remove macro. 9462: * linux/src/drivers/net/eth16i.c (test_and_set_bit): Remove macro. 9463: * linux/src/drivers/net/kern_compat.h (test_and_set_bit): Remove macro. 9464: * linux/src/drivers/net/pcnet32.c (test_and_set_bit): Remove macro. 9465: * linux/src/include/linux/compatmac.h (test_and_set_bit) 9466: (test_and_clear_bit): Remove macro. 9467: * linux/src/include/asm-i386/atomic.h (atomic_read): New macro. 9468: * linux/src/include/asm-i386/bitops.h (test_and_set_bit) 9469: (test_and_clear_bit, test_and_change_bit): New inline functions. 9470: * linux/src/include/asm-i386/hardirq.h (local_bh_count): New 9471: declaration. 9472: * linux/src/include/linux/tasks.h (NR_CPUS): Set to NCPUS. 9473: (NO_PROC_ID): New macro. 9474: 9475: 2007-07-08 Samuel Thibault <[email protected]> 9476: 9477: * i386/i386/seg.h (SZ_64): New macro. 9478: * i386/i386/user_ldt.c (selector_check, i386_set_gdt): Check 9479: user-provided descriptor against SZ_64. 9480: 9481: 2007-07-04 Samuel Thibault <[email protected]> 9482: 9483: * i386/intel/pmap.c (pmap_enter): Use INTEL_PTE_NCACHE|INTEL_PTE_WTHRU 9484: when cpu >= 486 and physical address is after memory end. 9485: 9486: 2007-06-23 Samuel Thibault <[email protected]> 9487: 9488: * i386/i386/trap.c (user_trap): Read faulting linear address before 9489: using it. 9490: 9491: 2007-06-02 Thomas Schwinge <[email protected]> 9492: 9493: * Makerules.mig.am: New file, factored out of code of... 9494: * Makefrag.am: ... this file and... 9495: * Makerules.am: ... this file. 9496: * i386/Makefrag.am: Update comment. 9497: 9498: * Makefile.am (MIGFLAGS): Remove. 9499: (MIGCOM): Add ``-n''. 9500: * Makerules.am: Adapt to that. 9501: 9502: 2007-05-09 Thomas Schwinge <[email protected]> 9503: 9504: * include/mach/mach_types.defs (userprefix, serverprefix): Set, if 9505: requested (by setting USERPREFIX respective SERVERPREFIX). 9506: 9507: 2007-05-08 Samuel Thibault <[email protected]> 9508: 9509: * i386/i386/fpu.c (fpu_set_state): Set fp_valid to TRUE. Free the 9510: unused ifps. 9511: 9512: 2007-05-07 Thomas Schwinge <[email protected]> 9513: 9514: [bug #15295 -- Mach lets processes write to I/O ports] 9515: 9516: * i386/Makefrag.am (libkernel_a_SOURCES): Add `i386/i386/io_perm.c', 9517: `i386/i386/io_perm.h', `i386/i386/machine_task.c', `i386/i386/task.h' 9518: and remove `i386/i386/io_port.h', `i386/i386/iopb.c', 9519: `i386/i386/iopb.h'. 9520: 9521: * i386/i386/io_port.h: Remove file. 9522: * i386/i386at/kd.c: Don't include <i386/io_port.h>. 9523: (vga_port_list, kd_io_device, kd_io_map_open, kd_io_map_close): Don't 9524: define and don't use anymore. 9525: 9526: * include/stddef.h: New file. 9527: 9528: * i386/i386/io_perm.c: Include <string.h>, <device/device_emul.h>, 9529: <ipc/ipc_space.h> and don't include <oskit/ds_oskit.h>. 9530: (io_perm_device_emulation_ops): New variable. 9531: (dev_open_alloc, setup_no_senders): Remove declarations. 9532: (convert_io_perm_to_port, convert_port_to_io_perm, io_perm_deallocate): 9533: Rewrite. 9534: (no_senders): New function. 9535: (i386_io_perm_create, i386_io_perm_modify): Rewrite partially, to adapt 9536: to the GNU Mach environment. 9537: * i386/i386/io_perm.h: Include <device/dev_hdr.h> and 9538: <ipc/ipc_types.h>. 9539: (io_perm, io_perm_t): New structure and accompanying type definition. 9540: (IO_PERM_NULL): Define. 9541: * i386/i386/locore.S (ktss): Move variable to... 9542: * i386/i386/ktss.c: ... here, make it a ``struct task_tss''. 9543: (ktss_init): Initialize the `task_tss' structure and the i/o permission 9544: bit map. 9545: * i386/i386/ktss.h: Adapt to that. 9546: * i386/i386/machine_task.c (machine_task_module_init): Adapt the `zinit' 9547: call to the GNU Mach environment. 9548: * i386/i386/mp_desc.c: Include <machine/ktss.h>. 9549: * i386/i386/tss.h: Include <machine/io_perm.h>. 9550: (task_tss): New structure, equivalent to the OSKit-Mach one. 9551: * i386/include/mach/i386/mach_i386.defs: Don't include 9552: <device/device_types.defs>. 9553: (device_list_t): Remove type. 9554: * i386/include/mach/i386/mach_i386_types.h (device_list_t): Remove type 9555: definition. 9556: 9557: 2007-05-07 Marcus Brinkmann <[email protected]> 9558: 9559: [bug #15295 -- Mach lets processes write to I/O ports] 9560: 9561: * i386/i386/iopb.h, i386/i386/iopb.c: Obsolete files removed. 9562: 9563: * i386/i386/pcb.c (switch_context): Update the I/O permission 9564: bitmap from stack_handoff() here (not only in stack_handoff()). 9565: 9566: * i386/i386/machine_task.c (machine_task_module_init): Set 9567: ZONE_COLLECTABLE and ZONE_EXHAUSTIBLE flags for the iopb zone. 9568: Requested by Roland McGrath <[email protected]>. 9569: 9570: * i386/i386/io_perm.h: New file. 9571: * i386/i386/io_perm.c: New file. 9572: * i386/i386/machine_task.c: New file. 9573: * i386/i386/mp_desc.h: (struct mp_desc_table): Change type of ktss to 9574: struct task_tss. 9575: (mp_ktss): Likewise for array of pointers to the struct. 9576: * i386/i386/mp_desc.c: Include `machine/tss.h' and `machine/io_perm.h'. 9577: (mp_ktss): Change type to array of struct task_tss. 9578: (mp_desc_init): Cast pointer to x86_tss into pointer to task_tss, 9579: and use size of struct task_tss instead size of struct x86_tss. 9580: Initialize the task_tss structure. 9581: * i386/i386/pcb.c: Include `stddef.h' and `machine/tss.h'. 9582: (iopb_create, iopb_destroy): Prototypes removed. 9583: (curr_ktss): Cast pointer to base_tss to pointer to struct 9584: task_tss. 9585: (switch_ktss): Always use kernel TSS. 9586: (update_ktss_iopb): New function. 9587: (stack_handoff): Call update_ktss_iopb. 9588: (pcb_module_init): Do not call iopb_init. 9589: (pcb_terminate): Do not call iopb_destroy. 9590: (thread_setstatus): Remove local variable tss. 9591: (thread_getstatus): Rewrite i386_ISA_PORT_MAP_STATE case handler. 9592: * i386/i386/task.h: New file. 9593: * i386/i386/thread.h: Do not include `i386/iopb.h'. 9594: (struct i386_machine_state): Remove member io_tss. 9595: * i386/include/mach/i386/mach_i386.defs [KERNEL_SERVER]: Include 9596: `machine/io_perm.h'. Define intran, outtran and destructor. 9597: (io_port_t): New type. 9598: (io_perm_t): Likewise. 9599: (i386_io_port_add): Interface removed. 9600: (i386_io_port_remove): Likewise. 9601: (i386_io_port_list): Likewise. 9602: (i386_io_perm_create): New interface. 9603: (i386_io_perm_modify): Likewise. 9604: * i386/include/mach/i386/mach_i386_types.h [MACH_KERNEL]: Include 9605: `i386/io_perm.h'. 9606: [!MACH_KERNEL]: Define types io_port_t and io_perm_t. 9607: * kern/task.c (task_init): Call machine_task_module_init. 9608: (task_create): Call machine_task_init. 9609: (task_deallocate): Call machine_task_terminate. 9610: (task_collect_scan): Call machine_task_collect. 9611: * task.h: Include `machine/task.h'. 9612: (struct task): Add member machine. 9613: 9614: 2007-05-06 Thomas Schwinge <[email protected]> 9615: 9616: * device/kmsg.c: Include <device/ds_routines.h>. 9617: (kmsg_lock): Use `decl_simple_lock_data'. 9618: (kmsgread, kmsg_read_done): Add two typecasts. 9619: 9620: * device/buf.h (minphys): Add return type. 9621: * device/device_types_kernel.h: We're not in the eighties anymore... 9622: * device/io_req.h: Likewise. 9623: 9624: 2007-05-05 Thomas Schwinge <[email protected]> 9625: 9626: * i386/i386at/model_dep.c (halt_cpu, halt_all_cpus): Call 9627: `machine_idle' to avoid busy-looping. 9628: 9629: * i386/intel/read_fault.c (intel_read_fault): Remove the last parameter 9630: from the calls of `vm_map_lookup'. 9631: 9632: We're not in the eighties anymore. List arguments in function 9633: prototypes and definitions for a lot of symbols. Also drop some unused 9634: prototypes. I refrain from listing every changed symbol. 9635: * vm/memory_object.c: Do as described. 9636: * vm/memory_object.h: Likewise. 9637: * vm/pmap.h: Likewise. 9638: * vm/vm_external.c: Likewise. 9639: * vm/vm_external.h: Likewise. 9640: * vm/vm_fault.c: Likewise. 9641: * vm/vm_fault.h: Likewise. 9642: * vm/vm_kern.h: Likewise. 9643: * vm/vm_map.c: Likewise. 9644: * vm/vm_map.h: Likewise. 9645: * vm/vm_pageout.h: Likewise. 9646: * vm/vm_user.h: Likewise. 9647: * vm/memory_object.h: Include <ipc/ipc_types.h>. 9648: * vm/pmap.h: Include <kern/thread.h>. 9649: * vm/vm_fault.h: Include <mach/vm_prot.h>, <vm/vm_map.h> and 9650: <vm/vm_types.h>. 9651: * vm/vm_map.h: Include <mach/vm_attributes.h> and <vm/vm_types.h>. 9652: (vm_map_t, VM_MAP_NULL): Remove type and definition. 9653: * vm/vm_object.h (vm_object_t, VM_OBJECT_NULL): Remove type and 9654: definition. 9655: * vm/vm_page.h: Include <vm/vm_types.h>. 9656: (vm_page_t, VM_PAGE_NULL): Remove type and definition. 9657: * vm/vm_user.h: Include <mach/std_types.h>. 9658: * kern/task.h: Include <vm/vm_types.h> instead of <vm/vm_map.h>. 9659: * vm/vm_types.h: New file: the above-removed types and definitions. 9660: 9661: 2007-05-02 Thomas Schwinge <[email protected]> 9662: 9663: * configure.ac (--disable-default-device-drivers): Transform into... 9664: (--enable-device-drivers): ... this new option and extend it. 9665: * i386/configfrag.ac (--enable-lpr): Adapt to that. 9666: * linux/configfrag.ac (AC_OPTION_Linux_ix86_at, AC_Linux_DRIVER): 9667: Likewise. 9668: (AC_Linux_DRIVER_qemu): New definition. Use it for the `floppy', `ide' 9669: and `ne' device drivers. 9670: * doc/mach.texi: Document all that. 9671: 9672: 2007-05-01 Thomas Schwinge <[email protected]> 9673: 9674: * assigns: Remove file. See `copyright.list' on the GNU server instead. 9675: 9676: 2007-04-30 Thomas Schwinge <[email protected]> 9677: 9678: We're not in the eighties anymore. List arguments in function 9679: prototypes and definitions for a lot of symbols. Also drop some unused 9680: prototypes. I refrain from listing every changed symbol. 9681: * chips/busses.h: Do as described. 9682: * ddb/db_break.c: Likewise. 9683: * ddb/db_break.h: Likewise. 9684: * ddb/db_command.c: Likewise. 9685: * ddb/db_command.h: Likewise. 9686: * ddb/db_lex.c: Likewise. 9687: * ddb/db_lex.h: Likewise. 9688: * ddb/db_output.c: Likewise. 9689: * ddb/db_output.h: Likewise. 9690: * ddb/db_sym.h: Likewise. 9691: * ddb/db_task_thread.c: Likewise. 9692: * ddb/db_task_thread.h: Likewise. 9693: * ddb/db_variables.h: Likewise. 9694: * ddb/db_watch.c: Likewise. 9695: * ddb/db_watch.h: Likewise. 9696: * device/buf.h: Likewise. 9697: * device/conf.h: Likewise. 9698: * device/dev_hdr.h: Likewise. 9699: * device/ds_routines.h: Likewise. 9700: * device/if_ether.h: Likewise. 9701: * device/io_req.h: Likewise. 9702: * device/net_io.h: Likewise. 9703: * i386/i386/io_port.h: Likewise. 9704: * i386/i386/lock.h: Likewise. 9705: * i386/i386/mp_desc.c: Likewise. 9706: * i386/i386/mp_desc.h: Likewise. 9707: * i386/i386/proc_reg.h: Likewise. 9708: * i386/i386/user_ldt.h: Likewise. 9709: * i386/i386at/kd_queue.h: Likewise. 9710: * i386/i386at/kdsoft.h: Likewise. 9711: * i386/intel/pmap.c: Likewise. 9712: * i386/intel/pmap.h: Likewise. 9713: * include/mach/mach_traps.h: Likewise. 9714: * ipc/ipc_entry.h: Likewise. 9715: * ipc/ipc_hash.h: Likewise. 9716: * ipc/ipc_kmsg.h: Likewise. 9717: * ipc/ipc_marequest.c: Likewise. 9718: * ipc/ipc_marequest.h: Likewise. 9719: * ipc/ipc_mqueue.h: Likewise. 9720: * ipc/ipc_notify.h: Likewise. 9721: * ipc/ipc_object.h: Likewise. 9722: * ipc/ipc_port.h: Likewise. 9723: * ipc/ipc_pset.h: Likewise. 9724: * ipc/ipc_right.h: Likewise. 9725: * ipc/ipc_space.h: Likewise. 9726: * ipc/ipc_table.h: Likewise. 9727: * ipc/mach_msg.c: Likewise. 9728: * ipc/mach_msg.h: Likewise. 9729: * kern/ast.c: Likewise. 9730: * kern/ast.h: Likewise. 9731: * kern/debug.c: Likewise. 9732: * kern/debug.h: Likewise. 9733: * kern/ipc_tt.c: Likewise. 9734: * kern/ipc_tt.h: Likewise. 9735: * kern/mach_factor.c: Likewise. 9736: * kern/mach_factor.h: Likewise. 9737: * kern/printf.c: Likewise. 9738: * kern/printf.h: Likewise. 9739: * kern/queue.h: Likewise. 9740: * kern/sched.h: Likewise. 9741: * kern/syscall_subr.c: Likewise. 9742: * kern/syscall_subr.h: Likewise. 9743: * kern/task.h: Likewise. 9744: * kern/thread_swap.c: Likewise. 9745: * kern/thread_swap.h: Likewise. 9746: * kern/timer.h: Likewise. 9747: * kern/xpr.c: Likewise. 9748: * kern/xpr.h: Likewise. 9749: * kern/zalloc.c: Likewise. 9750: * kern/zalloc.h: Likewise. 9751: * ipc/ipc_port.h: Don't include <ipc/ipc_space.h>. 9752: * device/dev_hdr.h: Include <ipc/ipc_types.h>. 9753: * device/net_io.h: Include <device/if_hdr.h> and <device/io_req.h>. 9754: * ipc/ipc_entry.h: Include <mach/mach_types.h> and <ipc/ipc_types.h>. 9755: * ipc/ipc_kmsg.h: Include <ipc/ipc_object.h>, <ipc/ipc_types.h> and 9756: <vm/vm_map.h>. 9757: * ipc/ipc_marequest.h: Include <mach_debug/hash_info.h> and 9758: <ipc/ipc_types.h>. 9759: * ipc/ipc_object.h: Include <ipc/ipc_types.h>. 9760: * ipc/ipc_right.h: Include <ipc/ipc_entry.h>. 9761: * ipc/ipc_space.h: Include <mach/mach_types.h> and <ipc/ipc_types.h>. 9762: * kern/ipc_tt.h: Include <mach/mach_types.h>. 9763: * kern/sched.h: Include <kern/kern_types.h>. 9764: * kern/syscall_subr.h: Include <kern/kern_types.h>. 9765: * ipc/ipc_hash.c (ipc_hash_index_t): Move type definition... 9766: * ipc/ipc_hash.h: ... into here. 9767: 9768: 2007-04-25 Thomas Schwinge <[email protected]> 9769: 9770: * DEVELOPMENT: Add url. 9771: 9772: [task #5878 -- Backport code from GNU Mach's trunk to 9773: gnumach-1-branch: i386_set_gdt, i386_get_gdt] 9774: * i386/include/mach/i386/mach_i386.defs (i386_set_gdt, i386_get_gdt): 9775: Shift by two to maintain rpc id compatibility with OSKit-Mach. 9776: 9777: * linux/dev/glue/kmem.c (vmalloc_list_remove): Cast the first argument 9778: in the `kfree' call to what is expected. 9779: 9780: * linux/pcmcia-cs/glue/ds.c (kmalloc, kfree): Call `linux_kmalloc', 9781: respective `linux_kfree' instead. 9782: 9783: * kern/kalloc.h (kalloc, kget, kfree, kalloc_init): List the arguments. 9784: 9785: 2007-04-24 Michael Casadevall <[email protected]> 9786: 9787: * linux/src/drivers/net/ne.c (bad_clone_list): Add the RealTek 8029 PCI 9788: card's signature. 9789: <http://lists.gnu.org/archive/html/bug-hurd/2007-04/msg00039.html> 9790: 9791: 2007-04-24 Thomas Schwinge <[email protected]> 9792: 9793: * ipc/ipc_port.h: Include <ipc/ipc_space.h>. 9794: 9795: 2007-04-11 Thomas Schwinge <[email protected]> 9796: 9797: * config.status.dep.patch: Update to match more files. This fixes 9798: building GNU Mach with ``make -j2'' and higher. The problem was 9799: reported by Michael Casadevall <[email protected]>. 9800: 9801: 2007-04-02 Thomas Schwinge <[email protected]> 9802: 9803: * i386/i386/io_emulate.c: Remove file. 9804: * i386/i386/io_emulate.h: Likewise. 9805: * i386/i386at/iopl.c: Likewise. 9806: * i386/Makefrag.am (libkernel_a_SOURCES): Remove the aforementioned 9807: files. 9808: * i386/i386/trap.c: Don't include <i386/io_emulate.h>. 9809: (v86_assist, check_io_fault): Remove functions. 9810: (user_trap): Remove the code referencing the above functions. 9811: * i386/i386at/conf.c (dev_name_list): Remove the `iopl' device. 9812: * DEVELOPMENT: Document this. 9813: 9814: 2007-03-30 Thomas Schwinge <[email protected]> 9815: 9816: * Makefile.am (gnumach_o_LINK): Remove ``--start-group''. 9817: 9818: 2007-03-27 Thomas Schwinge <[email protected]> 9819: 9820: Unconditionally use the device driver multiplexing. Suggested by 9821: Gianluca Guida <[email protected]>. 9822: * i386/i386at/dev_hdr.h: Merge into `device/dev_hdr.h' and remove. 9823: * i386/i386at/device_emul.h: Rename to `device/device_emul.h'. Adapt 9824: all users. 9825: * i386/i386at/i386at_ds_routines.c: Merge into `device/ds_routines.c' 9826: and remove. 9827: * i386/linux/dev/include/linux_emul.h: Remove file. 9828: * Makefrag.am (libkernel_a_SOURCES): Add `device/device_emul.h'. 9829: * i386/Makefrag.am (libkernel_a_SOURCES): Remove 9830: `i386/i386at/dev_hdr.h', `i386/i386at/device_emul.h' and 9831: `i386/i386at/i386at_ds_routines.c'. 9832: * i386/linux/Makefrag.am (liblinux_a_SOURCES): Remove 9833: `i386/linux/dev/include/linux_emul.h'. 9834: * dev/dev_hdr.h: Adapt all users of `i386' as if it were always 9835: defined. 9836: * device/dev_lookup.c: Likewise. 9837: * device/ds_routines.c: Likewise. 9838: * device/device_init.c (ds_init): Rename to `mach_device_init'. 9839: * device/ds_routines.c (ds_init): Likewise. 9840: (ds_trap_init): Rename to `mach_device_trap_init'. 9841: (mach_device_trap_init): Make it `static'. 9842: * linux/dev/glue/block.c: Don't include <linux_emul.h>, but instead 9843: include <device/device_emul.h> and <i386at/disk.h>. 9844: * linux/dev/glue/net.c: Don't include <linux_emul.h>, but instead 9845: include <device/device_emul.h>. 9846: * linux/pcmcia-cs/glue/ds.c: Likewise. 9847: 9848: * kern/pcsample.h: Remove the automatic cvs log appending machinery. 9849: * linux/dev/drivers/scsi/g_NCR5380.c: Likewise. 9850: * linux/src/drivers/net/sk_g16.h: Likewise. 9851: * linux/src/drivers/scsi/AM53C974.c: Likewise. 9852: * linux/src/drivers/scsi/AM53C974.h: Likewise. 9853: * linux/src/drivers/scsi/NCR5380.c: Likewise. 9854: * linux/src/drivers/scsi/NCR5380.h: Likewise. 9855: * linux/src/drivers/scsi/aha152x.c: Likewise. 9856: * linux/src/drivers/scsi/aha1542.h: Likewise. 9857: * linux/src/drivers/scsi/g_NCR5380.c: Likewise. 9858: * linux/src/drivers/scsi/g_NCR5380.h: Likewise. 9859: * linux/src/drivers/scsi/gdth.c: Likewise. 9860: * linux/src/drivers/scsi/qlogicisp.c: Likewise. 9861: * linux/src/drivers/scsi/qlogicisp.h: Likewise. 9862: * linux/src/drivers/scsi/t128.c: Likewise. 9863: * linux/src/drivers/scsi/t128.h: Likewise. 9864: 9865: 2007-03-24 Thomas Schwinge <[email protected]> 9866: 9867: * i386/i386at/conf.c (block_io_mmap): Remove declaration. 9868: 9869: * doc/mach.texi: Fix a typo and the url for GNU GRUB. 9870: 9871: * device/kmsg.h: Include <sys/types.h>, <device/device_types.h> and 9872: <device/io_req.h>. 9873: 9874: * Makefrag.am (libkernel_a_SOURCES): Move `device/kmsg.h' into 9875: [enable_kmsg]. 9876: 9877: 2007-03-23 Thomas Schwinge <[email protected]> 9878: 9879: * Makerules.am (%.server.msgids, %.user.msgids): Merge into the 9880: existing ``%.h %.c'' rules. 9881: Comment out the currently unused rpc stub rules. 9882: * Makefrag.am (gnumach.msgids): Rewrite. 9883: (nodist_libkernel_a_SOURCES): Add all ``.msgids'' files. 9884: * i386/Makefrag.am (nodist_libkernel_a_SOURCES): Likewise. 9885: 9886: 2007-03-19 Tim Retout <[email protected]> 9887: 9888: * i386/ldscript: Correct 'LINKFLAGS_gnumach' in comment. 9889: 9890: 2007-03-06 Samuel Thibault <[email protected]> 9891: 9892: * i386/i386/user_ldt.c (i386_set_gdt): Call switch_ktss() if target is 9893: current thread. 9894: 9895: 2007-03-05 Samuel Thibault <[email protected]> 9896: 9897: [bug #18349 -- ``General Protection Trap'' in `ipc_kmsg_enqueue'] 9898: * linux/dev/glue/net.c (device_write): Call net_packet() with splimp 9899: held. 9900: 9901: 2007-03-04 Thomas Schwinge <[email protected]> 9902: 9903: * tests/configfrag.ac (MBCHK): Remove check. 9904: * tests/test-mbchk.in: Fail correctly if `mbchk' is not available. 9905: 9906: 2007-03-01 Thomas Schwinge <[email protected]> 9907: 9908: * linux/dev/glue/block.c (free_buffer): Use `VM_PAGE_FREE'. 9909: * vm/vm_object.c (vm_object_collapse, vm_object_page_remove) 9910: (vm_object_page_map): Likewise. 9911: 9912: 2007-02-20 Samuel Thibault <[email protected]> 9913: 9914: * linux/dev/glue/block.c (free_buffer): Fix 9915: vm_page_lock_queues/vm_page_unlock_queues pair. 9916: 9917: Fix ddb's trace command. 9918: * i386/i386/db_trace.c (db_find_trace_symbols): Drop _ prefix on ELF 9919: targets. 9920: (db_i386_stack_trace): Check that adresses of known functions were 9921: really found. 9922: 9923: 2007-02-19 Thomas Schwinge <[email protected]> 9924: 9925: * Makefile.am (gnumach_LINKFLAGS): New variable. 9926: (gnumach_LINK): Use that one instead of the previously used 9927: `LINKFLAGS_gnumach'. 9928: * i386/Makefrag.am (LINKFLAGS_gnumach): Rename to `gnumach_LINKFLAGS', 9929: move into [PLATFORM_at] and pass `_START'. 9930: * i386/ldscript: Don't hardcode a _start address of 0x100000, but make 9931: it configurable via `_START'. 9932: 9933: Add a `--enable-platform' option for future use. Allow building 9934: without any Linux code. 9935: * Makefile.am: Don't include `linux/Makefrag.am' in there... 9936: * Makefrag.am: ... but rather in here. 9937: * configfrag.ac (MACH_MACHINE_ROUTINES): AC_DEFINE_UNQUOTED based on 9938: then shell variable `mach_machine_routines'. 9939: (--disable-default-device-drivers): Don't define in there... 9940: * configure.ac: ... but rather in here. 9941: (--enable-platform): New option. 9942: (host_platform): New variable. 9943: (HOST_i386): Don't define there... 9944: * i386/configfrag.ac (HOST_ix86): ... but rather here, rename it and 9945: adapt all users. 9946: (PLATFORM_at): New conditional. 9947: (MACH_MACHINE_ROUTINES): Don't AC_DEFINE, but rather set a shell 9948: variable `mach_machine_routines'. 9949: * linux/Makefrag.am (noinst_LIBRARIES, gnumach_o_LDADD): Only enhance 9950: ``if CODE_linux'' or ``if device_driver_group_pcmcia''. 9951: * linux/configfrag.ac (AC_OPTION): Rename to `AC_OPTION_Linux_ix86_at' 9952: and rework a bit. Adapt all users. 9953: (AC_OPTION_nodef): Rename to `AC_OPTION_Linux_ix86_at_nodef' and rework 9954: a bit. Adapt all users. 9955: (CODE_linux): New conditional. 9956: * i386/Makefrag.am (LINKFLAGS_gnumach): Don't evaluate $(systype). 9957: 9958: * Makefile.am: Update the FSF's postal address. 9959: * doc/Makefrag.am: Likewise. 9960: * i386/linux/Makefrag.am: Likewise. 9961: * linux/Makefrag.am: Likewise. 9962: * tests/Makefrag.am: Likewise. 9963: * tests/configfrag.ac: Move to GPL. 9964: 9965: 2007-02-05 Thomas Schwinge <[email protected]> 9966: 9967: * kern/mach_clock.c: Don't include <kern/time_out.h>. 9968: 9969: * i386/i386/hardclock.c: Include <kern/mach_clock.h> instead of 9970: <kern/time_out.h>. 9971: * i386/i386/pit.c: Likewise. 9972: * i386/i386at/kd.c: Likewise. 9973: * i386/i386at/model_dep.c: Likewise. 9974: * i386/i386at/rtc.c: Likewise. 9975: * kern/ipc_sched.c: Likewise. 9976: * kern/mach_factor.c: Likewise. 9977: * kern/priority.c: Likewise. 9978: * kern/sched_prim.c: Likewise. 9979: * kern/startup.c: Likewise. 9980: * kern/syscall_subr.c: Likewise. 9981: * kern/thread.h: Likewise. 9982: * kern/zalloc.c: Likewise. 9983: 9984: * kern/host.c: Include <kern/mach_clock.h>. 9985: (tick): Remove declaration. 9986: * kern/pc_sample.c: Likewise. 9987: * kern/thread.c: Likewise. 9988: * kern/sched_prim.c (hz): Remove declaration. 9989: * kern/syscall_subr.c (hz): Likewise. 9990: * linux/dev/init/main.c (hz): Likewise. 9991: 9992: * kern/time_out.h: Remove file after having installed the missing bits 9993: in... 9994: * kern/mach_clock.h: ... here. 9995: 9996: * configfrag.ac: Enhance comments. 9997: 9998: * vm/vm_debug.c (MACH_VM_DEBUG): Correctly place conditional. 9999: 10000: 2007-02-04 Thomas Schwinge <[email protected]> 10001: 10002: * doc/mach.texi (thread_switch): Enhance a bit. 10003: 10004: * doc/Makefrag.am ($(web)): Use ``mkdir -p''. 10005: 10006: * doc/mach.texi: Fix unusual hyphens. 10007: 10008: * i386/i386/hardclock.c: Don't check for the `SYMMETRY' platform. 10009: 10010: * kern/timer.h: Add some comments from... 10011: * i386/i386/timer.h: ... here and remove this file. 10012: 10013: 2007-01-26 Thomas Schwinge <[email protected]> 10014: 10015: * doc/mach.texi: Fix the last change. 10016: 10017: 2007-01-22 Thomas Schwinge <[email protected]> 10018: 10019: * COPYING: Update via GNU automake 1.10. 10020: * doc/fdl.texi: Update from <http://www.gnu.org/licenses/fdl.texi>. 10021: * doc/gpl.texi: Update from <http://www.gnu.org/licenses/gpl.texi>. 10022: * doc/mach.texi: Use the GFDL 1.2. 10023: 10024: 2007-01-21 Ralf Wildenhues <[email protected]> 10025: 10026: * doc/mach.texi: Many typos fixed. 10027: 10028: 2007-01-11 Thomas Schwinge <[email protected]> 10029: 10030: * DEVELOPMENT (LAYOUT OF THE SOURCE TREE): New section. 10031: 10032: These following files are regenerated by running ``autoreconf -i'' and 10033: ``make info''. 10034: * INSTALL: Remove file. 10035: * Makefile.in: Likewise. 10036: * aclocal.m4: Likewise. 10037: * build-aux/compile: Likewise. 10038: * build-aux/config.guess: Likewise. 10039: * build-aux/config.sub: Likewise. 10040: * build-aux/depcomp: Likewise. 10041: * build-aux/install-sh: Likewise. 10042: * build-aux/mdate-sh: Likewise. 10043: * build-aux/missing: Likewise. 10044: * build-aux/texinfo.tex: Likewise. 10045: * config.h.in: Likewise. 10046: * configure: Likewise. 10047: * doc/mach.info: Likewise. 10048: * doc/mach.info-1: Likewise. 10049: * doc/mach.info-2: Likewise. 10050: * doc/stamp-vti: Likewise. 10051: * doc/version.texi: Likewise. 10052: 10053: 2007-01-06 Thomas Schwinge <[email protected]> 10054: 10055: * ddb/db_break.c (db_delete_thread_breakpoint): Don't declare 10056: `db_cond_free'. 10057: * ddb/db_run.c: Include <ddb/db_cond.h>. 10058: (db_stop_at_pc): Don't declare `db_cond_check'. 10059: * ddb/db_input.c: Include <ddb/db_input.h>. 10060: * ddb/db_macro.c: Include <ddb/db_macro.h>. 10061: * ddb/db_trap.c: Include <ddb/db_trap.h>. 10062: * i386/i386/db_interface.h: Include <machine/thread.h>. 10063: * i386/i386/db_interface.c: Include <machine/db_interface.h>. 10064: * i386/i386/db_machdep.h: Include <machine/db_interface.h>. 10065: (db_check_access, db_phys_eq, db_task_name): Remove declarations. 10066: 10067: 2007-01-06 Barry deFreese <[email protected]> 10068: 10069: * ddb/db_aout.c: Include <ddb/db_output.h>. 10070: * ddb/db_break.c: Include <ddb/db_cond.h>, <ddb/db_expr.h> and 10071: <ddb/db_output.h>. 10072: (db_delete_cmd, db_breakpoint_cmd): Explicitly define untyped variables 10073: as `int'. 10074: * ddb/db_command.c: Include <ddb/db_examine.h>, <ddb/db_expr.h> and 10075: <ddb/db_macro.h>. 10076: * ddb/db_command.h (db_exec_cmd_nest): New declaration. 10077: * ddb/db_cond.c: Include <ddb/db_cond.h>, <ddb/db_expr.h> and 10078: <ddb/db_output.h>. 10079: (db_cond_cmd): Explicitly define untyped variable as `int'. 10080: * ddb/db_cond.h: New file. 10081: * ddb/db_examine.c: Include <machine/db_interface.h>, 10082: <ddb/db_examine.h> and <ddb/db_expr.h>. 10083: (db_strcpy, db_examine): Remove forward declarations. 10084: (db_xcdump): Explicitly define untyped variables as `int'. 10085: * ddb/db_examine.h: New file. 10086: * ddb/db_expr.c: Include <ddb/db_expr.h>, <ddb/db_output.h>, 10087: <ddb/db_sym.h> and <ddb/db_variables.h>. 10088: * ddb/db_input.c: Include <ddb/db_command.h>. 10089: * ddb/db_input.h: New file. 10090: * ddb/db_lex.c: Include <ddb/db_command.h>, <ddb/db_examine.h>, 10091: <ddb/db_input.h> and <ddb/db_output.h>. 10092: (db_skip_to_eol, db_lex): Explicitly define untyped variables as `int'. 10093: * ddb/db_lex.h (db_lex): New declaration. 10094: * ddb/db_macro.c: Include <ddb/db_examine.h>, <ddb/db_expr.h> and 10095: <ddb/db_output.h>. 10096: (db_def_macro_cmd, db_exec_macro): Explicitly define untyped variables 10097: as `int'. 10098: * ddb/db_macro.h: New file. 10099: * ddb/db_output.c: Include <ddb/db_command.h>. 10100: * ddb/db_output.h (db_putchar): New declaration. 10101: * ddb/db_print.c: Include <machine/db_interface.h>, <ddb/db_command.h> 10102: and <ddb/db_output.h>. 10103: (db_show_regs): Explicitly define untyped variables as `int'. 10104: * ddb/db_run.c: Include <ddb/db_command.h>, <ddb/db_examine.h>, 10105: <ddb/db_output.h> and <ddb/db_watch.h>. 10106: * ddb/db_run.h: Include <kern/task.h> and <machine/db_machdep.h>. 10107: (db_single_step, db_single_step_cmd, db_in_single_step): New 10108: declarations. 10109: * ddb/db_sym.c: Include <ddb/db_command.h> and <ddb/db_output.h>. 10110: (db_sym_parse_and_lookup): Explicitly define untyped variables as 10111: `int'. 10112: * ddb/db_sym.h (db_line_at_pc): New declaration. 10113: * ddb/db_task_thread.c: Include <ddb/db_command.h>, <ddb/db_expr.h>, 10114: <ddb/db_lex.h> and <ddb/db_output.h>. 10115: (db_lookup_task, db_lookup_task_thread, db_lookup_thread) 10116: (db_lookup_task_id, db_lookup_thread_id): Explicitly define untyped 10117: variables as `int'. 10118: * ddb/db_trap.c: Include <ddb/db_examine.h> and <ddb/db_output.h>. 10119: * ddb/db_trap.h: New file. 10120: * ddb/db_variables.c: Include <ddb/db_command.h>, <ddb/db_examine.h>, 10121: <ddb/db_expr.h> and <ddb/db_output.h>. 10122: (db_get_suffix, db_cmp_variable_name): Explicitly define untyped 10123: variables as `int'. 10124: * ddb/db_variables.h (db_get_variable): New declaration. 10125: * ddb/db_watch.c: Include <ddb/db_command.h>, <ddb/db_expr.h>, 10126: <ddb/db_output.h> and <ddb/db_run.h>. 10127: * ddb/db_write_cmd.c: Include <ddb/db_expr.h> and <ddb/db_output.h>. 10128: * i386/i386/db_interface.c: Include <kern/printf.h>, <ddb/db_access.h>, 10129: <ddb/db_command.h>, <ddb/db_output.h>, <ddb/db_run.h> and 10130: <ddb/db_trap.h>. 10131: (kdbprinttrap): Add `void' return type. 10132: (db_user_to_kernel_address, db_task_name): Explicitly define untyped 10133: variables as `int'. 10134: * i386/i386/db_interface.h: New file. 10135: * i386/i386/db_trace.c (db_i386_reg_value): Add `int' return type. 10136: * i386/i386/trap.c [MACH_KDB]: Include <ddb/db_run.h> and 10137: <ddb/db_watch.h>. 10138: * ipc/ipc_kmsg.c [MACH_KDB]: Include <ddb/db_output.h>. 10139: * kern/lock.c [MACH_KDB]: Include <ddb/db_output.h>. 10140: 10141: 2007-01-06 Thomas Schwinge <[email protected]> 10142: 10143: * configure.ac (AM_INIT_AUTOMAKE): Add ``-Wall -Wno-portability''. 10144: 10145: 2007-01-05 Richard Braun <[email protected]> 10146: 10147: Add alignment support in the zone allocator. 10148: * kern/zalloc.c (ALIGN_SIZE_UP): New macro. 10149: (zinit): New `align' parameter. 10150: (zget_space): Likewise. 10151: (zalloc): Updated call to zget_space() with the zone alignment. 10152: * kern/zalloc.h (zone): New member `align'. 10153: (zinit): Declaration updated as required. 10154: * device/dev_lookup.c (dev_lookup_init): Updated call to zinit() with 10155: alignment of 0. 10156: * device/dev_pager.c (dev_pager_hash_init): Likewise. 10157: (device_pager_init): Likewise. 10158: * device/ds_routines.c (ds_init): Likewise. 10159: (ds_trap_init): Likewise. 10160: * device/net_io.c (net_io_init): Likewise. 10161: * i386/i386/fpu.c (fpu_module_init): Likewise. 10162: * i386/i386/pcb.c (pcb_module_init): Likewise. 10163: * i386/intel/pmap.c (pmap_init): Likewise. 10164: * ipc/ipc_init.c (ipc_bootstrap): Likewise. 10165: * ipc/ipc_marequest.c (ipc_marequest_init): Likewise. 10166: * kern/act.c (global_act_init): Likewise. 10167: * kern/kalloc.c (kalloc_init): Likewise. 10168: * kern/processor.c (pset_sys_init): Likewise. 10169: * kern/task.c (task_init): Likewise. 10170: * kern/thread.c (thread_init): Likewise. 10171: * kern/zalloc.c (zone_bootstrap): Likewise. 10172: * vm/vm_external.c (vm_external_module_initialize): Likewise. 10173: * vm/vm_fault.c (vm_fault_init): Likewise. 10174: * vm/vm_map.c (vm_map_init): Likewise. 10175: * vm/vm_object.c (vm_object_bootstrap): Likewise. 10176: * vm/vm_resident.c (vm_page_module_init): Likewise. 10177: 10178: 2007-01-02 Samuel Thibault <[email protected]> 10179: 10180: Fix translation of port into device in the "no sender" notification. 10181: * i386/i386at/i386at_ds_routines.c (ds_notify): Use dev_port_lookup() 10182: for translating the remote port. 10183: 10184: Fix loop indexing. 10185: * i386/intel/pmap.c (pmap_change_wiring): Increment pte in the 10186: unwiring loop. 10187: 10188: Drop old and broken support for Olivetti XP7 & XP9 10189: * i386/intel/pmap.c [ORC] (OLIVETTICACHE): Remove macro. 10190: [OLIVETTICACHE] (pstart): Remove declaration. 10191: (CACHE_LINE, CACHE_SIZE, CACHE_PAGE, WRITE_PTE, WRITE_PTE_FAST): Remove 10192: macros. 10193: [OLIVETTICACHE] (write_pte): Remove function. 10194: * DEVELOPMENT: Document the removal. 10195: 10196: 2006-12-19 Samuel Thibault <[email protected]> 10197: 10198: Add support for global pages. 10199: * i386/i386at/model_dep.c: Include <i386/locore.h>. 10200: (i386at_init): Set CR4_PGE if available. 10201: (c_boot_entry): Call discover_x86_cpu_type() before i386at_init(). 10202: * i386/intel/pmap.c: Include <i386/locore.h>. 10203: (pmap_map_bd): Use INTEL_PTE_GLOBAL if available. 10204: (pmap_bootstrap): Likewise. 10205: 10206: Add support for cr3/cr4 flags. 10207: * i386/i386/proc_reg.h (CR3_PCD, CR3_PWT, CR4_VME, CR4_PVI, CR4_TSD) 10208: (CR4_DE, CR4_PSE, CR4_PAE, CR4_MCE, CR4_PGE, CR4_PCE, CR4_OSFXSR) 10209: (CR4_OSXMMEXCPT, get_cr4, set_cr4): New macros. 10210: * i386/intel/pmap.h (INTEL_PTE_GLOBAL): New macro. 10211: 10212: Add support for querying x86 features. 10213: * i386/i386/locore.h (cpu_features): New variable declaration. 10214: (CPU_FEATURE_FPU, CPU_FEATURE_VME, CPU_FEATURE_DE, CPU_FEATURE_PSE) 10215: (CPU_FEATURE_TSC, CPU_FEATURE_MSR, CPU_FEATURE_PAE, CPU_FEATURE_MCE) 10216: (CPU_FEATURE_CX8, CPU_FEATURE_APIC, CPU_FEATURE_SEP, CPU_FEATURE_MTRR) 10217: (CPU_FEATURE_PGE, CPU_FEATURE_MCA, CPU_FEATURE_CMOV, CPU_FEATURE_PAT) 10218: (CPU_FEATURE_PSE_36, CPU_FEATURE_PSN, CPU_FEATURE_CFLSH) 10219: (CPU_FEATURE_DS, CPU_FEATURE_ACPI, CPU_FEATURE_MMX, CPU_FEATURE_FXSR) 10220: (CPU_FEATURE_SSE, CPU_FEATURE_SSE2, CPU_FEATURE_SS, CPU_FEATURE_HTT) 10221: (CPU_FEATURE_TM, CPU_FEATURE_PBE, CPU_HAS_FEATURE): New macros. 10222: * i386/i386/locore.S (cpu_features): New variable. 10223: (discover_x86_cpu_type): Record CPUID feature word 0. 10224: 10225: 2006-12-13 Samuel Thibault <[email protected]> 10226: 10227: Drop useless and broken FPE support. 10228: * i386/configfrac.ac (FPE): Don't define. 10229: * i386/i386/gdt.h (FPE_CS, USER_FPREGS): Remove macros. 10230: * i386/i386/fpu.c (init_fpu, fpu_set_state, fpu_get_state): Remove FPE 10231: support. 10232: * i386/i386/fpu.h: Likewise. 10233: * i386/i386/trap.c (user_trap, i386_exception): Likewise. 10234: * i386/i386/fpe_linkage.c: Remove file. 10235: * i386/Makefrag.am: Remove i386/i386/fpe_linkage.c. 10236: * Makefile.in: Regenerate. 10237: 10238: 2006-12-03 Thomas Schwinge <[email protected]> 10239: 10240: [patch #5019 -- Remove checks for continuations] 10241: 10242: * DEVELOPMENT: Document the removal. 10243: 10244: * i386/configfrag.ac (CONTINUATIONS): Don't define. 10245: 10246: 2006-12-03 Leonardo Lopes Pereira <[email protected]> 10247: 10248: [patch #5019 -- Remove checks for continuations] 10249: * ipc/mach_msg.c: Adapt all users of CONTINUATIONS as if it were always 10250: defined. 10251: * kern/eventcount.c: Likewise. 10252: * kern/ipc_sched.c: Likewise. 10253: * kern/syscall_subr.c: Likewise. 10254: * vm/vm_fault.c: Likewise. 10255: * vm/vm_pageout.c: Likewise. 10256: * vm/vm_resident.c: Likewise. 10257: 10258: 2006-12-03 Thomas Schwinge <[email protected]> 10259: 10260: [patch #5017 -- Remove obsolete IPC interfaces] 10261: 10262: * DEVELOPMENT: Document the removal. 10263: 10264: * configfrag.ac (MACH_IPC_COMPAT): Don't define. 10265: 10266: 2006-12-03 Leonardo Lopes Pereira <[email protected]> 10267: 10268: [patch #5017 -- Remove obsolete IPC interfaces] 10269: * kern/act.c [MIGRATING_THREADS]: Don't include <mach_ipc_compat.h>. 10270: * kern/act.h: Likewise. 10271: * i386/include/mach/i386/machine_types.defs: Adapt all users of 10272: MACH_IPC_COMPAT as if it were always defined to `0'. 10273: * include/mach/mach.defs: Likewise. 10274: * include/mach/mach_param.h: Likewise. 10275: * include/mach/mach_traps.h: Likewise. 10276: * include/mach/message.h: Likewise. 10277: * include/mach/mig_errors.h: Likewise. 10278: * include/mach/notify.h: Likewise. 10279: * include/mach/port.h: Likewise. 10280: * include/mach/std_types.defs: Likewise. 10281: * include/mach/syscall_sw.h: Likewise. 10282: * include/mach/task_special_ports.h: Likewise. 10283: * include/mach/thread_special_ports.h: Likewise. 10284: * ipc/ipc_kmsg.c: Likewise. 10285: * ipc/ipc_kmsg.h: Likewise. 10286: * ipc/ipc_marequest.c: Likewise. 10287: * ipc/ipc_notify.c: Likewise. 10288: * ipc/ipc_notify.h: Likewise. 10289: * ipc/ipc_object.c: Likewise. 10290: * ipc/ipc_object.h: Likewise. 10291: * ipc/ipc_port.c: Likewise. 10292: * ipc/ipc_port.h: Likewise. 10293: * ipc/ipc_right.c: Likewise. 10294: * ipc/ipc_right.h: Likewise. 10295: * ipc/ipc_space.c: Likewise. 10296: * ipc/ipc_space.h: Likewise. 10297: * ipc/mach_debug.c: Likewise. 10298: * ipc/mach_msg.c: Likewise 10299: * ipc/mach_msg.h: Likewise. 10300: * ipc/mach_port.c: Likewise. 10301: * kern/act.c: Likewise. 10302: * kern/act.h: Likewise. 10303: * kern/ipc_host.c: Likewise. 10304: * kern/ipc_tt.c: Likewise. 10305: * kern/syscall_sw.c: Likewise. 10306: * kern/thread.h: Likewise. 10307: 10308: 2006-12-03 Thomas Schwinge <[email protected]> 10309: 10310: [bug #17120 -- GNU Mach debian dir] 10311: * debian/README.Debian: Remove file. 10312: * debian/changelog: Likewise. 10313: * debian/control: Likewise. 10314: * debian/copyright: Likewise. 10315: * debian/postinst: Likewise. 10316: * debian/prerm: Likewise. 10317: * debian/rules: Likewise. 10318: 10319: [bug #18015 -- GNU Mach: `make dist' and friends] 10320: * Makefile.am (DISTCLEANFILES): New variable. 10321: 10322: 2006-11-30 Thomas Schwinge <[email protected]> 10323: 10324: * Makefile.in: Regenerate. 10325: * configure: Likewise. 10326: 10327: 2006-11-30 Barry deFreese <[email protected]> 10328: Thomas Schwinge <[email protected]> 10329: 10330: [bug #18015 -- GNU Mach: `make dist' and friends] 10331: * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New variable. 10332: (EXTRA_DIST): Enhance with the patches and documentation files. 10333: (dist-hook): New target to remove the `CVS' directories. 10334: * Makefrag.am (libkernel_a_SOURCES, EXTRA_DIST): Add header and `mig' 10335: input files. 10336: (DISTCHECK_CONFIGURE_FLAGS): Enable the kernel debugger. 10337: * i386/Makefrag.am: Likewise. Also add `i386/i386/i386asm.sym', 10338: `i386/ldscript' and `i386/README-Drivers'. 10339: * i386/linux/Makefrag.am (liblinux_a_SOURCES): Add the header files 10340: from `i386/linux/'. 10341: * linux/Makefrag.am (liblinux_a_SOURCES, EXTRA_DIST) 10342: (liblinux_pcmcia_cs_modules_a_SOURCES) 10343: (liblinux_pcmcia_cs_clients_a_SOURCES) 10344: (liblinux_pcmcia_cs_wireless_a_SOURCES): Add header and other included 10345: files. 10346: (dist-hook): Depend on `dist-hook-linux'. 10347: (dist-hook-linux): New phony target to remove the `asm' symbolic links. 10348: * Makerules.am (EXTRA_DIST): Add `gensym.awk'. 10349: * doc/Makefrag.am (EXTRA_DIST): Add `$(mach_TEXINFOS)'. 10350: * configure.ac (AC_CONFIG_LINKS): Move instantiation to... 10351: * configfrag.ac: ... here and change quotation. 10352: * linux/configfrag.ac (AC_CONFIG_LINKS): Change quotation. 10353: 10354: 2006-11-29 Thomas Schwinge <[email protected]> 10355: 10356: * configure: Regenerate. 10357: * Makefile.in: Likewise. 10358: 10359: * configure.ac (disable_smashing_stack_protector): New conditional, set 10360: depending on the compiler accepting `-fstack-protector' or not. 10361: * Makefile.am (CFLAGS): Add `-fno-stack-protector' if 10362: `disable_smashing_stack_protector' is set. 10363: 10364: 2006-11-28 Thomas Schwinge <[email protected]> 10365: 10366: * doc/Makefrag.am ($(srcdir)/doc/version.texi): Oppress a potential 10367: error message from grep. 10368: 10369: 2006-11-26 Samuel Thibault <[email protected]> 10370: 10371: [bug #17346 -- GNU mach can't handle 4GB memory] 10372: * i386/i386at/model_dep.c (mem_size_init): Truncate memory size to 10373: 4GiB. 10374: 10375: 2006-11-21 Thomas Schwinge <[email protected]> 10376: 10377: * doc/Makefrag.am (doc/web, html-local, ps-local, pdf-local) 10378: ($(srcdir)/doc/version.texi): New targets to faciliate keeping the web 10379: pages of the GNU Mach Reference Manual updated. 10380: 10381: 2006-11-20 Samuel Thibault <[email protected]> 10382: 10383: [patch #5328 -- GNU Mach asm statements tidy] 10384: * i386/i386/fpe_linkage.c (disable_fpe): Gather dependent asm 10385: statements, add `ax' clobber. 10386: (fpe_exception_fixup): Drop bogus cast from input parameter of lcall 10387: asm statement. 10388: * i386/i386/pio.h (inw, outw): Drop 0x66 prefix an just use the w 10389: instruction variant. 10390: * i386/i386/proc_reg.h: (get_eflags, get_tr, get_ldt): Drop 10391: useless "volatile" from asm statement. 10392: (get_esp): Use direct asm register specification. 10393: * i386/include/mach/i386/cthreads.h (cthread_sp): Likewise. 10394: * i386/intel/pmap.c (pmap_unmap_page_zero): Fix asm clobber into `eax'. 10395: 10396: [patch #5375 -- Fix de4x5 probe] 10397: * linux/src/drivers/net/de4x5.c (pci_probe): Make probe loop stop on 10398: any error, not only device not found. 10399: 10400: 2006-11-17 Constantine Kousoulos <[email protected]> 10401: Thomas Schwinge <[email protected]> 10402: 10403: [bug #18010 -- GNU Mach: update i386/README-Drivers and doc/mach.texi] 10404: * i386/README-Drivers: Move most of the text into... 10405: * doc/mach.texi: ... here and update a number of things. 10406: (UPDATED): Don't override. 10407: 10408: 2006-11-13 Samuel Thibault <[email protected]> 10409: 10410: * i386/i386at/iopl.c (ioplmmap): Add `int' return type. 10411: * i386/i386at/model_dep.c (halt_all_cpus): Fix typo in declaration. 10412: * kern/assert.h (Assert): Add __attribute__ ((noreturn)) to 10413: declaration. 10414: * kern/debug.c (Debugger): Add __attribute__ ((noreturn)) to 10415: declaration. 10416: (Debugger): Add call to panic(). 10417: * kern/debug.h (panic): Add __attribute__ ((noreturn)) to declaration. 10418: * util/putchar.c (putchar): Return printed char. 10419: 10420: 2006-11-13 Barry deFreese <[email protected]> 10421: 10422: * device/chario.c (tty_cts): Add `void' return type. 10423: * device/cons.c (cninit, cnputc): Add `void' return type. 10424: (cngetc, cnmaygetc): Add `int' return type. 10425: * device/net_io.c (net_del_q_info, net_free_dead_infp) 10426: (net_free_dead_entp): Add `void' return type. 10427: * i386/i386/fpu.c (fpnoextflt, fpextovrflt, fpexterrflt, fp_save) 10428: (fp_load, fpintr): Add `void' return type. 10429: * i386/i386/ktss.c (ktss_init): Add `int' type to `exception_stack'. 10430: * i386/i386/loose_ends.c (delay): Add `void' return type. 10431: * i386/i386/phys.c (pmap_zero_page, pmap_copy_page, copy_to_phys) 10432: (copy_from_phys): Add `void' return type. 10433: * i386/i386/pic.c (picinit, form_pic_mask, intnull, prtnull): Add 10434: `void' return type. 10435: * i386/i386/pit.c (clkstart): Add `void' return type. 10436: * i386/i386at/com.c (comparm, comtimer, fix_modem_state) 10437: (commodem_intr): Add `void' return type. 10438: (comintr, commctl, comstop): Add `int' return type. 10439: * i386/i386at/iopl.c (ioplclose): Add `int' return type. 10440: * i386/i386at/kd.c (kd_io_map_openn, kd_io_map_close, feep, pause) 10441: (kd_debug_put, cnpollc, kdclose, kd_handle_ack, kd_resend, kdinit) 10442: (kd_belloff, kd_bellon, kd_putc, kd_setpos, kd_scrollup, kd_scrolldn) 10443: (kd_parseesc, kd_parserest, kd_tab, kd_cls, kd_home, kd_up, kd_down) 10444: (kd_right, kd_left, kd_cr, kd_cltobcur, kd_cltopcurn, kd_cltoecur) 10445: (kd_clfrbcur, kd_delln, kd_insln, kd_delch, kd_erase, kd_eraseln) 10446: (kd_insch, kd_senddata, kd_sendcmd, kd_cmdreg_write, kd_mouse_drain) 10447: (set_kd_state, kd_setleds1, kd_setleds2, cnsetleds, kdreboot): Add 10448: `void' return type. 10449: (kdopen, kdread, kdwrite, kdportdeath, kdsetbell, kdgetkbent, kdintr) 10450: (do_modifier, kdstate2idx, kdstart, kdstop, kd_kbd_magic): Add `int' 10451: return type. 10452: (kd_isupper, kd_islower): Add `boolean_t' return type. 10453: (kd_cmdreg_read): Add `unsigned char' return type. 10454: * i386/i386at/kd_event.c (kbdinit, kbdclose, kdb_in_out, X_kdb_enter) 10455: (X_kdb_exit, X_kdb_enter_init, X_kdb_exit_init): Add `void' return 10456: type. 10457: (kbdopen, kbdioctl, kbdselect, kbdread): Add `int' return type. 10458: * i386/i386at/kd_mouse.c (init_mouse_hw, serial_mouse_open) 10459: (kd_mouse_open, mouseclose, serial_mouse_close, kd_mouse_close) 10460: (mouse_handle_byte, mouse_packet_mouse_system_mouse) 10461: (mouse_packet_microsoft_mouse, ibm_ps2_mouse_open) 10462: (ibm_ps2_mouse_close, mouse_packet_ibm_ps2_mouse, mouse_moved) 10463: (mouse_button): Add `void' return type. 10464: (mouseopen, mouseioctl, mouseselect, mouseread, mouseintr): Add `int' 10465: return type. 10466: * i386/i386at/lpr.c (lprclose, lprpr_addr): Add `void' return type. 10467: (lprprobe, lpropen, lprread, lprwrite, lprportdeath, lprstop, lprpr): 10468: Add `int' return type. 10469: * i386/i386at/model_dep.c (i386at_init, startrtclock): Add `void' 10470: return type. 10471: (timemmap): Add `int' return type. 10472: * i386/i386at/rtc.c (rtcinit, rtcput): Add `void' return type. 10473: (yeartoday, hexdectodec, readtodc, writetodc): Add `int' return type. 10474: * i386/intel/pmap.c (pmap_pageable): Add `void' return type. 10475: * kern/eventcount.c (simpler_thread_setrun): Add `int' type to 10476: `whichrq' variable. 10477: 10478: 2006-11-13 Barry deFreese <[email protected]> 10479: 10480: * i386/i386/locore.h: New file. 10481: * i386/i386/pcb.h: New file. 10482: * i386/i386/pcb.c: Include `pcb.h'. 10483: * i386/i386/pit.c (clkstart): Fix type of s into unsigned long. 10484: * i386/i386/spl.h (spl0, splsched, splx, splsoftclock, splon, sploff) 10485: (splhigh, splimp, spltty, splclock, setsoftclock): Add prototype. 10486: * i386/i386at/kd_event.h: New file. 10487: * i386/i386at/kd_event.c: Include `kd_event.h'. 10488: * i386/i386at/kd_mouse.h: New file. 10489: * i386/i386at/kd_mouse.c: Include `kd_mouse.h'. 10490: (mouseclose): Fix call of `serial_mouse_close' function. 10491: * i386/i386at/kd.c: Include `kd_event.h' and `kd_mouse.h'. 10492: * i386/i386at/kd.h (splx, spltty): Remove prototypes.h 10493: * i386/i386at/lpr.c: Likewise. 10494: * ipc/mach_msg.c: Include `machine/locore.h' and `machine/pcb.h'. 10495: * kern/mach_clock.h: New file. 10496: * kern/mach_clock.c: Include `kern/queue.h', `kern/timer.h' and 10497: `mach_clock.h'. 10498: * kern/mach_factor.h: New file. 10499: * kern/mach_factor.c: Include `mach_factor.h'. 10500: * kern/sched_prim.c: Include `kern/mach_factor.h'. 10501: * kern/thread.c: Include `machine/pcb.h'. 10502: 10503: 2006-11-11 Thomas Schwinge <[email protected]> 10504: 10505: * Makefile.am (gnumach-undef-bad): Depend on the Makefile. 10506: 10507: 2006-11-11 Samuel Thibault <[email protected]> 10508: 10509: Fix I/O port type. 10510: * i386/i386/pic.c (master_icq, master_ocw, slaves_icq, slaves_ocw): 10511: Change variables type from char * to unsigned short. 10512: (picinit): Remove now-useless cast. 10513: * i386/i386at/kd_mouse.c (init_mouse_hw, serial_mouse_close) 10514: (mouseintr): Change variable type from caddr_t to unsigned short, 10515: remove now-useless cast. 10516: 10517: [task #5726 -- GCC built-in functions] 10518: * kern/machine.c: Include `string.h'. 10519: 10520: Fix ``assignment used as truth value'' warnings. 10521: * device/cons.c (cninit): Add parenthesis. 10522: * kern/bootstrap.c (copy_bootstrap): Likewise. 10523: * kern/printf.c (_doprnt): Likewise. 10524: * vm/vm_map.c (vm_map_lookup): Likewise. 10525: 10526: Fix a bunch of ``unused variable'' warnings. 10527: * device/ds_routines.c (ds_device_open): Remove unused `namebuf' 10528: variable. 10529: * device/kmsg.c (kmsgread): Remove unused `err' variable. 10530: * device/net_io.c (net_set_filter): Remove unused `j' variable. 10531: * i386/i386/pcb.c (curr_gdt, curr_ktss): Artificially use parameter of 10532: macro. 10533: * i386/i386/pic.c (picinit): Remove unused `i' variable. 10534: * i386/i386/pit.c (clkstart): Remove unused `flags' variable. 10535: * i386/i386/trap.c (kernel_trap): Remove unused `exc' variable. 10536: (user_trap): Remove unused `map' and `result' variables. 10537: (v86_assist): Remove unused `size' variable. 10538: * i386/i386at/i386at_ds_routines.c (ds_device_open): Remove unused 10539: `dev' variable. 10540: * i386/i386at/kd.c (kdintr): Remove unused `o_pri' variable. 10541: (kdcngetc): Remove unused `i' variable. 10542: * i386/i386at/kd_event.c (kbdgetstat, kbdsetstat): Remove unused 10543: `result' variable. 10544: * i386/i386at/kd_mouse.c (mousegetstat): Likewise. 10545: * i386/i386at/lpr.c (lprattach): Remove unused `tp' variable. 10546: (lprsetstat): Remove unused `dev_addr' and `s' variables. 10547: * i386/intel/pmap.c (pmap_bootstrap): Remove unused `pteva' variable. 10548: (SPLVM, SPLX): Artificially use parameter of macro. 10549: * ipc/ipc_kmsg.c (ipc_kmsg_copyin_body): Remove unused `mr' variable. 10550: * kern/bootstrap.c (boot_script_exec_cmd): Remove unused 10551: `boot_exec_info' and `user_map' variables. 10552: * vm/vm_kern.c (projected_buffer_map): Remove unused `object' 10553: variable. 10554: 10555: 2006-11-10 Samuel Thibault <[email protected]> 10556: 10557: * kern/sched_prim.h (thread_syscall_return): Replace old `volatile' 10558: function qualifier with __attribute__((__noreturn__)). 10559: 10560: 2006-11-09 Barry deFreese <[email protected]> 10561: 10562: [task #5726 -- GCC built-in functions] 10563: * include/printf.h: Move file... 10564: * kern/printf.h: ... here. 10565: * kern/debug.h (panic_init, panic): Add prototypes. 10566: * chips/busses.c: Don't include `printf.h', include `kern/printf.h' 10567: and `kern/debug.h' for panic(). 10568: * ddb/db_command.c: Likewise. 10569: * ddb/db_cond.c: Likewise. 10570: * ddb/db_output.c: Likewise. 10571: * device/cirbuf.c: Likewise. 10572: * device/cons.c: Likewise. 10573: * device/dev_name.c: Likewise. 10574: * device/dev_pager.c: Likewise. 10575: * device/device_init.c: Likewise. 10576: * device/dk_label.c: Likewise. 10577: * device/ds_routines.c: Likewise. 10578: * device/net_io.c: Likewise. 10579: * device/subrs.c: Likewise. 10580: * i386/i386/debug_i386.c: Likewise. 10581: * i386/i386/fpe_linkage.c: Likewise. 10582: * i386/i386/fpu.c: Likewise. 10583: * i386/i386/io_map.c: Likewise. 10584: * i386/i386/kttd_interface.c: Likewise. 10585: * i386/i386/mp_desc.c: Likewise. 10586: * i386/i386/pcb.c: Likewise. 10587: * i386/i386/pic.c: Likewise. 10588: * i386/i386/trap.c: Likewise. 10589: * i386/i386at/autoconf.c: Likewise. 10590: * i386/i386at/com.c: Likewise. 10591: * i386/i386at/i386at_ds_routines.c: Likewise. 10592: * i386/i386at/kd.c: Likewise. 10593: * i386/i386at/kd_event.c: Likewise. 10594: * i386/i386at/kd_mouse.c: Likewise. 10595: * i386/i386at/lpr.c: Likewise. 10596: * i386/i386at/model_dep.c: Likewise. 10597: * i386/intel/pmap.c: Likewise. 10598: * ipc/ipc_entry.c: Likewise. 10599: * ipc/ipc_hash.c: Likewise. 10600: * ipc/ipc_kmsg.c: Likewise. 10601: * ipc/ipc_mqueue.c: Likewise. 10602: * ipc/ipc_notify.c: Likewise. 10603: * ipc/ipc_object.c: Likewise. 10604: * ipc/ipc_port.c: Likewise. 10605: * ipc/ipc_pset.c: Likewise. 10606: * ipc/ipc_right.c: Likewise. 10607: * ipc/mach_msg.c: Likewise. 10608: * ipc/mach_port.c: Likewise. 10609: * ipc/mach_rpc.c: Likewise. 10610: * kern/act.c: Likewise. 10611: * kern/ast.c: Likewise. 10612: * kern/bootstrap.c: Likewise. 10613: * kern/debug.c: Likewise. 10614: * kern/eventcount.c: Likewise. 10615: * kern/exception.c: Likewise. 10616: * kern/host.c: Likewise. 10617: * kern/ipc_host.c: Likewise. 10618: * kern/ipc_kobject.c: Likewise. 10619: * kern/ipc_mig.c: Likewise. 10620: * kern/ipc_sched.c: Likewise. 10621: * kern/ipc_tt.c: Likewise. 10622: * kern/kalloc.c: Likewise. 10623: * kern/lock.c: Likewise. 10624: * kern/mach_clock.c: Likewise. 10625: * kern/machine.c: Likewise. 10626: * kern/pc_sample.c: Likewise. 10627: * kern/printf.c: Likewise. 10628: * kern/processor.c: Likewise. 10629: * kern/sched_prim.c: Likewise. 10630: * kern/server_loop.ch: Likewise. 10631: * kern/startup.c: Likewise. 10632: * kern/task.c: Likewise. 10633: * kern/thread.c: Likewise. 10634: * kern/thread_swap.c: Likewise. 10635: * kern/xpr.c: Likewise. 10636: * kern/zalloc.c: Likewise. 10637: * vm/memory_object.c: Likewise. 10638: * vm/vm_debug.c: Likewise. 10639: * vm/vm_fault.c: Likewise. 10640: * vm/vm_kern.c: Likewise. 10641: * vm/vm_map.c: Likewise. 10642: * vm/vm_object.c: Likewise. 10643: * vm/vm_object.h: Likewise. 10644: * vm/vm_pageout.c: Likewise. 10645: * vm/vm_resident.c: Likewise. 10646: 10647: 2006-11-08 Thomas Schwinge <[email protected]> 10648: 10649: * aclocal.m4: Regenerate using GNU Autoconf 2.60 and GNU Automake 1.10. 10650: * INSTALL: Likewise. 10651: * Makefile.in: Likewise. 10652: * configure: Likewise. 10653: * build-aux/config.guess: Likewise. 10654: * build-aux/config.sub: Likewise. 10655: * build-aux/depcomp: Likewise. 10656: * build-aux/install-sh: Likewise. 10657: * build-aux/missing: Likewise. 10658: * build-aux/texinfo.tex: Likewise. 10659: 10660: * Makefrag.am (gnumach.msgids): Remove temporary files. 10661: 10662: 2006-11-08 Samuel Thibault <[email protected]> 10663: 10664: [task #5726 -- GCC built-in functions] 10665: * include/printf.h (iprintf): Fix prototype. 10666: (vprintf): Add prototype. 10667: * kern/printf.c: Include `printf.h'. 10668: (vprintf, printf): Fix prototype and return a dumb value. 10669: * kern/startup.c: Include `printf.h'. 10670: 10671: 2006-11-07 Barry deFreese <[email protected]> 10672: 10673: [task #5726 -- GCC built-in functions] 10674: * include/printf.h: New file. 10675: (printf_init, _doprnt, printnum, sprintf, printf, indent, iprint): New 10676: declarations. 10677: * include/string.h (strchr, strcmp, strcpy, strlen, strncmp, strncpy) 10678: (strrchr, strsep): New extern declarations. 10679: * kern/strings.c: Don't include `kern/strings.h', include `string.h'. 10680: (strncmp, strncpy, strlen): Fix prototypes into using size_t. 10681: * kern/strings.h: Removed file. 10682: * kern/debug.c: Include `printf.h'. 10683: (do_cnputc): New function. 10684: (panic, log): Use do_cnputc instead of cnputc. 10685: * chips/busses.c: Don't include `kern/strings.h', include `printf.h' and 10686: `string.h'. 10687: (_doprnt): Remove extern declaration. 10688: (indent): Remove extern declaration. 10689: * ddb/db_aout.c: Likewise. 10690: * ddb/db_command.c: Likewise. 10691: * ddb/db_lex.c: Likewise. 10692: * ddb/db_macro.c: Likewise. 10693: * ddb/db_output.c: Likewise. 10694: * ddb/db_print.c: Likewise. 10695: * ddb/db_sym.c: Likewise. 10696: * device/dev_name.c: Likewise. 10697: * device/dev_pager.c: Likewise. 10698: * device/dk_label.c: Likewise. 10699: * device/ds_routines.c: Likewise. 10700: * device/net_io.c: Likewise. 10701: * device/subrs.c: Likewise. 10702: * i386/i386/db_trace.c: Likewise. 10703: * i386/i386/debug_i386.c: Likewise. 10704: * i386/i386/fpu.c: Likewise. 10705: * i386/i386/io_map.c: Likewise. 10706: * i386/i386/kttd_interface.c: Likewise. 10707: * i386/i386/pic.c: Likewise. 10708: * i386/i386/trap.c: Likewise. 10709: * i386/i386at/autoconf.c: Likewise. 10710: * i386/i386at/com.c: Likewise. 10711: * i386/i386at/i386at_ds_routines.c: Likewise. 10712: * i386/i386at/kd.c: Likewise. 10713: * i386/i386at/kd_event.c: Likewise. 10714: * i386/i386at/kd_mouse.c: Likewise. 10715: * i386/i386at/lpr.c: Likewise. 10716: * i386/i386at/model_dep.c: Likewise. 10717: * i386/intel/pmap.c: Likewise. 10718: * ipc/ipc_entry.c: Likewise. 10719: * ipc/ipc_hash.c: Likewise. 10720: * ipc/ipc_kmsg.c: Likewise. 10721: * ipc/ipc_notify.c: Likewise. 10722: * ipc/ipc_object.c: Likewise. 10723: * ipc/ipc_port.c: Likewise. 10724: * ipc/ipc_pset.c: Likewise. 10725: * ipc/mach_msg.c: Likewise. 10726: * ipc/mach_port.c: Likewise. 10727: * ipc/mach_rpc.c: Likewise. 10728: * kern/bootstrap.c: Likewise. 10729: * kern/eventcount.c: Likewise. 10730: * kern/ipc_kobject.c: Likewise. 10731: * kern/pc_sample.c: Likewise. 10732: * kern/printf.c: Likewise. 10733: * kern/sched_prim.c: Likewise. 10734: * kern/thread.c: Likewise. 10735: * kern/zalloc.c: Likewise. 10736: * vm/vm_fault.c: Likewise. 10737: * vm/vm_map.c: Likewise. 10738: * vm/vm_object.c: Likewise. 10739: * vm/vm_resident.c: Likewise. 10740: 10741: 2006-11-05 Samuel Thibault <[email protected]> 10742: 10743: * include/string.h: Fix copyright assignment to FSF, keep author's 10744: name. 10745: 10746: 2006-11-05 Thomas Schwinge <[email protected]> 10747: 10748: * linux/dev/README: New file. 10749: 10750: * config.h.in: Regenerate. 10751: * configure: Likewise. 10752: 10753: [task #5956 -- Automake'ify GNU Mach's code base] 10754: * configure.ac <AM_INIT_AUTOMAKE>: Add `no-define' and `1.9'. 10755: 10756: 2006-11-05 Barry deFreese <[email protected]> 10757: 10758: [task #5878 -- Backport code from GNU Mach's trunk to 10759: gnumach-1-branch: i386_set_gdt, i386_get_gdt''] 10760: [sync from HEAD, 2002-10-03] 10761: * i386/include/mach/i386/mach_i386.defs (i386_set_gdt, i386_get_gdt): 10762: New routines. 10763: * i386/i386/user_ldt.c (i386_set_gdt, i386_get_gdt): New functions. 10764: * i386/i386/gdt.h (USER_GDT, USER_GDT_SLOTS): New macros. 10765: (GDTSZ): Compute it from USER_GDT and USER_GDT_SLOTS. 10766: * i386/i386/thread.h: Include `gdt.h'. 10767: (struct i386_machine_state): New member `user_gdt'. 10768: * i386/i386/pcb.c (switch_ktss): Copy those slots into the GDT. 10769: * linux/src/include/linux/head.h (idt,gdt): Remove extern declaration. 10770: 10771: 2006-11-05 Samuel Thibault <[email protected]> 10772: 10773: FPU, CPU and IO stubs cleanup. 10774: * i386/i386/fpu.h (fstcw): New macro. 10775: * i386/i386/locore.S (_fninit, _fstcw, _fldcw, _fnstsw, _fnclex) 10776: (_clts, _fpsave, _fprestore, set_cr3, get_cr3, flush_tlb, get_cr2) 10777: (get_ldt, set_ldt, get_tr, set_tr, _setts, outb, inb, outw, inw, outl) 10778: (inl, loutb, loutw, linb, linw): Remove functions. 10779: * i386/i386/proc_reg.h (flush_tlb): New macro. 10780: * i386/i386/db_interface.c: Include `i386/proc_reg.h'. 10781: * i386/intel/pmap.c: Likewise. 10782: * i386/intel/pmap.h: Likewise. 10783: * i386/i386/fpu.c: Include `i386/pio.h'. 10784: * i386/i386/pic.c: Likewise. 10785: * i386/i386/pit.c: Likewise. 10786: * i386/i386at/iopl.c: Likewise. 10787: * i386/i386at/kd.c: Likewise. 10788: * i386/i386at/kd_event.c: Likewise. 10789: * i386/i386at/kd_mouse.c: Likewise. 10790: * i386/i386at/rtc.c: Likewise. 10791: 10792: 2006-11-05 Barry deFreese <[email protected]> 10793: 10794: [task #5726 -- GCC built-in functions] 10795: * include/string.h: New file. 10796: * include/mach/mig_support.h: Include `string.h'. 10797: [MACH_KERNEL] (bcopy): Remove extern declaration. 10798: [MACH_KERNEL] (memcpy): Remove macro. 10799: * device/cirbuf.c: Include `string.h'. 10800: (q_to_b, b_to_q): Replace bcopy() with memcpy() and bzero() with 10801: memset(), clean memcpy() and memset() invocation. 10802: * device/cons.c (cnputc): Likewise. 10803: * device/dev_pager.c (device_pager_data_request_done): Likewise. 10804: * device/ds_routines.c (device_write_get, ds_read_done): Likewise. 10805: * device/kmsg.c: Likewise. 10806: * device/net_io.c (net_filter, net_set_filter, net_getstat): Likewise. 10807: * i386/i386/fpu.c (fpu_set_state, fpu_get_state, fp_load) 10808: (fp_state_alloc): Likewise. 10809: * i386/i386/iopb.c (io_tss_init, i386_io_port_list): Likewise. 10810: * i386/i386/mp_desc.c (mp_desc_init): Likewise. 10811: * i386/i386/pcb.c (pcb_init, thread_setstatus) 10812: (thread_getstatus): Likewise. 10813: * i386/i386/phys.c (pmap_zero_page, pmap_copy_page, copy_to_phys) 10814: (copy_from_phys): Likewise. 10815: * i386/i386/trap.c (v86_assist): Likewise. 10816: * i386/i386/user_ldt.c (i386_set_ldt, i386_get_ldt): Likewise. 10817: * i386/i386at/immc.c (immc_cnputc): Likewise. 10818: * i386/i386at/kd_event.c (X_kdb_enter_init, X_kdb_exit_init): Likewise. 10819: * i386/intel/pmap.c (pmap_init, pmap_page_table_page_alloc) 10820: (pmap_create): Likewise. 10821: * ipc/ipc_entry.c (ipc_entry_grow_table): Likewise. 10822: * ipc/ipc_kmsg.c (ipc_kmsg_get_from_kernel) 10823: (ipc_kmsg_put_to_kernel): Likewise. 10824: * ipc/ipc_object.c (ipc_object_alloc, ipc_object_alloc_name): Likewise. 10825: * ipc/ipc_port.c (ipc_port_dngrow): Likewise. 10826: * ipc/ipc_space.c: Likewise. 10827: * ipc/mach_debug.c (mach_port_space_info) 10828: (mach_port_space_info): Likewise. 10829: * kern/act.c (act_create): Likewise. 10830: * kern/boot_script.c: Likewise. 10831: * kern/bootstrap.c: Likewise. 10832: * kern/eventcount.c (evc_init): Likewise. 10833: * kern/host.c (host_info, host_processor_sets): Likewise. 10834: * kern/lock.c (lock_init): Likewise. 10835: * kern/lock_mon.c (lock_info_clear): Likewise. 10836: * kern/mach_clock.c (mapable_time_init): Likewise. 10837: * kern/pc_sample.c (get_sampled_pcs): Likewise. 10838: * kern/processor.c (processor_set_things): Likewise. 10839: * kern/syscall_emulation.c (task_set_emulation_vector_internal) 10840: (task_get_emulation_vector, xxx_task_get_emulation_vector): Likewise. 10841: * kern/task.c (task_threads): Likewise. 10842: * kern/xpr.c (xprbootstrap): Likewise. 10843: * kern/zalloc.c (host_zone_info): Likewise. 10844: * vm/vm_debug.c (mach_vm_object_pages): Likewise. 10845: * vm/vm_kern.c (projected_buffer_allocate, copyinmap) 10846: (copyoutmap): Likewise. 10847: * vm/vm_object.c (vm_object_bootstrap): Likewise. 10848: * vm/vm_resident.c (vm_page_grab_contiguous_pages): Likewise. 10849: 10850: 2006-11-05 Samuel Thibault <[email protected]> 10851: 10852: * DEVELOPMENT: Document the following removals. 10853: 10854: Drop MB1/MB2/EXL architecture support. 10855: * i386/i386/pit.h (PITCTR0_PORT, PITCTR1_PORT, PITCTR2_PORT) 10856: (PITCTL_PORT, CLKNUM): Remove MB1/MB2/EXL cases. 10857: [EXL] (time_latch): Remove structure and type. 10858: [EXL] (intr_disable, intr_restore): Remove functions. 10859: 10860: Drop iPSC architecture support. 10861: * i386/i386/hardclock.c: Remove iPSC386 from #if. 10862: * i386/i386/locore.S: Remove iPSC386 delays. 10863: * i386/i386/pic.c: Remove iPSC386 support. 10864: (SLAVEMASK): Rmove iPSC386 case. 10865: * i386/i386/pic.h (ADDR_PIC_BASE, OFF_ICW, OFF_OCW, SIZE_PIC) 10866: (PICM_VECTBASE, PICS_VECTBASE): Remove iPSC386 cases. 10867: [iPSC386] (I_AM_A_SLAVE, I_AM_A_MASTR): Remove macros. 10868: * i386/i386/pit.h: Remove iPSC386 from #if. 10869: [iPSC386] (CLKNUM): Remove macro. 10870: * kern/machine.c (host_get_boot_info): Remove iPSC386 support. 10871: * vm/vm_map.h (VM_MAP_COPY_PAGE_LIST_MAX): Remove iPSC case. 10872: 10873: Drop i860 architecture support. 10874: * i386/i386/pmap.h: Remove i860 comment. 10875: * i386/intel/pmap.c: Remove i860 comments. 10876: [i860]: Don't include `i860ipsc/nodehw.h'. 10877: (INVALIDATE_TLB): Remove i860 case. 10878: (paging_enabled): Remove variable. 10879: (pmap_map): Remove setting INTEL_PTE_NCACHE. 10880: (pmap_bootstrap): Remove i860 support. 10881: (pmap_page_table_page_alloc): Remove setting INTEL_PTE_NCACHE. 10882: (pmap_enter): Remove call to flush function. 10883: (set_dirbase): Remove function. 10884: * i386/intel/pmap.h: Remove i860 comments. 10885: (INTEL_PGBYTES, INTEL_PGSHIFT, intel_btop, intel_ptob) 10886: (intel_round_page, intel_trunc_page, trunc_intel_to_vm) 10887: (round_intel_to_vm, vm_to_intel, INTEL_PTE_VALID, set_dirbase): Remove 10888: i860 cases. 10889: (INTEL_PTE_valid): Remove macro. 10890: * i386/intel/read_fault.c: Remove i860 comment. 10891: 10892: Drop PS2 architecture support. 10893: * i386/i386/fpu.c (fpintr): Remove PS2 from #if. 10894: * i386/i386/gdt.c [PS2] (abios_int_return, abios_th_return, intstack): 10895: Remove extern declarations. 10896: * i386/i386/gdt.h [PS2] (ABIOS_INT_RET, ABIOS_TH_RET, ABIOS_INT_SS) 10897: (ABIOS_TH_SS, ABIOS_FIRST_AVAIL_SEL): Remove macros. 10898: (GDTSZ): Remove PS2 case. 10899: * i386/i386/hardclock.c [PS2]: Don't include `i386/pic.h' and 10900: `i386/pio.h'. 10901: (hardclock): Remove PS2 prototype and code. 10902: * i386/i386/locore.S (RET_OFFSET): Remove PS2 stack layout. 10903: * i386/i386/pic.c (picinit): Remove #ifdef PS2. 10904: * i386/i386/pic.h: Remove PS2 from #if. 10905: * i386/i386/pit.c [PS2] (clock_int_handler): Remove extern declaration. 10906: Don't include `sys/types.h' and `i386ps2/abios.h'. 10907: (clock_request_block, clock_flags, cqbuf): Remove variables. 10908: (clkstart): Remove call to abios_clock_start function. 10909: (COUNT): Don't define. 10910: (abios_clock_start, ackrtclock): Remove functions. 10911: * i386/i386/pit.h: Remove PS2 from #if. 10912: 10913: 2006-10-26 Thomas Schwinge <[email protected]> 10914: 10915: * Makefile.in: Regenerate. 10916: 10917: [task #5956 -- Automake'ify GNU Mach's code base] 10918: 10919: * Makefrag.am (gnumach.msgids): Remove repetition. 10920: * Makerules.am (%.server.msgids, %.user.msgids): Targets renamed from 10921: `%.msgids'. Also consider MIGCOMSFLAGS respective MIGCOMUFLAGS. 10922: Thanks to Guillem Jover and Leonardo Lopes Pereira for reporting this. 10923: 10924: The Automake build system wants us to have these files in the rcs, so 10925: do that. 10926: * doc/mach.info: New file, generated. 10927: * doc/mach.info-1: Likewise. 10928: * doc/mach.info-2: Likewise. 10929: * doc/stamp-vti: Likewise. 10930: * doc/version.texi: Likewise. 10931: 10932: 2006-10-18 Thomas Schwinge <[email protected]> 10933: 10934: * Makefile.in: Regenerate. 10935: 10936: Install `PREFIX/share/msgids/gnumach.msgids'. 10937: * Makerules.am (%.msgids): Two new rules. 10938: * Makefrag.am (MOSTLYCLEANFILES): Add `gnumach.msgids'. 10939: (gnumach.msgids): New rule. 10940: (exec_msgidsdir, exec_msgids_DATA): New variables. 10941: 10942: 2006-10-16 Thomas Schwinge <[email protected]> 10943: 10944: * configure: Regenerate. 10945: 10946: [bug #18011 -- `make install-data' will build the 10947: ``to-be-generated files''] 10948: * config.status.dep.patch: Do an educated guess instead of using the 10949: `Makefile'. 10950: * configure.ac <config.status.dep.patch>: Update description. 10951: 10952: 2006-10-15 Thomas Schwinge <[email protected]> 10953: 10954: * configure: Regenerate. 10955: 10956: * configure.ac: Update texts snippets: GNU Automake 1.10 has just been 10957: released. 10958: 10959: * i386/include/Makefile.in: Remove unused file. Thanks to Guillem 10960: Jover for spotting this. 10961: 10962: [task #5956 -- Automake'ify GNU Mach's code base] 10963: 10964: * configure: Regenerate. 10965: 10966: * configure.ac <config.status.dep.patch>: Point to [bug #18011 -- 10967: `make install-data' will build the ``to-be-generated files'']. 10968: 10969: * Makefile.in: Regenerate. 10970: 10971: * Makefrag.am (include_mach_exec): Rename to `include_mach_eXec'. 10972: 10973: * Makefile.in: New file, generated by `autoreconf'. 10974: * config.h.in: Likewise. 10975: * configure: Updated file, generated by `autoreconf'. 10976: 10977: * INSTALL: File updated, thanks to `autoreconf'. 10978: * aclocal.m4: Likewise. 10979: 10980: * build-aux/compile: New file, thanks to `autoreconf'. 10981: * build-aux/config.guess: Likewise. 10982: * build-aux/config.sub: Likewise. 10983: * build-aux/depcomp: Likewise. 10984: * build-aux/install-sh: Likewise. 10985: * build-aux/mdate-sh: Likewise. 10986: * build-aux/missing: Likewise. 10987: * build-aux/texinfo.tex: Likewise. 10988: 10989: * AUTHORS: New file, copy from the MIG repository. 10990: 10991: * kern/bootstrap.c: Don't include `bootstrap_symbols.h'. 10992: * ddb/db_command.c: Don't include `cpus.h'. 10993: * ddb/db_mp.c: Likewise. 10994: * i386/i386/ast_check.c: Likewise. 10995: * i386/i386/cswitch.S: Likewise. 10996: * i386/i386/db_interface.c: Likewise. 10997: * i386/i386/fpu.c: Likewise. 10998: * i386/i386/fpu.h: Likewise. 10999: * i386/i386/i386asm.sym: Likewise. 11000: * i386/i386/locore.S: Likewise. 11001: * i386/i386/mp_desc.c: Likewise. 11002: * i386/i386/mp_desc.h: Likewise. 11003: * i386/i386/pcb.c: Likewise. 11004: * i386/i386/trap.c: Likewise. 11005: * i386/intel/pmap.c: Likewise. 11006: * include/mach/machine.h: Likewise. 11007: * ipc/ipc_kmsg.c: Likewise. 11008: * ipc/ipc_kmsg.h: Likewise. 11009: * kern/ast.c: Likewise. 11010: * kern/ast.h: Likewise. 11011: * kern/cpu_number.h: Likewise. 11012: * kern/debug.c: Likewise. 11013: * kern/eventcount.c: Likewise. 11014: * kern/host.c: Likewise. 11015: * kern/ipc_sched.c: Likewise. 11016: * kern/lock.c: Likewise. 11017: * kern/lock.h: Likewise. 11018: * kern/lock_mon.c: Likewise. 11019: * kern/mach_clock.c: Likewise. 11020: * kern/mach_factor.c: Likewise. 11021: * kern/machine.c: Likewise. 11022: * kern/priority.c: Likewise. 11023: * kern/processor.c: Likewise. 11024: * kern/processor.h: Likewise. 11025: * kern/sched.h: Likewise. 11026: * kern/sched_prim.c: Likewise. 11027: * kern/startup.c: Likewise. 11028: * kern/syscall_subr.c: Likewise. 11029: * kern/thread.c: Likewise. 11030: * kern/timer.c: Likewise. 11031: * kern/timer.h: Likewise. 11032: * vm/vm_resident.c: Likewise. 11033: * kern/sched_prim.c: Don't include `fast_tas.h'. 11034: * kern/task.c: Likewise. 11035: * kern/task.h: Likewise. 11036: * kern/sched_prim.c: Don't include `hw_footprint.h'. 11037: * kern/thread.c: Likewise. 11038: * kern/thread.h: Likewise. 11039: * kern/counters.c: Don't include `mach_counters.h'. 11040: * kern/counters.h: Likewise. 11041: * ddb/db_ext_symtab.c: Don't include `mach_debug.h'. 11042: * i386/i386/pcb.c: Likewise. 11043: * kern/ipc_kobject.c: Likewise. 11044: * kern/thread.c: Likewise. 11045: * kern/zalloc.c: Likewise. 11046: * kern/ast.c: Don't include `mach_fixpri.h'. 11047: * kern/processor.c: Likewise. 11048: * kern/processor.h: Likewise. 11049: * kern/sched.h: Likewise. 11050: * kern/sched_prim.c: Likewise. 11051: * kern/syscall_subr.c: Likewise. 11052: * kern/thread.c: Likewise. 11053: * kern/thread.h: Likewise. 11054: * kern/host.c: Don't include `mach_host.h'. 11055: * kern/ipc_sched.c: Likewise. 11056: * kern/machine.c: Likewise. 11057: * kern/processor.c: Likewise. 11058: * kern/processor.h: Likewise. 11059: * kern/sched_prim.c: Likewise. 11060: * kern/startup.c: Likewise. 11061: * kern/task.c: Likewise. 11062: * kern/thread.c: Likewise. 11063: * kern/thread.h: Likewise. 11064: * include/mach/mach.defs: Don't include `mach_ipc_compat.h'. 11065: * include/mach/mach_param.h: Likewise. 11066: * include/mach/mach_traps.h: Likewise. 11067: * include/mach/message.h: Likewise. 11068: * include/mach/mig_errors.h: Likewise. 11069: * include/mach/notify.h: Likewise. 11070: * include/mach/port.h: Likewise. 11071: * include/mach/std_types.defs: Likewise. 11072: * include/mach/task_special_ports.h: Likewise. 11073: * include/mach/thread_special_ports.h: Likewise. 11074: * ipc/ipc_kmsg.c: Likewise. 11075: * ipc/ipc_kmsg.h: Likewise. 11076: * ipc/ipc_marequest.c: Likewise. 11077: * ipc/ipc_notify.c: Likewise. 11078: * ipc/ipc_notify.h: Likewise. 11079: * ipc/ipc_object.c: Likewise. 11080: * ipc/ipc_object.h: Likewise. 11081: * ipc/ipc_port.c: Likewise. 11082: * ipc/ipc_port.h: Likewise. 11083: * ipc/ipc_right.c: Likewise. 11084: * ipc/ipc_right.h: Likewise. 11085: * ipc/ipc_space.c: Likewise. 11086: * ipc/ipc_space.h: Likewise. 11087: * ipc/mach_debug.c: Likewise. 11088: * ipc/mach_msg.c: Likewise. 11089: * ipc/mach_msg.h: Likewise. 11090: * ipc/mach_port.c: Likewise. 11091: * kern/ipc_tt.c: Likewise. 11092: * kern/syscall_sw.c: Likewise. 11093: * kern/thread.h: Likewise. 11094: * include/mach_debug/mach_debug.defs: Don't include `mach_ipc_debug.h'. 11095: * ipc/ipc_hash.c: Likewise. 11096: * ipc/ipc_hash.h: Likewise. 11097: * ipc/ipc_marequest.c: Likewise. 11098: * ipc/ipc_marequest.h: Likewise. 11099: * kern/ipc_kobject.c: Don't include `mach_ipc_test.h'. 11100: * ddb/db_access.c: Don't include `mach_kdb.h'. 11101: * ddb/db_aout.c: Likewise. 11102: * ddb/db_break.c: Likewise. 11103: * ddb/db_command.c: Likewise. 11104: * ddb/db_command.h: Likewise. 11105: * ddb/db_cond.c: Likewise. 11106: * ddb/db_examine.c: Likewise. 11107: * ddb/db_expr.c: Likewise. 11108: * ddb/db_ext_symtab.c: Likewise. 11109: * ddb/db_input.c: Likewise. 11110: * ddb/db_lex.c: Likewise. 11111: * ddb/db_macro.c: Likewise. 11112: * ddb/db_mp.c: Likewise. 11113: * ddb/db_output.c: Likewise. 11114: * ddb/db_print.c: Likewise. 11115: * ddb/db_run.c: Likewise. 11116: * ddb/db_sym.c: Likewise. 11117: * ddb/db_task_thread.c: Likewise. 11118: * ddb/db_trap.c: Likewise. 11119: * ddb/db_variables.c: Likewise. 11120: * ddb/db_watch.c: Likewise. 11121: * ddb/db_watch.h: Likewise. 11122: * ddb/db_write_cmd.c: Likewise. 11123: * i386/i386/db_disasm.c: Likewise. 11124: * i386/i386/db_interface.c: Likewise. 11125: * i386/i386/db_trace.c: Likewise. 11126: * i386/i386/i386asm.sym: Likewise. 11127: * i386/i386/locore.S: Likewise. 11128: * i386/i386/trap.c: Likewise. 11129: * i386/i386at/kd.c: Likewise. 11130: * i386/i386at/model_dep.c: Likewise. 11131: * include/mach_debug/mach_debug.defs: Likewise. 11132: * ipc/ipc_kmsg.c: Likewise. 11133: * ipc/ipc_object.c: Likewise. 11134: * ipc/ipc_port.c: Likewise. 11135: * ipc/ipc_pset.c: Likewise. 11136: * kern/bootstrap.c: Likewise. 11137: * kern/debug.c: Likewise. 11138: * kern/exception.c: Likewise. 11139: * kern/lock.c: Likewise. 11140: * kern/xpr.c: Likewise. 11141: * vm/vm_fault.c: Likewise. 11142: * vm/vm_map.c: Likewise. 11143: * vm/vm_object.c: Likewise. 11144: * vm/vm_resident.c: Likewise. 11145: * kern/lock.h: Don't include `mach_ldebug.h'. 11146: * kern/lock_mon.c: Don't include `mach_lock_mon.h'. 11147: * kern/ipc_kobject.c: Don't include `mach_machine_routines.h'. 11148: * kern/lock_mon.c: Don't include `mach_mp_debug.h'. 11149: * vm/memory_object.c: Don't include `mach_pagemap.h'. 11150: * vm/vm_fault.c: Likewise. 11151: * vm/vm_object.c: Likewise. 11152: * vm/vm_object.h: Likewise. 11153: * vm/vm_pageout.c: Likewise. 11154: * i386/i386/trap.c: Don't include `mach_pcsample.h'. 11155: * kern/mach4.srv: Likewise. 11156: * kern/mach_clock.c: Likewise. 11157: * kern/pc_sample.c: Likewise. 11158: * kern/task.c: Likewise. 11159: * kern/thread.c: Likewise. 11160: * vm/vm_fault.c: Likewise. 11161: * device/net_io.c: Don't include `mach_ttd.h'. 11162: * i386/i386/kttd_interface.c: Likewise. 11163: * i386/i386/locore.S: Likewise. 11164: * i386/i386/trap.c: Likewise. 11165: * i386/i386at/autoconf.c: Likewise. 11166: * include/mach_debug/mach_debug.defs: Don't include `mach_vm_debug.h'. 11167: * vm/vm_debug.c: Likewise. 11168: * vm/vm_page.h: Likewise. 11169: * vm/vm_resident.c: Likewise. 11170: * kern/sched_prim.c: Don't include `power_save.h'. 11171: * kern/sched.h: Don't include `simple_clock.h'. 11172: * kern/sched_prim.c: Likewise. 11173: * kern/thread.c: Likewise. 11174: * kern/mach_clock.c: Don't include `stat_time.h'. 11175: * i386/i386/i386asm.sym: Likewise. 11176: * i386/i386/locore.S: Likewise. 11177: * kern/sched.h: Likewise. 11178: * kern/timer.c: Likewise. 11179: * kern/timer.h: Likewise. 11180: * kern/startup.c: Don't include `xpr_debug.h'. 11181: * kern/xpr.h: Likewise. 11182: * i386/i386at/autoconf.c: Don't include `com.h'. 11183: * i386/i386at/com.c: Likewise. 11184: * i386/i386at/conf.c: Likewise. 11185: * i386/i386at/cons_conf.c: Likewise. 11186: * i386/i386/fpe_linkage.c: Don't include `fpe.h'. 11187: * i386/i386/fpu.c: Likewise. 11188: * i386/i386/fpu.h: Likewise. 11189: * i386/i386/trap.c: Likewise. 11190: * i386/i386at/autoconf.c: Don't include `lpr.h'. 11191: * i386/i386at/conf.c: Likewise. 11192: * i386/i386at/lpr.c: Likewise. 11193: * i386/i386/cswitch.S: Don't include `platforms.h'. 11194: * i386/i386/fpu.c: Likewise. 11195: * i386/i386/gdt.c: Likewise. 11196: * i386/i386/hardclock.c: Likewise. 11197: * i386/i386/i386asm.sym: Likewise. 11198: * i386/i386/io_emulate.c: Likewise. 11199: * i386/i386/locore.S: Likewise. 11200: * i386/i386/pic.c: Likewise. 11201: * i386/i386/pic.h: Likewise. 11202: * i386/i386/pit.c: Likewise. 11203: * i386/i386/pit.h: Likewise. 11204: * i386/i386/seg.h: Likewise. 11205: * i386/i386at/model_dep.c: Likewise. 11206: * i386/i386at/com.c: Don't include `rc.h' 11207: * i386/i386at/cons_conf.c: Likewise. 11208: * i386/i386at/pic_isa.c: Likewise. 11209: * device/ds_routines.c: Don't include <i386/linux/device-drivers.h>. 11210: * i386/i386at/i386at_ds_routines.c: Likewise. 11211: * i386/linux/dev/include/linux/autoconf.h: Likewise. 11212: * linux/dev/arch/i386/kernel/setup.c: Likewise. 11213: * linux/dev/init/main.c: Likewise. 11214: * linux/pcmcia-cs/glue/pcmcia_glue.h: Likewise. 11215: * linux/pcmcia-cs/glue/wireless_glue.h: Likewise. 11216: * kern/lock_mon.c: Don't include <time_stamp.h>. 11217: * device/cons.c: Include <device/cons.h> instead of <cons.h>. 11218: * i386/i386at/com.c: Likewise. 11219: * i386/i386at/kd.c: Likewise. 11220: * i386/i386at/cons_conf.c: Likewise. 11221: * i386/i386at/i386at_ds_routines.c: Include <device/device.server.h> 11222: instead of "device_interface.h". 11223: * device/chario.c: Include <device/device_reply.user.h> instead of 11224: "device_reply.h". 11225: * device/ds_routines.c: Likewise. 11226: * linux/dev/glue/block.c: Likewise. 11227: * linux/dev/glue/net.c: Likewise. 11228: * linux/pcmcia-cs/glue/ds.c: Likewise. 11229: * device/cons.c: Include <device/kmsg.h> instead of <kmsg.h>. 11230: * device/kmsg.c: Likewise. 11231: * i386/i386/cswitch.S: Include <i386/cpu_number.h> instead of 11232: "cpu_number.h". 11233: * i386/i386/locore.S: Likewise. 11234: * i386/intel/pmap.c: Likewise. 11235: * ipc/ipc_kmsg.h: Likewise. 11236: * i386/i386/i386asm.sym: Include <i386/gdt.h> instead of "gdt.h". 11237: * i386/i386/idt.c: Likewise. 11238: * i386/i386at/int_init.c: Likewise. 11239: * i386/i386/cswitch.S: Include <i386/i386asm.h> instead of "i386asm.h". 11240: * i386/i386/locore.S: Likewise. 11241: * i386/i386at/boothdr.S: Likewise. 11242: * i386/i386at/interrupt.S: Likewise. 11243: * i386/i386at/idt.h: Include <i386/idt-gen.h> instead of "idt-gen.h". 11244: * i386/i386at/interrupt.S: Include <i386/ipl.h> instead of "ipl.h". 11245: * i386/i386/i386asm.sym: Include <i386/ldt.h> instead of "ldt.h". 11246: * i386/i386/locore.S: Likewise. 11247: * i386/i386/i386asm.sym: Include <i386/mp_desc.h> instead of 11248: "mp_desc.h". 11249: * i386/i386at/interrupt.S: Include <i386/pic.h> instead of "pic.h". 11250: * i386/i386/cswitch.S: Include <i386/proc_reg.h> instead of 11251: "proc_reg.h". 11252: * i386/i386/locore.S: Likewise. 11253: * i386/i386at/model_dep.c: Likewise. 11254: * i386/i386/i386asm.sym: Include <i386/seg.h> instead of "seg.h". 11255: * i386/i386/idt.c: Likewise. 11256: * i386/i386/locore.S: Likewise. 11257: * i386/i386/locore.S: Include <i386/trap.h> instead of "trap.h". 11258: * i386/i386/i386asm.sym: Include <i386/tss.h> instead of "tss.h". 11259: * i386/i386/i386asm.sym: Include <i386/vm_param.h> instead of 11260: "vm_param.h". 11261: * i386/i386/idt.c: Likewise. 11262: * i386/i386at/kd.c: Likewise. 11263: * i386/i386at/model_dep.c: Likewise. 11264: * i386/intel/pmap.c: Likewise. 11265: * i386/i386/i386asm.sym: Include <i386at/idt.h> instead of "idt.h". 11266: * i386/i386/idt.c: Likewise. 11267: * i386/i386at/int_init.c: Likewise. 11268: * ipc/ipc_target.c: Include <kern/sched_prim.h> instead of 11269: "sched_prim.h". 11270: * vm/memory_object.c: Include <vm/memory_object_default.user.h> instead 11271: of "memory_object_default.h". 11272: * vm/vm_object.c: Likewise. 11273: * vm/vm_pageout.c: Likewise. 11274: * vm/memory_object.c: Include <vm/memory_object_user.user.h> instead of 11275: "memory_object_user.h". 11276: * vm/vm_fault.c: Likewise. 11277: * vm/vm_object.c: Likewise. 11278: * vm/vm_pageout.c: Likewise. 11279: 11280: * Makefile.am: New file. 11281: * Makerules.am <configure's findings, System dependent Makerules> 11282: <Compilation flags, Dependency generation, Autoconf support>: Remove 11283: sections. 11284: <Building from foo.cli, Building from foo.srv>: Rewrite: 11285: (%.server.defs.c, %.user.defs.c, %.server.h %.server.c) 11286: (%.user.h %.user.c, %.server.defs, %.user.defs): New targets. 11287: (%.h %_user.c %.cli.d, %_interface.h %_server.c %.srv.d): Remove 11288: targets. 11289: (echo-%): New target. 11290: * Makefrag.am <configure's findings, Rules, Kernel Image, Installation> 11291: <Building the distribution, Autoconf support, Makerules>: Remove 11292: sections. 11293: (enable_kdb, enable_kmsg): Adapt. 11294: <All the source in each directory> 11295: <Header files installed for user use>: Rewrite to adapt to how things 11296: are to be done now. 11297: <Automatically generated source files>: New section. 11298: (i386/Makefrag.am): Include file if appropriate. 11299: * i386/Makefrag.am <configure's findings, Rules, Installation> 11300: <Autoconf support, Makerules>: Remove sections. 11301: (enable_lpr): Adapt. 11302: <Source files for any i386 kernel>: Rewrite to adapt to how things are 11303: to be done now. 11304: * i386/linux/Makefrag.am: New file. 11305: * linux/Makefrag.am: Likewise. 11306: 11307: * Makefile.in: Move file... 11308: * Makefrag.am: ... here. 11309: * i386/Makefile.in: Move file... 11310: * i386/Makefrag.am: ... here. 11311: * i386/linux/Makefile.in: Remove file. 11312: 11313: * doc/Makefile.in: Remove file. 11314: * doc/Makefrag.am: New file. 11315: * tests/Makefrag.am: Likewise. 11316: * tests/test-mbchk.in: Likewise. 11317: 11318: * configfrag.ac: New file. 11319: * tests/configfrag.ac: Likewise. 11320: * Makerules.am (DEFINES): Convert those into... 11321: * configfrag.ac: ... AC_DEFINE instantiations. 11322: * i386/Makerules.in (DEFINES): Convert those into... 11323: * i386/configfrag.ac: ... AC_DEFINE instantiations. 11324: * i386/Makerules.in: Remove file. 11325: * i386/configfrag.ac (AC_PREREQ, AC_INIT, AC_CONFIG_SRCDIR) 11326: (AC_CONFIG_SUBDIRS, AC_CONFIG_FILES, AC_OUTPUT): Don't invoke. 11327: (../version.m4): Don't include. 11328: (--disable-lpr): Rework configuration option. 11329: (--disable-default-device-drivers): Move configuration option to... 11330: * configfrag.ac: ... here. 11331: * configure.ac (AC_CONFIG_AUX_DIR, AM_INIT_AUTOMAKE): Instantiate. 11332: (AC_PREFIX_DEFAULT, AC_CONFIG_SUBDIRS): Don't invoke. 11333: <Output variable `systype'>: Rework the whole section. 11334: <Options> (--enable-kdb, --disable-kmsg): Move into `configfrag.ac' and 11335: adapt. 11336: <Programs> (AM_PROG_AS, AM_PROG_CC_C_O): Instantiate. 11337: (AC_CHECK_PROG): Move instantiation searching for a `mbchk' program 11338: into `tests/configfrag.ac'. 11339: (AC_CHECK_PROG): Instantiate to search for a `patch' program. 11340: <configure fragments> (tests/configfrag.ac, configfrag.ac) 11341: (linux/configfrag.ac): Include files. 11342: (i386/configfrag.ac): Include file if appropriate. 11343: (AC_CONFIG_HEADER): Instantiate for `config.h'. 11344: (AC_CONFIG_FILES): Remove `Makerules' and `doc/Makefile'. 11345: (AC_CONFIG_COMMANDS_POST): Instantiate for `config.status.dep.patch'. 11346: (AC_CONFIG_COMMANDS): Instantiate for 11347: `Makefile.correct_output_files_for_.S_files.patch' and (the 11348: nonexistent) `Makefile.dependency_tracking_for_.S_files.patch'. 11349: * Makefile.dependency_tracking_for_.S_files.patch: New file. 11350: * config.status.dep.patch: Likewise. 11351: * bogus/bootstrap_symbols.h: Remove file. 11352: * configfrag.ac: AC_DEFINE `BOOTSTRAP_SYMBOLS' to `0'. 11353: * bogus/cpus.h: Remove file. 11354: * configfrag.ac: AC_DEFINE `NCPUS' to `1'. AH_TEMPLATE 11355: `MULTIPROCESSOR'. 11356: * bogus/fast_tas.h: Remove file. 11357: * configfrag.ac: AC_DEFINE `FAST_TAS' to `0'. 11358: * bogus/hw_footprint.h: Remove file. 11359: * configfrag.ac: AC_DEFINE `HW_FOOTPRINT' to `0'. 11360: * bogus/mach_counters.h: Remove file. 11361: * configfrag.ac: AC_DEFINE `MACH_COUNTERS' to `0'. 11362: * bogus/mach_debug.h: Remove file. 11363: * configfrag.ac: AC_DEFINE `MACH_DEBUG' to `1'. 11364: * bogus/mach_fixpri.h: Remove file. 11365: * configfrag.ac: AC_DEFINE `MACH_FIXPRI' to `1'. 11366: * bogus/mach_host.h: Remove file. 11367: * configfrag.ac: AC_DEFINE `MACH_HOST' to `0'. 11368: * bogus/mach_ipc_compat.h: Remove file. 11369: * configfrag.ac: AC_DEFINE `MACH_IPC_COMPAT' to `1'. 11370: * bogus/mach_ipc_debug.h: Remove file. 11371: * configfrag.ac: AC_DEFINE `MACH_IPC_DEBUG' to `1'. 11372: * bogus/mach_ipc_test.h: Remove file. 11373: * configfrag.ac: AC_DEFINE `MACH_IPC_TEST' to `0'. 11374: * bogus/mach_kdb.h: Remove file. 11375: * configfrag.ac (--disable-kdb): AC_DEFINE `MACH_KDB' to `0'. 11376: * bogus/mach_ldebug.h: Remove file. 11377: * configfrag.ac: AC_DEFINE `MACH_LDEBUG' to `0'. 11378: * bogus/mach_lock_mon.h: Remove file. 11379: * configfrag.ac: AC_DEFINE `MACH_LOCK_MON' to `0'. 11380: * bogus/mach_machine_routines.h: Remove file. 11381: * configfrag.ac: Add comment about not AC_DEFINEing 11382: `MACH_MACHINE_ROUTINES' to `0'. 11383: * bogus/mach_mp_debug.h: Remove file. 11384: * configfrag.ac: AC_DEFINE `MACH_MP_DEBUG' to `0'. 11385: * bogus/mach_pagemap.h: Remove file. 11386: * configfrag.ac: AC_DEFINE `MACH_PAGEMAP' to `1'. 11387: * bogus/mach_pcsample.h: Remove file. 11388: * configfrag.ac: AC_DEFINE `MACH_PCSAMPLE' to `1'. 11389: * bogus/mach_ttd.h: Remove file. 11390: * configfrag.ac: AC_DEFINE `MACH_TTD' to `0'. 11391: * bogus/mach_vm_debug.h: Remove file. 11392: * configfrag.ac: AC_DEFINE `MACH_VM_DEBUG' to `1'. 11393: * bogus/power_save.h: Remove file. 11394: * configfrag.ac: AC_DEFINE `POWER_SAVE' to `1'. 11395: * bogus/simple_clock.h: Remove file. 11396: * configfrag.ac: AC_DEFINE `SIMPLE_CLOCK' to `0'. 11397: * bogus/stat_time.h: Remove file. 11398: * configfrag.ac: AC_DEFINE `STAT_TIME' to `1'. 11399: * bogus/xpr_debug.h: Remove file. 11400: * configfrag.ac: AC_DEFINE `XPR_DEBUG' to `1'. 11401: * i386/bogus/com.h: Remove file. 11402: * i386/configfrag.ac: AC_DEFINE `NCOM' to `4'. 11403: * i386/bogus/fpe.h: Remove file. 11404: * i386/configfrag.ac: AC_DEFINE `FPE' to `0'. 11405: * i386/bogus/lpr.h: Remove file. 11406: * i386/configfrag.ac: AC_DEFINE `NLPR' to `1'. 11407: * i386/bogus/mach_machine_routines.h: Remove file. 11408: * i386/configfrag.ac: AC_DEFINE `MACH_MACHINE_ROUTINES' to `1'. 11409: * i386/bogus/platforms.h: Remove file. 11410: * i386/configfrag.ac: AC_DEFINE `AT386' to `1'. 11411: * i386/bogus/rc.h: Remove file. 11412: * i386/configfrag.ac: AC_DEFINE `RCLINE' to `-1' and `RCADDR' to `0x3f8'. 11413: 11414: * Makerules.in: Move file... 11415: * Makerules.am: ... here. 11416: 11417: * linux/configfrag.ac (AC_PREREQ, AC_INIT, AC_CONFIG_SRCDIR) 11418: (AC_CONFIG_HEADER, AC_CANONICAL_HOST, hurd_SYSTYPE, AC_CONFIG_FILES) 11419: (AC_OUTPUT): Don't invoke. 11420: (../../version.m4, ../../Drivers.macros, ../../aclocal.m4): Don't 11421: include. 11422: <case "$host_cpu">: Only evaluate for i386. 11423: (--disable-default-device-drivers): Remove configuraion option. 11424: (LINUX_DEV, __KERNEL__): AC_DEFINE these. 11425: (scsi, net, pcmcia, wireless): Remove AC_DRIVER_CLASS instantiations. 11426: (device_driver_group): New shell function. 11427: (AC_OPTION, AC_OPTION_nodef): New functions. 11428: (linux_DRIVER): Rename function to AC_Linux_DRIVER and adapt. 11429: (linux_DRIVER_nodef): Likewise to AC_Linux_DRIVER_nodef. 11430: <Configuration options>: Adapt to the new functions introduced above 11431: and re-position parts. 11432: <Process device driver groups>: Adapt to the changes related to device 11433: driver groups. 11434: * linux/configure.in <AC_CONFIG_LINKS>: Move to... 11435: * linux/configfrag.ac: ... here. 11436: * linux/configure.in: Remove file. 11437: * linux/configure: Likewise. 11438: * i386/linux/Makerules.in: Likewise. 11439: * Drivers.macros: Likewise. 11440: 11441: * i386/linux/configure.ac: Move file... 11442: * linux/configfrag.ac: ... here. 11443: * i386/linux/configure: Remove file. 11444: * i386/linux/device-drivers.h.in: Likewise. 11445: 11446: * i386/configure.in: Move file... 11447: * i386/configfrag.ac: ... here. 11448: * i386/configure: Remove file. 11449: 11450: * config.guess: Remove file. 11451: * config.sub: Likewise. 11452: * install-sh: Likewise. 11453: 11454: * i386/Files: Remove file. 11455: * i386/Subdirs: Likewise. 11456: * linux/Files: Likewise. 11457: * linux/Subdirs: Likewise. 11458: 11459: 2006-10-13 Thomas Schwinge <[email protected]> 11460: 11461: * configure.in: Move file... 11462: * configure.ac: ... here. 11463: 11464: * Makerules.in (ASFLAGS): Don't define `ASSEMBLER'. 11465: * i386/i386/cpu_number.h: Check for `__ASSEMBLER__' instead of 11466: `ASSEMBLER'. 11467: * i386/i386/debug.h: Likewise. 11468: * i386/i386/ipl.h: Likewise. 11469: * i386/i386/ldt.h: Likewise. 11470: * i386/i386/proc_reg.h: Likewise. 11471: * i386/i386/seg.h: Likewise. 11472: * i386/i386/trap.h: Likewise. 11473: * i386/include/mach/i386/kern_return.h: Likewise. 11474: * i386/include/mach/i386/vm_types.h: Likewise. 11475: * i386/intel/pmap.h: Likewise. 11476: * include/mach/boolean.h: Likewise. 11477: * include/mach/boot.h: Likewise. 11478: * include/mach/error.h: Likewise. 11479: * kern/syscall_emulation.h: Likewise. 11480: 11481: * configure: Regenerate. 11482: * i386/configure: Likewise. 11483: * i386/linux/configure: Likewise. 11484: * linux/configure: Likewise. 11485: 11486: 2006-10-12 Thomas Schwinge <[email protected]> 11487: 11488: * version.m4 (AC_PACKAGE_VERSION): Let's name it `1.3.99'. 11489: 11490: * configure: Regenerate. 11491: * i386/configure: Likewise. 11492: * i386/linux/configure: Likewise. 11493: * linux/configure: Likewise. 11494: 11495: * version.m4: Rewrite. 11496: * configure.in: Adapt to the above. 11497: * i386/configure.in: Likewise. 11498: * i386/linux/configure.ac: Likewise. 11499: * linux/configure.in: Likewise. 11500: 11501: 2006-10-09 Thomas Schwinge <[email protected]> 11502: 11503: * ddb/tr.h: Insert the content of `bogus/mach_assert.h' instead of 11504: including it. 11505: * i386/i386/loose_ends.c: Likewise. 11506: * bogus/mach_assert.h: Remove file. 11507: 11508: * bogus/panic.c: Remove file. 11509: 11510: * linux/src/drivers/scsi/in2000.c (in2000_proc_info) [PROC_INTERFACE]: 11511: Don't consider `__DATE__' and `__TIME__'. 11512: 11513: 2006-10-08 Thomas Schwinge <[email protected]> 11514: 11515: * linux/dev/drivers/scsi/scsi.h: Move file... 11516: * linux/src/drivers/scsi/scsi.h: ... here, overwriting the old file. 11517: 11518: * linux/dev/drivers/scsi/seagate.c: Move file... 11519: * linux/src/drivers/scsi/seagate.c: ... here, overwriting the old file. 11520: 11521: * linux/dev/drivers/scsi/aha152x.c: Move file... 11522: * linux/src/drivers/scsi/aha152x.c: ... here, overwriting the old file. 11523: 11524: * linux/dev/drivers/scsi/sr.c: Move file... 11525: * linux/src/drivers/scsi/sr.c: ... here, overwriting the old file. 11526: 11527: * linux/dev/drivers/scsi/sd_ioctl.c: Move file... 11528: * linux/src/drivers/scsi/sd_ioctl.c: ... here, overwriting the old file. 11529: 11530: * linux/dev/drivers/scsi/sd.c: Move file... 11531: * linux/src/drivers/scsi/sd.c: ... here, overwriting the old file. 11532: 11533: * linux/dev/drivers/scsi/hosts.c: Remove file. 11534: * linux/dev/drivers/scsi/scsi.c: Likewise. 11535: 11536: * linux/dev/drivers/block/ide.c: Move file... 11537: * linux/src/drivers/block/ide.c: ... here, overwriting the old file. 11538: 11539: * linux/dev/drivers/block/ide-cd.c: Remove file. 11540: * linux/src/drivers/block/ide-cd.c (cdrom_sleep): Don't define function 11541: `#ifndef MACH'. 11542: 11543: 2006-10-07 Thomas Schwinge <[email protected]> 11544: 11545: * i386/linux/configure: Regernerate. 11546: * i386/linux/device-drivers.h.in: Likewise. 11547: 11548: * Drivers.macros (AC_DRIVER, AC_DRIVER_nodef): Rewrite to allow options 11549: with dashes in them, make it usable more universally and enhance the 11550: generated comments in header files. 11551: * i386/linux/configure.ac (linux_DRIVER, linux_DRIVER_nodef): Enhance 11552: DESCRIPTION. 11553: (u1434f): Rename to `u14-34f'. 11554: (smcultra): Rename to `smc-ultra'. 11555: (smcultra32): Rename to `smc-ultra32'. 11556: (hpplus): Rename to `hp-plus'. 11557: (ne2kpci): Rename to `ne2k-pci'. 11558: (viarhine): Rename to `via-rhine'. 11559: (intelgige): Rename to `intel-gige'. 11560: (winbond840): Rename to `winbond-840'. 11561: (AC_PCMCIA_OPTION): Remove function. 11562: (pcmcia-isa): Use `AC_DRIVER' instead of `AC_PCMCIA_OPTION'. 11563: * i386/README-Drivers: Update accordingly. 11564: 11565: 2006-10-03 Thomas Schwinge <[email protected]> 11566: 11567: [task #5941 -- Linker script for GNU Mach] 11568: 11569: * Makefile.in (kernel.o): Remove `$(systype)-objfiles-prepend' hackery. 11570: * i386/Makefile.in (sysdep.a): Likewise. 11571: * i386/Makerules.in: Likewise. 11572: (LDFLAGS-kernel): Point to the linker script. 11573: * i386/i386at/boothdr.S (_start): Don't put into `.text', but into 11574: `.text.start' instead. 11575: * i386/ldscript: Change to put `.text' at 0x100000 and put 11576: `.text.start' first into `.text'. 11577: 11578: * i386/ldscript: New file, copied from `/lib/ldscripts/elf_i386.x' of a 11579: GNU Binutils 2.16.1 installation. 11580: 11581: 2006-09-25 Stefan Siegl <[email protected]> 11582: 11583: * linux/dev/glue/net.c (device_get_status): Reworked to not read 11584: from STATUS. Fill `struct iw_point' correctly if necessary. 11585: 11586: 2006-09-23 Stefan Siegl <[email protected]> 11587: 11588: * i386/linux/configure: Regenerate. 11589: * i386/linux/device-drivers.h.in: Likewise. 11590: 11591: * i386/linux/configure.ac (AC_PCMCIA_OPTION): New function. 11592: (--disable-pcmcia-isa): New configuration option to disable ISA-bus 11593: support in the pcmcia core, which is otherwise enabled now by default. 11594: * doc/mach.texi (Configuration): Briefly document the new configuration 11595: option. 11596: * i386/README-Drivers: Likewise. 11597: 11598: 2006-09-20 Thomas Schwinge <[email protected]> 11599: 11600: * configure: Regenerate. 11601: * i386/configure: Likewise. 11602: * i386/linux/configure: Likewise. 11603: * i386/linux/device-drivers.h.in: Likewise. 11604: 11605: * Drivers.macros (AC_DRIVER_ALIAS): Remove definition. 11606: (AC_DRIVER): Extend to take a `description' parameter and consider 11607: `$enable_default_device_drivers'. 11608: (AC_DRIVER_nodef): New definition. 11609: * configure.in (options kdb, kmsg): Remove redundancy. 11610: * i386/configure.in (option default-device-drivers): New option. 11611: (option lpr): Consider `$enable_default_device_drivers'. 11612: * i386/linux/configure.ac: Rework substantially. Remove all aliases. 11613: Rename some of the device driver options. 11614: (option default-device-drivers): New option. 11615: (linux_DRIVER): Take care about a `description' parameter and don't 11616: invoke AC_DRIVER_ALIAS. 11617: (linux_DRIVER_nodef): New definition. 11618: Adapt all usages of AC_DRIVER and linux_DRIVER to provide a 11619: `description' parameter. 11620: (g_NCR5380, NCR53c406a, eata_dma, wavelan, atp): Change from AC_DRIVER 11621: to AC_DRIVER_nodef to have these device drivers disabled by default. 11622: * doc/mach.texi: Add a note about the outdatedness to the configuration 11623: option table. 11624: * i386/README-Drivers: Update. 11625: 11626: 2006-09-19 Samuel Thibault <[email protected]> 11627: 11628: [bug #17338 -- GNU Mach vs. GCC 4.1] 11629: * i386/i386/seg.h (struct pseudo_descriptor): Pack structure and 11630: move the padding field to the end. 11631: (lgdt): Pass the whole structure to the lgdt assembly command. 11632: (lidt): Likewise. 11633: 11634: 2006-08-06 Thomas Schwinge <[email protected]> 11635: 11636: * DEVELOPMENT: Update. 11637: 11638: 2006-07-31 Stefan Siegl <[email protected]> 11639: 11640: * doc/mach.texi (Configuration): Document the new PCMCIA drivers a bit 11641: more. 11642: * i386/README-Drivers: Likewise. 11643: 11644: 2006-07-27 Thomas Schwinge <[email protected]> 11645: 11646: * i386/linux/configure: Regenerate. 11647: 11648: * i386/linux/configure.ac: Pull in the pcmcia code only if really 11649: needed. 11650: 11651: * doc/mach.texi (Configuration): Very briefly document the new drivers. 11652: * i386/README-Drivers: Likewise. 11653: 11654: * linux/dev/include/linux/types.h (_MACH_SA_SYS_TYPES_H_): Define. 11655: 11656: * i386/linux/configure: Regenerate. 11657: * i386/linux/device-drivers.h.in: Likewise. 11658: 11659: 2006-07-27 Stefan Siegl <[email protected]> 11660: 11661: * i386/linux/configure.ac (pcmcia, wireless): New driver classes. 11662: (i82365, 3c574_cs, 3c589_cs, axnet_cs, fmvj18x_cs, nmclan_cs, pcnet_cs) 11663: (smc91c92_cs, xirc2ps_cs, orinoco_cs): New drivers. 11664: * i386/linux/Makefile.in (linux-pcmcia-cs-modules-files) 11665: (linux-pcmcia-cs-clients-files, linux-pcmcia-cs-wireless-files): New 11666: variables. Add `vpath's to the files locations. 11667: (all-linux-files): Add the three new variables. 11668: (linux-pcmcia-cs-modules-flags, linux-pcmcia-cs-clients-flags) 11669: (linux-pcmcia-cs-wireless-flags): New variables. 11670: (linux-flags): Add code to handle the above files and flags. 11671: 11672: * i386/i386at/i386at_ds_routines.c (emulation_list) 11673: [LINUX_DEV && CONFIG_INET && CONFIG_PCMCIA]: Add the Linux pcmcia 11674: emulation structure. 11675: * linux/dev/glue/net.c: Include <linux/wireless.h>. 11676: (device_get_status): Rewrite function. 11677: (device_set_status): New function. 11678: (linux_net_emulation_ops): Add `device_set_status' at the appropriate 11679: position. 11680: * linux/dev/init/main.c (linux_init) [CONFIG_PCMCIA]: Call pcmcia_init. 11681: 11682: * linux/pcmcia-cs/glue/ds.c: New file. 11683: * linux/pcmcia-cs/glue/pcmcia.c: Likewise. 11684: * linux/pcmcia-cs/glue/pcmcia_glue.h: Likewise. 11685: * linux/pcmcia-cs/glue/wireless_glue.h: Likewise. 11686: 11687: * linux/pcmcia-cs/clients/xirc2ps_cs.c (busy_loop): Replace the code by 11688: a call to __udelay. 11689: * linux/pcmcia-cs/include/linux/init.h: Adapt to our Linux environment. 11690: * linux/pcmcia-cs/include/linux/slab.h: Use `#include', not 11691: `#include_next'. 11692: * linux/pcmcia-cs/include/pcmcia/mem_op.h: Adapt to our Linux 11693: environment and fix GCC 4.0 complaints. 11694: * linux/pcmcia-cs/include/pcmcia/version.h: Always assume that 11695: CONFIG_PCMCIA is not defined. 11696: * linux/pcmcia-cs/modules/cs.c (init_pcmcia_cs): Don't make it static. 11697: * linux/pcmcia-cs/modules/ds.c: Use some magic to avoid duplicate 11698: definition `io_req_t'. 11699: (ds_open, ds_release, ds_read, ds_write, ds_select, ds_poll, ds_fops): 11700: Hide functions if MACH is defined. 11701: Likewise for the module handling code. 11702: (ds_ioctl): Use plain `memcpy' if MACH is defined. 11703: (init_pcmcia_ds): Don't register charcater devices if MACH is defined. 11704: Include "../glue/ds.c". 11705: * linux/pcmcia-cs/modules/i82365.c (test_irq): Adapt to GNU Mach. 11706: (init_i82365): Don't make it static. 11707: * linux/pcmcia-cs/modules/pci_fixup.c (pci_devices): Don't define if 11708: MACH is defined. 11709: * linux/pcmcia-cs/wireless/orinoco.c: Adapt to our Linux environment. 11710: 11711: 2006-07-27 Thomas Schwinge <[email protected]> 11712: 11713: Import a number of files from the pcmcia-cs package, version 3.2.8, 11714: available from <http://pcmcia-cs.sourceforge.net/>. 11715: 11716: * linux/pcmcia-cs/clients/3c574_cs.c: Import file. 11717: * linux/pcmcia-cs/clients/3c589_cs.c: Likewise. 11718: * linux/pcmcia-cs/clients/ax8390.h: Likewise. 11719: * linux/pcmcia-cs/clients/axnet_cs.c: Likewise. 11720: * linux/pcmcia-cs/clients/fmvj18x_cs.c: Likewise. 11721: * linux/pcmcia-cs/clients/nmclan_cs.c: Likewise. 11722: * linux/pcmcia-cs/clients/ositech.h: Likewise. 11723: * linux/pcmcia-cs/clients/pcnet_cs.c: Likewise. 11724: * linux/pcmcia-cs/clients/smc91c92_cs.c: Likewise. 11725: * linux/pcmcia-cs/clients/xirc2ps_cs.c: Likewise. 11726: * linux/pcmcia-cs/include/linux/crc32.h: Likewise. 11727: * linux/pcmcia-cs/include/linux/init.h: Likewise. 11728: * linux/pcmcia-cs/include/linux/slab.h: Likewise. 11729: * linux/pcmcia-cs/include/pcmcia/bulkmem.h: Likewise. 11730: * linux/pcmcia-cs/include/pcmcia/bus_ops.h: Likewise. 11731: * linux/pcmcia-cs/include/pcmcia/ciscode.h: Likewise. 11732: * linux/pcmcia-cs/include/pcmcia/cisreg.h: Likewise. 11733: * linux/pcmcia-cs/include/pcmcia/cistpl.h: Likewise. 11734: * linux/pcmcia-cs/include/pcmcia/cs.h: Likewise. 11735: * linux/pcmcia-cs/include/pcmcia/cs_types.h: Likewise. 11736: * linux/pcmcia-cs/include/pcmcia/driver_ops.h: Likewise. 11737: * linux/pcmcia-cs/include/pcmcia/ds.h: Likewise. 11738: * linux/pcmcia-cs/include/pcmcia/mem_op.h: Likewise. 11739: * linux/pcmcia-cs/include/pcmcia/ss.h: Likewise. 11740: * linux/pcmcia-cs/include/pcmcia/version.h: Likewise. 11741: * linux/pcmcia-cs/modules/bulkmem.c: Likewise. 11742: * linux/pcmcia-cs/modules/cirrus.h: Likewise. 11743: * linux/pcmcia-cs/modules/cistpl.c: Likewise. 11744: * linux/pcmcia-cs/modules/cs.c: Likewise. 11745: * linux/pcmcia-cs/modules/cs_internal.h: Likewise. 11746: * linux/pcmcia-cs/modules/ds.c: Likewise. 11747: * linux/pcmcia-cs/modules/ene.h: Likewise. 11748: * linux/pcmcia-cs/modules/i82365.c: Likewise. 11749: * linux/pcmcia-cs/modules/i82365.h: Likewise. 11750: * linux/pcmcia-cs/modules/o2micro.h: Likewise. 11751: * linux/pcmcia-cs/modules/pci_fixup.c: Likewise. 11752: * linux/pcmcia-cs/modules/ricoh.h: Likewise. 11753: * linux/pcmcia-cs/modules/rsrc_mgr.c: Likewise. 11754: * linux/pcmcia-cs/modules/smc34c90.h: Likewise. 11755: * linux/pcmcia-cs/modules/ti113x.h: Likewise. 11756: * linux/pcmcia-cs/modules/topic.h: Likewise. 11757: * linux/pcmcia-cs/modules/vg468.h: Likewise. 11758: * linux/pcmcia-cs/modules/yenta.h: Likewise. 11759: * linux/pcmcia-cs/wireless/hermes.c: Likewise. 11760: * linux/pcmcia-cs/wireless/hermes.h: Likewise. 11761: * linux/pcmcia-cs/wireless/hermes_rid.h: Likewise. 11762: * linux/pcmcia-cs/wireless/ieee802_11.h: Likewise. 11763: * linux/pcmcia-cs/wireless/orinoco.c: Likewise. 11764: * linux/pcmcia-cs/wireless/orinoco.h: Likewise. 11765: * linux/pcmcia-cs/wireless/orinoco_cs.c: Likewise. 11766: 11767: 2006-07-24 Thomas Schwinge <[email protected]> 11768: 11769: * Makerules.in (%.h %_user.c): Add `%.cli.d' to the target list. 11770: Create these files by specifying `-MD' as a flag for mig and rename the 11771: resulting files as needed. 11772: Include these `*.cli.d' files instead of `*.migu.d' files. 11773: (%_interface.h %_server.c): Likewise for `%.srv.d' / `*.migs.d'. 11774: (%.migs.d, %.migu.d): Remove targets. 11775: * Makefile.in (clean): Adapt to the above. 11776: * i386/Makefile.in (clean): Likewise. 11777: 11778: 2006-06-30 Samuel Thibault <[email protected]> 11779: 11780: * i386/i386at/kd_mouse.c (mouse_char_in, mouse_char) Remove variables. 11781: (mouse_char_index) New variable. 11782: (mouse_handle_byte, kd_mouse_read): Use MOUSEBUF instead of MOUSE_CHAR 11783: for storing incoming command characters. 11784: (kd_mouse_read_reset): New function. 11785: (ibm_ps2_mouse_open, ibm_ps2_mouse_close): Call new kd_mouse_read_reset 11786: function. 11787: 11788: 2006-06-09 Stefan Siegl <[email protected]> 11789: 11790: * linux/dev/include/asm-i386/uaccess.h: New dummy file. 11791: * linux/dev/include/linux/pm.h: Likewise. 11792: * linux/dev/include/linux/threads.h: Likewise. 11793: * linux/src/include/linux/symtab_begin.h: New file from Linux 2.0.40. 11794: * linux/src/include/linux/symtab_end.h: Likewise. 11795: * linux/src/include/linux/module.h: Update from Linux 2.0.40 with minor 11796: changes. 11797: * linux/src/include/linux/list.h: New file from Linux 2.2.26. 11798: * linux/src/include/linux/kcomp.h: Likewise with minor changes. 11799: * linux/src/include/linux/wait.h: Update from Linux 2.2.26. 11800: * linux/src/include/linux/wireless.h: Likewise. 11801: * linux/src/include/asm-i386/bitops.h [__KERNEL__] (ffs, hweight32) 11802: (hweight16, hweight8): Copy from Linux 2.2.26. 11803: 11804: * kern/printf.c (_doprnt): Support printing of pointer addresses. 11805: 11806: 2006-05-14 Roland McGrath <[email protected]> 11807: 11808: [sync from HEAD, 2002-06-17] 11809: * device/if_hdr.h: Replace ancient UCB copyright terms with current 11810: approved UCB terms. 11811: * include/sys/reboot.h: Likewise. 11812: * include/device/disk_status.h: Likewise. 11813: * include/device/tape_status.h: Likewise. 11814: * device/net_io.c: Remove advertising clause from UCB copyright terms. 11815: * include/device/audio_status.h: Likewise. 11816: * include/device/bpf.h: Likewise. 11817: 11818: 2006-05-14 Thomas Schwinge <[email protected]> 11819: 11820: * i386/i386at/autoconf.c (bus_device_init) <lpr> [! LINUX_DEV]: Depend 11821: on `MACH_LPR' instead. 11822: * i386/i386at/lpr.c: Fix obsolescent `#else' / `#endif' syntax. 11823: 11824: 2006-05-12 Stefan Siegl <[email protected]> 11825: 11826: * linux/dev/glue/kmem.c (vfree): Panic if `vmalloc_list_lookup' did 11827: NOT succeed. 11828: 11829: 2006-05-08 Thomas Schwinge <[email protected]> 11830: 11831: * DEVELOPMENT: Document Samuel's patch. 11832: 11833: 2006-05-08 Samuel Thibault <[email protected]> 11834: 11835: [bug #7118 -- GNU Mach can't handle 1G memory] 11836: * i386/i386at/model_dep.c (mem_size_init): Limit memory to what can 11837: actually be used (minus a little extra for virtual mappings). 11838: * i386/intel/pmap.c (pmap_bootstrap): Extend the virtual mapping area 11839: according to memory size for at least being able to manage it. But 11840: look out for wrap and limit it to kernel adresses. Remove duplicate 11841: computing. 11842: 11843: 2006-04-27 Richard Braun <[email protected]> 11844: Manuel Menal <[email protected]> 11845: 11846: * device/if_hdr.h (struct ifnet): Added new members `if_snd_port_list' 11847: and `if_snd_port_list_lock'. 11848: * device/net_io.c: Reworked to improve BPF support. Filters can be 11849: applied to ingress packets, egress packets, or both. 11850: * device/subrs.c: Initialize the `if_snd_port_list' and 11851: `if_snd_port_list_lock'. 11852: * include/device/bpf.h [0]: Enable unconditionally. 11853: Include <sys/types.h>. 11854: (BPF_IN, BPF_OUT): New macros. 11855: * include/device/net_status.h (NETF_TYPE_MASK, NETF_IN, NETF_OUT): New 11856: macros. 11857: (struct net_rcv_msg): New member `sent'. 11858: * linux/dev/glue/net.c: Mark ingress packets as received and inject 11859: egress packets into the packet filters. 11860: 11861: 2006-04-26 Thomas Schwinge <[email protected]> 11862: 11863: * Makefile.in: Replace `make' with `$(MAKE)'. 11864: * i386/Makefile.in: Likewise. 11865: Reported by Leonardo Lopes Pereira <[email protected]>. 11866: 11867: 2006-04-08 Thomas Schwinge <[email protected]> 11868: 11869: * i386/Makefile.in (INCLUDES): Don't add `$(srcdir)/bogus'. 11870: * i386/Makerules.in (INCLUDES): Add 11871: `$(abs_top_srcdir)/$(systype)/bogus'. 11872: Reported by Samuel Thibault <[email protected]>. 11873: 11874: 2006-04-02 Thomas Schwinge <[email protected]> 11875: 11876: * Makerules.in (%_user.c, %_server.c): Those are `.PRECIOUS'. 11877: (%.migs.d, %.migu.d): New targets. 11878: (%.migs_d, %.migu_d, %.migsh_d, %.miguh_d): Remove targets. 11879: Adapt the `include's to the renamed targets. 11880: * Makefile.in (clean): Adapt to the renamed targets. 11881: * i386/Makefile.in (clean): Likewise. 11882: 11883: * i386/Makefile.in (boothdr.o): New target. 11884: 11885: 2006-03-21 Thomas Schwinge <[email protected]> 11886: 11887: * Makefile.in (clean): Also remove `kernel.gz', `kernel.stripped' and 11888: `kernel.stripped.gz'. 11889: 11890: * Makefile.in (kernel.o): Handle `$(systype)-objfiles-prepend'. 11891: * i386/Makefile.in (sysdep.a): Likewise. 11892: * i386/Makerules.in (kernel-objfiles-prepend): Transform variable into 11893: `$(systype)-objfiles-prepend'. 11894: (kernel.o): Remove target. 11895: 11896: 2006-03-20 Thomas Schwinge <[email protected]> 11897: 11898: * DEVELOPMENT: Document the NORMA removal. 11899: 11900: 2006-03-20 Leonardo Lopes Pereira <[email protected]> 11901: 11902: Remove unused and unsupported code. Consult the file `DEVELOPMENT' 11903: for details. 11904: 11905: [patch #4982 -- remove of unused / unsuported functions of 11906: gnumach-1-branch] 11907: * bogus/norma_device.h: Remove file. 11908: * bogus/norma_ether.h: Likewise. 11909: * bogus/norma_ipc.h: Likewise. 11910: * bogus/norma_task.h: Likewise. 11911: * bogus/norma_vm.h: Likewise. 11912: * include/mach/mach_norma.defs: Likewise. 11913: * include/mach/norma_task.defs: Likewise. 11914: * include/mach/norma_special_ports.h: Likewise. 11915: * Makefile.in (bogus-files): Remove `norma_device.h', `norma_ether.h', 11916: `norma_ipc.h', `norma_task.h' and `norma_vm.h'. 11917: (mach-headers): Remove `mach_norma.defs', `norma_task.defs' and 11918: `norma_special_ports.h'. 11919: * device/ds_routines.c: Don't include <norma_device.h> anymore and 11920: adapt all users of NORMA_DEVICE as if it were always defined to `0'. 11921: * device/net_io.c: Likewise for <norma_ether.h>, NORMA_ETHER. 11922: * kern/machine.c: Likewise. 11923: * ddb/db_command.c: Likevise for <norma_ipc.h>, NORMA_IPC. 11924: * ipc/ipc_init.c: Likewise. 11925: * ipc/ipc_kmsg.c: Likewise. 11926: * ipc/ipc_kmsg.h: Likewise. 11927: * ipc/ipc_mqueue.c: Likewise. 11928: * ipc/ipc_notify.c: Likewise. 11929: * ipc/ipc_port.c: Likewise. 11930: * ipc/ipc_port.h: Likewise. 11931: * ipc/ipc_space.c: Likewise. 11932: * ipc/ipc_space.h: Likewise. 11933: * ipc/mach_msg.c: Likewise. 11934: * kern/ast.c: Likewise. 11935: * kern/debug.c: Likewise. 11936: * kern/exception.c: Likewise. 11937: * kern/startup.c: Likewise. 11938: * vm/memory_object.c: Likewise. 11939: * vm/vm_map.c: Likewise. 11940: * kern/ipc_kobject.c: Likewise for <norma_task.h>, NORMA_TASK. 11941: * kern/task.c: Likewise. 11942: * kern/task.h: Likewise. 11943: * ddb/db_command.c: Likewise for <norma_vm.h>, NORMA_VM. 11944: * device/dev_pager.c: Likewise. 11945: * include/mach/mach_types.defs: Likewise. 11946: * include/mach/mach_types.h: Likewise. 11947: * include/mach/memory_object_default.defs: Likewise. 11948: * include/mach/memory_object.defs: Likewise. 11949: * ipc/ipc_kmsg.c: Likewise. 11950: * kern/ipc_kobject.c: Likewise. 11951: * kern/ipc_mig.c: Likewise. 11952: * kern/startup.c: Likewise. 11953: * vm/memory_object.c: Likewise. 11954: * vm/vm_object.c: Likewise. 11955: * vm/vm_object.h: Likewise. 11956: * vm/vm_pageout.c: Likewise. 11957: 11958: 2006-03-19 Thomas Schwinge <[email protected]> 11959: 11960: * DEVELOPMENT: Document the FIPC removal. 11961: 11962: 2006-03-19 Leonardo Lopes Pereira <[email protected]> 11963: 11964: Remove unused and unsupported code. Consult the file `DEVELOPMENT' 11965: for details. 11966: 11967: [patch #4982 -- remove of unused / unsuported functions of 11968: gnumach-1-branch] 11969: * ipc/fipc.c: Remove file. 11970: * ipc/fipc.h: Likewise. 11971: * Makefile.in (ipc-cfiles): Remove `fipc.c'. 11972: (ipc-files): Remove `fipc.h'. 11973: * device/device_init.c [FIPC]: Remove code. 11974: * device/net_io.c [FIPC]: Likewise. 11975: * include/mach/syscall_sw.h [FIPC]: Likewise. 11976: * kern/syscall_sw.c [FIPC]: Likewise. 11977: 11978: 2006-03-15 Thomas Schwinge <[email protected]> 11979: 11980: * configure.in: Check for strip and gzip. 11981: * configure: Regenerated. 11982: * Makerules.in (GZIP, STRIP): New variables. 11983: (%.gz, %.stripped): New targets. 11984: 11985: 2006-03-04 Roland McGrath <[email protected]> 11986: 11987: * Makefile.in (DEFS): Substitute once and use the variable elsewhere. 11988: 11989: 2006-03-04 Samuel Thibault <[email protected]> 11990: 11991: [patch #4737 -- User TSS fixup] 11992: * i386/i386/iopb.c: Include "vm_param.h". 11993: (io_tss_init): Fix address and limit of user TSS. 11994: 11995: 2006-03-04 Thomas Schwinge <[email protected]> 11996: 11997: Remove unused and unsupported code. Consult the file 11998: `DEVELOPMENT' for details. Partly based on suggestions by 11999: Gianluca Guida <[email protected]>. 12000: 12001: * i386/bogus/par.h: Remove file. 12002: * i386/i386at/if_par.c: Likewise. 12003: * i386/i386at/if_par.h: Likewise. 12004: * i386/i386at/conf.c: Don't include <par.h> anymore and adapt all users 12005: of NPAR as if it were always defined to `0'. 12006: * i386/i386at/lpr.c: Likewise. 12007: 12008: * i386/bogus/de6c.h: Remove file. 12009: * i386/i386at/if_de6c.c: Likewise. 12010: * i386/i386at/if_de6c.h: Likewise. 12011: * i386/i386at/if_de6s.S: Likewise. 12012: * i386/i386at/conf.c: Don't include <de6c.h> anymore and adapt all 12013: users of NDE6C as if it were always defined to `0'. 12014: * i386/i386at/lpr.c: Likewise. 12015: 12016: 2006-02-20 Thomas Schwinge <[email protected]> 12017: 12018: Remove unused and unsupported code. Consult the file 12019: `DEVELOPMENT' for details. Partly based on suggestions by 12020: Gianluca Guida <[email protected]>. 12021: 12022: * i386/bogus/blit.h: Remove file. 12023: * i386/i386at/blit.c: Likewise. 12024: * i386/i386at/blitreg.h: Likewise. 12025: * i386/i386at/blituser.h: Likewise. 12026: * i386/i386at/blitvar.h: Likewise. 12027: * i386/i386at/conf.c: Don't include <blit.h> anymore and adapt all 12028: users of NBLIT as if it were always defined to `0'. 12029: * i386/i386at/kd.c: Likewise. 12030: (blit_init): Remove definition. 12031: (blit_present): Likewise and adapt all users as if it were always 12032: defined to `FALSE'. 12033: * i386/Makefile.in (i386at-files): Remove `blit.c'. 12034: 12035: * bogus/net_atm.h: Remove file. 12036: * Makefile.in (bogus-files): Remove `net_atm.h'. 12037: * kern/syscall_sw.c: Don't include <net_atm.h> anymore and adapt all 12038: users of NET_ATM as if it were always defined to `0'. 12039: * kern/task.c: Likewise. 12040: * kern/task.h: Likewise. 12041: * kern/thread.c: Likewise. 12042: * kern/thread.h: Likewise. 12043: 12044: * util/about_to_die.c: Remove file. 12045: * util/config.h: Likewise. 12046: * util/cpu.c: Likewise. 12047: * util/cpu.h: Likewise. 12048: * util/cpu_init.c: Likewise. 12049: * util/cpu_subs.h: Likewise. 12050: * util/debug.h: Likewise. 12051: * util/die.c: Likewise. 12052: * util/phys_mem.h: Likewise. 12053: * util/ref_count.h: Likewise. 12054: * util/cpus.h: Move from here... 12055: * bogus/cpus.h: ... to here. 12056: * Makefile.in (bogus-files): Add `cpus.h'. 12057: (util-cfiles): Only contain `putchar.c' and `puts.c'. 12058: (util-files): Only contain `$(util-cfiles)'. 12059: 12060: * i386/util/NOTES: Remove file. 12061: * i386/util/anno.c: Likewise. 12062: * i386/util/anno.h: Likewise. 12063: * i386/util/cpu.h: Likewise. 12064: * i386/util/cpu_subs.h: Likewise. 12065: * i386/util/cpu_tables_init.c: Likewise. 12066: * i386/util/cpu_tables_load.c: Likewise. 12067: * i386/util/crtn.S: Likewise. 12068: * i386/util/debug.h: Likewise. 12069: * i386/util/gdt.c: Likewise. 12070: * i386/util/gdt.h: Likewise. 12071: * i386/util/gdt_sels.h: Likewise. 12072: * i386/util/i16/debug.h: Likewise. 12073: * i386/util/i16/i16.h: Likewise. 12074: * i386/util/i16/i16_die.c: Likewise. 12075: * i386/util/i16/i16_gdt_init_temp.c: Likewise. 12076: * i386/util/i16/i16_nanodelay.c: Likewise. 12077: * i386/util/i16/i16_puts.c: Likewise. 12078: * i386/util/i16/i16_writehex.c: Likewise. 12079: * i386/util/i386_asm.sym: Likewise. 12080: * i386/util/idt.c: Likewise. 12081: * i386/util/idt.h: Likewise. 12082: * i386/util/idt_inittab.S: Likewise. 12083: * i386/util/idt_inittab.h: Likewise. 12084: * i386/util/ldt.h: Likewise. 12085: * i386/util/trap.h: Likewise. 12086: * i386/util/trap_asm.sym: Likewise. 12087: * i386/util/trap_dump.c: Likewise. 12088: * i386/util/trap_dump_die.c: Likewise. 12089: * i386/util/trap_handler.S: Likewise. 12090: * i386/util/trap_return.S: Likewise. 12091: * i386/util/tss.c: Likewise. 12092: * i386/util/tss.h: Likewise. 12093: * i386/util/tss_dump.c: Likewise. 12094: * i386/util/vm_param.h: Likewise. 12095: 12096: * i386/pc/NOTES: Remove file. 12097: * i386/pc/debug.h: Likewise. 12098: * i386/pc/exit.c: Likewise. 12099: * i386/pc/gdt.h: Likewise. 12100: * i386/pc/gdt_sels.h: Likewise. 12101: * i386/pc/i16/i16_a20.c: Likewise. 12102: * i386/pc/i16/i16_a20.h: Likewise. 12103: * i386/pc/i16/i16_bios.h: Likewise. 12104: * i386/pc/i16/i16_exit.c: Likewise. 12105: * i386/pc/i16/i16_ext_mem.c: Likewise. 12106: * i386/pc/i16/i16_init.c: Likewise. 12107: * i386/pc/i16/i16_main.c: Likewise. 12108: * i386/pc/i16/i16_pic.c: Likewise. 12109: * i386/pc/i16/i16_putchar.c: Likewise. 12110: * i386/pc/i16/i16_raw.c: Likewise. 12111: * i386/pc/i16/i16_raw_test_a20.S: Likewise. 12112: * i386/pc/i16/i16_real_int.S: Likewise. 12113: * i386/pc/i16/i16_switch.h: Likewise. 12114: * i386/pc/i16/phys_mem_collect.c: Likewise. 12115: * i386/pc/i16/phys_mem_sources.h: Likewise. 12116: * i386/pc/i16/raw_exit.c: Likewise. 12117: * i386/pc/i16/raw_real_int.c: Likewise. 12118: * i386/pc/ipl.h: Likewise. 12119: * i386/pc/irq.h: Likewise. 12120: * i386/pc/irq_list.h: Likewise. 12121: * i386/pc/pc_asm.sym: Likewise. 12122: * i386/pc/phys_mem.h: Likewise. 12123: * i386/pc/phys_mem_add.c: Likewise. 12124: * i386/pc/pic.c: Likewise. 12125: * i386/pc/pic.h: Likewise. 12126: * i386/pc/putchar.c: Likewise. 12127: * i386/pc/real.h: Likewise. 12128: * i386/pc/real_tss.c: Likewise. 12129: * i386/pc/real_tss.h: Likewise. 12130: * i386/pc/real_tss_def.S: Likewise. 12131: * i386/pc/rv86/config.h: Likewise. 12132: * i386/pc/rv86/gdt_sels.h: Likewise. 12133: * i386/pc/rv86/idt_irq_init.c: Likewise. 12134: * i386/pc/rv86/rv86_real_int.c: Likewise. 12135: * i386/pc/rv86/rv86_real_int_asm.S: Likewise. 12136: * i386/pc/rv86/rv86_reflect_irq.S: Likewise. 12137: * i386/pc/rv86/rv86_trap_handler.S: Likewise. 12138: * i386/pc/rv86/trap_handler.S: Likewise. 12139: 12140: * i386/imps/Makefile.in: Remove file. 12141: * i386/imps/apic.h: Likewise. 12142: * i386/imps/cpu_number.h: Likewise. 12143: * i386/imps/cpus.h: Likewise. 12144: * i386/imps/imps.c: Likewise. 12145: * i386/imps/impsasm.sym: Likewise. 12146: 12147: * i386/dos/dos_buf.c: Remove file. 12148: * i386/dos/dos_check_err.c: Likewise. 12149: * i386/dos/dos_close.c: Likewise. 12150: * i386/dos/dos_fstat.c: Likewise. 12151: * i386/dos/dos_gettimeofday.c: Likewise. 12152: * i386/dos/dos_io.h: Likewise. 12153: * i386/dos/dos_open.c: Likewise. 12154: * i386/dos/dos_read.c: Likewise. 12155: * i386/dos/dos_rename.c: Likewise. 12156: * i386/dos/dos_seek.c: Likewise. 12157: * i386/dos/dos_tcgetattr.c: Likewise. 12158: * i386/dos/dos_unlink.c: Likewise. 12159: * i386/dos/dos_write.c: Likewise. 12160: * i386/dos/i16/gdt.h: Likewise. 12161: * i386/dos/i16/gdt_sels.h: Likewise. 12162: * i386/dos/i16/i16_crt0.S: Likewise. 12163: * i386/dos/i16/i16_crt0.h: Likewise. 12164: * i386/dos/i16/i16_dos.h: Likewise. 12165: * i386/dos/i16/i16_dos_mem.c: Likewise. 12166: * i386/dos/i16/i16_exit.c: Likewise. 12167: * i386/dos/i16/i16_main.c: Likewise. 12168: * i386/dos/i16/i16_putchar.c: Likewise. 12169: * i386/dos/i16/i16_vcpi.c: Likewise. 12170: * i386/dos/i16/i16_xms.c: Likewise. 12171: * i386/dos/i16/idt.h: Likewise. 12172: * i386/dos/i16/phys_mem_sources.h: Likewise. 12173: * i386/dos/putchar.c: Likewise. 12174: 12175: * chips/atm.c: Remove file. 12176: * chips/atmreg.h: Likewise. 12177: * chips/audio.c: Likewise. 12178: * chips/audio_config.h: Likewise. 12179: * chips/audio_defs.h: Likewise. 12180: * chips/bt431.c: Likewise. 12181: * chips/bt431.h: Likewise. 12182: * chips/bt455.c: Likewise. 12183: * chips/bt455.h: Likewise. 12184: * chips/bt459.c: Likewise. 12185: * chips/bt459.h: Likewise. 12186: * chips/bt478.c: Likewise. 12187: * chips/bt478.h: Likewise. 12188: * chips/build_font.c: Likewise. 12189: * chips/cfb_hdw.c: Likewise. 12190: * chips/cfb_misc.c: Likewise. 12191: * chips/dc503.c: Likewise. 12192: * chips/dc503.h: Likewise. 12193: * chips/dtop.h: Likewise. 12194: * chips/dtop_handlers.c: Likewise. 12195: * chips/dtop_hdw.c: Likewise. 12196: * chips/dz_7085.h: Likewise. 12197: * chips/dz_defs.h: Likewise. 12198: * chips/dz_hdw.c: Likewise. 12199: * chips/eccreg.h: Likewise. 12200: * chips/fb_hdw.c: Likewise. 12201: * chips/fb_misc.c: Likewise. 12202: * chips/fdc_82077.h: Likewise. 12203: * chips/fdc_82077_hdw.c: Likewise. 12204: * chips/frc.c: Likewise. 12205: * chips/ims332.c: Likewise. 12206: * chips/ims332.h: Likewise. 12207: * chips/isdn_79c30.h: Likewise. 12208: * chips/isdn_79c30_hdw.c: Likewise. 12209: * chips/kernel_font.c: Likewise. 12210: * chips/kernel_font.data: Likewise. 12211: * chips/lance.c: Likewise. 12212: * chips/lance.h: Likewise. 12213: * chips/lance_mapped.c: Likewise. 12214: * chips/lk201.c: Likewise. 12215: * chips/lk201.h: Likewise. 12216: * chips/mc_clock.c: Likewise. 12217: * chips/mc_clock.h: Likewise. 12218: * chips/mouse.c: Likewise. 12219: * chips/nc.c: Likewise. 12220: * chips/nc.h: Likewise. 12221: * chips/nw.h: Likewise. 12222: * chips/nw_mk.c: Likewise. 12223: * chips/nw_mk.h: Likewise. 12224: * chips/pm_defs.h: Likewise. 12225: * chips/pm_hdw.c: Likewise. 12226: * chips/pm_misc.c: Likewise. 12227: * chips/scc_8530.h: Likewise. 12228: * chips/scc_8530_hdw.c: Likewise. 12229: * chips/screen.c: Likewise. 12230: * chips/screen.h: Likewise. 12231: * chips/screen_defs.h: Likewise. 12232: * chips/screen_switch.c: Likewise. 12233: * chips/screen_switch.h: Likewise. 12234: * chips/serial_console.c: Likewise. 12235: * chips/serial_defs.h: Likewise. 12236: * chips/sfb_hdw.c: Likewise. 12237: * chips/sfb_misc.c: Likewise. 12238: * chips/spans.c: Likewise. 12239: * chips/spans.h: Likewise. 12240: * chips/tca100.c: Likewise. 12241: * chips/tca100.h: Likewise. 12242: * chips/tca100_if.c: Likewise. 12243: * chips/tca100_if.h: Likewise. 12244: * chips/vs42x_rb.h: Likewise. 12245: * chips/xcfb_hdw.c: Likewise. 12246: * chips/xcfb_misc.c: Likewise. 12247: * chips/xcfb_monitor.h: Likewise. 12248: * Makefile.in (chips-files): Only contain `busses.c' and `busses.h'. 12249: * kern/syscall_sw.c: Don't include <chips/nw_mk.h> anymore. 12250: 12251: * i386/i386at/asm_startup.h: Remove file. 12252: * i386/i386at/phys_mem_grab_page.c: Likewise. 12253: * i386/Makefile.in (i386at-files): Remove `phys_mem_grab_page.c'. 12254: 12255: * i386/bogus/evc.h: Remove file. 12256: * i386/i386at/kd.c: Don't include <evc.h> anymore and adapt all users 12257: of NEVC as if it were always defined to `0'. 12258: (evc1init): Remove definition and adapt all users as if it were always 12259: defined to `FALSE'. 12260: 12261: * i386/bogus/nscsi.h: Remove file. 12262: * i386/i386at/model_dep.c: Don't include <nscsi.h> anymore and adapt 12263: all users of NSCSI as if it were always defined to `0'. 12264: (use_all_mem): Don't define anymore and adapt all users as if it were 12265: always defined to `1'. 12266: (NBBY, NBPW, DMA_MAX): Remove macros. 12267: (alloc_dma_mem): Remove function. 12268: 12269: * i386/bogus/asc.h: Remove file. 12270: * i386/bogus/aha.h: Likewise. 12271: * i386/bogus/eaha.h: Likewise. 12272: * i386/bogus/sbic.h: Likewise. 12273: * i386/bogus/sci.h: Likewise. 12274: * i386/bogus/sii.h: Likewise. 12275: * i386/bogus/siop.h: Likewise. 12276: * i386/i386at/eisa.h: Likewise. 12277: * scsi/adapters/README: Likewise. 12278: * scsi/adapters/scsi_33C93.h: Likewise. 12279: * scsi/adapters/scsi_33C93_hdw.c: Likewise. 12280: * scsi/adapters/scsi_5380.h: Likewise. 12281: * scsi/adapters/scsi_5380_hdw.c: Likewise. 12282: * scsi/adapters/scsi_53C700.h: Likewise. 12283: * scsi/adapters/scsi_53C700_hdw.c: Likewise. 12284: * scsi/adapters/scsi_53C94.h: Likewise. 12285: * scsi/adapters/scsi_53C94_hdw.c: Likewise. 12286: * scsi/adapters/scsi_7061.h: Likewise. 12287: * scsi/adapters/scsi_7061_hdw.c: Likewise. 12288: * scsi/adapters/scsi_89352.h: Likewise. 12289: * scsi/adapters/scsi_89352_hdw.c: Likewise. 12290: * scsi/adapters/scsi_aha15.h: Likewise. 12291: * scsi/adapters/scsi_aha15_hdw.c: Likewise. 12292: * scsi/adapters/scsi_aha17_hdw.c: Likewise. 12293: * scsi/adapters/scsi_dma.h: Likewise. 12294: * scsi/adapters/scsi_user_dma.c: Likewise. 12295: * scsi/adapters/scsi_user_dma.h: Likewise. 12296: * scsi/compat_30.h: Likewise. 12297: * scsi/disk_label.c: Likewise. 12298: * scsi/mapped_scsi.c: Likewise. 12299: * scsi/mapped_scsi.h: Likewise. 12300: * scsi/pc_scsi_label.c: Likewise. 12301: * scsi/rz.c: Likewise. 12302: * scsi/rz.h: Likewise. 12303: * scsi/rz_audio.c: Likewise. 12304: * scsi/rz_cpu.c: Likewise. 12305: * scsi/rz_disk.c: Likewise. 12306: * scsi/rz_disk_bbr.c: Likewise. 12307: * scsi/rz_host.c: Likewise. 12308: * scsi/rz_labels.h: Likewise. 12309: * scsi/rz_tape.c: Likewise. 12310: * scsi/scsi.c: Likewise. 12311: * scsi/scsi.h: Likewise. 12312: * scsi/scsi2.h: Likewise. 12313: * scsi/scsi_alldevs.c: Likewise. 12314: * scsi/scsi_comm.c: Likewise. 12315: * scsi/scsi_cpu.c: Likewise. 12316: * scsi/scsi_defs.h: Likewise. 12317: * scsi/scsi_disk.c: Likewise. 12318: * scsi/scsi_endian.h: Likewise. 12319: * scsi/scsi_jukebox.c: Likewise. 12320: * scsi/scsi_optical.c: Likewise. 12321: * scsi/scsi_printer.c: Likewise. 12322: * scsi/scsi_rom.c: Likewise. 12323: * scsi/scsi_scanner.c: Likewise. 12324: * scsi/scsi_tape.c: Likewise. 12325: * scsi/scsi_worm.c: Likewise. 12326: * i386/i386at/autoconf.c: Don't include <aha.h> and <eaha.h> anymore 12327: and adapt all users of NAHA and NEAHA as if it were always defined to 12328: `0'. 12329: * i386/i386at/conf.c: Likewise. 12330: * Makefile.in (scsi-files): Remove variable and all users of it. 12331: 12332: * i386/bogus/wt.h: Remove file. 12333: * i386/i386at/autoconf.c: Don't include <wt.h> anymore and adapt all 12334: users of NWT as if it were always defined to `0'. 12335: * i386/i386at/conf.c: Likewise. 12336: 12337: * i386/bogus/hpp.h: Remove file. 12338: * i386/bogus/ul.h: Likewise. 12339: * i386/bogus/wd.h: Likewise. 12340: * i386/i386at/gpl/if_hpp.c: Likewise. 12341: * i386/i386at/gpl/if_ns.c: Likewise. 12342: * i386/i386at/gpl/if_nsreg.h: Likewise. 12343: * i386/i386at/gpl/if_ul.c: Likewise. 12344: * i386/i386at/gpl/if_wd.c: Likewise. 12345: * i386/i386at/autoconf.c: Don't include <hpp.h>, <ul.h> and <wd.h> 12346: anymore and adapt all users of NHPP, NUL and NWD as if they were always 12347: defined to `0'. 12348: * i386/i386at/conf.c: Likewise. 12349: 12350: * i386/bogus/at3c501.h: Remove file. 12351: * i386/i386at/if_3c501.c: Likewise. 12352: * i386/i386at/if_3c501.h: Likewise. 12353: * i386/i386at/autoconf.c: Don't include <at3c501.h> anymore and adapt 12354: all users of NAT3C501 as if it were always defined to `0'. 12355: * i386/i386at/conf.c: Likewise. 12356: 12357: * i386/bogus/ns8390.h: Remove file. 12358: * i386/i386at/ds8390.h: Likewise. 12359: * i386/i386at/if_3c503.h: Likewise. 12360: * i386/i386at/if_ns8390.c: Likewise. 12361: * i386/i386at/if_ns8390.h: Likewise. 12362: * i386/i386at/if_wd8003.h: Likewise. 12363: * i386/i386at/autoconf.c: Don't include <ns8390.h> anymore and adapt 12364: all users of NNS8390 as if it were always defined to `0'. 12365: * i386/i386at/conf.c: Likewise. 12366: 12367: * i386/bogus/ne.h: Remove file. 12368: * i386/i386at/if_ne.c: Likewise. 12369: * i386/i386at/if_nereg.h: Likewise. 12370: * i386/i386at/autoconf.c: Don't include <ne.h> anymore and adapt all 12371: users of NNE as if it were always defined to `0'. 12372: * i386/i386at/conf.c: Likewise. 12373: 12374: * i386/bogus/pc586.h: Remove file. 12375: * i386/i386at/i82586.h: Likewise. 12376: * i386/i386at/if_pc586.c: Likewise. 12377: * i386/i386at/if_pc586.h: Likewise. 12378: * i386/i386at/autoconf.c: Don't include <pc586.h> anymore and adapt all 12379: users of NPC586 as if it were always defined to `0'. 12380: * i386/i386at/conf.c: Likewise. 12381: 12382: * i386/bogus/fd.h: Remove file. 12383: * i386/i386at/fd.c: Likewise. 12384: * i386/i386at/fdreg.h: Likewise. 12385: * i386/i386at/nfd.c: Likewise. 12386: * i386/i386at/nfdreg.h: Likewise. 12387: * i386/Makefile.in (i386at-files): Remove `fd.c'. 12388: * i386/i386at/autoconf.c: Don't include <fd.h> anymore and adapt all 12389: users of NFD as if it were always defined to `0'. 12390: * i386/i386at/conf.c: Likewise. 12391: 12392: * i386/bogus/hd.h: Remove file. 12393: * i386/i386at/nhd.c: Likewise. 12394: * i386/i386at/nhdreg.h: Likewise. 12395: * i386/i386at/autoconf.c: Don't include <hd.h> anymore and adapt all 12396: users of NHD as if it were always defined to `0'. 12397: * i386/i386at/conf.c: Likewise. 12398: 12399: * DEVELOPMENT: New file. 12400: 12401: 2006-02-05 Thomas Schwinge <[email protected]> 12402: 12403: * Makerules.in: Don't set no_deps to true if MAKECMDGOALS is empty. 12404: 12405: 2006-02-03 Thomas Schwinge <[email protected]> 12406: 12407: * Makerules.in: Set no_deps to true if we don't need the dependency 12408: files. 12409: * i386/linux/Makefile.in: Do care about linux-flags if no_deps is true; 12410: reverting the change from 2006-01-31. 12411: 12412: * Makefile.in: Include Makerules through top_builddir, so that it will 12413: automatically be rebuilt if needed. 12414: 12415: * Makerules.in (CFLAGS): Added -fno-strict-aliasing. 12416: * i386/linux/Makefile.in (linux-gen-flags): Likewise. 12417: 12418: 2006-02-02 Sergio Lopez <[email protected]> 12419: 12420: * linux/src/drivers/scsi/eata_pio.c (eata_pio_detect): Fix a 12421: off-by-one error when probing. 12422: * linux/src/drivers/scsi/eata_dma.c (eata_detect): Likewise. 12423: * linux/dev/drivers/scsi/eata_dma.c (eata_detect): Likewise. 12424: 12425: * linux/src/drivers/net/apricot.c (apricot_probe): Increase eth_addr 12426: size to 8 so we do not trash the stack when reading from the io ports. 12427: 12428: 2006-02-02 Thomas Schwinge <[email protected]> 12429: 12430: * Makerules.in: Move a comment ... 12431: * Makefile.in: ... here. 12432: 12433: 2006-02-01 Thomas Schwinge <[email protected]> 12434: 12435: * linux/dev/drivers/block/genhd.c (add_bsd_partition): Only define if 12436: both MACH and CONFIG_BSD_DISKLABEL are defined. 12437: Reported by Matheus Morais <[email protected]>. 12438: 12439: 2006-01-31 Thomas Schwinge <[email protected]> 12440: 12441: Cleanup of GNU Mach's build system. The system dependent parts are now 12442: handled by the respective Makefile and no longer by the top-level one. 12443: 12444: * configure, i386/configure, i386/linux/configure, linux/configure: 12445: Regenerated. 12446: 12447: * Makefile.in: Various cleanups. 12448: (mach/machine, mach_machine): Targets removed. 12449: (AWK, CC, CFLAGS, CPPFLAGS, DEFINES, INCLUDES, INSTALL, INSTALL_DATA) 12450: (INSTALL_PROGRAM, LD, MIG, MIGFLAGS, NM): Variables moved into 12451: Makerules.in. 12452: Do not include $(sysdep)/Makefrag anymore. 12453: (all, check, clean, distclean, mostlyclean, maintainer-clean, install) 12454: (install-headers, install-kernel): Recurse into the system dependent 12455: subdirectory. 12456: (check): Add a basic test using mbchk. 12457: (clean, distclean): Be more explicit in what to delete. 12458: ($(systype)/%): New target. 12459: (kernel.o): Incorporate the system dependent archive. 12460: (installed-sysdep-headers-names, $(installed-sysdep-headers-names)): 12461: Variable and target moved into the system dependent Makefile.in. 12462: (install-headers, mkheaderdirs): Don't care for the system dependent 12463: header files. 12464: (%.symc, %.symc.o, %.h, %_user.c, %_interface.h, %_server.c): Targets 12465: moved into Makerules.in. 12466: Inclusion of dependency files: Likewise. 12467: (%.migs_d, %.migu_d, %.migsh_d, %.miguh_d, make-deps, %.d): Likewise. 12468: Include Makerules. 12469: * Makerules.in: New file, mainly based on Makefile.in. 12470: * configure.in: Do not substitute cross_compiling and not explicitly 12471: substitute LDFLAGS. 12472: Check for cpp, ranlib, ar and mbchk. 12473: Care for the mach/machine symbolic link. 12474: Add Makerules as a config file. 12475: * i386/Makefile.in: Various cleanups. 12476: Merge i386/Makefrag and the system dependent stuff from Makefile.in 12477: into this file. 12478: (all, check, install, install-headers, install-kernel): Recurse into 12479: the system dependent subdirectory. 12480: (sysdep.o): transformed to the new target sysdep.a. 12481: (linux/linux.o): Target removed. 12482: (clean, distclean): Be more explicit in what to delete. 12483: (linux/%): New target. 12484: (install-headers): Install the system dependent header files. 12485: (mkheaderdirs): New target. 12486: Include the top-level Makerules. 12487: * i386/Makefrag: File removed. 12488: * i386/Makerules.in: New file. 12489: * i386/configure.in: Synchronize AC_INIT to the top-level definition. 12490: Do not check for ld and make. 12491: Add Makerules as a config file. 12492: * i386/linux/Makefile.in: Various cleanups. 12493: Replace linux-objs with objfiles. 12494: (check, install, install-headers, install-kernel): New empty targets. 12495: Don't care about linux-flags if no_deps is true. 12496: Inclusion of dependency files removed and instead... 12497: Include the top-level Makerules. 12498: * i386/linux/Makerules.in: New file. 12499: * i386/linux/configure.ac: Synchronize AC_INIT to the top-level 12500: definition. 12501: Do not check for gcc and ld. 12502: Do not explicitly substitute LDFLAGS. 12503: Add Makerules as a config file. 12504: * linux/configure.in: Synchronize AC_INIT to the top-level definition. 12505: Do not create directories using a dummy file. 12506: * linux/dummy.in: File removed. 12507: 12508: * ddb/db_access.h: Include <machine/vm_param.h> instead of 12509: "vm_param.h". 12510: * kern/bootstrap.c: Likewise. 12511: * kern/thread.c: Likewise. 12512: * vm/vm_kern.c: Likewise. 12513: * vm/vm_object.c: Likewise. 12514: * vm/vm_resident.c: Likewise. 12515: 12516: 2006-01-26 Thomas Schwinge <[email protected]> 12517: 12518: * config.guess: Updated from the canonical source. 12519: * config.sub: Likewise. 12520: 12521: 2006-01-26 Jeroen Dekkers <[email protected]> 12522: 12523: * i386/i386/locore.S (trap_push_segs): Switch fs and gs to kernel 12524: data segment too. 12525: (syscall_entry_2): Likewise. 12526: * i386/i386/user_ldt.c (i386_set_ldt): Always copy the master LDT 12527: when there is no old user LDT. 12528: 12529: 2006-01-26 Samuel Thibault <[email protected]> 12530: 12531: * linux/dev/arch/i386/kernel/irq.c (linux_intr): Disable interrupts 12532: if the driver requested it through request_irq(). 12533: 12534: * linux/dev/drivers/block/ide.c (read_intr): Set the IRQ handler before 12535: issuing a request. 12536: (write_intr): Likewise. 12537: (multwrite_intr): Likewise. 12538: 12539: 2006-01-26 Thomas Schwinge <[email protected]> 12540: 12541: * i386/linux/Makefile.in: Automatically recreate the `Makefile'. 12542: 12543: 2006-01-23 Thomas Schwinge <[email protected]> 12544: 12545: * i386/linux/configure: Regenerated. 12546: 12547: * i386/linux/configure.ac: Only add a AC_DRIVER_ALIAS if it really is a 12548: alias. 12549: 12550: 2006-01-22 Thomas Schwinge <[email protected]> 12551: 12552: * doc/mach.texi (Configuration): Document the recently added drivers. 12553: * i386/README-Drivers: Likewise. 12554: 12555: * configure, i386/configure, i386/linux/configure, linux/configure, 12556: i386/linux/device-drivers.h.in: Regenerated. 12557: 12558: * linux/src/drivers/net/ne2k-pci.c: Resolve conflicts. 12559: 12560: 2006-01-22 Guillem Jover <[email protected]> 12561: 12562: * i386/linux/configure.ac: Renamed winbond-840 driver to winbond_840. 12563: Enable the starfire, intel_gige and natsemi network drivers. Remove 12564: "CONFIG_" from cb_chim, starfire, sundance, winbond840, hamachi, 12565: natsemi, myson803 and ns820 driver declarations. Replace INTER_GIGE 12566: with INTEL_GIGE. 12567: * linux/dev/drivers/net/Space.c: Add conditional probes for natsemi, 12568: ns820, winbond840, hamachi, sundance, starfire, myson803 and intel-gige 12569: drivers. 12570: 12571: * linux/src/include/asm-i386/cache.h: New file from linux 2.2.26. 12572: * linux/dev/include/linux/malloc.h: Include <asm/cache.h>. 12573: 12574: * linux/src/drivers/net/ns820.c (netsami_drv_id): Renamed to ... 12575: (ns820_drv_id): ... this. Fix all callers. 12576: * linux/src/drivers/net/intel-gige.c 12577: (skel_netdev_probe): Renamed to ... 12578: (igige_probe): ... this. 12579: * linux/dev/drivers/net/eepro100.c: Remove obsoleted file. 12580: * linux/src/drivers/net/eepro100.c (pci_id_tbl): Add PCI ID's from 12581: linux-2.6.14-rc4. 12582: 12583: 2006-01-22 Alfred M. Szmidt <[email protected]> 12584: 12585: * i386/linux/configure.ac: Added `pci-scan.o' to the network driver 12586: class. (ns820, myson803, sundance, winbond-840, hamachi): New drivers. 12587: * i386/linux/Makefile.in (linux-net-files): Added `cb_shim.c', 12588: `hamachi.c', `intel-gige.c', `myson803.c', `natsemi.c', `ns820.c', 12589: `starfire.c', `sundance.c', `winbond-840.c' and `pci-scan.c'. 12590: 12591: * linux/dev/include/linux/modversions.h: New file. 12592: 12593: * linux/src/drivers/net/cb_shim.c, linux/src/drivers/net/hamachi.c, 12594: linux/src/drivers/net/intel-gige.c, linux/src/drivers/net/myson803.c, 12595: linux/src/drivers/net/natsemi.c, linux/src/drivers/net/ns820.c, 12596: linux/src/drivers/net/starfire.c, linux/src/drivers/net/sundance.c, 12597: linux/src/drivers/net/winbond-840.c, 12598: linux/src/drivers/net/kern_compat.h, linux/src/drivers/net/pci-scan.c, 12599: linux/src/drivers/net/pci-scan.h: New files from netdrivers 3.5 package 12600: (http://www.scyld.com/network). 12601: 12602: * linux/src/drivers/net/3c59x.c, linux/src/drivers/net/eepro100.c, 12603: linux/src/drivers/net/epic100.c, linux/src/drivers/net/ne2k-pci.c, 12604: linux/src/drivers/net/rtl8139.c, linux/src/drivers/net/tulip.c, 12605: linux/src/drivers/net/via-rhine.c, linux/src/drivers/net/yellowfin.c: 12606: Updated files from netdrivers 3.5 (http://www.scyld.com/network). 12607: 12608: 2006-01-22 Thomas Schwinge <[email protected]> 12609: 12610: * linux/src/drivers/net/ne2k-pci.c (ne_block_input, ne_block_output): 12611: Fix previous patch. 12612: 12613: 2005-07-12 Guillem Jover <[email protected]> 12614: 12615: * configure: Regenerated. 12616: * i386/configure: Regenerated. 12617: 12618: * Drivers.macros (AC_DRIVER_CLASS): Use AH_TEMPLATE. 12619: (AC_DRIVER): Set the value for the AC_DEFINE and AC_DEFINE_UNQUOTED 12620: to 1. 12621: 12622: * aclocal.m4 (AC_PROG_CC_LOCAL, AC_PROG_CC_WORKS_LOCAL): Removed. 12623: * version.m4: New file. 12624: * Makefile.in: Use PACKAGE_VERSION, not VERSION. 12625: * doc/Makefile.in: Likewise. 12626: * version.c.in: Likewise. Use PACKAGE_NAME, not "GNUmach". 12627: * i386/linux/Makefile.in (configure): Change its source to 12628: configure.ac. 12629: 12630: * aclocal.m4: Add missing quotations. 12631: * Drivers.macros: Likewise. 12632: * configure.in: Likewise. Include version.m4 and use PACKAGE and 12633: VERSION m4 macros from it. 12634: * i386/configure.in: Likewise. 12635: (AC_INIT): Use new syntax and move source check to AC_CONFIG_SRCDIR. 12636: * i386/linux/configure.ac: Likewise. Use m4_sinclude, not sinclude. 12637: * linux/configure.in: Likewise. 12638: 12639: * i386/configure.in: Update AC_DEFINE to the new three argument form. 12640: * i386/linux/configure.ac: Move AC_DEFINE inside AC_ARG_ENABLE. 12641: 12642: * configure.in: Use AC_CONFIG_LINKS, not AC_LINK_FILES. 12643: * linux/configure.in: Likewise. 12644: 12645: * i386/configure.in: Call AC_CONFIG_FILES and use the new form of 12646: AC_OUTPUT. 12647: * i386/linux/configure.ac: Likewise. 12648: * linux/configure.in: Likewise 12649: 12650: * configure.in: Use AS_HELP_STRING in AC_ARG_ENABLE help strings. 12651: * Drivers.macros: Likewise. 12652: * i386/configure.in: Likewise. 12653: * i386/linux/configure.ac: Likewise. 12654: 12655: 2005-07-12 Neal H. Walfield <[email protected]> 12656: 12657: * configure.in: Update to use autoconf 2.57. 12658: Do not error out if host_os is not GNU. 12659: Update AC_DEFINEs to the required three argument form. 12660: Don't call AC_CHECK_TOOL(CC, gcc) and AC_PROG_CC_LOCAL, just use 12661: AC_PROG_CC. 12662: AC_SUBST(LDFLAGS). 12663: Refactor AC_CONFIG_SUBDIRS to not do variable substitution. 12664: Call AC_CONFIG_FILES and use the new form of AC_OUTPUT. 12665: * i386/configure.in: Require autoconf 2.57. 12666: * linux/configure.in: Likewise. 12667: * i386/linux/Drivers.in: Move from here... 12668: * i386/linux/configure.ac: ... to here to conform to the 12669: environment autoreconf expects. 12670: (hurd_host_CPU): New macro. 12671: Call AC_PROG_CC, not AC_PROG_CC_LOCAL. 12672: AC_SUBST(LD_FLAGS). 12673: (flashpoint): Update AC_DEFINE to the new three argument form. 12674: * Drivers.macros (AC_DRIVER): Update AC_DEFINE to the new three 12675: argument form. 12676: 12677: 2005-05-24 Alfred M. Szmidt <[email protected]> 12678: 12679: * i386/include/mach/i386/asm.h (END): New macro. 12680: 12681: * i386/include/mach/i386/syscall_sw.h (kernel_trap): Call END. 12682: 12683: 2005-05-28 Alfred M. Szmidt <[email protected]> 12684: 12685: * linux/src/drivers/scsi/u14-34f.c (ihdlr): Silence gcc 4.x 12686: errors. 12687: * linux/src/drivers/scsi/qlogicisp.h: Likewise. 12688: * linux/src/drivers/scsi/advansys.c: Likewise. 12689: (advansys_reset, advansys_interrupt, asc_scsi_done_list, 12690: (asc_enqueue, asc_dequeue, asc_dequeue_list, asc_rmqueue, 12691: (asc_isqueued): Likewise. 12692: * linux/src/drivers/scsi/53c78xx.c (NCR53c7xx_queue_command): 12693: Likewise. 12694: * linux/src/drivers/net/ne2k-pci.c (ne_block_input) 12695: (ne_block_output): Likewise. 12696: * linux/src/drivers/net/hp100.c (__initfunc): Likewise. 12697: * linux/src/drivers/net/3c507.c (el16_interrupt): Likewise. 12698: * linux/dev/drivers/scsi/seagate.c (seagate_st0x_queue_command): 12699: Likewise. 12700: 12701: 2005-05-26 Alfred M. Szmidt <[email protected]> 12702: 12703: * device/cons.h (cn_tab) [KERNEL]: Removed extern declaration. 12704: 12705: * linux/dev/include/linux/fs.h (super_blocks): Declare as an 12706: pointer. 12707: 12708: 2005-02-10 Guillem Jover <[email protected]> 12709: 12710: * linux/dev/glue/block.c (rdwr_partial): Remove leftover assert. 12711: 12712: 2005-01-22 Guillem Jover <[email protected]> 12713: 12714: * linux/dev/include/linux/skbuff.h (skb_put, skb_push): Fix errors 12715: for deprecated use of labels at end of compound statements. 12716: * i386/i386/fpe_linkage.c (enable_fpe): Declare prototype. 12717: 12718: 2005-01-22 Guillem Jover <[email protected]> 12719: 12720: * linux/src/drivers/scsi/qlogicisp_asm.c: Remove file with binary 12721: only firmware. 12722: * linux/src/drivers/scsi/qlogicisp.c: Do not include "qlogicisp_asm.c". 12723: (RELOAD_FIRMWARE): Set to 0. 12724: (risc_code_addr01): New variable from qlogicisp_asm.c. 12725: * linux/Files: Remove linux/src/drivers/scsi/qlogicisp_asm.c. 12726: 12727: 2004-09-08 Neal H. Walfield <[email protected]> 12728: 12729: * linux/dev/kernel/printk.c: Include <kern/assert.h>. 12730: (printk): Use vsnprintf, not linux_vsprintf to avoid buffer 12731: overruns. 12732: 12733: * kern/printf.c (struct vsnprintf_cookie): New structure. 12734: (snputc): New function. 12735: (vsnprintf): Likewise. 12736: 12737: 2004-11-22 Guillem Jover <[email protected]> 12738: 12739: * bogus/mach_assert.h: Change #ifdef DEBUG to #ifndef NDEBUG 12740: for assert et al. 12741: * kern/assert.h: Likewise. 12742: * kern/debug.h: Likewise. 12743: * util/debug.h: Likewise. 12744: 12745: * i386/i386/debug.h: Move dump_ss definition out of [DEBUG]. 12746: * linux/dev/glue/block.c (rdwr_full): Remove invalid assert. 12747: 12748: 2004-09-07 Neal H. Walfield <[email protected]> 12749: 12750: * linux/dev/glue/block.c (__brelse): Unconditionally kfree BH. 12751: (getblk): Unconditionally kalloc BH. 12752: 12753: * kern/kalloc.c [!NDEBUG] (kalloc_init_called): New static 12754: variable. 12755: (kalloc_init): Assert that kalloc_init_called is zero. 12756: [! NDEBUG] Set kalloc_init_called to 1 on success. 12757: (kalloc): Assert that kalloc_init_called is non-zero. 12758: (kget): Likewise. 12759: (kfree): Likewise. 12760: 12761: 2004-11-22 Guillem Jover <[email protected]> 12762: 12763: * i386/i386/locore.S (discover_x86_cpu_type): Enable function. 12764: Enable ID flag for Cyrix CPU. Use %ebp to save the stack pointer. 12765: Restore EFLAGS just after its last usage. 12766: * i386/i386at/model_dep.c (c_boot_entry): Enable use of 12767: discover_x86_cpu_type. Remove hardcoded cpu_type assignment. 12768: * i386/include/mach/i386/eflags.h 12769: (EFL_VI, EFL_VIP): New bits. 12770: (EFL_AC, EFL_ID): Bits finally added. 12771: 12772: 2004-10-26 Guillem Jover <[email protected]> 12773: 12774: * i386/i386/fpe.b: Remove binary without source. 12775: * i386/i386/fpe.b_elf: Likewise. 12776: * i386/i386/fpe_linkage.c: Disable the code if [! FPE]. 12777: * i386/bogus/fpe.h: Add comment about not having an fpe implementation. 12778: * i386/Makefrag (objfiles): Do not add fpe.o. 12779: Remove targets to generate fpe.o. 12780: 12781: 2004-02-29 Marcus Brinkmann <[email protected]> 12782: 12783: * NEWS: Add things that changed so far since 1.3. 12784: 12785: 2004-02-02 Marco Gerards <[email protected]> 12786: 12787: * i386/i386at/kd.c (kdinit): Initialize the input buffer. 12788: 12789: * i386/i386at/kd.h (KDSETLEDS): New macro. 12790: * i386/i386at/kd_event.c (kbdsetstat): Handle KDSETLEDS here to 12791: set the keyboard LEDs state. 12792: 12793: 2004-01-19 Marco Gerards <[email protected]> 12794: 12795: * linux/dev/glue/block.c (init_partition): Don't check for BSD 12796: partitions if the DOS partition is too small. 12797: 12798: 2004-01-16 Marco Gerards <[email protected]> 12799: 12800: * linux/dev/glue/block.c (device_get_status): Correctly calculate 12801: the number of blocks. 12802: 12803: 2004-01-15 Alfred M. Szmidt <[email protected]> 12804: 12805: * linux/dev/include/asm-i386/string.h (memscan): Don't use 12806: multi-line string literals for asm(). 12807: * linux/dev/include/asm-i386/segment.h (__generic_memcpy_tofs) 12808: (__generic_memcpy_fromfs): Likewise. 12809: * linux/src/include/asm-i386/floppy.h (floppy_hardint): Likewise. 12810: * i386/i386/proc_reg.h (flush_instr_queue): Likewise. 12811: * i386/i386/gdt.c (gdt_init): Likewise. 12812: 12813: * linux/src/drivers/scsi/aic7xxx.c: Updated from Linux 2.0.39 12814: * linux/src/drivers/scsi/aic7xxx.h: Likewise. 12815: * linux/src/drivers/scsi/aic7xxx_proc.c: Likewise. 12816: * linux/src/drivers/scsi/scsicam.c: Likewise. 12817: * linux/src/include/linux/pci.h: Likewise. 12818: 12819: * linux/src/drivers/scsi/53c7,8xx.h (patch_dsa_32): Don't use 12820: token paste operator (##). 12821: 12822: * Makefile.in (kernel-undef): Match new output format from 12823: nm (binutils) 2.14.x. 12824: 1.1.1.5 root 12825: 2002-05-27 Roland McGrath <[email protected]> 12826: 12827: * Version 1.3 released. 12828: 12829: 2002-05-23 Marcus Brinkmann <[email protected]> 12830: 12831: * i386/i386at/model_dep.c: Include <kern/cpu_number.h> and 12832: <kern/assert.h>. 12833: (machine_idle): New function. 12834: * bogus/power_save.h (POWER_SAVE): Define to 1. 12835: 12836: 2002-05-22 Roland McGrath <[email protected]> 12837: 12838: * configure.in (VERSION): New substituted variable: set to 1.3 now. 12839: (version.c): Add it to AC_OUTPUT. 12840: * configure: Regenerated. 12841: * Makefile.in (version): New variable, set from that. 12842: Remove vpath directive for version.c, not found in build dir. 12843: (topfiles): version.c -> version.c.in 12844: * doc/Makefile.in (mach-version): Substituted instead of constant. 12845: * version.c: File removed, replaced with ... 12846: * version.c.in: ... this new file. 12847: (version): Make it const. Use @VERSION@ for the number. 12848: 12849: * Makefile.in (debian-files): Add postinst and prerm. 12850: (dist): Use gzip -9 instead of tar z. 12851: 12852: * linux/Files: Add missing files to the list: 12853: linux/dev/drivers/net/eepro100.c 12854: linux/src/include/asm-i386/hardirq.h 12855: linux/src/include/asm-i386/spinlock.h 12856: linux/src/include/linux/compatmac.h 12857: linux/src/include/linux/spinlock.h 12858: 12859: * linux/src/drivers/net/eth16i.c (eth16i_check_signature): Fix syntax: 12860: #ifdef 0 -> #if 0 12861: 12862: * Makefile.in (%.migs_d, %.migu_d): Fix sed substitution to match 12863: whatever target file name gcc comes up with. 12864: (%.migs_d, %.migu_d, %.symc.o, %_user.c, %_server.c): 12865: Depend on $(before-compile). 12866: 12867: 2002-04-24 Marcus Brinkmann <[email protected]> 12868: 12869: * debian/rules (DOCDIR): Move to 12870: $(PREFIX)/share/doc/$(package-dev). 12871: 12872: 2002-04-23 Roland McGrath <[email protected]> 12873: 12874: * i386/i386/ldt.c (ldt_init): Fix fencepost error in segment limits. 12875: 12876: 2002-04-19 Roland McGrath <[email protected]> 12877: 12878: * gensym.awk: Emit \n\ at the end of lines inside strings. 12879: * Makefile.in (%.symc: %.sym): Depend on gensym.awk. 12880: 12881: 2002-03-29 Marcus Brinkmann <[email protected]> 12882: 12883: * doc/mach.texi: End index entry with full stop. 12884: 12885: 2002-03-05 Roland McGrath <[email protected]> 12886: 12887: * kern/bootstrap.c: Include <alloca.h>. 12888: 12889: 2002-03-04 Roland McGrath <[email protected]> 12890: 12891: * Makefile.in (%_interface.h %_server.c: %.srv): Pass -sheader switch 12892: to mig, not -header. 12893: 12894: 2001-11-23 Roland McGrath <[email protected]> 12895: 12896: * i386/i386at/i386at_ds_routines.c (device_deallocate): Do nothing if 12897: argument is DEVICE_NULL. 12898: 12899: 2001-10-21 Marcus Brinkmann <[email protected]> 12900: 12901: * linux/src/arch/i386/lib/delay.c: Convert HTML entities. 12902: Reported by John Tobey <[email protected]>. 12903: 12904: 2001-10-13 Marcus Brinkmann <[email protected]> 12905: 12906: * debian/changelog: Update for next release. 12907: 12908: 2001-10-07 Roland McGrath <[email protected]> 12909: 12910: * ddb/db_access.c: Fix obsolescent #else/#endif syntax. 12911: * device/dev_name.c: Likewise. 12912: * device/dev_pager.c: Likewise. 12913: * device/ds_routines.c: Likewise. 12914: * i386/i386/i386asm.sym: Likewise. 12915: * include/device/device_reply.defs: Likewise. 12916: * include/mach/memory_object.defs: Likewise. 12917: * include/mach/memory_object_default.defs: Likewise. 12918: 12919: * i386/i386/locore.S: Fix sloppy asm syntax to avoid warnings from 12920: newer assembler (%ecx -> %cl in byte insns). 12921: 12922: * kern/bootstrap.c (bootstrap_create): Fix inverted test logic for 12923: compatibility case. Ignore trailing newlines after space for 12924: compatibility detection. 12925: Reported by Neal H Walfield <[email protected]>. 12926: 12927: 2001-10-06 Marcus Brinkmann <[email protected]> 12928: 12929: * README: Replace `GNU mach' by `GNU Mach', and remove 12930: obsolete paragraph about kmsg device. 12931: 12932: 2001-10-06 Marcus Brinkmann <[email protected]> 12933: 12934: * doc/mach.texi: Fix direntry. 12935: 12936: 2001-10-05 Marcus Brinkmann <[email protected]> 12937: 12938: * doc/mach.texi: Replace `path name' by `file name' in one place. 12939: Replace `illegal' by `invalid' and `to to' by `to' everwhere. 12940: 12941: * debian/changelog: Prepare for next release. 12942: 12943: 2001-10-04 Marcus Brinkmann <[email protected]> 12944: 12945: * doc: New directory. 12946: * doc/Makefile.in: New file. 12947: * doc/gpl.texi: Likewise. 12948: * doc/fdl.texi: Likewise. 12949: * doc/mach.texi: Likewise. 12950: * configure.in: Add doc/Makefile to AC_OUTPUT call. 12951: * configure: Regenerated. 12952: 12953: * Makefile.in (dist): Create directories doc and debian. 12954: (doc-files): New variable with documentation files. 12955: (debian-files): New variable with Debian packaging files. 12956: 12957: * debian/rules (stamp-build): Build documentation. 12958: (build-gnumach): Install the documentation into the gnumach 12959: package. 12960: * debian/postrm: New file to install info document. 12961: * debian/prerm: New file to install info document. 12962: 12963: 2001-10-01 Marcus Brinkmann <[email protected]> 12964: 12965: * i386/i386/locore.S (tenmicrosec): Remove subroutine. 12966: * i386/i386/pit.c (delaycount): Remove global variable. 12967: (microdata): Likewise. 12968: (clkstart): Do not call findspeed() and microfind(). 12969: (findspeed): Remove function. 12970: (spinwait): Likewise. 12971: (microfind): Likewise. This function triggers a division by zero 12972: trap on AMD K6 350Mhz+ and Athlon 1.1GHz+ machines (and in general 12973: leads to bad results on fast cpus), and nothing uses this code anymore. 12974: 12975: 2001-09-30 Roland McGrath <[email protected]> 12976: 12977: * kern/bootstrap.c (bootstrap_create): Ignore trailing spaces when 12978: checking boot module string for containing none. 12979: 12980: 2001-09-18 Marcus Brinkmann <[email protected]> 12981: 12982: * linux/dev/glue/misc.c: Do not include <linux/types.h> and 12983: <linux/string.h>. 12984: Remove global variable ___strtok. 12985: Remove implementation of strspn, strpbrk, strtok and strstr. 12986: * Makefile.in: Add strpbrk and strtok. 12987: 12988: 2001-08-24 Roland McGrath <[email protected]> 12989: 12990: * kern/bootstrap.c (bootstrap_create): Make setting of boot-args and 12991: root-device no longer conditional on [! OSKIT_MACH]. 12992: (bootstrap_create) [! OSKIT_MACH]: Parse FOO=BAR words out of the 12993: multiboot command line and turn those into boot script variables. 12994: 12995: * Makefile.in (clib-routines): Add strsep. 12996: * kern/strings.h (strsep, strchr): Declare them. 12997: 12998: 2001-08-23 Roland McGrath <[email protected]> 12999: 13000: * kern/bootstrap.c (bootstrap_create, user_bootstrap, 13001: boot_script_exec_cmd, boot_script_task_resume): Add printfs at 13002: various stages of startup. 13003: 13004: 2001-08-21 Roland McGrath <[email protected]> 13005: 13006: * i386/i386at/model_dep.c (use_all_mem): Turn variable into macro. 13007: (init_alloc_aligned): Make this function static. 13008: Initially skip memory < 16MB and then wrap around to get it last. 13009: 13010: 2001-08-20 Roland McGrath <[email protected]> 13011: 13012: Support "boot script" functionality in multiboot module strings. 13013: * kern/bootstrap.c: Rewrite merged from oskit-branch. 13014: * kern/boot_script.c, kern/boot_script.h: New files, 13015: copied from boot/ directory in Hurd sources. 13016: * Makefile.in (kern-cfiles): Add boot_script.c here. 13017: (kern-files): Add boot_script.h here. 13018: * NEWS: Mention the new feature. 13019: 13020: 2001-08-18 Roland McGrath <[email protected]> 13021: 13022: * i386/i386at/model_dep.c (boot_info): Define a struct, not a pointer. 13023: (c_boot_entry): Copy the contents into it rather than setting the ptr. 13024: (c_boot_entry, init_alloc_aligned, pmap_valid_page, mem_size_init): 13025: Update uses. 13026: (init_alloc_aligned): Don't need to skip the boot_info memory. 13027: * kern/bootstrap.c (boot_info): Update decl. 13028: (bootstrap_create): Update uses. 13029: 13030: 2001-08-18 Marcus Brinkmann <[email protected]> 13031: 13032: * linux/src/drivers/net/eepro100.c: File updated to version in 13033: Linux 2.2.19. This time for real. 13034: 13035: 2001-08-18 Marcus Brinkmann <[email protected]> 13036: 13037: * debian/changelog: Update for next package upload. 13038: * debian/control: Add gnumach-dbg package. 13039: * debian/rules: New targets to build gnumach-dbg package. 13040: Fix various bugs. 13041: 13042: 2001-08-18 Marcus Brinkmann <[email protected]> 13043: 13044: * i386/i386at/kd.c (kdintr): In event mode, make it so that 13045: 0xE0 scancodes are received. 13046: From Kalle Olavi Niemitalo <[email protected]>. 13047: 13048: * i386/i386at/kd.h: New constants KAX_REVERSE, KAX_UNDERLINE, 13049: KAX_BLINK, KAX_BOLD, KAX_DIM, KAX_INVISIBLE, KAX_COL_UNDERLINE, 13050: KAX_COL_DIM. 13051: * i386/i386at/kd.c: Increase K_MAXESC to 32. 13052: New global variable color_table to map color values. 13053: New globals kd_color and kd_attrflags. 13054: (kdinit): Initialize these variables. 13055: (kd_update_kd_attr): New function. 13056: (kd_parserest): Redone to support more terminal attributes, 13057: including colors. 13058: 13059: 2001-08-18 Marcus Brinkmann <[email protected]> 13060: 13061: * linux/src/drivers/net/eepro100.c: File updated to version in 13062: Linux 2.2.19. 13063: * linux/src/include/asm-i386/spinlock.h: New file from Linux 2.2.19. 13064: * linux/src/include/asm-i386/hardirq.h: Likewise. 13065: * linux/src/include/linux/spinlock.h: Likewise. 13066: * linux/src/include/linux/compatmac.h: Likewise. 1.1.1.6 root 13067: * linux/dev/drivers/net/eepro100.c: New file, modified version from 13068: the above to glue it in gnumach. 13069: Submitted by Kapil H. Paranjape <[email protected]>. 1.1.1.5 root 13070: 13071: 2001-08-17 Roland McGrath <[email protected]> 13072: 13073: * Makefile.in (clib-routines): Add strchr. 13074: (kernel-undef-bad): Depend on Makefile. 13075: 13076: * Makefile.in ($(srcdir)/configure, $(srcdir)/config.h.in): 13077: Use $(srcdir) in deps. 13078: (Makefile, config.h, config.status): Likewise. 13079: 13080: 2001-07-29 Marcus Brinkmann <[email protected]> 13081: 13082: * NEWS: Add items for this and other changes. 13083: * configure.in: Define MACH_KMSG by default and document this in 13084: the help output. 13085: * configure: Regenerated. 13086: * debian/rules: Do not enable kmsg explicitely. 13087: 13088: 2001-07-18 Marcus Brinkmann <[email protected]> 13089: 13090: * debian/rules: Add -isp to dpkg-gencontrol invocation. 13091: Move documentation to /share/doc. 13092: * debian/changelog: Update. 13093: 13094: 2001-06-28 Marcus Brinkmann <[email protected]> 13095: 13096: * linux/dev/drivers/block/ide.c (lba_capacity_is_ok): Do not 13097: attempt to correct id->cyls, it is a short and for large disks the 13098: number of cylinders necessary would not fit. Subsequent checks 13099: for lba support would fail. 13100: (current_capacity): Likewise for drive->cyl. 13101: (do_identify): Store value returned by current_capacity in 13102: CAPACITY. The check which corrects the number of bios cylinders 13103: is not aggressive enough. Update it with the check in linux 13104: kernel-2.2.19. 13105: 13106: 2001-06-25 Marcus Brinkmann <[email protected]> 13107: 13108: * i386/bogus/fpe.h (FPE): Define FPE to 0, as the floating point 13109: emulation is broken anyway and blows up plex86. 13110: 13111: 2001-06-17 Marcus Brinkmann <[email protected]> 13112: 13113: * debian/rules: Update to current version. 13114: 13115: 2001-06-13 Roland McGrath <[email protected]> 13116: 13117: * linux/dev/glue/block.c (device_get_status: DEV_GET_RECORDS): 13118: Always return 512 for DEV_GET_SIZE_RECORD_SIZE as DEV_GET_SIZE does. 13119: 13120: 2001-05-27 Marcus Brinkmann <[email protected]> 13121: 13122: * debian/rules: Add --enable-ncr53c8xx to configure. 13123: 13124: 1999-10-06 OKUJI Yoshinori <[email protected]> 13125: 13126: * linux/src/drivers/scsi/tmscsiw.c: Removed. 13127: * linux/src/drivers/scsi/tmscsiw.h: Likewise. 13128: * linux/src/drivers/scsi/dc390w.h: Likewise. 13129: * i386/linux/device-drivers.h.in (CONFIG_SCSI_DC390W): Deleted. 13130: * i386/linux/Drivers.in: Remove linux_DRIVER(dc390w, ...). Now 13131: dc390w, dc390u, and dc390f are aliases to ncr53c8xx. 13132: * i386/linux/configure: Regenerated. 13133: * linux/Files: Likewise. 13134: * i386/linux/Makefile.in (linux-scsi-files): Delete tmscsiw.c. 13135: * linux/dev/drivers/scsi/hosts.c: Do not include dc390w.h. 13136: Reported by Andreas Voegele <[email protected]>. 13137: 13138: 2001-05-20 Roland McGrath <[email protected]> 13139: 13140: * kern/sched_prim.c (state_panic): New function, panic with some 13141: info when a thread's state is bogus. 13142: (thread_wakeup_prim): Use that instead of uninformative panic. 13143: (thread_invoke): Likewise. 13144: (thread_dispatch): Likewise. 13145: 13146: 2001-05-12 Marcus Brinkmann <[email protected]> 13147: 13148: * ipc/ipc_object.c (ipc_object_alloc): Remove initialization of 13149: *namep, which was without effect. 13150: 13151: 2001-04-29 Marcus Brinkmann <[email protected]> 13152: 13153: * debian/changelog: New entries for past Debian uploads. 13154: * debian/rules: Disable eatdma driver (breaks AMD K7), do 13155: not enable com, lpr (com is redundant, lpr doesn't work), 13156: move enabling of kmsg in its own line. 13157: * debian/control: Add build dependency on mig and sharutils. 13158: 13159: 2001-04-29 Marcus Brinkmann <[email protected]> 13160: 13161: * device/chario.c: Set number of elements of tthiwat and ttlowat 13162: to NSPEEDS rather than 16. Initialize the two new elements. 13163: (chario_init): Initialize pdma_timeouts and pdma_water_mark for 13164: B57600 and B115200. 13165: 13166: 2001-04-27 Marcus Brinkmann <[email protected]> 13167: 13168: * include/device/tty_status.h: New macros B57600 and B115200, 13169: increase NSPEED accordingly. 13170: * i386/i386at/com.c (divisorreg): New divisor 1. 13171: 13172: 2001-04-04 Roland McGrath <[email protected]> 13173: 13174: * ddb/db_access.h: Fix obsolescent #else/#endif syntax. 13175: * ddb/db_aout.c: Likewise. 13176: * ddb/db_break.c: Likewise. 13177: * ddb/db_break.h: Likewise. 13178: * ddb/db_command.c: Likewise. 13179: * ddb/db_command.h: Likewise. 13180: * ddb/db_cond.c: Likewise. 13181: * ddb/db_examine.c: Likewise. 13182: * ddb/db_expr.c: Likewise. 13183: * ddb/db_ext_symtab.c: Likewise. 13184: * ddb/db_input.c: Likewise. 13185: * ddb/db_lex.c: Likewise. 13186: * ddb/db_macro.c: Likewise. 13187: * ddb/db_mp.c: Likewise. 13188: * ddb/db_output.c: Likewise. 13189: * ddb/db_print.c: Likewise. 13190: * ddb/db_run.c: Likewise. 13191: * ddb/db_sym.c: Likewise. 13192: * ddb/db_task_thread.c: Likewise. 13193: * ddb/db_task_thread.h: Likewise. 13194: * ddb/db_trap.c: Likewise. 13195: * ddb/db_variables.c: Likewise. 13196: * ddb/db_watch.c: Likewise. 13197: * ddb/db_watch.h: Likewise. 13198: * ddb/db_write_cmd.c: Likewise. 13199: * device/dev_pager.c: Likewise. 13200: * device/device_port.h: Likewise. 13201: * device/device_types_kernel.h: Likewise. 13202: * device/ds_routines.h: Likewise. 13203: * device/errno.h: Likewise. 13204: * device/if_ether.h: Likewise. 13205: * device/if_hdr.h: Likewise. 13206: * device/io_req.h: Likewise. 13207: * device/net_io.c: Likewise. 13208: * device/net_io.h: Likewise. 13209: * i386/i386/ast_check.c: Likewise. 13210: * i386/i386/cswitch.S: Likewise. 13211: * i386/i386/db_disasm.c: Likewise. 13212: * i386/i386/db_interface.c: Likewise. 13213: * i386/i386/db_trace.c: Likewise. 13214: * i386/i386/debug.h: Likewise. 13215: * i386/i386/debug_i386.c: Likewise. 13216: * i386/i386/debug_trace.S: Likewise. 13217: * i386/i386/eflags.h: Likewise. 13218: * i386/i386/gdt.h: Likewise. 13219: * i386/i386/hardclock.c: Likewise. 13220: * i386/i386/idt-gen.h: Likewise. 13221: * i386/i386/ipl.h: Likewise. 13222: * i386/i386/ktss.h: Likewise. 13223: * i386/i386/kttd_interface.c: Likewise. 13224: * i386/i386/ldt.h: Likewise. 13225: * i386/i386/lock.h: Likewise. 13226: * i386/i386/locore.S: Likewise. 13227: * i386/i386/mp_desc.h: Likewise. 13228: * i386/i386/pic.c: Likewise. 13229: * i386/i386/pic.h: Likewise. 13230: * i386/i386/pio.h: Likewise. 13231: * i386/i386/pit.h: Likewise. 13232: * i386/i386/seg.h: Likewise. 13233: * i386/i386/thread.h: Likewise. 13234: * i386/i386/trap.c: Likewise. 13235: * i386/i386/trap.h: Likewise. 13236: * i386/i386/vm_param.h: Likewise. 13237: * i386/i386/vm_tuning.h: Likewise. 13238: * i386/i386at/autoconf.c: Likewise. 13239: * i386/i386at/blit.c: Likewise. 13240: * i386/i386at/conf.c: Likewise. 13241: * i386/i386at/fd.c: Likewise. 13242: * i386/i386at/idt.h: Likewise. 13243: * i386/i386at/immc.c: Likewise. 13244: * i386/i386at/kd.c: Likewise. 13245: * i386/i386at/kd_event.c: Likewise. 13246: * i386/i386at/kd_mouse.c: Likewise. 13247: * i386/i386at/model_dep.c: Likewise. 13248: * i386/i386at/rtc.c: Likewise. 13249: * i386/include/mach/i386/asm.h: Likewise. 13250: * i386/include/mach/i386/eflags.h: Likewise. 13251: * i386/include/mach/i386/mach_i386.defs: Likewise. 13252: * i386/include/mach/i386/multiboot.h: Likewise. 13253: * i386/include/mach/i386/trap.h: Likewise. 13254: * i386/include/mach/i386/vm_types.h: Likewise. 13255: * i386/include/mach/sa/stdarg.h: Likewise. 13256: * i386/intel/pmap.c: Likewise. 13257: * i386/intel/pmap.h: Likewise. 13258: * include/alloca.h: Likewise. 13259: * include/device/device_types.defs: Likewise. 13260: * include/device/device_types.h: Likewise. 13261: * include/device/disk_status.h: Likewise. 13262: * include/device/net_status.h: Likewise. 13263: * include/mach/mach.defs: Likewise. 13264: * include/mach/memory_object.defs: Likewise. 13265: * include/mach/std_types.defs: Likewise. 13266: * include/mach_debug/hash_info.h: Likewise. 13267: * include/mach_debug/ipc_info.h: Likewise. 13268: * include/mach_debug/mach_debug.defs: Likewise. 13269: * include/mach_debug/mach_debug_types.defs: Likewise. 13270: * include/mach_debug/mach_debug_types.h: Likewise. 13271: * include/mach_debug/vm_info.h: Likewise. 13272: * include/mach_debug/zone_info.h: Likewise. 13273: * include/sys/ioctl.h: Likewise. 13274: * include/sys/time.h: Likewise. 13275: * ipc/ipc_entry.h: Likewise. 13276: * ipc/ipc_hash.h: Likewise. 13277: * ipc/ipc_init.c: Likewise. 13278: * ipc/ipc_kmsg.c: Likewise. 13279: * ipc/ipc_kmsg.h: Likewise. 13280: * ipc/ipc_marequest.c: Likewise. 13281: * ipc/ipc_marequest.h: Likewise. 13282: * ipc/ipc_mqueue.c: Likewise. 13283: * ipc/ipc_mqueue.h: Likewise. 13284: * ipc/ipc_notify.c: Likewise. 13285: * ipc/ipc_notify.h: Likewise. 13286: * ipc/ipc_object.c: Likewise. 13287: * ipc/ipc_object.h: Likewise. 13288: * ipc/ipc_port.c: Likewise. 13289: * ipc/ipc_port.h: Likewise. 13290: * ipc/ipc_pset.c: Likewise. 13291: * ipc/ipc_pset.h: Likewise. 13292: * ipc/ipc_right.c: Likewise. 13293: * ipc/ipc_right.h: Likewise. 13294: * ipc/ipc_space.c: Likewise. 13295: * ipc/ipc_space.h: Likewise. 13296: * ipc/mach_debug.c: Likewise. 13297: * ipc/mach_msg.c: Likewise. 13298: * ipc/mach_msg.h: Likewise. 13299: * ipc/mach_port.c: Likewise. 13300: * kern/act.c: Likewise. 13301: * kern/assert.h: Likewise. 13302: * kern/ast.c: Likewise. 13303: * kern/ast.h: Likewise. 13304: * kern/bootstrap.c: Likewise. 13305: * kern/counters.c: Likewise. 13306: * kern/counters.h: Likewise. 13307: * kern/debug.h: Likewise. 13308: * kern/exception.c: Likewise. 13309: * kern/host.h: Likewise. 13310: * kern/ipc_host.c: Likewise. 13311: * kern/ipc_host.h: Likewise. 13312: * kern/ipc_kobject.c: Likewise. 13313: * kern/ipc_mig.c: Likewise. 13314: * kern/ipc_tt.c: Likewise. 13315: * kern/ipc_tt.h: Likewise. 13316: * kern/kalloc.h: Likewise. 13317: * kern/lock_mon.c: Likewise. 13318: * kern/mach_clock.c: Likewise. 13319: * kern/mach_factor.c: Likewise. 13320: * kern/mach_param.h: Likewise. 13321: * kern/machine.c: Likewise. 13322: * kern/processor.c: Likewise. 13323: * kern/profile.c: Likewise. 13324: * kern/queue.h: Likewise. 13325: * kern/sched.h: Likewise. 13326: * kern/startup.c: Likewise. 13327: * kern/syscall_emulation.h: Likewise. 13328: * kern/syscall_subr.c: Likewise. 13329: * kern/syscall_subr.h: Likewise. 13330: * kern/syscall_sw.c: Likewise. 13331: * kern/syscall_sw.h: Likewise. 13332: * kern/task.h: Likewise. 13333: * kern/thread_swap.h: Likewise. 13334: * kern/time_out.h: Likewise. 13335: * kern/time_stamp.c: Likewise. 13336: * kern/time_stamp.h: Likewise. 13337: * kern/timer.c: Likewise. 13338: * kern/timer.h: Likewise. 13339: * kern/xpr.c: Likewise. 13340: * kern/xpr.h: Likewise. 13341: * kern/zalloc.c: Likewise. 13342: * kern/zalloc.h: Likewise. 13343: * linux/dev/drivers/block/ide.c: Likewise. 13344: * linux/dev/include/linux/blk.h: Likewise. 13345: * linux/src/include/linux/cdrom.h: Likewise. 13346: * linux/src/include/linux/md.h: Likewise. 13347: * util/cpu.h: Likewise. 13348: * vm/memory_object.c: Likewise. 13349: * vm/memory_object.h: Likewise. 13350: * vm/pmap.h: Likewise. 13351: * vm/vm_debug.c: Likewise. 13352: * vm/vm_external.h: Likewise. 13353: * vm/vm_fault.c: Likewise. 13354: * vm/vm_fault.h: Likewise. 13355: * vm/vm_kern.h: Likewise. 13356: * vm/vm_map.c: Likewise. 13357: * vm/vm_map.h: Likewise. 13358: * vm/vm_object.h: Likewise. 13359: * vm/vm_pageout.c: Likewise. 13360: * vm/vm_pageout.h: Likewise. 13361: * vm/vm_user.h: Likewise. 13362: 13363: 2001-01-28 Roland McGrath <[email protected]> 13364: 13365: * kern/zalloc.c (zalloc): Change panics for exhausted zone to include 13366: the zone name. 13367: 13368: 2001-01-09 Marcus Brinkmann <[email protected]> 13369: 13370: * include/device/device_types.h: New get_status call 13371: DEV_GET_RECORDS to get the number of records of a device (rather 13372: than the number of bytes). Accordingly define 13373: DEV_GET_RECORDS_DEVICE_RECORDS, DEV_GET_RECORDS_RECORD_SIZE and 13374: DEV_GET_RECORDS_COUNT. 13375: 13376: * linux/dev/glue/block.c (device_get_status): Handle 13377: DEV_GET_RECORDS. 13378: 13379: 2000-11-26 David Welch <[email protected]> 13380: 13381: * i386/Makefrag (i386-installed-headers): Removed dead files 13382: from the list of headers to be installed 13383: 13384: 2000-11-26 Marcus Brinkmann <[email protected]> 13385: 13386: * linux/src/drivers/net/tulip.c: Updated to version 13387: from Linux 2.2.17 (I am amazed that 2.2.x drivers work). 13388: Suggested by Jason Henry Parker <[email protected]>. 13389: 13390: 2000-10-29 Roland McGrath <[email protected]> 13391: 13392: Remove numerous dead header files. 13393: Suggested by Igor Khavkine <[email protected]>. 13394: * i386/include/mach/i386/bios.h: Dead file removed. 13395: * i386/include/mach/i386/code16.h: Dead file removed. 13396: * i386/include/mach/i386/debug_reg.h: Dead file removed. 13397: * i386/include/mach/i386/dpmi.h: Dead file removed. 13398: * i386/include/mach/i386/far_ptr.h: Dead file removed. 13399: * i386/include/mach/i386/paging.h: Dead file removed. 13400: * i386/include/mach/i386/pio.h: Dead file removed. 13401: * i386/include/mach/i386/pmode.h: Dead file removed. 13402: * i386/include/mach/i386/proc_reg.h: Dead file removed. 13403: * i386/include/mach/i386/seg.h: Dead file removed. 13404: * i386/include/mach/i386/time_stamp.h: Dead file removed. 13405: * i386/include/mach/i386/tss.h: Dead file removed. 13406: * i386/include/mach/i386/vcpi.h: Dead file removed. 13407: * i386/include/mach/proc_ops.h: Dead file removed. 13408: * i386/include/mach/sa/sys/varargs.h: Dead file removed. 13409: * i386/include/mach/setjmp.h: Dead file removed. 13410: * include/mach/proc_ops.h: Dead file removed. 13411: * Makefile.in (mach-headers): Remove proc_ops.h. 13412: * i386/Makefrag (i386-installed-headers): Likewise. 13413: (installed-headers): Don't touch this any more. 13414: * i386/Files: Update for removed files. 13415: 13416: 2000-09-29 Marcus Brinkmann <[email protected]> 13417: 13418: * i386/i386at/conf.c (dev_name_list): Don't use MACH_COM to check 13419: if com support is enabled, but NCOM, as it used to be. 13420: 13421: 2000-09-24 OKUJI Yoshinori <[email protected]> 13422: 13423: * linux/dev/glue/block.c: Reverted the changes at 2000-08-17. 13424: Reported by Brent Fulgham <[email protected]>. 13425: 13426: 2000-09-19 Marcus Brinkmann <[email protected]> 13427: 13428: * linux/dev/glue/block.c (init_partition): Move initialization 13429: of MASK until it is asserted that gd is non-NULL. 13430: 13431: 2000-08-17 OKUJI Yoshinori <[email protected]> 13432: 13433: * linux/dev/glue/block.c (rdwr_partial): Mask the minor device 13434: number with MINOR_SHIFT bits, when indexing the array of 13435: partitions. Reported by Marius Vollmer <[email protected]>. 13436: (init_partition): Likewise. 13437: (check_limit): Likewise. 13438: (device_get_status): Likewise. 13439: 13440: 2000-07-27 Marcus Brinkmann <[email protected]> 13441: 13442: * Fix omissions in last change: 13443: * linux/src/arch/i386/lib/delay.S: Now really delete the file. 13444: * linux/src/arch/i386/lib/delay.c: Now really add the file. 13445: 13446: 2000-07-04 Marcus Brinkmann <[email protected]> 13447: 13448: * debian/changelog: Add entry for new Debian upload. 1.1.1.6 root 13449: * linux/dev/drivers/scsi/seagate.c (WRITE_CONTROL, WRITE_DATA): 13450: Added from linux 2.2.15. 13451: (__asm__ constructs): Replace with equivalent C code from linux 2.2.15 13452: to support gcc-2.95. 13453: * linux/src/drivers/scsi/in2000.h: Update asm code to linux 2.2.15. 1.1.1.5 root 13454: * linux/src/drivers/scsi/ppa.c: Replace asm code with equivalent 13455: C code from linux 2.2.15. 13456: 13457: 2000-02-06 Stefan Weil <[email protected]> 13458: 13459: * device/subrs.c: Fixed compiler warning. 13460: * ddb/db_output.c, kern/bootstrap.c, kern/debug.c, kern/printf.c: 13461: Replaced varargs.h by stdarg.h. Fixed prototypes (const char *fmt). 13462: * ddb/db_output.h: Use prototype for db_printf. 13463: * i386/Files: removed varargs.h. 13464: * i386/i386/pit.h: Fixed compiler warning. 13465: * i386/i386at/model_dep.c: Tried to fix compiler warning. 13466: * i386/include/mach/sa/sys/varargs.h: Removed. 13467: * i386/linux/Makefile.in: Removed delay.S, added delay.c. 13468: * linux/dev/include/asm-i386/segment.h: Support gcc-2.95. 13469: * linux/dev/include/asm-i386/string.h, 13470: linux/src/include/asm-i386/string.h: Update from linux-2.2.14. 13471: * linux/dev/lib/vsprintf.c: Fixed compiler warning. 13472: * linux/src/include/asm-i386/delay.h: Update from linux-2.2.14. 13473: * linux/src/arch/i386/lib/delay.c: Copy from linux-2.2.14. 13474: * linux/src/include/asm-i386/string.h: Update from linux-2.2.14. 13475: 13476: 1999-10-08 Thomas Bushnell, BSG <[email protected]> 13477: 13478: * linux/src/drivers/net/3c59x.c: Updated to version 0.99L of the 13479: driver from ftp://cesdis.gsfc.nasa.gov/linux/drivers/3c59x.c, in 13480: order to support the 3c509c card, as requested by Jeff Bailey 13481: <[email protected]>. 13482: 13483: 1999-09-17 Thomas Bushnell, BSG <[email protected]> 13484: 13485: * linux/dev/drivers/block/ide.c (do_request) [MACH]: In "bad 13486: access" printf, actually print the number of sectors of the 13487: partition. 13488: 13489: 1999-10-05 Roland McGrath <[email protected]> 13490: 13491: * i386/intel/pmap.c (pmap_bootstrap): Use _start instead of start. 13492: * i386/i386/trap.c (kernel_trap): Likewise. 13493: 13494: 1999-10-04 Roland McGrath <[email protected]> 13495: 13496: * configure.in: Remove AC_CHECK_TOOL(MAKE,...) check. 13497: * Makefile.in (MAKE): Variable removed. We require GNU make anyway, 13498: and it always sets MAKE. 13499: * configure: Regenerated. 13500: 13501: * Makefile.in (clib-routines.o, check-clib-routines, clib-routines.d): 13502: Remove these rules, replace with: 13503: (kernel.o): New target, relocatable object linked from kernel objects. 13504: (kernel-undef, kernel-undef-bad): New targets, glean undefined symbols 13505: from kernel.o. 13506: (clib-routines.o): New target, use those to select symbols from libc. 13507: (clib-routines): Add some symbols; move defn to kernel linking page. 13508: This variable is now a list of symbols allowed to be undefined, 13509: rather than a prescriptive list of symbols always grabbed from libc. 13510: (kernel): Rewrite this rules to just link kernel.o and clib-routines.o 13511: together to make the kernel image. 13512: 13513: 1999-09-15 Mark Kettenis <[email protected]> 13514: 13515: * i386/i386/user_ldt.c: Fix user LDT management. 13516: (i386_set_ldt): Prevent thrashing the LDT for the current thread. 13517: Correctly calculate size of new LDT. Set base adress of the LDT 13518: descriptor to the linear address of the LDT instead of the kernel 13519: virtual address. Copy descriptors from the default LDT if there 13520: is no old LDT for the current thread. Call switch_ktss if we are 13521: setting a new LDT for the current thread. 13522: (i386_get_ldt): Fix bug in copying out the descriptors. 13523: 13524: 1999-09-09 Thomas Bushnell, BSG <[email protected]> 13525: 13526: * linux/src/drivers/net/rtl8139.c (RX_BUF_LEN_IDX): Reduce from 3 13527: to 2. (64K exceeds the limits in linux/dev/glue/kmem.c:kmalloc.) 13528: (rtl8129_open): If we fail to get the memory we need, then free 13529: the IRQ before returning. 13530: Reported by Daniel Kobras <[email protected]>. 13531: 13532: 1999-09-07 Thomas Bushnell, BSG <[email protected]> 13533: 13534: * linux/src/drivers/net/yellowfin.c (yellowfin_probe): Return 13535: correct value. Reported by Marcus Brinkmann 13536: <[email protected]>. 13537: 13538: * linux/dev/drivers/net/Space.c: Declare tc515_probe. Reported by 13539: Marcus Brinkmann <[email protected]>. 13540: 13541: 1999-09-04 Thomas Bushnell, BSG <[email protected]> 13542: 13543: * vm/vm_resident.c (vm_page_grab): Only block unprivileged 13544: allocations over vm_page_external_limit if they are actually 13545: external allocations. Reported by Mark Kettenis 13546: ([email protected]>. 13547: 13548: 1999-08-10 Thomas Bushnell, BSG <[email protected]> 13549: 13550: * i386/i386at/model_dep.c (init_alloc_aligned): Revert previous 13551: change except for the one to AVAIL_NEXT. All the rest of the 13552: previous code was correct. Correction from Momchil Velikov 13553: ([email protected]). 13554: 13555: 1999-07-23 Roland McGrath <[email protected]> 13556: 13557: * Drivers.macros (AC_DRIVER): Use `test' instead of `[ ... ]'. 13558: Reported by "Momchil 'Velco' Velikov" <[email protected]>. 13559: 13560: 1999-07-20 Roland McGrath <[email protected]> 13561: 13562: * linux/dev/drivers/block/genhd.c (check_partition): Change message 13563: to say these are only the DOS partitions. 13564: * i386/linux/dev/include/linux/autoconf.h (CONFIG_BSD_DISKLABEL, 13565: CONFIG_SMD_DISKLABEL): #undef these. The dev/glue/block.c code 13566: deals with BSD disklabels and expects the Linux genhd.c code to 13567: handle only the DOS partitions; having genhd.c do BSD disklabels 13568: too just confuses things. 13569: 13570: Force subdirectory targets so they get recompiled properly. 13571: * i386/Makefile.in (linux/linux.o): Depend on FORCE instead of linux. 13572: (FORCE): New target. 13573: * i386/Makefrag (i386/sysdep.o, FORCE): Likewise. 13574: 13575: 1999-07-11 Thomas Bushnell, BSG <[email protected]> 13576: 13577: * i386/i386at/model_dep.c (init_alloc_aligned): Make the checks 13578: correctly for addresses falling into skip regions. Reported by 13579: Momchil Velikov ([email protected]). 13580: 13581: 1999-07-01 Thomas Bushnell, BSG <[email protected]> 13582: 13583: * i386/linux/Makefile.in: For each .o file in $(linux-objs) 13584: include a corresponding .d file, unless `no_deps' is `t'. 13585: (make-deps): New function. 13586: (%.d): New pattern rules for building %.d from %.c and %.S. 13587: 13588: 1999-06-29 Thomas Bushnell, BSG <[email protected]> 13589: 13590: * vm/vm_resident.c (vm_page_grab): Don't bounce requests when 13591: vm_page_external_count == vm_page_external_limit, so that before 13592: initialization is complete we can still allocate memory without 13593: relying on current_thread. 13594: (vm_page_wait): Also block if we are over the external page 13595: limit. 13596: * vm/vm_pageout.c (vm_pageout_scan): Rewrite the 13597: scan-for-pages-to-pageout loop to not crash when we hit the end of 13598: the inactive queue; instead jump back to the 13599: pause-for-a-little-while code. 13600: 13601: 1999-06-27 Thomas Bushnell, BSG <[email protected]> 13602: 13603: * vm/vm_resident.c (vm_page_external_count): Define variable. 13604: (vm_page_grab): New argument `external'. All callers changed. 13605: Keep track of number of externally managed pages. Don't let 13606: non-privileged threads exceed the externally-managed page limit. 13607: (vm_page_grab_contiguous_pages): New argument `external'. All 13608: callers changed. Keep track of number of externally managed 13609: pages. Don't let non-privileged threads exceed the 13610: externally-managed page limit. 13611: (vm_page_convert): New argument `external', handed off to 13612: vm_page_grab. All callers changed. 13613: (vm_page_release): New argument `external'. All callers 13614: changed. Keep track of number of externally managed pages. 13615: (vm_page_bootstrap): Initialize M->external. 13616: (vm_page_external_limit): Define new variable. 13617: (vm_page_grab_phys_addr, vm_page_alloc): Add new arg for 13618: vm_page_grab. 13619: (vm_page_free): Provide new arg to vm_page_release. 13620: * vm/vm_page.h (vm_page_external_limit, vm_page_external_count): 13621: New variables. 13622: (struct vm_page): New members `external' and `extcounted'. 13623: (vm_page_grab, vm_page_release, vm_page_convert): Specify new 13624: argument. 13625: * vm/vm_pageout.c (vm_pageout): Initialize vm_page_external_limit 13626: and vm_page_external_target. 13627: (VM_PAGE_EXTERNAL_LIMIT, VM_PAGE_EXTERNAL_TARGET): New macro. 13628: (vm_page_external_target): New variable. 13629: (vm_pageout_scan): Regard "too many externally managed pages" as a 13630: reason to keep doing work, but if that's the only reason we're 13631: doing work, then the only thing we do is schedule cleaning of 13632: pages. Help keep track of the number of externally managed pages 13633: that we care about. 13634: * i386/intel/pmap.c (pmap_page_table_page_alloc): Add new arg for 13635: vm_page_grab. 13636: * linux/dev/glue/block.c (alloc_buffer, device_read): Likewise. 13637: * vm/vm_map.c (vm_map_copy_steal_pages): Likewise. 13638: * vm/vm_fault.c (vm_fault_page): Add new args for vm_page_grab and 13639: vm_page_convert. 13640: 13641: * vm/vm_pageout.c (VM_PAGEOUT_BURST_WAIT): Reduce to 10ms/page. 13642: (VM_PAGEOUT_EMPTY_WAIT): Reduce to 75 ms. 13643: (VM_PAGE_FREE_RESERVED): Increase to 50 pages. 13644: (VM_PAGEOUT_RESERVED_INTERNAL): Adjust to `(reserve) - 25'. 13645: (VM_PAGEOUT_RESERVED_REALLY): Adjust to `(reserve) - 40'. 13646: 1.1.1.4 root 13647: 1999-06-21 Thomas Bushnell, BSG <[email protected]> 13648: 13649: * i386/Files: Don't mention i386/pc/Makerules, 13650: i386/include/Makerules, or i386/util/Makerules. 13651: 13652: * Makefile.in (all-real-archs): Delete variable. 13653: (dist): No longer make `machine' symlink. 13654: 13655: * Makefile.in (dist): Sanify file permissions before building tar 1.1.1.5 root 13656: file. 1.1.1.4 root 13657: 13658: * i386/Subdirs: Remove i386/i386at/boot. 13659: 13660: Sun Jun 20 18:33:59 1999 Thomas Bushnell, BSG <[email protected]> 13661: 13662: * version.c (version): Updated to version 1.2. 1.1.1.5 root 13663: 1.1.1.4 root 13664: * i386/Files: Regenerated. 13665: * i386/Subdirs: Regenerated. 1.1.1.5 root 13666: 1.1.1.4 root 13667: * linux/Files: New file. 13668: * linux/Subdirs: New file. 13669: * Makefile.in (all-archs): Add `linux'. 13670: (all-real-archs): New variable. 13671: (dist): Create `machine' symlink only on 13672: $(all-real-archs). 13673: 13674: * Makefile.in (dist): Use `cp' instead of `ln'. 13675: 13676: * config.guess: Updated from autoconf 2.13. 13677: * config.sub: Likewise. 13678: 13679: 1999-06-16 Thomas Bushnell, BSG <[email protected]> 13680: 13681: * linux/dev/drivers/net/Space.c (ethif_probe): Probe tc59x_probe 13682: (CONFIG_VORTEX) after el3_probe (CONFIG_EL3), because the latter 13683: card matches the former probe, but the driver doesn't work with 13684: it. Reported by Marcus Brinkmann <[email protected]>. 13685: 13686: * Drivers.macros (AC_DRIVER): Only turn on driver if $enableval is 13687: not `no'. Reported by Kalle Olavi Niemitalo <[email protected]>. 13688: 13689: 1999-06-15 Thomas Bushnell, BSG <[email protected]> 13690: 13691: * ipc/ipc_init.c (ipc_bootstrap): Don't make the IOT_PORT zone 13692: exhaustible, because allocation of ports for internal objects 13693: panics if zalloc fails. 13694: 13695: 1999-06-07 OKUJI Yoshinori <[email protected]> 13696: 13697: * linux/dev/drivers/block/genhd.c [MACH] (mach_minor): New variable. 13698: (add_bsd_partition): New function. 13699: (bsd_disklabel_partition) [MACH]: Call add_bsd_partition. 13700: (msdos_partition) [MACH]: Set mach_minor to MINOR before 13701: calling bsd_disklabel_partition. 13702: * linux/dev/drivers/block/ide.c (do_request) [MACH]: Fix "bad access" 13703: message. 13704: 13705: 1999-06-02 Roland McGrath <[email protected]> 13706: 13707: * kern/bootstrap.c (build_args_and_stack): If kernel_cmdline is 13708: nonempty, give the bootstrap task an environment variable of 13709: "MULTIBOOT_CMDLINE=kernel command line" on its stack. 13710: 13711: 1999-05-29 Roland McGrath <[email protected]> 13712: 13713: * kern/startup.c (start_kernel_threads): Call record_time_stamp to 13714: reset the kernel task's creation_time field, so it's not zero. 13715: 13716: 1999-05-24 Mark Kettenis <[email protected]> 13717: 13718: * i386/i386/fpu.c (fp_free): Clear task switch flag before calling 13719: fwait. 13720: (fpu_get_state): Only save FPU state info if the live FPU state 13721: belongs to our target, i.e. if THREAD is the current thread. 13722: (fp_load): Print warning if we try to load an invalid FPU state, 13723: and reset the FPU to some sane state instead. 13724: 13725: 1999-05-23 Roland McGrath <[email protected]> 13726: 13727: * kern/task.c (task_info): Allow count for TASK_BASIC_INFO to be less 13728: two words, not just one. The new member creation_time is two words. 13729: 13730: 1999-05-22 Roland McGrath <[email protected]> 13731: 13732: * linux/configure: Regenerated. 13733: 13734: 1999-05-21 Roland McGrath <[email protected]> 13735: 13736: * linux/configure.in: Fix names dummy -> dummy.in in AC_OUTPUT call. 13737: 13738: 1999-05-14 Roland McGrath <[email protected]> 13739: 13740: * i386/linux/Drivers.in (linux_DRIVER): New macro, does AC_DRIVER and 13741: defines alias for Linux module name. Use that for all single-module 13742: Linux drivers, so we don't forget to define any of the aliases for the 13743: Linux module names. 13744: * i386/linux/configure: Regenerated. 13745: 13746: 1999-04-28 OKUJI Yoshinori <okuji@localhost> 13747: 13748: * linux/dev/drivers/block/genhd.c (bsd_disklabel_partition) [MACH]: 13749: Print BSD slices, using Mach device syntax instead of Linux extented 13750: partition syntax. 13751: 13752: 1999-05-01 Mark Kettenis <[email protected]> 13753: 13754: * linux/dev/glue/block.c (device_get_status): Always set 13755: status_count to DEV_GET_STATUS_COUNT if flavor is DEV_GET_SIZE. 13756: 13757: 1999-04-30 Roland McGrath <[email protected]> 13758: 13759: * i386/linux/Drivers.in: Don't create asm-${systype} symlinks here. 13760: * linux/configure.in: New file. Create them here instead. 13761: * linux/dummy.in: New file, used by configure. 13762: * linux/configure: New file (generated by autoconf). 13763: * configure.in: Configure in linux subdir. 13764: * configure: Regenerated. 13765: 13766: * i386/configure.in: Require only autoconf 2.12, not 2.13. 13767: * i386/configure: Regenerated. 13768: 13769: * aclocal.m4 (hurd_SYSTYPE): New macro. 13770: * i386/linux/Drivers.in: Use it. 13771: * i386/linux/configure: Regenerated. 13772: 13773: Wed Apr 28 02:17:51 1999 Thomas Bushnell, BSG <[email protected]> 13774: 13775: * linux/src/drivers/net/3c59x.c: Upgrade to Linux 2.2.1 version. 13776: (vortex_start_xmit): Don't frob VP->stat.tx_bytes. 13777: (boomerang_start_xmit): Likewise. 13778: (vortex_rx): Don't frob VP->stats.rx_bytes. 13779: (boomerang_rx): Likewise. 13780: Requested by Jeff Bailey ([email protected]). 13781: 13782: Mon Apr 26 02:13:02 1999 Thomas Bushnell, BSG <[email protected]> 13783: 13784: * Makefile.in (objfiles): Don't add $(systype)/sysdep.o here. 13785: ($(systype)/sysdep.o): Delete rule. 13786: (clean, distclean, mostlyclean, maintainerclean, install-headers, 13787: install-kernel): Don't do recursive make here. 13788: * i386/Makefrag (objfiles): Add i386/sysdep.o to the list. 13789: (i386/sysdep.o): New rule. 13790: (clean): Depend on i386-clean. 13791: (distclean): Depend on i386-distclean. 13792: (mostlyclean): Depend on i386-mostlyclean. 13793: (maintainerclean): Depend on i386-maintainerclean. 13794: (install-headers): Depend on i386-install-headers. 13795: (install-kernel): Depend on i386-install-kernel. 13796: (i386-clean, i386-distclean, i386-mostlyclean, 13797: i386-maintainerclean, i386-install-kernel, i386-install-headers): 13798: New rules. 13799: 13800: 1999-04-14 OKUJI Yoshinori <[email protected]> 13801: 13802: * version.c (version): Update to 1.1.92. 13803: 13804: Sun Mar 14 18:53:01 1999 Thomas Bushnell, BSG <[email protected]> 13805: 13806: * device/ds_routines.c (ds_read_done): When touching memory to 13807: mark it dirty, make sure we say "volatile" so the compiler doesn't 13808: optimize it out. 13809: 13810: 1999-04-12 OKUJI Yoshinori <[email protected]> 13811: 13812: * i386/linux/Drivers.in: Fix the source paths for `asm' symbolic 13813: links. Reported by KONISHI Toru <[email protected]>. 13814: 13815: * linux/dev/drivers/block/ide.c (init_hwif_data) [MACH]: Print Mach 13816: device name instead of Linux one. 13817: * linux/dev/drivers/block/genhd.c (disk_name): Likewise. 13818: * linux/dev/drivers/scsi/sd.c (sd_init_onedisk): Likewise. 13819: (sd_detect): Likewise. 13820: * linux/dev/drivers/sr.c (sr_detect): Likewise. 13821: (get_sectorsize): Likewise. 13822: 13823: 1999-03-01 OKUJI Yoshinori <[email protected]> 13824: 13825: Version 1.1.91. 13826: 13827: * version.c (version): Update to 1.1.91. 13828: 13829: 1999-03-01 OKUJI Yoshinori <[email protected]> 13830: 13831: * i386/linux/Drivers.in: Fix linking paths. 13832: * i386/linux/Makefile.in: Corrent include paths and fix 13833: Drivers.macros location. 13834: 13835: 1999-02-28 OKUJI Yoshinori <[email protected]> 13836: 13837: * Makefile.in (clean): Don't move device-drivers.h, because it is 13838: not in the top directory any longer. 13839: (distclean): Remove config.cache and config.log. 13840: * i386/Makefile.in (distclean): Remove config.status, config.log 13841: and Makefile. 13842: * i386/linux/Makefile.in (distclean): Remove config.status, 13843: config.log, Makefile and device-drivers.h. 13844: 13845: 1999-02-27 OKUJI Yoshinori <[email protected]> 13846: 13847: * i386/linux/Drivers.in: Don't link dev/include/asm-i386 to 13848: dev/include/asm. Check if directories already exist before 13849: mkdir_p's. Link directories manually, because AC_LINK_FILES 13850: is weak in linking files from non-current directories. 13851: 13852: * i386/i386at/i386at_ds_routines.c: Include 13853: <i386/linux/device-drivers.h> instead of <linux/device-drivers.h>. 13854: * device/ds_routines.c [LINUX_DEV]: Likewise. 13855: * i386/linux/Makefile.in (linux-gen-flags): Fix an extra slash. 13856: (distclean): Remove asm links. 13857: * linux/src/COPYING: Copied from linux-2.0.36. 13858: 13859: 1999-02-27 OKUJI Yoshinori <[email protected]> 13860: 13861: * Makefile.in: Omit to detect if com or lpr is used, and don't use 13862: linux.o. 13863: (objfiles): Add $(systype)/sysdep.o. 13864: (clean): Chain the target to $(systype). 13865: (distclean): Likewise. 13866: (mostlyclean): Likewise. 13867: (maintainer-clean): Likewise. 13868: (install-headers): Likewise. 13869: (install-kernel): Likewise. 13870: * configure.in: AC_CONFIG_SUBDIRS ${systype} instead of linux. 13871: (--disable-linuxdev): Deleted. 13872: (--disable-com): Likewise. 13873: (--enable-lpr): Likewise. 13874: * i386/Makefile.in: New file. 13875: * i386/configure.in: Likewise. 13876: * i386/Makefrag (DEFINES): Add -DLINUX_DEV. 13877: (objfiles): Always add com.o. If MACH_LPR is defined, then add lpr.o. 13878: * linux/Drivers.in: Moved to ... 13879: * i386/linux/Drivers.in: ... here. Include ../../aclocal.m4. 13880: (mkdir_p): New function to create the linux include dirs. 13881: * linux/Makefile.in: Moved to ... 13882: * i386/linux/Makefile.in: ... here, and modify so that paths 13883: are valid. 13884: (clean): New target. 13885: (distclean): Likewise. 13886: (mostlyclean): Likewise. 13887: (maintainer-clean): Likewise. 13888: * linux/src/include/linux/autoconf.h: Removed. 13889: * linux/dev/include/linux/autoconf.h: Moved to ... 13890: * i386/linux/dev/include/linux/autoconf.h: ... here. 13891: * linux/dev/arch/i386/linux_emul.h: Moved to ... 13892: * i386/linux/dev/include/linux_emul.h: ... here. 13893: * linux/device-drivers.h.in: Moved to ... 13894: * i386/linux/device-drivers.h.in: ... here. 13895: * linux/aclocal.m4: Removed. 13896: * linux/configure: Likewise. 13897: 13898: 1999-02-14 Gordon Matzigkeit <[email protected]> 13899: 13900: * Makefile.in (install-kernel): Be sure that $(bootdir) is 13901: created before installing the kernel. 13902: 13903: 1999-02-06 OKUJI Yoshinori <[email protected]> 13904: 13905: * configure.in: Enable com by default, because current kbd and 13906: mouse can't be linked without com. Reported by M. Meiarashi 13907: <[email protected]>. 13908: 13909: 1999-02-05 OKUJI Yoshinori <[email protected]> 13910: 13911: Version 1.1.90. 13912: 13913: * version.c (version): Update to 1.1.90. 13914: 13915: 1999-02-04 OKUJI Yoshinori <[email protected]> 13916: 13917: * device/kmsg.c (kmsginit): Add a missing semicolon. 13918: (kmsggetstat): Fix typos, 13919: DEV_GET_DEVICE_SIZE -> DEV_GET_SIZE_DEVICE_SIZE and 13920: DEV_GET_RECORD_SIZE -> DEV_GET_SIZE_RECORD_SIZE. 13921: (kmsg_putchar): Fix a typo kmsg_done_init -> kmsg_init_done. 13922: * linux/dev/glue/block.c (device_get_status): Allocate a hd_geometry 13923: on the stack. 13924: * linux/dev/drivers/block/ide.c: New file. 13925: * linux/dev/drivers/scsi/sd_ioctl.c: New file. 13926: 13927: 1999-02-02 OKUJI Yoshinori <[email protected]> 13928: 13929: * i386/i386at/kd_event.c (kbdgetstat): Fix a typo 13930: DEV_GET_SIZES -> DEV_GET_SIZE. 13931: * i386/i386at/kd_mouse.c (mousegetstat): Likewise. 13932: * device/kmsg.c (kmsggetstat): Likewise. 13933: 13934: 1999-02-01 OKUJI Yoshinori <[email protected]> 13935: 13936: * linux/dev/glue/block.c (dev_getstat): Fix a missing `struct'. 13937: * device/cons.c (cninit): Don't call kmsginit. 13938: * kmsg.c (kmsg_buffer): Defined as static. 13939: (kmsg_write_offset): Likewise. 13940: (kmsg_read_offset): Likewise. 13941: (kmsg_read_queue): Likewise. 13942: (kmsg_in_use): Likewise. 13943: (kmsg_lock): Likewise. 13944: (kmsginit): Likewise, and call queue_init instead of setting 13945: PREV and NEXT manually. 13946: (kmsg_done_init): New variable. 13947: (kmsg_putchar): Call kmsginit if not initialized yet. 13948: (kmsggetstat): New function. 13949: * kmsg.h (kmsggetstat): Add the prototype. 13950: * i386/i386at/kd_event.c (kbdgetstat): Handle DEV_GET_SIZE. 13951: (kbdread): Check if the amount a user specify is a multiple 13952: of sizeof(kd_event). 13953: * i386/i386at/kd_mouse.c (mousegetstat): New function. 13954: (mouseread): Check if the amount a user specify is a multiple 13955: of sizeof(kd_event). 13956: * i386/i386at/conf.c (dev_name_list): Set the mouse getstat entry 13957: to mousegetstat and the kmsg getstat entry to kmsggetstat. 13958: Use MACH_COM instead of NCOM to determine if com is used. 13959: Use MACH_LPR instead of NLPR to determine if lpr is used. 13960: * configure.in (--enable-com): New option. 13961: (--enable-lpr): Likewise. 13962: * Makefile.in (enable_com): New variable. 13963: (enable_lpr): Likewise. 13964: * i386/Makefrag (i386at-files): Remove com.c. 13965: (objfiles): Add com.o if enable_com is yes, and lpr.o if enable_lpr 13966: is yes. 13967: 13968: Tue Jan 26 21:36:10 1999 Thomas Bushnell, BSG <[email protected]> 13969: 13970: * kern/exception.c (exception_no_server): Correctly comment out 13971: the suspend code. (This should have happened on 17 April 1997, 13972: but apparently I did it backwards.) 13973: 13974: 1999-01-26 OKUJI Yoshinori <[email protected]> 13975: 13976: * device/kmsg.c (kmsgopen): Added simple_lock and simple_unlock. 13977: (ksmgclose): Likewise. 13978: 13979: 1999-01-25 OKUJI Yoshinori <[email protected]> 13980: 13981: * Makefile.in (install-headers): New target for installing only 13982: the headers. 13983: (install-kernel): New target for installing only the kernel. 13984: (mkheaderdirs): New target for making the headers 13985: installation directories. 13986: (mkkerneldirs): New target for making the kernel 13987: installation directory. 13988: (install): Do nothing by itself, but depend on install-kernel 13989: and install-headers. 13990: 13991: 1999-01-24 OKUJI Yoshinori <[email protected]> 13992: 13993: * device/kmsg.h (KMSGBUFSIZE): Deleted. 13994: * device/kmsg.c: Rewritten completely to provide stream interface. 13995: * linux/dev/glue/block.c (device_getstat): Added V_GETPARMS support. 13996: * config.guess: New version from automake-1.4. 13997: * config.sub: Likewise. 13998: * install-sh: Likewise. 13999: 14000: Some changes were merged from gnumach-m68k by 14001: Aymeric Vincent <[email protected]>. 14002: 14003: * Makefile.in (clean): Don't hang if device-drivers.h doesn't exist. 14004: * linux/Makefile.in (CPPFLAGS): Fix a typo. 14005: 14006: 1999-01-16 OKUJI Yoshinori <[email protected]> 14007: 14008: * device/kmsg.c: Fixed the copyright notice. 14009: (MACH_KMSG): Removed. 14010: * Makefile.in (enable_kmsg): New variable. 14011: (objfiles): Add kmsg.o, if and only if enable_kmsg is yes. 14012: 14013: 1999-01-10 OKUJI Yoshinori <[email protected]> 14014: 14015: * i386/i386at/kd.c: Applied a keymap patch. Reported by 14016: Marcus Brinkmann <[email protected]>. 14017: * i386/i386at/kd.h: Likewise. 14018: 14019: 1998-12-30 OKUJI Yoshinori <[email protected]> 14020: 14021: * linux/dev/glue/net.c (dev_alloc_skb): Change the skb arragement. 14022: (dev_kfree_skb): Free only skb. 14023: (device_write): Keep skb elements up-to-date. 14024: 14025: 1998-12-18 OKUJI Yoshinori <[email protected]> 14026: 14027: * Makefile.in (objfiles): Add kmsg.o. 14028: * device/cons.c: Include <device/io_req.h>. 14029: * device/kmsg.c: Rewritten almost entirely. 14030: 14031: 1998-12-06 OKUJI Yoshinori <[email protected]> 14032: 14033: Add kmsg device. 14034: 14035: * Makefile.in (device-files): Add kmsg.c and kmsg.h. 14036: * configure.in (--enable-kmsg): New option. 14037: * device/cons.c: Include kmsg.h. 14038: (cninit): Call kmsginit if MACH_KMSG is defined. 14039: (cnputc): Call kmsg_putchar if MACH_KMSG is defined. 14040: * device/kmsg.c: New file. 14041: * device/kmsg.h: Likewise. 14042: * i386/i386at/conf.c (dev_name_list): Add kmsg entry. 14043: 14044: 1998-12-02 OKUJI Yoshinori <[email protected]> 14045: 14046: * configure.in: Fix linuxdev option handling. 14047: * linux/Drivers.in: Remove linuxdev option and fix linking files. 14048: * linux/Makefile.in: Replace @DEFS@ with -DLINUX_DEV. 14049: * linux/dev/arch/i386/kernel/irq.c: Include missing header files. 14050: * linux/dev/arch/i386/kernel/setup.c: Include <device-drivers.h>. 14051: * linux/dev/glue/kmem.c: Add printf declaration. 14052: * linux/dev/glue/misc.c: Include <linux/types.h>. 14053: * linux/dev/init/main.c: Call linux_sched_init instead of sched_init. 14054: * linux/dev/kernel/sched.c: Add timer_bh declaration. 14055: (tqueue_bh): Fix the argument. 14056: (linux_sched_init): Renamed from sched_init. 14057: 14058: 1998-12-01 OKUJI Yoshinori <[email protected]> 14059: 14060: * i386/i386at/i386at_ds_routines.c: Include <linux/device-drivers.h> 14061: only if LINUX_DEV is defined. Reported by UCHIYAMA Yasushi 14062: <[email protected]>. 14063: * device/ds_routines.c: Likewise. 14064: * configure.in: AC_CONFIG_SUBDIRS(linux) instead of linuxdev. 14065: (--disable-linuxdev): New option. 14066: * linux/Makefile.in (CPPFLAGS): Remove -DLINUX_DEV, and add @DEFS@. 14067: (objfiles): Add linux.o only if LINUX_DEV is defined. 14068: * linux/Drivers.in (--disable-linuxdev): New option. 14069: * i386/Makefrag (DEFINES): Remove -DLINUX_DEV. 14070: 14071: 1998-11-30 OKUJI Yoshinori <[email protected]> 14072: 14073: Clean up linux emulation code to make it architecture-independent 14074: as much as possible. 14075: 14076: * linux: Renamed from linuxdev. 14077: * Makefile.in (objfiles): Add linux.o instead of linuxdev.o. 14078: (MAKE): New variable. Used for the linux.o target. 14079: * configure.in: Add AC_CHECK_TOOL(MAKE, make). 14080: * i386/i386/spl.h: Include <i386/ipl.h>, for compatibility with 14081: OSF Mach 3.0. Suggested by Elgin Lee <[email protected]>. 14082: * linux/src: Renamed from linux/linux. 14083: * linux/dev: Renamed from linux/mach. 14084: * linux/Drivers.in (AC_INIT): Use dev/include/linux/autoconf.h, 14085: instead of mach/include/linux/autoconf.h. 14086: * Makefile.in (all): Target ../linux.o instead of ../linuxdev.o. 14087: * linux/dev/drivers/block/genhd.c: Include <machine/spl.h> instead 14088: of <i386/ipl.h>. 14089: * linux/dev/drivers/net/auto_irq.c: Remove unneeded header files, 14090: <i386/ipl.h> and <i386/pic.h>. 14091: * linux/dev/init/main.c: Many i386-dependent codes moved to ... 14092: * linux/dev/arch/i386/irq.c: ... here. 14093: * linux/dev/arch/i386/setup.c: New file. 14094: * linux/dev/arch/i386/linux_emul.h: Likewise. 14095: * linux/dev/arch/i386/glue/timer.c: Merged into sched.c. 14096: * linux/dev/arch/i386/glue/sched.c: Include <machine/spl.h> instead 14097: of <i386/ipl.h>, and moved to ... 14098: * linux/dev/kernel/sched.c: ... here. 14099: * linux/dev/arch/i386/glue/block.c: Include <machine/spl.h> and 14100: <linux_emul.h>, instead of i386-dependent header files, and 14101: moved to ... 14102: * linux/dev/glue/blocl.c: ... here. 14103: * linux/dev/arch/i386/glue/net.c: Include <machine/spl.h> and 14104: <linux_emul.h>, instead of i386-dependent header files, and 14105: moved to ... 14106: * linux/dev/glue/net.c: ... here. 14107: * linux/dev/arch/i386/glue/misc.c: Remove `x86' and moved to ... 14108: * linux/dev/glue/misc.c: ... here. 14109: * linux/dev/arch/i386/glue/kmem.c: Moved to ... 14110: * linux/dev/glue/kmem.c: ... here. 14111: 14112: 1998-11-25 OKUJI Yoshinori <[email protected]> 14113: 14114: * linuxdev/mach/init/main.c (linux_init): Call reserve_mach_irqs. 14115: * linuxdev/mach/arch/i386/kernel/irq.c (probe_irq_on): Fix ivect 14116: mishandling. 14117: (probe_irq_off): Disable unnecessary IRQs. Reported by 14118: UCHIYAMA Yasushi <[email protected]>. 14119: (reserve_mach_irqs): New function. 14120: 14121: 1998-11-24 OKUJI Yoshinori <[email protected]> 14122: 14123: * linuxdev/arch/i386/linux_init.c (linux_init): Check ivect 14124: before set linux_bad_intr. 14125: * linuxdev/arch/i386/linux_irq.c (probe_irq_on): Allocate only 14126: if ivect is null, and set linux_intr_pri to intpri. 14127: 14128: * linuxdev: Heavily changed. It becomes more Linux-like file 14129: hierarchy as suggested by Roland McGrath <[email protected]>. 14130: * linuxdev/linux: Contain original Linux source files. 14131: * linuxdev/mach: Contain modified source files for Mach. 14132: * linuxdev/mach/arch/i386/glue: XXX Contain files that are 14133: not easy to segregate. 14134: * Makefile.in: Call `make -C linuxdev all', instead of include 14135: linuxdev/Makefrag. 14136: 14137: 1998-11-23 OKUJI Yoshinori <[email protected]> 14138: 14139: * linuxdev/arch/i386/linux_irq.c (linux_bad_intr): New function. 14140: (free_irq): Set linux_bad_intr into ivect[irq]. 14141: * linuxdev/arch/i386/linux_init.c (linux_init): 14142: Set linux_bad_intr as the default interrupt handler. 14143: 14144: * linuxdev/include/asm-i386/string.h (strstr): Fix the 14145: egcs/gcc 2.8.x bug and a linkage problem. Reported by 14146: Roland McGrath <[email protected]>. 14147: 14148: 1998-11-18 OKUJI Yoshinori <[email protected]> 14149: 14150: * linuxdev/Drivers.in: Fix a typo. 14151: * linuxdev/Makefrag: Likewise. 14152: * linuxdev/arch/i386/linux_block.c (set_blocksize): Likewise. 14153: 14154: * linuxdev/arch/i386/linux_kmem.c (vfree): Cast void * to 14155: vm_offset_t. 14156: * linuxdev/drivers/net/wavelan.p.h: Include 14157: <linuxdev/drivers/net/i82586.h>, instead of <drivers/net/i82586.h>. 14158: * linuxdev/drivers/scsi/aha152x.c: Define AUTOCONF. 14159: * linuxdev/configure: Regenerate. 14160: 14161: 1998-11-17 OKUJI Yoshinori <[email protected]> 14162: 14163: * linuxdev/arch/i386/linux_misc.c (strstr): New function. 14164: Because inline version strstr is not used when use 14165: egcs/gcc 2.8.x. Reported by UCHIYAMA Yasushi <[email protected]>. 14166: 14167: * linuxdev/arch/i386/linux_irq.c (unmask_irq): Fix a typo. 14168: 14169: 1998-11-17 OKUJI Yoshinori <[email protected]> 14170: 14171: * i386/README-Drivers: Update to Linux 2.0.36 device drivers. 14172: * linuxdev/Drivers.in: Likewise. 14173: * linuxdev/Makefrag: Likewise. 14174: * linuxdev/arch/i386/linux_lib.S: Likewise. 14175: * linuxdev/device-drivers.h.in: Likewise. 14176: * linuxdev/drivers/block/floppy.c: Likewise. 14177: * linuxdev/drivers/block/ide.c: Likewise. 14178: * linuxdev/drivers/block/ide.h: Likewise. 14179: * linuxdev/drivers/net/3c505.h: Likewise. 14180: * linuxdev/drivers/net/3c509.c: Likewise. 14181: * linuxdev/drivers/net/3c515.c: Likewise. 14182: * linuxdev/drivers/net/3c59x.c: Likewise. 14183: * linuxdev/drivers/net/Space.c: Likewise. 14184: * linuxdev/drivers/net/apricot.c: Likewise. 14185: * linuxdev/drivers/net/de4x5.c: Likewise. 14186: * linuxdev/drivers/net/eepro.c: Likewise. 14187: * linuxdev/drivers/net/eepro100.c: Likewise. 14188: * linuxdev/drivers/net/eexpress.c: Likewise. 14189: * linuxdev/drivers/net/epic100.c: Likewise. 14190: * linuxdev/drivers/net/eth16i.c: Likewise. 14191: * linuxdev/drivers/net/hp100.c: Likewise. 14192: * linuxdev/drivers/net/lance.c: Likewise. 14193: * linuxdev/drivers/net/ne2k-pci.c: Likewise. 14194: * linuxdev/drivers/net/pcnet32.c: Likewise. 14195: * linuxdev/drivers/net/rtl8139.c: Likewise. 14196: * linuxdev/drivers/net/tlan.c: Likewise. 14197: * linuxdev/drivers/net/tulip.c: Likewise. 14198: * linuxdev/drivers/net/wavelan.c: Likewise. 14199: * linuxdev/drivers/pci/pci.c: Likewise. 14200: * linuxdev/drivers/scsi/BusLogic.c: Likewise. 14201: * linuxdev/drivers/scsi/FlashPoint.c: Likewise. 14202: * linuxdev/drivers/scsi/aha152x.c: Likewise. 14203: * linuxdev/drivers/scsi/aha1542.c: Likewise. 14204: * linuxdev/drivers/scsi/aic7xxx/sequencer.h: Likewise. 14205: * linuxdev/drivers/scsi/aic7xxx.c: Likewise. 14206: * linuxdev/drivers/scsi/aic7xxx_proc.c: Likewise. 14207: * linuxdev/drivers/scsi/aic7xxx_reg.h: Likewise. 14208: * linuxdev/drivers/scsi/dtc.c: Likewise. 14209: * linuxdev/drivers/scsi/eata.c: Likewise. 14210: * linuxdev/drivers/scsi/eata.h: Likewise. 14211: * linuxdev/drivers/scsi/eata_dma.c: Likewise. 14212: * linuxdev/drivers/scsi/gdth.c: Likewise. 14213: * linuxdev/drivers/scsi/gdth.h: Likewise. 14214: * linuxdev/drivers/scsi/gdth_proc.c: Likewise. 14215: * linuxdev/drivers/scsi/gdth_proc.h: Likewise. 14216: * linuxdev/drivers/scsi/hosts.c: Likewise. 14217: * linuxdev/drivers/scsi/in2000.c: Likewise. 14218: * linuxdev/drivers/scsi/in2000.h: Likewise. 14219: * linuxdev/drivers/scsi/ncr53c8xx.c: Likewise. 14220: * linuxdev/drivers/scsi/ppa.h: Likewise. 14221: * linuxdev/drivers/scsi/scsi.c: Likewise. 14222: * linuxdev/drivers/scsi/scsicam.c: Likewise. 14223: * linuxdev/drivers/scsi/sd.c: Likewise. 14224: * linuxdev/drivers/scsi/seagate.c: Likewise. 14225: * linuxdev/drivers/scsi/u14-34f.c: Likewise. 14226: * linuxdev/drivers/scsi/u14-34f.h: Likewise. 14227: * linuxdev/drivers/scsi/wd7000.c: Likewise. 14228: * linuxdev/drivers/scsi/wd7000.h: Likewise. 14229: * linuxdev/include/asm-i386/irq.h: Likewise. 14230: * linuxdev/include/asm-i386/processor.h: Likewise. 14231: * linuxdev/include/asm-i386/ptrace.h: Likewise. 14232: * linuxdev/include/asm-i386/system.h: Likewise. 14233: * linuxdev/include/asm-i386/unistd.h: Likewise. 14234: * linuxdev/include/linux/fs.h: Likewise. 14235: * linuxdev/include/linux/genhd.h: Likewise. 14236: * linuxdev/include/linux/interrupt.h: Likewise. 14237: * linuxdev/include/linux/ip.h: Likewise. 14238: * linuxdev/include/linux/pci.h: Likewise. 14239: * linuxdev/include/linux/version.h: Likewise. 14240: * linuxdev/include/linux/wireless.h: Likewise. 14241: 14242: * linuxdev/drivers/net/via-rhine.c: New file. 14243: * linuxdev/drivers/scsi/aic7xxx_seq.c: Likewise. 14244: * linuxdev/include/linux/rose.h: Likewise. 14245: 14246: * linuxdev/drivers/scsi/aic7xxx_seq.h: Removed. 14247: * linuxdev/configure: Regenerate. 14248: * linuxdev/include/asm-i386/string.h: Fix the egcs/gcc 2.8.x problem, 14249: according to http://www.suse.de/~florian/kernel+egcs.html. 14250: 14251: 1998-11-14 OKUJI Yoshinori <[email protected]> 14252: 14253: * Makefile.in (clib-routines.o): Add -L option to search libc.a. 14254: Reported by TAKEUCHI Yoji <[email protected]>. 14255: 14256: * linuxdev/drivers/pci/bios32.c: Moved to ... 14257: * linuxdev/arch/i386/linux_bios32.c: ... here. Because it is 14258: i386-specific code. 14259: * linuxdev/include/asm: Moved to ... 14260: * linuxdev/include/asm-i386: ... here. 14261: 14262: * i386/README-Drivers: Update to Linux 2.0.35 device drivers. 14263: * linuxdev/Drivers.in: Likewise. 14264: * linuxdev/configure: Likewise. 14265: * linuxdev/device-drivers.h.in: Likewise. 14266: * linuxdev/Makefrag: Likewise. 14267: * linuxdev/arch/i386/linux_autoirq.c: Likewise. 14268: * linuxdev/arch/i386/linux_block.c: Likewise. 14269: * linuxdev/arch/i386/linux_dma.c: Likewise. 14270: * linuxdev/arch/i386/linux_init.c: Likewise. 14271: * linuxdev/arch/i386/linux_irq.c: Likewise. 14272: * linuxdev/arch/i386/linux_kmem.c: Likewise. 14273: * linuxdev/arch/i386/linux_misc.c: Likewise. 14274: * linuxdev/arch/i386/linux_net.c: Likewise. 14275: * linuxdev/arch/i386/linux_port.c: Likewise. 14276: * linuxdev/arch/i386/linux_printk.c: Likewise. 14277: * linuxdev/arch/i386/linux_sched.c: Likewise. 14278: * linuxdev/arch/i386/linux_timer.c: Likewise. 14279: * linuxdev/arch/i386/linux_version.c: Likewise. 14280: * linuxdev/arch/i386/linux_vsprintf.c: Likewise. 14281: * linuxdev/drivers/block/cmd640.c: Likewise. 14282: * linuxdev/drivers/block/floppy.c: Likewise. 14283: * linuxdev/drivers/block/genhd.c: Likewise. 14284: * linuxdev/drivers/block/ide-cd.c: Likewise. 14285: * linuxdev/drivers/block/ide.c: Likewise. 14286: * linuxdev/drivers/block/ide.h: Likewise. 14287: * linuxdev/drivers/block/ide_modes.h: Likewise. 14288: * linuxdev/drivers/block/rz1000.c: Likewise. 14289: * linuxdev/drivers/block/triton.c: Likewise. 14290: * linuxdev/drivers/net/3c501.c: Likewise. 14291: * linuxdev/drivers/net/3c503.c: Likewise. 14292: * linuxdev/drivers/net/3c505.c: Likewise. 14293: * linuxdev/drivers/net/3c507.c: Likewise. 14294: * linuxdev/drivers/net/3c509.c: Likewise. 14295: * linuxdev/drivers/net/3c59x.c: Likewise. 14296: * linuxdev/drivers/net/8390.c: Likewise. 14297: * linuxdev/drivers/net/8390.h: Likewise. 14298: * linuxdev/drivers/net/Space.c: Likewise. 14299: * linuxdev/drivers/net/ac3200.c: Likewise. 14300: * linuxdev/drivers/net/apricot.c: Likewise. 14301: * linuxdev/drivers/net/at1700.c: Likewise. 14302: * linuxdev/drivers/net/atp.c: Likewise. 14303: * linuxdev/drivers/net/atp.h: Likewise. 14304: * linuxdev/drivers/net/de4x5.c: Likewise. 14305: * linuxdev/drivers/net/de4x5.h: Likewise. 14306: * linuxdev/drivers/net/de600.c: Likewise. 14307: * linuxdev/drivers/net/de620.c: Likewise. 14308: * linuxdev/drivers/net/depca.c: Likewise. 14309: * linuxdev/drivers/net/dev.c: Likewise. 14310: * linuxdev/drivers/net/e2100.c: Likewise. 14311: * linuxdev/drivers/net/eepro.c: Likewise. 14312: * linuxdev/drivers/net/eepro100.c: Likewise. 14313: * linuxdev/drivers/net/eexpress.c: Likewise. 14314: * linuxdev/drivers/net/eth16i.c: Likewise. 14315: * linuxdev/drivers/net/ewrk3.c: Likewise. 14316: * linuxdev/drivers/net/ewrk3.h: Likewise. 14317: * linuxdev/drivers/net/hp-plus.c: Likewise. 14318: * linuxdev/drivers/net/hp.c: Likewise. 14319: * linuxdev/drivers/net/hp100.c: Likewise. 14320: * linuxdev/drivers/net/hp100.h: Likewise. 14321: * linuxdev/drivers/net/i82586.h: Likewise. 14322: * linuxdev/drivers/net/lance.c: Likewise. 14323: * linuxdev/drivers/net/ne.c: Likewise. 14324: * linuxdev/drivers/net/net_init.c: Likewise. 14325: * linuxdev/drivers/net/ni52.c: Likewise. 14326: * linuxdev/drivers/net/ni52.h: Likewise. 14327: * linuxdev/drivers/net/ni65.c: Likewise. 14328: * linuxdev/drivers/net/ni65.h: Likewise. 14329: * linuxdev/drivers/net/seeq8005.c: Likewise. 14330: * linuxdev/drivers/net/seeq8005.h: Likewise. 14331: * linuxdev/drivers/net/sk_g16.c: Likewise. 14332: * linuxdev/drivers/net/sk_g16.h: Likewise. 14333: * linuxdev/drivers/net/smc-ultra.c: Likewise. 14334: * linuxdev/drivers/net/tulip.c: Likewise. 14335: * linuxdev/drivers/net/wavelan.c: Likewise. 14336: * linuxdev/drivers/net/wavelan.h: Likewise. 14337: * linuxdev/drivers/net/wd.c: Likewise. 14338: * linuxdev/drivers/net/znet.c: Likewise. 14339: * linuxdev/drivers/pci/pci.c: Likewise. 14340: * linuxdev/drivers/scsi/53c7,8xx.h: Likewise. 14341: * linuxdev/drivers/scsi/53c78xx.c: Likewise. 14342: * linuxdev/drivers/scsi/53c8xx_d.h: Likewise. 14343: * linuxdev/drivers/scsi/AM53C974.c: Likewise. 14344: * linuxdev/drivers/scsi/AM53C974.h: Likewise. 14345: * linuxdev/drivers/scsi/BusLogic.c: Likewise. 14346: * linuxdev/drivers/scsi/BusLogic.h: Likewise. 14347: * linuxdev/drivers/scsi/NCR53c406a.c: Likewise. 14348: * linuxdev/drivers/scsi/NCR53c406a.h: Likewise. 14349: * linuxdev/drivers/scsi/advansys.c: Likewise. 14350: * linuxdev/drivers/scsi/advansys.h: Likewise. 14351: * linuxdev/drivers/scsi/aha152x.c: Likewise. 14352: * linuxdev/drivers/scsi/aha152x.h: Likewise. 14353: * linuxdev/drivers/scsi/aha1542.c: Likewise. 14354: * linuxdev/drivers/scsi/aha1542.h: Likewise. 14355: * linuxdev/drivers/scsi/aha1740.c: Likewise. 14356: * linuxdev/drivers/scsi/aha1740.h: Likewise. 14357: * linuxdev/drivers/scsi/aic7xxx.c: Likewise. 14358: * linuxdev/drivers/scsi/aic7xxx.h: Likewise. 14359: * linuxdev/drivers/scsi/aic7xxx_seq.h: Likewise. 14360: * linuxdev/drivers/scsi/constants.h: Likewise. 14361: * linuxdev/drivers/scsi/eata.c: Likewise. 14362: * linuxdev/drivers/scsi/eata.h: Likewise. 14363: * linuxdev/drivers/scsi/eata_dma.c: Likewise. 14364: * linuxdev/drivers/scsi/eata_dma.h: Likewise. 14365: * linuxdev/drivers/scsi/eata_generic.h: Likewise. 14366: * linuxdev/drivers/scsi/eata_pio.c: Likewise. 14367: * linuxdev/drivers/scsi/eata_pio.h: Likewise. 14368: * linuxdev/drivers/scsi/fdomain.c: Likewise. 14369: * linuxdev/drivers/scsi/fdomain.h: Likewise. 14370: * linuxdev/drivers/scsi/g_NCR5380.c: Likewise. 14371: * linuxdev/drivers/scsi/g_NCR5380.h: Likewise. 14372: * linuxdev/drivers/scsi/hosts.c: Likewise. 14373: * linuxdev/drivers/scsi/hosts.h: Likewise. 14374: * linuxdev/drivers/scsi/in2000.c: Likewise. 14375: * linuxdev/drivers/scsi/in2000.h: Likewise. 14376: * linuxdev/drivers/scsi/pas16.c: Likewise. 14377: * linuxdev/drivers/scsi/pas16.h: Likewise. 14378: * linuxdev/drivers/scsi/scsi.c: Likewise. 14379: * linuxdev/drivers/scsi/scsi.h: Likewise. 14380: * linuxdev/drivers/scsi/scsi_ioctl.c: Likewise. 14381: * linuxdev/drivers/scsi/scsi_proc.c: Likewise. 14382: * linuxdev/drivers/scsi/scsicam.c: Likewise. 14383: * linuxdev/drivers/scsi/sd.c: Likewise. 14384: * linuxdev/drivers/scsi/sd.h: Likewise. 14385: * linuxdev/drivers/scsi/sd_ioctl.c: Likewise. 14386: * linuxdev/drivers/scsi/seagate.c: Likewise. 14387: * linuxdev/drivers/scsi/seagate.h: Likewise. 14388: * linuxdev/drivers/scsi/sr.c: Likewise. 14389: * linuxdev/drivers/scsi/sr_ioctl.c: Likewise. 14390: * linuxdev/drivers/scsi/t128.c: Likewise. 14391: * linuxdev/drivers/scsi/t128.h: Likewise. 14392: * linuxdev/drivers/scsi/u14-34f.c: Likewise. 14393: * linuxdev/drivers/scsi/u14-34f.h: Likewise. 14394: * linuxdev/drivers/scsi/ultrastor.c: Likewise. 14395: * linuxdev/drivers/scsi/ultrastor.h: Likewise. 14396: * linuxdev/drivers/scsi/wd7000.c: Likewise. 14397: * linuxdev/drivers/scsi/wd7000.h: Likewise. 14398: * linuxdev/include/asm-i386/bitops.h: Likewise. 14399: * linuxdev/include/asm-i386/delay.h: Likewise. 14400: * linuxdev/include/asm-i386/dma.h: Likewise. 14401: * linuxdev/include/asm-i386/errno.h: Likewise. 14402: * linuxdev/include/asm-i386/fcntl.h: Likewise. 14403: * linuxdev/include/asm-i386/floppy.h: Likewise. 14404: * linuxdev/include/asm-i386/ioctl.h: Likewise. 14405: * linuxdev/include/asm-i386/floppy.h: Likewise. 14406: * linuxdev/include/asm-i386/irq.h: Likewise. 14407: * linuxdev/include/asm-i386/processor.h: Likewise. 14408: * linuxdev/include/asm-i386/ptrace.h: Likewise. 14409: * linuxdev/include/asm-i386/resource.h: Likewise. 14410: * linuxdev/include/asm-i386/segment.h: Likewise. 14411: * linuxdev/include/asm-i386/sigcontext.h: Likewise. 14412: * linuxdev/include/asm-i386/signal.h: Likewise. 14413: * linuxdev/include/asm-i386/socket.h: Likewise. 14414: * linuxdev/include/asm-i386/statfs.h: Likewise. 14415: * linuxdev/include/asm-i386/string.h: Likewise. 14416: * linuxdev/include/asm-i386/system.h: Likewise. 14417: * linuxdev/include/asm-i386/termios.h: Likewise. 14418: * linuxdev/include/asm-i386/types.h: Likewise. 14419: * linuxdev/include/asm-i386/unistd.h: Likewise. 14420: * linuxdev/include/linux/autoconf.h: Likewise. 14421: * linuxdev/include/linux/binfmts.h: Likewise. 14422: * linuxdev/include/linux/bios32.h: Likewise. 14423: * linuxdev/include/linux/blk.h: Likewise. 14424: * linuxdev/include/linux/blkdev.h: Likewise. 14425: * linuxdev/include/linux/cdrom.h: Likewise. 14426: * linuxdev/include/linux/config.h: Likewise. 14427: * linuxdev/include/linux/etherdevice.h: Likewise. 14428: * linuxdev/include/linux/fd.h: Likewise. 14429: * linuxdev/include/linux/fdreg.h: Likewise. 14430: * linuxdev/include/linux/fs.h: Likewise. 14431: * linuxdev/include/linux/genhd.h: Likewise. 14432: * linuxdev/include/linux/hdreg.h: Likewise. 14433: * linuxdev/include/linux/if.h: Likewise. 14434: * linuxdev/include/linux/if_arp.h: Likewise. 14435: * linuxdev/include/linux/if_ether.h: Likewise. 14436: * linuxdev/include/linux/if_tr.h: Likewise. 14437: * linuxdev/include/linux/igmp.h: Likewise. 14438: * linuxdev/include/linux/in.h: Likewise. 14439: * linuxdev/include/linux/inet.h: Likewise. 14440: * linuxdev/include/linux/interrupt.h: Likewise. 14441: * linuxdev/include/linux/ioport.h: Likewise. 14442: * linuxdev/include/linux/ip.h: Likewise. 14443: * linuxdev/include/linux/kernel.h: Likewise. 14444: * linuxdev/include/linux/locks.h: Likewise. 14445: * linuxdev/include/linux/major.h: Likewise. 14446: * linuxdev/include/linux/malloc.h: Likewise. 14447: * linuxdev/include/linux/mc146818rtc.h: Likewise. 14448: * linuxdev/include/linux/mm.h: Likewise. 14449: * linuxdev/include/linux/module.h: Likewise. 14450: * linuxdev/include/linux/mount.h: Likewise. 14451: * linuxdev/include/linux/net.h: Likewise. 14452: * linuxdev/include/linux/netdevice.h: Likewise. 14453: * linuxdev/include/linux/nfs.h: Likewise. 14454: * linuxdev/include/linux/notifier.h: Likewise. 14455: * linuxdev/include/linux/pagemap.h: Likewise. 14456: * linuxdev/include/linux/pci.h: Likewise. 14457: * linuxdev/include/linux/personality.h: Likewise. 14458: * linuxdev/include/linux/proc_fs.h: Likewise. 14459: * linuxdev/include/linux/quota.h: Likewise. 14460: * linuxdev/include/linux/route.h: Likewise. 14461: * linuxdev/include/linux/sched.h: Likewise. 14462: * linuxdev/include/linux/skbuff.h: Likewise. 14463: * linuxdev/include/linux/socket.h: Likewise. 14464: * linuxdev/include/linux/sockios.h: Likewise. 14465: * linuxdev/include/linux/string.h: Likewise. 14466: * linuxdev/include/linux/time.h: Likewise. 14467: * linuxdev/include/linux/timer.h: Likewise. 14468: * linuxdev/include/linux/tqueue.h: Likewise. 14469: * linuxdev/include/linux/tty.h: Likewise. 14470: * linuxdev/include/linux/types.h: Likewise. 14471: * linuxdev/include/linux/uio.h: Likewise. 14472: * linuxdev/include/linux/version.h: Likewise. 14473: * linuxdev/include/linux/wait.h: Likewise. 14474: * linuxdev/include/net/af_unix.h: Likewise. 14475: * linuxdev/include/net/ax25.h: Likewise. 14476: * linuxdev/include/net/ax25call.h: Likewise. 14477: * linuxdev/include/net/icmp.h: Likewise. 14478: * linuxdev/include/net/ip.h: Likewise. 14479: * linuxdev/include/net/ip_alias.h: Likewise. 14480: * linuxdev/include/net/ip_forward.h: Likewise. 14481: * linuxdev/include/net/ipx.h: Likewise. 14482: * linuxdev/include/net/netlink.h: Likewise. 14483: * linuxdev/include/net/netrom.h: Likewise. 14484: * linuxdev/include/net/nrcall.h: Likewise. 14485: * linuxdev/include/net/p8022.h: Likewise. 14486: * linuxdev/include/net/protocol.h: Likewise. 14487: * linuxdev/include/net/psnap.h: Likewise. 14488: * linuxdev/include/net/raw.h: Likewise. 14489: * linuxdev/include/net/route.h: Likewise. 14490: * linuxdev/include/net/sock.h: Likewise. 14491: * linuxdev/include/net/tcp.h: Likewise. 14492: * linuxdev/include/net/udp.h: Likewise. 14493: 14494: * linuxdev/arch/i386/linux_soft.c: Removed. 14495: * linuxdev/drivers/scsi/NCR5380.src: Likewise. 14496: * linuxdev/drivers/scsi/aic7xxx_proc.src: Likewise. 14497: * linuxdev/drivers/scsi/aic7xxx_reg.h: Likewise. 14498: * linuxdev/drivers/scsi/eata_dma_proc.src: Likewise. 14499: * linuxdev/drivers/scsi/eata_pio_proc.src: Likewise. 14500: * linuxdev/drivers/scsi/qlogic.c: Likewise. 14501: * linuxdev/drivers/scsi/qlogic.h: Likewise. 14502: * linuxdev/drivers/scsi/scsi_debug.c: Likewise. 14503: * linuxdev/drivers/scsi/scsi_debug.h: Likewise. 14504: * linuxdev/drivers/scsi/scsi_ioctl.h: Likewise. 14505: * linuxdev/include/linux/math_emu.h: Likewise. 14506: * linuxdev/include/linux/minix_fs.h: Likewise. 14507: * linuxdev/include/linux/minix_fs_sb.h: Likewise. 14508: * linuxdev/include/linux/scsi.h: Likewise. 14509: * linuxdev/include/linux/scsicam.h: Likewise. 14510: * linuxdev/include/linux/vm86.h: Likewise. 14511: 14512: * linuxdev/arch/i386/linux_ctype.c: New file. 14513: * linuxdev/arch/i386/linux_lib.S: Likewise. 14514: * linuxdev/arch/i386/linux_softirq.c: Likewise. 14515: * linuxdev/drivers/net/3c515.c: Likewise. 14516: * linuxdev/drivers/net/epic100.c: Likewise. 14517: * linuxdev/drivers/net/eth82586.h: Likewise. 14518: * linuxdev/drivers/net/fmv18x.c: Likewise. 14519: * linuxdev/drivers/net/ne2k-pci.c: Likewise. 14520: * linuxdev/drivers/net/pcnet32.c: Likewise. 14521: * linuxdev/drivers/net/rtl8139.c: Likewise. 14522: * linuxdev/drivers/net/smc-ultra32.c: Likewise. 14523: * linuxdev/drivers/net/smc9194.c: Likewise. 14524: * linuxdev/drivers/net/smc9194.h: Likewise. 14525: * linuxdev/drivers/net/tlan.c: Likewise. 14526: * linuxdev/drivers/net/tlan.h: Likewise. 14527: * linuxdev/drivers/net/wavelan.p.h: Likewise. 14528: * linuxdev/drivers/net/yellowfin.c: Likewise. 14529: * linuxdev/drivers/scsi/FlashPoint.c: Likewise. 14530: * linuxdev/drivers/scsi/NCR5380.c: Likewise. 14531: * linuxdev/drivers/scsi/NCR5380.h: Likewise. 14532: * linuxdev/drivers/scsi/aic7xxx/scsi_message.h: Likewise. 14533: * linuxdev/drivers/scsi/aic7xxx/sequencer.h: Likewise. 14534: * linuxdev/drivers/scsi/aic7xxx_proc.c: Likewise. 14535: * linuxdev/drivers/scsi/dc390.h: Likewise. 14536: * linuxdev/drivers/scsi/dc390w.h: Likewise. 14537: * linuxdev/drivers/scsi/dtc.c: Likewise. 14538: * linuxdev/drivers/scsi/dtc.h: Likewise. 14539: * linuxdev/drivers/scsi/eata_dma_proc.c: Likewise. 14540: * linuxdev/drivers/scsi/eata_pio_proc.c: Likewise. 14541: * linuxdev/drivers/scsi/gdth.c: Likewise. 14542: * linuxdev/drivers/scsi/gdth.h: Likewise. 14543: * linuxdev/drivers/scsi/gdth_ioctl.h: Likewise. 14544: * linuxdev/drivers/scsi/gdth_proc.c: Likewise. 14545: * linuxdev/drivers/scsi/gdth_proc.h: Likewise. 14546: * linuxdev/drivers/scsi/ncr53c8xx.c: Likewise. 14547: * linuxdev/drivers/scsi/ncr53c8xx.h: Likewise. 14548: * linuxdev/drivers/scsi/ppa.c: Likewise. 14549: * linuxdev/drivers/scsi/ppa.h: Likewise. 14550: * linuxdev/drivers/scsi/qlogicfas.c: Likewise. 14551: * linuxdev/drivers/scsi/qlogicfas.h: Likewise. 14552: * linuxdev/drivers/scsi/qlogicisp.c: Likewise. 14553: * linuxdev/drivers/scsi/qlogicisp.h: Likewise. 14554: * linuxdev/drivers/scsi/qlogicisp_asm.c: Likewise. 14555: * linuxdev/drivers/scsi/scripts.h: Likewise. 14556: * linuxdev/drivers/scsi/scsiio.c: Likewise. 14557: * linuxdev/drivers/scsi/scsiiom.c: Likewise. 14558: * linuxdev/drivers/scsi/tmscsim.c: Likewise. 14559: * linuxdev/drivers/scsi/tmscsim.h: Likewise. 14560: * linuxdev/drivers/scsi/tmscsiw.c: Likewise. 14561: * linuxdev/drivers/scsi/tmscsiw.h: Likewise. 14562: * linuxdev/include/asm-i386/atomic.h: Likewise. 14563: * linuxdev/include/asm-i386/checksum.h: Likewise. 14564: * linuxdev/include/asm-i386/ioctls.h: Likewise. 14565: * linuxdev/include/asm-i386/math_emu.h: Likewise. 14566: * linuxdev/include/asm-i386/posix_types.h: Likewise. 14567: * linuxdev/include/asm-i386/semaphore.h: Likewise. 14568: * linuxdev/include/asm-i386/sockios.h: Likewise. 14569: * linuxdev/include/asm-i386/string-486.h: Likewise. 14570: * linuxdev/include/asm-i386/termbits.h: Likewise. 14571: * linuxdev/include/asm-i386/unaligned.h: Likewise. 14572: * linuxdev/include/asm-i386/vm86.h: Likewise. 14573: * linuxdev/include/linux/affs_hardblocks.h: Likewise. 14574: * linuxdev/include/linux/atalk.h: Likewise. 14575: * linuxdev/include/linux/ax25.h: Likewise. 14576: * linuxdev/include/linux/compile.h: Likewise. 14577: * linuxdev/include/linux/ctype.h: Likewise. 14578: * linuxdev/include/linux/fddidevice.h: Likewise. 14579: * linuxdev/include/linux/icmp.h: Likewise. 14580: * linuxdev/include/linux/if_fddi.h: Likewise. 14581: * linuxdev/include/linux/ipx.h: Likewise. 14582: * linuxdev/include/linux/md.h: Likewise. 14583: * linuxdev/include/linux/netrom.h: Likewise. 14584: * linuxdev/include/linux/posix_types.h: Likewise. 14585: * linuxdev/include/linux/random.h: Likewise. 14586: * linuxdev/include/linux/ucdrom.h: Likewise. 14587: * linuxdev/include/linux/udp.h: Likewise. 14588: * linuxdev/include/linux/wireless.h: Likewise. 14589: * linuxdev/include/net/br.h: Likewise. 14590: * linuxdev/include/net/gc.h: Likewise. 14591: * linuxdev/include/net/ip_masq.h: Likewise. 14592: * linuxdev/include/net/p8022tr.h: Likewise. 14593: * linuxdev/include/net/p8022trcall.h: Likewise. 14594: * linuxdev/include/net/rose.h: Likewise. 14595: * linuxdev/include/net/rosecall.h: Likewise. 14596: * linuxdev/include/net/slhc_vj.h: Likewise. 14597: * linuxdev/include/net/spx.h: Likewise. 14598: * linuxdev/include/scsi/scsi.h: Likewise. 14599: * linuxdev/include/scsi/scsi_ioctl.h: Likewise. 14600: * linuxdev/include/scsi/scsicam.h: Likewise. 14601: 14602: 1998-11-06 OKUJI Yoshinori <[email protected]> 14603: 14604: * i386/i386at/gpl/linux: Moved to ... 14605: * linuxdev: ... here. 14606: * i386/Makefrag: Linux drivers specific code moved to ... 14607: * linuxdev/Makefrag: ... here. 14608: * i386/Files: Recreated. 14609: * i386/Subdirs: Likewise. 14610: * linuxdev/drivers: New directory. 14611: * linuxdev/arch: Likewise. 14612: * linuxdev/arch/i386: Likewise. 14613: * linuxdev/{block,scsi,net,pci}: Moved to ... 14614: * linuxdev/drivers/{block,scsi,net,pci}: ... here. 14615: * i386/{Drivers.in,device-drivers.h.in,driverlist.in}: Moved to ... 14616: * linuxdev/{Drivers.in,device-drivers.h.in,driverlist.in}: ... here. 14617: * linuxdev/{linux_emul.h,linux_*.c}: Moved to ... 14618: * linuxdev/arch/i386/{linux_emul.h,linux_*.c}: ... here. 14619: * linuxdev/arch/i386/linux_block.c: Include <linux_emul.h>, instead 14620: of <i386at/gpl/linux/linux_emul.h>. 14621: * linuxdev/arch/i386/linux_init.c: Likewise. 14622: * linuxdev/arch/i386/linux_kmem.c: Likewise. 14623: * linuxdev/arch/i386/linux_misc.c: Likewise. 14624: * linuxdev/arch/i386/linux_net.c: Likewise. 14625: * linuxdev/arch/i386/linux_sched.c: Likewise. 14626: * device/ds_routines.c: Include <linuxdev/device-drivers.h>, instead 14627: of <i386/device-drivers.h>. 14628: * linuxdev/arch/i386/linux_init.c: Likewise. 14629: * linuxdev/include/linux/autoconf.h: Likewise. 14630: * Makefile.in: Include $(srcdir)/linuxdev/Makefrag. 14631: * linuxdev/Drivers.in (AC_INIT): Use include/linux/autoconf.h, 14632: instead of i386/i386asm.sym. 14633: 14634: 1998-10-28 Roland McGrath <[email protected]> 14635: 14636: * include/mach/multiboot.h: Contents were doubled. 14637: 14638: 1998-10-24 Roland McGrath <[email protected]> 14639: 14640: * Makefile.in (mach_machine): Don't depend on config.status, since it 14641: is always newer than the symlink target. 14642: 14643: * i386/Makefrag ($(systype)/device-drivers.h): Depend on 14644: $(systype)/driverlist, and have no commands. 14645: 14646: * configure.in (--enable-kdb): Fix help text; handle --disable-kdb. 14647: Remove BUILD_CC checks and lex/yacc checks (which were for mig). 14648: (installed_clib): Remove these checks. 14649: (LD, NM, MIG): Use AC_CHECK_TOOL for these. 14650: 14651: * Makefile.in (all, clean, mostlyclean, install, dist, 14652: %_interface.h rule, all *mig* rules): Remove all commands, deps, 14653: and rules related to mig, which is now in a separate distribution. 14654: 14655: * Makefile.in (before-compile): Add mach/machine. 14656: (mach/machine, mach_machine): New rules to make symlink so 14657: #include <mach/machine/foo.h> works. 14658: 14659: * Makefile.in (NM): New variable, substituted by configure. 14660: (check-clib-routines): Use $(NM) instead of literal "nm". 14661: Fix awk script to grok __ defns and weak defns of desired symbols. 14662: (clib-routines.o): Use $(CC) -r -nostartfiles -nostdlib -static 14663: instead of $(LD) -r. Use -lc instead of $(installed-clib). 14664: (installed-clib): Variable removed. 14665: 14666: * i386/Makefrag: Use -include for linux-flags, so no warning. 14667: 14668: * device/chario.c: Add forward decl for ttstart. 14669: 14670: * i386/i386/db_trace.c: Use explicit int in decl. 14671: 14672: * device/ds_routines.c (device_write_trap, device_writev_trap, 14673: ds_trap_write_done): Cast arg to zfree. 14674: 14675: * kern/ipc_tt.c (mach_ports_lookup): Remove unnecessary cast. 14676: 14677: 1998-10-04 Roland McGrath <[email protected]> 14678: 14679: * include/mach/message.h: Use __typeof instead of typeof. 14680: 14681: 1998-09-06 Roland McGrath <[email protected]> 14682: 14683: * kern/time_out.h: Include <mach/time_value.h> for time_value_t defn. 14684: 14685: 1998-07-19 Roland McGrath <[email protected]> 14686: 14687: * mig: Subdirectory removed, now in separate dist. 14688: 14689: Fri Apr 24 14:24:15 1998 Thomas Bushnell, n/BSG <[email protected]> 14690: 14691: * i386/i386/pcb.c (thread_setstatus): Set STATE before validating 14692: segment registers. Reported by UCHIYAMA Fasushi ([email protected]). 14693: 14694: Fri Apr 24 13:19:40 1998 Thomas Bushnell n/BSG <[email protected]> 14695: 14696: * kern/debug.c (panic): Increase "seconds" in delay to 1000; machines 14697: are faster now. 14698: 14699: * i386/i386at/gpl/linux/linux_kmem.c: Increase MEM_CHUNKS to 7. 14700: 14701: Wed Aug 20 16:05:19 1997 Thomas Bushnell, n/BSG <[email protected]> 14702: 14703: * kern/thread.h (struct thread): New member `creation_time'. 14704: * include/mach/thread_info.h: New member `creation_time'. 14705: * kern/thread.c (thread_create): Set creation time stamp. 14706: (thread_info) [THREAD_BASIC_INFO]: Fill in new creation time 14707: field. Carefully preserve compatibility with old callers. 14708: 14709: * kern/task.h (struct task): New member `creation_time'. 14710: * include/mach/task_info.h: New member `creation_time'. 14711: * kern/task.c (task_create): Set creation time stamp. 14712: (task_info) [TASK_BASIC_INFO]: Fill in new creation time field. 14713: Carefully preserve compatibility with old callers. 14714: 14715: * kern/mach_clock.c (record_time_stamp): New function. 14716: * kern/time_out.h (record_time_stamp): Add prototype. 14717: 14718: Sun Aug 3 18:25:38 1997 Shantanu Goel <[email protected]> 14719: 14720: * i386/i386/thread.h (struct pcb): Added new field `data' used 14721: by Linux driver emulation. 14722: 14723: * i386/i386at/gpl/linux/include/linux/blk.h (end_request): 14724: Revamped Mach specific code. Don't use `errors' field in request. 14725: Don't call driver's request function. 14726: 14727: * i386/i386at/gpl/linux/include/linux/fs.h (struct buffer_head): 14728: Deleted old Mach-specific definition. Use original Linux defintion. 14729: 14730: * i386/i386at/gpl/linux/linux_block.c: Rewritten extensively. 14731: (collect_buffer_pages): Deleted. 14732: (alloc_buffer, free_buffer): Rewritten to use Mach page allocator. 14733: (getblk, __brelse): Use Mach kernel allocator. 14734: (check_for_error): Deleted. 14735: (ll_rw_block): Allocate request structure on stack. 14736: (rdwr_partial, rdwr_full, do_rdwr) New routines. 14737: (block_read, block_write): Rewritten to use new routine do_rdwr. 14738: (find_name): New routine. 14739: (read_bsd_label, read_vtoc): New routines. 14740: (init_partition): New routine. 14741: (device_open): Rewritten for modularity. Allocate Linux block 14742: variables on the stack. 14743: (check_limit): New routine. 14744: (device_read, device_write): Rewritten extensively. Map user 14745: pages into kernel buffer before passing to driver. This is in 14746: preparation for general Linux block driver support. Allocate 14747: Linux block variables on the stack. 14748: 14749: * i386/i386at/gpl/linux/linux_kmem.c: 14750: (collect_buffer_pages): Deleted. 14751: 14752: Fri Aug 1 16:15:33 1997 Thomas Bushnell, n/BSG <[email protected]> 14753: 14754: * kern/mach_clock.c (clock_interrupt): Test correct macro to see 14755: if PC sampling is configured: MACH_PCSAMPLE, not MACH_SAMPLE. 14756: 14757: * i386/i386/locore.S (discover_x86_cpu_type): Comment out routine 14758: for now. 14759: * i386/i386at/model_dep.c (c_boot_entry): Comment out use of 14760: discover_x86_cpu_type for now. 14761: 14762: * i386/include/mach/i386/eflags.h (EFL_AC, EFL_ID): New bits. 14763: 14764: * i386/i386/locore.S (discover_x86_cpu_type): Use correct opcode 14765: for right shift. Use ENTRY macro correctly. 14766: 14767: Mon Jul 28 17:01:19 1997 Thomas Bushnell, n/BSG <[email protected]> 14768: 14769: * COPYING: New file. 14770: * Makefile.in (topfiles): Add COPYING. 14771: 14772: Mon Jul 21 14:20:39 1997 Thomas Bushnell, n/BSG <[email protected]> 14773: 14774: * kern/mach4.srv: Include <mach_pcsample.h> so the value of 14775: MACH_PCSAMPLE is made available for mach4.defs. 14776: 14777: Thu Jul 10 13:51:20 1997 Thomas Bushnell, n/BSG <[email protected]> 14778: 14779: * Makefile.in (install): Use `ln -sf' instead of `-ln -s'. 14780: Suggested by Marcus G. Daniels ([email protected]). 14781: 14782: Thu Jun 26 13:48:31 1997 Thomas Bushnell, n/BSG <[email protected]> 14783: 14784: * i386/i386/locore.S (discover_x86_cpu_type): New function. 14785: * i386/i386at/model_dep.c (c_boot_entry): Fill in cpu type in 14786: MACHINE_SLOT using new function. 14787: 14788: * include/mach/machine.h (CPU_TYPE_I486, CPU_TYPE_PENTIUM, 14789: CPU_TYPE_PENTIUMPRO, CPU_TYPE_POWERPC): New CPU types. These 14790: conform to current OSF Mach values, but note that some of the 14791: various subtypes are different. 14792: 14793: Mon Jun 16 12:14:17 1997 Thomas Bushnell, n/BSG <[email protected]> 14794: 14795: * i386/i386/loose_ends.c (ovbcopy): Delete function. Suggested by 14796: Matthew Wilcox ([email protected].) 14797: 1.1.1.3 root 14798: Thu Jun 12 18:08:29 1997 Thomas Bushnell, n/BSG <[email protected]> 14799: 14800: Version 1.1.3 released. 1.1.1.4 root 14801: 1.1.1.3 root 14802: * version.c (version): Update to 1.1.3. 14803: 14804: Wed Jun 11 20:16:47 1997 Thomas Bushnell, n/BSG <[email protected]> 14805: 14806: * i386/Drivers.in: Add el3. How did this escape notice? 14807: * i386/device-drivers.h.in: Add CONFIG_EL3. 14808: 1.1.1.2 root 14809: Tue Jun 10 13:33:37 1997 Thomas Bushnell, n/BSG <[email protected]> 14810: 1.1.1.3 root 14811: Version 1.1.2 released. 1.1.1.4 root 14812: 1.1.1.2 root 14813: * Makefile.in (install): Install cross-migcom as `migcom', not as 1.1.1.4 root 14814: `mig'. 1.1.1.2 root 14815: 14816: * i386/Makefrag (objfiles += $(device_drivers)): Sort 14817: $(device_drivers) before adding to objfiles in order to remove 1.1.1.4 root 14818: duplicates. 1.1.1.2 root 14819: 14820: Mon Jun 9 22:14:09 1997 Thomas Bushnell, n/BSG <[email protected]> 14821: 14822: * i386/Drivers.in: Fix typos apt.o -> atp.o; 3c403.o -> 3c503.o. 1.1.1.4 root 14823: 1.1.1.2 root 14824: * Drivers.macros (AC_DRIVER): Test the class selected flag 1.1.1.4 root 14825: correctly. 14826: 1.1.1.2 root 14827: Mon May 26 14:33:19 1997 Thomas Bushnell, n/BSG <[email protected]> 14828: 14829: * version.c (version): Update to version 1.1.2. 14830: 14831: Fri May 23 10:08:48 1997 Thomas Bushnell, n/BSG <[email protected]> 14832: 14833: * kern/thread.c (thread_info): Set flags word correctly; 14834: TH_FLAGS_SWAPPED and TH_FLAGS_IDLE are not exclusive. 14835: 14836: * Makefile.in (topfiles): Add aclocal.m4. 14837: Reported by Marcus G. Daniels ([email protected]). 1.1.1.4 root 14838: 1.1.1.2 root 14839: Mon May 12 11:25:38 1997 Thomas Bushnell, n/BSG <[email protected]> 14840: 14841: Version 1.1.1 released. 1.1.1.4 root 14842: 1.1.1.2 root 14843: * version.c (version): Update to version 1.1.1. 14844: 14845: * bogus/mach_kdb.h: Make sure MACH_KDB is always defined, to zero 14846: if necessary. Bug report from Marcus Daniels 1.1.1.4 root 14847: ([email protected]). 1.1.1.2 root 14848: 14849: Fri May 9 13:06:25 1997 Thomas Bushnell, n/BSG <[email protected]> 14850: 14851: * i386/Files: Fix typo for _setjmp.S. 14852: Reflect 53c7,8xx.c -> 53c78xx.c change. 14853: 14854: Wed May 7 15:32:08 1997 Thomas Bushnell, n/BSG <[email protected]> 14855: 14856: * version.c (version): Update to version 1.1. 14857: * NEWS: New file. 14858: * Makefile.in (topfiles): Add NEWS. 14859: 14860: Mon May 5 11:34:01 1997 Thomas Bushnell, n/BSG <[email protected]> 14861: 14862: * Makefile.in (enable_kdb): Use findstring instead of filter. 14863: Reported by Marcus Daniels ([email protected]). 14864: 14865: Fri May 2 12:43:46 1997 Thomas Bushnell, n/BSG <[email protected]> 14866: 14867: * Makefile.in (enable_kdb): New variable. 14868: (clib-routines): If enable_kdb, then add strstr. 14869: * i386/i386/_setjmp.S: New file, from UK22 libmach. 14870: * i386/Files: Add i386/i386/_setjmp.S. 14871: * i386/Makefrag (objfiles): Add _setjmp.o if enable_kdb. 1.1.1.4 root 14872: 1.1.1.2 root 14873: 1997-04-30 Marcus G. Daniels <[email protected]> 14874: 14875: * Makefile.in (clib-routines): Add htons not because it is necessary, 14876: but because libc5 systems will bring it in. 14877: (check-clib-routines): Tolerate extra weak symbols. 14878: 14879: Wed Apr 30 14:12:12 1997 Thomas Bushnell, n/BSG <[email protected]> 14880: 14881: * Makefile.in: Delete duplicate rule for cross-mig. 14882: 14883: Mon Apr 28 12:09:53 1997 Thomas Bushnell, n/BSG <[email protected]> 14884: 14885: * Makefile.in (check): New target. Reported by 1.1.1.4 root 14886: [email protected]. 1.1.1.2 root 14887: 14888: * i386/Drivers.in (ncr53c7xx): Change file name to 53c78xx.o. 14889: * i386/i386at/gpl/linux/scsi/53c7,8xx.c: Moved to ... 14890: * i386/i386at/gpl/linux/scsi/53c78xx.c: ... here. 14891: * i386/Makefrag (linux-scsi-files): Change file name here too. 14892: Reported by [email protected]. 14893: 14894: Wed Apr 23 14:35:44 1997 Miles Bader <[email protected]> 14895: 14896: * ipc/ipc_entry.c [MACH_KDB]: Add include of <kern/task.h>. 14897: 14898: Wed Apr 23 13:21:23 1997 Thomas Bushnell, n/BSG <[email protected]> 14899: 14900: * configure.in (BUILD_CC): Use AC_CHECK_PROGS, not AC_CHECK_PROG, 14901: since we are checking multiple names. 14902: 14903: * configure.in (kdb): New --enable option. 14904: * Makefile.in (DEFINES): Add @DEFS@. 14905: * bogus/mach_kdb.h: Make this file zero length; we get MACH_KDB 14906: from configure now. 14907: 14908: * Makefile.in (clean, distclean, mostlyclean, maintainter-clean): 1.1.1.4 root 14909: New targets. 14910: (all-archs-configures): New variable. 1.1.1.2 root 14911: (MIG): Change to ./local-mig. 14912: (./local-mig): Change to build this instead of ./mig 14913: (check-clib-routines): Use nm -g in case there are local symbols. 1.1.1.4 root 14914: Suggested by Matthew Wilcox ([email protected]). 1.1.1.2 root 14915: 14916: Fri Apr 18 15:25:10 1997 Thomas Bushnell, n/BSG <[email protected]> 14917: 14918: * configure.in: Add AC_PREREQ for version 2.12. 14919: * i386/Drivers.in: Likewise. 14920: 14921: Wed Apr 16 16:55:36 1997 Marcus G. Daniels <[email protected]> 14922: 14923: * configure.in: Replace AC_PROG_CC with AC_PROG_CC_LOCAL. 14924: If cross compiling do Lex/Yacc checks with BUILD_CC. 1.1.1.6 root 14925: Check CC and BUILD_CC for libraries having the needed support, 1.1.1.2 root 14926: and substitute discovery in installed_clib. 14927: 14928: * aclocal.m4: New file. These replacement macros are to handle 14929: the case where there is a cross compiler but no supporting files. 14930: 14931: * Makefile.in (installed-clib): Don't hardwire a Hurd libcrt.a. 14932: (cross_linkable): Only define cross-migcom variable when it will 14933: be possible to build it. 14934: (all, install): Use $(cross-migcom). 14935: (install): Install cross-migcom only if was to be built. 1.1.1.4 root 14936: (mkinstalldirs): Add $(bindir), $(includedir)/mach/exec 1.1.1.2 root 14937: (cross-lexxer.o lexxer.o): lexxer.o needs cpu.h. 14938: (./cross-migcom): Prevent dependency generation for cross-* MiG files 14939: unless they can actually be built. 14940: 14941: Thu Apr 17 15:55:40 1997 Thomas Bushnell, n/BSG <[email protected]> 14942: 14943: * kern/exception.c (exception_no_server): Comment out the suspend 14944: code; it's useful for special case debugging, but causes problems 14945: in general. 14946: 14947: Wed Apr 16 12:52:25 1997 Thomas Bushnell, n/BSG <[email protected]> 14948: 14949: * Makefile.in (cross-lexxer.o lexxer.o): Add pump-priming 14950: dependency on cpu.h. Reported by Marcus G. Daniels 1.1.1.4 root 14951: ([email protected]). 1.1.1.2 root 14952: 14953: * configure.in: Fail if configure target is not for GNU os. 14954: 14955: * i386/Drivers.in (com): Delete option. It's required by 14956: kd_mouse.c. 14957: * i386/Makefrag (i386at-files): Add com.c. 14958: (driver-files): Delete variable. 14959: * i386/bogus/com.h: Revert change of March 10. 14960: * i386/device-drivers.h.in (CONFIG_MACH_COM): Delete option. 14961: Bug report from Marcus G. Daniels ([email protected]). 1.1.1.4 root 14962: 14963: * Makefile.in (./cross-mig): New rule. 1.1.1.2 root 14964: (mkinstalldirs): Add $(libexecdir). 1.1.1.4 root 14965: * configure.in: Recognize i686. 1.1.1.2 root 14966: Reported by Marcus G. Daniels ([email protected]). 14967: 1.1 root 14968: Mon Apr 14 11:50:45 1997 Thomas Bushnell, n/BSG <[email protected]> 14969: 1.1.1.4 root 14970: * Released version 1.0. 14971: 1.1 root 14972: * kern/exception.c (exception_no_server): Try and suspend the 14973: failing thread before killing the task. Then a debugger can be 1.1.1.4 root 14974: used. 1.1 root 14975: 14976: * i386/Makefrag: Add rebuilding rules for configure subscript. 14977: 14978: * i386/Makefrag: Fix up copyright notice. 14979: * i386/Drivers.in: Likewise. 14980: * Makefile.in: Likewise. 14981: * Drivers.macros: Likewise. 14982: * configure.in: Likewise. 14983: 14984: * include/sys/time.h: New file, from include/mach/sa/sys/time.h. 14985: * include/sys/reboot.h: New file, from include/mach/sa/sys/reboot.h. 14986: * include/sys/ioctl.h: New file, from include/mach/sa/sys/ioctl.h. 14987: * include/alloca.h: New file, from include/mach/sa/alloca.h. 14988: * Makefile.in (other-sys-headers): Add time.h, ioctl.h, and reboot.h. 14989: (other-mach-headers): New variable. 14990: (mach-exec-headers): New variable. 14991: (other-headers): New variable. 14992: (installed-headers): Add mach-exec-headers. 1.1.1.4 root 14993: (dist): Distribute other-mach-headers, other-sys-headers, 1.1 root 14994: mach-exec-headers, and other-headers. 14995: (device-files): Add device.srv. 1.1.1.4 root 14996: 1.1 root 14997: * Makefile.in (check-clib-routines): Use more efficient rule. 14998: 14999: Fri Apr 11 15:18:09 1997 Thomas Bushnell, n/BSG <[email protected]> 15000: 15001: * Makefile.in (dist): Repair rule. 15002: (other-sys-headers): New variable. 15003: (dist): Install $(other-sys-headers). 15004: (INCLUDES): Remove -I$(srcdir)/include/mach/sa. 15005: (rules for mig-related .d files): Include MiG-specific -I flags. 15006: (mach-headers): Add inline.h. 15007: * include/sys/types.h: New file, from include/mach/sa/sys/types.h. 15008: 15009: Mon Mar 24 16:23:21 1997 Thomas Bushnell, n/BSG <[email protected]> 15010: 15011: * version.c (version): Make that 1.0. Whee. 15012: 15013: Fri Mar 21 15:50:09 1997 Thomas Bushnell, n/BSG <[email protected]> 15014: 15015: * i386/i386at/gpl/linux/scsi/aha1740.c (aha1740_test_port): Try 1.1.1.6 root 15016: and turn on PORTADDR_ENH before checking it. 1.1 root 15017: 1.1.1.4 root 15018: * vm/vm_object.c (vm_object_cached_max): Increase to 200. 1.1 root 15019: 15020: Thu Mar 20 12:33:06 1997 Thomas Bushnell, n/BSG <[email protected]> 15021: 15022: * Makefile.in (dist): New target. Reorganized some vars 15023: describing source. 15024: * i386/Subdirs: New file. 15025: * i386/Files: New file. 15026: 15027: * version.c (version): Push back to 0.1. 15028: 15029: * Makefile.in (cross_compiling, bindir, libexecdir): New 1.1.1.4 root 15030: variable. 15031: 1.1 root 15032: * Makefile.in (install): Depend on cross-mig and cross-migcom; 15033: install them. New rules added to build mig, migcom, cross-mig, 15034: and cross-migcom. 1.1.1.4 root 15035: 1.1 root 15036: * configure.in (AC_PROG_LEX, AC_PROG_YACC): New tests. 15037: (BUILD_CC): New test to set these. 15038: 15039: * Makefile.in (%.h %_user.c): Depend on $(MIG) too. 15040: (%_interface.h %_server.c): Likewise. 15041: (MIG): Don't use @MIG@; hard code it to the one we build. 15042: (BUILD_CC, BUILD_CFLAGS, MIGCOM, LEX, YACC, LEXLIB): New variables. 1.1.1.4 root 15043: 1.1 root 15044: Wed Mar 19 16:47:28 1997 Thomas Bushnell, n/BSG <[email protected]> 15045: 15046: * i386/i386at/kd.c (BROKEN_KEYBOARD_RESET): Turn off this so that 15047: we attempt the keyboard resets. 15048: * i386/i386/locore.S (cpu_shutdown): Attempt to provide a more 1.1.1.4 root 15049: `robust' null_idtr. 1.1 root 15050: 15051: Mon Mar 17 13:47:14 1997 Thomas Bushnell, n/BSG <[email protected]> 15052: 15053: * i386/i386at/gpl/linux/scsi/hosts.c (scsi_init): Don't print out 15054: gratuitious obnoxiousness. 15055: * i386/i386at/gpl/linux/scsi/scsi.c (scsi_dev_init): Likewise. 15056: * i386/i386at/gpl/linux/block/triton.c (ide_init_triton): 1.1.1.4 root 15057: Likewise. 1.1 root 15058: (init_triton_dma): Likewise. 15059: * i386/i386at/gpl/linux/pci/pci.c (pci_init): Likewise. 15060: * i386/i386at/gpl/linux/pci/bios32.c (check_pcibios): Likewise. 15061: (pcibios_init): Likewise. 15062: * i386/i386at/gpl/linux/block/genhd.c (add_partition): Likewise. 15063: 15064: * i386/i386at/gpl/linux/net/8390.c (ei_debug): Make default value 1.1.1.4 root 15065: zero. 1.1 root 15066: 15067: Wed Mar 12 14:50:46 1997 Thomas Bushnell, n/BSG <[email protected]> 15068: 15069: * i386/i386at/com.c (comprobe): Turn off noisiness. 15070: 15071: * i386/i386at/gpl/linux/linux_block.c (check_disk_change): Don't 15072: print out gratuitous obnoxiousness. 15073: (device_open): Likewise. 15074: * kern/bootstrap.c (copy_bootstrap): Likewise. 15075: (user_bootstrap): Likewise. 15076: * i386/i386at/gpl/linux/block/genhd.c (msdos_partition): Likewise. 15077: (osf_partition): Likewise. 15078: (sun_partition): Likewise. 15079: (check_partition): Likewise. 15080: * i386/i386/pit.c (findspeed): Likewise. 15081: * vm/vm_resident.c (vm_page_bootstrap): Likewise. 15082: 15083: Mon Mar 10 15:04:47 1997 Thomas Bushnell, n/BSG <[email protected]> 15084: 15085: * i386/i386at/gpl/linux/linux_init.c (calibrate_delay): Don't 15086: print out gratuitous obnoxiousness. 1.1.1.4 root 15087: 1.1 root 15088: * i386/i386at/gpl/linux/linux_init.c (linux_init): Only call 15089: linux_net_emulation_init if CONFIG_INET. Include 1.1.1.4 root 15090: <i386/device-drivers.h>. 1.1 root 15091: 15092: * i386/i386at/i386at_ds_routines.c: Include 15093: <i386/device-drivers.h>. Don't mention linux_net_emulation_ops 15094: unless CONFIG_INET. 15095: 15096: * device/ds_routines.c (io_done_thread_continue): [i386] 1.1.1.6 root 15097: Conditionalize free_skbuffs also on CONFIG_INET. Include 15098: <i386/device-drivers.h>. 1.1 root 15099: 15100: * i386/Drivers.in, i386/device-drivers.h.in, i386/driverlist.in: 15101: New files. 15102: * i386/Makefrag: Include i386/driverlist; don't include all device 15103: drivers in kernel image; instead use list from driverlist. 15104: * configure.in: Configure in $systype subdir too. 1.1.1.4 root 15105: 1.1 root 15106: * i386/i386at/gpl/linux/include/linux/autoconf.h: Damage severly 15107: to conform to device-drivers.h model. 15108: 15109: * i386/bogus/com.h: Include <i386/device-drivers.h>. 15110: Only turn on NCOM if CONFIG_MACH_COM is present. 15111: 15112: Mon Mar 3 16:26:58 1997 Thomas Bushnell, n/BSG <[email protected]> 15113: 15114: * include/mach/message.h (__mach_msg, __mach_msg_trap): Add decls. 15115: 15116: Tue Feb 25 15:42:23 1997 Thomas Bushnell, n/BSG <[email protected]> 15117: 15118: * i386/Makefrag (INCLUDES): Find `include' directory in new 1.1.1.4 root 15119: location. 1.1 root 15120: * Makefile (INCLUDES): Find `include' directory in new location. 15121: (%.symc): Find gensym.awk in new location. 1.1.1.4 root 15122: 1.1 root 15123: * Reorganized directories into new layout and unified mach4 and 15124: mach4-i386 into a single tree. 15125: 15126: 15127: Older changes in ChangeLog.00 (for i386 directory) and ChangeLog.0 (for 1.1.1.4 root 15128: all other files).
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.