mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
add memorymap for FATFS_Loader/MI_Loader
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@56 b08762b0-b915-fc4b-9d8c-17b2551a87ff
This commit is contained in:
parent
6968da2b49
commit
262fcd082f
37
include/firm/hw/common/mmap_firm.h
Normal file
37
include/firm/hw/common/mmap_firm.h
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
/*---------------------------------------------------------------------------*
|
||||||
|
Project: TwlFirm - HW - include
|
||||||
|
File: mmap_firm.h
|
||||||
|
|
||||||
|
Copyright 2007 Nintendo. All rights reserved.
|
||||||
|
|
||||||
|
These coded instructions, statements, and computer programs contain
|
||||||
|
proprietary information of Nintendo of America Inc. and/or Nintendo
|
||||||
|
Company Ltd., and are protected by Federal copyright law. They may
|
||||||
|
not be disclosed to third parties or copied or duplicated in any form,
|
||||||
|
in whole or in part, without the prior written consent of Nintendo.
|
||||||
|
|
||||||
|
$Date:: 2007-09-06$
|
||||||
|
$Rev$
|
||||||
|
$Author$
|
||||||
|
*---------------------------------------------------------------------------*/
|
||||||
|
#ifndef FIRM_HW_COMMON_MMAP_FIRM_H_
|
||||||
|
#define FIRM_HW_COMMON_MMAP_FIRM_H_
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
//------------------------------------- *_LoadBuffer
|
||||||
|
#define HW_FIRM_LOAD_BUFFER_BASE MI_GetWramMapStart_B()
|
||||||
|
#define HW_FIRM_LOAD_BUFFER_UNIT_SIZE 0x8000
|
||||||
|
#define HW_FIRM_LOAD_BUFFER_UNIT_NUMS 8
|
||||||
|
#define HW_FIRM_LOAD_BUFFER_SIZE (HW_FIRM_LOAD_BUFFER_UNIT_SIZE * HW_FIRM_LOAD_BUFFER_UNIT_NUMS)
|
||||||
|
#define HW_FIRM_LOAD_BUFFER_END (HW_FIRM_LOAD_BUFFER_BASE + HW_FIRM_LOAD_BUFFER_SIZE)
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
} /* extern "C" */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* FIRM_HW_COMMON_MMAP_FIRM_H_ */
|
||||||
|
#endif
|
||||||
@ -18,6 +18,7 @@
|
|||||||
#define FIRM_MEMORYMAP_H_
|
#define FIRM_MEMORYMAP_H_
|
||||||
|
|
||||||
#include <twl/memorymap.h>
|
#include <twl/memorymap.h>
|
||||||
|
#include <firm/hw/common/mmap_firm.h>
|
||||||
|
|
||||||
#ifdef SDK_ARM9
|
#ifdef SDK_ARM9
|
||||||
#include <firm/hw/ARM9/mmap_firm.h>
|
#include <firm/hw/ARM9/mmap_firm.h>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user