msaitoh
0756145b0f
fix a ldtlb handling bug:
...
- set to PTE{H,L,A} and call LDTLB must do atomically.
- never call LDTLB when it's unnecessary.
Broken kernel oocasionally causes cpu reset when /etc/security is called.
Now fix this problem.
2001-08-10 18:27:08 +00:00
bjh21
b5560b60b9
No need to mention procfs_machdep.c here -- it's in files.arm anyway.
2001-08-10 18:24:20 +00:00
tsutsui
17f8dae7c0
This file is no longer used. (moved to ofppc/soft_spl.c)
2001-08-09 16:08:34 +00:00
eeh
39634ee178
Clean up some debug printfs.
2001-08-09 01:03:01 +00:00
eeh
462c99aa55
pmap_kenter_pa() always creates privileged mappings.
...
No need to enter a no-fault mapping any more.
2001-08-09 01:01:31 +00:00
eeh
10d6680e29
Fix context masking lossage caused by last version.
2001-08-09 01:00:11 +00:00
matt
f3011c96b4
Fix thinko. Do the mask before the divide.
2001-08-08 21:09:58 +00:00
eeh
82ff27c161
Clean up the trap code to handle the changes cause by supporting non-faulting
...
accesses. Also change the parameter order so trap frames are easy to find.
2001-08-08 18:30:45 +00:00
wdk
83cb8b7f0a
If the boot device cannot be determined don't return an un-initialized
...
pointer.
Prevents garbage when asking for root device at startup.
2001-08-08 11:35:12 +00:00
eeh
b88a8597fb
This file is no longer used.
2001-08-08 00:17:00 +00:00
eeh
b012dbff07
Use the new version of in_cksum.
2001-08-08 00:13:37 +00:00
eeh
57ef5c3617
Add an optimized assembly in_cksum(). (Why did I do this?)
2001-08-08 00:12:37 +00:00
eeh
7ffc44a35e
Add some useful mbuf fields.
2001-08-08 00:09:30 +00:00
bjh21
4dd0161267
Use STACKALIGN rather than &=~7.
2001-08-07 22:56:09 +00:00
bjh21
8fa03d16ac
Add macros to hide the details of stack-pointer alignment.
2001-08-07 22:54:00 +00:00
bjh21
bd6d4d6b77
Use <arm/param.h> to get shared definitions.
2001-08-07 22:26:56 +00:00
scw
e8ba963ae7
Change a post-decrement to a pre-decrement.
2001-08-07 17:25:19 +00:00
eeh
b400579dd9
Make sure C code always has ASI_PRIMARY_NOFAULT in the %asi register so
...
the compiler will be happy if it ever starts generating speculative loads.
2001-08-07 00:03:27 +00:00
eeh
c633b30dd4
Add some alternate spellings for ASIs.
...
Make sure ASI_PRIMARY_NOFAULT is always restored.
Garbage collect some old code.
2001-08-06 23:55:34 +00:00
bjh21
f37b49755f
When delivering a signal, ensure that the stack is 8-byte-aligned.
2001-08-06 22:32:23 +00:00
eeh
4b569fc269
Fix bug involving small, non-contiguous dma segments.
...
From Manuel Bouyer.
2001-08-06 22:02:58 +00:00
thorpej
013d3a1013
Make some APMDEBUG verbosity only verbose if the INFO debug flag is set.
2001-08-06 07:59:39 +00:00
eeh
140e9e72dd
Add support for non-faulting loads and optimize MMU miss handling paths.
2001-08-05 18:32:30 +00:00
jdolecek
74954dadf9
use unsigned variable types as appropriate
2001-08-05 18:07:51 +00:00
chris
9522cf08d4
Share procfs_machdep.c across arm.
2001-08-05 13:09:45 +00:00
tsutsui
9e7c918fc2
Avoid NULL pointer dereference.
2001-08-05 11:14:21 +00:00
scw
aac15fa001
Create the `machine' symlink before building.
2001-08-05 10:52:05 +00:00
scw
86b01af066
Make this work again for mvme147...
2001-08-05 09:45:39 +00:00
tsutsui
96ca5eec53
Define VM_MAX_KERNEL_BUF and PAGER_MAP_SIZE to save KVA space.
2001-08-05 06:55:02 +00:00
matt
b46d7a47ab
Don't substract KERNBASE, xor it to clear. The former causes GNU ld to
...
bitch about a signed overflow and this code is only done once, incurring
an extra instruction isn't going to matter much in the long run.
2001-08-05 06:14:22 +00:00
matt
f33b1a3fd8
This is a HOST program, so make compile as one.
2001-08-05 06:10:25 +00:00
tsutsui
9651c6a654
Add PM_SR
2001-08-05 05:47:43 +00:00
matt
ced3859405
print time_t as signed long.
2001-08-05 05:22:10 +00:00
matt
9509e734a3
Force size_t formats/arge to be (u_long). I'd use 'z' for this but gcc
...
2.95.3
2001-08-05 05:07:27 +00:00
matt
c7d43df086
If = is in a constraint, it must be the first character.
2001-08-05 04:40:03 +00:00
mrg
ca351acf50
avoid an unused variable warning
2001-08-05 03:03:16 +00:00
chs
177230d1d6
implement pmap_k{enter_pa,remove}() correctly.
...
remove various checks for impossible conditions.
other misc cleanup.
2001-08-04 18:42:39 +00:00
chs
79124b95bf
implement pmap_k{enter_pa,remove}() correctly.
...
remove various checks for impossible conditions.
other misc cleanup.
2001-08-04 16:26:49 +00:00
sato
0e356bc8ef
fix VR4122 some unit address.
2001-08-04 14:08:46 +00:00
chs
6bc422a7ee
use pmap_k* in pagemove() (ie. for buffer cache pages)
...
and in vmapbuf() and vunmapbuf() (since there's no VAC on this platform).
2001-08-04 07:44:52 +00:00
chs
ea127ad258
use pmap_k* in pagemove(), ie. for buffer cache pages.
...
in vunmapbuf(), call pmap_kremove() explicitly since uvm_km_free_wakeup()
will soon no longer do it for us.
2001-08-04 07:42:07 +00:00
chs
be706f969f
in vunmapbuf(), call pmap_remove() explicitly since uvm_km_free_wakeup()
...
will soon no longer do it for us.
2001-08-04 04:28:49 +00:00
chs
f6a81a1ac7
remove the uncached idle-loop page zeroing.
...
(to be replaced by a version that uses the cache...)
2001-08-04 04:26:48 +00:00
chs
873e926c7b
remove remaining spl calls, they're not needed.
...
remove some checks for impossible conditions.
in pmap_enter(), only call pmap_remove() to remove an existing mapping
if there actually is an existing mapping.
in pmap_remove_pv(), don't flush the MIPS1 cache when removing the last mapping.
this was added in rev 1.97, to avoid stale data being left in the cache
when the page is zeroed bypassing the cache in pmap_zero_page_uncached().
we've since found that bypassing the cache for idle-loop page zeroing
doesn't work very well anyway, so we don't do that anymore.
so now we can remove the extra cache-flush.
remove pmap_zero_page_uncached() while I'm thinking of it.
various other cleanup.
2001-08-04 04:25:37 +00:00
chs
843823c7c5
rewrite set_segmap_allctx() in assembly.
...
reduces cpu usage of sequential write()s to a file by 5%.
2001-08-04 04:06:29 +00:00
enami
4b5c6b86d6
Minor tweak to build kernel under a.out environment.
2001-08-04 00:54:30 +00:00
tsubai
3070e77046
Remove (#if 0'ed) m68k asm codes.
2001-08-03 23:09:42 +00:00
tsubai
b51ccd5322
Cosmetics.
2001-08-03 12:58:38 +00:00
tsubai
b1919bc716
Add bmtphy.
2001-08-03 12:56:55 +00:00
thorpej
518ad20222
Upon further reading of the manual, don't save the MXCSR-at-last-exception.
...
Its status bits are sticky, and unaffacted by FNINIT.
2001-08-03 01:46:08 +00:00