Files
pico-launcher/common/dldiIpcCommand.h
2025-11-25 17:41:31 +01:00

17 lines
305 B
C

#pragma once
typedef enum
{
DLDI_IPC_CMD_SETUP,
DLDI_IPC_CMD_READ_SECTORS,
DLDI_IPC_CMD_WRITE_SECTORS
} DldiIpcCommand;
typedef struct alignas(32)
{
u32 cmd;
void* buffer;
u32 sector;
u32 count;
u8 sizeAlign[16]; // ensure the size is also cache aligned
} dldi_ipc_cmd_t;