Arguments for the endian calls, where each call reads only the members it needs.
More...
#include <endian.h>
Arguments for the endian calls, where each call reads only the members it needs.
- Note
- wr reads dst, val and width. rd reads src and width. rev reads val and width.
-
width is what bounds both pointers. The wr and rd entries touch that many bytes of the one they use, or eight when width is not one of the mmgr_endian_width enumerators. The rev entry reads neither pointer.
- Warning
- Neither pointer has a check. endian.c passes them straight to proximus_operor, which dereferences them with no test and no assertion.
Definition at line 52 of file endian.h.
◆ dst
| uint8_t* const EndianCfg::dst |
Destination for wr [BORROWS].
Definition at line 54 of file endian.h.
◆ src
| const uint8_t* const EndianCfg::src |
Source for rd [BORROWS].
Definition at line 55 of file endian.h.
◆ val
| const uint64_t EndianCfg::val |
Value for wr, or the value rev reverses.
Definition at line 56 of file endian.h.
◆ width
Bytes the call moves.
Definition at line 57 of file endian.h.
The documentation for this struct was generated from the following file: