Files
acrn-hypervisor/hypervisor/include/arch/x86/asm/pagemisc.h
hangliu1 5dcf336ab3 hv: x86: move two functions back to x86
move early_pgtable_map_uart and pgtable_create_trusty_root
to x86 code, and provide calling with x86 private header
pagemisc.h

Tracked-On: #8831
Signed-off-by: hangliu1 <hang1.liu@intel.com>
Reviewed-by: Liu, Yifan1 <yifan1.liu@intel.com>
Acked-by: Wang, Yu1 <yu1.wang@intel.com>
2025-10-21 14:14:55 +08:00

18 lines
411 B
C

/*
* Copyright (C) 2018-2025 Intel Corporation.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef _PAGE_MISC_H_
#define _PAGE_MISC_H_
#include <asm/page.h>
#include <pgtable.h>
#include <mmu.h>
void *pgtable_create_trusty_root(const struct pgtable *table,
void *nworld_pml4_page, uint64_t prot_table_present, uint64_t prot_clr);
void early_pgtable_map_uart(uint64_t addr);
#endif /* _PAGE_MISC_H_ */