mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@72 b08762b0-b915-fc4b-9d8c-17b2551a87ff
51 lines
1.5 KiB
C
51 lines
1.5 KiB
C
/*---------------------------------------------------------------------------*
|
|
Project: TwlIPL
|
|
File: SYSM_define.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.
|
|
|
|
$Date:: $
|
|
$Rev$
|
|
$Author$
|
|
*---------------------------------------------------------------------------*/
|
|
|
|
#ifndef __SYSM_DEFINE_H__
|
|
#define __SYSM_DEFINE_H__
|
|
|
|
#include <twl.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
// define data-------------------------------------------
|
|
|
|
// 定数
|
|
#define POW_LCDC_SW_TOP 0x0000 // LCD上に画面表示
|
|
#define POW_LCDC_SW_BOTTOM 0x8000 // LCD下に画面表示
|
|
#define POW_E2D2 0x0200 // 2D回路2 の電源ON
|
|
#define POW_E2D1 0x0002 // 2D回路1 の電源ON
|
|
#define POW_ELC 0x0001 // LCDC回路の電源ON
|
|
|
|
#define SUBP_RECV_IF_ENABLE 0x4000 // 割り込み要求受信 許可
|
|
|
|
// 排他制御用ロックID
|
|
#define BOOTFLAG_LOCK_ID (OS_MAINP_LOCK_ID_END-1)
|
|
#define CARTRIDGE_LOCK_ID (OS_MAINP_LOCK_ID_END-2)
|
|
|
|
// SetBootFlag関数の引数int set_clear_flagで指定する定数
|
|
#define SBF_CLEAR 0
|
|
#define SBF_SET 1
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // __SYSM_DEFINE_H__
|