diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2012-09-29 21:37:04 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2012-09-29 21:37:04 +0000 |
commit | 2b973049de2355df47d511a1636b501618d4ae27 (patch) | |
tree | b14ca04ad15fb5015d47afdbccbfef67e231168a /sys/miscfs | |
parent | 46f18ef0a87684c975e693f1aa36b587114d7a35 (diff) |
Basic R8000 processor support. R8000 processors require MMU-specific code,
exception-specific code, clock-specific code, and L1 cache-specific code. L2
cache is per-design, of which only two exist: SGI Power Indigo2 (IP26) and SGI
Power Challenge (IP21) and are not covered by this commit.
R8000 processors also are 64-bit only processors with 64-bit coprocessor 0
registers, and lack so-called ``compatibility'' memory spaces allowing 32-bit
code to run with sign-extended addresses and registers.
The intrusive changes are covered by #ifdef CPU_R8000 stanzas. However,
trap() is split into a high-level wrapper and a new function, itsa(),
responsible for the actual trap servicing (which name couldn't be helped
because I'm an incorrigible punster). While an R8000 exception may cause
(via trap() ) multiple exceptions to be serviced, non-R8000 processors will
always service one exception in trap(), but they are nevertheless affected
by this code split.
Diffstat (limited to 'sys/miscfs')
0 files changed, 0 insertions, 0 deletions