fvdl
e464d0288a
sobind() interface change -> 1.5N
2000-12-10 23:17:28 +00:00
fvdl
405b695086
Make sobind() take a struct proc *. It already took curproc and
...
passed it down to the appropriate usrreq function, and this
allows usage for contexts that need to be explicitly different
from curproc (like in the NFS code when binding to a reserved port).
2000-12-10 23:16:28 +00:00
fvdl
89cef8992e
Update prototype for sobind() to include a struct proc *.
2000-12-10 23:13:42 +00:00
scw
5d5ebb1b73
Simplify the reboot code:
...
Always jump through the PROM's reset vector, regardless of board type.
Fix a stack offset problem in the mvme147 reset code path.
2000-12-10 20:00:21 +00:00
eeh
264fbb89af
Cleanup types in DEBUG printf()s.
2000-12-10 19:52:17 +00:00
chs
4ab33e73c2
call pgo_flush with (start,end) rather than (start,length).
2000-12-10 19:41:35 +00:00
chs
3a5e4f901b
in *_sync(), don't skip vnodes which have (potentially dirty) pages.
2000-12-10 19:36:31 +00:00
eeh
40638d9f35
Zero proc 0 stack pages so the pcb is cleared out before use.
2000-12-10 19:33:02 +00:00
mycroft
66610a4779
Introduce PROC_PC(), which is used to get a process's user PC. If this is
...
defined, call addupc_intr() directly from statclock() in the system time case,
using the same P_OWEUPC path if the copyin/copyout fails.
Use this in i386 to remove profiling code from the normal userret() path.
2000-12-10 19:29:30 +00:00
chs
837f5c9bd6
we don't need VM_PROT_EXECUTE for UBC mappings.
2000-12-10 19:28:09 +00:00
chs
b9423d9d52
in pmap_enter(), do not mark the page modified just because we mapped it
...
for write to a kernel address. callers may now use the "flags" argument
to cause this to happen when desired.
2000-12-10 19:25:44 +00:00
eeh
af770220fa
Fix for chips that don't grok NCRCMD_SELATN3.
2000-12-10 19:25:07 +00:00
scw
8ace7abc75
A small splx()/spl0()/soft interrupt related optimisation. If we're
...
dropping to spl0, use inline code to check if a soft interrupt is
pending instead of taking the hit of a function call to do the check.
2000-12-10 18:43:02 +00:00
scw
c5b6f43634
Define `splzs()' to be `splserial()' instead of `spl4()', which was
...
wrong anyway since it blindly set SPL to 4 regardless of the prevailing
level.
2000-12-10 18:00:24 +00:00
thorpej
a1479e118c
Fix previous:
...
- EBADF, not NULL when a file descriptor can't be found.
- Check FIF_WANTCLOSE properly.
2000-12-10 17:34:25 +00:00
thorpej
ce866cd0e8
Don't hold a pool cache lock across any call to pool_get() or pool_put().
...
This allows us to change a try-lock into a normal lock in the reclaim
case.
2000-12-10 17:03:34 +00:00
jdolecek
48f421c3fa
do not try to get/set sample rate on codecs which don't support variable
...
rate audio - always report/use fixed rate of 44100 for them, so that the
other audio code DTRT
2000-12-10 15:43:02 +00:00
bjh21
4f1ee09e5f
It looks like UBC_WINSIZE needs to be at least PAGE_SIZE.
2000-12-10 14:28:45 +00:00
fvdl
eb1e790ed3
Add linux_fdio.c and linux_hdio.c
2000-12-10 14:15:04 +00:00
fvdl
538c381225
findblkname is not static (and is in fact used outside this file).
2000-12-10 14:14:15 +00:00
fvdl
813c5d92f7
Bump stackgap size from 400 to 512.
2000-12-10 14:13:04 +00:00
fvdl
a499e56944
Add some ioctls for harddisk, floppy disk and console handling.
...
Implement a few extra cdrom ioctl calls.
Make sure to correctly use FILE_USE and FILE_UNUSE.
2000-12-10 14:12:16 +00:00
fvdl
e772d7a6d5
Add i386-specific code for a few ioctl calls.
2000-12-10 14:09:59 +00:00
fvdl
ec9b1e3f5e
The gist of the Linux _IOX definitions was the same for all platforms;
...
move it to the MI linux_ioctl.h and only leave the MD bits in the MD
header files.
Add defintions for linux_ioctl_hdio and linux_ioctl_fdio.
2000-12-10 14:08:48 +00:00
fvdl
8488f3e039
The gist of the Linux _IOX definitions was the same for all platforms;
...
move it to the MI linux_ioctl.h and only leave the MD bits in the MD
header files.
2000-12-10 14:07:22 +00:00
fvdl
f86f1f091f
Add linux_hdio.c and linux_fdio.c
2000-12-10 14:05:54 +00:00
jdolecek
1683c206a4
provide dymmy symbol 'syscall' to make ppc kernels
...
linkable after recent emul changes - it's used in emul_netbsd and friends
XXX this is probably wrong solution; should powerpc have separate
XXX syscall() as other ports do ?
2000-12-10 12:49:54 +00:00
jdolecek
7a2157f1f3
emul_unregister(): fix incorrect loop condition - execsw[] is not NULL
...
terminated
2000-12-10 12:42:30 +00:00
jdolecek
8ca533ee5b
since this is now standalone and not called via syscall(), we need to
...
update statistics and set p->p_md.md_regs accordingly here
do the errno translation uncoditionally
2000-12-10 12:23:50 +00:00
jdolecek
603884ff22
syscall(): no emulation using this needs errno mapping, G/C the code
2000-12-10 12:09:59 +00:00
jdolecek
9b6d040095
fork1(): write the ktrace entry before the parent is put to sleep for
...
FORK_PPWAIT case, so that this DTRT for vfork() too
2000-12-10 11:41:20 +00:00
chs
1c89ab39ad
redo ext2fs_balloc_range(), accounting for differences between ext2fs and ffs.
2000-12-10 06:38:31 +00:00
matt
3d9cc98e9a
Add VAX 4000/200
2000-12-10 03:37:56 +00:00
bjh21
4f5619bc7c
Prototype kdb_trap().
2000-12-10 01:31:48 +00:00
bjh21
7e79390d64
Delint.
2000-12-10 01:27:35 +00:00
bjh21
6073fc61bf
Indirect the SWI handler through the current emulation, thus providing a
...
syscall() for MI code. Hope it never calls it itself.
2000-12-10 01:18:52 +00:00
bjh21
477863502b
DIAGNOSTIC check for mangled exception vectors.
2000-12-10 01:02:04 +00:00
chs
cae7ac2e3a
in uvm_pagermapin(), for now, don't pass the flag to pmap_enter()
...
which presets the page modified bit if the page is already initialized.
we don't actually want to modify such pages.
2000-12-09 23:26:27 +00:00
castor
dac94f4d7b
Make sc->wi_txbuf an array of u_int16_t instead u_int8_t so alignment
...
is handled correctly. Thanks to Martin Husemann for nagging me to
do the right thing.
2000-12-09 22:59:44 +00:00
chs
f5878a3362
only zero the part of the page after EOF if we're actually
...
initializing the page.
2000-12-09 22:38:23 +00:00
scw
1a0a12c5b4
Bah. Somehow the a.out versions of the bootxx symbols got deleted; put
...
them back.
2000-12-09 22:33:24 +00:00
scw
a3dc741c03
Delete the commented out EXEC_ELF32 now that it's in std.mvme68k.
...
(Spotted by Simon Burge)
2000-12-09 21:02:09 +00:00
matt
2e13ae83bc
cpp/lorder/mkdep don't have cross specific versions.
2000-12-09 20:42:06 +00:00
matt
632d2ad2ee
Don't use __hpcmips__, but hpcmips
2000-12-09 20:35:31 +00:00
christos
835b5d35c5
how many different prototypes does linux_syscall() need finally? sheesh!
2000-12-09 19:51:44 +00:00
bjh21
559ea94aca
Fix arguments to ktrsys*() functions.
2000-12-09 18:57:17 +00:00
bjh21
6d66ade542
We no longer have zeropage.S. It was merged into locore.S last week.
2000-12-09 18:54:01 +00:00
bjh21
86dd29d1f5
Add a definition of BUS_SPACE_ALIGNED_POINTER.
2000-12-09 18:47:15 +00:00
bjh21
8df54708da
If we get an odd IOEB type, tell the user. I have a feeling issue 1 A5000s
...
might trip this.
2000-12-09 18:04:05 +00:00
bjh21
38d918f85f
Proper support for the Unix backplane in those machines that have one.
...
Not very well-tested, but it seems to work.
2000-12-09 17:52:44 +00:00
bjh21
facbe746d0
Provide friendly names for the IRQs as they're wired in normal machines.
2000-12-09 15:16:01 +00:00
bjh21
3e0d9a1b4a
Fix multiple-file loading. Bump version number to 0.41.
2000-12-09 13:30:25 +00:00
jdolecek
44d7fef20a
make locore.s call emulation-specific syscall code directly
...
this should improve speed of emulation syscall path (avoids one function call,
and emulations syscall can use the trapframe trick)
Idea: Charles Hannum
2000-12-09 13:20:04 +00:00
jdolecek
6f0fceeb1d
the call to emulation-specific syscall function will be handled differently,
...
don't do it explicitly
2000-12-09 12:57:17 +00:00
jdolecek
87a6bee3a9
prototype ibcs2_syscall() in compat/ibcs2/ibcs2_exec.c
2000-12-09 12:45:44 +00:00
jdolecek
8f9b01eba1
prototype svr4_syscall() (only) in compat/svr4/svr4_exec.c
2000-12-09 12:44:26 +00:00
jdolecek
a6ca890142
always fill in e_syscall in respective emul_*; if the emulation doesn't
...
have it's own separated *_syscall() function, use syscall()
2000-12-09 12:38:23 +00:00
jdolecek
b5ce335e1c
change the type of e_syscall in struct emul to
...
void (*e_syscall) __P((void))
since it's not uniform between ports
2000-12-09 12:34:14 +00:00
jdolecek
415500a28f
regen
2000-12-09 12:27:00 +00:00
jdolecek
c557c9f0f9
add more unimplemented syscalls to list
2000-12-09 12:23:35 +00:00
jdolecek
217ab37653
split ecoff specific code to separate file ultrix_exec_ecoff.c
2000-12-09 12:19:28 +00:00
jdolecek
45144cbd17
put userret() into header file machine/userret.h and pull it where needed
2000-12-09 11:21:52 +00:00
jdolecek
5092a332a5
add svr4_syscall.c for i386
2000-12-09 11:21:41 +00:00
mjacob
af2807f9f7
Finally fix this driver to be sensible about the ENDIAN dance. It's not
...
quite simply a question of the Qlogic being little endian and having
to have stuff swapped on big endian machines- it also has to do with the
fact that the SBus and PCI DMA layouts are wierd with respect to this.
At any rate, now finally fixed- works on Mac G4, tested it on a SS10
for sparc, checked on alpha to see if I've broken anything, and as
soon as I get another spare afternoon I'll finally install a sparc64
version which should just work (as it'll be like the Mac).
2000-12-09 08:06:31 +00:00
mycroft
acbeba20e1
Fix compile glitch.
2000-12-09 07:17:32 +00:00
mycroft
dd92250590
Regen.
2000-12-09 07:11:17 +00:00
mycroft
9b7a9b2897
Get rid of the damn EMUL_GET* flags.
2000-12-09 07:10:34 +00:00
mycroft
284474bf6e
Nuke some emul flags.
2000-12-09 07:06:52 +00:00
mycroft
547de8a6a3
Regen.
2000-12-09 07:05:10 +00:00
mycroft
02d8d5f9bf
Define 3 new functions:
...
* sys_getpid_with_ppid()
* sys_getuid_with_euid()
* sys_getgid_with_egid()
that do the retval[1] hack. Use them when COMPAT_43 is defined.
2000-12-09 07:04:47 +00:00
imp
c6e883d603
Change $Id: to $NetBSD$
2000-12-09 06:54:27 +00:00
mycroft
b2052e5951
GC garbage in userret() and *_syscall().
2000-12-09 06:34:07 +00:00
mycroft
afc49e36eb
Set md_regs before call the alternate syscall handler.
...
Remove the EMUL_HAS_SYS___syscall test, because the handler is no longer shared
with SVR4.
Rather than comparing with e_nsysent, just mask the value. This is only done
to protect us from malicious programs anyway.
2000-12-09 06:33:15 +00:00
mycroft
3340782619
Add a separate svr4_syscall().
2000-12-09 06:30:54 +00:00
mycroft
77b46f5749
Oops; missed a critical #include.
2000-12-09 06:25:03 +00:00
mycroft
95bdfed457
Add hook for a separate svr4_syscall().
2000-12-09 06:20:17 +00:00
mycroft
51e3b887d7
Regen.
2000-12-09 06:19:40 +00:00
mycroft
e2743f72a9
Round up the sysent table size.
2000-12-09 06:15:42 +00:00
mycroft
8cb9be1967
s/unimplemented/filler/
2000-12-09 05:41:12 +00:00
mycroft
f348afacb9
Regen.
2000-12-09 05:37:01 +00:00
mycroft
23284f8acf
Add another const.
2000-12-09 05:33:27 +00:00
mycroft
d47448bce6
Add the %% separators.
2000-12-09 05:31:10 +00:00
mycroft
9682cf0b09
Add the %% separators.
2000-12-09 05:27:28 +00:00
mycroft
060456b651
Couple of changes:
...
* Make the syscallnames[] table const.
* Add a separator between the #include section and the syscalls section, so
that #if/#else/#endif can be handled differently in the two.
* Add support for rounding up the size of the sysent table.
2000-12-09 05:27:08 +00:00
briggs
cd0841b357
Clear interrupts on the Apple "Boogie" card. Information grovelling
...
and testing by Lucas Lay.
2000-12-09 05:14:31 +00:00
mycroft
7a70c438c8
Couple more tweaks to eliminate unnecessary cycles.
2000-12-09 02:46:17 +00:00
mycroft
57fdd67be5
Do the resched check *only* on an AST.
...
Also, there is no reason to save the original PC; there are no restartable
syscalls that change the PC -- and even if there were, they wouldn't do it
in the restart case.
2000-12-09 02:18:16 +00:00
tsutsui
fd97da6384
Add (missed) bus_dmemem_free() in rtk_detach().
2000-12-09 02:02:20 +00:00
itojun
5eae50d991
update icmp6 too big validation. the change is necessary since pmtud is
...
mandatory for IPv6 (so we can't just validate by using connected pcb - we need
to allow traffic from unconnected pcb to do pmtud).
- if the traffic is validated by xx_ctlinput, allow up to "hiwat" pmtud
route entries.
- if the traffic was not validated by xx_ctlinput, allow up to "lowat" pmtud
route entries (there's upper limit, so bad guys cannot blow up our routing
table).
sync with kame
XXX need to think again about default hiwat/lowat value.
XXX victim selection to help starvation case
2000-12-09 01:29:45 +00:00
mycroft
5415a63e13
Rework the way the nested task and trace flags are handled when entering the
...
old (lcall) syscall gate. This speeds up that path a little.
2000-12-08 23:14:04 +00:00
jdolecek
de62167014
bump kernel version to 1.5M - changes to make emulation & their binary exec
...
format support loadable via LKM
2000-12-08 23:11:40 +00:00
jdolecek
6e8525076c
binary emulations are now loadable, the necessary framework changes are
...
all there; what is needed now is to ensure the LKMs work on other
ports - this may need changes to MD or sys/compat/* code
2000-12-08 23:08:35 +00:00
jdolecek
cced9cc42c
dive to exec/ too
2000-12-08 23:06:34 +00:00
jdolecek
413bdf22a1
add build glue for exec LKMs
...
for now, only i386 linux_elf is actually installed, since the others have
not been tested yet
2000-12-08 23:05:33 +00:00
mycroft
985a81f23b
GC unneeded code.
2000-12-08 22:32:09 +00:00
jdolecek
a65f2129f3
call exec_init() with before letting init(8) exec
2000-12-08 22:07:36 +00:00
mycroft
73e35a46eb
Increase all of the limits.
2000-12-08 21:51:35 +00:00
mycroft
1ac1248e45
Turn off the damned TI `VCC protection' bit.
2000-12-08 21:51:02 +00:00
jdolecek
cc5b7ecb22
put the ecoff specific code from osf1_exec.c to osf1_exec_ecoff.c
2000-12-08 21:39:30 +00:00
jdolecek
ea3b73ae69
slight comment fix
2000-12-08 20:20:23 +00:00
jdolecek
e6c64e055f
add build glue for supported emulations
...
since only linux compat on i386 is installed, only that LKM is actually
installed (LKMs are build for all platforms as appropriate though)
further changes to compat code would need to happen to make this usable
also for other plaforms or emulations
2000-12-08 20:15:11 +00:00
jdolecek
f4c6609be7
change emulation name from 'netbsd' to 'aoutm68k'
2000-12-08 20:07:43 +00:00
jdolecek
0576f87ad3
add infrastructure to load emulations and their executable support dynamically
...
via LKM
2000-12-08 19:42:11 +00:00
drochner
aa2b1723f5
regen
2000-12-08 18:38:15 +00:00
drochner
917a1a2bfe
add IBM microdrive
2000-12-08 18:37:24 +00:00
martin
d9d7c42e0c
Remove esp specific function from ddb when esp @ sbus is not included
...
in the kernel config. Makes compiling sbus-less kernels possible again.
2000-12-08 17:29:12 +00:00
deberg
7162dedb0d
whoops, added a few things that weren't ready.
2000-12-08 16:43:48 +00:00
briggs
50b56fe1a2
Do not define the same symbol with two different values. PR#11664.
2000-12-08 14:28:44 +00:00
haya
2b0374c5d9
WORKAROUND: CardBus bridge avoids turning off the power of channel in
...
shutdown hook when the bridge chip is TI113X. Because PowerBook 2400
hangs here.
2000-12-08 10:24:14 +00:00
nisimura
8df2fd7ff9
A forgotten commit that should be done at the time when zs_ioasic.c was
...
changed.
2000-12-08 09:42:44 +00:00
itojun
0db3a835e2
regen
2000-12-08 08:13:45 +00:00
itojun
313bdadaa7
add STSN internet access device (no driver yet)
2000-12-08 08:13:34 +00:00
deberg
cdb062bbb7
add md4c.c
2000-12-08 06:30:21 +00:00
deberg
f2ba589632
add md4.h
2000-12-08 06:29:58 +00:00
deberg
c2253656c9
in-kernel MD4 implementation, from libc
2000-12-08 06:29:23 +00:00
deberg
294666e528
get rid of md4.h
2000-12-08 06:22:53 +00:00
deberg
d50ea7340e
remove md4 code
2000-12-08 06:17:18 +00:00
itohy
c8ca4dd604
Add register prefix in asm() directives.
2000-12-08 03:00:05 +00:00
itohy
5d2d4230c8
Fix asm() directive.
2000-12-08 02:59:38 +00:00
itohy
c2245838be
1. Add register prefix.
...
2. movb #0x01,0x01800003@ -> movb #0x01,0x01800003 (found by tsutsui).
2000-12-08 02:59:12 +00:00
augustss
e5de940d42
Add a DIAGNOSTIC message.
2000-12-08 02:33:44 +00:00
augustss
a48cc8927a
Don't access (in core) disk label of a removable disk that is not there.
2000-12-08 02:30:51 +00:00
augustss
246260555f
Use correct type for todo variable.
...
Use more explicit panics messages.
2000-12-08 02:25:50 +00:00
augustss
330a5e12fa
Don't call ether_ifdetach since we're not an ether driver.
2000-12-08 02:24:07 +00:00
augustss
dfd78cfc78
Set the debug level to 0.
2000-12-08 01:53:44 +00:00
thorpej
8f1cd7c976
pmap_growkernel() has been implemented.
2000-12-07 22:18:55 +00:00
thorpej
cb717a97fa
Fix MP race condition introduced in the previous.
2000-12-07 22:11:40 +00:00
thorpej
55ecab37a0
Fix a silly MP race condition introduced in the previous.
2000-12-07 21:53:46 +00:00
bjh21
4c4e11c0f8
Merge zero page into the start of locore. This allows us to just map the
...
start of the kernel text segment in at address 0 to get zero-page properly
mapped. This should save us one page, but that may need a bit of extra
shuffling before we can easily tell UVM about it.
2000-12-07 21:48:58 +00:00
scw
3c748b810f
Missed this one in yesterday's bootloader commits:
...
Change BUGCRT from bugcrt.o to bugstart.o.
2000-12-07 21:37:51 +00:00
thorpej
21ca07bb5c
...and when freeing cache groups, clear `freeto' if that's the one
...
we're freeing.
2000-12-07 21:30:07 +00:00
bjh21
2d96994642
It seems that i-cubed used the "A" suffix on card types (along with "Lk" and
...
probably some others) to indicate the software mix on the card, while we
were using it to indicate Acorn-branded variants. Change over to using "AEH"
for the latter.
2000-12-07 21:24:33 +00:00
bjh21
bd3f8674a0
Regen
2000-12-07 21:23:54 +00:00
bjh21
65cdac60a6
It seems that i-cubed used the "A" suffix on card types (along with "Lk" and
...
probably some others) to indicate the software mix on the card, while we
were using it to indicate Acorn-branded variants. Change over to using "AEH"
for the latter, and while we're at it clean up the descrptions and add some
that were missing.
2000-12-07 21:23:32 +00:00
thorpej
ac083d0b74
Use a pool cache for PDPs. This results in a 20% improvement in a
...
loop of 10000 fork/exit operations on a 400MHz Celeron.
2000-12-07 20:19:05 +00:00
thorpej
3e9d93b241
When we invalidate a pool cache, make sure to clear `allocfrom' if
...
we empty out that cache group.
2000-12-07 20:16:56 +00:00
thorpej
1a658211bc
Add a /c modifier to "show pool" to display pool caches.
2000-12-07 19:30:31 +00:00
jdolecek
ce6253238c
convert to use genassym.cf & genassym.sh, as other ports do
2000-12-07 17:51:06 +00:00
jdolecek
101ce19db1
generate dependencies for assym.h for make depend, fix dependency
...
for maxusers (make assym.h depend on Makefile)
2000-12-07 17:32:33 +00:00
thorpej
0abaa8b70d
Nothing calls pmap_release() except for pmap_destroy(). Merge the two.
2000-12-07 17:12:21 +00:00
thorpej
b4b01fe8e6
Nothing calls pmap_pinit() except for pmap_create(), so merge the two.
2000-12-07 17:09:26 +00:00
jdolecek
6ae23b9300
update comment about the sense of placement of NDINIT()
2000-12-07 16:14:35 +00:00
abs
25808cb569
Wrap call to mpu_intr in NMPU - nowbuildswithout 'mpu at fms' in config
2000-12-07 14:12:30 +00:00
toddpw
6b0841e32b
Fix PR port-mac68k/11343
2000-12-07 10:57:17 +00:00
kleink
9cee15bd12
In the ELF toolchain, use __mcount instead of mcount.
2000-12-07 10:14:08 +00:00
scw
3f7cfb70ef
Add "options COMPAT_AOUT_M68K".
2000-12-07 08:40:06 +00:00
thorpej
5c7e0ada43
Use a pool cache for L1 PT pages. When we can allocate a cached,
...
constructed L1 PT page, this saves us from having to copy the kernel
L1 PTEs into the user L1 PT page at fork time (it's already set up).
A simple test shows a 1 second improvement of a rapid fork/exit operation
10000 times on a 533MHz 21164A (12s to 11s).
2000-12-07 05:59:07 +00:00
thorpej
7553470722
This is a first-cut implementation of support for caching of
...
constructed objects in the pool allocator, similar to caching
of constructed objects in the Solaris SLAB allocator.
This implementation is a separate API (pool_cache_*()) layered
on top of pools to keep the caching complexity out of the way
of pools that won't benefit from it.
While we're here, allow pool items to be as large as the pool
page size.
2000-12-07 05:45:57 +00:00
deberg
3694227079
initial stab at SMB stack, needed for smbfs. originally for freebsd by
...
boris popov, first ported to 1.4 branch by Christian Limpach
<chris@nice.ch>.
2000-12-07 03:48:09 +00:00
deberg
f825ec3136
initial stab at smbfs (CIFS). originally for freebsd by boris popov,
...
first ported to 1.4 branch by Christian Limpach <chris@nice.ch>.
2000-12-07 03:33:46 +00:00
matt
f7b27589e3
Enable VS4000/90 SCSI controller in INSTALL kernel.
2000-12-07 01:24:25 +00:00
eeh
873101cd21
Fix a bug in rwindow_save() that always wrote out window 0 in 64-bit
...
code and caused problems with ksh.
2000-12-07 01:05:55 +00:00
eeh
297dba1163
Add a call to db_esp() and make `mach phys /u' read user addresses.
2000-12-07 01:03:17 +00:00
augustss
28ca8986f0
Regen.
2000-12-07 01:02:42 +00:00
augustss
2532d95d53
Add an Atmel hub and a Logitech mouse.
2000-12-07 01:02:12 +00:00
eeh
660d1fc6c7
Fixup calculating where fpstate should be saved in the signal trampoline
...
code so it doesn't overwrite something important like the registers.
2000-12-07 00:59:42 +00:00
eeh
a5a8c50c48
Initialize pcb_lastcall so db_dump_pcb() will not bomb on non-DEBUG kernels.
2000-12-07 00:53:29 +00:00
matt
a8ea1009e7
Add ThinkPad 820 audio driver (attaches but does not yet work).
2000-12-06 23:42:34 +00:00
jdolecek
80a6068f99
add I/O Data USB-ET/T (which uses KL5KUSB101B) to the list
...
Patch sent in kern/11635 by ORI Manabu
2000-12-06 21:44:08 +00:00
jdolecek
08ab4a9ad7
regen
2000-12-06 21:39:28 +00:00
jdolecek
c3dbd34e68
add I/O Data USB-ET/T id, sent in kern/11635 by ORI Manabu
2000-12-06 21:38:03 +00:00
is
7223efb0b9
Make this new-GAS ready. Code by Steve Woodford.
2000-12-06 21:31:05 +00:00
jdolecek
6f1bed130e
regen
2000-12-06 21:26:07 +00:00
jdolecek
79e6f66114
make LKM safe
2000-12-06 21:25:39 +00:00
jdolecek
3a7eb81dbe
make LKM safe (need to use if/endif, #if/#endif is filtered out by makesyscalls.sh)
2000-12-06 21:24:47 +00:00
jdolecek
eb248dea94
regen
2000-12-06 21:02:30 +00:00
jdolecek
6ddca63eb7
make LKM safe
2000-12-06 21:02:00 +00:00
matt
3f127261f3
Un __P'ed.
2000-12-06 18:57:37 +00:00
thorpej
581799e1f8
ANSI'ify.
2000-12-06 18:20:52 +00:00
thorpej
131ac36401
pool_handle_t -> struct pool *
2000-12-06 18:05:57 +00:00
mjacob
3741d38c44
Correct omission by the previous committer.
2000-12-06 06:33:56 +00:00
chs
a8609aaac8
in uvn_findpage(), only increment the counter of vnode pages
...
if we succeed in allocating a page.
from Lars Heidieker <lars@heidieker.de> in PR 11636.
2000-12-06 03:37:30 +00:00
chs
4fa4734937
go back to the first version of the pte/pde dance now that kvtopte()
...
has been changed to consisently return a pointer into the recursive
page table mapping.
2000-12-06 03:20:35 +00:00
chs
2a95fc3517
in kvtopte(), return the mapping of the pde in the recursive page-table
...
mapping space rather than the mapping in the kernel address space.
2000-12-06 03:13:47 +00:00
simonb
7ca0abc4db
Use 'make print-objdir' to get obj directory instead of guessing.
2000-12-06 02:35:19 +00:00
mrg
703ec39a02
fix warnings in DEBUG & DIAGNSTIC code.
2000-12-06 01:47:49 +00:00
scw
ac80517816
Add some #defines for offsets into the bugargs structure, and make the
...
register names usable within assembly code.
2000-12-05 21:57:13 +00:00
scw
86c7dac956
Replace the startup C code with assembler, which avoids having to
...
explicitly tell the compiler what registers the Bug args come in on.
2000-12-05 21:54:33 +00:00
scw
7da5cde117
bootxx doesn't need the code relocating stub linked in.
2000-12-05 21:51:38 +00:00
scottr
7fdcf44432
Don't reference a zs-specific variable unless NZSC is not zero.
...
Fixes PR 11566.
2000-12-05 21:38:38 +00:00
scw
634dc65636
Backout the last change; I'll deal with it another way.
2000-12-05 19:54:09 +00:00
scw
1f9f7cbe53
UPAGES -> 2 as recommended by Chuck Silvers.
2000-12-05 18:46:10 +00:00
scw
2ec144518f
Add loadfile_machdep.h to list of installed machine headers.
2000-12-05 18:42:18 +00:00
drochner
0d60fd2773
regen
2000-12-05 18:11:02 +00:00
drochner
ae62042f01
add some chips I met in the last weeks
2000-12-05 18:10:19 +00:00
drochner
8f6e088214
add a kernel configuration option to set the string passed in bp_file
...
in diskless BOOTP/DHCP configuration - good for booting different
userland versions depending on the kernel version
2000-12-05 17:59:43 +00:00
drochner
2d8bb6f643
add some missing definitions for hungarian keymap support
...
(It won't help much since there is no way to get characters not in
iso-1 or the function key set through the vt100/sun/dumb terminal
emulations:-(
2000-12-05 17:53:46 +00:00
sommerfeld
5348dfb6ac
Have recursive make invocations depend on the .MAKE pseudo-target so
...
make knows to handle them specially.
2000-12-05 17:01:19 +00:00
scw
37f5782c0a
Update pm_stats.resident_count when entering pages in the kernel pmap.
2000-12-05 16:07:39 +00:00
eeh
433c92930e
Fix uninitialized pointer bug.
2000-12-05 15:25:57 +00:00
augustss
f680fa762c
Make sure to increment reference count while the (lengthy) opening
...
operation is happening so we don't lose on disconnect.
2000-12-05 14:01:33 +00:00
tsutsui
e8bfefe60c
- Since rtk_rxeof() was rewritten, we don't have to reserve a few bytes
...
before the Rx buffer.
- Reduce delay on EEPROM access.
- Some more cosmetics.
2000-12-05 11:11:49 +00:00
jdolecek
94e024dc14
constify
2000-12-05 10:45:09 +00:00
jdolecek
dae7d6d77c
actually, pte is normally in user address space, but can also be in kernel
...
address space for LARGEPAGES kernel; to handle both, do the same dance
as for loc
2000-12-05 10:26:12 +00:00
mycroft
e4ae5a1406
In mem_regions(), deal with the case of a run of consecutive holes.
...
Now the cube works with the memory in any order.
2000-12-05 05:16:00 +00:00
briggs
e7a6bcd6eb
Add the DrHw Apple 24AC "Boogie" video card.
...
Thanks to Lucas Lay <segfault@mac.com> for digging it up.
2000-12-05 05:05:52 +00:00
briggs
3503f0999b
Add defines for:
...
Apple WGS SCSI / cache card
FWB JackHammer SCSI card
2000-12-05 05:02:36 +00:00
augustss
d801d9ec2b
Regen.
2000-12-05 03:12:47 +00:00
augustss
d604cf563b
Add another Epson printer.
2000-12-05 03:12:11 +00:00
oster
7a8eea351b
Fix a couple of warnings about uninitialized variables. Thanks go to
...
Frank van der Linden for pointing these out.
2000-12-05 01:35:56 +00:00
bjh21
2caf09a602
regen
2000-12-05 00:44:21 +00:00
bjh21
1bdf317d96
Add the 16bit podules I got from abs (ColourCard, Centronics, sampler, MIDI).
2000-12-05 00:43:55 +00:00
scw
bfcd71c79c
Clean up the build process to ensure libsa/libbug are built
...
before linking the bootloaders.
2000-12-04 21:25:57 +00:00
scw
349445391c
Make this work with the ELF tape bootloader.
2000-12-04 21:24:34 +00:00
fvdl
3de7a35dc2
More cast / format cleanup to make this compile cleanly in 32bit mode.
2000-12-04 20:40:07 +00:00
fvdl
b5f5b707ea
Make gcc happy about casts.
2000-12-04 20:33:12 +00:00
scw
5a17a935bc
Declare `start' in addition to `_start'.
2000-12-04 20:31:16 +00:00
fvdl
95ed1f82c4
Make gcc like a cast.
2000-12-04 20:29:34 +00:00
fvdl
56fd0b02d5
Avoid format warnings.
2000-12-04 20:25:40 +00:00
fvdl
2ccdc61f62
Avoid (safe) cast warnings.
2000-12-04 20:19:49 +00:00
fvdl
245940b894
Clean up warnings in 32bit compile (bus_space_handle_t is 64bit wide
...
but will only contain 32bit values; casting via u_long is safe)
2000-12-04 20:17:10 +00:00
fvdl
2c81c82473
Comment out caxsa, it's not used. Avoids 32 bit compile errors.
2000-12-04 20:14:05 +00:00
fvdl
e58fff48bf
Avoid compile warning on sparc64 32bit. sc_buffer doesn't seem to be
...
used at all, this line can probably be removed.
2000-12-04 20:12:55 +00:00
fvdl
42efb3639a
Avoid a warning in bus_dmamap_load_uio by inserting a 'return 0' for
...
good measure in this unimplemented function.
2000-12-04 20:12:10 +00:00
scw
269a30a733
s/a6/fp/ again...
2000-12-04 18:48:18 +00:00
scw
e267f2466b
Add support for ELF boot blocks.
2000-12-04 18:44:51 +00:00
scw
b29bcb645b
The LOAD_TEXTA flag is required when loading a.out kernels.
...
Also add some non-standalone versions for the benefit of installboot(8).
2000-12-04 18:41:51 +00:00
scw
c28723715c
Prefix the register names with `%'.
2000-12-04 18:40:05 +00:00
scw
d0da91f9e2
Use -fomit-frame-pointer when compiling bugcrt.c; a6 needs to be reserved
...
for Bug arguments.
2000-12-04 18:35:16 +00:00
eeh
c5080ee564
Fix uninitialized variable bug and code cleanup.
2000-12-04 17:26:41 +00:00
tsubai
1b4a9cb335
Move INTSTK and SPILLSTK definitions to locore.[Ss] to allow allocation of
...
them in early startup.
2000-12-04 17:05:50 +00:00
fvdl
2fb588e51d
Warning police. Mostly useless format warnings. Switch Makefile for
...
kernel compiles to the warning flags that other ports also use.
2000-12-04 16:01:18 +00:00
ad
7433fb33e8
In wsdisplay_switchtoconsole(), ensure that the switch happens
...
synchronously. Suggested by drochner.
2000-12-04 13:22:17 +00:00
fvdl
a0aebb0c36
Initialize 'error' to 0, so that nfs_putpages doesn't return garbage
...
when pages already have been committed and nothing needs to be done.
2000-12-04 12:12:20 +00:00
itojun
fe5bd7125e
make sure we don't touch uninitialized pointer. from: fvdl
2000-12-04 12:11:49 +00:00
fvdl
ff72f95eaa
Initialize 'frcn' to 0 in extendfile to be safe.
2000-12-04 11:54:39 +00:00
fvdl
b6d9ce390e
Comment out 2 cases of unitialized variable use (only used when
...
debugging is switched on, though).
2000-12-04 11:35:46 +00:00
itojun
7fee705236
more on previous (udp4 multicast fix)
2000-12-04 11:24:20 +00:00
itojun
c2ca545d60
fix multicast inbound packet processing.
...
NetBSD PR 11629 From: salvet@ics.muni.cz
2000-12-04 11:23:04 +00:00
fvdl
d26269e0a6
'error' was not initialized in the _ioctl function, potentially returning
...
!= 0 values in the non-error case.
2000-12-04 11:18:49 +00:00
fvdl
0888965bb7
Remove uninitialized variable usage (it was redundant anyway).
2000-12-04 11:05:32 +00:00
mrg
247f2c42d7
Remove __BROKEN_CONFIG_UNIT_USAGE. (sync with sparc)
2000-12-04 09:56:56 +00:00
chs
4912461b20
in ffs_sync(), don't skip vnodes which have (potentially dirty) pages.
2000-12-04 09:37:06 +00:00
scottr
fc6d3c5f48
Unmap the valkyrie register space when we're finished with it in
...
the match function. It's not like we can save that state for later,
and we don't use it anyway.
2000-12-04 06:25:19 +00:00
scottr
b21b6272fa
Fix PR 11000: The esp driver needs two longwords in DAFB register space to
...
implement pseudo-DMA transfers with the SCSI controller. This caused our
match to fail when we couldn't map the entire DAFB register/control space
for our own use. Instead, we map only (about) what we will need in two
separate regions.
As a consequence we no longer do Turbo SCSI configuration here; indeed, it
may have caused us trouble later on if we actually changed the values
stored in those registers in the esp driver.
2000-12-04 06:23:36 +00:00
augustss
0a739c7166
A portability define.
2000-12-04 03:38:56 +00:00
augustss
f4d0a8c54a
Regen.
2000-12-04 03:37:07 +00:00
augustss
e2925e0555
Add YAP Phone.
2000-12-04 03:36:42 +00:00
mrg
ce0e1dea34
sync relocs with sparc64.
2000-12-04 01:49:34 +00:00
mrg
ac9988aef0
remove duplicate function prototypes.
2000-12-04 01:39:04 +00:00
mrg
3806c27f34
sync a comment with sparc64/include/types.h
2000-12-04 01:33:36 +00:00
eeh
2a50931a1c
Turn on TAG QUEUE support and add some debug stuff.
2000-12-03 23:31:13 +00:00
eeh
03e0f9950a
Fix bug in non-dma select code i added.
2000-12-03 23:25:24 +00:00
jlam
9cfd45593f
Set range of memory protected by read/write bus space barriers to the
...
correct size, instead of extending past the mapped region.
2000-12-03 23:15:23 +00:00
simonb
a8a26dd42a
Remove __BROKEN_CONFIG_UNIT_USAGE, not needed on pmax.
2000-12-03 23:00:42 +00:00
fvdl
7c2b9d8515
In addition to setting the softdep flag in the superblock when
...
mounting with softdeps, also explicitly clear it when we don't,
so that a leftover setting after a crash will be cleared.
2000-12-03 19:52:06 +00:00
ad
e931ce9485
Oops.
2000-12-03 15:51:53 +00:00
ad
433cc4cf9e
Nit.
2000-12-03 15:51:36 +00:00
scw
9fc2cc70dc
Include the a.out m68k compatibility module.
2000-12-03 15:40:06 +00:00
scw
2e68384b0c
Back out the previous change after discussion with thorpej and cgd.
2000-12-03 15:38:30 +00:00