jtc
9540190d45
This file, which will be included by <sys/cdefs.h>, will contain macros
...
such as __warn_references() and __weak_reference() which are actually
machine dependant. This will make it easier for ports that are being
bootstraped with ELF and ECOFF based toolchains.
This change also introduces a new macro, _C_LABEL(x). _C_LABEL expands
its argument, an identifier, to a character string of the identifier
name as it is represented in an object file.
For most ports, _C_LABEL(x) will expand to "_x", for ELF based ports
_C_LABEL(x) will expand to "x".
1995-01-19 01:38:36 +00:00
pk
0bf4b5b424
Remove a debug messsage & add a missing constant.
1995-01-12 07:31:47 +00:00
pk
8290d42317
Use `MACHINE_NONCONTIG' to deal with sparse memory in stead of private
...
mapping tables. We gain some pages, but there's still some wastage.
For the moment, `MACHINE_NONCONTIG' is still optional.
1995-01-11 21:21:11 +00:00
jtc
d7a8b2964f
Only define sig_atomic_t when _ANSI_SOURCE is defined.
1995-01-10 19:01:00 +00:00
pk
b1ad0e3ed5
Count pages correctly in pmap_bootstrap().
1995-01-10 16:50:50 +00:00
pk
b87c1bb24a
Avoid kernel memory corruption if user buffer too small; return ENOMEM in stead.
1995-01-10 16:47:03 +00:00
pk
6cfe5f9b6f
pmap_init() already declared elsewhere.
1995-01-10 16:15:20 +00:00
mycroft
820f9da835
Validate /dev/mem addresses again.
1995-01-09 11:22:06 +00:00
mycroft
85a1830551
Reimplement /dev/mem like other ports. Change physlock to be a plain integer.
...
Keep the zero page after using it.
1995-01-09 08:58:32 +00:00
mycroft
81b3059a98
ESP_ID -> ESP_SELID
1995-01-07 05:17:59 +00:00
mycroft
bfbd328f85
Sort.
1995-01-07 05:17:15 +00:00
pk
c4a9be4024
Sparc disassembler from David Miller.
...
Heavily munged by me to:
- reduce table size significantly.
- follow various opcode tables in the Sparc Architecture Manual (V9)
more closely.
- recognise V8 priviliged instructions.
- fit the DDB interface.
- fix many typos.
Todo:
- get a number of FP ops right (unimportant until V9 is here).
- opcode aliases (`mov',`cmp',`set') for simple instructions.
- better template matching; current method is sloppy and is prone to spurious
matches.
1995-01-05 21:33:31 +00:00
pk
5188187aff
void microtime().
1995-01-05 16:56:59 +00:00
pk
2a22c853db
Adapt to changed SCSI subsystem.
1995-01-02 20:21:01 +00:00
cgd
e5049f4d59
make the definition of _JBLEN mach. dep. header-dependent.
1994-12-20 10:36:27 +00:00
deraadt
4ef28ec578
correct ie[1234] addreses
1994-12-17 23:12:41 +00:00
deraadt
7ba7829654
microtime botch
1994-12-17 08:45:32 +00:00
deraadt
553b2d8f73
... but we still want the sun4c/sun4m case to work
1994-12-17 05:40:24 +00:00
deraadt
fe0b8c6a90
oclock support for the 4/100 and 4/200
1994-12-16 22:16:58 +00:00
deraadt
8201cbd042
microtime -> lo_microtime (oclock is different)
...
on machines with 6 register windows, "nop" out a pair of save/restore's (big
performance win on slow 4/100 and 4/200 machines)
1994-12-16 22:11:47 +00:00
deraadt
07f33ae7d1
obio ie support by chuck and me
1994-12-16 22:01:09 +00:00
deraadt
651f7c8f29
open changed again
1994-12-16 22:00:23 +00:00
deraadt
8730c977bd
ie[01234] and obclock
1994-12-16 21:53:43 +00:00
deraadt
c68c62c943
SUN4m-only..
1994-12-16 21:53:25 +00:00
deraadt
2c0a05e7fa
oclock for 4/100 and 4/200
1994-12-16 21:53:01 +00:00
deraadt
198bf71a5f
do not need clockreg.h
1994-12-16 21:52:36 +00:00
deraadt
1beda66497
increase getprop buffer size
1994-12-16 19:02:16 +00:00
deraadt
e22f3bf9f3
typo
1994-12-15 02:53:00 +00:00
deraadt
e88bd9f695
obio fixes from the two chucks!
1994-12-14 22:17:18 +00:00
mycroft
d42a8b725e
Remove extra arg to d_open.
1994-12-14 19:10:08 +00:00
deraadt
0be2ffa45a
make BADALIAS() and CACHE_ALIAS_DIST sun4-safe
1994-12-14 06:59:18 +00:00
pk
e8880dceb9
Follow prototype changes in libsa.
1994-12-11 15:18:34 +00:00
pk
c09156bf8b
Introduce pmap_prefer() which is used to obtain a cache-friendly virtual
...
address.
1994-12-10 11:43:56 +00:00
deraadt
ca6f5cbe06
Use symbolic constants to access the prom vector.
...
Deal with v0 openrom (on sun4c machines only).
1994-12-07 14:47:04 +00:00
mycroft
e5379bfffb
Clean up deleted files.
1994-12-07 14:46:06 +00:00
deraadt
4144af8de8
bigtime cleanup
1994-12-07 14:45:54 +00:00
deraadt
1ef32e64bc
clean better
1994-12-06 20:54:46 +00:00
deraadt
64eedae2df
changer fix
1994-12-06 14:39:47 +00:00
pk
fc1b40eef4
cosmetic change.
1994-12-06 10:39:40 +00:00
pk
2397f57e36
Move DDB argument processing up before our input registers get trashed.
1994-12-06 09:58:09 +00:00
deraadt
03cba26fa6
place message buffer in low physical memory, so that it can survive a
...
warm boot. the sun4 boot program corrupts some memory there so adjust
upwards on the sun4. (from chuck)
1994-12-06 08:34:00 +00:00
deraadt
31e5af3828
vm access permissions give SIGSEGV
...
alignment errors give SIGBUS
1994-12-06 00:27:46 +00:00
deraadt
421ec01e3f
bdev for st
1994-12-06 00:18:10 +00:00
deraadt
2717a8de7e
TIOC[SG]FLAGS from matthew green
1994-12-06 00:01:39 +00:00
deraadt
7cd44df2e3
scsi changer
1994-12-05 13:54:11 +00:00
deraadt
fcb4fd9cb0
COMPAT_10 all around
1994-12-05 09:17:30 +00:00
deraadt
cae9130ef6
enable SYSVMSG,SYSVSEM,SYSVSHM
1994-11-30 19:44:53 +00:00
deraadt
12af703502
wait for ack from chip
1994-11-29 22:35:20 +00:00
deraadt
1eb4763766
debug code for dma hang
1994-11-27 00:08:34 +00:00
deraadt
41260b47ce
i hate ttyX-ignore-cd, but leave it here for a while longer
1994-11-26 07:36:52 +00:00
deraadt
c548f8887c
repair some stuff
1994-11-25 23:56:21 +00:00
deraadt
7289c28055
cnpollc function for DDB
1994-11-25 23:55:53 +00:00
deraadt
3a4ca432b2
no need to turn DMA off twice
1994-11-25 23:12:44 +00:00
deraadt
6abee40cb1
prototype wcopy/wzero
1994-11-25 23:11:42 +00:00
deraadt
e62b8b3fa2
choose {w,b}{copy,zero} automatically
1994-11-25 23:11:23 +00:00
deraadt
2a90e82894
wzero/wcopy moved to machdep.c
1994-11-25 23:10:47 +00:00
deraadt
fc5e9a48e2
wcopy/wzero belong here
1994-11-25 23:10:26 +00:00
deraadt
e7728e3080
support obj directory
1994-11-25 23:09:34 +00:00
deraadt
f08d8394d7
putchar is void
1994-11-25 23:09:20 +00:00
deraadt
2bfe2ea770
round text segment to __LDPGSZ
1994-11-25 23:09:09 +00:00
deraadt
58117a4011
ie cards coldstart with a parity error, reset it
1994-11-23 22:28:12 +00:00
deraadt
3835c5ae6a
CP exceptions in wrong slots in trap table (noticed by matt@rme.com)
1994-11-23 20:33:22 +00:00
deraadt
941871d6ab
XXmatch change (and a few __P() as well)
1994-11-23 07:02:02 +00:00
deraadt
ef31ebbf26
stack trace on crash
1994-11-23 07:00:00 +00:00
deraadt
d3408abf29
C error
1994-11-21 01:56:38 +00:00
deraadt
274a90762d
copyright/Id cleanup
1994-11-20 20:51:32 +00:00
deraadt
3dd85af7b5
fixed rss code by charles
1994-11-14 06:09:19 +00:00
christos
40abc70ce2
changed open prototype
1994-11-14 05:55:23 +00:00
deraadt
e19990c090
make ldcontrolb() use p->p_addr instead of cpcb for the onfault, also
...
save current onfault value and act at splhigh.
1994-11-14 04:16:12 +00:00
deraadt
3eb863ca4e
cache: write-throough/back, and 4/100 has no cache
1994-11-13 22:12:44 +00:00
deraadt
4cd7c0f34e
reset scsi bus at attach time
1994-11-05 09:35:54 +00:00
deraadt
880176b15b
proc0.p_addr must be initialized before we can take a probe trap, so
...
that the pcb_onfault will be work
1994-11-05 09:31:05 +00:00
deraadt
0d4b376377
only print the vec if needed
1994-11-05 09:28:06 +00:00
pk
edb1bc6eae
Don't mess with device if it was opened while we napped.
1994-11-03 18:57:33 +00:00
deraadt
8b82ad359d
bzzzttt wrong wrong wrong
1994-11-03 04:29:53 +00:00
deraadt
4650de140a
kill perftest code
1994-11-02 23:18:25 +00:00
deraadt
88af1ef233
VA_VSEG() should use NBPG
1994-11-02 23:16:59 +00:00
deraadt
138a1d9e01
let busmatch print the level/vec
1994-11-02 23:16:28 +00:00
deraadt
48347d17d4
cleanup
1994-11-02 23:16:02 +00:00
deraadt
9b4d6d44f8
ioctl u_long cmd
1994-11-02 05:00:40 +00:00
deraadt
95e71f1dbd
first vme ie card
1994-11-02 05:00:13 +00:00
deraadt
274ac617ef
clean vnode_if.[ch]
1994-11-02 04:59:59 +00:00
deraadt
8e89099cf4
ioctl u_long cmd
1994-11-02 04:59:23 +00:00
deraadt
b71f248be4
do not have UPAGES definition
1994-11-02 04:59:04 +00:00
deraadt
9f96a3313e
various
1994-11-02 04:58:25 +00:00
deraadt
4c10604c2b
ioctl u_long cmd
1994-11-02 04:57:53 +00:00
deraadt
ae3d0a09f9
sendsig u_long code
1994-11-02 04:57:25 +00:00
deraadt
0fec9f9455
add ldcontrolb
1994-11-02 04:57:02 +00:00
deraadt
46f66f22e0
ioctl u_long cmd
1994-11-02 04:55:47 +00:00
deraadt
e3b33c7c21
add wcopy/wzero, and ack VME using ldcontrob
1994-11-02 04:55:20 +00:00
deraadt
bdcab43fb8
ioctl u_long cmd; and KNF
1994-11-02 04:54:19 +00:00
mycroft
1e951824c4
Clean up deleted files.
1994-10-30 18:43:27 +00:00
deraadt
89a7412206
KNF
1994-10-30 18:43:21 +00:00
deraadt
58f5cef745
repair a type
1994-10-28 16:50:59 +00:00
deraadt
6d9927894a
vme interrupt support
1994-10-26 07:16:34 +00:00
deraadt
62b9ec5645
rearrangement
1994-10-26 07:16:22 +00:00
deraadt
62b99b6414
vme, and cleanup some messy #ifdef stuff
1994-10-26 07:15:09 +00:00
deraadt
ef07868ebe
sunos compat changes
1994-10-26 07:13:56 +00:00
deraadt
2036bd665c
updates
1994-10-26 07:12:38 +00:00
deraadt
a4323e6911
changed sunos_compat, if_ie
1994-10-26 07:12:18 +00:00