kernel: add endian conversion functions

This commit is contained in:
2023-07-08 22:14:31 +01:00
parent dd6e49e8a6
commit 8463423c10
3 changed files with 309 additions and 0 deletions

View File

@@ -8,6 +8,8 @@
extern "C" {
#endif
#define ML_BIG_ENDIAN 0
#define ml_cpu_block_get_id(p) ((p)->c_cpu_id)
#define ml_cpu_block_get_data(p) ((p)->c_data)