/*
 *               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         0x17600000
#define IOP_GDDR3_END           0x18000000

/* DI dma space */
#define DI_DMA_SP_START	0x17600000
#define DI_DMA_SP_END   0x17620000
#define DI_DMA_SP_SIZE  0x20000

/* P2P space */
#define P2P_SP_START    	0x17620000
#define P2P_SP_END		    0x17620000

/* Application space */
#define APP_SP_START    	0x17620000
#define APP_SP_END		    0x17620000

/* USB class drivers space */
#define USB_SP_START    	0x17620000
#define USB_SP_END		    0x17710000

/* WFS class drivers space */
#define WFS_SP_START    	0x17710000
#define WFS_SP_END		    0x17850000

/* Kernel Data */
#define KERNEL_DATA_START   0x17850000
#define KERNEL_DATA_END     0x17870000

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

/* USB dma space  */
#define OH0_SP_START	0x17870000
#define OH0_SP_END      0x17880000
#define OH1_SP_START	0x17880000
#define OH1_SP_END      0x17890000
#define EHC_SP_START	0x17890000
#define EHC_SP_END      0x178a0000

/* USB code space */
#define OH0_TXT_SP_START  0x178a0000
#define OH0_TXT_SP_END    0x178b0000

#define OH1_TXT_SP_START  0x178b0000
#define OH1_TXT_SP_END    0x178c0000

#define EHC_TXT_SP_START  0x178c0000
#define EHC_TXT_SP_END    0x178e0000

/* PPC boot */
#define PPCBOOT_SP_START   0x178e0000
#define PPCBOOT_SP_END	   0x178f0000

/* Shared Data */
#define SHARED_SP_START		0x178f0000
#define SHARED_SP_END		0x179b0000
#define SHARED_SP_SIZE		0xc0000

/* DI space */
#define DI_SP_START 	0x179b0000
#define DI_SP_END       0x179f0000

/* eTicket system */
#define ES_SP_START	    0x179f0000
#define ES_SP_END		0x17a10000

/* File system */
#define FS_SP_START	    0x17a10000
#define FS_SP_END		0x17a70000

/* Crypto space */
#define CRYPTO_SP_START	    0x17a70000
#define CRYPTO_SP_END       0x17a90000

/* SD0 space */
#define SD0_SP_START	0x17a90000
#define SD0_SP_END    0x17aa0000

/* USBETH space */
#define USBETH_SP_START	 0x17aa0000
#define USBETH_SP_END    0x17ac0000

/* System call stack space */
#define SYSCALL_STACK_START 0x17ac0000
#define SYSCALL_STACK_END   0x17ae0000

/* System reserved space */
#define SYS_RSVD_SP_START	0x17ae0000
#define SYS_RSVD_SP_END		0x17b40000

/* NET space */
#define NET_SP_START	0x17b40000
#define NET_SP_END      0x17c40000

/* OSLaunch space */
#define OSLAUNCH_SP_START	    0x10100000
#define OSLAUNCH_SP_END        0x10c00000

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


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

/* STM space */
#define STM_SP_START	0x17d80000
#define STM_SP_END    0x17d90000

/* NCD space */
#define NCD_SP_START	0x17d90000
#define NCD_SP_END    0x17db0000

/* KD space */
#define KD_SP_START	  0x17db0000
#define KD_SP_END     0x17eb0000

/* WD space */
#define WD_SP_START	   0x17eb0000
#define WD_SP_END      0x17ed0000

/* WL space */
#define WL_SP_START    	0x17ed0000
#define WL_SP_END		0x17ff0000

/* PS space */
#define PS_SP_START    	0x17ff0000
#define PS_SP_END		0x18000000

#endif /* __ADDR_MAP_H__ */
