ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
div0_site_t Struct Reference

One tracked UDIV/SDIV site: its address and original encoding halfwords. More...

Data Fields

uint32_t va
 Divide-instruction virtual address.
uint16_t hw1
 Original first halfword.
uint16_t hw2
 Original second halfword.

Detailed Description

One tracked UDIV/SDIV site: its address and original encoding halfwords.

The original encoding is kept so emulate_div0_patched can recover the operand registers after the site's bytes have been overwritten with UDF.

Definition at line 79 of file emu_seam_div0.c.

Field Documentation

◆ hw1

uint16_t div0_site_t::hw1

Original first halfword.

Definition at line 81 of file emu_seam_div0.c.

Referenced by emulate_div0_patched().

◆ hw2

uint16_t div0_site_t::hw2

Original second halfword.

Definition at line 82 of file emu_seam_div0.c.

Referenced by emulate_div0_patched().

◆ va

uint32_t div0_site_t::va

Divide-instruction virtual address.

Definition at line 80 of file emu_seam_div0.c.


The documentation for this struct was generated from the following file: