uch
51b515b09a
recompile.
2001-06-18 11:31:32 +00:00
uch
376c55b2be
arm, mips: forgot to initialize boot console.
2001-06-18 11:31:04 +00:00
wiz
ccfe29f3cf
Symmetric has one s and two m's.
2001-06-18 11:23:00 +00:00
sommerfeld
b10656ba32
Delete dead code.
...
Mask segment registers from trap frame with 0xffff for cleanliness.
2001-06-18 03:33:59 +00:00
sommerfeld
926b6ff132
since seg regs are 16 bits, toss high order bits from the trapframe
2001-06-18 03:32:14 +00:00
christos
59abdecf4b
Add a linux specific trapsignal() function. This is just a passthrough
...
on all platforms but the i386. On the i386 we look at T_PROTFLT and send
a SIGSEGV instead of SIGBUS. This makes allegro lisp 5.0 and pvs (a proof
verification system) to work.
XXX[1]: We need to go through each architecture and verify that we send
the correct signal on each trap type.
XXX[2]: trap.c on all other architectures but i386 needs to be modified
to s/trapsignal/(*p->p_emul->e_trapsignal)/g
2001-06-18 02:04:42 +00:00
christos
0f380fac15
Add an e_trapsignal member to struct emul, so that emulated processes can
...
send the appropriate signal depending on the trap type.
2001-06-18 02:00:48 +00:00
sommerfeld
7e7d262c34
Add %fs/%gs to trap frame and save/restore them on
...
trap/interrupt/syscall entry from userspace.
Remove special-case "by hand" validation of fs/gs register values as
well as special handling of them in various signal handling paths.
Now, like %ds and %es, they are validated by the hardware on return to
userland.
This paves the way for the use of %fs for per-cpu data on
multiprocessor systems, and fixes an otherwise difficult-to-fix
interaction between threads/clone(2) and USER_LDT.
Discussed in advance with Frank van der Linden.
2001-06-17 21:01:32 +00:00
tsubai
1614d87d0e
Support the new iBook.
2001-06-17 19:54:47 +00:00
tsubai
91f99e1981
Forgot to commit this -- move file .../bus_dma.c line to files.${machine}.
2001-06-17 19:32:17 +00:00
nonaka
31794a5423
NEWPMAP
2001-06-17 16:01:28 +00:00
nonaka
b83f37566d
identified prep model. (I missed it...)
2001-06-17 15:59:57 +00:00
nonaka
5098ff59f6
identified prep model.
2001-06-17 15:57:11 +00:00
thorpej
97354efd4d
More corrections.
2001-06-17 14:54:29 +00:00
kleink
abaced98c3
Fix context handling for 32-bit environments:
...
* Really pass PSR ICC bits instead of raw CCR.
* Don't touch ASI and FPRS, which are not part of the 32-bit mcontext.
Also, correct printf conversions in svr4_printmcontext.
2001-06-17 14:39:32 +00:00
simonb
56151c1fef
Make this compile and work for the IBM 4xx series CPUs.
2001-06-17 13:39:33 +00:00
simonb
d70d5d1ee0
Use _C_LABEL() for externally referenced symbols.
2001-06-17 13:39:02 +00:00
simonb
0647591d3a
Globalise "trapexit" for new ddb tracing changes.
2001-06-17 13:38:33 +00:00
simonb
91817c8f5e
s/workstations/machines/ for pmax and sgimips. Make the description of
...
the walnut more technically correct.
2001-06-17 13:37:01 +00:00
kleink
db52b31344
Save/restore only the FP register file as far as the 32-bit environment
...
is concerned; in particular, don't overrun the [mu]context.
2001-06-17 13:10:05 +00:00
perry
407eec5184
minor fixes
2001-06-17 04:10:16 +00:00
lukem
24c92d43e5
minor typo
2001-06-17 00:48:28 +00:00
cyber
662f93aeeb
Change the way boot strings are handled and the way the root device
...
is determined. This allows multiple internal disks in a raq2 to work.
2001-06-17 00:11:40 +00:00
christos
38527630e2
fixes from perry
2001-06-16 23:17:34 +00:00
christos
002c8b43f1
Add a list with a brief description of each ports. With 43 ports right
...
now it is a bit tough to collect all the information.
XXX: Portmasters, or people who know better, please correct any mistakes.
2001-06-16 23:04:15 +00:00
tsutsui
01704d0990
Add iha at pci, which just works on my CATS.
2001-06-16 13:58:18 +00:00
toshii
bf923a99b8
Don't set HPCFB_SWAP_BYTE (if little endian).
2001-06-16 12:53:05 +00:00
dbj
ef86c3badd
fix handling of transmit length calculation so we now handle full length xmits
2001-06-16 09:18:46 +00:00
dbj
e9d708e25b
allow unaligned pointers in bus_dmamap_sync
2001-06-16 09:08:05 +00:00
tsutsui
aa35eff5da
Enable some devices which I am/was using:
...
epic* at pci?
fxp* at pci?
sip* at pci?
tlp* at pci?
inphys* at mii?
qsphys* at mii?
2001-06-16 05:47:37 +00:00
matt
38fc9e283d
Fix pte_spill to set the index on the proper pvo. Deal with recursion
...
in pmap_syncicache.
2001-06-16 03:32:48 +00:00
tsutsui
c5bc6249f0
Make sure to write out the dump header into an independent block
...
on the dump device on sun3x. (sync with sun3)
Now savecore(8) can find core dump in dumpdev properly.
XXX "target kcore /dev/mem" on gdb does not work yet.
2001-06-16 00:38:19 +00:00
matt
979edf3c4a
pmap_syncicache can be called recursively. Properly deal with that
...
situation.
2001-06-15 22:28:54 +00:00
matt
60f8375758
Replace printf with (*pr)
2001-06-15 22:27:07 +00:00
dbj
093fab47ce
remove extra args from printf
2001-06-15 21:56:06 +00:00
matt
e55c9f74af
Add missing braces in pmap_pte_to_pvo (DEBUG|PMAPCHECK defined). Rearrange
...
some code so that consistency check in pmap_pte_to_pvo do not trigger on
false positives. Correct/enhance some printfs.
2001-06-15 21:29:54 +00:00
matt
25a2c4d481
While not stricly needed, to match pmap_pvo_find_va, mask of the page
...
offset bits.
2001-06-15 20:53:45 +00:00
matt
787e1b0b36
When comparing VA's, ignore the page offset bits.
...
Invert and strengthen a test for pte equality.
2001-06-15 20:43:01 +00:00
matt
c7c7dab8f1
Stop overloading unused bits in the pte. Use the low 12bits of the vaddr
...
instead to store them. Add a macro to fetch the vaddr without them.
Make all variables/routines prefixed with pmap_
Cleanup & fix some of the vsid bitmap usage.
Cleanup DEBUG printfs. Add some more checks to pmap_pvo_to_pte.
2001-06-15 18:26:06 +00:00
drochner
b97fed556d
vm_map_t -> struct vm_map *
...
vm_page_t -> struct vm_page *
simple_lock_data_t -> struct simplelock
2001-06-15 17:48:13 +00:00
nonaka
7f44dfec92
Compile again.
2001-06-15 15:53:27 +00:00
nonaka
80e152f0fc
Use new common bus.h framework.
2001-06-15 15:50:04 +00:00
nonaka
3a3661fb58
Delete unused function.
2001-06-15 15:24:03 +00:00
bouyer
17eff1c958
Pass WDC_CAPABILITY_MODE to the wdc core, so that it will set timings
...
on the drive side too.
Deal properly with the case where master and slave don't have the same timings,
and set PIO timings too.
2001-06-15 10:35:26 +00:00
matt
192642af05
Don't enable PMAPCHECK by default.
2001-06-15 08:17:00 +00:00
matt
f6b81171c1
Globalize trapexit. Improve db_trace.c so that you can trace thru traps!
...
Rework the output so that is also prints the frame address by default.
2001-06-15 08:09:33 +00:00
matt
0278444e19
Add a check to pvo_check which makes sure the pte is really in the
...
pteg_table. In pte_to_va, take into account if the PTE_HID is set.
2001-06-15 08:08:04 +00:00
matt
ab92d9cd59
phys_map should use kenter/kremove
2001-06-15 08:07:03 +00:00
matt
816a5637cd
When releasing the SR VSID, mask off the bits not related to the index
...
in the pmap vsid bitmap.
2001-06-15 06:27:07 +00:00
sommerfeld
d3249871b5
Rework how user-mode instruction and stack fetches are done.
...
While we're in here, catch another vm86 protocol botch.
2001-06-15 05:43:40 +00:00