Age | Commit message (Collapse) | Author |
|
* i386/Makefrag.am (libkernel_a_SOURCES): Move i386/i386at/kd_event.[ch] and
i386/i386at/kd_queue.[ch] to [PLATFORM_at].
* i386/i386at/conf.c (dev_name_list): Move kbd device to [!MACH_HYP].
|
|
* i386/i386at/kd.c (kdintr): Return immediately if !kd_initialized.
* i386/i386at/pic_isa.c (ivect) [RCLINE >= 0]: Enable kdintr in that case
too.
|
|
The code is arch-independant, and reboot_on_panic, used by kern/debug.c
would be undefined on non-i386.
* i386/i386at/model_dep.c (reboot_on_panic, c_boot_entry): Move -d and -H parse
to...
* kern/startup.c (reboot_on_panic,setup_main): ... here. Include <string.h>
|
|
* include/string.h (memmove): Add prototype.
* i386/i386at/immc.c (immc_cnputc): Replace memcpy with memmove.
|
|
* i386/i386at/kd.c (kd_setleds1): Only display unexpected state warning when
debugging is enabled.
|
|
* include/string.h (strstr): Add prototype.
|
|
* i386/i386at/model_dep.c (discover_x86_cpu_type): Add prototype.
|
|
* i386/i386at/model_dep.c (c_boot_entry): Warn in the default case for
cpu_type.
|
|
* i386/i386at/model_dep.c (c_boot_entry): Treat cpu_type 15 as Pentium pro.
|
|
* linux/dev/glue/net.c (device_get_status): Compare count with 1 instead
of sizeof(short). Access *status instead of *(short *) status.
(device_set_status): Likewise.
|
|
|
|
* i386/i386/trap.c (user_trap): Call printf, not print.
|
|
* i386/ldscript: Update to the version from binutils 2.20.51.20100617.
Remove SEARCH_DIR calls.
* Makefile.am (clib_routines): Accept undefined __rel_iplt_start and
__rel_iplt_end as these come from the ldscript.
* i386/i386at/boothdr.S (boot_entry): Call ifunc hooks at boot.
* i386/xen/xen_boothdr.S (start): Likewise.
|
|
|
|
* linux/src/drivers/pci/pci.c (scan_bus): Do not set `is_multi' to 0
when a hole is encountered. Detect 0000:ffff and ffff:0000 vendor ID as
holes too.
|
|
* Makefile.am (EXTRA_DIST): Remove ChangeLog.0, ChangeLog.00 and
Makefile.correct_output_files_for_.S_files.patch.
* Makefrag.am (libkernel_a_SOURCES): Add ipc/mach_port.h,
kern/ipc_mig.h, kern/machine.h, util/putchar.h, util/atoi.h,
vm/vm_resident.h, vm/vm_types.h and device/subrs.h.
Remove kern/time_out.h.
* i386/Makefrag.am (libkernel_a_SOURCES): Add i386/i386at/autoconf.h,
i386/i386at/com.h, i386/i386at/int_init.h, i386/i386/loose_ends.h,
i386/i386/model_dep.h, i386/intel/read_fault.h and i386/i386/xen.h.
Remove i386/i386/timer.h.
* linux/Makefrag.am (liblinux_a_SOURCES): Add
linux/src/drivers/net/sis900.h.
* xen/Makefrag.am (libkernel_a_SOURCES): Add xen/public/arch-x86_32.h
xen/public/arch-x86_64.h, xen/public/arch-x86/xen.h,
xen/public/arch-x86/xen-mca.h, xen/public/arch-x86/xen-x86_32.h,
xen/public/arch-x86/xen-x86_64.h, xen/public/callback.h, xen/public/COPYING,
xen/public/dom0_ops.h, xen/public/domctl.h, xen/public/elfnote.h,
xen/public/elfstructs.h, xen/public/event_channel.h, xen/public/features.h,
xen/public/grant_table.h, xen/public/io/blkif.h, xen/public/io/console.h,
xen/public/io/fbif.h, xen/public/io/fsif.h, xen/public/io/kbdif.h,
xen/public/io/netif.h, xen/public/io/pciif.h, xen/public/io/protocols.h,
xen/public/io/ring.h, xen/public/io/tpmif.h, xen/public/io/xenbus.h,
xen/public/io/xs_wire.h, xen/public/kexec.h, xen/public/libelf.h,
xen/public/memory.h, xen/public/nmi.h, xen/public/physdev.h,
xen/public/platform.h, xen/public/sched.h, xen/public/sysctl.h,
xen/public/trace.h, xen/public/vcpu.h, xen/public/version.h,
xen/public/xencomm.h, xen/public/xen-compat.h, xen/public/xen.h,
xen/public/xenoprof.h, xen/block.h, xen/console.h, xen/evt.h,
xen/grant.h, xen/net.h, xen/ring.h, xen/store.h, xen/time.h and xen/xen.h.
|
|
ext2fs.static will trigger some anyway. Instead, provide an easy way to
track how many traps happen.
* i386/i386/gdt.c [MACH_XEN] (gdt_init): Disable enabling
VMASST_TYPE_4gb_segments_notify.
* i386/i386/trap.c [MACH_XEN] (user_trap): Remove printing libc0.3-xen
installation advice on 4gb_segments trap. Instead, print a count every 10000
traps, and disable them on the 1000000th.
|
|
i386/i386/trap.c [MACH_XEN] (user_trap): Disable
VMASST_TYPE_4gb_segments_notify on trap 15.
|
|
* i386/i386/gdt.c [MACH_XEN] (gdt_init): Enable VMASST_TYPE_4gb_segments_notify.
* i386/i386/idt_inittab.S [MACH_XEN]: Set trap 15 as pushing an error
code.
* i386/i386/trap.c [MACH_XEN]: Print trap 15 first occurrence.
|
|
* linux/src/drivers/block/ide.c (do_rw_disk): Set IRQ handler before
issuing write command.
|
|
|
|
* linux/src/drivers/block/triton.c (good_dma_drives): Remove "QEMU HARDDISK".
|
|
* linux/dev/glue/kmem.c (MEM_DMA_LIMIT): New macro
(linux_kmem_init): Replace 16 * 1024 * 1024 occurrences with
MEM_DMA_LIMIT.
|
|
* linux/dev/glue/block.c (device_set_status): New function
(linux_block_emulation_ops): Set set_status field to device_set_status.
|
|
* i386/i386/seg.h (lldt): Add memory clobber to lldt asm
snippet.
* i386/i386/tss.h (ltr): Add memory clobber to ltr asm
snippet.
|
|
* i386/intel/pmap.c (pmap_bootstrap): Use pt_entry_t type
instead of vm_offset_t to map additional kernel space.
|
|
* i386/i386/pcb.c (switch_ktss): Use uint64_t for descriptor
type instead of unsigned long long.
* i386/i386/seg.h (fill_descriptor): Use uint64_t for descriptor
type instead of unsigned long long. Cast result of kv_to_ma()
into vm_offset_t before printing.
* i386/i386/xen.h (hyp_mmu_update_pte): Use pt_entry_t type
instead of unsigned long long, make pte parameter a pt_entry_t
too.
(hyp_mmu_update_pte): Compute pte address just using pt_entry_t
integers.
(hyp_high): New macro to fix 32bit right shifting.
(hyp_do_update_descriptor): Use pt_entry_t type for machine
address instead of unsigned long. Split it in 32bit parts. Use uint64_t
for descriptor type instead of unsigned long long.
(update_va_mapping): Use pt_entry_t type instead of unsigned
long long. Use hyp_high macro.
(hyp_invlpg): Use uint64_t for time type instead of unsigned
long long.
* i386/intel/pmap.c (pmap_bootstrap): Use ptetokv instead of
pte_to_pa + phystokv. Cast machine addresses into vm_offset_t
before printing.
(pmap_set_page_readwrite): Likewise.
(pmap_set_page_readonly): Likewise
(pmap_set_page_readonly_init): Likewise
(pmap_clear_bootstrap_pagetable): Likewise
(pmap_destroy): Likewise
(pmap_map_mfn): Use pt_entry_t type for machine addresses. Cast
machine addresses into vm_offset_t before printing.
* i386/intel/pmap.h [PAE] (INTEL_PTE_PFN): Set macro to
0xfffffffffffff000ULL.
* include/mach/xen.h [PAE] (pa_to_ma, ma_to_pa): Use pt_entry_t
type for machine addresses.
[!PAE] (pa_to_ma): Remove cast to vm_offset_t.
(mfn_to_kv): Use mfn_to_pfn + ptoa instead of ptoa + ma_to_pa.
* xen/xen.c (hyp_invalidate_pte): Cast machine addresses into
vm_offset_t before printing.
|
|
|
|
* kern/bootstrap.c (bootstrap_create): Iterate over bmods only
if is not NULL.
|
|
9ff49d9648debffbe42d18863c739d37bcdb50b4's config.status.dep.patch is fit for
1.10.2 (released in November 2008) and later, and is no longer suitable for
1.10.1.
* configure.ac (AM_INIT_AUTOMAKE): Require 1.10.2.
|
|
* xen/console.c (hypcnintr): Use #if MACH_KDB instead of #ifdef
MACH_KDB.
|
|
* i386/Makefrag.am (libkernel_a_SOURCES): Add
i386/i386at/iopl.c.
* i386/i386at/conf.c [!MACH_HYP] (memmmap): Declare function.
(memname): Add macro.
(dev_name_list): Add mem device.
* i386/i386at/mem.c: New file.
|
|
* linux/src/drivers/block/triton.c (good_dma_drives): Add
"QEMU HARDDISK".
|
|
|
|
* ipc/mach_port.c (debug_mach_port_deallocate): Rename to...
(mach_port_deallocate_debug): ... new name, and set volatile
to permit live changes from ddb.
|
|
* ipc/mach_port.c (debug_mach_port_deallocation): New variable,
set to 0.
(mach_port_deallocate): Only call SoftDebugger if
debug_mach_port_deallocation is not 0.
|
|
|
|
* i386/i386/locore.S [MACH_XEN] (RET_OFFSET): Define to 8
* xen/console.c (hypcnintr): On pound sign, call kdb_kintr instead of
panicing.
|
|
* ipc/mach_port.c (mach_port_deallocate): Call SoftDebugger if
ipc_right_lookup_write was not succcessful and `name' is not
MACH_PORT_NULL or MACH_PORT_DEAD.
|
|
* kern/debug.h (SoftDebugger): Add prototype.
* kern/debug.c (Debugger): Move code invoking debugging trap
to...
(SoftDebugger): ... new function. Print the passed message.
* kern/lock_mon.c (decl_simple_lock_data, retry_bit_lock): Call
SoftDebugger instead of Debugger.
* device/ds_routines.c (ds_device_open, device_read,
device_read_inband): Call SoftDebugger instead of Debugger.
* i386/i386at/model_dep.c (c_boot_entry): Call SoftDebugger
instead of Debugger.
* kern/syscall_sw.c (null_port, kern_invalid): Call SoftDebugger
instead of Debugger.
* vm/vm_object.c (vm_object_collapse): Call SoftDebugger instead
of Debugger.
|
|
* i386/i386/locore.S: Document kdb_kintr stack manipulation.
|
|
* i386/i386/locore.S [MACH_XEN] (RET_OFFSET): Define to 8
* xen/console.c (hypcnintr): On pound sign, call kdb_kintr instead of
panicing.
|
|
* vm/vm_resident.c (vm_page_grab_contiguous_pages): Cast `prevmemp'
assignement to vm_page_t.
|
|
* i386/i386/pcb.c (Load_context): New prototype.
* i386/i386at/lpr.c (lprpr_addr): Likewise.
|
|
* linux/src/drivers/net/apricot.c (struct i596_tbd): Change `data'
member type to `unsigned char *'.
(struct i596_rfd): Change `data' member type to `unsigned char'.
(print_eth): Change argument type to `unsigned char'. Remove
unneeded casts.
(set_multicast_list): Change cast for print_eth to `unsigned char *'.
|
|
* i386/intel/pmap.c [!NCPUS > 1] (INVALIDATE_TLB): Mark `pmap', `s'
and `e' arguments as used.
* i386/intel/pmap.h [!NCPUS > 1] (PMAP_ACTIVATE_KERNEL): Mark `my_cpu'
argument as used.
(PMAP_DEACTIVATE_KERNEL): Likewise.
(PMAP_ACTIVATE_USER): Likewise. Mark `th' argument as used.
(PMAP_DEACTIVATE_USER): Mark `thread' and `cpu' arguments as used.
|
|
* linux/src/arch/i386/kernel/bios32.c (bios32_service): Add `*'
in indirect lcall.
(check_pcibios, pci_bios_find_class, pci_bios_find_device): Likewise.
(pci_bios_read_config_byte, pci_bios_read_config_word): Likewise.
(pci_bios_read_config_dword, pci_bios_write_config_byte): Likewise.
(pci_bios_write_config_word, pci_bios_write_config_dword): Likewise.
|
|
* i386/i386at/kd_mouse.c (kd_mouse_open): Change kdintr return type
to `void'.
(oldvect): Change return type to `void'.
* linux/dev/arch/i386/kernel/irq.c (linux_timer_intr): Likewise.
(intnull, prtnull, linux_intr, linux_bad_intr): Likewise.
(old_clock_handler): Likewise.
|
|
* linux/src/include/asm-i386/segment.h [MACH]: Include <machine/gdt.h>
and <machine/ldt.h>.
[MACH && MACH_HYP] (KERNEL_CS, KERNEL_DS): Remove macros.
[MACH && !MACH_HYP] (KERNEL_CS, KERNEL_DS): Likewise.
[MACH] (USER_CS, USER_DS): Likewise.
|
|
* linux/dev/include/asm-i386/segment.h: Move to ...
* linux/src/include/asm-i386/segment.h: ... here.
|