bouyer
f6f9f8a965
Change DIOCEJECT to do what's needed to eject a device before the eject
...
command (unlock for sd and cd) if no other partitions are open, return
EBUSY otherwise. DIOCEJECT will have the old semantic if its argument is not
0. The old ioctl has been renamed to ODIOCEJECT for binary compatibility.
1999-02-08 16:33:16 +00:00
fvdl
1461618ead
Make this compile for SUN4 only.
1999-02-08 00:13:20 +00:00
christos
d30ef27fb0
s/ELF/__ELF__/
1999-02-07 20:21:09 +00:00
jonathan
c9d036d796
defopt MEMORY_DISK_{HOOKS,SERVER,IS_ROOT}.
1999-02-07 09:34:58 +00:00
hannken
c4bc93ad94
Define _STANDALONE instead of STANDALONE.
1999-02-06 13:34:15 +00:00
mycroft
be1af660c0
Don't set DCD_IE in the frontends. KGDB doesn't even use DCD, and the tty
...
frontends get it from zsparam() anyway.
1999-02-03 20:25:05 +00:00
mrg
1ccaf05ff1
add CPU_SUN4U, to make libkvm compile.
1999-02-01 22:20:02 +00:00
drochner
cc66380116
fix address incrementing in the read_region_N, write_region_N,
...
set_region_N and copy_region_N methods
1999-01-29 16:30:51 +00:00
mycroft
897a8a7f29
Mark [hn]to[nh][ls]() with __const__, so they are subject to CSE.
1999-01-24 12:55:01 +00:00
pk
922c3eb8f9
Read & clear fault status register after probing translation.
1999-01-24 10:12:22 +00:00
pk
84826812fc
Don't tread on cache tags if the cache is already enabled.
1999-01-24 10:11:23 +00:00
christos
64df2f4fd8
Remove old prototypes (move to mi code), and add the xrs gunk!
1999-01-21 23:05:14 +00:00
christos
0b836e1a7b
move the machine independent portion out of the context functions.
1999-01-21 22:58:57 +00:00
mycroft
399318b456
Vanity config files.
1999-01-21 09:58:26 +00:00
pk
5ce78d9342
Fix think-o in srmmu_cache_flush().
1999-01-20 15:25:29 +00:00
pk
565d3768e5
Catch `Unimplemented Flush' traps.
1999-01-20 00:15:07 +00:00
pk
521611091a
Set the Hypersparc ICCR bits.
1999-01-19 23:07:29 +00:00
pk
88993b57d9
Define macros to read & write Ancillary State registers.
1999-01-19 23:05:52 +00:00
pk
66cd211961
Define Hypersparc ICCR bits.
1999-01-19 23:04:02 +00:00
thorpej
2fb041ce0a
No need for <sys/mtio.h>
1999-01-19 18:18:41 +00:00
pk
a711033aa2
Deal with SIR_SERIAL (for `com' devices).
...
XXX - consider using __GENERIC_SOFT_INTERRUPTS instead
1999-01-19 10:04:42 +00:00
pk
dd91d8a2b4
Add SIR_SERIAL soft interrupt source.
1999-01-19 10:02:40 +00:00
pk
58fa0024a5
Add `qe'.
1999-01-17 20:45:26 +00:00
chuck
90ddaed9b5
MNN is no longer optional, remove dead code
1999-01-16 20:43:21 +00:00
pk
c884428427
Add `be' + MII devices.
...
Add PCMCIA devices that are known to compile at the moment.
1999-01-16 13:43:50 +00:00
bouyer
dc306354b0
Move the bswap functions from libutil to libc (this bups the
...
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
1999-01-15 13:31:15 +00:00
mrg
bb4584ec40
look for /^Version:/ to find the boot block version, rather than using
...
the "version" file's RCS id (which is useless for branches).
1999-01-15 00:48:03 +00:00
pk
6a8119ff1d
Sanity check from Matthias Drochner.
1999-01-15 00:26:24 +00:00
pk
0372e36e3f
device_register: recognize `lebuffer' and `isp' as controllers.
1999-01-14 13:08:24 +00:00
pk
de7b3f5492
Add `bus_space_subregion()' which was curiously missing.
1999-01-13 20:48:40 +00:00
pk
53c6ccd94d
Add `eccmemctl' entry.
1999-01-13 20:35:30 +00:00
abs
4b0a936711
fix void arithmetic
1999-01-13 04:19:08 +00:00
thorpej
8406f65cbf
Use a pool for pmap structures.
1999-01-11 20:58:46 +00:00
mrg
d1f3239be8
bump size of miniroot
1999-01-10 13:40:30 +00:00
thorpej
e598335d1c
Garbage-collect `mbutl'.
1999-01-09 22:10:12 +00:00
augustss
fc5f9ee81d
Add -Wpointer-arith warning since `void *' arithmetic is not ANSI C.
1999-01-08 19:26:12 +00:00
pk
9d4c26b2c1
* hypersparc support:
...
get cache size from PROM info like the others
reset the cache type bits before setting our desired values
* smp cache flushing:
protect the cpu message bits with splhigh().
1999-01-08 10:15:10 +00:00
mrg
12d0e6e8f7
move sparc{,64} installboot.8 back to src/share, to avoid splitting sources for users who dont get everything.
1998-12-22 02:34:09 +00:00
pk
fc6df8006b
Make sure we don't spuriously detect more than one boot device (as the
...
previous patch but extended to all devices).
1998-12-21 11:25:39 +00:00
drochner
52c16cf83a
get "opt_compat_svr4.h" out of <sys/conf.h>
1998-12-18 16:55:39 +00:00
kleink
fec2cc52f3
T_SVR4_GETHRESTIME returns a nanosecond quantity in %o1.
1998-12-17 22:26:02 +00:00
christos
9a2a015957
1000000000 nsec != 2^31 nsec (from kleink)
1998-12-15 16:06:15 +00:00
kleink
342b5e5134
Also need to initialize the queue length of a newly allocated fpstate.
1998-12-14 16:18:46 +00:00
mrg
f3e2980d41
note thta installboot.8 is built in share/man. move installboot.8 back to the same place the sources are, just build it in an MI location.
1998-12-11 12:18:46 +00:00
mjacob
c2e84d0cde
What was missing here is the mapping between our booting SCSI bus number
...
and the parent (hba) path from which we booted from. As a temp fix,
we'll only go with the first match to set altbootdev- not additional matches.
The problem was further exacerbated by the fact that cnpoll doesn't seem
to work on serial consoles.
1998-12-05 21:05:44 +00:00
pk
5d9f86821c
Add a device_register() function to determine the boot device.
...
Use it in addition to the old method for a while, so we can take note
of any glitches easilier.
1998-12-03 23:49:58 +00:00
thorpej
da572a137f
Argh, fix the ANSI CPP version of the a.out WARN_REFERENCES().
1998-12-02 21:16:46 +00:00
thorpej
a6f7e0c05a
Implement WARN_REFERENCES().
1998-12-02 00:58:42 +00:00
mycroft
34a1fe3ee3
Fix bogus asm statements; tmp1 and tmp2 need to be outputs rather than inputs.
1998-11-29 10:37:08 +00:00
pk
2e89e9144b
Turn a bunch of bus_space_*() macros into in-line functions mostly to avoid
...
variable aliasing.
1998-11-26 23:50:52 +00:00