/*
 *               Copyright (C) 2005, BroadOn Communications Corp.
 *
 *  These coded instructions, statements, and computer programs contain
 *  unpublished  proprietary information of BroadOn Communications Corp.,
 *  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 BroadOn Communications Corp.
 *
 */
#ifndef __ADDR_MAP_H__
#define __ADDR_MAP_H__

/* Well-known addresses in RVL */

#define IOP_GDDR3_START         0x17400000
#define IOP_GDDR3_CACHED_START  0x17500000
#define IOP_GDDR3_END           0x18000000

/* DI dma space */
#define DI_DMA_SP_START	0x17400000 
#define DI_DMA_SP_END   0x17420000
#define DI_DMA_SP_SIZE  0x20000

/* Kernel Data */
#define KERNEL_DATA_START   0x17420000
#define KERNEL_DATA_END     0x17440000

/* Reserved space. Only used by boot1. So overlap
 * with iobuf space OK.
 */
#define RSVD_SP_START	0x17420000
#define RSVD_SP_END		0x17440000

/* USB dma space  */
#define OH0_SP_START	0x17440000
#define OH0_SP_END      0x17450000
#define OH1_SP_START	0x17450000
#define OH1_SP_END      0x17460000
#define EHC_SP_START	0x17460000
#define EHC_SP_END      0x17470000

/* USB code space */
#define OH0_TXT_SP_START  0x17470000
#define OH0_TXT_SP_END    0x17480000

#define OH1_TXT_SP_START  0x17480000
#define OH1_TXT_SP_END    0x17490000

#define EHC_TXT_SP_START  0x17490000
#define EHC_TXT_SP_END    0x174b0000

/* PPC boot */
#define PPCBOOT_SP_START   0x174b0000
#define PPCBOOT_SP_END	   0x174c0000

/* Shared Data */
#define SHARED_SP_START		0x174c0000
#define SHARED_SP_END		0x17540000
#define SHARED_SP_SIZE		0x80000

/* DI space */
#define DI_SP_START 	0x17540000
#define DI_SP_END       0x175c0000

/* NET space */
#define NET_SP_START	0x175c0000
#define NET_SP_END      0x17640000

/* USBETH space */
#define USBETH_SP_START	 0x17640000
#define USBETH_SP_END    0x17660000

/* SD0 space */
#define SD0_SP_START	0x17660000
#define SD0_SP_END    0x17680000

/* File system */
#define FS_SP_START	    0x17680000
#define FS_SP_END		0x17700000

/* eTicket system */
#define ES_SP_START	    0x17700000
#define ES_SP_END		0x17790000

/* Crypto space */
#define CRYPTO_SP_START	    0x17790000
#define CRYPTO_SP_END       0x17810000

/* OSLaunch space */
#define OSLAUNCH_SP_START	    0x17810000
#define OSLAUNCH_SP_END        0x17a90000

/* Application space */
#define APP_SP_START    	0x17a90000
#define APP_SP_END		    0x17bc0000

/* System call stack space */
#define SYSCALL_STACK_START 0x17bc0000
#define SYSCALL_STACK_END   0x17c40000

/* SSL space */
#define SSL_SP_START    	0x17c40000
#define SSL_SP_END		    0x17cc0000

/* Iobuf pool0 space */
#define IOBUF0_SP_START	0x17cc0000
#define IOBUF0_SP_END   0x17d40000

/* STM space */
#define STM_SP_START	0x17d40000
#define STM_SP_END    0x17d60000

/* NCD space */
#define NCD_SP_START	0x17d60000
#define NCD_SP_END    0x17da0000

/* KD space */
#define KD_SP_START	  0x17da0000
#define KD_SP_END     0x17e20000

/* WD space */
#define WD_SP_START	   0x17e20000
#define WD_SP_END      0x17e40000

/* WL space */
#define WL_SP_START    	0x17e40000
#define WL_SP_END		0x18000000
#endif /* __ADDR_MAP_H__ */
