Age | Commit message (Collapse) | Author |
|
* linux/dev/kernel/sched.c (cdrom_sleep): Move to ...
* linux/src/drivers/block/ide-cd.c [MACH]: ... here, make it static.
Include <kern/sched_prim.h>.
|
|
* i386/i386/locore.S (copyout): On >= i486, skip WP-check loop split and just
use byte count.
|
|
* i386/i386/i386asm.sym (machine_slot.sub_type): Define.
* i386/i386/locore.S (copyout_retry): Skip if machine_slot[0].cpu_type > 3.
|
|
* i386/xen/xen_boothdr.S (__xen_guest): Add [extended-cr3] to PAE
(XEN_ELFNOTE_PAE_MODE): Likewise.
|
|
i386 didn't support PAE anyway.
* i386/i386/locore.S (copyout_retry) [MACH_HYP || PAE]: Remove.
* xen/xen.c (hyp_invalidate_pte): Remove function.
* xen/xen.h (hyp_invalidate_pte): Remove prototype.
|
|
* i386/intel/pmap.c (pmap_clear_bootstrap_pagetable): Use pte_to_pa instead
of atop.
|
|
* i386/i386/vm_param.h (VM_KERNEL_MAP_SIZE): Define to 192MiB.
* i386/i386at/model_dep.c (mem_size_init): Use VM_KERNEL_MAP_SIZE instead of
1/6 factor.
* i386/intel/pmap.c (morevm): Remove.
(pmap_bootstrap): Use VM_KERNEL_MAP_SIZE instead of morevm.
|
|
* device/ds_routines.c (free_skbuffs): Move declaration to the top.
|
|
* vm/vm_map.c (vm_map_fork): Call vm_map_entry_create for projected_on
buffers too.
|
|
* linux/dev/glue/block.c (device_get_status): Cast `hg' to `unsigned long'
in ioctl call.
|
|
* linux/dev/drivers/block/genhd.c (msdos_partition): Cast `data' assignment
to `unsigned char *'.
* linux/src/drivers/block/ide-cd.c (cdrom_queue_request_sense): Cast
`buffer' assignment to `unsigned char *'.
(cdrom_transfer_packet_command): Change `cmd_buf' argument type to
`unsigned char *'.
(cdrom_read_capacity): Cast `pc.buffer' assignments to `unsigned char *'.
Use temporary `model' and `fw_rev' `const char *' variables to compare
against literal strings and characters.
* linux/src/drivers/block/ide.c (execute_drive_cmd): Cast `args'
assignment to `byte *'.
(ide_open): Cast `rq.buffer' assignment to `char *'.
(ide_release): Likewise.
(ide_ioctl): Likewise.
(do_identify): Cast variables being compared against literal string to
`char *'.
(probe_for_drive): Likewise.
* linux/src/drivers/block/ide.h (struct packet_command): Change `buffer'
type to `unsigned char *'.
|
|
* device/net_io.c (bpf_do_filter): Remove lint conditional.
|
|
* i386/i386at/com.c (comstart): Disable `i' variable.
* linux/src/drivers/net/at1700.c (net_close): Disable `lp' variable.
* linux/dev/include/linux/blk.h (end_request): Disable `nsect' variable
on MACH.
|
|
* vm/memory_object_proxy.c (memory_object_create_proxy): Remove unused
`kr' variable.
* linux/dev/glue/block.c (free_buffer): Remove unused `i' variable.
(register_blkdev): Remove unused `err' variable.
(unregister_blkdev): Likewise.
(bread): Likewise.
(init_partition): Likewise.
* linux/dev/glue/net.c (device_write): Likewise.
|
|
* linux/src/drivers/scsi/FlashPoint.c: Remove #ident tags.
|
|
* vm/memory_object_proxy.c: Include <kern/printf.h>.
|
|
* device/ds_routines.c [LINUX_DEV && CONFIG_INET] (free_skbuffs): Add
prototype.
|
|
* kern/debug.h (log): New prototype.
|
|
|
|
* i386/i386at/model_dep.c (discover_x86_cpu_type): Move ...
* i386/i386/locore.h: ... here.
(inst_fetch, cpu_shutdown): New prototypes.
* i386/i386at/kd.c: Include <i386/locore.h>.
|
|
* Makefile.am (clib_routines): Remove bcopy and bzero.
|
|
* configure.ac (AC_LANG_CONFTEST): Wrap the source into a AC_LANG_SOURCE
call.
|
|
* .gitignore: New file.
|
|
Users of ipc_space_create() actually assume that it succeeds.
* ipc/ipc_init.c (ipc_bootstrap): Create ipc_space_zone without EXHAUSTIBLE
flag.
|
|
* kern/zalloc (zalloc): Add more details to "zone exhausted" panics.
|
|
* i386/i386/db_interface.h (I386_DB_LEN_8): Define macro.
|
|
* kern/mach_clock.c (update_mapped_time): Add compiler barriers between
writes to shared memory. Update comment: on SMP, write barriers are
required.
|
|
These are harmless (the target is stopped) and difficult to fix anyway.
* ipc/mach_port.c (mach_port_destroy): Do not warn about spurious port
deallocation when SPACE is not equal to current_space().
(mach_port_deallocate): Likewise.
|
|
* ipc/mach_port.c (mach_port_destroy): Print the current space and the
target space on spurious deallocation.
(mach_port_deallocate): Likewise.
|
|
PIO has become very slow in Linux 2.6.35+, so we do not really have the
choice any more.
* linux/src/drivers/block/triton.c (good_dma_drives): Re-whitelist QEMU hard
drive.
|
|
* linux/dev/include/linux/skbuff.h (skb_put, skb_push): Do not print the
address of a local label, gcc 4.6 does not build this and the debugger can
output it anyway.
* linux/src/include/linux/skbuff.h (skb_put, skb_push): Likewise.
|
|
* linux/src/drivers/scsi/ultrastor.c (find_and_clear_bit_16): Use + modifier
instead of using both a read and a write constraint.
|
|
* vm/vm_map.c (vm_map_enter): Warn about missing room in map only if
anywhere is set.
|
|
Follow-up to fa6c711d
* ipc/ipc_init.c (ipc_kernel_map_size): Increase to 8MiB.
|
|
* i386/i386at/model_dep.c (i386at_init): Set CR0_CD and CR0_NW in CR0
register.
|
|
* ipc/ipc_entry.c (ipc_entry_get): Do not warn when ipc_entry_get returns
KERN_NO_SPACE.
|
|
* ipc/ipc_entry.c (ipc_entry_get, ipc_entry_grow_table): Warn when returning
KERN_NO_SPACE.
* vm/vm_map.c (vm_map_find_entry, vm_map_enter, vm_map_copyout,
vm_map_copyout_page_list): Warn when returning KERN_NO_SPACE.
|
|
Follow-up to fa6c711d
* vm/vm_object.c (DEVICE_IO_MAP_SIZE): Increase to 16MiB.
* kern/kalloc.c (kalloc_map_size): Increase to 64MiB.
* i386/intel/pmap.c (morevm): Increase to 128MiB.
|
|
* kern/printf.h (printf_once): New macro.
* ipc/mach_port.c (mach_port_names, mach_port_get_set_status): Warn when
returning KERN_RESOURCE_SHORTAGE.
* vm/vm_kern.c: Include printf.h.
(kmem_alloc, kmem_realloc, kmem_alloc_wired, kmem_alloc_aligned,
kmem_alloc_pageable): Warn when failing.
* vm/vm_resident.c (vm_page_grab_contiguous_pages): Warn when returning
KERN_RESOURCE_SHORTAGE.
|
|
* i386/i386/locore.S (call_continuation): Push dummy return address instead
of letting the callee get a random one.
|
|
mach/mach_traps.h: Removed LINTLIBRARY #ifdefs.
mach/message.h: Removed LINTLIBRARY #ifdefs.
|
|
* Makefrag.am (libkernel_a_SOURCES): Add ddb/db_cond.h, ddb/db_examine.h,
ddb/db_input.h, ddb/db_macro.h, ddb/db_trap.h.
* i386/Makefrag.am (libkernel_a_SOURCES): Add i386/i386/db_interface.h
|
|
* i386/i386at/kd.c (key_map): Fix K_PERIOD typo.
|
|
* i386/i386at/kd.h (NUMSTATES): Fix comment about NORM_STATE.
* i386/i386at/kd.c (key_map): Use K_* macros instead of numeric values.
|
|
* ipc/mach_port.c (mach_port_destroy): Warn (and possibly call debugger) when
ipc_right_lookup_write didn't find the port name.
|
|
According to stack layout change in 5da1aea7
* i386/i386/locore.S [!MACH_XEN] (RET_OFFSET): Define to 12 instead of 8.
|
|
* i386/i386at/model_dep.c (i386at_init): Enable CR4_PGE after enabling
CR0_PG.
|
|
* i386/i386at/model_dep.c (i386at_init): Count the number of actually
needed temporary L1 direct mapping by getting the last used address from
init_alloc_aligned(), instead of hardcoding it to 1 or 3, and then use a for
loop.
|
|
* i386/intel/pmap.c (pmap_bootstrap): Fix loop which keeps supplementary L1
pages read-only: break as soon as one of the L1 supplementary pages has been
recognized, so that its pte does not get rewritten read-write.
|
|
* linux/dev/arch/i386/kernel/irq.c (setup_x86_irq): Return -LINUX_EBUSY when
trying to share an IRQ between two different interrupt levels.
|