Commit Graph

36741 Commits

Author SHA1 Message Date
pk 44510064ca Define SIGTRAMP_VALID. 2003-10-11 22:15:18 +00:00
petrov 2514d9e4f2 When establishing interrupt set CPU_UPAID in mapping register
so that interrupt would be delivered.
2003-10-11 20:53:14 +00:00
jdolecek a8351752c7 add majors for several missing standard devices - 'log', 'filedesc' & 'ksyms' 2003-10-11 12:31:05 +00:00
jdolecek 37f4d8397e add major for 'filedesc', which is needed for /dev/stdin et. al. 2003-10-11 12:30:24 +00:00
tsutsui c74700fe65 It seems r4k_sdcache_wb_range_NN() function can't handle
R10000 L2 cache (which is 2-way set-associative write-back),
so use r4k_sdcache_wbinv_range_NN() for workaround until someone
implement proper r10k_sdcache_*() ops.

Problem reported by Christopher SEKIYA.
2003-10-11 09:09:15 +00:00
jdolecek 0979ebaa1c g/c major for 'netsmb' and mark the slot free - it has never been used 2003-10-11 07:54:26 +00:00
matt e291b36f05 Get hp700 boot tools to compile again. Patches from Jochen Knuz.
(with some modification from me).
2003-10-11 03:57:31 +00:00
ichiro 1a8b4d7eab add mapping table of pci interrupt number 2003-10-11 03:53:52 +00:00
christos 0fa70c1f22 fix syntax errors (hi manuel) 2003-10-11 03:04:34 +00:00
christos 4262a06968 try to fix the compile error. 2003-10-11 03:01:53 +00:00
shin e3dca0d3c1 fix typo. 2003-10-11 01:06:48 +00:00
uwe 81428320f3 Register definitions for sh7709 analog->digital converter. 2003-10-10 23:52:30 +00:00
jdolecek ef5bb330f5 reassing majors for crypto and pf to use the newly defined MI major
range
2003-10-10 22:42:39 +00:00
jdolecek 4e915c9ccd update the comment - the space for machine-dependant majors
is reduced to 0-143
follows discussion on tech-kern
2003-10-10 21:21:25 +00:00
tron 676596e33a Fix build problem when MPACPI is used without ioapic as proposed by
Quentin Garnier on current-users@NetBSD.org.
2003-10-10 20:16:54 +00:00
jdolecek 8af3527920 g/c USETOOLS?= no 2003-10-10 20:08:00 +00:00
thorpej a483d3a893 Delete the vinum major; it conflicts with an existing entry, and should
be added to the MI space anyway.
2003-10-10 17:36:56 +00:00
chs d586f723fe add a command to dump the ITSB, now that it's separate from the DTSB. 2003-10-10 15:19:09 +00:00
chs 6677871b04 increase SYMTAB_SPACE. 2003-10-10 15:17:41 +00:00
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