/*---------------------------------------------------------------------------* Project: IOP Shell File: iopsh_cos.h Description: COS client interface for using IOPSH service Copyright (C) 2013 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 __IOPSH_COS__ #define __IOPSH_COS__ #include #include #define IOPSH_USER_DATA_SIZEOF_ROUNDUP(__PADDED_DATA_TYPE) \ ( ((sizeof(__PADDED_DATA_TYPE)+(KERNEL_IO_BUFFER_ALIGN-1)) & \ ~(KERNEL_IO_BUFFER_ALIGN-1)) ) #include #ifdef __cplusplus extern "C" { #endif /*---------------------------------------------------------------------------* * * Globals/Externs * -- Variables/Functions -- * *---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------* * * Constants defined for this file * -- #Defines -- * *---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------* * * Data types defined for this file * -- Structs, Typedefs, Enums -- * *---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------* * * -- Interface Function Prototypes -- * *---------------------------------------------------------------------------*/ #ifdef __cplusplus } #endif #endif // __IOPSH_COS__