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
thorpej
c466f11939
defopt COMPAT_LINUX
1998-06-25 23:18:23 +00:00
thorpej
971b8956ef
defopt KTRACE
1998-06-25 21:18:11 +00:00
kleink
1fbd0b3749
GC the unused `physadr' type, which was not able to hold a complete physical
...
address on 2 architectures anyhow. Also, move the definition of the `label_t'
type inside _KERNEL protection, since it is specific to the in-kernel
setjmp()/longjmp() implementations.
1998-06-14 20:09:22 +00:00
cgd
651b44e211
Rework the way kernel include files are installed. In the new method,
...
as with user-land programs, include files are installed by each directory
in the tree that has includes to install. (This allows more flexibility
as to what gets installed, makes 'partial installs' easier, and gives us
more options as to which machines' includes get installed at any given
time.) The old SYS_INCLUDES={symlinks,copies} behaviours are _both_
still supported, though at least one bug in the 'symlinks' case is
fixed by this change. Include files can't be build before installation,
so directories that have includes as targets (e.g. dev/pci) have to move
those targets into a different Makefile.
1998-06-12 23:22:30 +00:00
kleink
967614df34
Protect against multiple inclusions.
1998-05-25 21:00:32 +00:00
kleink
a97fc2f180
If any of _ANSI_SOURCE, _POSIX_C_SOURCE or _XOPEN_SOURCE are defined, don't
...
provide any identifiers other than sig_atomic_t.
1998-05-25 20:59:01 +00:00
thorpej
6626878e7b
It is no longer necessary for pmap_pinit() and pmap_release() to be
...
pmap interface functions, as NetBSD no longer uses statically allocated
pmaps (except for the kernel pmap, which is special-cased anyhow).
1998-05-19 19:00:11 +00:00
simonb
9b60278e42
Change external declaration of kdbpeek to match reality.
1998-05-19 04:11:50 +00:00
kleink
687ea7404c
Fix some arithmetics lossage on typeless pointers.
1998-05-08 16:55:15 +00:00
kleink
aa36ad1f55
Fix some arithmetics lossage on typeless pointers.
1998-05-07 21:01:41 +00:00
mhitch
8c45fef21f
When changing the mapping on a page, remove the previous mapping if
...
there is one. The Mach VM system seems to take care of this, so it
hasn't knowingly caused a problem. UVM does change mappings without
removing the current mapping, and will pmap_page_protect() hangs
if pmap_enter() doesn't remove the previous mapping.
1998-05-06 21:53:53 +00:00
kleink
a53c1863fe
Provide definitions for intptr_t and uintptr_t, signed resp. unsigned integral
...
types large enough to hold any pointer.
1998-04-27 17:39:10 +00:00
jonathan
e0a67e8aa8
Commit definition of mips_set_wbflush().
1998-04-27 07:34:28 +00:00
jonathan
b5798a80f0
define mips3 COUNT and COMPARE cp0 registers (onchip cycle counter)
1998-04-23 10:32:08 +00:00
jonathan
3d2cea267e
Commit change missed during Decsystem 5100 chagnes:
...
prototype declearation for method to override wbflush() callback
vector with model-specific code. Used on DEC r2000a machines with
writebuffers which indicate writebuffer drain via cp0 usability bit.
1998-04-23 10:31:02 +00:00
jonathan
216daa4e5e
Configure mips_mclock if "clock|mccclock".
...
All(?) ARC boxes use mcclock, but QBus decstations use the same
time-of-year clock architecturally mandated for VAXes.
1998-04-19 08:24:19 +00:00
jonathan
53c671e26c
Add locore assembler functions to read mips3 cycle counter, and
...
read and write compare register (controls cycle-driven periodic interrupt).
Use cycle counter for microsecond time on mips3, but for now only on
3min motherboards (5000/150). the MAXINE baseboard microsecond
counter is more stable and I don't ave no 5000/260 to test.
XXX clkread() is a mess, it should be rewritten.
XXX should add nanotime() to give inkernel nanosecond resolution,
and then microtime() reworked to use nanotime().
1998-04-19 01:48:34 +00:00
jonathan
6b2d0fa8a0
* Create /sys/arch/mips/include/intr.h, with extern declaration of
...
interrupt-callout vector from mips locore dispatch code to port code.
* Move branch-emulation declaration to mips/include/trap.h.
* Garbage-collect pmax/pmax/trap.h.
Not needed now pmax/pmax_trap.c is gone, and after above tidy-up.
1998-03-26 12:46:33 +00:00
jonathan
9376fa1a1b
Commit MIPS_INT_MASK_FPU change: use MD symbol to check for pending FPU
...
interrupts.
1998-03-26 09:21:05 +00:00
mhitch
0fb478e609
Define ELF dynamic types for MIPS (some will be used by ld.elf_so).
1998-03-25 04:06:50 +00:00
thorpej
afe0f98a85
Fix some obvious problems in my MIPS kcopy() implementation (a significant
...
typo, plus get delay slots right on the R3000).
1998-03-23 00:57:13 +00:00
thorpej
7819cad7ec
Implement pmap_deactivate() (a noop in this pmap) and clean up
...
pmap_activate() a little.
1998-03-22 23:12:15 +00:00
mhitch
a10657ae4f
Set the PID before setting up the wired TLB entries for proc0. The
...
mips3_HitFlushDCache() fails with a TLB miss otherwise.
1998-03-22 06:31:40 +00:00
thorpej
7bb58d92ce
Garbage-collect; vm_page_alloc1() and vm_page_free1() are now in MI code.
1998-03-12 06:26:26 +00:00
thorpej
e3bda606eb
Add support for UVM.
1998-03-12 05:45:04 +00:00
tsubai
2630ce2157
label 1: within #ifdef pmax is referenced from outside.
...
so it didn't work without -Dpmax.
1998-03-06 13:54:02 +00:00
thorpej
803f5aa188
Remove the memcpy() alternate entry point for bcopy(), a temporary measure
...
until the memcpy()/bcopy() thing is worked out.
1998-03-02 23:40:42 +00:00
thorpej
da6458bfb4
Implement and switch to MACHINE_NEW_NONCONTIG.
1998-02-25 23:26:41 +00:00