mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
ソースファイルのヘッダにSVN自動変換キーワードを埋め込むよう変更。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@2 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
60f18e5554
commit
fe6d0ce2d5
@ -11,8 +11,9 @@
|
||||
# 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: $
|
||||
# $Date:: $
|
||||
# $Rev:$
|
||||
# $Author:$
|
||||
#----------------------------------------------------------------------------
|
||||
ifndef TWLFIRM_COMMONDEFS_
|
||||
TWLFIRM_COMMONDEFS_ = TRUE
|
||||
|
||||
@ -11,8 +11,9 @@
|
||||
# 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: $
|
||||
# $Date:: $
|
||||
# $Rev:$
|
||||
# $Author:$
|
||||
#----------------------------------------------------------------------------
|
||||
ifndef TWLFIRM_MODULERULES_
|
||||
|
||||
|
||||
@ -11,8 +11,9 @@
|
||||
# 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: $
|
||||
# $Date:: $
|
||||
# $Rev:$
|
||||
# $Author:$
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
include $(TWLSDK_ROOT)/build/buildtools/commondefs
|
||||
|
||||
@ -15,87 +15,89 @@
|
||||
# $NoKeywords: $
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
SUPPORT_ECC = 0
|
||||
TARGET_PLATFORM = TWL
|
||||
|
||||
SUPPORT_ECC = 0
|
||||
|
||||
ifeq ($(SUPPORT_ECC),1)
|
||||
ECC_SRCDIR = ../../libraries/acsign_ecc/common \
|
||||
../../libraries/acsign_ecc/common/algae/common/ecc \
|
||||
../../libraries/acsign_ecc/common/algae/cmp \
|
||||
../../libraries/acsign_ecc/common/algae/ecsource \
|
||||
ECC_SRCDIR = ../../libraries/acsign_ecc/common \
|
||||
../../libraries/acsign_ecc/common/algae/common/ecc \
|
||||
../../libraries/acsign_ecc/common/algae/cmp \
|
||||
../../libraries/acsign_ecc/common/algae/ecsource \
|
||||
|
||||
ECC_INCDIR = ../../libraries/acsign_ecc/include \
|
||||
../../libraries/acsign_ecc/common/algae/include \
|
||||
../../libraries/acsign_ecc/common/algae/common/include \
|
||||
ECC_INCDIR = ../../libraries/acsign_ecc/include \
|
||||
../../libraries/acsign_ecc/common/algae/include \
|
||||
../../libraries/acsign_ecc/common/algae/common/include \
|
||||
|
||||
ECC_SRCS = acsign_ecc.c acsign_cryptoc.c \
|
||||
\
|
||||
cmparith.c cmpbits.c cmpcnv.c cmpdiv.c cmpmem.c \
|
||||
cmpmod.c cmpmuldv.c cmpspprt.c cmpsqr.c cmpvectr.c \
|
||||
computem.c ecfpatbl.c ecfpsmul.c \
|
||||
spcprime.c secfpcom.c \
|
||||
\
|
||||
p224v1.c p224v1a.c \
|
||||
ECC_SRCS = acsign_ecc.c acsign_cryptoc.c \
|
||||
\
|
||||
cmparith.c cmpbits.c cmpcnv.c cmpdiv.c cmpmem.c \
|
||||
cmpmod.c cmpmuldv.c cmpspprt.c cmpsqr.c cmpvectr.c \
|
||||
computem.c ecfpatbl.c ecfpsmul.c \
|
||||
spcprime.c secfpcom.c \
|
||||
\
|
||||
p224v1.c p224v1a.c \
|
||||
|
||||
ECC_DEFS = -DRSA_PROTOTYPES=RSA_ENABLED \
|
||||
-DRCOM_BUILD=RSA_ENABLED -DRSA_FAST_INVERSE=RSA_ENABLED \
|
||||
-DRSA_STD_MEM_FUNCS=RSA_ENABLED -DRSA_STD_ALLOC_FUNCS=RSA_ENABLED \
|
||||
ECC_DEFS = -DRSA_PROTOTYPES=RSA_ENABLED \
|
||||
-DRCOM_BUILD=RSA_ENABLED -DRSA_FAST_INVERSE=RSA_ENABLED \
|
||||
-DRSA_STD_MEM_FUNCS=RSA_ENABLED -DRSA_STD_ALLOC_FUNCS=RSA_ENABLED \
|
||||
else
|
||||
ECC_SRCDIR =
|
||||
ECC_INCDIR =
|
||||
ECC_SRCS =
|
||||
ECC_DEFS =
|
||||
ECC_SRCDIR =
|
||||
ECC_INCDIR =
|
||||
ECC_SRCS =
|
||||
ECC_DEFS =
|
||||
endif
|
||||
|
||||
SRCDIR += ../acsign $(ECC_SRCDIR)
|
||||
INCDIR += ../acsign/include $(ECC_INCDIR) $(ECC_SRCDIR)
|
||||
SRCDIR += ../acsign $(ECC_SRCDIR)
|
||||
INCDIR += ../acsign/include $(ECC_INCDIR) $(ECC_SRCDIR)
|
||||
|
||||
|
||||
include $(TWLFIRM_ROOT)/build/buildtools/commondefs
|
||||
|
||||
TARGETS = makegcdfirm.exe
|
||||
TARGETS = makegcdfirm.exe
|
||||
|
||||
SOURCES_C = makegcdfirm.c \
|
||||
out_gcdfirm.c \
|
||||
misc.c \
|
||||
path.c \
|
||||
defval.c \
|
||||
compress.c \
|
||||
wram_regs.c \
|
||||
acsign.c \
|
||||
acsign_gcd.c \
|
||||
aes2.c \
|
||||
$(ECC_SRCS)
|
||||
SOURCES_C = makegcdfirm.c \
|
||||
out_gcdfirm.c \
|
||||
misc.c \
|
||||
path.c \
|
||||
defval.c \
|
||||
compress.c \
|
||||
wram_regs.c \
|
||||
acsign.c \
|
||||
acsign_gcd.c \
|
||||
aes2.c \
|
||||
$(ECC_SRCS)
|
||||
|
||||
SOURCES = $(SORUCES_C)
|
||||
SOURCES = $(SORUCES_C)
|
||||
|
||||
OBJECTS = $(SOURCES_C:.c=.o)
|
||||
OBJECTS = $(SOURCES_C:.c=.o)
|
||||
|
||||
HEADERS = format_nlist.h \
|
||||
makegcdfirm.h \
|
||||
path.h \
|
||||
format_rom.h \
|
||||
misc.h \
|
||||
defval.h \
|
||||
compress.h \
|
||||
HEADERS = format_nlist.h \
|
||||
makegcdfirm.h \
|
||||
path.h \
|
||||
format_rom.h \
|
||||
misc.h \
|
||||
defval.h \
|
||||
compress.h \
|
||||
|
||||
MACROS += -DSMALL_CODE_SIZE \
|
||||
-DSTANDALONE \
|
||||
-DOPT_32_BIT \
|
||||
-DNO_SPLIT \
|
||||
-DNO_FP_API \
|
||||
-DNO_R_DIAG \
|
||||
$(ECC_DEFS)
|
||||
MACROS += -DSMALL_CODE_SIZE \
|
||||
-DSTANDALONE \
|
||||
-DOPT_32_BIT \
|
||||
-DNO_SPLIT \
|
||||
-DNO_FP_API \
|
||||
-DNO_R_DIAG \
|
||||
$(ECC_DEFS)
|
||||
|
||||
INSTALL_DIR = $(FIRM_INSTALL_TOOLSDIR)/bin
|
||||
INSTALL_TARGETS = $(TARGETS)
|
||||
INSTALL_DIR = $(FIRM_INSTALL_TOOLSDIR)/bin
|
||||
INSTALL_TARGETS = $(TARGETS)
|
||||
|
||||
LDIRT_CLEAN = $(OBJECTS) $(TARGETS) version.h
|
||||
LDIRT_CLEAN = $(OBJECTS) $(TARGETS) version.h
|
||||
|
||||
|
||||
VPATH = $(SRCDIR)
|
||||
NITRO_INCDIR := $(FIRM_INCDIR) -I$(TWL_INCDIR) -I$(NITRO_INCDIR) $(addprefix -I,$(INCDIR))
|
||||
VPATH = $(SRCDIR)
|
||||
TWL_INCDIR := $(TWL_INCDIR) $(addprefix -I,$(INCDIR)) $(addprefix -I,$(FIRM_INCDIR))
|
||||
|
||||
include $(TWL_NITROSDK_ROOT)/build/buildtools/modulerules.x86
|
||||
include $(TWLSDK_ROOT)/build/buildtools/twl/modulerules.x86
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# build
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h> // atoi()
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef COMPRESS_H_
|
||||
#define COMPRESS_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef FORMAT_NLIST_H_
|
||||
#define FORMAT_NLIST_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef FORMAT_ROM_H_
|
||||
#define FORMAT_ROM_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef FIRM_MAKENORFIRM_ACSIGN_FORMAT_H_
|
||||
#define FIRM_MAKENORFIRM_ACSIGN_FORMAT_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef MAKEGCDFIRM_H_
|
||||
#define MAKEGCDFIRM_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#include <stdio.h>
|
||||
#include <malloc.h> // calloc()
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef MISC_H_
|
||||
#define MISC_H_
|
||||
@ -32,6 +33,8 @@ typedef signed char s8;
|
||||
typedef signed short int s16;
|
||||
typedef signed long int s32;
|
||||
typedef signed long long s64;
|
||||
typedef volatile u32 vu32;
|
||||
typedef vu32 REGType32v;
|
||||
|
||||
#define error(...) do { fprintf(stderr, "Error: "); \
|
||||
fprintf(stderr, __VA_ARGS__); \
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h> // atoi()
|
||||
@ -33,7 +34,6 @@
|
||||
#include "compress.h"
|
||||
|
||||
#define SDK_ASM
|
||||
#include <twl/mi/wram_abc.h>
|
||||
|
||||
#include <firm/aes/ARM7/aes_ids.h>
|
||||
#include "../acsign/aes2.h"
|
||||
|
||||
@ -18,8 +18,5 @@ ARM9_X2 : TRUE # TRUE or FALSE
|
||||
NML_OFS : 0x80000
|
||||
TWL_OFS : 0x100000
|
||||
|
||||
NORFIRM : ./norfirm_print.nor
|
||||
NANDFIRM : ./nandfirm_print.nand
|
||||
|
||||
ERROR : ARM7_HASH # SIGN, HEADER_HASH, ARM9_HASH, ARM7_HASH, HASH_TABLE_HASH or FINAL_HASH
|
||||
ERROR : HEADER_FOOTER # for debug
|
||||
|
||||
@ -11,8 +11,9 @@
|
||||
# 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: $
|
||||
# $Date:: $
|
||||
# $Rev:$
|
||||
# $Author:$
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
SUBDIRS =
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#include <twl/mi.h>
|
||||
#include <firm/format/wram_regs.h>
|
||||
|
||||
@ -10,70 +10,86 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#include "format_rom.h"
|
||||
#define SDK_ASM
|
||||
#include <twl/mi/wram_abc.h>
|
||||
//#define SDK_ASM
|
||||
#define NITRO_TYPES_H_
|
||||
#include <twl/hw/ARM9/ioreg_MI.h>
|
||||
#include <twl/mi/common/sharedWram.h>
|
||||
#include <firm/format/wram_regs.h>
|
||||
|
||||
// define macro -------------------------------------------
|
||||
#define MI_WRAM_MAP_NULL HW_WRAM_AREA
|
||||
|
||||
#define REG_WRAM_MAP_CONV_ADDR( regno, abc, border, addr ) \
|
||||
( \
|
||||
((((addr) - HW_WRAM_AREA) / MI_WRAM_##abc##_SLOT_SIZE) & \
|
||||
(REG_MI_MBK##regno##_W##abc##_##border##_MASK >> \
|
||||
REG_MI_MBK##regno##_W##abc##_##border##_SHIFT)) \
|
||||
)
|
||||
|
||||
|
||||
// global variables----------------------------------------
|
||||
MIHeader_WramRegs wram_regs_init =
|
||||
{
|
||||
// ARM9
|
||||
{
|
||||
REG_WRAM_A_BNK_PACK(0, MI_WRAM_A_ARM7, MI_WRAM_A_OFS_0KB, TRUE),
|
||||
REG_WRAM_A_BNK_PACK(1, MI_WRAM_A_ARM7, MI_WRAM_A_OFS_64KB, TRUE),
|
||||
REG_WRAM_A_BNK_PACK(2, MI_WRAM_A_ARM7, MI_WRAM_A_OFS_128KB, TRUE),
|
||||
REG_WRAM_A_BNK_PACK(3, MI_WRAM_A_ARM7, MI_WRAM_A_OFS_192KB, TRUE),
|
||||
REG_MI_MBK_A0_FIELD( 1, MI_WRAM_OFFSET_0KB , MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_A1_FIELD( 1, MI_WRAM_OFFSET_64KB , MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_A2_FIELD( 1, MI_WRAM_OFFSET_128KB, MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_A3_FIELD( 1, MI_WRAM_OFFSET_192KB, MI_WRAM_ARM7 ),
|
||||
},
|
||||
{
|
||||
REG_WRAM_B_BNK_PACK(0, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_0KB, TRUE),
|
||||
REG_WRAM_B_BNK_PACK(1, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_32KB, TRUE),
|
||||
REG_WRAM_B_BNK_PACK(2, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_64KB, TRUE),
|
||||
REG_WRAM_B_BNK_PACK(3, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_96KB, TRUE),
|
||||
REG_WRAM_B_BNK_PACK(4, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_128KB, TRUE),
|
||||
REG_WRAM_B_BNK_PACK(5, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_160KB, TRUE),
|
||||
REG_WRAM_B_BNK_PACK(6, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_192KB, TRUE),
|
||||
REG_WRAM_B_BNK_PACK(7, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_224KB, TRUE),
|
||||
REG_MI_MBK_B0_FIELD( 1, MI_WRAM_OFFSET_0KB , MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_B1_FIELD( 1, MI_WRAM_OFFSET_32KB , MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_B2_FIELD( 1, MI_WRAM_OFFSET_64KB , MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_B3_FIELD( 1, MI_WRAM_OFFSET_96KB , MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_B4_FIELD( 1, MI_WRAM_OFFSET_128KB, MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_B5_FIELD( 1, MI_WRAM_OFFSET_160KB, MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_B6_FIELD( 1, MI_WRAM_OFFSET_192KB, MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_B7_FIELD( 1, MI_WRAM_OFFSET_224KB, MI_WRAM_ARM7 ),
|
||||
},
|
||||
{
|
||||
REG_WRAM_C_BNK_PACK(0, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_0KB, TRUE),
|
||||
REG_WRAM_C_BNK_PACK(1, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_32KB, TRUE),
|
||||
REG_WRAM_C_BNK_PACK(2, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_64KB, TRUE),
|
||||
REG_WRAM_C_BNK_PACK(3, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_96KB, TRUE),
|
||||
REG_WRAM_C_BNK_PACK(4, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_128KB, TRUE),
|
||||
REG_WRAM_C_BNK_PACK(5, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_160KB, TRUE),
|
||||
REG_WRAM_C_BNK_PACK(6, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_192KB, TRUE),
|
||||
REG_WRAM_C_BNK_PACK(7, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_224KB, TRUE),
|
||||
REG_MI_MBK_C0_FIELD( 1, MI_WRAM_OFFSET_0KB , MI_WRAM_ARM9 ),
|
||||
REG_MI_MBK_C1_FIELD( 1, MI_WRAM_OFFSET_32KB , MI_WRAM_ARM9 ),
|
||||
REG_MI_MBK_C2_FIELD( 1, MI_WRAM_OFFSET_64KB , MI_WRAM_ARM9 ),
|
||||
REG_MI_MBK_C3_FIELD( 1, MI_WRAM_OFFSET_96KB , MI_WRAM_ARM9 ),
|
||||
REG_MI_MBK_C4_FIELD( 1, MI_WRAM_OFFSET_128KB, MI_WRAM_ARM9 ),
|
||||
REG_MI_MBK_C5_FIELD( 1, MI_WRAM_OFFSET_160KB, MI_WRAM_ARM9 ),
|
||||
REG_MI_MBK_C6_FIELD( 1, MI_WRAM_OFFSET_192KB, MI_WRAM_ARM9 ),
|
||||
REG_MI_MBK_C7_FIELD( 1, MI_WRAM_OFFSET_224KB, MI_WRAM_ARM9 ),
|
||||
},
|
||||
REG_WRAM_A_MAP_PACK(MI_WRAM_MAP_NULL,
|
||||
MI_WRAM_MAP_NULL,
|
||||
MI_WRAM_A_IMG_128KB
|
||||
),
|
||||
REG_WRAM_B_MAP_PACK(MI_WRAM_MAP_NULL,
|
||||
MI_WRAM_MAP_NULL,
|
||||
MI_WRAM_B_IMG_128KB
|
||||
),
|
||||
REG_WRAM_C_MAP_PACK(HW_WRAM_AREA_HALF,
|
||||
HW_WRAM_AREA_HALF + 0x00020000,
|
||||
MI_WRAM_C_IMG_128KB
|
||||
),
|
||||
REG_MI_MBK6_FIELD( REG_WRAM_MAP_CONV_ADDR( 6, A, EADDR, MI_WRAM_MAP_NULL ),
|
||||
MI_WRAM_IMAGE_128KB,
|
||||
REG_WRAM_MAP_CONV_ADDR( 6, A, SADDR, MI_WRAM_MAP_NULL )
|
||||
),
|
||||
REG_MI_MBK7_FIELD( REG_WRAM_MAP_CONV_ADDR( 7, B, EADDR, MI_WRAM_MAP_NULL ),
|
||||
MI_WRAM_IMAGE_128KB,
|
||||
REG_WRAM_MAP_CONV_ADDR( 7, B, SADDR, MI_WRAM_MAP_NULL )
|
||||
),
|
||||
REG_MI_MBK8_FIELD( REG_WRAM_MAP_CONV_ADDR( 8, C, EADDR, HW_WRAM_AREA_HALF + 0x00020000 ),
|
||||
MI_WRAM_IMAGE_128KB,
|
||||
REG_WRAM_MAP_CONV_ADDR( 8, C, SADDR, HW_WRAM_AREA_HALF )
|
||||
),
|
||||
|
||||
// ARM7
|
||||
REG_WRAM_A_MAP_PACK(HW_WRAM_AREA_HALF,
|
||||
HW_WRAM_AREA_HALF + 0x00020000,
|
||||
MI_WRAM_A_IMG_128KB
|
||||
),
|
||||
REG_WRAM_B_MAP_PACK(HW_WRAM_AREA_HALF + 0x00020000,
|
||||
HW_WRAM_AREA_HALF + 0x00040000,
|
||||
MI_WRAM_B_IMG_128KB
|
||||
),
|
||||
REG_WRAM_C_MAP_PACK(MI_WRAM_MAP_NULL,
|
||||
MI_WRAM_MAP_NULL,
|
||||
MI_WRAM_C_IMG_128KB
|
||||
),
|
||||
// WRAM Lock
|
||||
REG_MI_MBK6_FIELD( REG_WRAM_MAP_CONV_ADDR( 6, A, EADDR, HW_WRAM_AREA_HALF + 0x00020000 ),
|
||||
MI_WRAM_IMAGE_128KB,
|
||||
REG_WRAM_MAP_CONV_ADDR( 6, A, SADDR, HW_WRAM_AREA_HALF )
|
||||
),
|
||||
REG_MI_MBK7_FIELD( REG_WRAM_MAP_CONV_ADDR( 7, B, EADDR, HW_WRAM_AREA_HALF + 0x00040000 ),
|
||||
MI_WRAM_IMAGE_128KB,
|
||||
REG_WRAM_MAP_CONV_ADDR( 7, B, SADDR, HW_WRAM_AREA_HALF + 0x00020000 )
|
||||
),
|
||||
REG_MI_MBK8_FIELD( REG_WRAM_MAP_CONV_ADDR( 8, C, EADDR, MI_WRAM_MAP_NULL ),
|
||||
MI_WRAM_IMAGE_128KB,
|
||||
REG_WRAM_MAP_CONV_ADDR( 8, C, SADDR, MI_WRAM_MAP_NULL )
|
||||
),
|
||||
|
||||
// WRAM Lock
|
||||
{
|
||||
0,
|
||||
0,
|
||||
|
||||
@ -15,87 +15,89 @@
|
||||
# $NoKeywords: $
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
SUPPORT_ECC = 0
|
||||
TARGET_PLATFORM = TWL
|
||||
|
||||
SUPPORT_ECC = 0
|
||||
|
||||
ifeq ($(SUPPORT_ECC),1)
|
||||
ECC_SRCDIR = ../../libraries/acsign_ecc/common \
|
||||
../../libraries/acsign_ecc/common/algae/common/ecc \
|
||||
../../libraries/acsign_ecc/common/algae/cmp \
|
||||
../../libraries/acsign_ecc/common/algae/ecsource \
|
||||
ECC_SRCDIR = ../../libraries/acsign_ecc/common \
|
||||
../../libraries/acsign_ecc/common/algae/common/ecc \
|
||||
../../libraries/acsign_ecc/common/algae/cmp \
|
||||
../../libraries/acsign_ecc/common/algae/ecsource \
|
||||
|
||||
ECC_INCDIR = ../../libraries/acsign_ecc/include \
|
||||
../../libraries/acsign_ecc/common/algae/include \
|
||||
../../libraries/acsign_ecc/common/algae/common/include \
|
||||
ECC_INCDIR = ../../libraries/acsign_ecc/include \
|
||||
../../libraries/acsign_ecc/common/algae/include \
|
||||
../../libraries/acsign_ecc/common/algae/common/include \
|
||||
|
||||
ECC_SRCS = acsign_ecc.c acsign_cryptoc.c \
|
||||
\
|
||||
cmparith.c cmpbits.c cmpcnv.c cmpdiv.c cmpmem.c \
|
||||
cmpmod.c cmpmuldv.c cmpspprt.c cmpsqr.c cmpvectr.c \
|
||||
computem.c ecfpatbl.c ecfpsmul.c \
|
||||
spcprime.c secfpcom.c \
|
||||
\
|
||||
p224v1.c p224v1a.c \
|
||||
ECC_SRCS = acsign_ecc.c acsign_cryptoc.c \
|
||||
\
|
||||
cmparith.c cmpbits.c cmpcnv.c cmpdiv.c cmpmem.c \
|
||||
cmpmod.c cmpmuldv.c cmpspprt.c cmpsqr.c cmpvectr.c \
|
||||
computem.c ecfpatbl.c ecfpsmul.c \
|
||||
spcprime.c secfpcom.c \
|
||||
\
|
||||
p224v1.c p224v1a.c \
|
||||
|
||||
ECC_DEFS = -DRSA_PROTOTYPES=RSA_ENABLED \
|
||||
-DRCOM_BUILD=RSA_ENABLED -DRSA_FAST_INVERSE=RSA_ENABLED \
|
||||
-DRSA_STD_MEM_FUNCS=RSA_ENABLED -DRSA_STD_ALLOC_FUNCS=RSA_ENABLED \
|
||||
ECC_DEFS = -DRSA_PROTOTYPES=RSA_ENABLED \
|
||||
-DRCOM_BUILD=RSA_ENABLED -DRSA_FAST_INVERSE=RSA_ENABLED \
|
||||
-DRSA_STD_MEM_FUNCS=RSA_ENABLED -DRSA_STD_ALLOC_FUNCS=RSA_ENABLED \
|
||||
else
|
||||
ECC_SRCDIR =
|
||||
ECC_INCDIR =
|
||||
ECC_SRCS =
|
||||
ECC_DEFS =
|
||||
ECC_SRCDIR =
|
||||
ECC_INCDIR =
|
||||
ECC_SRCS =
|
||||
ECC_DEFS =
|
||||
endif
|
||||
|
||||
SRCDIR += ../acsign $(ECC_SRCDIR)
|
||||
INCDIR += ../acsign/include $(ECC_INCDIR) $(ECC_SRCDIR)
|
||||
SRCDIR += ../acsign $(ECC_SRCDIR)
|
||||
INCDIR += ../acsign/include $(ECC_INCDIR) $(ECC_SRCDIR)
|
||||
|
||||
|
||||
include $(TWLFIRM_ROOT)/build/buildtools/commondefs
|
||||
|
||||
TARGETS = makenandfirm.exe
|
||||
TARGETS = makenandfirm.exe
|
||||
|
||||
SOURCES_C = makenandfirm.c \
|
||||
out_nandfirm.c \
|
||||
misc.c \
|
||||
path.c \
|
||||
defval.c \
|
||||
compress.c \
|
||||
wram_regs.c \
|
||||
acsign.c \
|
||||
acsign_nand.c \
|
||||
aes2.c \
|
||||
$(ECC_SRCS)
|
||||
SOURCES_C = makenandfirm.c \
|
||||
out_nandfirm.c \
|
||||
misc.c \
|
||||
path.c \
|
||||
defval.c \
|
||||
compress.c \
|
||||
wram_regs.c \
|
||||
acsign.c \
|
||||
acsign_nand.c \
|
||||
aes2.c \
|
||||
$(ECC_SRCS)
|
||||
|
||||
SOURCES = $(SORUCES_C)
|
||||
SOURCES = $(SORUCES_C)
|
||||
|
||||
OBJECTS = $(SOURCES_C:.c=.o)
|
||||
OBJECTS = $(SOURCES_C:.c=.o)
|
||||
|
||||
HEADERS = format_nlist.h \
|
||||
makenandfirm.h \
|
||||
path.h \
|
||||
format_rom.h \
|
||||
misc.h \
|
||||
defval.h \
|
||||
compress.h \
|
||||
HEADERS = format_nlist.h \
|
||||
makenandfirm.h \
|
||||
path.h \
|
||||
format_rom.h \
|
||||
misc.h \
|
||||
defval.h \
|
||||
compress.h \
|
||||
|
||||
MACROS += -DSMALL_CODE_SIZE \
|
||||
-DSTANDALONE \
|
||||
-DOPT_32_BIT \
|
||||
-DNO_SPLIT \
|
||||
-DNO_FP_API \
|
||||
-DNO_R_DIAG \
|
||||
$(ECC_DEFS)
|
||||
MACROS += -DSMALL_CODE_SIZE \
|
||||
-DSTANDALONE \
|
||||
-DOPT_32_BIT \
|
||||
-DNO_SPLIT \
|
||||
-DNO_FP_API \
|
||||
-DNO_R_DIAG \
|
||||
$(ECC_DEFS)
|
||||
|
||||
INSTALL_DIR = $(FIRM_INSTALL_TOOLSDIR)/bin
|
||||
INSTALL_TARGETS = $(TARGETS)
|
||||
INSTALL_DIR = $(FIRM_INSTALL_TOOLSDIR)/bin
|
||||
INSTALL_TARGETS = $(TARGETS)
|
||||
|
||||
LDIRT_CLEAN = $(OBJECTS) $(TARGETS) version.h
|
||||
LDIRT_CLEAN = $(OBJECTS) $(TARGETS) version.h
|
||||
|
||||
|
||||
VPATH = $(SRCDIR)
|
||||
NITRO_INCDIR := $(FIRM_INCDIR) -I$(TWL_INCDIR) -I$(NITRO_INCDIR) $(addprefix -I,$(INCDIR))
|
||||
VPATH = $(SRCDIR)
|
||||
TWL_INCDIR := $(TWL_INCDIR) $(addprefix -I,$(INCDIR)) $(addprefix -I,$(FIRM_INCDIR))
|
||||
|
||||
include $(TWL_NITROSDK_ROOT)/build/buildtools/modulerules.x86
|
||||
include $(TWLSDK_ROOT)/build/buildtools/twl/modulerules.x86
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# build
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h> // atoi()
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef COMPRESS_H_
|
||||
#define COMPRESS_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef FORMAT_NLIST_H_
|
||||
#define FORMAT_NLIST_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef FORMAT_ROM_H_
|
||||
#define FORMAT_ROM_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef FIRM_MAKENANDFIRM_ACSIGN_FORMAT_H_
|
||||
#define FIRM_MAKENANDFIRM_ACSIGN_FORMAT_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef MAKENANDFIRM_H_
|
||||
#define MAKENANDFIRM_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#include <stdio.h>
|
||||
#include <malloc.h> // calloc()
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef MISC_H_
|
||||
#define MISC_H_
|
||||
@ -32,6 +33,8 @@ typedef signed char s8;
|
||||
typedef signed short int s16;
|
||||
typedef signed long int s32;
|
||||
typedef signed long long s64;
|
||||
typedef volatile u32 vu32;
|
||||
typedef vu32 REGType32v;
|
||||
|
||||
#define error(...) do { fprintf(stderr, "Error: "); \
|
||||
fprintf(stderr, __VA_ARGS__); \
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h> // atoi()
|
||||
@ -33,7 +34,6 @@
|
||||
#include "compress.h"
|
||||
|
||||
#define SDK_ASM
|
||||
#include <twl/mi/wram_abc.h>
|
||||
|
||||
#include <firm/aes/ARM7/aes_ids.h>
|
||||
#include "../acsign/aes2.h"
|
||||
|
||||
@ -11,8 +11,9 @@
|
||||
# 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: $
|
||||
# $Date:: $
|
||||
# $Rev:$
|
||||
# $Author:$
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
SUBDIRS =
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#include <twl/mi.h>
|
||||
#include <firm/format/wram_regs.h>
|
||||
|
||||
@ -10,70 +10,86 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#include "format_rom.h"
|
||||
#define SDK_ASM
|
||||
#include <twl/mi/wram_abc.h>
|
||||
//#define SDK_ASM
|
||||
#define NITRO_TYPES_H_
|
||||
#include <twl/hw/ARM9/ioreg_MI.h>
|
||||
#include <twl/mi/common/sharedWram.h>
|
||||
#include <firm/format/wram_regs.h>
|
||||
|
||||
// define macro -------------------------------------------
|
||||
#define MI_WRAM_MAP_NULL HW_WRAM_AREA
|
||||
|
||||
#define REG_WRAM_MAP_CONV_ADDR( regno, abc, border, addr ) \
|
||||
( \
|
||||
((((addr) - HW_WRAM_AREA) / MI_WRAM_##abc##_SLOT_SIZE) & \
|
||||
(REG_MI_MBK##regno##_W##abc##_##border##_MASK >> \
|
||||
REG_MI_MBK##regno##_W##abc##_##border##_SHIFT)) \
|
||||
)
|
||||
|
||||
|
||||
// global variables----------------------------------------
|
||||
MIHeader_WramRegs wram_regs_init =
|
||||
{
|
||||
// ARM9
|
||||
{
|
||||
REG_WRAM_A_BNK_PACK(0, MI_WRAM_A_ARM7, MI_WRAM_A_OFS_0KB, TRUE),
|
||||
REG_WRAM_A_BNK_PACK(1, MI_WRAM_A_ARM7, MI_WRAM_A_OFS_64KB, TRUE),
|
||||
REG_WRAM_A_BNK_PACK(2, MI_WRAM_A_ARM7, MI_WRAM_A_OFS_128KB, TRUE),
|
||||
REG_WRAM_A_BNK_PACK(3, MI_WRAM_A_ARM7, MI_WRAM_A_OFS_192KB, TRUE),
|
||||
REG_MI_MBK_A0_FIELD( 1, MI_WRAM_OFFSET_0KB , MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_A1_FIELD( 1, MI_WRAM_OFFSET_64KB , MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_A2_FIELD( 1, MI_WRAM_OFFSET_128KB, MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_A3_FIELD( 1, MI_WRAM_OFFSET_192KB, MI_WRAM_ARM7 ),
|
||||
},
|
||||
{
|
||||
REG_WRAM_B_BNK_PACK(0, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_0KB, TRUE),
|
||||
REG_WRAM_B_BNK_PACK(1, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_32KB, TRUE),
|
||||
REG_WRAM_B_BNK_PACK(2, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_64KB, TRUE),
|
||||
REG_WRAM_B_BNK_PACK(3, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_96KB, TRUE),
|
||||
REG_WRAM_B_BNK_PACK(4, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_128KB, TRUE),
|
||||
REG_WRAM_B_BNK_PACK(5, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_160KB, TRUE),
|
||||
REG_WRAM_B_BNK_PACK(6, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_192KB, TRUE),
|
||||
REG_WRAM_B_BNK_PACK(7, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_224KB, TRUE),
|
||||
REG_MI_MBK_B0_FIELD( 1, MI_WRAM_OFFSET_0KB , MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_B1_FIELD( 1, MI_WRAM_OFFSET_32KB , MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_B2_FIELD( 1, MI_WRAM_OFFSET_64KB , MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_B3_FIELD( 1, MI_WRAM_OFFSET_96KB , MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_B4_FIELD( 1, MI_WRAM_OFFSET_128KB, MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_B5_FIELD( 1, MI_WRAM_OFFSET_160KB, MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_B6_FIELD( 1, MI_WRAM_OFFSET_192KB, MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_B7_FIELD( 1, MI_WRAM_OFFSET_224KB, MI_WRAM_ARM7 ),
|
||||
},
|
||||
{
|
||||
REG_WRAM_C_BNK_PACK(0, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_0KB, TRUE),
|
||||
REG_WRAM_C_BNK_PACK(1, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_32KB, TRUE),
|
||||
REG_WRAM_C_BNK_PACK(2, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_64KB, TRUE),
|
||||
REG_WRAM_C_BNK_PACK(3, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_96KB, TRUE),
|
||||
REG_WRAM_C_BNK_PACK(4, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_128KB, TRUE),
|
||||
REG_WRAM_C_BNK_PACK(5, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_160KB, TRUE),
|
||||
REG_WRAM_C_BNK_PACK(6, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_192KB, TRUE),
|
||||
REG_WRAM_C_BNK_PACK(7, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_224KB, TRUE),
|
||||
REG_MI_MBK_C0_FIELD( 1, MI_WRAM_OFFSET_0KB , MI_WRAM_ARM9 ),
|
||||
REG_MI_MBK_C1_FIELD( 1, MI_WRAM_OFFSET_32KB , MI_WRAM_ARM9 ),
|
||||
REG_MI_MBK_C2_FIELD( 1, MI_WRAM_OFFSET_64KB , MI_WRAM_ARM9 ),
|
||||
REG_MI_MBK_C3_FIELD( 1, MI_WRAM_OFFSET_96KB , MI_WRAM_ARM9 ),
|
||||
REG_MI_MBK_C4_FIELD( 1, MI_WRAM_OFFSET_128KB, MI_WRAM_ARM9 ),
|
||||
REG_MI_MBK_C5_FIELD( 1, MI_WRAM_OFFSET_160KB, MI_WRAM_ARM9 ),
|
||||
REG_MI_MBK_C6_FIELD( 1, MI_WRAM_OFFSET_192KB, MI_WRAM_ARM9 ),
|
||||
REG_MI_MBK_C7_FIELD( 1, MI_WRAM_OFFSET_224KB, MI_WRAM_ARM9 ),
|
||||
},
|
||||
REG_WRAM_A_MAP_PACK(MI_WRAM_MAP_NULL,
|
||||
MI_WRAM_MAP_NULL,
|
||||
MI_WRAM_A_IMG_128KB
|
||||
),
|
||||
REG_WRAM_B_MAP_PACK(MI_WRAM_MAP_NULL,
|
||||
MI_WRAM_MAP_NULL,
|
||||
MI_WRAM_B_IMG_128KB
|
||||
),
|
||||
REG_WRAM_C_MAP_PACK(HW_WRAM_AREA_HALF,
|
||||
HW_WRAM_AREA_HALF + 0x00020000,
|
||||
MI_WRAM_C_IMG_128KB
|
||||
),
|
||||
REG_MI_MBK6_FIELD( REG_WRAM_MAP_CONV_ADDR( 6, A, EADDR, MI_WRAM_MAP_NULL ),
|
||||
MI_WRAM_IMAGE_128KB,
|
||||
REG_WRAM_MAP_CONV_ADDR( 6, A, SADDR, MI_WRAM_MAP_NULL )
|
||||
),
|
||||
REG_MI_MBK7_FIELD( REG_WRAM_MAP_CONV_ADDR( 7, B, EADDR, MI_WRAM_MAP_NULL ),
|
||||
MI_WRAM_IMAGE_128KB,
|
||||
REG_WRAM_MAP_CONV_ADDR( 7, B, SADDR, MI_WRAM_MAP_NULL )
|
||||
),
|
||||
REG_MI_MBK8_FIELD( REG_WRAM_MAP_CONV_ADDR( 8, C, EADDR, HW_WRAM_AREA_HALF + 0x00020000 ),
|
||||
MI_WRAM_IMAGE_128KB,
|
||||
REG_WRAM_MAP_CONV_ADDR( 8, C, SADDR, HW_WRAM_AREA_HALF )
|
||||
),
|
||||
|
||||
// ARM7
|
||||
REG_WRAM_A_MAP_PACK(HW_WRAM_AREA_HALF,
|
||||
HW_WRAM_AREA_HALF + 0x00020000,
|
||||
MI_WRAM_A_IMG_128KB
|
||||
),
|
||||
REG_WRAM_B_MAP_PACK(HW_WRAM_AREA_HALF + 0x00020000,
|
||||
HW_WRAM_AREA_HALF + 0x00040000,
|
||||
MI_WRAM_B_IMG_128KB
|
||||
),
|
||||
REG_WRAM_C_MAP_PACK(MI_WRAM_MAP_NULL,
|
||||
MI_WRAM_MAP_NULL,
|
||||
MI_WRAM_C_IMG_128KB
|
||||
),
|
||||
// WRAM Lock
|
||||
REG_MI_MBK6_FIELD( REG_WRAM_MAP_CONV_ADDR( 6, A, EADDR, HW_WRAM_AREA_HALF + 0x00020000 ),
|
||||
MI_WRAM_IMAGE_128KB,
|
||||
REG_WRAM_MAP_CONV_ADDR( 6, A, SADDR, HW_WRAM_AREA_HALF )
|
||||
),
|
||||
REG_MI_MBK7_FIELD( REG_WRAM_MAP_CONV_ADDR( 7, B, EADDR, HW_WRAM_AREA_HALF + 0x00040000 ),
|
||||
MI_WRAM_IMAGE_128KB,
|
||||
REG_WRAM_MAP_CONV_ADDR( 7, B, SADDR, HW_WRAM_AREA_HALF + 0x00020000 )
|
||||
),
|
||||
REG_MI_MBK8_FIELD( REG_WRAM_MAP_CONV_ADDR( 8, C, EADDR, MI_WRAM_MAP_NULL ),
|
||||
MI_WRAM_IMAGE_128KB,
|
||||
REG_WRAM_MAP_CONV_ADDR( 8, C, SADDR, MI_WRAM_MAP_NULL )
|
||||
),
|
||||
|
||||
// WRAM Lock
|
||||
{
|
||||
0,
|
||||
0,
|
||||
|
||||
@ -15,87 +15,89 @@
|
||||
# $NoKeywords: $
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
SUPPORT_ECC = 0
|
||||
TARGET_PLATFORM = TWL
|
||||
|
||||
SUPPORT_ECC = 0
|
||||
|
||||
ifeq ($(SUPPORT_ECC),1)
|
||||
ECC_SRCDIR = ../../libraries/acsign_ecc/common \
|
||||
../../libraries/acsign_ecc/common/algae/common/ecc \
|
||||
../../libraries/acsign_ecc/common/algae/cmp \
|
||||
../../libraries/acsign_ecc/common/algae/ecsource \
|
||||
ECC_SRCDIR = ../../libraries/acsign_ecc/common \
|
||||
../../libraries/acsign_ecc/common/algae/common/ecc \
|
||||
../../libraries/acsign_ecc/common/algae/cmp \
|
||||
../../libraries/acsign_ecc/common/algae/ecsource \
|
||||
|
||||
ECC_INCDIR = ../../libraries/acsign_ecc/include \
|
||||
../../libraries/acsign_ecc/common/algae/include \
|
||||
../../libraries/acsign_ecc/common/algae/common/include \
|
||||
ECC_INCDIR = ../../libraries/acsign_ecc/include \
|
||||
../../libraries/acsign_ecc/common/algae/include \
|
||||
../../libraries/acsign_ecc/common/algae/common/include \
|
||||
|
||||
ECC_SRCS = acsign_ecc.c acsign_cryptoc.c \
|
||||
\
|
||||
cmparith.c cmpbits.c cmpcnv.c cmpdiv.c cmpmem.c \
|
||||
cmpmod.c cmpmuldv.c cmpspprt.c cmpsqr.c cmpvectr.c \
|
||||
computem.c ecfpatbl.c ecfpsmul.c \
|
||||
spcprime.c secfpcom.c \
|
||||
\
|
||||
p224v1.c p224v1a.c \
|
||||
ECC_SRCS = acsign_ecc.c acsign_cryptoc.c \
|
||||
\
|
||||
cmparith.c cmpbits.c cmpcnv.c cmpdiv.c cmpmem.c \
|
||||
cmpmod.c cmpmuldv.c cmpspprt.c cmpsqr.c cmpvectr.c \
|
||||
computem.c ecfpatbl.c ecfpsmul.c \
|
||||
spcprime.c secfpcom.c \
|
||||
\
|
||||
p224v1.c p224v1a.c \
|
||||
|
||||
ECC_DEFS = -DRSA_PROTOTYPES=RSA_ENABLED \
|
||||
-DRCOM_BUILD=RSA_ENABLED -DRSA_FAST_INVERSE=RSA_ENABLED \
|
||||
-DRSA_STD_MEM_FUNCS=RSA_ENABLED -DRSA_STD_ALLOC_FUNCS=RSA_ENABLED \
|
||||
ECC_DEFS = -DRSA_PROTOTYPES=RSA_ENABLED \
|
||||
-DRCOM_BUILD=RSA_ENABLED -DRSA_FAST_INVERSE=RSA_ENABLED \
|
||||
-DRSA_STD_MEM_FUNCS=RSA_ENABLED -DRSA_STD_ALLOC_FUNCS=RSA_ENABLED \
|
||||
else
|
||||
ECC_SRCDIR =
|
||||
ECC_INCDIR =
|
||||
ECC_SRCS =
|
||||
ECC_DEFS =
|
||||
ECC_SRCDIR =
|
||||
ECC_INCDIR =
|
||||
ECC_SRCS =
|
||||
ECC_DEFS =
|
||||
endif
|
||||
|
||||
SRCDIR += ../acsign $(ECC_SRCDIR)
|
||||
INCDIR += ../acsign/include $(ECC_INCDIR) $(ECC_SRCDIR)
|
||||
SRCDIR += ../acsign $(ECC_SRCDIR)
|
||||
INCDIR += ../acsign/include $(ECC_INCDIR) $(ECC_SRCDIR)
|
||||
|
||||
|
||||
include $(TWLFIRM_ROOT)/build/buildtools/commondefs
|
||||
|
||||
TARGETS = makenorfirm.exe
|
||||
TARGETS = makenorfirm.exe
|
||||
|
||||
SOURCES_C = makenorfirm.c \
|
||||
out_norfirm.c \
|
||||
misc.c \
|
||||
path.c \
|
||||
defval.c \
|
||||
compress.c \
|
||||
wram_regs.c \
|
||||
acsign.c \
|
||||
acsign_nor.c \
|
||||
aes2.c \
|
||||
$(ECC_SRCS)
|
||||
SOURCES_C = makenorfirm.c \
|
||||
out_norfirm.c \
|
||||
misc.c \
|
||||
path.c \
|
||||
defval.c \
|
||||
compress.c \
|
||||
wram_regs.c \
|
||||
acsign.c \
|
||||
acsign_nor.c \
|
||||
aes2.c \
|
||||
$(ECC_SRCS)
|
||||
|
||||
SOURCES = $(SORUCES_C)
|
||||
SOURCES = $(SORUCES_C)
|
||||
|
||||
OBJECTS = $(SOURCES_C:.c=.o)
|
||||
OBJECTS = $(SOURCES_C:.c=.o)
|
||||
|
||||
HEADERS = format_nlist.h \
|
||||
makenorfirm.h \
|
||||
path.h \
|
||||
format_rom.h \
|
||||
misc.h \
|
||||
defval.h \
|
||||
compress.h \
|
||||
HEADERS = format_nlist.h \
|
||||
makenorfirm.h \
|
||||
path.h \
|
||||
format_rom.h \
|
||||
misc.h \
|
||||
defval.h \
|
||||
compress.h \
|
||||
|
||||
MACROS += -DSMALL_CODE_SIZE \
|
||||
-DSTANDALONE \
|
||||
-DOPT_32_BIT \
|
||||
-DNO_SPLIT \
|
||||
-DNO_FP_API \
|
||||
-DNO_R_DIAG \
|
||||
$(ECC_DEFS)
|
||||
MACROS += -DSMALL_CODE_SIZE \
|
||||
-DSTANDALONE \
|
||||
-DOPT_32_BIT \
|
||||
-DNO_SPLIT \
|
||||
-DNO_FP_API \
|
||||
-DNO_R_DIAG \
|
||||
$(ECC_DEFS)
|
||||
|
||||
INSTALL_DIR = $(FIRM_INSTALL_TOOLSDIR)/bin
|
||||
INSTALL_TARGETS = $(TARGETS)
|
||||
INSTALL_DIR = $(FIRM_INSTALL_TOOLSDIR)/bin
|
||||
INSTALL_TARGETS = $(TARGETS)
|
||||
|
||||
LDIRT_CLEAN = $(OBJECTS) $(TARGETS) version.h
|
||||
LDIRT_CLEAN = $(OBJECTS) $(TARGETS) version.h
|
||||
|
||||
|
||||
VPATH = $(SRCDIR)
|
||||
NITRO_INCDIR := $(FIRM_INCDIR) -I$(TWL_INCDIR) -I$(NITRO_INCDIR) $(addprefix -I,$(INCDIR))
|
||||
VPATH = $(SRCDIR)
|
||||
TWL_INCDIR := $(TWL_INCDIR) $(addprefix -I,$(INCDIR)) $(addprefix -I,$(FIRM_INCDIR))
|
||||
|
||||
include $(TWL_NITROSDK_ROOT)/build/buildtools/modulerules.x86
|
||||
include $(TWLSDK_ROOT)/build/buildtools/twl/modulerules.x86
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
# build
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h> // atoi()
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef COMPRESS_H_
|
||||
#define COMPRESS_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef FORMAT_NLIST_H_
|
||||
#define FORMAT_NLIST_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef FORMAT_ROM_H_
|
||||
#define FORMAT_ROM_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef FIRM_MAKENORFIRM_ACSIGN_FORMAT_H_
|
||||
#define FIRM_MAKENORFIRM_ACSIGN_FORMAT_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef MAKENORFIRM_H_
|
||||
#define MAKENORFIRM_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#include <stdio.h>
|
||||
#include <malloc.h> // calloc()
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef MISC_H_
|
||||
#define MISC_H_
|
||||
@ -32,6 +33,8 @@ typedef signed char s8;
|
||||
typedef signed short int s16;
|
||||
typedef signed long int s32;
|
||||
typedef signed long long s64;
|
||||
typedef volatile u32 vu32;
|
||||
typedef vu32 REGType32v;
|
||||
|
||||
#define error(...) do { fprintf(stderr, "Error: "); \
|
||||
fprintf(stderr, __VA_ARGS__); \
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h> // atoi()
|
||||
@ -33,7 +34,6 @@
|
||||
#include "compress.h"
|
||||
|
||||
#define SDK_ASM
|
||||
#include <twl/mi/wram_abc.h>
|
||||
|
||||
#include <firm/aes/ARM7/aes_ids.h>
|
||||
#include "../acsign/aes2.h"
|
||||
|
||||
@ -11,8 +11,9 @@
|
||||
# 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: $
|
||||
# $Date:: $
|
||||
# $Rev:$
|
||||
# $Author:$
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
SUBDIRS =
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#include <twl/mi.h>
|
||||
#include <firm/format/wram_regs.h>
|
||||
|
||||
@ -10,70 +10,86 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#include "format_rom.h"
|
||||
#define SDK_ASM
|
||||
#include <twl/mi/wram_abc.h>
|
||||
//#define SDK_ASM
|
||||
#define NITRO_TYPES_H_
|
||||
#include <twl/hw/ARM9/ioreg_MI.h>
|
||||
#include <twl/mi/common/sharedWram.h>
|
||||
#include <firm/format/wram_regs.h>
|
||||
|
||||
// define macro -------------------------------------------
|
||||
#define MI_WRAM_MAP_NULL HW_WRAM_AREA
|
||||
|
||||
#define REG_WRAM_MAP_CONV_ADDR( regno, abc, border, addr ) \
|
||||
( \
|
||||
((((addr) - HW_WRAM_AREA) / MI_WRAM_##abc##_SLOT_SIZE) & \
|
||||
(REG_MI_MBK##regno##_W##abc##_##border##_MASK >> \
|
||||
REG_MI_MBK##regno##_W##abc##_##border##_SHIFT)) \
|
||||
)
|
||||
|
||||
|
||||
// global variables----------------------------------------
|
||||
MIHeader_WramRegs wram_regs_init =
|
||||
{
|
||||
// ARM9
|
||||
{
|
||||
REG_WRAM_A_BNK_PACK(0, MI_WRAM_A_ARM7, MI_WRAM_A_OFS_0KB, TRUE),
|
||||
REG_WRAM_A_BNK_PACK(1, MI_WRAM_A_ARM7, MI_WRAM_A_OFS_64KB, TRUE),
|
||||
REG_WRAM_A_BNK_PACK(2, MI_WRAM_A_ARM7, MI_WRAM_A_OFS_128KB, TRUE),
|
||||
REG_WRAM_A_BNK_PACK(3, MI_WRAM_A_ARM7, MI_WRAM_A_OFS_192KB, TRUE),
|
||||
REG_MI_MBK_A0_FIELD( 1, MI_WRAM_OFFSET_0KB , MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_A1_FIELD( 1, MI_WRAM_OFFSET_64KB , MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_A2_FIELD( 1, MI_WRAM_OFFSET_128KB, MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_A3_FIELD( 1, MI_WRAM_OFFSET_192KB, MI_WRAM_ARM7 ),
|
||||
},
|
||||
{
|
||||
REG_WRAM_B_BNK_PACK(0, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_0KB, TRUE),
|
||||
REG_WRAM_B_BNK_PACK(1, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_32KB, TRUE),
|
||||
REG_WRAM_B_BNK_PACK(2, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_64KB, TRUE),
|
||||
REG_WRAM_B_BNK_PACK(3, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_96KB, TRUE),
|
||||
REG_WRAM_B_BNK_PACK(4, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_128KB, TRUE),
|
||||
REG_WRAM_B_BNK_PACK(5, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_160KB, TRUE),
|
||||
REG_WRAM_B_BNK_PACK(6, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_192KB, TRUE),
|
||||
REG_WRAM_B_BNK_PACK(7, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_224KB, TRUE),
|
||||
REG_MI_MBK_B0_FIELD( 1, MI_WRAM_OFFSET_0KB , MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_B1_FIELD( 1, MI_WRAM_OFFSET_32KB , MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_B2_FIELD( 1, MI_WRAM_OFFSET_64KB , MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_B3_FIELD( 1, MI_WRAM_OFFSET_96KB , MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_B4_FIELD( 1, MI_WRAM_OFFSET_128KB, MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_B5_FIELD( 1, MI_WRAM_OFFSET_160KB, MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_B6_FIELD( 1, MI_WRAM_OFFSET_192KB, MI_WRAM_ARM7 ),
|
||||
REG_MI_MBK_B7_FIELD( 1, MI_WRAM_OFFSET_224KB, MI_WRAM_ARM7 ),
|
||||
},
|
||||
{
|
||||
REG_WRAM_C_BNK_PACK(0, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_0KB, TRUE),
|
||||
REG_WRAM_C_BNK_PACK(1, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_32KB, TRUE),
|
||||
REG_WRAM_C_BNK_PACK(2, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_64KB, TRUE),
|
||||
REG_WRAM_C_BNK_PACK(3, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_96KB, TRUE),
|
||||
REG_WRAM_C_BNK_PACK(4, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_128KB, TRUE),
|
||||
REG_WRAM_C_BNK_PACK(5, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_160KB, TRUE),
|
||||
REG_WRAM_C_BNK_PACK(6, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_192KB, TRUE),
|
||||
REG_WRAM_C_BNK_PACK(7, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_224KB, TRUE),
|
||||
REG_MI_MBK_C0_FIELD( 1, MI_WRAM_OFFSET_0KB , MI_WRAM_ARM9 ),
|
||||
REG_MI_MBK_C1_FIELD( 1, MI_WRAM_OFFSET_32KB , MI_WRAM_ARM9 ),
|
||||
REG_MI_MBK_C2_FIELD( 1, MI_WRAM_OFFSET_64KB , MI_WRAM_ARM9 ),
|
||||
REG_MI_MBK_C3_FIELD( 1, MI_WRAM_OFFSET_96KB , MI_WRAM_ARM9 ),
|
||||
REG_MI_MBK_C4_FIELD( 1, MI_WRAM_OFFSET_128KB, MI_WRAM_ARM9 ),
|
||||
REG_MI_MBK_C5_FIELD( 1, MI_WRAM_OFFSET_160KB, MI_WRAM_ARM9 ),
|
||||
REG_MI_MBK_C6_FIELD( 1, MI_WRAM_OFFSET_192KB, MI_WRAM_ARM9 ),
|
||||
REG_MI_MBK_C7_FIELD( 1, MI_WRAM_OFFSET_224KB, MI_WRAM_ARM9 ),
|
||||
},
|
||||
REG_WRAM_A_MAP_PACK(MI_WRAM_MAP_NULL,
|
||||
MI_WRAM_MAP_NULL,
|
||||
MI_WRAM_A_IMG_128KB
|
||||
),
|
||||
REG_WRAM_B_MAP_PACK(MI_WRAM_MAP_NULL,
|
||||
MI_WRAM_MAP_NULL,
|
||||
MI_WRAM_B_IMG_128KB
|
||||
),
|
||||
REG_WRAM_C_MAP_PACK(HW_WRAM_AREA_HALF,
|
||||
HW_WRAM_AREA_HALF + 0x00020000,
|
||||
MI_WRAM_C_IMG_128KB
|
||||
),
|
||||
REG_MI_MBK6_FIELD( REG_WRAM_MAP_CONV_ADDR( 6, A, EADDR, MI_WRAM_MAP_NULL ),
|
||||
MI_WRAM_IMAGE_128KB,
|
||||
REG_WRAM_MAP_CONV_ADDR( 6, A, SADDR, MI_WRAM_MAP_NULL )
|
||||
),
|
||||
REG_MI_MBK7_FIELD( REG_WRAM_MAP_CONV_ADDR( 7, B, EADDR, MI_WRAM_MAP_NULL ),
|
||||
MI_WRAM_IMAGE_128KB,
|
||||
REG_WRAM_MAP_CONV_ADDR( 7, B, SADDR, MI_WRAM_MAP_NULL )
|
||||
),
|
||||
REG_MI_MBK8_FIELD( REG_WRAM_MAP_CONV_ADDR( 8, C, EADDR, HW_WRAM_AREA_HALF + 0x00020000 ),
|
||||
MI_WRAM_IMAGE_128KB,
|
||||
REG_WRAM_MAP_CONV_ADDR( 8, C, SADDR, HW_WRAM_AREA_HALF )
|
||||
),
|
||||
|
||||
// ARM7
|
||||
REG_WRAM_A_MAP_PACK(HW_WRAM_AREA_HALF,
|
||||
HW_WRAM_AREA_HALF + 0x00020000,
|
||||
MI_WRAM_A_IMG_128KB
|
||||
),
|
||||
REG_WRAM_B_MAP_PACK(HW_WRAM_AREA_HALF + 0x00020000,
|
||||
HW_WRAM_AREA_HALF + 0x00040000,
|
||||
MI_WRAM_B_IMG_128KB
|
||||
),
|
||||
REG_WRAM_C_MAP_PACK(MI_WRAM_MAP_NULL,
|
||||
MI_WRAM_MAP_NULL,
|
||||
MI_WRAM_C_IMG_128KB
|
||||
),
|
||||
// WRAM Lock
|
||||
REG_MI_MBK6_FIELD( REG_WRAM_MAP_CONV_ADDR( 6, A, EADDR, HW_WRAM_AREA_HALF + 0x00020000 ),
|
||||
MI_WRAM_IMAGE_128KB,
|
||||
REG_WRAM_MAP_CONV_ADDR( 6, A, SADDR, HW_WRAM_AREA_HALF )
|
||||
),
|
||||
REG_MI_MBK7_FIELD( REG_WRAM_MAP_CONV_ADDR( 7, B, EADDR, HW_WRAM_AREA_HALF + 0x00040000 ),
|
||||
MI_WRAM_IMAGE_128KB,
|
||||
REG_WRAM_MAP_CONV_ADDR( 7, B, SADDR, HW_WRAM_AREA_HALF + 0x00020000 )
|
||||
),
|
||||
REG_MI_MBK8_FIELD( REG_WRAM_MAP_CONV_ADDR( 8, C, EADDR, MI_WRAM_MAP_NULL ),
|
||||
MI_WRAM_IMAGE_128KB,
|
||||
REG_WRAM_MAP_CONV_ADDR( 8, C, SADDR, MI_WRAM_MAP_NULL )
|
||||
),
|
||||
|
||||
// WRAM Lock
|
||||
{
|
||||
0,
|
||||
0,
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef FIRM_H_
|
||||
#define FIRM_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef FIRM_ACSIGN_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef FIRM_AES_H_
|
||||
#define FIRM_AES_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef TWL_AES_AES_IDS_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef TWL_AES_AES_INIT_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef FIRM_FORMAT_FIRM_COMMON_H_
|
||||
#define FIRM_FORMAT_FIRM_COMMON_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef FIRM_FORMAT_FROM_BROM_H_
|
||||
#define FIRM_FORMAT_FROM_BROM_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef FIRM_FORMAT_GCDFIRM_H_
|
||||
#define FIRM_FORMAT_GCDFIRM_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef FIRM_FORMAT_NAND_H_
|
||||
#define FIRM_FORMAT_NAND_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef FIRM_FORMAT_NOR_H_
|
||||
#define FIRM_FORMAT_NOR_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef FORMAT_SIGN_H_
|
||||
#define FORMAT_SIGN_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef FIRM_FORMAT_WRAM_REGS_H_
|
||||
#define FIRM_FORMAT_WRAM_REGS_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef FIRM_GCD_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef FIRM_GCD_BLOWFISH_H
|
||||
#define FIRM_GCD_BLOWFISH_H
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef FIRM_GCD_GCD_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef FIRM_GCD_GCD_MISC_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef FIRM_HW_MMAP_FIRM_H_
|
||||
#define FIRM_HW_MMAP_FIRM_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef FIRM_HW_MMAP_FIRM_H_
|
||||
#define FIRM_HW_MMAP_FIRM_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef FIRM_MEMORYMAP_H_
|
||||
#define FIRM_MEMORYMAP_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef FIRM_MI_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef FIRM_MI_MAINMEMORY_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef FIRM_MISC_H_
|
||||
#define FIRM_MISC_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef FIRM_NVRAM_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef FIRM_OS_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef FIRM_OS_BOOT_H_
|
||||
#define FIRM_OS_BOOT_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
#ifndef FIRM_OS_INIT_H_
|
||||
#define FIRM_OS_INIT_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef FIRM_OS_SYSTEMCALL_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef FRIM_OS_TICK_BROM_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef FIRM_PM_H_
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
# 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: $
|
||||
# $Date:: $
|
||||
# $Rev:$
|
||||
# $Author:$
|
||||
#----------------------------------------------------------------------------
|
||||
#
|
||||
# TwlFirm LCF SPEC FILE
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
# 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: $
|
||||
# $Date:: $
|
||||
# $Rev:$
|
||||
# $Author:$
|
||||
#----------------------------------------------------------------------------
|
||||
#
|
||||
# TwlFirm LCF SPEC FILE
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
# 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: $
|
||||
# $Date:: $
|
||||
# $Rev:$
|
||||
# $Author:$
|
||||
#----------------------------------------------------------------------------
|
||||
#
|
||||
# TwlFirm LCF SPEC FILE
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
# 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: $
|
||||
# $Date:: $
|
||||
# $Rev:$
|
||||
# $Author:$
|
||||
#----------------------------------------------------------------------------
|
||||
#
|
||||
# TwlFirm LCF SPEC FILE
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
# 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: $
|
||||
# $Date:: $
|
||||
# $Rev:$
|
||||
# $Author:$
|
||||
#----------------------------------------------------------------------------
|
||||
#
|
||||
# TwlFirm LCF SPEC FILE
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
# 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: $
|
||||
# $Date:: $
|
||||
# $Rev:$
|
||||
# $Author:$
|
||||
#----------------------------------------------------------------------------
|
||||
#
|
||||
# TwlFirm LCF SPEC FILE
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
# 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: $
|
||||
# $Date:: $
|
||||
# $Rev:$
|
||||
# $Author:$
|
||||
#----------------------------------------------------------------------------
|
||||
#
|
||||
# TwlFirm LCF SPEC FILE
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
# 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: $
|
||||
# $Date:: $
|
||||
# $Rev:$
|
||||
# $Author:$
|
||||
#----------------------------------------------------------------------------
|
||||
#
|
||||
# TwlFirm LCF SPEC FILE
|
||||
|
||||
@ -10,8 +10,9 @@
|
||||
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: $
|
||||
$Date:: $
|
||||
$Rev:$
|
||||
$Author:$
|
||||
*---------------------------------------------------------------------------*/
|
||||
|
||||
#ifndef TWL_OS_SYSTEMCALL_H_
|
||||
|
||||
Binary file not shown.
Loading…
Reference in New Issue
Block a user