Skip to content

Commit

Permalink
Merge pull request #102 from uyjulian/iop_alignment_fixes
Browse files Browse the repository at this point in the history
Fix alignment of variables in IOP modules to be max 16 bytes
  • Loading branch information
AKuHAK authored Apr 28, 2023
2 parents 4b5a910 + 785eece commit 073dd41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hdl_info/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ int __attribute__((unused)) shutdown() { return 0; }
void rpcMainThread(void *param);
void *rpcCommandHandler(int command, void *Data, int Size);

static SifRpcDataQueue_t Rpc_Queue __attribute__((aligned(64)));
static SifRpcServerData_t Rpc_Server __attribute((aligned(64)));
static int Rpc_Buffer[1024] __attribute((aligned(64)));
static SifRpcDataQueue_t Rpc_Queue __attribute__((__aligned__(16)));
static SifRpcServerData_t Rpc_Server __attribute__((__aligned__(16)));
static int Rpc_Buffer[1024] __attribute__((__aligned__(16)));

/* Description: Module entry point */
int _start(int argc, char **argv)
Expand Down

0 comments on commit 073dd41

Please sign in to comment.