English
Language : 

GXLV Datasheet, PDF (102/247 Pages) National Semiconductor (TI) – Geode™ GXLV Processor Series Low Power Integrated x86 Solutions
Integrated Functions (Continued)
4.1.5 Display Driver Instructions
While the majority of the GXLV’s integrated function inter-
face is memory mapped, a few integrated function regis-
ters are accessed via four GXLV specific instructions.
Table 4-6 shows these instructions.
Adding CPU instructions does not create a compatibility
problem for applications that may depend on receiving
illegal opcode traps. The solution is to make these instruc-
tions generate an illegal opcode trap unless a compatibil-
ity bit is explicitly set. The GXLV processor uses the
scratchpad size field (bits [3:2] in GCR, Index B8h) to
enable or disable all of the graphics instructions.
Note:
If the scratchpad size bits are zero, meaning that
none of the cache is defined as scratchpad, then
hardware will assume that the graphics controller
is not being used and the graphics instructions
will be disabled.
Any other scratchpad size will enable all of the new
instructions. Note that the base address of the memory
map in the GCR register can still be set up to allow access
to the memory controller registers
4.1.6 CPU_READ/CPU_WRITE Instructions
The GXLV processor has several internal registers that
control the BLT buffer and power management circuitry in
the dedicated cache subsystem. To avoid adding addi-
tional instructions to read and write these registers, the
GXLV processor has a general mechanism to access
internal CPU registers with reasonable performance. The
GXLV processor has two special instructions to read and
write CPU registers: CPU_READ and CPU_WRITE. Both
instructions fetch a 32-bit register address from EBX as
shown in Table 4-6 and Table 4-7. CPU_WRITE uses EAX
for the source data, and CPU_READ uses EAX as the
destination. Both instructions always transfer 32 bits of
data.
These instructions work by initiating a special I/O transac-
tion where the high address bit is set. This provides a very
large address space for internal CPU registers.
The BLT buffer base registers define the starting physical
addresses of the BLT buffers located within the dedicated
L1 cache. The dedicated cache can be configured for up
to 4 KB, so 12 address bits are required for each base
address.
.
Syntax
BB0_RESET
BB1_RESET
CPU_WRITE
CPU_READ
Opcode
0F3A
0F3B
0F3C
0F3D
Table 4-6. Display Driver Instructions
Registers
Description
N/A
N/A
EBX = Register Address (see Table 4-7)
EAX = Source Data
EBX = Register Address (see Table 4-7)
EAX = Destination Data
Reset the BLT Buffer 0 pointer to the base.
Reset the BLT Buffer 1 pointer to the base.
Write data to CPU internal register.
Read data from CPU internal register.
Register
L1_BB0_BASE
L1_BB1_BASE
L1_BB0_POINTER
L1_BB1_POINTER
PM_BASE
PM_MASK
Table 4-7. Address Map for CPU-Access Registers
EBX Address Description
FFFFFF0Ch
FFFFFF1Ch
FFFFFF2Ch
FFFFFF3Ch
FFFFFF6Ch
FFFFFF7Ch
BLT Buffer 0 base address (see Table 4-5 on page 101).
BLT Buffer 1 base address (see Table 4-5 on page 101).
BLT Buffer 0 pointer address (see Table 4-5 on page 101).
BLT Buffer 1 pointer address (see Table 4-5 on page 101).
Power management base address (see Table 5-3 on page 183).
Power management address mask (see Table 5-3 on page 183).
www.national.com
102
Revision 1.1