/*---------------------------------------------------------------------------* Project: OS File: OSDeviceThread.h Copyright (C) Nintendo. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo of America Inc. and/or Nintendo Company Ltd., and are protected by Federal copyright law. They may not be disclosed to third parties or copied or duplicated in any form, in whole or in part, without the prior written consent of Nintendo. *---------------------------------------------------------------------------*/ #ifndef __OSDEVICE_THREAD_H__ #define __OSDEVICE_THREAD_H__ #include #include #include #ifdef __cplusplus extern "C" { #endif #define OS_DRVR_STACK_SIZE (8 * 1024) #define OS_APP_IO_STACK_SIZE (8 * 1024) typedef struct OSDeviceMessage { void* message; u32 data0; u32 data1; OSFunctionType type; // Type of async function which requests this I/O. } OSDeviceMessage; OSMessageQueue* OSGetDefaultAppIOQueue(void); #ifdef __cplusplus } #endif #endif // __OSDEVICE_THREAD_H__