// IBM_PROLOG_BEGIN_TAG // This is an automatically generated prolog. // // $Source: src/include/usr/vmmconst.h $ // // IBM CONFIDENTIAL // // COPYRIGHT International Business Machines Corp. 2011 // // p1 // // Object Code Only (OCO) source materials // Licensed Internal Code Source Materials // IBM HostBoot Licensed Internal Code // // The source code for this program is not published or other- // wise divested of its trade secrets, irrespective of what has // been deposited with the U.S. Copyright Office. // // Origin: 30 // // IBM_PROLOG_END #ifndef _VMMCONST_H #define _VMMCONST_H /** * This file contains any hardcoded memory addresses used by the * Virtual Memory Subsystem */ #include /** * Segments */ /** Stack Segment is at 1 TB */ #define VMM_VADDR_STACK_SEGMENT (1 * TERABYTE) /** Device Segment is at 2 TB */ #define VMM_VADDR_DEVICE_SEGMENT (2 * TERABYTE) /** * Resource Providers */ /** Extended Image is at 1GB */ #define VMM_VADDR_VFS_EXT_MODULE (1 * GIGABYTE) // Note : vfs.h hardcodes this value due to external compile issues /** PNOR Resource Provider is at 2GB */ #define VMM_VADDR_PNOR_RP (2 * GIGABYTE) /** Attribute Resource Provider */ // Note: Not simplified to make it easier to extract with the PNOR targeting // image generator script #define VMM_VADDR_ATTR_RP (3ul * 1024ul * 1024ul * 1024ul) /** * Other Constants */ /** Segment Size in bits per SLBE */ #define SLBE_s 40 /** Page Size in bits per SLBE */ #define SLBE_b 12 /** * Test Constants */ /** Base virtual address used in remove pages test */ #define VMM_VADDR_RMVPAGE_TEST (700 * GIGABYTE); /** Block size used in remove pages test */ #define VMM_SIZE_RMVPAGE_TEST (8 * PAGESIZE); #endif /* _VMMCONST_H */