/*
 *               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         0x13600000
#define IOP_GDDR3_END           0x14000000

/* DI dma space */
#define DI_DMA_SP_START	0x13600000
#define DI_DMA_SP_END   0x13620000
#define DI_DMA_SP_SIZE  0x20000

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

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

/* USB class drivers space */
#define USB_SP_START    	0x13620000
#define USB_SP_END		    0x13710000

/* WFS class drivers space */
#define WFS_SP_START    	0x13710000
#define WFS_SP_END		    0x13850000

/* Kernel Data */
#define KERNEL_DATA_START   0x13850000
#define KERNEL_DATA_END     0x13870000

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

/* USB dma space  */
#define OH0_SP_START	0x13870000
#define OH0_SP_END      0x13880000
#define OH1_SP_START	0x13880000
#define OH1_SP_END      0x13890000
#define EHC_SP_START	0x13890000
#define EHC_SP_END      0x138a0000

/* USB code space */
#define OH0_TXT_SP_START  0x138a0000
#define OH0_TXT_SP_END    0x138b0000

#define OH1_TXT_SP_START  0x138b0000
#define OH1_TXT_SP_END    0x138c0000

#define EHC_TXT_SP_START  0x138c0000
#define EHC_TXT_SP_END    0x138e0000

/* PPC boot */
#define PPCBOOT_SP_START   0x138e0000
#define PPCBOOT_SP_END	   0x138f0000

/* Shared Data */
#define SHARED_SP_START		0x138f0000
#define SHARED_SP_END		0x139b0000
#define SHARED_SP_SIZE		0xc0000

/* DI space */
#define DI_SP_START 	0x139b0000
#define DI_SP_END       0x139f0000

/* eTicket system */
#define ES_SP_START	    0x139f0000
#define ES_SP_END		0x13a10000

/* File system */
#define FS_SP_START	    0x13a10000
#define FS_SP_END		0x13a70000

/* Crypto space */
#define CRYPTO_SP_START	    0x13a70000
#define CRYPTO_SP_END       0x13a90000

/* SD0 space */
#define SD0_SP_START	0x13a90000
#define SD0_SP_END    0x13aa0000

/* USBETH space */
#define USBETH_SP_START	 0x13aa0000
#define USBETH_SP_END    0x13ac0000

/* System call stack space */
#define SYSCALL_STACK_START 0x13ac0000
#define SYSCALL_STACK_END   0x13ae0000

/* System reserved space */
#define SYS_RSVD_SP_START	0x13ae0000
#define SYS_RSVD_SP_END		0x13b40000

/* NET space */
#define NET_SP_START	0x13b40000
#define NET_SP_END      0x13c40000

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

/* Iobuf pool0 space */
#define IOBUF0_SP_START	0x13c40000
#define IOBUF0_SP_END   0x13cc0000


/* SSL space */
#define SSL_SP_START    	0x13cc0000
#define SSL_SP_END		    0x13d80000

/* STM space */
#define STM_SP_START	0x13d80000
#define STM_SP_END    0x13d90000

/* NCD space */
#define NCD_SP_START	0x13d90000
#define NCD_SP_END    0x13db0000

/* KD space */
#define KD_SP_START	  0x13db0000
#define KD_SP_END     0x13eb0000

/* WD space */
#define WD_SP_START	   0x13eb0000
#define WD_SP_END      0x13ed0000

/* WL space */
#define WL_SP_START    	0x13ed0000
#define WL_SP_END		0x13ff0000

/* PS space */
#define PS_SP_START    	0x13ff0000
#define PS_SP_END		0x14000000

#endif /* __ADDR_MAP_H__ */
