mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-11-17 07:04:10 +00:00
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>
18 lines
411 B
C
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_ */
|