1*4882a593Smuzhiyun /* 2*4882a593Smuzhiyun * Copyright (C) 2010, 2012, 2014, 2016-2017 ARM Limited. All rights reserved. 3*4882a593Smuzhiyun * 4*4882a593Smuzhiyun * This program is free software and is provided to you under the terms of the GNU General Public License version 2 5*4882a593Smuzhiyun * as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence. 6*4882a593Smuzhiyun * 7*4882a593Smuzhiyun * A copy of the licence is included with the program, and can also be obtained from Free Software 8*4882a593Smuzhiyun * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 9*4882a593Smuzhiyun */ 10*4882a593Smuzhiyun 11*4882a593Smuzhiyun #ifndef __ARCH_CONFIG_H__ 12*4882a593Smuzhiyun #define __ARCH_CONFIG_H__ 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun /* Use OS memory. */ 15*4882a593Smuzhiyun #define ARCH_UMP_BACKEND_DEFAULT 1 16*4882a593Smuzhiyun 17*4882a593Smuzhiyun /* OS memory won't need a base address. */ 18*4882a593Smuzhiyun #define ARCH_UMP_MEMORY_ADDRESS_DEFAULT 0x00000000 19*4882a593Smuzhiyun 20*4882a593Smuzhiyun /* 512 MB maximum limit for UMP allocations. */ 21*4882a593Smuzhiyun #define ARCH_UMP_MEMORY_SIZE_DEFAULT 512UL * 1024UL * 1024UL 22*4882a593Smuzhiyun 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun #endif /* __ARCH_CONFIG_H__ */ 25