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,
|
# 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.
|
# in whole or in part, without the prior written consent of Nintendo.
|
||||||
#
|
#
|
||||||
# $Log: $
|
# $Date:: $
|
||||||
# $NoKeywords: $
|
# $Rev:$
|
||||||
|
# $Author:$
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
ifndef TWLFIRM_COMMONDEFS_
|
ifndef TWLFIRM_COMMONDEFS_
|
||||||
TWLFIRM_COMMONDEFS_ = TRUE
|
TWLFIRM_COMMONDEFS_ = TRUE
|
||||||
|
|||||||
@ -11,8 +11,9 @@
|
|||||||
# not be disclosed to third parties or copied or duplicated in any form,
|
# 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.
|
# in whole or in part, without the prior written consent of Nintendo.
|
||||||
#
|
#
|
||||||
# $Log: $
|
# $Date:: $
|
||||||
# $NoKeywords: $
|
# $Rev:$
|
||||||
|
# $Author:$
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
ifndef TWLFIRM_MODULERULES_
|
ifndef TWLFIRM_MODULERULES_
|
||||||
|
|
||||||
|
|||||||
@ -11,8 +11,9 @@
|
|||||||
# not be disclosed to third parties or copied or duplicated in any form,
|
# 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.
|
# in whole or in part, without the prior written consent of Nintendo.
|
||||||
#
|
#
|
||||||
# $Log: $
|
# $Date:: $
|
||||||
# $NoKeywords: $
|
# $Rev:$
|
||||||
|
# $Author:$
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
include $(TWLSDK_ROOT)/build/buildtools/commondefs
|
include $(TWLSDK_ROOT)/build/buildtools/commondefs
|
||||||
|
|||||||
@ -15,87 +15,89 @@
|
|||||||
# $NoKeywords: $
|
# $NoKeywords: $
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
|
|
||||||
SUPPORT_ECC = 0
|
TARGET_PLATFORM = TWL
|
||||||
|
|
||||||
|
SUPPORT_ECC = 0
|
||||||
|
|
||||||
ifeq ($(SUPPORT_ECC),1)
|
ifeq ($(SUPPORT_ECC),1)
|
||||||
ECC_SRCDIR = ../../libraries/acsign_ecc/common \
|
ECC_SRCDIR = ../../libraries/acsign_ecc/common \
|
||||||
../../libraries/acsign_ecc/common/algae/common/ecc \
|
../../libraries/acsign_ecc/common/algae/common/ecc \
|
||||||
../../libraries/acsign_ecc/common/algae/cmp \
|
../../libraries/acsign_ecc/common/algae/cmp \
|
||||||
../../libraries/acsign_ecc/common/algae/ecsource \
|
../../libraries/acsign_ecc/common/algae/ecsource \
|
||||||
|
|
||||||
ECC_INCDIR = ../../libraries/acsign_ecc/include \
|
ECC_INCDIR = ../../libraries/acsign_ecc/include \
|
||||||
../../libraries/acsign_ecc/common/algae/include \
|
../../libraries/acsign_ecc/common/algae/include \
|
||||||
../../libraries/acsign_ecc/common/algae/common/include \
|
../../libraries/acsign_ecc/common/algae/common/include \
|
||||||
|
|
||||||
ECC_SRCS = acsign_ecc.c acsign_cryptoc.c \
|
ECC_SRCS = acsign_ecc.c acsign_cryptoc.c \
|
||||||
\
|
\
|
||||||
cmparith.c cmpbits.c cmpcnv.c cmpdiv.c cmpmem.c \
|
cmparith.c cmpbits.c cmpcnv.c cmpdiv.c cmpmem.c \
|
||||||
cmpmod.c cmpmuldv.c cmpspprt.c cmpsqr.c cmpvectr.c \
|
cmpmod.c cmpmuldv.c cmpspprt.c cmpsqr.c cmpvectr.c \
|
||||||
computem.c ecfpatbl.c ecfpsmul.c \
|
computem.c ecfpatbl.c ecfpsmul.c \
|
||||||
spcprime.c secfpcom.c \
|
spcprime.c secfpcom.c \
|
||||||
\
|
\
|
||||||
p224v1.c p224v1a.c \
|
p224v1.c p224v1a.c \
|
||||||
|
|
||||||
ECC_DEFS = -DRSA_PROTOTYPES=RSA_ENABLED \
|
ECC_DEFS = -DRSA_PROTOTYPES=RSA_ENABLED \
|
||||||
-DRCOM_BUILD=RSA_ENABLED -DRSA_FAST_INVERSE=RSA_ENABLED \
|
-DRCOM_BUILD=RSA_ENABLED -DRSA_FAST_INVERSE=RSA_ENABLED \
|
||||||
-DRSA_STD_MEM_FUNCS=RSA_ENABLED -DRSA_STD_ALLOC_FUNCS=RSA_ENABLED \
|
-DRSA_STD_MEM_FUNCS=RSA_ENABLED -DRSA_STD_ALLOC_FUNCS=RSA_ENABLED \
|
||||||
else
|
else
|
||||||
ECC_SRCDIR =
|
ECC_SRCDIR =
|
||||||
ECC_INCDIR =
|
ECC_INCDIR =
|
||||||
ECC_SRCS =
|
ECC_SRCS =
|
||||||
ECC_DEFS =
|
ECC_DEFS =
|
||||||
endif
|
endif
|
||||||
|
|
||||||
SRCDIR += ../acsign $(ECC_SRCDIR)
|
SRCDIR += ../acsign $(ECC_SRCDIR)
|
||||||
INCDIR += ../acsign/include $(ECC_INCDIR) $(ECC_SRCDIR)
|
INCDIR += ../acsign/include $(ECC_INCDIR) $(ECC_SRCDIR)
|
||||||
|
|
||||||
|
|
||||||
include $(TWLFIRM_ROOT)/build/buildtools/commondefs
|
include $(TWLFIRM_ROOT)/build/buildtools/commondefs
|
||||||
|
|
||||||
TARGETS = makegcdfirm.exe
|
TARGETS = makegcdfirm.exe
|
||||||
|
|
||||||
SOURCES_C = makegcdfirm.c \
|
SOURCES_C = makegcdfirm.c \
|
||||||
out_gcdfirm.c \
|
out_gcdfirm.c \
|
||||||
misc.c \
|
misc.c \
|
||||||
path.c \
|
path.c \
|
||||||
defval.c \
|
defval.c \
|
||||||
compress.c \
|
compress.c \
|
||||||
wram_regs.c \
|
wram_regs.c \
|
||||||
acsign.c \
|
acsign.c \
|
||||||
acsign_gcd.c \
|
acsign_gcd.c \
|
||||||
aes2.c \
|
aes2.c \
|
||||||
$(ECC_SRCS)
|
$(ECC_SRCS)
|
||||||
|
|
||||||
SOURCES = $(SORUCES_C)
|
SOURCES = $(SORUCES_C)
|
||||||
|
|
||||||
OBJECTS = $(SOURCES_C:.c=.o)
|
OBJECTS = $(SOURCES_C:.c=.o)
|
||||||
|
|
||||||
HEADERS = format_nlist.h \
|
HEADERS = format_nlist.h \
|
||||||
makegcdfirm.h \
|
makegcdfirm.h \
|
||||||
path.h \
|
path.h \
|
||||||
format_rom.h \
|
format_rom.h \
|
||||||
misc.h \
|
misc.h \
|
||||||
defval.h \
|
defval.h \
|
||||||
compress.h \
|
compress.h \
|
||||||
|
|
||||||
MACROS += -DSMALL_CODE_SIZE \
|
MACROS += -DSMALL_CODE_SIZE \
|
||||||
-DSTANDALONE \
|
-DSTANDALONE \
|
||||||
-DOPT_32_BIT \
|
-DOPT_32_BIT \
|
||||||
-DNO_SPLIT \
|
-DNO_SPLIT \
|
||||||
-DNO_FP_API \
|
-DNO_FP_API \
|
||||||
-DNO_R_DIAG \
|
-DNO_R_DIAG \
|
||||||
$(ECC_DEFS)
|
$(ECC_DEFS)
|
||||||
|
|
||||||
INSTALL_DIR = $(FIRM_INSTALL_TOOLSDIR)/bin
|
INSTALL_DIR = $(FIRM_INSTALL_TOOLSDIR)/bin
|
||||||
INSTALL_TARGETS = $(TARGETS)
|
INSTALL_TARGETS = $(TARGETS)
|
||||||
|
|
||||||
LDIRT_CLEAN = $(OBJECTS) $(TARGETS) version.h
|
LDIRT_CLEAN = $(OBJECTS) $(TARGETS) version.h
|
||||||
|
|
||||||
|
|
||||||
VPATH = $(SRCDIR)
|
VPATH = $(SRCDIR)
|
||||||
NITRO_INCDIR := $(FIRM_INCDIR) -I$(TWL_INCDIR) -I$(NITRO_INCDIR) $(addprefix -I,$(INCDIR))
|
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
|
# build
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h> // atoi()
|
#include <stdlib.h> // atoi()
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef COMPRESS_H_
|
#ifndef COMPRESS_H_
|
||||||
#define COMPRESS_H_
|
#define COMPRESS_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef FORMAT_NLIST_H_
|
#ifndef FORMAT_NLIST_H_
|
||||||
#define FORMAT_NLIST_H_
|
#define FORMAT_NLIST_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef FORMAT_ROM_H_
|
#ifndef FORMAT_ROM_H_
|
||||||
#define FORMAT_ROM_H_
|
#define FORMAT_ROM_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef FIRM_MAKENORFIRM_ACSIGN_FORMAT_H_
|
#ifndef FIRM_MAKENORFIRM_ACSIGN_FORMAT_H_
|
||||||
#define 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,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef MAKEGCDFIRM_H_
|
#ifndef MAKEGCDFIRM_H_
|
||||||
#define MAKEGCDFIRM_H_
|
#define MAKEGCDFIRM_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <malloc.h> // calloc()
|
#include <malloc.h> // calloc()
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef MISC_H_
|
#ifndef MISC_H_
|
||||||
#define MISC_H_
|
#define MISC_H_
|
||||||
@ -32,6 +33,8 @@ typedef signed char s8;
|
|||||||
typedef signed short int s16;
|
typedef signed short int s16;
|
||||||
typedef signed long int s32;
|
typedef signed long int s32;
|
||||||
typedef signed long long s64;
|
typedef signed long long s64;
|
||||||
|
typedef volatile u32 vu32;
|
||||||
|
typedef vu32 REGType32v;
|
||||||
|
|
||||||
#define error(...) do { fprintf(stderr, "Error: "); \
|
#define error(...) do { fprintf(stderr, "Error: "); \
|
||||||
fprintf(stderr, __VA_ARGS__); \
|
fprintf(stderr, __VA_ARGS__); \
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h> // atoi()
|
#include <stdlib.h> // atoi()
|
||||||
@ -33,7 +34,6 @@
|
|||||||
#include "compress.h"
|
#include "compress.h"
|
||||||
|
|
||||||
#define SDK_ASM
|
#define SDK_ASM
|
||||||
#include <twl/mi/wram_abc.h>
|
|
||||||
|
|
||||||
#include <firm/aes/ARM7/aes_ids.h>
|
#include <firm/aes/ARM7/aes_ids.h>
|
||||||
#include "../acsign/aes2.h"
|
#include "../acsign/aes2.h"
|
||||||
|
|||||||
@ -18,8 +18,5 @@ ARM9_X2 : TRUE # TRUE or FALSE
|
|||||||
NML_OFS : 0x80000
|
NML_OFS : 0x80000
|
||||||
TWL_OFS : 0x100000
|
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 : ARM7_HASH # SIGN, HEADER_HASH, ARM9_HASH, ARM7_HASH, HASH_TABLE_HASH or FINAL_HASH
|
||||||
ERROR : HEADER_FOOTER # for debug
|
ERROR : HEADER_FOOTER # for debug
|
||||||
|
|||||||
@ -11,8 +11,9 @@
|
|||||||
# not be disclosed to third parties or copied or duplicated in any form,
|
# 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.
|
# in whole or in part, without the prior written consent of Nintendo.
|
||||||
#
|
#
|
||||||
# $Log: $
|
# $Date:: $
|
||||||
# $NoKeywords: $
|
# $Rev:$
|
||||||
|
# $Author:$
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
SUBDIRS =
|
SUBDIRS =
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#include <twl/mi.h>
|
#include <twl/mi.h>
|
||||||
#include <firm/format/wram_regs.h>
|
#include <firm/format/wram_regs.h>
|
||||||
|
|||||||
@ -10,70 +10,86 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#include "format_rom.h"
|
#include "format_rom.h"
|
||||||
#define SDK_ASM
|
//#define SDK_ASM
|
||||||
#include <twl/mi/wram_abc.h>
|
#define NITRO_TYPES_H_
|
||||||
|
#include <twl/hw/ARM9/ioreg_MI.h>
|
||||||
|
#include <twl/mi/common/sharedWram.h>
|
||||||
#include <firm/format/wram_regs.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 =
|
MIHeader_WramRegs wram_regs_init =
|
||||||
{
|
{
|
||||||
// ARM9
|
// ARM9
|
||||||
{
|
{
|
||||||
REG_WRAM_A_BNK_PACK(0, MI_WRAM_A_ARM7, MI_WRAM_A_OFS_0KB, TRUE),
|
REG_MI_MBK_A0_FIELD( 1, MI_WRAM_OFFSET_0KB , MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_A_BNK_PACK(1, MI_WRAM_A_ARM7, MI_WRAM_A_OFS_64KB, TRUE),
|
REG_MI_MBK_A1_FIELD( 1, MI_WRAM_OFFSET_64KB , MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_A_BNK_PACK(2, MI_WRAM_A_ARM7, MI_WRAM_A_OFS_128KB, TRUE),
|
REG_MI_MBK_A2_FIELD( 1, MI_WRAM_OFFSET_128KB, MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_A_BNK_PACK(3, MI_WRAM_A_ARM7, MI_WRAM_A_OFS_192KB, TRUE),
|
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_MI_MBK_B0_FIELD( 1, MI_WRAM_OFFSET_0KB , MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_B_BNK_PACK(1, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_32KB, TRUE),
|
REG_MI_MBK_B1_FIELD( 1, MI_WRAM_OFFSET_32KB , MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_B_BNK_PACK(2, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_64KB, TRUE),
|
REG_MI_MBK_B2_FIELD( 1, MI_WRAM_OFFSET_64KB , MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_B_BNK_PACK(3, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_96KB, TRUE),
|
REG_MI_MBK_B3_FIELD( 1, MI_WRAM_OFFSET_96KB , MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_B_BNK_PACK(4, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_128KB, TRUE),
|
REG_MI_MBK_B4_FIELD( 1, MI_WRAM_OFFSET_128KB, MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_B_BNK_PACK(5, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_160KB, TRUE),
|
REG_MI_MBK_B5_FIELD( 1, MI_WRAM_OFFSET_160KB, MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_B_BNK_PACK(6, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_192KB, TRUE),
|
REG_MI_MBK_B6_FIELD( 1, MI_WRAM_OFFSET_192KB, MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_B_BNK_PACK(7, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_224KB, TRUE),
|
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_MI_MBK_C0_FIELD( 1, MI_WRAM_OFFSET_0KB , MI_WRAM_ARM9 ),
|
||||||
REG_WRAM_C_BNK_PACK(1, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_32KB, TRUE),
|
REG_MI_MBK_C1_FIELD( 1, MI_WRAM_OFFSET_32KB , MI_WRAM_ARM9 ),
|
||||||
REG_WRAM_C_BNK_PACK(2, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_64KB, TRUE),
|
REG_MI_MBK_C2_FIELD( 1, MI_WRAM_OFFSET_64KB , MI_WRAM_ARM9 ),
|
||||||
REG_WRAM_C_BNK_PACK(3, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_96KB, TRUE),
|
REG_MI_MBK_C3_FIELD( 1, MI_WRAM_OFFSET_96KB , MI_WRAM_ARM9 ),
|
||||||
REG_WRAM_C_BNK_PACK(4, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_128KB, TRUE),
|
REG_MI_MBK_C4_FIELD( 1, MI_WRAM_OFFSET_128KB, MI_WRAM_ARM9 ),
|
||||||
REG_WRAM_C_BNK_PACK(5, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_160KB, TRUE),
|
REG_MI_MBK_C5_FIELD( 1, MI_WRAM_OFFSET_160KB, MI_WRAM_ARM9 ),
|
||||||
REG_WRAM_C_BNK_PACK(6, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_192KB, TRUE),
|
REG_MI_MBK_C6_FIELD( 1, MI_WRAM_OFFSET_192KB, MI_WRAM_ARM9 ),
|
||||||
REG_WRAM_C_BNK_PACK(7, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_224KB, TRUE),
|
REG_MI_MBK_C7_FIELD( 1, MI_WRAM_OFFSET_224KB, MI_WRAM_ARM9 ),
|
||||||
},
|
},
|
||||||
REG_WRAM_A_MAP_PACK(MI_WRAM_MAP_NULL,
|
REG_MI_MBK6_FIELD( REG_WRAM_MAP_CONV_ADDR( 6, A, EADDR, MI_WRAM_MAP_NULL ),
|
||||||
MI_WRAM_MAP_NULL,
|
MI_WRAM_IMAGE_128KB,
|
||||||
MI_WRAM_A_IMG_128KB
|
REG_WRAM_MAP_CONV_ADDR( 6, A, SADDR, MI_WRAM_MAP_NULL )
|
||||||
),
|
),
|
||||||
REG_WRAM_B_MAP_PACK(MI_WRAM_MAP_NULL,
|
REG_MI_MBK7_FIELD( REG_WRAM_MAP_CONV_ADDR( 7, B, EADDR, MI_WRAM_MAP_NULL ),
|
||||||
MI_WRAM_MAP_NULL,
|
MI_WRAM_IMAGE_128KB,
|
||||||
MI_WRAM_B_IMG_128KB
|
REG_WRAM_MAP_CONV_ADDR( 7, B, SADDR, MI_WRAM_MAP_NULL )
|
||||||
),
|
),
|
||||||
REG_WRAM_C_MAP_PACK(HW_WRAM_AREA_HALF,
|
REG_MI_MBK8_FIELD( REG_WRAM_MAP_CONV_ADDR( 8, C, EADDR, HW_WRAM_AREA_HALF + 0x00020000 ),
|
||||||
HW_WRAM_AREA_HALF + 0x00020000,
|
MI_WRAM_IMAGE_128KB,
|
||||||
MI_WRAM_C_IMG_128KB
|
REG_WRAM_MAP_CONV_ADDR( 8, C, SADDR, HW_WRAM_AREA_HALF )
|
||||||
),
|
),
|
||||||
|
|
||||||
// ARM7
|
// ARM7
|
||||||
REG_WRAM_A_MAP_PACK(HW_WRAM_AREA_HALF,
|
REG_MI_MBK6_FIELD( REG_WRAM_MAP_CONV_ADDR( 6, A, EADDR, HW_WRAM_AREA_HALF + 0x00020000 ),
|
||||||
HW_WRAM_AREA_HALF + 0x00020000,
|
MI_WRAM_IMAGE_128KB,
|
||||||
MI_WRAM_A_IMG_128KB
|
REG_WRAM_MAP_CONV_ADDR( 6, A, SADDR, HW_WRAM_AREA_HALF )
|
||||||
),
|
),
|
||||||
REG_WRAM_B_MAP_PACK(HW_WRAM_AREA_HALF + 0x00020000,
|
REG_MI_MBK7_FIELD( REG_WRAM_MAP_CONV_ADDR( 7, B, EADDR, HW_WRAM_AREA_HALF + 0x00040000 ),
|
||||||
HW_WRAM_AREA_HALF + 0x00040000,
|
MI_WRAM_IMAGE_128KB,
|
||||||
MI_WRAM_B_IMG_128KB
|
REG_WRAM_MAP_CONV_ADDR( 7, B, SADDR, HW_WRAM_AREA_HALF + 0x00020000 )
|
||||||
),
|
),
|
||||||
REG_WRAM_C_MAP_PACK(MI_WRAM_MAP_NULL,
|
REG_MI_MBK8_FIELD( REG_WRAM_MAP_CONV_ADDR( 8, C, EADDR, MI_WRAM_MAP_NULL ),
|
||||||
MI_WRAM_MAP_NULL,
|
MI_WRAM_IMAGE_128KB,
|
||||||
MI_WRAM_C_IMG_128KB
|
REG_WRAM_MAP_CONV_ADDR( 8, C, SADDR, MI_WRAM_MAP_NULL )
|
||||||
),
|
),
|
||||||
// WRAM Lock
|
|
||||||
|
// WRAM Lock
|
||||||
{
|
{
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
|
|||||||
@ -15,87 +15,89 @@
|
|||||||
# $NoKeywords: $
|
# $NoKeywords: $
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
|
|
||||||
SUPPORT_ECC = 0
|
TARGET_PLATFORM = TWL
|
||||||
|
|
||||||
|
SUPPORT_ECC = 0
|
||||||
|
|
||||||
ifeq ($(SUPPORT_ECC),1)
|
ifeq ($(SUPPORT_ECC),1)
|
||||||
ECC_SRCDIR = ../../libraries/acsign_ecc/common \
|
ECC_SRCDIR = ../../libraries/acsign_ecc/common \
|
||||||
../../libraries/acsign_ecc/common/algae/common/ecc \
|
../../libraries/acsign_ecc/common/algae/common/ecc \
|
||||||
../../libraries/acsign_ecc/common/algae/cmp \
|
../../libraries/acsign_ecc/common/algae/cmp \
|
||||||
../../libraries/acsign_ecc/common/algae/ecsource \
|
../../libraries/acsign_ecc/common/algae/ecsource \
|
||||||
|
|
||||||
ECC_INCDIR = ../../libraries/acsign_ecc/include \
|
ECC_INCDIR = ../../libraries/acsign_ecc/include \
|
||||||
../../libraries/acsign_ecc/common/algae/include \
|
../../libraries/acsign_ecc/common/algae/include \
|
||||||
../../libraries/acsign_ecc/common/algae/common/include \
|
../../libraries/acsign_ecc/common/algae/common/include \
|
||||||
|
|
||||||
ECC_SRCS = acsign_ecc.c acsign_cryptoc.c \
|
ECC_SRCS = acsign_ecc.c acsign_cryptoc.c \
|
||||||
\
|
\
|
||||||
cmparith.c cmpbits.c cmpcnv.c cmpdiv.c cmpmem.c \
|
cmparith.c cmpbits.c cmpcnv.c cmpdiv.c cmpmem.c \
|
||||||
cmpmod.c cmpmuldv.c cmpspprt.c cmpsqr.c cmpvectr.c \
|
cmpmod.c cmpmuldv.c cmpspprt.c cmpsqr.c cmpvectr.c \
|
||||||
computem.c ecfpatbl.c ecfpsmul.c \
|
computem.c ecfpatbl.c ecfpsmul.c \
|
||||||
spcprime.c secfpcom.c \
|
spcprime.c secfpcom.c \
|
||||||
\
|
\
|
||||||
p224v1.c p224v1a.c \
|
p224v1.c p224v1a.c \
|
||||||
|
|
||||||
ECC_DEFS = -DRSA_PROTOTYPES=RSA_ENABLED \
|
ECC_DEFS = -DRSA_PROTOTYPES=RSA_ENABLED \
|
||||||
-DRCOM_BUILD=RSA_ENABLED -DRSA_FAST_INVERSE=RSA_ENABLED \
|
-DRCOM_BUILD=RSA_ENABLED -DRSA_FAST_INVERSE=RSA_ENABLED \
|
||||||
-DRSA_STD_MEM_FUNCS=RSA_ENABLED -DRSA_STD_ALLOC_FUNCS=RSA_ENABLED \
|
-DRSA_STD_MEM_FUNCS=RSA_ENABLED -DRSA_STD_ALLOC_FUNCS=RSA_ENABLED \
|
||||||
else
|
else
|
||||||
ECC_SRCDIR =
|
ECC_SRCDIR =
|
||||||
ECC_INCDIR =
|
ECC_INCDIR =
|
||||||
ECC_SRCS =
|
ECC_SRCS =
|
||||||
ECC_DEFS =
|
ECC_DEFS =
|
||||||
endif
|
endif
|
||||||
|
|
||||||
SRCDIR += ../acsign $(ECC_SRCDIR)
|
SRCDIR += ../acsign $(ECC_SRCDIR)
|
||||||
INCDIR += ../acsign/include $(ECC_INCDIR) $(ECC_SRCDIR)
|
INCDIR += ../acsign/include $(ECC_INCDIR) $(ECC_SRCDIR)
|
||||||
|
|
||||||
|
|
||||||
include $(TWLFIRM_ROOT)/build/buildtools/commondefs
|
include $(TWLFIRM_ROOT)/build/buildtools/commondefs
|
||||||
|
|
||||||
TARGETS = makenandfirm.exe
|
TARGETS = makenandfirm.exe
|
||||||
|
|
||||||
SOURCES_C = makenandfirm.c \
|
SOURCES_C = makenandfirm.c \
|
||||||
out_nandfirm.c \
|
out_nandfirm.c \
|
||||||
misc.c \
|
misc.c \
|
||||||
path.c \
|
path.c \
|
||||||
defval.c \
|
defval.c \
|
||||||
compress.c \
|
compress.c \
|
||||||
wram_regs.c \
|
wram_regs.c \
|
||||||
acsign.c \
|
acsign.c \
|
||||||
acsign_nand.c \
|
acsign_nand.c \
|
||||||
aes2.c \
|
aes2.c \
|
||||||
$(ECC_SRCS)
|
$(ECC_SRCS)
|
||||||
|
|
||||||
SOURCES = $(SORUCES_C)
|
SOURCES = $(SORUCES_C)
|
||||||
|
|
||||||
OBJECTS = $(SOURCES_C:.c=.o)
|
OBJECTS = $(SOURCES_C:.c=.o)
|
||||||
|
|
||||||
HEADERS = format_nlist.h \
|
HEADERS = format_nlist.h \
|
||||||
makenandfirm.h \
|
makenandfirm.h \
|
||||||
path.h \
|
path.h \
|
||||||
format_rom.h \
|
format_rom.h \
|
||||||
misc.h \
|
misc.h \
|
||||||
defval.h \
|
defval.h \
|
||||||
compress.h \
|
compress.h \
|
||||||
|
|
||||||
MACROS += -DSMALL_CODE_SIZE \
|
MACROS += -DSMALL_CODE_SIZE \
|
||||||
-DSTANDALONE \
|
-DSTANDALONE \
|
||||||
-DOPT_32_BIT \
|
-DOPT_32_BIT \
|
||||||
-DNO_SPLIT \
|
-DNO_SPLIT \
|
||||||
-DNO_FP_API \
|
-DNO_FP_API \
|
||||||
-DNO_R_DIAG \
|
-DNO_R_DIAG \
|
||||||
$(ECC_DEFS)
|
$(ECC_DEFS)
|
||||||
|
|
||||||
INSTALL_DIR = $(FIRM_INSTALL_TOOLSDIR)/bin
|
INSTALL_DIR = $(FIRM_INSTALL_TOOLSDIR)/bin
|
||||||
INSTALL_TARGETS = $(TARGETS)
|
INSTALL_TARGETS = $(TARGETS)
|
||||||
|
|
||||||
LDIRT_CLEAN = $(OBJECTS) $(TARGETS) version.h
|
LDIRT_CLEAN = $(OBJECTS) $(TARGETS) version.h
|
||||||
|
|
||||||
|
|
||||||
VPATH = $(SRCDIR)
|
VPATH = $(SRCDIR)
|
||||||
NITRO_INCDIR := $(FIRM_INCDIR) -I$(TWL_INCDIR) -I$(NITRO_INCDIR) $(addprefix -I,$(INCDIR))
|
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
|
# build
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h> // atoi()
|
#include <stdlib.h> // atoi()
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef COMPRESS_H_
|
#ifndef COMPRESS_H_
|
||||||
#define COMPRESS_H_
|
#define COMPRESS_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef FORMAT_NLIST_H_
|
#ifndef FORMAT_NLIST_H_
|
||||||
#define FORMAT_NLIST_H_
|
#define FORMAT_NLIST_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef FORMAT_ROM_H_
|
#ifndef FORMAT_ROM_H_
|
||||||
#define FORMAT_ROM_H_
|
#define FORMAT_ROM_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef FIRM_MAKENANDFIRM_ACSIGN_FORMAT_H_
|
#ifndef FIRM_MAKENANDFIRM_ACSIGN_FORMAT_H_
|
||||||
#define 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,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef MAKENANDFIRM_H_
|
#ifndef MAKENANDFIRM_H_
|
||||||
#define MAKENANDFIRM_H_
|
#define MAKENANDFIRM_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <malloc.h> // calloc()
|
#include <malloc.h> // calloc()
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef MISC_H_
|
#ifndef MISC_H_
|
||||||
#define MISC_H_
|
#define MISC_H_
|
||||||
@ -32,6 +33,8 @@ typedef signed char s8;
|
|||||||
typedef signed short int s16;
|
typedef signed short int s16;
|
||||||
typedef signed long int s32;
|
typedef signed long int s32;
|
||||||
typedef signed long long s64;
|
typedef signed long long s64;
|
||||||
|
typedef volatile u32 vu32;
|
||||||
|
typedef vu32 REGType32v;
|
||||||
|
|
||||||
#define error(...) do { fprintf(stderr, "Error: "); \
|
#define error(...) do { fprintf(stderr, "Error: "); \
|
||||||
fprintf(stderr, __VA_ARGS__); \
|
fprintf(stderr, __VA_ARGS__); \
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h> // atoi()
|
#include <stdlib.h> // atoi()
|
||||||
@ -33,7 +34,6 @@
|
|||||||
#include "compress.h"
|
#include "compress.h"
|
||||||
|
|
||||||
#define SDK_ASM
|
#define SDK_ASM
|
||||||
#include <twl/mi/wram_abc.h>
|
|
||||||
|
|
||||||
#include <firm/aes/ARM7/aes_ids.h>
|
#include <firm/aes/ARM7/aes_ids.h>
|
||||||
#include "../acsign/aes2.h"
|
#include "../acsign/aes2.h"
|
||||||
|
|||||||
@ -11,8 +11,9 @@
|
|||||||
# not be disclosed to third parties or copied or duplicated in any form,
|
# 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.
|
# in whole or in part, without the prior written consent of Nintendo.
|
||||||
#
|
#
|
||||||
# $Log: $
|
# $Date:: $
|
||||||
# $NoKeywords: $
|
# $Rev:$
|
||||||
|
# $Author:$
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
SUBDIRS =
|
SUBDIRS =
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#include <twl/mi.h>
|
#include <twl/mi.h>
|
||||||
#include <firm/format/wram_regs.h>
|
#include <firm/format/wram_regs.h>
|
||||||
|
|||||||
@ -10,70 +10,86 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#include "format_rom.h"
|
#include "format_rom.h"
|
||||||
#define SDK_ASM
|
//#define SDK_ASM
|
||||||
#include <twl/mi/wram_abc.h>
|
#define NITRO_TYPES_H_
|
||||||
|
#include <twl/hw/ARM9/ioreg_MI.h>
|
||||||
|
#include <twl/mi/common/sharedWram.h>
|
||||||
#include <firm/format/wram_regs.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 =
|
MIHeader_WramRegs wram_regs_init =
|
||||||
{
|
{
|
||||||
// ARM9
|
// ARM9
|
||||||
{
|
{
|
||||||
REG_WRAM_A_BNK_PACK(0, MI_WRAM_A_ARM7, MI_WRAM_A_OFS_0KB, TRUE),
|
REG_MI_MBK_A0_FIELD( 1, MI_WRAM_OFFSET_0KB , MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_A_BNK_PACK(1, MI_WRAM_A_ARM7, MI_WRAM_A_OFS_64KB, TRUE),
|
REG_MI_MBK_A1_FIELD( 1, MI_WRAM_OFFSET_64KB , MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_A_BNK_PACK(2, MI_WRAM_A_ARM7, MI_WRAM_A_OFS_128KB, TRUE),
|
REG_MI_MBK_A2_FIELD( 1, MI_WRAM_OFFSET_128KB, MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_A_BNK_PACK(3, MI_WRAM_A_ARM7, MI_WRAM_A_OFS_192KB, TRUE),
|
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_MI_MBK_B0_FIELD( 1, MI_WRAM_OFFSET_0KB , MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_B_BNK_PACK(1, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_32KB, TRUE),
|
REG_MI_MBK_B1_FIELD( 1, MI_WRAM_OFFSET_32KB , MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_B_BNK_PACK(2, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_64KB, TRUE),
|
REG_MI_MBK_B2_FIELD( 1, MI_WRAM_OFFSET_64KB , MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_B_BNK_PACK(3, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_96KB, TRUE),
|
REG_MI_MBK_B3_FIELD( 1, MI_WRAM_OFFSET_96KB , MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_B_BNK_PACK(4, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_128KB, TRUE),
|
REG_MI_MBK_B4_FIELD( 1, MI_WRAM_OFFSET_128KB, MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_B_BNK_PACK(5, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_160KB, TRUE),
|
REG_MI_MBK_B5_FIELD( 1, MI_WRAM_OFFSET_160KB, MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_B_BNK_PACK(6, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_192KB, TRUE),
|
REG_MI_MBK_B6_FIELD( 1, MI_WRAM_OFFSET_192KB, MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_B_BNK_PACK(7, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_224KB, TRUE),
|
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_MI_MBK_C0_FIELD( 1, MI_WRAM_OFFSET_0KB , MI_WRAM_ARM9 ),
|
||||||
REG_WRAM_C_BNK_PACK(1, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_32KB, TRUE),
|
REG_MI_MBK_C1_FIELD( 1, MI_WRAM_OFFSET_32KB , MI_WRAM_ARM9 ),
|
||||||
REG_WRAM_C_BNK_PACK(2, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_64KB, TRUE),
|
REG_MI_MBK_C2_FIELD( 1, MI_WRAM_OFFSET_64KB , MI_WRAM_ARM9 ),
|
||||||
REG_WRAM_C_BNK_PACK(3, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_96KB, TRUE),
|
REG_MI_MBK_C3_FIELD( 1, MI_WRAM_OFFSET_96KB , MI_WRAM_ARM9 ),
|
||||||
REG_WRAM_C_BNK_PACK(4, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_128KB, TRUE),
|
REG_MI_MBK_C4_FIELD( 1, MI_WRAM_OFFSET_128KB, MI_WRAM_ARM9 ),
|
||||||
REG_WRAM_C_BNK_PACK(5, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_160KB, TRUE),
|
REG_MI_MBK_C5_FIELD( 1, MI_WRAM_OFFSET_160KB, MI_WRAM_ARM9 ),
|
||||||
REG_WRAM_C_BNK_PACK(6, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_192KB, TRUE),
|
REG_MI_MBK_C6_FIELD( 1, MI_WRAM_OFFSET_192KB, MI_WRAM_ARM9 ),
|
||||||
REG_WRAM_C_BNK_PACK(7, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_224KB, TRUE),
|
REG_MI_MBK_C7_FIELD( 1, MI_WRAM_OFFSET_224KB, MI_WRAM_ARM9 ),
|
||||||
},
|
},
|
||||||
REG_WRAM_A_MAP_PACK(MI_WRAM_MAP_NULL,
|
REG_MI_MBK6_FIELD( REG_WRAM_MAP_CONV_ADDR( 6, A, EADDR, MI_WRAM_MAP_NULL ),
|
||||||
MI_WRAM_MAP_NULL,
|
MI_WRAM_IMAGE_128KB,
|
||||||
MI_WRAM_A_IMG_128KB
|
REG_WRAM_MAP_CONV_ADDR( 6, A, SADDR, MI_WRAM_MAP_NULL )
|
||||||
),
|
),
|
||||||
REG_WRAM_B_MAP_PACK(MI_WRAM_MAP_NULL,
|
REG_MI_MBK7_FIELD( REG_WRAM_MAP_CONV_ADDR( 7, B, EADDR, MI_WRAM_MAP_NULL ),
|
||||||
MI_WRAM_MAP_NULL,
|
MI_WRAM_IMAGE_128KB,
|
||||||
MI_WRAM_B_IMG_128KB
|
REG_WRAM_MAP_CONV_ADDR( 7, B, SADDR, MI_WRAM_MAP_NULL )
|
||||||
),
|
),
|
||||||
REG_WRAM_C_MAP_PACK(HW_WRAM_AREA_HALF,
|
REG_MI_MBK8_FIELD( REG_WRAM_MAP_CONV_ADDR( 8, C, EADDR, HW_WRAM_AREA_HALF + 0x00020000 ),
|
||||||
HW_WRAM_AREA_HALF + 0x00020000,
|
MI_WRAM_IMAGE_128KB,
|
||||||
MI_WRAM_C_IMG_128KB
|
REG_WRAM_MAP_CONV_ADDR( 8, C, SADDR, HW_WRAM_AREA_HALF )
|
||||||
),
|
),
|
||||||
|
|
||||||
// ARM7
|
// ARM7
|
||||||
REG_WRAM_A_MAP_PACK(HW_WRAM_AREA_HALF,
|
REG_MI_MBK6_FIELD( REG_WRAM_MAP_CONV_ADDR( 6, A, EADDR, HW_WRAM_AREA_HALF + 0x00020000 ),
|
||||||
HW_WRAM_AREA_HALF + 0x00020000,
|
MI_WRAM_IMAGE_128KB,
|
||||||
MI_WRAM_A_IMG_128KB
|
REG_WRAM_MAP_CONV_ADDR( 6, A, SADDR, HW_WRAM_AREA_HALF )
|
||||||
),
|
),
|
||||||
REG_WRAM_B_MAP_PACK(HW_WRAM_AREA_HALF + 0x00020000,
|
REG_MI_MBK7_FIELD( REG_WRAM_MAP_CONV_ADDR( 7, B, EADDR, HW_WRAM_AREA_HALF + 0x00040000 ),
|
||||||
HW_WRAM_AREA_HALF + 0x00040000,
|
MI_WRAM_IMAGE_128KB,
|
||||||
MI_WRAM_B_IMG_128KB
|
REG_WRAM_MAP_CONV_ADDR( 7, B, SADDR, HW_WRAM_AREA_HALF + 0x00020000 )
|
||||||
),
|
),
|
||||||
REG_WRAM_C_MAP_PACK(MI_WRAM_MAP_NULL,
|
REG_MI_MBK8_FIELD( REG_WRAM_MAP_CONV_ADDR( 8, C, EADDR, MI_WRAM_MAP_NULL ),
|
||||||
MI_WRAM_MAP_NULL,
|
MI_WRAM_IMAGE_128KB,
|
||||||
MI_WRAM_C_IMG_128KB
|
REG_WRAM_MAP_CONV_ADDR( 8, C, SADDR, MI_WRAM_MAP_NULL )
|
||||||
),
|
),
|
||||||
// WRAM Lock
|
|
||||||
|
// WRAM Lock
|
||||||
{
|
{
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
|
|||||||
@ -15,87 +15,89 @@
|
|||||||
# $NoKeywords: $
|
# $NoKeywords: $
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
|
|
||||||
SUPPORT_ECC = 0
|
TARGET_PLATFORM = TWL
|
||||||
|
|
||||||
|
SUPPORT_ECC = 0
|
||||||
|
|
||||||
ifeq ($(SUPPORT_ECC),1)
|
ifeq ($(SUPPORT_ECC),1)
|
||||||
ECC_SRCDIR = ../../libraries/acsign_ecc/common \
|
ECC_SRCDIR = ../../libraries/acsign_ecc/common \
|
||||||
../../libraries/acsign_ecc/common/algae/common/ecc \
|
../../libraries/acsign_ecc/common/algae/common/ecc \
|
||||||
../../libraries/acsign_ecc/common/algae/cmp \
|
../../libraries/acsign_ecc/common/algae/cmp \
|
||||||
../../libraries/acsign_ecc/common/algae/ecsource \
|
../../libraries/acsign_ecc/common/algae/ecsource \
|
||||||
|
|
||||||
ECC_INCDIR = ../../libraries/acsign_ecc/include \
|
ECC_INCDIR = ../../libraries/acsign_ecc/include \
|
||||||
../../libraries/acsign_ecc/common/algae/include \
|
../../libraries/acsign_ecc/common/algae/include \
|
||||||
../../libraries/acsign_ecc/common/algae/common/include \
|
../../libraries/acsign_ecc/common/algae/common/include \
|
||||||
|
|
||||||
ECC_SRCS = acsign_ecc.c acsign_cryptoc.c \
|
ECC_SRCS = acsign_ecc.c acsign_cryptoc.c \
|
||||||
\
|
\
|
||||||
cmparith.c cmpbits.c cmpcnv.c cmpdiv.c cmpmem.c \
|
cmparith.c cmpbits.c cmpcnv.c cmpdiv.c cmpmem.c \
|
||||||
cmpmod.c cmpmuldv.c cmpspprt.c cmpsqr.c cmpvectr.c \
|
cmpmod.c cmpmuldv.c cmpspprt.c cmpsqr.c cmpvectr.c \
|
||||||
computem.c ecfpatbl.c ecfpsmul.c \
|
computem.c ecfpatbl.c ecfpsmul.c \
|
||||||
spcprime.c secfpcom.c \
|
spcprime.c secfpcom.c \
|
||||||
\
|
\
|
||||||
p224v1.c p224v1a.c \
|
p224v1.c p224v1a.c \
|
||||||
|
|
||||||
ECC_DEFS = -DRSA_PROTOTYPES=RSA_ENABLED \
|
ECC_DEFS = -DRSA_PROTOTYPES=RSA_ENABLED \
|
||||||
-DRCOM_BUILD=RSA_ENABLED -DRSA_FAST_INVERSE=RSA_ENABLED \
|
-DRCOM_BUILD=RSA_ENABLED -DRSA_FAST_INVERSE=RSA_ENABLED \
|
||||||
-DRSA_STD_MEM_FUNCS=RSA_ENABLED -DRSA_STD_ALLOC_FUNCS=RSA_ENABLED \
|
-DRSA_STD_MEM_FUNCS=RSA_ENABLED -DRSA_STD_ALLOC_FUNCS=RSA_ENABLED \
|
||||||
else
|
else
|
||||||
ECC_SRCDIR =
|
ECC_SRCDIR =
|
||||||
ECC_INCDIR =
|
ECC_INCDIR =
|
||||||
ECC_SRCS =
|
ECC_SRCS =
|
||||||
ECC_DEFS =
|
ECC_DEFS =
|
||||||
endif
|
endif
|
||||||
|
|
||||||
SRCDIR += ../acsign $(ECC_SRCDIR)
|
SRCDIR += ../acsign $(ECC_SRCDIR)
|
||||||
INCDIR += ../acsign/include $(ECC_INCDIR) $(ECC_SRCDIR)
|
INCDIR += ../acsign/include $(ECC_INCDIR) $(ECC_SRCDIR)
|
||||||
|
|
||||||
|
|
||||||
include $(TWLFIRM_ROOT)/build/buildtools/commondefs
|
include $(TWLFIRM_ROOT)/build/buildtools/commondefs
|
||||||
|
|
||||||
TARGETS = makenorfirm.exe
|
TARGETS = makenorfirm.exe
|
||||||
|
|
||||||
SOURCES_C = makenorfirm.c \
|
SOURCES_C = makenorfirm.c \
|
||||||
out_norfirm.c \
|
out_norfirm.c \
|
||||||
misc.c \
|
misc.c \
|
||||||
path.c \
|
path.c \
|
||||||
defval.c \
|
defval.c \
|
||||||
compress.c \
|
compress.c \
|
||||||
wram_regs.c \
|
wram_regs.c \
|
||||||
acsign.c \
|
acsign.c \
|
||||||
acsign_nor.c \
|
acsign_nor.c \
|
||||||
aes2.c \
|
aes2.c \
|
||||||
$(ECC_SRCS)
|
$(ECC_SRCS)
|
||||||
|
|
||||||
SOURCES = $(SORUCES_C)
|
SOURCES = $(SORUCES_C)
|
||||||
|
|
||||||
OBJECTS = $(SOURCES_C:.c=.o)
|
OBJECTS = $(SOURCES_C:.c=.o)
|
||||||
|
|
||||||
HEADERS = format_nlist.h \
|
HEADERS = format_nlist.h \
|
||||||
makenorfirm.h \
|
makenorfirm.h \
|
||||||
path.h \
|
path.h \
|
||||||
format_rom.h \
|
format_rom.h \
|
||||||
misc.h \
|
misc.h \
|
||||||
defval.h \
|
defval.h \
|
||||||
compress.h \
|
compress.h \
|
||||||
|
|
||||||
MACROS += -DSMALL_CODE_SIZE \
|
MACROS += -DSMALL_CODE_SIZE \
|
||||||
-DSTANDALONE \
|
-DSTANDALONE \
|
||||||
-DOPT_32_BIT \
|
-DOPT_32_BIT \
|
||||||
-DNO_SPLIT \
|
-DNO_SPLIT \
|
||||||
-DNO_FP_API \
|
-DNO_FP_API \
|
||||||
-DNO_R_DIAG \
|
-DNO_R_DIAG \
|
||||||
$(ECC_DEFS)
|
$(ECC_DEFS)
|
||||||
|
|
||||||
INSTALL_DIR = $(FIRM_INSTALL_TOOLSDIR)/bin
|
INSTALL_DIR = $(FIRM_INSTALL_TOOLSDIR)/bin
|
||||||
INSTALL_TARGETS = $(TARGETS)
|
INSTALL_TARGETS = $(TARGETS)
|
||||||
|
|
||||||
LDIRT_CLEAN = $(OBJECTS) $(TARGETS) version.h
|
LDIRT_CLEAN = $(OBJECTS) $(TARGETS) version.h
|
||||||
|
|
||||||
|
|
||||||
VPATH = $(SRCDIR)
|
VPATH = $(SRCDIR)
|
||||||
NITRO_INCDIR := $(FIRM_INCDIR) -I$(TWL_INCDIR) -I$(NITRO_INCDIR) $(addprefix -I,$(INCDIR))
|
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
|
# build
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h> // atoi()
|
#include <stdlib.h> // atoi()
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef COMPRESS_H_
|
#ifndef COMPRESS_H_
|
||||||
#define COMPRESS_H_
|
#define COMPRESS_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef FORMAT_NLIST_H_
|
#ifndef FORMAT_NLIST_H_
|
||||||
#define FORMAT_NLIST_H_
|
#define FORMAT_NLIST_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef FORMAT_ROM_H_
|
#ifndef FORMAT_ROM_H_
|
||||||
#define FORMAT_ROM_H_
|
#define FORMAT_ROM_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef FIRM_MAKENORFIRM_ACSIGN_FORMAT_H_
|
#ifndef FIRM_MAKENORFIRM_ACSIGN_FORMAT_H_
|
||||||
#define 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,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef MAKENORFIRM_H_
|
#ifndef MAKENORFIRM_H_
|
||||||
#define MAKENORFIRM_H_
|
#define MAKENORFIRM_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <malloc.h> // calloc()
|
#include <malloc.h> // calloc()
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef MISC_H_
|
#ifndef MISC_H_
|
||||||
#define MISC_H_
|
#define MISC_H_
|
||||||
@ -32,6 +33,8 @@ typedef signed char s8;
|
|||||||
typedef signed short int s16;
|
typedef signed short int s16;
|
||||||
typedef signed long int s32;
|
typedef signed long int s32;
|
||||||
typedef signed long long s64;
|
typedef signed long long s64;
|
||||||
|
typedef volatile u32 vu32;
|
||||||
|
typedef vu32 REGType32v;
|
||||||
|
|
||||||
#define error(...) do { fprintf(stderr, "Error: "); \
|
#define error(...) do { fprintf(stderr, "Error: "); \
|
||||||
fprintf(stderr, __VA_ARGS__); \
|
fprintf(stderr, __VA_ARGS__); \
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h> // atoi()
|
#include <stdlib.h> // atoi()
|
||||||
@ -33,7 +34,6 @@
|
|||||||
#include "compress.h"
|
#include "compress.h"
|
||||||
|
|
||||||
#define SDK_ASM
|
#define SDK_ASM
|
||||||
#include <twl/mi/wram_abc.h>
|
|
||||||
|
|
||||||
#include <firm/aes/ARM7/aes_ids.h>
|
#include <firm/aes/ARM7/aes_ids.h>
|
||||||
#include "../acsign/aes2.h"
|
#include "../acsign/aes2.h"
|
||||||
|
|||||||
@ -11,8 +11,9 @@
|
|||||||
# not be disclosed to third parties or copied or duplicated in any form,
|
# 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.
|
# in whole or in part, without the prior written consent of Nintendo.
|
||||||
#
|
#
|
||||||
# $Log: $
|
# $Date:: $
|
||||||
# $NoKeywords: $
|
# $Rev:$
|
||||||
|
# $Author:$
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
|
|
||||||
SUBDIRS =
|
SUBDIRS =
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#include <twl/mi.h>
|
#include <twl/mi.h>
|
||||||
#include <firm/format/wram_regs.h>
|
#include <firm/format/wram_regs.h>
|
||||||
|
|||||||
@ -10,70 +10,86 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#include "format_rom.h"
|
#include "format_rom.h"
|
||||||
#define SDK_ASM
|
//#define SDK_ASM
|
||||||
#include <twl/mi/wram_abc.h>
|
#define NITRO_TYPES_H_
|
||||||
|
#include <twl/hw/ARM9/ioreg_MI.h>
|
||||||
|
#include <twl/mi/common/sharedWram.h>
|
||||||
#include <firm/format/wram_regs.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 =
|
MIHeader_WramRegs wram_regs_init =
|
||||||
{
|
{
|
||||||
// ARM9
|
// ARM9
|
||||||
{
|
{
|
||||||
REG_WRAM_A_BNK_PACK(0, MI_WRAM_A_ARM7, MI_WRAM_A_OFS_0KB, TRUE),
|
REG_MI_MBK_A0_FIELD( 1, MI_WRAM_OFFSET_0KB , MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_A_BNK_PACK(1, MI_WRAM_A_ARM7, MI_WRAM_A_OFS_64KB, TRUE),
|
REG_MI_MBK_A1_FIELD( 1, MI_WRAM_OFFSET_64KB , MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_A_BNK_PACK(2, MI_WRAM_A_ARM7, MI_WRAM_A_OFS_128KB, TRUE),
|
REG_MI_MBK_A2_FIELD( 1, MI_WRAM_OFFSET_128KB, MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_A_BNK_PACK(3, MI_WRAM_A_ARM7, MI_WRAM_A_OFS_192KB, TRUE),
|
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_MI_MBK_B0_FIELD( 1, MI_WRAM_OFFSET_0KB , MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_B_BNK_PACK(1, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_32KB, TRUE),
|
REG_MI_MBK_B1_FIELD( 1, MI_WRAM_OFFSET_32KB , MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_B_BNK_PACK(2, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_64KB, TRUE),
|
REG_MI_MBK_B2_FIELD( 1, MI_WRAM_OFFSET_64KB , MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_B_BNK_PACK(3, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_96KB, TRUE),
|
REG_MI_MBK_B3_FIELD( 1, MI_WRAM_OFFSET_96KB , MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_B_BNK_PACK(4, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_128KB, TRUE),
|
REG_MI_MBK_B4_FIELD( 1, MI_WRAM_OFFSET_128KB, MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_B_BNK_PACK(5, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_160KB, TRUE),
|
REG_MI_MBK_B5_FIELD( 1, MI_WRAM_OFFSET_160KB, MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_B_BNK_PACK(6, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_192KB, TRUE),
|
REG_MI_MBK_B6_FIELD( 1, MI_WRAM_OFFSET_192KB, MI_WRAM_ARM7 ),
|
||||||
REG_WRAM_B_BNK_PACK(7, MI_WRAM_B_ARM7, MI_WRAM_B_OFS_224KB, TRUE),
|
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_MI_MBK_C0_FIELD( 1, MI_WRAM_OFFSET_0KB , MI_WRAM_ARM9 ),
|
||||||
REG_WRAM_C_BNK_PACK(1, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_32KB, TRUE),
|
REG_MI_MBK_C1_FIELD( 1, MI_WRAM_OFFSET_32KB , MI_WRAM_ARM9 ),
|
||||||
REG_WRAM_C_BNK_PACK(2, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_64KB, TRUE),
|
REG_MI_MBK_C2_FIELD( 1, MI_WRAM_OFFSET_64KB , MI_WRAM_ARM9 ),
|
||||||
REG_WRAM_C_BNK_PACK(3, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_96KB, TRUE),
|
REG_MI_MBK_C3_FIELD( 1, MI_WRAM_OFFSET_96KB , MI_WRAM_ARM9 ),
|
||||||
REG_WRAM_C_BNK_PACK(4, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_128KB, TRUE),
|
REG_MI_MBK_C4_FIELD( 1, MI_WRAM_OFFSET_128KB, MI_WRAM_ARM9 ),
|
||||||
REG_WRAM_C_BNK_PACK(5, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_160KB, TRUE),
|
REG_MI_MBK_C5_FIELD( 1, MI_WRAM_OFFSET_160KB, MI_WRAM_ARM9 ),
|
||||||
REG_WRAM_C_BNK_PACK(6, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_192KB, TRUE),
|
REG_MI_MBK_C6_FIELD( 1, MI_WRAM_OFFSET_192KB, MI_WRAM_ARM9 ),
|
||||||
REG_WRAM_C_BNK_PACK(7, MI_WRAM_C_ARM9, MI_WRAM_C_OFS_224KB, TRUE),
|
REG_MI_MBK_C7_FIELD( 1, MI_WRAM_OFFSET_224KB, MI_WRAM_ARM9 ),
|
||||||
},
|
},
|
||||||
REG_WRAM_A_MAP_PACK(MI_WRAM_MAP_NULL,
|
REG_MI_MBK6_FIELD( REG_WRAM_MAP_CONV_ADDR( 6, A, EADDR, MI_WRAM_MAP_NULL ),
|
||||||
MI_WRAM_MAP_NULL,
|
MI_WRAM_IMAGE_128KB,
|
||||||
MI_WRAM_A_IMG_128KB
|
REG_WRAM_MAP_CONV_ADDR( 6, A, SADDR, MI_WRAM_MAP_NULL )
|
||||||
),
|
),
|
||||||
REG_WRAM_B_MAP_PACK(MI_WRAM_MAP_NULL,
|
REG_MI_MBK7_FIELD( REG_WRAM_MAP_CONV_ADDR( 7, B, EADDR, MI_WRAM_MAP_NULL ),
|
||||||
MI_WRAM_MAP_NULL,
|
MI_WRAM_IMAGE_128KB,
|
||||||
MI_WRAM_B_IMG_128KB
|
REG_WRAM_MAP_CONV_ADDR( 7, B, SADDR, MI_WRAM_MAP_NULL )
|
||||||
),
|
),
|
||||||
REG_WRAM_C_MAP_PACK(HW_WRAM_AREA_HALF,
|
REG_MI_MBK8_FIELD( REG_WRAM_MAP_CONV_ADDR( 8, C, EADDR, HW_WRAM_AREA_HALF + 0x00020000 ),
|
||||||
HW_WRAM_AREA_HALF + 0x00020000,
|
MI_WRAM_IMAGE_128KB,
|
||||||
MI_WRAM_C_IMG_128KB
|
REG_WRAM_MAP_CONV_ADDR( 8, C, SADDR, HW_WRAM_AREA_HALF )
|
||||||
),
|
),
|
||||||
|
|
||||||
// ARM7
|
// ARM7
|
||||||
REG_WRAM_A_MAP_PACK(HW_WRAM_AREA_HALF,
|
REG_MI_MBK6_FIELD( REG_WRAM_MAP_CONV_ADDR( 6, A, EADDR, HW_WRAM_AREA_HALF + 0x00020000 ),
|
||||||
HW_WRAM_AREA_HALF + 0x00020000,
|
MI_WRAM_IMAGE_128KB,
|
||||||
MI_WRAM_A_IMG_128KB
|
REG_WRAM_MAP_CONV_ADDR( 6, A, SADDR, HW_WRAM_AREA_HALF )
|
||||||
),
|
),
|
||||||
REG_WRAM_B_MAP_PACK(HW_WRAM_AREA_HALF + 0x00020000,
|
REG_MI_MBK7_FIELD( REG_WRAM_MAP_CONV_ADDR( 7, B, EADDR, HW_WRAM_AREA_HALF + 0x00040000 ),
|
||||||
HW_WRAM_AREA_HALF + 0x00040000,
|
MI_WRAM_IMAGE_128KB,
|
||||||
MI_WRAM_B_IMG_128KB
|
REG_WRAM_MAP_CONV_ADDR( 7, B, SADDR, HW_WRAM_AREA_HALF + 0x00020000 )
|
||||||
),
|
),
|
||||||
REG_WRAM_C_MAP_PACK(MI_WRAM_MAP_NULL,
|
REG_MI_MBK8_FIELD( REG_WRAM_MAP_CONV_ADDR( 8, C, EADDR, MI_WRAM_MAP_NULL ),
|
||||||
MI_WRAM_MAP_NULL,
|
MI_WRAM_IMAGE_128KB,
|
||||||
MI_WRAM_C_IMG_128KB
|
REG_WRAM_MAP_CONV_ADDR( 8, C, SADDR, MI_WRAM_MAP_NULL )
|
||||||
),
|
),
|
||||||
// WRAM Lock
|
|
||||||
|
// WRAM Lock
|
||||||
{
|
{
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef FIRM_H_
|
#ifndef FIRM_H_
|
||||||
#define FIRM_H_
|
#define FIRM_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef FIRM_ACSIGN_H_
|
#ifndef FIRM_ACSIGN_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef FIRM_AES_H_
|
#ifndef FIRM_AES_H_
|
||||||
#define FIRM_AES_H_
|
#define FIRM_AES_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef TWL_AES_AES_IDS_H_
|
#ifndef TWL_AES_AES_IDS_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef TWL_AES_AES_INIT_H_
|
#ifndef TWL_AES_AES_INIT_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef FIRM_FORMAT_FIRM_COMMON_H_
|
#ifndef FIRM_FORMAT_FIRM_COMMON_H_
|
||||||
#define 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,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef FIRM_FORMAT_FROM_BROM_H_
|
#ifndef FIRM_FORMAT_FROM_BROM_H_
|
||||||
#define 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,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef FIRM_FORMAT_GCDFIRM_H_
|
#ifndef FIRM_FORMAT_GCDFIRM_H_
|
||||||
#define 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,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef FIRM_FORMAT_NAND_H_
|
#ifndef FIRM_FORMAT_NAND_H_
|
||||||
#define 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,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef FIRM_FORMAT_NOR_H_
|
#ifndef FIRM_FORMAT_NOR_H_
|
||||||
#define 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,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef FORMAT_SIGN_H_
|
#ifndef FORMAT_SIGN_H_
|
||||||
#define FORMAT_SIGN_H_
|
#define FORMAT_SIGN_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef FIRM_FORMAT_WRAM_REGS_H_
|
#ifndef FIRM_FORMAT_WRAM_REGS_H_
|
||||||
#define 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,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef FIRM_GCD_H_
|
#ifndef FIRM_GCD_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef FIRM_GCD_BLOWFISH_H
|
#ifndef FIRM_GCD_BLOWFISH_H
|
||||||
#define 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,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef FIRM_GCD_GCD_H_
|
#ifndef FIRM_GCD_GCD_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef FIRM_GCD_GCD_MISC_H_
|
#ifndef FIRM_GCD_GCD_MISC_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef FIRM_HW_MMAP_FIRM_H_
|
#ifndef FIRM_HW_MMAP_FIRM_H_
|
||||||
#define 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,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef FIRM_HW_MMAP_FIRM_H_
|
#ifndef FIRM_HW_MMAP_FIRM_H_
|
||||||
#define 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,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef FIRM_MEMORYMAP_H_
|
#ifndef FIRM_MEMORYMAP_H_
|
||||||
#define FIRM_MEMORYMAP_H_
|
#define FIRM_MEMORYMAP_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef FIRM_MI_H_
|
#ifndef FIRM_MI_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef FIRM_MI_MAINMEMORY_H_
|
#ifndef FIRM_MI_MAINMEMORY_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef FIRM_MISC_H_
|
#ifndef FIRM_MISC_H_
|
||||||
#define FIRM_MISC_H_
|
#define FIRM_MISC_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef FIRM_NVRAM_H_
|
#ifndef FIRM_NVRAM_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef FIRM_OS_H_
|
#ifndef FIRM_OS_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef FIRM_OS_BOOT_H_
|
#ifndef FIRM_OS_BOOT_H_
|
||||||
#define 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,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
#ifndef FIRM_OS_INIT_H_
|
#ifndef FIRM_OS_INIT_H_
|
||||||
#define 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,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef FIRM_OS_SYSTEMCALL_H_
|
#ifndef FIRM_OS_SYSTEMCALL_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef FRIM_OS_TICK_BROM_H_
|
#ifndef FRIM_OS_TICK_BROM_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef FIRM_PM_H_
|
#ifndef FIRM_PM_H_
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
# not be disclosed to third parties or copied or duplicated in any form,
|
# 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.
|
# in whole or in part, without the prior written consent of Nintendo.
|
||||||
#
|
#
|
||||||
# $Log: $
|
# $Date:: $
|
||||||
# $NoKeywords: $
|
# $Rev:$
|
||||||
|
# $Author:$
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# TwlFirm LCF SPEC FILE
|
# TwlFirm LCF SPEC FILE
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
# not be disclosed to third parties or copied or duplicated in any form,
|
# 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.
|
# in whole or in part, without the prior written consent of Nintendo.
|
||||||
#
|
#
|
||||||
# $Log: $
|
# $Date:: $
|
||||||
# $NoKeywords: $
|
# $Rev:$
|
||||||
|
# $Author:$
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# TwlFirm LCF SPEC FILE
|
# TwlFirm LCF SPEC FILE
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
# not be disclosed to third parties or copied or duplicated in any form,
|
# 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.
|
# in whole or in part, without the prior written consent of Nintendo.
|
||||||
#
|
#
|
||||||
# $Log: $
|
# $Date:: $
|
||||||
# $NoKeywords: $
|
# $Rev:$
|
||||||
|
# $Author:$
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# TwlFirm LCF SPEC FILE
|
# TwlFirm LCF SPEC FILE
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
# not be disclosed to third parties or copied or duplicated in any form,
|
# 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.
|
# in whole or in part, without the prior written consent of Nintendo.
|
||||||
#
|
#
|
||||||
# $Log: $
|
# $Date:: $
|
||||||
# $NoKeywords: $
|
# $Rev:$
|
||||||
|
# $Author:$
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# TwlFirm LCF SPEC FILE
|
# TwlFirm LCF SPEC FILE
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
# not be disclosed to third parties or copied or duplicated in any form,
|
# 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.
|
# in whole or in part, without the prior written consent of Nintendo.
|
||||||
#
|
#
|
||||||
# $Log: $
|
# $Date:: $
|
||||||
# $NoKeywords: $
|
# $Rev:$
|
||||||
|
# $Author:$
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# TwlFirm LCF SPEC FILE
|
# TwlFirm LCF SPEC FILE
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
# not be disclosed to third parties or copied or duplicated in any form,
|
# 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.
|
# in whole or in part, without the prior written consent of Nintendo.
|
||||||
#
|
#
|
||||||
# $Log: $
|
# $Date:: $
|
||||||
# $NoKeywords: $
|
# $Rev:$
|
||||||
|
# $Author:$
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# TwlFirm LCF SPEC FILE
|
# TwlFirm LCF SPEC FILE
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
# not be disclosed to third parties or copied or duplicated in any form,
|
# 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.
|
# in whole or in part, without the prior written consent of Nintendo.
|
||||||
#
|
#
|
||||||
# $Log: $
|
# $Date:: $
|
||||||
# $NoKeywords: $
|
# $Rev:$
|
||||||
|
# $Author:$
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# TwlFirm LCF SPEC FILE
|
# TwlFirm LCF SPEC FILE
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
# not be disclosed to third parties or copied or duplicated in any form,
|
# 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.
|
# in whole or in part, without the prior written consent of Nintendo.
|
||||||
#
|
#
|
||||||
# $Log: $
|
# $Date:: $
|
||||||
# $NoKeywords: $
|
# $Rev:$
|
||||||
|
# $Author:$
|
||||||
#----------------------------------------------------------------------------
|
#----------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# TwlFirm LCF SPEC FILE
|
# TwlFirm LCF SPEC FILE
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
not be disclosed to third parties or copied or duplicated in any form,
|
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.
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
$Log: $
|
$Date:: $
|
||||||
$NoKeywords: $
|
$Rev:$
|
||||||
|
$Author:$
|
||||||
*---------------------------------------------------------------------------*/
|
*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifndef TWL_OS_SYSTEMCALL_H_
|
#ifndef TWL_OS_SYSTEMCALL_H_
|
||||||
|
|||||||
Binary file not shown.
Loading…
Reference in New Issue
Block a user