chs
ac3bc537bd
eliminate the KERN_* error codes in favor of the traditional E* codes.
...
the mapping is:
KERN_SUCCESS 0
KERN_INVALID_ADDRESS EFAULT
KERN_PROTECTION_FAILURE EACCES
KERN_NO_SPACE ENOMEM
KERN_INVALID_ARGUMENT EINVAL
KERN_FAILURE various, mostly turn into KASSERTs
KERN_RESOURCE_SHORTAGE ENOMEM
KERN_NOT_RECEIVER <unused>
KERN_NO_ACCESS <unused>
KERN_PAGES_LOCKED <unused>
2001-03-15 06:10:32 +00:00
eeh
b612a766a7
Handle overtemp intr.
2001-03-14 00:52:19 +00:00
thorpej
85868e3c09
Pay attention to BUS_DMA_STREAMING when builing an IOMMU TTE.
2001-03-09 20:05:39 +00:00
thorpej
2c4c690f14
Add the BUS_DMA_STREAMING flag.
2001-03-07 22:42:16 +00:00
eeh
4e77731eee
Fix inverted preprocessor logic. (Spotted by Charles.)
2001-03-07 01:47:02 +00:00
mrg
f1d2503dc5
rework pci_attach_hook() to just deal with the INO, not the full
...
interrupt number. properly find interrupts for the E250. modify
pci_intr_map() accordingly. retire psycho_intr_map(). deal with
INO values upto 0x3f, not upto 0x32. restructure sabre_init() and
psycho_init() to be more similar, and display each psycho's IGN.
psycho_intr_establish() deals with INO upto 0x3f, values from 0x32
and higher get 0 for IPL.
tested on E250 & U5.
2001-03-06 08:09:16 +00:00
mrg
76c3f04bcb
move etext after rodata, like kern32.ldscript and sparc's kern.ldscript.
2001-03-04 13:41:00 +00:00
mrg
de13b6986c
deal with 32 bit kernels.
2001-03-04 10:11:56 +00:00
mrg
90656ebe47
sync with GENERIC; add COMPAT_SVR4_32
2001-03-04 10:10:42 +00:00
mrg
3125147a72
oops; make this build with a 32 bit compiler again.
2001-03-04 09:28:35 +00:00
mrg
ecb878c12d
sync with GENERIC32.
2001-03-02 07:56:26 +00:00
mrg
3c2cb5a456
- no need to hard wire pci busses or hme0 anymore
...
- clean up some comments
- __ELF__ is defined by the compiler
2001-03-02 07:50:08 +00:00
mrg
23fecf2b24
clean up slightly; prepare to make this identical to sparc/frame.h.
2001-03-02 07:40:18 +00:00
mrg
3c31d4fccb
clean up slightly.
2001-03-02 07:36:57 +00:00
mrg
7a1cb1dbc2
use pci_bus_devorder() and pci_dev_funcorder()
2001-03-02 06:34:06 +00:00
mrg
c452d0b725
adjust some comments to reality.
2001-02-28 15:21:08 +00:00
mrg
5ef9914b06
add and user a linker script.
2001-02-28 15:17:48 +00:00
mjacob
721e39d0dc
add SES device
2001-02-28 00:08:18 +00:00
mjacob
312d560493
add SES device (unused #4 )
2001-02-28 00:06:28 +00:00
eeh
85cffb544d
Improve legibility and iommu_dvmamap_sync().
2001-02-24 18:49:06 +00:00
eeh
121d97c255
Somehow this didn't get checked in with the rest of the SVR4 64-bit fixes.
2001-02-22 22:08:06 +00:00
eeh
a72ee87980
Add support for 64-bit SVR4 (Solaris 8) binaries.
2001-02-21 23:53:00 +00:00
mrg
5713cce1e0
sync with reality.
2001-02-17 16:29:13 +00:00
eeh
b0e3d231c4
Define VM_MASUSER_ADDRESS32.
2001-02-16 16:00:29 +00:00
mrg
f9c371eea3
type cleanups.
2001-02-12 16:07:38 +00:00
eeh
c269f4f002
Add COMPAT_SVR4_32.
2001-02-11 01:00:51 +00:00
eeh
d8405328df
Add support for COMPAT_SVR4_32.
2001-02-11 00:39:37 +00:00
eeh
750052a46f
Remove things that are defined in elf_machdep.h now.
2001-02-11 00:37:22 +00:00
eeh
96bf37a78f
Save the machine model string in case someone needs it (like slowlaris).
2001-02-11 00:27:06 +00:00
eeh
6e928d620b
Add some new gunk Sun uses.
2001-02-11 00:18:49 +00:00
eeh
1ac34a6a98
A register is 64-bits unless we're emulating 32-bit.
2001-02-11 00:17:03 +00:00
eeh
945c9cac5f
Increase limits slightly. We're still not using all 32 address bits yet,
...
let alone 64.....
2001-02-11 00:09:45 +00:00
eeh
1671aa6706
Increase NKMEMPAGES to a more useful value.
2001-02-11 00:07:10 +00:00
eeh
3e47436b79
Add some extra fields to a dmamap to track what's being mapped.
2001-02-11 00:05:47 +00:00
eeh
3daccde8d4
Print out more useful data if there are interrupt issues.
2001-02-11 00:02:58 +00:00
pk
5fb1ec8af6
Fix conditional for svr4 compat inclusion.
2001-02-10 20:00:24 +00:00
eeh
2411eab448
Fix D$ aliasing issues in a DIAGNOSTIC check.
2001-02-06 19:04:57 +00:00
mrg
22a68e0e29
oops, kill some debugging messages.
2001-02-05 13:13:47 +00:00
mrg
2d7ba2f0e7
turn off UVMHIST. turn on LKM. makeoptions DEBUG=-g
2001-02-05 12:49:11 +00:00
mrg
05752997ef
use sunos32_machdep.c on 64 bit kernels.
2001-02-05 12:47:47 +00:00
mrg
e1ac1f31b9
make sure 32 bit addresses are truncated properly.
2001-02-05 12:45:38 +00:00
eeh
db133b2424
Add signal trampoline for 64-bit svr4 emulations.
2001-02-05 06:56:45 +00:00
mrg
c084c19f60
add "wd" to chrtoblktbl
2001-02-02 07:39:28 +00:00
mrg
2a9fceab8d
enable the kbd/ms. enable some compat options for compat_sunos
2001-02-02 07:33:42 +00:00
mrg
9954eaa78b
include compat/sunos32/sunos32.files
2001-02-02 07:32:45 +00:00
mrg
04cb3c57d6
bump NMBLUSTERS now this machine has NFS server tasks.
2001-02-02 07:32:20 +00:00
mrg
6d444f5960
kill the ad clause in my license.
2001-01-29 01:37:56 +00:00
martin
a7206004fc
Faster error handling for iommu_dmamap_load_raw; avoid loading the map
...
and unloading on error when we clearly can't get out without an error.
2001-01-28 01:26:57 +00:00
eeh
6c3bf28ffd
Fix dvma problem caused by previous. Seems like the dvma segment calculation
...
in iommu_dmamap_unload() was not quite right.
2001-01-27 03:40:39 +00:00
martin
f4eec8f31f
iommu_dvmamap_load_raw: add a check for creating maps larger than
...
expected by the creator of the dma map and fail apropriately. This
makes the syssrc/dev/pci/if_vr.c driver work.
2001-01-25 21:41:10 +00:00