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

Baked parity .epub + golden blob for the M33 compile (#149). More...

#include <stdint.h>
Include dependency graph for parity_fixture.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  : uint32_t {
  k_m33_parity_epub_len = 2758U ,
  k_m33_parity_golden_len = 673U
}
 Sizes of the embedded fixture and golden blobs (bytes). More...

Variables

static const uint8_t s_m33_parity_epub []
 Fixture .epub bytes compiled on the M33 (text/CSS/SVG).
static const uint8_t s_m33_parity_golden []
 Golden RABOOK1 blob the M33 output must equal byte-for-byte.

Detailed Description

Baked parity .epub + golden blob for the M33 compile (#149).

Pins the shared synthetic EPUB and desktop RABOOK1 bytes so the secondary-core compiler can prove byte identity.

@generated by scripts/gen/rabook_parity_gen.py (just tools::rabook_golden); do not hand-edit. The compile_on_m33 CPU1 image compiles s_m33_parity_epub on the Cortex-M33 and the M85 compares the emitted blob to s_m33_parity_golden (byte-identity on the secondary core). Same fixture + golden as the M85 parity gate.

Since
0.1.0

Definition in file parity_fixture.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum : uint32_t

Sizes of the embedded fixture and golden blobs (bytes).

Enumerator
k_m33_parity_epub_len 

Length of s_m33_parity_epub in bytes.

k_m33_parity_golden_len 

Length of s_m33_parity_golden in bytes.

Definition at line 246 of file parity_fixture.h.

Variable Documentation

◆ s_m33_parity_epub

const uint8_t s_m33_parity_epub[]
static

Fixture .epub bytes compiled on the M33 (text/CSS/SVG).

Definition at line 22 of file parity_fixture.h.

Referenced by prep_mailbox().

◆ s_m33_parity_golden

const uint8_t s_m33_parity_golden[]
static

Golden RABOOK1 blob the M33 output must equal byte-for-byte.

Definition at line 199 of file parity_fixture.h.

Referenced by verify_blob().