ia64/linux-2.6.18-xen.hg

view include/asm-v850/v850e_cache.h @ 452:c7ed6fe5dca0

kexec: dont initialise regions in reserve_memory()

There is no need to initialise efi_memmap_res and boot_param_res in
reserve_memory() for the initial xen domain as it is done in
machine_kexec_setup_resources() using values from the kexec hypercall.

Signed-off-by: Simon Horman <horms@verge.net.au>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Feb 28 10:55:18 2008 +0000 (2008-02-28)
parents 831230e53067
children
line source
1 /*
2 * include/asm-v850/v850e_cache.h -- Cache control for V850E cache memories
3 *
4 * Copyright (C) 2001,03 NEC Electronics Corporation
5 * Copyright (C) 2001,03 Miles Bader <miles@gnu.org>
6 *
7 * This file is subject to the terms and conditions of the GNU General
8 * Public License. See the file COPYING in the main directory of this
9 * archive for more details.
10 *
11 * Written by Miles Bader <miles@gnu.org>
12 */
14 /* This file implements cache control for the rather simple cache used on
15 some V850E CPUs, specifically the NB85E/TEG CPU-core and the V850E/ME2
16 CPU. V850E2 processors have their own (better) cache
17 implementation. */
19 #ifndef __V850_V850E_CACHE_H__
20 #define __V850_V850E_CACHE_H__
22 #include <asm/types.h>
25 /* Cache control registers. */
26 #define V850E_CACHE_BHC_ADDR 0xFFFFF06A
27 #define V850E_CACHE_BHC (*(volatile u16 *)V850E_CACHE_BHC_ADDR)
28 #define V850E_CACHE_ICC_ADDR 0xFFFFF070
29 #define V850E_CACHE_ICC (*(volatile u16 *)V850E_CACHE_ICC_ADDR)
30 #define V850E_CACHE_ISI_ADDR 0xFFFFF072
31 #define V850E_CACHE_ISI (*(volatile u16 *)V850E_CACHE_ISI_ADDR)
32 #define V850E_CACHE_DCC_ADDR 0xFFFFF078
33 #define V850E_CACHE_DCC (*(volatile u16 *)V850E_CACHE_DCC_ADDR)
35 /* Size of a cache line in bytes. */
36 #define V850E_CACHE_LINE_SIZE 16
38 /* For <asm/cache.h> */
39 #define L1_CACHE_BYTES V850E_CACHE_LINE_SIZE
42 #if defined(__KERNEL__) && !defined(__ASSEMBLY__)
43 /* Set caching params via the BHC, ICC, and DCC registers. */
44 void v850e_cache_enable (u16 bhc, u16 icc, u16 dcc);
45 #endif /* __KERNEL__ && !__ASSEMBLY__ */
48 #endif /* __V850_V850E_CACHE_H__ */