Development Tools User’s Guide
277
Intel
®
IXP2400/IXP2800 Network Processors
Transactor States
A.4
Microengine Registers
For the following sections,
, the parameter
me
is the
Microengine number. Valid
me
numbers for the IXP2400 are: 0x00 - 0x03 and 0x10 - 0x13. Valid
me
numbers for the IXP2800 are: 0x00 - 0x07 and 0x10 - 0x17. For the range of valid local
memory locations, refer to either the
IXP2400/IXP2800 Programmer’s Reference Manual
, as
appropriate.
A.4.1
Local Memory
Local memory within a Microengine.
Functions:
set_lmem(me, addr, data)
Use to write to local memory in the Microengine.
get_lmem(me, addr)
Use to read local memory in the Microengine.
watch_lmem(me, addr)
Use to watch for local memory content changes.
watch_lmem_function({code} or function( ), me, addr)
Use to watch for local memory content changes and then
execute code or call function.
check_lmem(me, addr, expect)
Use to compare local memory with an expected value.
dump_lmem(me)
Use to display the Microengine’s local memory content.
init_lmem(me, data)
Use to initialize local memory content in the Microengine.
A.4.2
GPR A bank
A Bank General Purpose register within a Microengine.
Functions:
set_gpa(me, addr, data)
Use to write to GPR A in the Microengine.
get_gpa(me, addr)
Use to read GPR A in the Microengine.
watch_gpa(me, addr)
Use to watch for GPR A content changes.
watch_gpra_function({code} or function( ), me, addr)
Use to watch for GPR A content changes and then execute
code or call function.
check_gpa(me, addr, expect)
Use to compare GPR A memory with an expected value.
dump_gpa(me)
Use to display the Microengine’s GPR A content.
init_gpa(me, data)
Use to initialize GPR A content in the Microengine.