ARM VERSION 1.2 Fiche technique Page 96

  • 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 95
ARMulator Reference
4-36 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI0058D
RDICycles
Models that have declared a statistics counter by trapping
RDIRequestCyclesDesc
must also respond to
RDICycles
by calling
ARMul_AddCounterValue()
(see General purpose functions on page 4-41)
for each counter in turn, in the same order as they were declared.
The above RDI info calls have already been dealt with by ARMulator, and are passed
for information only, or so that models can add information to the reply. Models must
always respond to these messages with
RDIError_UnimplementedMessage
, so that the
message is passed on even if the model has responded.
Install the handler using:
int ARMulif_InstallUnkRDIInfoHandler(RDI_ModuleDesc *mdesc,
RDI_InfoProc *func, void *handle)
Remove the handler using:
int ARMulif_RemoveUnkRDIInfoHandler(RDI_ModuleDesc *mdesc,
RDI_InfoProc *func, void *handle)
Example
The
semihost.c
model supplied with ARMulator uses the
UnkRDIInfoUpcall()
to interact
with the debugger:
RDIErrorP
returns errors raised by the program running under ARMulator to
the debugger.
RDISet_Cmdline
finds the command line set for the program by the debugger.
RDIVector_Catch
intercepts the hardware vectors.
Vue de la page 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 175 176

Commentaires sur ces manuels

Pas de commentaire