mrg
2d7ba2f0e7
turn off UVMHIST. turn on LKM. makeoptions DEBUG=-g
2001-02-05 12:49:11 +00:00
mrg
8507daffe2
regen
2001-02-05 12:48:33 +00:00
mrg
f973f47b9c
s/sunos_sendsig/sunos32_sendsig/
2001-02-05 12:48:13 +00:00
mrg
05752997ef
use sunos32_machdep.c on 64 bit kernels.
2001-02-05 12:47:47 +00:00
mrg
2bdf90f148
use sunos32_sys_sigreturn
2001-02-05 12:46:19 +00:00
mrg
e1ac1f31b9
make sure 32 bit addresses are truncated properly.
2001-02-05 12:45:38 +00:00
chs
f889fd6ff9
remove signal trampoline stuff since it'll never be used in the kernel.
...
clean up the ELF support.
2001-02-05 12:37:33 +00:00
chs
5f244b1055
conditionalize the ddb hook on DDB && DEBUG_FPE rather than DDB && DEBUG,
...
since that's the condition under which we include the header file that
allows it to compile.
2001-02-05 12:35:13 +00:00
chs
5706160195
fix several bugs:
...
- in the cases where we skip over the i/o loop, increment npages by ridx
so that when the cleanup code starts processing the pgs array at index 0
it'll actually process all of the pages.
- process the PG_RELEASED flag when unbusying pages.
- add some missing MP locking.
- use MIN() and MAX() instead of min() and max() since the latter are
functions which take arguments of type "int" but we call them with
values of type "off_t", so the values could be truncated.
2001-02-05 12:27:18 +00:00
chs
8c14e1d2db
fix several bugs:
...
- in the cases where we skip over the i/o loop, increment npages by ridx
so that when the cleanup code starts processing the pgs array at index 0
it'll actually process all of the pages.
- process the PG_RELEASED flag when unbusying pages.
- add some missing MP locking.
- use MIN() and MAX() instead of min() and max() since the latter are
functions which take arguments of type "int" but we call them with
values of type "off_t", so the values could be truncated.
- in the PGO_PASTEOF case, use the larger of the current file size and the
end of the requested range of pages as the file size for this request.
this fixes some problems with sparsing writes to large offsets.
2001-02-05 12:26:08 +00:00
chs
4d5451090e
in uvm_map_clean(), fix the case where the start offset is within the last
...
entry in the map. the old code would walk around the end of the linked list,
through the header entry, and keep going from the first map entry until it
found a gap in the map, at which point it would return an error. if the map
had no gaps then it would loop forever. reported by k-abe@cs.utah.edu .
while I'm here, clean up this function a bit.
also, use MIN() instead of min(), since the latter takes arguments of
type "int" but we're passing it values of type "vaddr_t", which can be
a larger size.
2001-02-05 11:29:54 +00:00
chs
c92d60cfce
expose the definitions of MIN() and MAX() in sys/param.h to the kernel
...
and use those in favor of a dozen copies scattered around the source tree.
2001-02-05 11:16:31 +00:00
chs
755889bc0b
clear pcb_onfault before calling uvm_fault() and restore it afterward.
...
if the fault handler generates a pagefault, we'd like to panic rather
than invoking the onfault handler.
2001-02-05 11:12:05 +00:00
chs
a1c22f6d67
add casts to an assertion in ffs_alloc() so it works with offsets past 4GB.
2001-02-05 10:55:02 +00:00
chs
09cb38f22b
expose the definitions of MIN() and MAX() in sys/param.h to the kernel
...
and use those in favor of a dozen copies scattered around the source tree.
2001-02-05 10:42:40 +00:00
eeh
db133b2424
Add signal trampoline for 64-bit svr4 emulations.
2001-02-05 06:56:45 +00:00
mrg
8e76e697d7
fix the glaring errors in emulations for osendmsg, orecvmsg, osigvec and osigstack.
2001-02-05 06:32:55 +00:00
mrg
973fe837ab
s/long/netbsd32_long/ in various places. call netbsd32_fcntl, not sys_fcntl.
2001-02-05 06:28:55 +00:00
mrg
07df067e6c
make sunos32_sys_stime() & sunos32_sys_sigvec() work.
2001-02-05 06:27:57 +00:00
enami
5760375275
Include uvm/uvm_extern.h to pull in the definition of PAGE_SIZE.
2001-02-05 04:50:27 +00:00
itojun
30b4221720
make it compile on alpha. cast pointer to u_long, not int
2001-02-05 04:33:41 +00:00
itojun
d0bc7a3c3d
s/unix/unit/ for ld* on mlx* :-)
2001-02-05 04:16:52 +00:00
jmc
ece49e13a9
Back out last change. m68k.h is now in cpu.h (which got updated in between
...
my noticing this problem here on a sun3).
2001-02-04 23:53:31 +00:00
christos
ff4eeac9d3
cosmetic fixes.
2001-02-04 22:59:26 +00:00
pk
11c1f60120
When freeing a session, remove the reference to it from the associated tty.
2001-02-04 22:32:24 +00:00
christos
bf4fd5e39c
don't include lfs_extern.h; ufs/inode.h does too.
2001-02-04 21:51:19 +00:00
ragge
2c1941b3eb
Giant update from Michael Kukat (michael@unixiron.org).
...
Fixes support for:
MicroVAX 3100m90
MicroVAX 3100m95
VAX 4000/100 (tested)
VAX 4000/105A (tested)
VAX 4000/108
VAX 4000/400 (tested)
VAX 4000/500 (tested)
VAX 4000/600
2001-02-04 20:36:26 +00:00
eeh
e938c4e842
*NEVER* cast a reference parameter (unless you're using C++).
2001-02-04 19:12:09 +00:00
briggs
c8ef73b71f
Support for the Motorola Sandpoint reference platform using the
...
MPC8240 processor module. See the README for more information.
2001-02-04 18:32:10 +00:00
briggs
788797428a
Regen.
2001-02-04 18:16:42 +00:00
briggs
a5d1d7e79f
Add the MPC8240 (Kahlua) Host Bridge
2001-02-04 18:16:20 +00:00
briggs
863805b4d8
Correct previous. Call openpic_init() correctly.
2001-02-04 17:46:33 +00:00
briggs
522ec180e9
Build with -Wall -Wetc.
2001-02-04 17:38:10 +00:00
briggs
e560b86e0b
Adapt to new openpic_init() parameters.
2001-02-04 17:36:08 +00:00
perry
65e351a124
keep joystick lines together
2001-02-04 17:36:03 +00:00
briggs
ace7a75bd5
Remove dependancy on ICU_LEN m.d. define. Thanks, Tsubai.
2001-02-04 17:35:28 +00:00
briggs
cbb39b8875
defopt openpic
2001-02-04 17:34:11 +00:00
briggs
0ce1220246
For now, all macppc will get OpenPIC
2001-02-04 17:33:42 +00:00
ad
8067f991df
Allow for draining/adjusting the queue.
2001-02-04 17:15:37 +00:00
ad
8d75ab98d3
Add a driver for the Mylex DAC960 family (including DEC SWXCR).
2001-02-04 17:05:11 +00:00
mrg
2343525d2b
we don't #include ../sunos/sunos_ioctl.c anymore...sigh
2001-02-04 15:38:17 +00:00
manu
0bf34ec725
Fixed a bug in Linux/powerpc ktrace support (it's still broken, anyway)
2001-02-04 14:24:38 +00:00
mrg
9e0d8392a4
clean up sunos32_sys_mmap(), modelling it more like netbsd32_mmap()
2001-02-04 11:06:14 +00:00
mrg
6e26ebea51
allow ubchist to be printed from the uvmhist merging uvm_hist()
2001-02-04 10:55:58 +00:00
mrg
0c151f32c8
add a KASSERT(pp) in the uvm_pagermapin() loop.
2001-02-04 10:55:12 +00:00
mrg
6bcf1102df
clean up some KERNFS_DIAGNOSTIC calls.
2001-02-04 10:20:00 +00:00
jmc
5a272e431a
Add m68k/m68k.h to pickup fputype definitions.
2001-02-04 10:16:43 +00:00
jmc
7ce76feecc
In the LKM section add some things the LKM's need (since they aren't
...
defining _SUN3_ or _SUN3X_ generally to pickup the full vmparam.h
Added MAXDSIZ (set to sun3's limit) and VM_NFREELIST
2001-02-04 10:16:03 +00:00
jmc
36f1b05b1f
Include m68k/m68k.h to pickup definition for fputype.
2001-02-04 10:13:08 +00:00
mrg
b4e92dfd81
regen
2001-02-04 09:48:43 +00:00