| |||
| Home > RVISS Reference > RVISS model insertion > Example 2: RVISS with Mapfile inserted, and Tracer inserted in one link | |||
Figure 4.2 shows the structure with both Mapfile and Tracer inserted.
The links in this figure are created in the same way as in Example 1, except that:
During initialization,
Mapfile calls ARMulif_QueryMemInterface and ARMul_InsertMemInterface to
insert itself in the link between MMU/Cache and Flatmem.
Tracer calls ARMulif_QueryMemInterface and ARMul_InsertMemInterface to
insert itself in the link between MMU/Cache and Flatmem. Tracer
can do this at any time.
Tracer can also call ARMul_RemoveMemInterface to
remove itself at any time.
You can find the prototypes for these functions in armul_askrdi.h and armul_mem.h.