These functions really don't belong in physmem as they relate to the cpu. Move them. Signed-off-by: Simon Glass <sjg@chromium.org>master
parent
6c499abe05
commit
7bddac947d
@ -0,0 +1,22 @@ |
||||
/*
|
||||
* Copyright (c) 2014 The Chromium OS Authors. |
||||
* |
||||
* SPDX-License-Identifier: GPL-2.0+ |
||||
*/ |
||||
|
||||
#ifndef __X86_CPU_H |
||||
#define __X86_CPU_H |
||||
|
||||
/**
|
||||
* cpu_enable_paging_pae() - Enable PAE-paging |
||||
* |
||||
* @pdpt: Value to set in cr3 (PDPT or PML4T) |
||||
*/ |
||||
void cpu_enable_paging_pae(ulong cr3); |
||||
|
||||
/**
|
||||
* cpu_disable_paging_pae() - Disable paging and PAE |
||||
*/ |
||||
void cpu_disable_paging_pae(void); |
||||
|
||||
#endif |
Loading…
Reference in new issue