mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xen/riscv: move extern of cpu0_boot_stack to header
Suggested-by: Andrew Cooper <andrew.cooper3@citrix.com> Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
1 parent
afb775d3e5
commit
9b0fc8eeb2
2 files changed
+2
-2
No files matched your search
@@ -8,6 +8,8 @@
|
||||
#define pfn_to_paddr(pfn) ((paddr_t)(pfn) << PAGE_SHIFT)
|
||||
#define paddr_to_pfn(pa) ((unsigned long)((pa) >> PAGE_SHIFT))
|
||||
|
||||
extern unsigned char cpu0_boot_stack[];
|
||||
|
||||
void setup_initial_pagetables(void);
|
||||
|
||||
void enable_mmu(void);
|
||||
|
||||
@@ -19,8 +19,6 @@ struct mmu_desc {
|
||||
pte_t *pgtbl_base;
|
||||
};
|
||||
|
||||
extern unsigned char cpu0_boot_stack[STACK_SIZE];
|
||||
|
||||
#define PHYS_OFFSET ((unsigned long)_start - XEN_VIRT_START)
|
||||
#define LOAD_TO_LINK(addr) ((addr) - PHYS_OFFSET)
|
||||
#define LINK_TO_LOAD(addr) ((addr) + PHYS_OFFSET)
|
||||
|
||||