2 * sysmem-related prototypes.
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License. See the file "COPYING" in the main directory of this archive
8 * Copyright (C) 2014 Cadence Design Systems Inc.
11 #ifndef _XTENSA_SYSMEM_H
12 #define _XTENSA_SYSMEM_H
14 #define SYSMEM_BANKS_MAX 31
22 * Bank array is sorted by .start.
23 * Banks don't overlap and there's at least one page gap
24 * between adjacent bank entries.
28 struct meminfo bank
[SYSMEM_BANKS_MAX
];
31 extern struct sysmem_info sysmem
;
33 int add_sysmem_bank(unsigned long start
, unsigned long end
);
34 int mem_reserve(unsigned long, unsigned long, int);
35 void bootmem_init(void);
36 void zones_init(void);
38 #endif /* _XTENSA_SYSMEM_H */