mirror of
https://github.com/rvtr/ctr_firmware.git
synced 2025-10-31 07:51:08 -04:00
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-09-30%20-%20paladin.7z/paladin/ctr_firmware@53 b871894f-2f95-9b40-918c-086798483c85
61 lines
2.2 KiB
C
61 lines
2.2 KiB
C
/*---------------------------------------------------------------------------*
|
|
Project: CtrBrom - HW - include
|
|
File: mmap_brom.h
|
|
|
|
Copyright 2008 Nintendo. All rights reserved.
|
|
|
|
These coded instructions, statements, and computer programs contain
|
|
proprietary information of Nintendo of America Inc. and/or Nintendo
|
|
Company Ltd., and are protected by Federal copyright law. They may
|
|
not be disclosed to third parties or copied or duplicated in any form,
|
|
in whole or in part, without the prior written consent of Nintendo.
|
|
|
|
$Date:: $
|
|
$Rev$
|
|
$Author$
|
|
*---------------------------------------------------------------------------*/
|
|
#ifndef BROM_HW_ARM11_MMAP_BROM_H_
|
|
#define BROM_HW_ARM11_MMAP_BROM_H_
|
|
|
|
#include <brom/brom_defs.h>
|
|
#include <ctr/hw/ARM11/mmap_global.h>
|
|
#include <firm/hw/ARM11/mmap_firm.h>
|
|
#include <brom/hw/ARM11/mmap_axi_wram.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
//------------------------------------- BROM
|
|
#ifdef BROM_ENABLE_WRAMEMU
|
|
#define HW_BROM HW_WRAM
|
|
#else // BROM_ENABLE_WRAMEMU
|
|
#define HW_BROM HW_BIOS
|
|
#endif
|
|
#define HW_BROM_END (HW_BROM + HW_BROM_SIZE)
|
|
#define HW_BROM_SIZE 0x10000 // 64KB
|
|
|
|
#define HW_BROM_NML HW_BROM
|
|
#define HW_BROM_NML_END (HW_BROM_NML + HW_BROM_NML_SIZE)
|
|
#define HW_BROM_NML_SIZE 0x8000 // 32KB
|
|
#define HW_BROM_SEC HW_BROM_NML_END
|
|
#define HW_BROM_SEC_END (HW_BROM_SEC + HW_BROM_SEC_SIZE)
|
|
#define HW_BROM_SEC_SIZE 0x8000 // 32KB
|
|
|
|
//------------------------------------- BROM_TEMP
|
|
#define HW_BROM_TEMP (HW_BROM_TEMP_END - HW_BROM_TEMP_SIZE)
|
|
#define HW_BROM_TEMP_END HW_BROM_WRAM
|
|
#define HW_BROM_TEMP_SIZE 0x1000 // 4KB
|
|
|
|
//------------------------------------- BROM_WRAM
|
|
#define HW_BROM_WRAM (HW_BROM_WRAM_END - HW_BROM_WRAM_SIZE)
|
|
#define HW_BROM_WRAM_END HW_BROM_TO_FIRM_BUF
|
|
#define HW_BROM_WRAM_SIZE 0xB000 // 44KB
|
|
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern "C" */
|
|
#endif
|
|
/* BROM_HW_ARM11_MMAP_BROM_H_ */
|
|
#endif
|