Commit Graph

2140 Commits

Author SHA1 Message Date
pk
1e0c7c3ed1 Fix various things that kept this bus front-end from functioning.. 1999-03-18 21:33:14 +00:00
chs
ab7269f62a if uvm_fault() fails with KERN_RESOURCE_SHORTAGE, send a SIGKILL
and print a message about it.  this will be used to recover from
out-of-swap conditions.
1999-03-18 04:56:01 +00:00
chs
bb8971afc3 for emul_sunos processes, don't change vmspace->vm_maxsaddr
for faults within a fudge factor of the end of the stack.
the sunos ld.so maps some zero-fill memory there and uses
it while loading shared libs.  ignoring these shenanigans
allows ps to report the correct stack usage for sunos programs.
1999-03-18 04:27:54 +00:00
pk
848e39dd70 Shouldn't call getpropint() on old proms: only get a CPU's `mid' if needed. 1999-03-17 23:21:38 +00:00
pk
9ae1ca2595 Got a VME probe result backwards. 1999-03-17 23:20:16 +00:00
sommerfe
bc533621ed defopt MINIROOTSIZE 1999-03-17 18:59:21 +00:00
chs
8e61ed9705 in pmap_bootstrap4_4c(), remove any bogus mappings the PROM
left around in the mmu.
1999-03-16 03:45:36 +00:00
jonathan
69d2d27c1b Use bus_space tags and handles, embedded in MD hooks AM7930_{READ_WRITE}_REG
to handle MD delay and bus padding. Tested on sparc2 by David Brownlee.

Should use regmaps, but that breaks sparc pDMA assembly code.
1999-03-14 22:29:00 +00:00
perry
d446fb449c exterminate ovbcopy. patches provided by Erik Bertelsen, pr-7145 1999-03-12 22:42:30 +00:00
fair
02b2bb48b7 Apply patch from PR#6443 to set LED properly when BLINK option is
not set.
1999-03-11 06:44:40 +00:00
pk
e951781842 _C_LABEL() is not implied by _ENTRY(). 1999-03-07 22:36:04 +00:00
pk
3846cac1e1 Use `-Ttext' switch & collect ld options in LINKFLAGS. 1999-03-05 11:13:39 +00:00
pk
da1407c412 Use <machine/asm.h> to construct C identifiers. 1999-03-05 11:12:16 +00:00
pk
994c338f0a Apply C_LABEL() to `esym' too. 1999-03-05 11:07:03 +00:00
pk
ebd1f5abc9 Have pseudo function return a value. 1999-03-05 10:55:55 +00:00
pk
29db4ce692 Use macros from <machine/asm.h> to construct C labels. 1999-03-05 10:45:25 +00:00
pk
a1aa41e201 consinit: cover all cases. 1999-03-05 08:30:33 +00:00
pk
cf93b65b10 Print version prettier. 1999-03-02 13:41:03 +00:00
pk
e2909faa19 Sanatize consinit() a bit. 1999-03-02 13:40:05 +00:00
kim
d3a3d58726 Try not to run when kernel is in secure mode. 1999-03-01 01:05:51 +00:00
pk
f008a1bbd0 Missing `break'. 1999-02-27 16:13:59 +00:00
pk
49035b27c8 Do not call printf() from a CPU that is spinning up; defer the probe
messages to cpu_attach() where the boot processor takes care of them.
This also necessitates a slight change in the way the FPU name is stored.
1999-02-27 13:11:21 +00:00
scottr
d32ed292af defopt BUFCACHE and BUFPAGES. 1999-02-27 06:39:34 +00:00
chs
31ef6fbb8d add RODATA(), which is like ENTRY() but without the _PROF_PROLOGUE. 1999-02-24 16:02:19 +00:00
pk
9efc61e01c Accept __syscall() in NetBSD a.out emulation. 1999-02-23 06:47:05 +00:00
pk
372e76a3bb Since V2 & V3 proms already pass us ihandles for stdin and stdout,
there's no need to open the device a second time. It suffices to
just convert the `ihandles' to `phandles'.
1999-02-22 17:15:30 +00:00
kristerw
871ac39c21 The recent simplification of the lint version of the va_arg macro broke
linting of vfprintf.c, where va_arg is used as
   *va_arg(ap, quad_t *) = ret;
Make the macro slightly more complicated...
1999-02-20 00:33:55 +00:00
christos
85a8ddde1d make the #if 0'ed code compile... 1999-02-18 17:23:55 +00:00
christos
88bdeec361 && || confusion. 1999-02-18 17:21:14 +00:00
pk
8d45c4eb84 Use promlib version correctly. 1999-02-16 07:22:17 +00:00
pk
6139fd16f3 Install the `machine' link again; it went missing a while ago.
Add `-I.' to CPPFLAGS to use it.
1999-02-15 19:31:34 +00:00
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