From 1c59b893bff8930c3a1cea48764b72400591166d Mon Sep 17 00:00:00 2001 From: nakasima Date: Tue, 5 Jun 2007 12:26:50 +0000 Subject: [PATCH] add syscall. git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/twl_wrapsdk/trunk@107 4ee2a332-4b2b-5046-8439-1ba90f034370 --- include/twl/os.h | 1 + include/twl/os/common/systemCall.h | 49 ++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 include/twl/os/common/systemCall.h diff --git a/include/twl/os.h b/include/twl/os.h index f351904..bebef23 100644 --- a/include/twl/os.h +++ b/include/twl/os.h @@ -21,6 +21,7 @@ #include #include +#include #ifdef SDK_DEBUGGER_KMC #include diff --git a/include/twl/os/common/systemCall.h b/include/twl/os/common/systemCall.h new file mode 100644 index 0000000..a7929f8 --- /dev/null +++ b/include/twl/os/common/systemCall.h @@ -0,0 +1,49 @@ +/*---------------------------------------------------------------------------* + Project: TwlSDK - OS - include + File: systemCall.h + + Copyright 2007 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. + + $Log: $ + $NoKeywords: $ + *---------------------------------------------------------------------------*/ + +#ifndef TWL_OS_SYSTEMCALL_H_ +#define TWL_OS_SYSTEMCALL_H_ + + +#ifdef __cplusplus +extern "C" { +#endif + + +/*---------------------------------------------------------------------------* + Name: SVC_DecryptoSign + + Description: + + Arguments: buffer : + sgn_ptr : + key_ptr : + + Returns: None + *---------------------------------------------------------------------------*/ +int SVC_DecryptoSign( + void* buffer, // 出力領域 + const void* sgn_ptr, // データへのポインタ + const void* key_ptr // キーへのポインタ + ); + + +#ifdef __cplusplus +} /* extern "C" */ +#endif + +/* TWL_OS_SYSTEMCALL_H_ */ +#endif