26static const char*
s_tag =
"NSCETH";
static const char * s_tag
Logging / check tag.
#define RA8_NSC_VENEER
Mark a TrustZone Secure-to-Non-Secure entry-point veneer.
Validation and Error-Checking Macros for ra8-firmware.
#define RA8_CHECK_NULL_PTR(ptr, tag, message)
Reject nullptr pointer, returning k_ra8_err_null_ptr.
Error Code Definitions for ra8-firmware.
@ k_ra8_err_invalid_arg
Invalid function argument.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
Network Platform Abstraction Layer for the RA8D2 ESWM block.
ra8_err_t ra8_net_pal_send_frame(const uint8_t *frame, uint16_t len)
Hand a complete ethernet frame to the MAC for transmit.
ra8_err_t ra8_net_pal_recv_frame(uint8_t *out_buf, uint16_t *inout_len)
Pull the next received ethernet frame, if any, into a buffer.
Non-Secure Callable veneers – the only NS->S gateway.
@ k_ra8_nsc_eth_frame_max
Max ethernet frame bytes.
ra8_err_t ra8_nsc_eth_send(const uint8_t *ns_frame, uint16_t len)
NSC veneer: transmit an Ethernet frame from Non-Secure code.
ra8_err_t ra8_nsc_eth_recv(uint8_t *ns_buf, uint16_t *inout_len)
NSC veneer: receive an Ethernet frame into a Non-Secure buffer.
Macros for declaring Non-Secure Callable veneer functions.
#define RA8_NSC_CHECK_NS_RANGE_R(ptr, len)
RA8 NSC CHECK NS RANGE r.
#define RA8_NSC_CHECK_NS_RANGE_RW(ptr, len)
RA8 NSC CHECK NS RANGE RW.