kleink
bb2ed0f487
G/c _BSD_INTPTR_T_ and _BSD_UINTPTR_T_.
2000-06-27 05:53:22 +00:00
kleink
47b5c5e3b1
Resolve some formatting nits; add __intptr_t and __uintptr_t.
2000-06-27 04:58:51 +00:00
kleink
e695f72a2e
Add <machine/int_types.h>, which provides namespace-pure definitions
...
of exact-width integer types.
2000-06-26 15:42:16 +00:00
mrg
4c698e84f6
<vm/vm_param.h> -> <uvm/uvm_param.h>
2000-06-26 14:58:58 +00:00
mrg
2f159a1bac
remove/move more mach vm header files:
...
<vm/pglist.h> -> <uvm/uvm_pglist.h>
<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
<vm/vm_object.h> -> nothing
<vm/vm_pager.h> -> into <uvm/uvm_pager.h>
also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
2000-06-26 14:20:25 +00:00
simonb
889c658b5b
Change the kernel mmap interface so that the offset to map is an
...
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".
Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
2000-06-26 04:55:19 +00:00
nisimura
472221aa39
Abandon {mips1,mips3}_TBRPL() which have little gain than TLBUpdate().
2000-06-26 03:05:04 +00:00
nisimura
074a952030
Abandon {mips1,mips3}_TBRPL()s which have little gain. They were
...
expected to be better than MachTLBUpdate(). After all, TLBUpdate()
is rather harmful and should be replaced with TBIS().
2000-06-26 02:55:45 +00:00
kleink
133ea38323
Add a WEAK_ALIAS() macro.
2000-06-23 12:18:45 +00:00
soren
e7d8e5164a
Remove extraneous mips1_TBRPL() prototype.
2000-06-22 05:00:48 +00:00
soren
78c90ae276
Fix pasto.
2000-06-21 19:39:32 +00:00
soda
76baab0725
3rd argument of TBRPL() is not paddr_t but PTE.
...
XXX - mips3_TBRPL seems to be never called.
2000-06-20 05:54:03 +00:00
soren
d78ff1cd5b
Add mips3_write_config().
2000-06-20 02:57:17 +00:00
cgd
942546fe30
cod: any of various bottom-dwelling fishes (family Gadidae, the cod
...
family) that usually occur in cold marine waters and often have barbels
and three dorsal fins.
code: a set of instructions for a computer.
The latter is more appropriate in the comment corrected here.
2000-06-17 06:38:25 +00:00
cgd
79d0534b05
put cache op #defines up at the top of the file, so all cache ops can
...
use them. Rename them to match the names in See Mips Run; they're not
as orthogonal as values or'd together might make you think... Finally,
actually use them for every bloody cache op.
2000-06-17 01:35:28 +00:00
cgd
433fe9077e
when printing the cpu_id (because it's unknown or not supported),
...
print the whole PRID value. Also, print the PRID value in addition to
the name, when the CPU is known (for data collection purposes).
2000-06-15 23:39:14 +00:00
shin
5ded3d8a81
backout previous change.
...
cache operation in cpu_fork() is necessary for CPU's which
detect virtual alias by hardware (ex. R4000 with secondary cache).
2000-06-15 13:04:05 +00:00
soren
a8b7b64af8
Remove unnecessary HitFlushCache from cpu_fork(). From Toru Nishimura.
2000-06-14 22:17:59 +00:00
castor
751cd4ffb0
Profiling fixes from Ethan Solomita <ethan@geocast.com>.
...
Merge Kernel MCOUNT and user MCOUNT.
The earlier code which was inserted to call _mcount in profiling
assembler routines is busted badly. This gets it working with PIC
code and should work with any arbitrary assembler routine.
2000-06-12 23:42:10 +00:00
soren
9f0da0dd16
Post a SIGFPE rather than SIGILL on floating point exceptions.
2000-06-10 02:43:49 +00:00
soda
1c2aa78d6b
rename
...
vad_to_pfn() -> mips_paddr_to_tlbpfn()
pfn_to_vad() -> mips_tlbpfn_to_paddr()
as suggested by thorpej on port-mips Mar 27.
2000-06-09 06:30:35 +00:00
soda
2047c95e49
Decrease MIPS3_TLB_WIRED_ENTRIES from 8 to 2,
...
and rename it to MIPS3_TLB_WIRED_UPAGES.
The value of wired register becomes variable on arc port,
and arc is the only mips3 port which uses the wired TLB entries 2..7.
2000-06-09 06:06:57 +00:00
soda
26c2cf79c0
rename
...
vad_to_pfn() -> mips_paddr_to_tlbpfn()
pfn_to_vad() -> mips_tlbpfn_to_paddr()
as suggested by thorpej on port-mips Mar 27.
2000-06-09 05:51:42 +00:00
soda
b1438dd751
make paddr_t 64bit on arc port by introducing _MIPS_PADDR_T_64BIT.
2000-06-09 04:36:43 +00:00
soda
f587c1c5bf
typo in comment
2000-06-09 04:28:17 +00:00
soda
44769378c9
this header don't have to include <machine/locore.h>,
...
include <mips/locore.h> instead.
2000-06-09 04:24:22 +00:00
soda
9fee25ddfa
USRIOSIZE had to be changed from 32 to 128,
...
when MAXBSIZE was changed from 16KB to 64KB(MAXPHYS)
on <sys/param.h> revision 1.28.
2000-06-09 04:18:19 +00:00
mhitch
afce867d15
Fix loadfpregs(): the register used to access the floating point registers
...
was not getting loaded, and the floating point registers were being loaded
from the proc structure rather than the FP registers in the pcb.
2000-06-08 04:47:13 +00:00
soren
a9aa2abf94
defopt SYSCALL_DEBUG.
2000-06-06 18:52:30 +00:00
soren
a2bda06df5
Typo.
2000-06-06 17:41:58 +00:00
soren
5e4ca4defb
Rename RM5200 cache ops to mips3_*_2way in anticipation of using them
...
for other CPUs with 2-way set associative L1 caches as well.
2000-06-06 17:41:07 +00:00
soren
113f160717
R12K has 64 TLBs too.
2000-06-06 17:36:12 +00:00
soren
d8e5d1fa7d
Add rnd(4) glue for the MIPS3 cycle counter.
2000-06-06 02:24:00 +00:00
jhawk
c063b64a2b
Do not clear msgbufenabled in dumpsys(). Dump messages will now go to
...
the message buffer. This can be invaluable in debugging if the dump
fails (assuming a persistant message buffer)
2000-06-05 23:44:55 +00:00
shin
4a71a2a50f
delete unnecessary 'extern ...' line.
2000-06-03 13:16:02 +00:00
shin
5d883bf68e
make it compile with 'options SOFTFLOAT'.
2000-06-02 12:57:22 +00:00
thorpej
8c2d00aaeb
Add a comment about needing to initialize p_cpu when multiple
...
processors are supported.
2000-05-31 05:09:14 +00:00
nisimura
48ef457a5f
Leave fpcurproc NULL for Vr4100/TX3900. It's solely for delayed lazy
...
FPA. fp.S is free from fpcurproc references for SOFTFLOAT case.
2000-05-31 01:11:58 +00:00
nisimura
788c728dbd
Replace fpcurproc->p_addr-> references with curpcb->.
2000-05-31 00:59:27 +00:00
uch
6764e5fc91
if defined SOFTFLOAT, set fpcurproc before call MachFPInterrupt()
2000-05-30 18:12:47 +00:00
nisimura
58d84e19a6
savefpregs() and loadfpregs() are defined in mips_machdep.c
2000-05-30 02:05:36 +00:00
nisimura
3d826a5c7e
Add a missing closing parenthesis.
2000-05-30 01:42:43 +00:00
nisimura
b67b90d7f9
FPA ownership is now guarded by MDP_FPUSED flag and there is no necessity
...
to have #if ... around savefpregs() calls.
2000-05-30 01:29:59 +00:00
nisimura
0e501989cd
- Have savefpregs() and loadfpregs() in C codes with lengthy inlined
...
asm statements, obsoluting asm routines in locore.S. They are
designed to work in symmetry as names suggests. savefpregs()
does not clear a global variable fpcurproc. Both would be noops when
NOFPU global symbol is defined.
- MDP_FPUSED flag is not turned on for FPA-less processors like Vr4100
and TX3900 even when processes execute FP insns.
2000-05-30 01:23:53 +00:00
simonb
4857b33794
A few more white-space bogons.
2000-05-29 23:40:03 +00:00
simonb
6c87680cbf
A TAB after the define keyword instead of spaces.
2000-05-29 23:30:06 +00:00
nisimura
a7c050472e
Nuke #include directives found unnecessary.
2000-05-29 11:46:52 +00:00
nisimura
f7c88c8f18
Make sure to load FPA contents next time an FP insn is executed when
...
process_write_fpregs() changes pcb_fpregs[].
2000-05-29 11:19:46 +00:00
nisimura
76f0ee4e32
Put an additional check to see curproc was an FPA owner process.
2000-05-29 09:47:19 +00:00
nisimura
87cd634474
Put addtional checks to see the curproc is an FPA owner process.
2000-05-29 09:43:33 +00:00