Commit Graph

54199 Commits

Author SHA1 Message Date
wiz
358ed3f6d4 Fix a typo, a KNF-nit, and simplify a printf format string. 2002-03-18 13:38:52 +00:00
christos
df95562a0f goodbye PS_STRINGS 2002-03-18 13:27:02 +00:00
manu
2debbde786 Move swapctl(SWAP_STATS) implementation to a separate function called
uvm_swap_stats(). This is done in order to allow COMPAT_* swapctl()
emulation to use it directly without going through sys_swapctl().

The problem with using sys_swapctl() there is that it involves
copying the swapent array to the stackgap, and this array's size
is not known at build time. Hence it would not be possible to
 ensure it would fit in the stackgap in any case.
2002-03-18 11:43:01 +00:00
simonb
9fe34c6901 Fix comments after endian selection includes(!). 2002-03-18 11:11:30 +00:00
simonb
00e905ce64 Use <mips/isa_machdep.h> and <mips/pci_machdep.h>. 2002-03-18 10:10:14 +00:00
oki
e60e94456a emul_netbsd is no longer used in exec_pecoff. 2002-03-18 08:16:08 +00:00
oki
075769476a Use /emul/pecoff as prefix to run PE/COFF binaries. 2002-03-18 07:11:06 +00:00
dbj
f0658bdada make compile with _STANDALONE 2002-03-18 05:10:58 +00:00
briggs
a2e0bd5a5d Use p->p_psstr instead of PS_STRINGS.
Tested on boot to multi-user on sandpoint.
2002-03-18 04:50:32 +00:00
simonb
91785659ba Generic PCI/ISA machdep headers for mips; copied from the algor port. 2002-03-18 03:08:09 +00:00
simonb
99f891c74d Use mips/mips/bus_dma.c. 2002-03-18 02:33:19 +00:00
simonb
7e2ca5e1a8 Copy the algor bus_dma.c for use as a generic bus_dma implementation for
other MIPS ports.
2002-03-18 02:32:54 +00:00
simonb
9690c2293e Convert to use <mips/bus_*.h>. 2002-03-18 01:21:11 +00:00
simonb
e64d2d9708 Oops, balance #ifdef/#endif _KERNEL. 2002-03-18 01:01:54 +00:00
enami
70a09aaf5d Make this file compiles again when AURATECONV > 0. 2002-03-18 00:42:36 +00:00
simonb
d9aac5ef07 Add generic MIPS bus_space and bus_dma headers; these are a straight
split of the algor <machine/bus.h>.
2002-03-18 00:32:21 +00:00
chs
79c365e60e don't do any flush-behind for async mounts.
this matches the traditional behaviour.
2002-03-17 23:58:09 +00:00
nonaka
85b957a2b0 Already MBR_PTYPE_PREP is defined in sys/disklabel_mbr.h. 2002-03-17 23:45:57 +00:00
christos
18c7399ada oops, forgot to commit the caller of exithook... 2002-03-17 23:41:30 +00:00
christos
c36bd4f4e1 more typo. 2002-03-17 23:36:08 +00:00
christos
6b17a26b35 fix typo. 2002-03-17 23:29:55 +00:00
christos
c29f982413 move aurateconv.h into audiovar.h to avoid name clash with the config(8)
aurateconv.h counter.
2002-03-17 23:22:05 +00:00
christos
14eaffb49d use the exithook mechanism to remove the exiting process from the list
of processes to be signalled in a soft mount.
2002-03-17 22:22:39 +00:00
christos
22839acdb9 use the exithook mechanism to clean up semaphores. 2002-03-17 22:21:58 +00:00
christos
f7d98e2451 - merge all the hook insertion and deletion code so that we don't create
a fourth copy.
- add exithook to be executed when a process exits.
2002-03-17 22:19:20 +00:00
simonb
a85e214bda Make sure that private DMA flags don't overlap with standard DMA flags;
start these at 0x10000 to leave room for an increase in the latter.
2002-03-17 21:45:06 +00:00
manu
c51e325123 Replaced PS_STRINGS by p->p_psstr 2002-03-17 20:54:09 +00:00
martin
e2c42aeaa8 Remove all knowledge about specific application (layer 4) drivers from
the generic layer 4 and layer 3 management system.

This should make the layer 4 driver API LKM clean - finaly.

Make the Fritz!PCI driver work again after resent changes (oops!),
noted by Frank Kardel (PR 15948) and Matthias Scheeler.
2002-03-17 20:54:04 +00:00
atatat
26500cdfcd Bump kernel version -- ERESTART has been moved and EPASSTHROUGH has
been introduced.
2002-03-17 19:43:07 +00:00
atatat
31144d9976 Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command".  ERESTART is -1, which can lead to
confusion.  ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4.  No ioctl code should now return -1 anywhere.  The
ioctl() system call is now properly restartable.
2002-03-17 19:40:26 +00:00
christos
f2d8f1aa62 goodbye PS_STRINGS. 2002-03-17 19:16:20 +00:00
augustss
75419dae29 Add Cyrillic keysyms. From OpenBSD. 2002-03-17 18:15:00 +00:00
augustss
45e00a035a Don't forget the symbolc names for the keymaps. 2002-03-17 18:12:15 +00:00
augustss
b32942bb23 Whitespace fixes. 2002-03-17 18:02:52 +00:00
augustss
3fba39846b Add Swiss keyboard mappings. From OpenBSD. 2002-03-17 18:01:07 +00:00
augustss
ada83730a8 Add more language map definitions. 2002-03-17 18:00:17 +00:00
uch
93da9db963 cosmetic changes, fix comments. 2002-03-17 17:55:22 +00:00
thorpej
53df727d27 Add a new ptrace request, PT_IO, as proposed by Artur Grabowski
on the <bsd-api-discuss@wasabisystems.com> mailing list.  PT_IO
is a more general inferior I/D space I/O mechanism.  FreeBSD and
OpenBSD have also added PT_IO.

From lha@stacken.kth.se, kern/15945.
2002-03-17 17:02:45 +00:00
minoura
c42dd282b7 LFSv2 support.
Note that secondary boot does not support LFSv2.
Code written by itohy.
2002-03-17 16:14:30 +00:00
kent
fe274639f9 aurateconv.c:
- Simplify the source
  - Accept any convresions such that sample_rate < hw_sample_rate

uaudio.c:
  - Request the above conversion.  This is needed for 4ch-only devices to
    play monaural/stereo data.
2002-03-17 16:14:21 +00:00
minoura
e6ff25795b Make this compile again. 2002-03-17 15:43:10 +00:00
uch
1080799576 change to per-process AST. 2002-03-17 14:06:38 +00:00
uch
57918e656a add kernel stack debug option. 2002-03-17 14:05:47 +00:00
uch
81cdeb6cdd adapt to kernel stack treatment changes. 2002-03-17 14:05:10 +00:00
uch
02add6730a reserve wired entries for kernel stack. 2002-03-17 14:04:18 +00:00
uch
3900e66164 add kernel stack and trapframe debug command. 2002-03-17 14:03:55 +00:00
uch
9e6153d985 remove obsoleted functions. 2002-03-17 14:03:34 +00:00
uch
b4b9d38675 zero clear all TLB entry to avoid unexpected VPN match. 2002-03-17 14:03:09 +00:00
uch
1e6e3f896d write-through mode for now. since SH4 kernel access page table via P2. XXX 2002-03-17 14:02:43 +00:00
uch
4c6260b9de kernel stack fix. old code simply P3 address converted to P1, it
caused memory destruction when kernel stack grow over 1 page.  new
code use P3 address for kernel stack. but for the sake of debug, P1
kernel stack mode remain.
2002-03-17 14:02:03 +00:00