17.01.2013 Views

MIPS R10000 Microprocessor User's Manual - SGI TechPubs Library

MIPS R10000 Microprocessor User's Manual - SGI TechPubs Library

MIPS R10000 Microprocessor User's Manual - SGI TechPubs Library

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

320 Chapter 16.<br />

Supervisor Mode Operations<br />

0x FFFF FFFF<br />

0x E000 0000<br />

0x DFFF FFFF<br />

0x C000 0000<br />

0x BFFF FFFF<br />

0x 8000 0000<br />

0x 7FFF FFFF<br />

0x 0000 0000<br />

32-bit<br />

KSU = 01 and<br />

EXL = 0 and<br />

ERL = 0 and<br />

SX = 0<br />

Address<br />

Error<br />

0.5 Gbytes<br />

Mapped<br />

Address<br />

Error<br />

2 Gbytes<br />

Mapped<br />

Supervisor mode is designed for layered operating systems in which a true kernel<br />

runs in processor Kernel mode, and the rest of the operating system runs in<br />

Supervisor mode.<br />

The processor operates in Supervisor mode when the Status register contains the<br />

Supervisor-mode bit-values shown in Table 16-1.<br />

32-bit Supervisor Mode, User Space (suseg)<br />

Figure 16-2 shows Supervisor mode address mapping.<br />

sseg<br />

suseg<br />

0x FFFF FFFF FFFF FFFF<br />

0x FFFF FFFF E000 0000<br />

0x FFFF FFFF DFFF FFFF<br />

0x FFFF FFFF C000 0000<br />

0x FFFF FFFF BFFF FFFF<br />

0x 4000 1000 0000 0000<br />

0x 4000 0FFF FFFF FFFF<br />

0x 4000 0000 0000 0000<br />

0x 3FFF FFFF FFFF FFFF<br />

0x 0000 1000 0000 0000<br />

0x 0000 0FFF FFFF FFFF<br />

0x 0000 0000 8000 0000<br />

0x 0000 0000 7FFF FFFF<br />

0x 0000 0000 0000 0000<br />

64-bit<br />

KSU = 01 and<br />

EXL = 0 and<br />

ERL = 0 and<br />

SX = 1<br />

Address<br />

Error<br />

0.5 Gbytes<br />

Mapped<br />

Address<br />

Error<br />

16 Tbytes<br />

Mapped<br />

Address<br />

Error<br />

16 Tbytes<br />

Mapped<br />

Figure 16-2 Supervisor Mode Address Space<br />

In Supervisor mode, when SX = 0 in the Status register and the most-significant bit<br />

of the 32-bit virtual address is set to 0, the suseg virtual address space is selected; it<br />

covers the full 2 31 bytes (2 Gbytes) of the current user address space. The virtual<br />

address is extended with the contents of the 8-bit ASID field to form a unique<br />

virtual address.<br />

This mapped space starts at virtual address 0x0000 0000 and runs through 0x7FFF<br />

FFFF.<br />

Version 2.0 of January 29, 1997 <strong>MIPS</strong> <strong>R10000</strong> <strong>Microprocessor</strong> <strong>User's</strong> <strong>Manual</strong><br />

csseg<br />

xsseg<br />

Address Error if UX=0<br />

xsuseg

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!