simonb
67f74ebee4
Implement the new BUFCACHE option.
1998-11-02 07:43:37 +00:00
jonathan
558bc32937
Add missing braces pointed out by egcs.
1998-10-28 04:28:32 +00:00
jonathan
dd735283c1
Add `struct proc;' to keep egcs warnings happy in userland.
...
XXX why are kernel prototypes visible here at all?
1998-10-28 04:26:52 +00:00
jonathan
04062f718c
Cleanup kdbpeek() definition as noted in PR port-mips/5252.
1998-10-24 01:36:09 +00:00
jonathan
e68e8297d2
Fix stacktrace alignment, in case of 64-bit stores into stackframes.
...
From pr port-mips/5536 from Castor Fu <castor@geocast.com>
1998-10-24 01:14:26 +00:00
tron
b296275bb4
Defopt SYSVMSG, SYSVSEM and SYSVSHM.
1998-10-19 22:09:13 +00:00
drochner
eaafa2dbd1
Zero-initialize the initial u-area. This cures the "random process killed
...
by SIGPROF or SIGVTALRM" syndrome.
1998-10-18 22:00:17 +00:00
nisimura
8778509c45
* Make cpu_identify() routine table-driven.
...
* MIPS3 sanity check now allow MIPS1 models to boot.
1998-10-05 05:26:00 +00:00
drochner
18a5d4ffc6
set up old style sigmask on COMPAT_ULTRIX too
1998-10-02 18:59:56 +00:00
drochner
5bcf824ff0
change debugging output in compat_13_sigreturn to distinguish from native
...
sigreturn
1998-10-02 18:49:00 +00:00
drochner
a366b483ec
compat_13_sigreturn is needed for compat_ultrix too
1998-10-02 18:46:58 +00:00
drochner
4345019cc0
implement a separate ultrix_sigcode[]
1998-10-02 18:44:32 +00:00
jonathan
379c9be4a8
More patches for ARC from Noriyuki Soda:
...
* commit isapnpvar.h changes required for ARC to support plain isa.
* fixup mistake over mips/include/cpuregs.h.
* mips/mips_machdep.c:
set L2 cache-size for arc, cleanup use of L2cache present
vs L2 cache-size variables. check for no L2 cache on kernels
configured to require one. misc cleanups.
* mips/mpis/trap.c: more locore stack-traceback label cleanup.
XXX Locore callbacks for mips3, mips4, r4600 cacheflush need more work.
1998-10-01 00:42:37 +00:00
drochner
87fab23d68
make it compile with DEBUG
1998-09-26 10:07:36 +00:00
nisimura
b356238b16
Add one more new MIPS processor PRid 0x30 for IDT RC64474/64475. These
...
are successors of RC4640/RC4650, but fully brewed MIPS, then capable of
running NetBSD/mips.
1998-09-26 08:16:38 +00:00
nisimura
3da75bb55d
Update the list of MIPS processor revision ID. PRids of Toshiba TX3900
...
and QED R4650 comflict each other.
1998-09-26 03:29:37 +00:00
thorpej
3d4e54f11f
Need 87 longs for a jmp_buf now (we use sigcontext, which grew).
1998-09-16 23:15:08 +00:00
jonathan
0b09668693
Fix typos in signal rework (sc.regs -> sc-regs, rege -> regs).
1998-09-14 07:04:06 +00:00
thorpej
cbfc257eda
sigset13_t -> int.
1998-09-14 02:48:33 +00:00
mycroft
fa31b94af9
Fix omission in previous; remember to record that we're on the signal stack.
1998-09-13 11:57:58 +00:00
thorpej
4a797b8f45
Make signal delivery work again.
1998-09-13 10:29:02 +00:00
jonathan
008816ea4f
Changes to sys/arch/mips from ARC port, from Noriyuki Soda <soda@sra.co.jp>.
...
Adds (most) support for ARC platform to port-independent mips code.
Some changes (e.g., clean up of overlapping CPU/FPU ids) inspired by
comparison to the OpenBSD 2.1 codebase of Soda's ARC port.
Open issues:
* Still no support for r4600 or mipsIV CPUs with two-way L1 cache.
Code derived from Per Fogelstrom's OpenBSD source doesn't work
on mips3 pmaxes with L2 cache.
* Still some port-specific #ifdefs, for interrupt enable and
pmax L2 cache-size. Needs more thought, but overlaps with
work-in-progress by Tohru and Tsubai on spl()s and related stuff.
1998-09-11 16:46:31 +00:00
thorpej
70e641047c
In cpu_coredump(), use MID_MACHINE rather than MID_* (whatever it expands
...
to).
1998-09-09 11:17:24 +00:00
thorpej
8abe0d6b1c
Adjust for the new "reaper" kernel thread: do not free the vmspace and
...
u-area in machine-dependent code. Instead, call exit2() to schedule
the reaper to free them for us, once it is safe to do so (i.e. we are
no longer running on the dead proc's vmspace and stack).
1998-09-09 00:07:48 +00:00
nisimura
c6a0c2d34c
Added more MIPS processor IDs.
1998-09-07 06:32:18 +00:00
christos
50909bd6d9
Assign copyright to TNF.
1998-09-05 15:28:08 +00:00
nisimura
e71752d621
An include file describes MIPS processor hardware nature, which will
...
supercedes cpuregs.h eventually.
1998-09-03 05:09:37 +00:00
nisimura
78aedb2cd3
- kernel boot flag 'd' now means "enter DDB asap" like as other ports.
...
- bump cpu_model[] length as the longest name occupies over 30 characters.
- place machine_arch[] beside machine[] for clearity.
- nuke useless #include directives.
- small scale cleanup in vm_machdep.c
1998-09-02 06:41:22 +00:00
mrg
ba1bba6844
register -> int (also fixes egcs warning). minor KNF nit.
1998-08-29 16:13:33 +00:00
nisimura
e37ce1c5b6
Make spl(9) rountines target port dependent. delay() is also port
...
dependent anticipating a target with high resolution timer available
for on-the-fly re-programming. Enum decstation_t was removed from MI
trap.c.
1998-08-25 01:55:38 +00:00
eeh
a2dd74ed79
Merge paddr_t changes into the main branch.
1998-08-13 02:10:37 +00:00
kleink
546365a27e
_POSIX_SOURCE -> _POSIX_C_SOURCE
1998-08-06 11:25:04 +00:00
mycroft
a24dbc8065
(Always) (practice) (safe) (macro expansion).
1998-07-31 15:07:41 +00:00
thorpej
37b70b3064
Change the "aresid" argument of vn_rdwr() from an int * to a size_t *,
...
to match the new uio_resid type.
1998-07-28 21:39:54 +00:00
thorpej
3ff8e6493a
Don't cast the null residual pointer passed to vn_rdwr().
1998-07-28 18:34:52 +00:00
mycroft
da2e61d160
Delint.
1998-07-27 13:55:32 +00:00
simonb
a211774da1
Fix typo with new poolpage stuff
1998-07-26 10:15:36 +00:00
thorpej
260b2a20f2
Provide PMAP_{,UN}MAP_POOLPAGE().
1998-07-24 22:03:33 +00:00
jonathan
d2ddbe58a2
Add empty opt_cputype.h to satisfy changes committed during
...
defopt'ing of network options.
1998-07-15 23:57:04 +00:00
mhitch
1143e585fc
PS -> SR: PS as alias to SR was removed due to conflict with other usage.
1998-07-14 03:19:17 +00:00
jonathan
b37021c1a1
defopt NATM.
1998-07-05 22:48:05 +00:00
jonathan
d275e56dee
* defopt COMPAT_{09,10,11,12,13} and COMPAT_NOMID.
...
TODO: revisit interaction between native compat and emul compat usage.
1998-07-05 08:49:30 +00:00
jonathan
011f2bda08
defopt NS, NSIP.
1998-07-05 06:49:00 +00:00
jonathan
5c0c5dd0b4
defopt ISO TPIP.
1998-07-05 04:37:35 +00:00
jonathan
5b64a1fc00
"PS" alias for "SR" clashes with netccitt/pk.h. ifdef out.
1998-07-05 04:14:56 +00:00
jonathan
2670278a47
_inqsue and _remque are used by ccitt and iso networking code:
...
Add #ifdefs to enable them. (compiles and links, but untested.)
1998-07-05 02:10:14 +00:00
jonathan
3751946b97
defopt INET, NETATALK.
1998-07-05 00:51:04 +00:00
jonathan
466e784ee1
defopt DDB.
1998-07-04 22:18:13 +00:00
thorpej
816e12eac2
defopt COMPAT_SVR4
1998-06-26 00:07:06 +00:00
thorpej
21592147a1
defopt COMPAT_ULTRIX
1998-06-25 23:27:56 +00:00