adds missing files

This commit is contained in:
Eyck Jentzsch 2023-09-30 20:31:58 +02:00
parent aab4d1f2a0
commit acf20a4818
2 changed files with 8 additions and 0 deletions

View File

@ -5,6 +5,7 @@
extern volatile uint32_t tohost;
extern volatile uint32_t fromhost;
void write_hex(int fd, uint32_t hex);
void __wrap__exit(int code)
{

View File

@ -0,0 +1,7 @@
#ifndef _BSP_LIBWRAP_WEAK_UNDER_ALIAS_H
#define _BSP_LIBWRAP_WEAK_UNDER_ALIAS_H
#define weak_under_alias(name) \
extern __typeof (__wrap_##name) __wrap__##name __attribute__ ((weak, alias ("__wrap_"#name)))
#endif