ARM VERSION 1.2 Scheda Tecnica Pagina 85

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 176
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 84
ARMulator Reference
ARM DUI0058D Copyright © 1999-2001 ARM Limited. All rights reserved. 4-25
4.4.10 write
This function enables a debugger to write to a coprocessor register via RDI.
The function writes the value at the location addressed by
value
to the coprocessor
register numbered
reg
.
If the requested coprocessor does not exist or the register cannot be written, the function
must return
ARMul_CP_CANT
.
Syntax
unsigned write(void *handle, int reg, ARMword instr, ARMword *value)
where:
handle
is the handle from
ARMulif_InstallCoprocessorV5
.
reg
is the register number of the coprocessor register that is to be written.
instr
is not used.
value
is a pointer to the location of the data that is to be written to the
coprocessor.
Return
The function must return one of:
ARMul_CP_DONE
, to indicate that the coprocessor operation is complete
ARMul_CP_CANT
, to indicate that the register is not supported.
Usage
This function is called by the debugger via RDI.
Vedere la pagina 84
1 2 ... 80 81 82 83 84 85 86 87 88 89 90 ... 175 176

Commenti su questo manuale

Nessun commento