wiz
7e681f7063
interrupt with two rs.
2003-01-06 13:04:54 +00:00
thorpej
9c1214153c
Use aprint_normal() for cfprint routines.
2003-01-01 02:20:47 +00:00
thorpej
703e7687a9
Use aprint_normal() in cfprint routines.
2003-01-01 00:16:46 +00:00
ad
d4ed18b479
Block tty interrupts in getc()/putc().
2002-12-29 20:12:19 +00:00
ad
17fa1f0778
- X pads bitmap rows to a word boundary.
...
- Handle WSDISPLAYIO_GCURMAX.
2002-12-29 20:01:17 +00:00
manu
4a06119a9d
Pass the system call table to trace_enter() and ktrsys() so that it is
...
possible to use alternate system call tables. This is usefull for
displaying correctly the arguments in Mach binaries traces.
If NULL is given, then the regular systam call table for the process is used.
2002-12-21 16:23:56 +00:00
thorpej
e8cc3884de
Rename __LDPGSZ to AOUT_LDPGSZ, to accurately reflect what it is.
2002-12-10 17:14:02 +00:00
thorpej
78ea2dd367
Use __LDPGSZ (which must be == USRTEXT) as the text address for a.out
...
executables, and eliminate the USRTEXT constant, which was only used
by the a.out exec code.
2002-12-10 05:14:24 +00:00
ragge
0b23d06491
Revert Jason's changes to the boot startup code:
...
- All regs must be saved before any register is altered.
- movc{3,5} alters r0-r5, so clearing bss would clear the text instead.
This needs more thinking/testing to get it work correct; there are
different ways different CPUs call "boot".
2002-12-02 20:23:32 +00:00
matt
56effcf269
Add multiple inclusion protection.
2002-12-01 21:21:44 +00:00
matt
4913834e76
Fix inconsistencies in various definitions of avail_*, virtual_*, and
...
proc0paddr.
2002-12-01 21:20:31 +00:00
lukem
0635de35a3
Remove KDIR=, since SYS_INCLUDE=symlinks and KDIR are not supported any more.
2002-11-26 23:30:07 +00:00
wiz
e78e668887
Fix typo (responsiness -> responsiveness).
2002-11-22 12:20:58 +00:00
uebayasi
c041971257
Fix compilation errors introduced by recent trace_enter()/ktrsyscall() changes.
...
Provided by FUKAUMI Naoki <naoki at fukaumi dot org> in kern/19070.
2002-11-16 07:40:38 +00:00
ragge
f1b859f028
Fix vax_mem_read_region_{2,4} bug, by der Mouse (mouse@Rodents.Montreal.QC.CA).
2002-11-15 14:52:56 +00:00
ragge
adca0d86b2
Fix for a problem where an user can crash the machine via sigreturn(),
...
noticed by and fix from Miod Vallat <miod@openbsd.org>.
Miod's OpenBSD log message:
> Don't uvm_useracc the user sigcontext in sys_sigreturn and then access
> the user addresses directly from the kernel. copyin is faster and can
> correctly deal properly with mappings that uvm_useracc thinks are
> correct but will fault anyway (to figure out how to generate such
> mappings is left as en excercise for the reader).
>
> Blatantly stolen from art@'s similar fix to sparc.
2002-11-14 20:30:40 +00:00
thorpej
aca074b95d
Add -mno-asm-pic to CFLAGS and AFLAGS.
2002-11-05 14:35:30 +00:00
thorpej
e0f2bd703f
Only skip the copy if we are already relocated; always clear
...
the BSS.
2002-11-05 06:16:21 +00:00
thorpej
80369ce3c8
Set the entry point to 0 for the ELF case, too.
2002-11-05 06:10:35 +00:00
mrg
603098b9b5
implement separate read/write disk statistics:
...
- disk_unbusy() gets a new parameter to tell the IO direction.
- struct disk_sysctl gets 4 new members for read/write bytes/transfers.
when processing hw.diskstats, add the read&write bytes/transfers for
the old combined stats to attempt to keep backwards compatibility.
unfortunately, due to multiple bugs, this will cause new kernels and old
vmstat/iostat/systat programs to fail. however, the next time this is
change it will not fail again.
this is just the kernel portion.
2002-11-01 11:31:50 +00:00
jdolecek
c82ab2eb79
now that mem_no is emitted by config(8), there is no reason to keep
...
copy of more or less identical iskmemdev() for every arch; move the function
to spec_vnop.c, and g/c machine-dependant copies
2002-10-26 13:50:17 +00:00
jdolecek
e0cc03a09b
merge kqueue branch into -current
...
kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals
kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)
based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
2002-10-23 09:10:23 +00:00
junyoung
e4b7588c28
Add NEW_BUFQ_STRATEGY (disabled by default).
2002-10-18 15:11:08 +00:00
elric
5ab71e20b0
Added commented out cgd(4)s to GENERIC configs.
2002-10-14 18:39:22 +00:00
chs
b79663cf62
eliminate PT_ENTRY_NULL in favor of plain old NULL.
2002-10-14 05:11:21 +00:00
thorpej
f157f8fff5
Add missing register prefixes.
2002-10-10 17:12:23 +00:00
jdolecek
de8f0324ad
use (volatile int) cast, rather than just (volatile); the latter gives a warning
2002-10-10 11:45:14 +00:00
provos
2f7a0aaac8
add SYSTRACE; approved perry.
2002-10-06 02:11:54 +00:00
elric
d19d268a95
assign majors for raw and cooked cgd's.
2002-10-04 18:28:24 +00:00
matt
2f1192b327
CFATTACH mem_sbi, not sbi
2002-10-04 17:09:51 +00:00
thorpej
4bf871a755
Add trailing ; to CFATTACH_DECL.
2002-10-02 16:02:08 +00:00
thorpej
354bc052d9
Use the register prefix in the ELF case in _PROF_PROLOGUE.
2002-10-02 00:23:29 +00:00
abs
ef14d0e624
Enable PPP_* options for ppp
2002-10-01 09:52:10 +00:00
abs
cd05e3d894
Enable ppp
2002-10-01 09:37:11 +00:00
thorpej
fa165ee3fd
Use CFATTACH_DECL().
2002-10-01 05:18:59 +00:00
wiz
b1c7ac0e6d
"definitions" has lots of 'i's, but that's not reason to leave one out.
2002-09-29 23:23:56 +00:00
thorpej
50d060cc52
Record stack growth, done inline to avoid another function call on
...
every user page fault.
XXX Should make uvm_grow() an inline.
2002-09-29 16:49:45 +00:00
ragge
780401f935
Add common routines to talk with the CPMBX, from Hugh Graham (hugh@openbsd.org)
...
This makes halt/reboot work correctly on a bunch of machines.
2002-09-28 09:53:07 +00:00
thorpej
f818766afe
Declare all cfattach structures const.
2002-09-27 20:31:45 +00:00
provos
0f09ed48a5
remove trailing \n in panic(). approved perry.
2002-09-27 15:35:29 +00:00
thorpej
6c88de3b53
Introduce a new routine, config_match(), which invokes the
...
cfattach->ca_match function in behalf of the caller. Use it
rather than invoking cfattach->ca_match directly.
2002-09-27 03:17:40 +00:00
thorpej
d1ad2ac4f2
Rather than referencing the cfdriver directly in the cfdata entries,
...
instead use a string naming the driver. The cfdriver is then looked
up in a list which is built at run-time.
2002-09-27 02:24:06 +00:00
thorpej
71404bb533
Don't include <sys/map.h>.
2002-09-25 22:21:01 +00:00
thorpej
d3f6afbf48
Don't use rmaps; use extent maps instead.
2002-09-25 21:25:39 +00:00
martti
81e8d78cd4
Add one space between "#option" and "<tab>IPFILTER_DEFAULT_BLOCK"
2002-09-25 11:49:48 +00:00
ad
176dcfaf3d
On pmax, drop into DDB on break.
2002-09-24 06:19:09 +00:00
simonb
63096043b3
Use "#define\t" instead of "#define ".
2002-09-22 08:30:56 +00:00
chs
c081614ea2
it really helps to get the stub right before cutting + pasting it 27 times.
...
alas, I did not. doh.
2002-09-22 07:53:39 +00:00
chs
55e1f79335
add pmap_remove_all() hook (empty on most platforms so far).
2002-09-22 07:17:08 +00:00
gmcgarry
7fe2ef36b9
Update for cpu_switch() prototype changes. No functional change.
2002-09-22 05:39:24 +00:00