ARM VERSION 1.2 Fiche technique Page 98

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 176
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 97
ARMulator Reference
4-38 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D
4.8 Memory access functions
The memory system can be probed by a peripheral model using a set of functions for
reading and writing memory. These functions access memory without inserting cycles
on the bus. If your model inserts cycles on the bus, it must install itself as a memory
model, possibly between the core and the real memory model.
NoteNote
It is not possible to tell if these calls result in a data abort.
4.8.1 Reading from a given address
The following functions return the word, halfword, or byte at the specified address.
Each function accesses the memory without inserting cycles on the bus.
Syntax
ARMword ARMulif_ReadWord(RDIModuleDesc *mdesc, ARMword address)
ARMword ARMulif_ReadHalfword(RDIModuleDesc *mdesc, ARMword address)
ARMword ARMulif_ReadByte(RDIModuleDesc *mdesc, ARMword address)
where:
mdesc
is the handle for the core.
address
is the address in simulated memory from which the word, halfword, or
byte is to be read.
Return
The functions return the word, halfword, or byte, as appropriate.
Vue de la page 97
1 2 ... 93 94 95 96 97 98 99 100 101 102 103 ... 175 176

Commentaires sur ces manuels

Pas de commentaire