ARM VERSION 1.2 Ficha Técnica Página 85

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 176
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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.
Vista de página 84
1 2 ... 80 81 82 83 84 85 86 87 88 89 90 ... 175 176

Comentários a estes Manuais

Sem comentários