Commit Graph

36722 Commits

Author SHA1 Message Date
chs 06332c88ef update for new gas syntax. from Jochen Kunz. 2003-10-10 15:07:43 +00:00
matt 0dbe439e05 Adapt ARM Linux compat code to deal with SIGINFO. 2003-10-10 14:44:42 +00:00
simonb 84fa2d5a87 Take previous even further - leave only CTL_MACHDEP and related
definitions and structures outside the #ifdef _KERNEL block.
2003-10-10 13:02:34 +00:00
yamt 26efaef9af revert the previous (thanks, lukem)
and wrap curcpu, cpu_info and friends with #ifdef _KERNEL completely.
2003-10-10 11:53:44 +00:00
simonb 96cde2b8b5 White space nit. 2003-10-10 07:04:14 +00:00
simonb 83f1167a97 Need to rename dsrtc to ds1743rtc here too. 2003-10-10 07:01:50 +00:00
lukem b313b2641e Userland needs <stddef.h> for offsetof(), not <lib/libkern/libkern.h> ...
(Arguably a chunk more of this file could be protected with _KERNEL.
That's a separate project.)
2003-10-10 06:27:15 +00:00
grog 2ce576d37a Add config info for Vinum 2003-10-10 04:50:07 +00:00
grog c6ed3adf63 Add major number for Vinum. 2003-10-10 03:51:58 +00:00
matt 4b22ee736b Add support for MPC74[45]7 2003-10-09 20:49:06 +00:00
bouyer ae9c3d7747 After pciide split, add cmdide and aceride to bus_class_tab[], per Martin
Husemann and Takeshi Nakayama requests.
XXX others IDE controller drivers needs to be added too, or a better
way of handling it has to be found.
2003-10-09 17:55:44 +00:00
fvdl 0a79ef3086 Allow probing of CPUs only by ACPI, so that MPBIOS can still do interrupt
mapping should ACPI have a quirk. From Christos. One change by me: make
sure that lapic_boot_init doesn't get called twice, otherwise the
cpu_info entry for the CPU with id 0 gets zapped.
2003-10-09 16:25:16 +00:00
yamt d9d3c0dd8e avoid a magic number in curcpu(). 2003-10-09 13:46:43 +00:00
dsl ab073a34f8 Move lib/crt/start_rom.S to a more sensible location. 2003-10-09 10:56:13 +00:00
dsl 44ac426707 Use real_to_prot (etc) from stand/lib.
Add a patchable header for boot parameters (eg console type).
2003-10-09 10:36:26 +00:00
dsl 3d4b6a197d Pick up X86_BOOT_MAGIC_* from bootblock.h
Move boot_params.S to lib (seems useful to use it in pxeboot).
2003-10-09 10:29:39 +00:00
dsl 6f9f3c64a7 Move start_pxe.S to a more sensible place 2003-10-09 09:42:25 +00:00
ragge 577c722173 pdp10 uses register 1 for return value, not 0.
While here, adjust a comment.
2003-10-09 08:35:31 +00:00
matt acf4563b13 Add code to drop into DDB if you get a DSI fault on the current stack page. 2003-10-09 07:12:24 +00:00
uwe a348eb3a30 Add IPR mappings for remaining sh7709 IRQx.
While here, fix couple of typos.
2003-10-08 23:31:43 +00:00
thorpej 901da40cf9 Add some accessor macros for the ucontext:
* _UC_MACHINE_PC() - access the program counter
* _UC_MACHINE_INTRV() - access the integer return value register
* _UC_MACHINE_SET_PC() - set the program counter (this requires
  special handling on some platforms).
2003-10-08 22:43:01 +00:00
bouyer 7719e83c8b Following Matt Thomas's request, rename ata attribute to ata_hl, and
wdc_base to ata. We can now have
atabus* at ata?
in kernel config files.
2003-10-08 20:57:59 +00:00
fvdl ba7165e37f Adapt for ksiginfo changes. 2003-10-08 19:58:54 +00:00
fvdl 995d3a4d2f Do proper FPU trap reporting for SIGFPE, copied from the i386 port. 2003-10-08 19:55:39 +00:00
scw 0047ff3f6e Ok, I give up for now. There's no easy/reliable way to deal with
these spurious interrupts.
2003-10-08 19:46:12 +00:00
scw 677ee2fdbf Simplify the last change to just check for spurious GPIO interrupts. 2003-10-08 19:39:40 +00:00
scw ecc5fec473 If no interrupt handler claims to have dealt with a level-triggered
GPIO interrupt, check the GPIO interrupt status register after clearing
it down to see if the interrupt source has disappeared. If it does,
assume it was a spurious event. Otherwise, panic.
2003-10-08 19:31:17 +00:00
thorpej 80649e0513 Use KSI_INIT_TRAP(). 2003-10-08 19:21:52 +00:00
thorpej 55452b8f35 Use KSI_INIT_TRAP(). 2003-10-08 19:10:30 +00:00
dsl 977fe7c488 Change the way the shared lib directory is handled.
Should now work if ${.OBJDIR} = ${.CURDIR}/obj.
2003-10-08 18:51:50 +00:00
dsl cabc1ae936 Need to explicitly create directory behing symlink.
Clean share lib directory.
2003-10-08 18:38:43 +00:00
dsl 2ae753f095 Only build the libraries once, 2003-10-08 18:20:15 +00:00
tsutsui cdb8e31d33 - Count jazzio interrupts with evcnt(9).
- Misc cleanup.
2003-10-08 18:12:24 +00:00
tsutsui 27ddbb512d Use mips_dcache_inv_range() for BUS_DMASYNC_PREREAD if possible.
Tested on NEC-JC94 (R4400 with 1MB L2 cache).
2003-10-08 18:10:07 +00:00
bouyer 83af294c93 pciide_machdep.c depends on pciide_common, not pciide.
Pointed out and fix tested by Marc Recht.
2003-10-08 17:29:59 +00:00
scw fb2c521159 Make it easier to support different types of IXP425 board:
- Move board-specific PCI/GPIO initialisation to its rightful place.

 - Handle clearing down latched GPIO interrupts in a board-independent way.

 - Use MI com(4) driver for on-chip UARTs.

 - Misc. tidying up.

Tested on IXDP425.
2003-10-08 14:55:04 +00:00
dsl c8b26967a8 These files are not used by the new boot code. 2003-10-08 13:10:20 +00:00
dsl c86f86e53a BSSTART was only used for the (now depracated) old stand/biosboot code. 2003-10-08 13:06:30 +00:00
augustss be81c72bb8 Alphabetize. 2003-10-08 12:08:38 +00:00
bouyer f5a6a0a843 Add new per-chip pciide drivers. 2003-10-08 11:55:43 +00:00
bouyer 7fc9b29ccd Regen: Add new per-chip pciide drivers. 2003-10-08 11:53:10 +00:00
bouyer 11c3265271 Add new per-chip pciide drivers. 2003-10-08 11:52:50 +00:00
bouyer a8b5ae01dc Add atabus. 2003-10-08 11:14:36 +00:00
bouyer ab176e7665 Add adabus. 2003-10-08 11:14:12 +00:00
bouyer 28c8b4f872 Add atabus. 2003-10-08 11:13:02 +00:00
bouyer ce0aaad119 Adapt for wdcattach() prototype change, and deal with atabus in
device_register().
2003-10-08 11:12:36 +00:00
bouyer e1e231a488 Add atabus. 2003-10-08 11:11:33 +00:00
bouyer b758d4deb3 Adapt for wdcattach() prototype change. 2003-10-08 11:11:06 +00:00
bouyer 88809a6534 Add atabus. 2003-10-08 11:10:54 +00:00
bouyer 8f905677f4 Adapt for wdcattach() prototype change. 2003-10-08 11:10:18 +00:00