First build ( with linker errors )

This commit is contained in:
KiritoDv
2023-08-15 11:18:01 -06:00
parent 44947861a1
commit bb04ebdcc7
486 changed files with 2524 additions and 26462 deletions
-6
View File
@@ -2,14 +2,8 @@
#include "osContInternal.h"
#include <macros.h>
#ifndef AVOID_UB
ALIGNED8 OSContPackedStruct _osContCmdBuf[7];
UNUSED static u32 unused; // padding between these two variables
u32 _osContPifCtrl;
#else
// Reordered gcc vars above will disturb the aliasing done to access all 8 members of this array, hence AVOID_UB.
ALIGNED8 OSContPackedStruct _osContCmdBuf[8];
#endif
extern u8 _osLastSentSiCmd;
extern u8 _osContNumControllers;