hwr
59acb69be1
Add (commented out) 'gre' pseudo device line. Feedback is welcome.
...
Inspired by Klaus Klein.
1998-11-25 20:30:44 +00:00
mrg
d4fb975471
bring a prom_printf prototype into scope.
1998-11-24 13:02:59 +00:00
mrg
ed2db65750
add WARNS=0 for now.
1998-11-24 12:56:55 +00:00
mrg
7ad164b566
use rm -f. this makefile needs to be fixed..
1998-11-24 12:56:40 +00:00
mrg
4e85f6d151
remove fixalign prototype, it is now elsewhere
1998-11-24 12:55:56 +00:00
mrg
0a61098abd
remove some dead variables.
1998-11-24 12:55:25 +00:00
mrg
1458c370fc
#if 0 pv_syncflags as it is not used. avoid comments in comments.
1998-11-24 12:55:06 +00:00
mrg
7fa9d2a08d
move now unsed variable under #ifdef NOT_DEBUG
1998-11-24 12:53:27 +00:00
mrg
06dfd0f985
#if 0 an unused declaration
1998-11-24 12:51:19 +00:00
mrg
0bd7e232e2
do not start comments inside comments.
1998-11-24 12:50:56 +00:00
mrg
0a3c644dbc
include db_interface.h, remove unused variable & add proto for db_uvmhistdump.
1998-11-24 12:50:27 +00:00
mrg
b066708a2e
add protos for switchtoctx, fixalign and emulinstr. XXX should all these be here?
1998-11-24 12:49:14 +00:00
mrg
5711320263
these are fpu_xitof & fpu_ftoxi in the code...
1998-11-24 12:48:14 +00:00
mrg
12f8528ba4
add a cast.
1998-11-24 12:47:24 +00:00
mrg
3660a1e953
make sure we do not write more than 7.5k of bootblock.
1998-11-24 00:03:19 +00:00
mrg
84826f1771
add installboot
1998-11-23 08:16:10 +00:00
mrg
cd3e42513b
add a sparc64 installboot script. just dd the bootblk to the right part of the disk. can be improved...
1998-11-23 08:15:11 +00:00
mrg
fdbb273f39
fix some warnings, and some not DEBUG problems.
1998-11-22 23:56:49 +00:00
eeh
4cf9a921c9
Move allocsys() back to cpu_startup(). We're no longer allocating it from
...
the locked 4MB TLB entry, but it solves the problem where large memory machines
overflow the 4MB TLB entry.
1998-11-22 23:38:53 +00:00
eeh
3bb71e68c6
ofwboot.elf is now ofwboot.
1998-11-22 17:22:50 +00:00
eeh
2f274f97e5
Don't ask the firmware to find our partition because it doesn't understand
...
NetBSD disklabels and gets horribly confused.
1998-11-22 16:21:02 +00:00
mrg
db3051d720
fix problems in many d_mmap routines:
...
- returned EOPNOTSUPP rather than -1.
- no check for negative offset.
many of these fix potential security problems in these drivers.
XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
paddr_t (*d_mmap) __P((dev_t, off_t, int));
by someone!
1998-11-19 15:38:20 +00:00
oster
cf5710c839
Added a (commented out) configuration line for the RAIDframe device driver.
1998-11-16 16:44:55 +00:00
eeh
a178ed6add
Fixup the last broken bits of the signal handling code.
1998-11-16 06:51:35 +00:00
oster
c74d32c5fc
Updating of bdev's and cdev's to support RAIDframe.
1998-11-13 04:47:03 +00:00
eeh
08af05f929
Fix 32-bit gcc scheduling problems.
1998-11-13 03:47:15 +00:00
thorpej
cabecee13c
Changes to support fork_kthread():
...
- cpu_set_kpc() now takes void *arg third argument, passed to the
entry point.
- cpu_fork() allows parent to be non-curproc iff parent is proc0.
When forking non-curproc, assume its state has already been saved.
- Adjust various pieces of machine-dependent code to account of all of this.
1998-11-11 06:43:49 +00:00
eeh
f66c79c11e
Turn off debugging.
1998-11-11 02:04:23 +00:00
eeh
bef3f7ec18
FCode bootblock and friends.
1998-11-11 01:57:32 +00:00
tron
b296275bb4
Defopt SYSVMSG, SYSVSEM and SYSVSHM.
1998-10-19 22:09:13 +00:00
drochner
2468738337
change handling of libkern:
...
-sys/lib/libkern builds as library per default (as it was documented all
the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
(for now; should depend on actual "option LKM" or -better- functions
included for LKM use should be pulled in by a stub)
-always link libcompat before libkern - libkern stuff can be referred to
by libcompat, but not the other way
1998-10-15 18:37:13 +00:00
chuck
8bef431273
remove unused share map code from UVM:
...
- update calls to uvm_unmap_remove/uvm_unmap (mainonly boolean arg
has been removed)
1998-10-11 23:20:59 +00:00
thorpej
908cdfe4e3
Add scsibus entry points to the cdevsw[].
1998-10-10 02:00:49 +00:00
eeh
b6fd7187e0
Fix more syscall32 and signal breakage.
1998-10-08 02:31:39 +00:00
thorpej
d681cf055a
configure() prototype is in <sys/device.h>
1998-10-06 20:50:15 +00:00
thorpej
0729240c88
Move the "XXX re-zero proc0 user area" to the end of configure(), before
...
interrupts are enabled.
1998-10-06 18:58:09 +00:00
eeh
cd0dd24713
It seems taht 64-bit kernels need bigger stacks.
1998-10-06 05:18:55 +00:00
eeh
d0d18d5a83
Fix PIC code initialization.
1998-10-06 05:16:34 +00:00
thorpej
5006dbf868
cpu_set_kpc() prototype is already in <sys/systm.h>.
1998-10-05 22:11:15 +00:00
eeh
1cc6223a9c
More fixup in the signal area.
...
64-bit syscall cleanup.
Add emulation for some new FPU insns: conversion to 64-bit long int and
conditional moves.
1998-09-22 02:48:42 +00:00
thorpej
2eb8e8729b
Make the signal code look a bit more like the 32-bit SPARC port's.
1998-09-17 04:52:17 +00:00
thorpej
a7e5b3bcce
For _LP64, sigcontext must contain longs!
1998-09-17 04:51:29 +00:00
thorpej
5e8f492923
SYS_sigreturn -> SYS___sigreturn14.
1998-09-17 04:41:06 +00:00
thorpej
dcb541531a
Minor cosmetic change.
1998-09-17 02:33:06 +00:00
eeh
52cbf86859
Looks like something else changed in signal land.
1998-09-13 16:45:43 +00:00
eeh
49af63b22b
Fixup signal changes (hopefully). However SUN_COMPAT is likely broken by
...
this and I don't know how to fix it.
We can now exec a 64-bit init through a really ugly hack (don't ask.)
1998-09-13 16:02:47 +00:00
mycroft
06fb1b6d67
Fix pasto.
1998-09-13 12:24:18 +00:00
mycroft
4e4f120db9
Update these for signal handling changes.
...
XXX Not tested yet.
1998-09-13 12:13:49 +00:00
mycroft
62ea009b0e
Update for signal handling changes.
1998-09-11 13:31:39 +00:00
eeh
526dbbab7e
Add labels for the compat_sparc32 signal trampoline and break -- er -- fix
...
suword and fuword.
1998-09-11 00:16:59 +00:00
eeh
6736de02e8
A (slightly modified) version of tv's fix for va_args for kern_printf.
1998-09-11 00:12:41 +00:00
eeh
f3ca996011
Add support for 64-bit types if _LP64 is defined.
1998-09-11 00:05:57 +00:00
eeh
cdeacb83c2
Don't use fuword()/suword() -- can't count on their size.
1998-09-11 00:04:16 +00:00
thorpej
70e641047c
In cpu_coredump(), use MID_MACHINE rather than MID_* (whatever it expands
...
to).
1998-09-09 11:17:24 +00:00
thorpej
2f9d1a8c8c
Use MID_MACHINE rather than MID_SPARC in cpu_coredump(), and add a comment
...
about dumping a SPARC32 core file if we're using emul_sparc32.
1998-09-09 11:06:08 +00:00
thorpej
f7a4380174
If _LP64, set MID_MACHINE to MID_SPARC64, else MID_SPARC. This allows us
...
to uniquely identify ILP32 vs. LP64 core files, and prevents an LP64 kernel
from incorrectly choosing emul_netbsd when it should choose emul_sparc32.
1998-09-09 11:01:38 +00:00
eeh
2a6ae85fc3
Change to MACHINE_ARCH=sparc64 for LP64 machines.
1998-09-09 02:56:38 +00:00
eeh
d2570e248c
Don't use %tick for microtime on 32-bit kernels -- breaks gettimeofday.
1998-09-09 02:52:54 +00:00
eeh
e81ed2237d
Fix problems in global pagewalks.
1998-09-09 02:49:56 +00:00
eeh
9487c4be35
Make `machine phys' increment its address.
1998-09-09 02:48:15 +00:00
thorpej
8abe0d6b1c
Adjust for the new "reaper" kernel thread: do not free the vmspace and
...
u-area in machine-dependent code. Instead, call exit2() to schedule
the reaper to free them for us, once it is safe to do so (i.e. we are
no longer running on the dead proc's vmspace and stack).
1998-09-09 00:07:48 +00:00
eeh
b5e87ba833
Misc. cleanup.
1998-09-07 23:59:07 +00:00
eeh
4a42b68e25
Fixup for 32-bit and 64-bit syscalls.
1998-09-07 23:49:21 +00:00
eeh
caff762f80
Fix data corruption problem caused by broken debug code.
1998-09-07 23:48:23 +00:00
eeh
f162a39307
Make register32_t unsigned so we don't have sign extension problems.
1998-09-07 23:46:26 +00:00
eeh
064281122e
Add new 64-bit trap vectors.
1998-09-07 20:02:32 +00:00
eeh
8d72d0dc0a
Fix problems copying in extended syscall arguments.
1998-09-07 18:23:54 +00:00
eeh
aecf435d40
Add new 64-bit specific traps and 64-bit Solaris syscall.
1998-09-07 01:39:52 +00:00
eeh
edc4ed9846
32-bit fixup.
1998-09-06 21:53:41 +00:00
eeh
2db40814db
May as well check in my 64-bit kernel config file for the moment.
1998-09-06 04:43:47 +00:00
eeh
ce1a384fb1
Disable some debug stuff.
1998-09-06 04:42:08 +00:00
eeh
a112a2a4cc
It slices. It dices. It does everything except exec a sparc32_compat init.
1998-09-05 23:57:24 +00:00
pk
315ac1f6f7
These are replaced by drivers in <sys/dev/sbus>.
1998-09-05 17:46:33 +00:00
pk
5b005d9e2a
Use auto-generated `dev_name2blk[]'.
1998-09-05 17:43:18 +00:00
pk
989caecc31
Define a few major devices.
...
Remove `dma' and `esp' definitions.
1998-09-05 17:42:28 +00:00
pk
037ab5af1a
#include <sys/dev/sbus/sbusvar.h>
1998-09-05 16:52:02 +00:00
pk
c20e88b71e
#include <dev/sbus/sbusvar.h>
1998-09-05 16:50:37 +00:00
pk
2a85575583
Most of this now comes from <sys/dev/sbus/sbusvar.h>
1998-09-05 16:44:39 +00:00
pk
181a8253a0
Nuke temporary `getpropA()'.
1998-09-05 16:23:08 +00:00
pk
eebaae2ec0
Remove unused files.
1998-09-05 16:06:23 +00:00
pk
b8fbf12db9
Remove unused devices.
1998-09-05 16:01:11 +00:00
pk
5ca09ab5b1
Remove unused files.
1998-09-05 16:00:42 +00:00
pk
b39d7e33be
Assign my copyrights to TNF.
1998-09-05 15:42:41 +00:00
christos
50909bd6d9
Assign copyright to TNF.
1998-09-05 15:28:08 +00:00
mrg
06ea852ae8
take out UVM_PAGE_TRKOWN and comment UVMHIST
1998-09-02 10:27:27 +00:00
eeh
cf9a8a5a53
Periodic update: now starts probing devices.
1998-09-02 05:51:35 +00:00
eeh
26d2d906c7
Some more 64-bit cleanup. Now everything compiles.
1998-08-30 15:32:16 +00:00
eeh
acbd410040
Some more 64-bit ification and I think I finally fixed the vref() panic.
1998-08-30 02:12:02 +00:00
eeh
d581aadc3e
Some more 64-bit-ification.
1998-08-29 18:16:56 +00:00
mrg
713a7dc9c3
oops, remove old isp attachment here..
1998-08-27 11:47:12 +00:00
mrg
396330e186
remove sparc64 "options BUS_DMA" -- it is now standard
1998-08-27 11:43:14 +00:00
mrg
bd85d62257
move isp sbus attachment to dev/sbus and support it on the sparc64
1998-08-27 11:40:06 +00:00
eeh
a465fdedc6
Add 64-bit pmap support:
...
Moved from a two level 512/1024 entry setup mapping 32 (9/10/13) bits
respectively to a three level 1024/1024/1024 entry setup mapping 43
(10/10/10/13) bits. In 32-bit mode we waste about 1/12 pages mapping the high
11 bits. We also only manage 43 of the possible 44 bits of virtual address
space, wasting half of it. Oh well, maybe we'll do better next revision.
1998-08-27 06:23:31 +00:00
mrg
a40fb261e6
deal with no DDB
1998-08-26 12:41:47 +00:00
mrg
446bcd99d6
panicstack: is needed outside of DEBUG. use _C_LABEL, and printf not db_printf (incase no ddb!)
1998-08-26 12:37:35 +00:00
mrg
8912df90bf
fix missed sparc -> sparc64
1998-08-26 10:36:42 +00:00
mrg
e791891d53
- use UVM by default.
...
- clean up the Makefile a bit to be less solaris-centric :)
- add support for compat_sparc32 (32bit compat module for NetBSD/sparc). this
isn't yet fully tested but it mostly written and compiles if not totally
links yet.
1998-08-26 10:31:36 +00:00
mrg
8ea67882ab
make this actually work
1998-08-26 09:09:31 +00:00
mrg
be25ea2fb5
put pmapdebug usage inside #ifdef DEBUG
1998-08-26 07:55:10 +00:00
eeh
d395d34886
Work on 32-bit cleanup.
1998-08-23 15:52:43 +00:00