From 785eece3cd1bb26bfbac557fac8b8b2aae088154 Mon Sep 17 00:00:00 2001 From: uyjulian Date: Wed, 11 Jan 2023 18:35:17 -0600 Subject: [PATCH] Fix alignment of variables in IOP modules to be max 16 bytes --- hdl_info/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hdl_info/main.c b/hdl_info/main.c index 3d789089..1439f206 100644 --- a/hdl_info/main.c +++ b/hdl_info/main.c @@ -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)