diff options
author | jaseg <git@jaseg.de> | 2020-11-24 19:00:18 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2020-11-24 19:00:18 +0100 |
commit | 0bfd7efaf4256e4c2821f8796781f0d81ad08251 (patch) | |
tree | b9c1e08032ff7b31a70cddc35ed59137db43cc9e /prototype/fw/tools/musl_include_shims/bits | |
parent | 7ab2d94564fdb723eefca576f8043a770f22e1f7 (diff) | |
download | ihsm-0bfd7efaf4256e4c2821f8796781f0d81ad08251.tar.gz ihsm-0bfd7efaf4256e4c2821f8796781f0d81ad08251.tar.bz2 ihsm-0bfd7efaf4256e4c2821f8796781f0d81ad08251.zip |
Add prototype rotor firmware skeleton
Diffstat (limited to 'prototype/fw/tools/musl_include_shims/bits')
-rw-r--r-- | prototype/fw/tools/musl_include_shims/bits/alltypes.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/prototype/fw/tools/musl_include_shims/bits/alltypes.h b/prototype/fw/tools/musl_include_shims/bits/alltypes.h new file mode 100644 index 0000000..581ca85 --- /dev/null +++ b/prototype/fw/tools/musl_include_shims/bits/alltypes.h @@ -0,0 +1,23 @@ + +/* shim file for musl */ + +#ifndef __MUSL_SHIM_BITS_ALLTYPES_H__ +#define __MUSL_SHIM_BITS_ALLTYPES_H__ + +#define _REDIR_TIME64 1 +#define _Addr int +#define _Int64 long long +#define _Reg int + +#define __BYTE_ORDER 1234 + +#define __LONG_MAX 0x7fffffffL + +#ifndef __cplusplus +typedef unsigned wchar_t; +#endif + +typedef float float_t; +typedef double double_t; + +#endif /* __MUSL_SHIM_BITS_ALLTYPES_H__ */ |