pk
2a1ecde639
Transfer copyright to TNF.
1999-02-15 19:01:38 +00:00
pk
d292580f3f
Use PROMLIB to streamline this code. This also provides the bulk of
...
Open Firmware boot code.
1999-02-15 18:59:36 +00:00
pk
8460b71d8d
* Add promlib.c to common sources.
...
* Compile with prototype warnings turned on.
1999-02-15 18:52:12 +00:00
christos
c95ea656d6
Elf bits.
1999-02-14 20:04:26 +00:00
pk
059697a999
Use PROMLIB's prom_setcontext().
1999-02-14 14:37:45 +00:00
pk
3ee0ba2805
romcall() => prom_halt()
1999-02-14 14:37:15 +00:00
pk
67df93822d
Add size arg to getpropstringA
1999-02-14 14:03:16 +00:00
pk
8edcd03969
Use the PROMLIB interface.
1999-02-14 12:44:31 +00:00
pk
9896803ae6
Fake a label only if it appears to be blank, and if so use RAW_PART
...
instead of 0.
1999-02-14 12:42:33 +00:00
pk
4b9ee1f8ce
This file is superseded by promlib.c
1999-02-14 12:38:03 +00:00
pk
4dc82c28b4
Exit: obp.c; Enter: promlib.c & openfirm.c
1999-02-14 12:36:50 +00:00
pk
a8456f4e8a
Check OBP magic: if no match then assume an Openfirmware PROM.
1999-02-14 12:33:55 +00:00
pk
1e5bf77774
Adjust to functionality and changes introduced with <machine/promlib.h>
1999-02-14 12:26:16 +00:00
pk
a99ba2939c
Provide a uniform interface to most of the PROM functions.
...
Include an Openfirmware back-end (mostly copied from sparc64).
1999-02-14 12:23:03 +00:00
christos
6e13c7d4b5
Avoid defining __extension__ if we don't need to. Breaks lint.
1999-02-13 20:35:02 +00:00
lukem
dcab0210a0
convert from NOxxx= to MKxxx=no.
...
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
mycroft
2a304686e6
Minor cleanup.
...
Make the initializer for BAUDLO depend on PCLK directly; it was incorrect on
some ports where PCLK is not 4.9152MHz.
XXX Is the default value actually used?
1999-02-11 15:28:03 +00:00
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