chs
ac3bc537bd
eliminate the KERN_* error codes in favor of the traditional E* codes.
...
the mapping is:
KERN_SUCCESS 0
KERN_INVALID_ADDRESS EFAULT
KERN_PROTECTION_FAILURE EACCES
KERN_NO_SPACE ENOMEM
KERN_INVALID_ARGUMENT EINVAL
KERN_FAILURE various, mostly turn into KASSERTs
KERN_RESOURCE_SHORTAGE ENOMEM
KERN_NOT_RECEIVER <unused>
KERN_NO_ACCESS <unused>
KERN_PAGES_LOCKED <unused>
2001-03-15 06:10:32 +00:00
tsutsui
51cdfbfa9b
Fix error on config without options news1700.
...
DC_BE and IC_BE bits are enabled at runtime since rev 1.7.
2001-03-10 18:58:16 +00:00
tsutsui
7346883e17
Don't include opt_compat_svr4.h on building LKM.
2001-03-10 18:39:04 +00:00
tsutsui
3345fe4477
Fix intrnames and intrcnt since there is no statclock on news68k.
2001-03-04 16:24:39 +00:00
tsutsui
ea0e8d2320
Remove unused getsp().
2001-03-04 16:21:05 +00:00
tsutsui
0f2df04d95
Add "-e start" to LDFLAGS for ELF toolchain.
2001-03-04 16:15:50 +00:00
tsutsui
1dff14e5c9
Include files.aoutm68k for COMPAT_AOUT_M68K.
2001-03-04 16:14:21 +00:00
tsutsui
956f5fbe42
Add one missed register prefix.
2001-03-03 13:59:10 +00:00
tsutsui
7b88ea28ab
Remove unneeded COMPAT_HPUX stuff.
2001-02-25 13:33:54 +00:00
tsutsui
4cd9aa3b6c
Sync with x68k:
...
Use m68k_page_offset and m68k_trunc_page macros,
instead of using PGOFSET directly.
2001-02-25 13:28:31 +00:00
tsutsui
e3180dc477
Enable options NFS_V2_ONLY and VNODE_OP_NOINLINE.
2001-02-18 05:24:43 +00:00
tsutsui
47ac3d6b45
include sunos_exec.h to declare emul_sunos.
2001-02-17 18:34:57 +00:00
tsutsui
69e6648be8
Remove phys_map declaration, which is in <uvm/uvm_extern.h>
2001-02-17 18:29:55 +00:00
tsutsui
f5d8c46be6
Remove unused fb stuff.
2001-02-17 18:21:03 +00:00
tsutsui
96c8c181ee
Fix some nested extern declarations.
2001-02-17 18:15:18 +00:00
tsutsui
677243711e
Add a version file and print version strings generated by newvers_stand.sh.
2001-01-30 14:29:47 +00:00
tsutsui
9af4874133
Umm, fix botch in the previous;
...
include bsd.own.mk at the top, and include bsd.prog.mk at the bottom.
2001-01-30 14:21:49 +00:00
tsutsui
75e4c0c1be
- bzero() -> memset()
...
- Remove unneeded includes
- WARNSfy
2001-01-30 14:11:00 +00:00
tsutsui
85e5565f13
Remove (unused) -DBOOT_DEBUG.
2001-01-30 12:48:34 +00:00
tsutsui
2b258b5e2b
Include bsd.prog.mk at the top to pull in ${PRINTOBJDIR}.
2001-01-30 12:42:43 +00:00
tsutsui
08f4daf2ce
Add drivers for keyboard and mouse.
...
(but no working framebuffer yet..)
2001-01-25 14:33:28 +00:00
tsutsui
ec63f6df14
Use MI loadfile() in loadprotoblocks().
2001-01-23 11:30:54 +00:00
tv
e58532a4bf
No-op commit to force update to a non-"-kk" revision.
2001-01-18 17:47:58 +00:00
fvdl
c7f1462f3e
Add machdep file for procfs. Currently only used for linux-style
...
/proc/cpuinfo (only active when procfs is mounted with -o linux).
For ports other than the i386 this currently produces an empty
string.
2001-01-17 00:07:18 +00:00
thorpej
d74e432ed3
Make softclock a generic soft interrupt of the API is available,
...
adding the requisite void * argument to softclock().
2001-01-15 20:19:50 +00:00
thorpej
a3ec356d52
splimp() -> splvm()
2001-01-14 03:22:04 +00:00
thorpej
d85a75f583
Make sure everybody has an splvm() and equate it with splimp() (splimp()
...
is the historical name for this interrupt level, and the historical name
is going to go away in the near future).
2001-01-14 02:00:37 +00:00
tsutsui
f9de1a4a50
Handle ELF case on calling ddb_init().
...
XXX should use bootinfo to pass symbol addresses.
2001-01-12 17:17:49 +00:00
tsutsui
aafbe31f11
Enable ELF symbol support to migrate. DB_AOUT_SYMBOLS is still defined.
2001-01-12 17:11:50 +00:00
tsutsui
26d5ada2c0
Remove hp300 derived "last kernel PT page" stuff. (sync with luna68k/x68k)
2001-01-12 16:19:18 +00:00
tsutsui
f68bcbc806
Use ${PRINTOBJDIR}.
2001-01-07 08:38:01 +00:00
jhawk
be1e7e391c
Spell "physical" correctly in comment.
2000-12-24 07:13:36 +00:00
jdolecek
de31133f1d
split off thread specific stuff from struct sigacts to struct sigctx, leaving
...
only signal handler array sharable between threads
move other random signal stuff from struct proc to struct sigctx
This addresses kern/10981 by Matthew Orgass.
XXX I wish m68k ports would share trap.c
2000-12-23 09:35:51 +00:00
scw
4350a7f2b7
Unification of the m68k syscall() function.
2000-12-19 21:09:54 +00:00
bouyer
c71f40d166
Add pseudo-device vlan
2000-12-19 10:42:02 +00:00
jdolecek
cacec11253
delete obsolete comment
2000-12-17 15:52:39 +00:00
jdolecek
ca57e681bd
g/c obsolete vtrace(2) stuff
2000-12-13 18:13:05 +00:00
tsutsui
e89ff0051b
Add some ELF stuff. (not tested)
...
XXX should use MI loadfile(). (see sparc)
2000-12-03 03:35:40 +00:00
tsutsui
b00d07faa9
Enable LOAD_HDR and COUNT_HDR. (would be required on ELF)
2000-12-03 02:56:25 +00:00
tsutsui
a8fdbdec1c
Remove unused pcbb() macro.
2000-12-01 17:57:43 +00:00
tsutsui
7dc077e6f5
Change UPAGES from 3 to 2. (sync with hp300)
2000-11-29 12:32:06 +00:00
jdolecek
17a9fd0da5
split m68k SunOS and SVR4-specific sigcode.s code to sunos_sigcode.s
...
and svr4_sigcode.s respectively
adjust individual m68k port's locore.s to include new sigcode files if
appropriate
2000-11-26 11:47:23 +00:00
tsutsui
add41a3fee
Make sure to return PROM prompt even if loading kernel fails halfway.
2000-11-25 04:42:06 +00:00
tsutsui
6d8f55d932
Use single_inst_b{set,clr}_b() macro defined in m68k/asm_single.h.
2000-11-24 14:08:14 +00:00
tsutsui
5ed7dadbfb
Enable rnd and comment out CD9660. (no SCSI support on news1200 yet)
2000-11-24 13:05:31 +00:00
tsutsui
be69cb38ee
Add/enable COMPAT_SUNOS. It actually works on news68k.
2000-11-24 12:58:17 +00:00
tsutsui
161004f8c3
s/struct const sysent/const struct sysent/
...
(BTW, luna68k was missed in emul/execsw changes?)
2000-11-21 23:19:42 +00:00
tsutsui
2c7e91a09e
Define proper macros for FP frame offsets rather than magic numbers.
2000-11-21 13:54:13 +00:00
jdolecek
baae0324b9
restructure struct emul and execsw, in preparation to make emulations LKMable:
...
* move all exec-type specific information from struct emul to execsw[] and
provide single struct emul per emulation
* elf:
- kern/exec_elf32.c:probe_funcs[] is gone, execsw[] how has one entry
per emulation and contains pointer to respective probe function
- interp is allocated via MALLOC() rather than on stack
- elf_args structure is allocated via MALLOC() rather than malloc()
* ecoff: the per-emulation hooks moved from alpha and mips specific code
to OSF1 and Ultrix compat code as appropriate, execsw[] has one entry per
emulation supporting ecoff with appropriate probe function
* the makecmds/probe functions don't set emulation, pointer to emulation is
part of appropriate execsw[] entry
* constify couple of structures
2000-11-21 00:37:49 +00:00
chs
c62d17a551
rationalize the use of b_flags for geteblk() buffers.
...
rather than assigning to the whole field, set or clear individual flags,
which implies that the B_BUSY and B_INVAL flags will remain set.
this allows us to make the assertion in brelse() that B_BUSY is set,
which is the purpose of all this.
2000-11-20 08:24:08 +00:00