Commit Graph

38654 Commits

Author SHA1 Message Date
he
78e8bae64a Since we are using the spl() functions here, also include <machine/intr.h>. 2004-05-19 22:50:09 +00:00
he
c9a13e2ac5 Include <machine/kbdmap.h> only outside the kernel, as that file
isn't present in that location in the source tree.
2004-05-19 08:44:20 +00:00
gavan
34762c053a Claim maximum available memory during boot32 startup. This removes
the need to explicitly set the WIMP slot size before running the bootloader.

Conditional on BOOT_MAXIMISE_MEMORY, so as not to interfere with potential
future uses of libriscos.

Also remove references to increasing WIMP slot size, as this is now
meaningless.
2004-05-18 23:29:30 +00:00
he
09b074c177 Add some mulitple include protection.
Include kbdmap.h from iteioctl.h so that kdump compiles, otherwise
the size of struct kbdmap as used in various ioctl defines is unknown.
2004-05-18 20:08:51 +00:00
chs
6e6e8ad7fe convert pmap_deactivate() from a macro to an inline function
so that the kernel builds again.
2004-05-18 15:33:11 +00:00
thorpej
896bc924e1 Supply rr_1 and wr_1. 2004-05-17 22:00:47 +00:00
thorpej
984caa9835 Fix missing parenthesis in DIAGNOSTIC message. 2004-05-17 20:47:17 +00:00
mhitch
1f358dcd03 Add missing KERNEL_PROC_UNLOCK() in upcallret(). This should fix PR#22219
and maybe also PR#23731, which appears to be a duplicate of 22219.
2004-05-17 17:43:08 +00:00
joda
c80da893ae the EST and TM2 flags in the second cpuid register were swapped
(according AP-485); while here add a few more flags
2004-05-17 15:38:17 +00:00
chs
df674b2ca1 for instruction TLB miss traps, process the fault with VM_PROT_EXECUTE
instead of VM_PROT_READ (to support non-executable mappings).
2004-05-16 17:07:29 +00:00
chs
f6d0516ba0 in pmap_protect(), don't just return if the desired permissions include write.
we could be removing execute permission.
2004-05-16 17:07:07 +00:00
wiz
1249084227 "panicking" needs a k. 2004-05-16 15:44:10 +00:00
yamt
8956861179 curcpu: fix a typo. (cpuinfo -> cpu_info)
no functional difference.
2004-05-16 12:32:53 +00:00
he
b6e471013e Expand the ramdisk image size from 3m to 3148k so that the contents
fits again.
2004-05-14 17:00:21 +00:00
cl
c489489b14 - increase number of receive buffers
- handle case where last receive buffer is used
2004-05-14 14:23:35 +00:00
cl
4dd8e2b2cf use relative links: using $S fails if $S is relative to another dir
than the one where it's used
2004-05-14 14:07:46 +00:00
he
bf3ab88a22 Use lower optimization level (-O0) for miscfs/genfs/genfs_vnops.c
in order to avoid an internal compiler error with gcc 3.3.3 nb2.
2004-05-14 08:58:32 +00:00
yamt
66b2ec5ff7 fix a compile error in the case DDB && !GPROF.
the problem pointed by Jaka Jejcic on current-users@ and
by several others privately.
2004-05-13 20:30:39 +00:00
he
d05f876265 Avoid lint failure in setjmp.h; lint doesn't handle __attribute__
modified declarations.
2004-05-13 19:54:25 +00:00
pooka
40559f7fcc 10+ entries in the kernel sources can't be wrong ... no, wait, they can:
it really is "panicking" instead of "panicing", so revert rev 1.211

thanks to Klaus for holding the spelling bee
2004-05-13 16:34:22 +00:00
pooka
e2323790a2 typo in comment: panicking -> panicing 2004-05-13 15:20:18 +00:00
yamt
d94ff45112 call mcount in Xspllower. 2004-05-13 12:27:38 +00:00
yamt
ed15986b95 pmap_load: assert that being able to take ipis. 2004-05-13 12:24:05 +00:00
yamt
a87499d4ea witch_return: call Xspllower only when there're pending interrupts. 2004-05-13 12:15:01 +00:00
yamt
6b9fd4bdc5 npxsave_lwp: issue pause in a busy loop. 2004-05-13 12:13:20 +00:00
pk
cf098aff50 No need to pull in <bsd_openprom.h> explicitly. 2004-05-13 09:36:44 +00:00
yamt
3b6ad814b2 x86_ipi: call x86_pause() in busy loops. 2004-05-12 20:05:24 +00:00
yamt
d55112e112 add a comment to note that INTRFASTEXIT and trap() should be in sync. 2004-05-12 20:03:06 +00:00
cl
885c0b6fc9 ``build.sh -m xen-i386 release'' now builds a release for NetBSD/xen
for i386.  The resulting release consists of:
- NetBSD/xen for i386 kernel, loader and docuemntation
- NetBSD/i386 userland sets
2004-05-12 16:56:41 +00:00
pk
d5cc51b7d3 Remove obsolete `timerok' code, which dates back to when the timer/counter
interrupt handlers were pre-wired.
2004-05-12 15:44:28 +00:00
hannken
cdfa741c5c Make compat_16_sys___sigreturn14() work again.
The 4XX family has no PSL_RI bit in MSR.
The 403 (explora) runs with machine check enabled.
2004-05-12 14:38:17 +00:00
minoura
72c4550293 Populate kbdmap-related definitions to the userland.
Also g/c unused ioctls.
Pointed out by he.
2004-05-12 14:25:08 +00:00
yamt
5dac5f5d40 add a comment on mp_attrs. 2004-05-12 09:11:03 +00:00
wiz
0ef650eff0 Remove UCB ad clause from maximum entropy's license.
Ok'd by maximum entropy and board.
2004-05-12 00:38:11 +00:00
wiz
b83c30c098 Remove UCB ad clause from tsubai's license.
Ok'd by tsubai and board.
2004-05-12 00:34:25 +00:00
wiz
8785cb8fb1 Add commented out entries for ioat* and nsclpcsio*;
from Sergey Svishchev in private mail.
2004-05-11 23:07:35 +00:00
thorpej
07a9ee32ba Don't need cz or cy devices in INSTALL kernel, and they put space
pressure on install media.
2004-05-11 17:36:43 +00:00
yamt
ca5e02a5f6 _bus_dmamap_load_mbuf: check bounce_thresh in the case when we have paddr hint. 2004-05-11 11:31:34 +00:00
he
20bb5ba64c Provide multiple include protection. Fixes build problem in kdump. 2004-05-11 10:13:35 +00:00
drochner
19f047f8d0 SIGTRAMP_VALID() should not pollute the user namespace 2004-05-10 21:51:49 +00:00
cl
ba728d7531 Avoid overrun problems with the indexes of the slots in the
communication rings.
2004-05-10 01:39:39 +00:00
kleink
08e9a66ef3 s/wchat/wchar/ in a comment. 2004-05-09 19:50:30 +00:00
kleink
e984bcd6d6 G/c an orphaned #endif. 2004-05-09 19:48:38 +00:00
thorpej
d07c23b31a Use the BFD ELF headers rather than simply including <elf.h>. This
tool compiles on non-NetBSD now.

Note: We're not actually using BFD, just two header files that are
more conveniently laid out than our native header.  There is no GPL
infection from using the BFD headers.
2004-05-09 01:31:27 +00:00
kleink
7b3b647647 Factor out W{CHAR,INT}_{MAX,MIN} into their own header file. 2004-05-08 21:51:47 +00:00
dsl
17bfe85dd3 Make mbr_bootsel boot active partition if/when no menu items are output.
Stops users sitting in front of a system that is waiting for a keypress.
Just don't ask how I added more functionality AND got an extra 7 free bytes!
2004-05-08 21:18:22 +00:00
jmc
10f93b6733 Add proper include guards.. 2004-05-08 21:04:06 +00:00
minoura
452749792b #ifndef _XXX_H_ #define _XXX_H_ .... #endif 2004-05-08 08:40:08 +00:00
minoura
6915327794 An unexported header file was #included from an exported header file.
Introduce <machine/opmreg.h> and move some definitions useful to
userland progs.
2004-05-08 08:38:36 +00:00
cl
5359887820 Reboot machine when hypervisor signals "die" event. 2004-05-07 23:05:30 +00:00