virt.h (f26e8817b235d8764363bffcc9cbfc61867371f2) | virt.h (488f94d7212b00a2ec72fb886b155f1b04c5aa98) |
---|---|
1/* 2 * Copyright (c) 2012 Linaro Limited. 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * (at your option) any later version. 8 * --- 66 unchanged lines hidden (view full) --- 75 return !!(__boot_cpu_mode & BOOT_CPU_MODE_MISMATCH); 76} 77 78static inline bool is_kernel_in_hyp_mode(void) 79{ 80 return false; 81} 82 | 1/* 2 * Copyright (c) 2012 Linaro Limited. 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * (at your option) any later version. 8 * --- 66 unchanged lines hidden (view full) --- 75 return !!(__boot_cpu_mode & BOOT_CPU_MODE_MISMATCH); 76} 77 78static inline bool is_kernel_in_hyp_mode(void) 79{ 80 return false; 81} 82 |
83static inline bool has_vhe(void) 84{ 85 return false; 86} 87 |
|
83/* The section containing the hypervisor idmap text */ 84extern char __hyp_idmap_text_start[]; 85extern char __hyp_idmap_text_end[]; 86 87/* The section containing the hypervisor text */ 88extern char __hyp_text_start[]; 89extern char __hyp_text_end[]; 90#endif 91 92#endif /* __ASSEMBLY__ */ 93 94#endif /* ! VIRT_H */ | 88/* The section containing the hypervisor idmap text */ 89extern char __hyp_idmap_text_start[]; 90extern char __hyp_idmap_text_end[]; 91 92/* The section containing the hypervisor text */ 93extern char __hyp_text_start[]; 94extern char __hyp_text_end[]; 95#endif 96 97#endif /* __ASSEMBLY__ */ 98 99#endif /* ! VIRT_H */ |