[OpenBIOS] [PATCH 05/15] SPARC32: move pgtsrmmu.h from arch/sparc32 to include/arch/sparc32
Mark Cave-Ayland
mark.cave-ayland at ilande.co.uk
Mon May 21 23:33:12 CEST 2018
This is to enable us to use its functions for the upcoming DMA functionality.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk>
---
arch/sparc32/lib.c | 2 +-
arch/sparc32/ofmem_sparc32.c | 2 +-
{arch => include/arch}/sparc32/pgtsrmmu.h | 0
3 files changed, 2 insertions(+), 2 deletions(-)
rename {arch => include/arch}/sparc32/pgtsrmmu.h (100%)
diff --git a/arch/sparc32/lib.c b/arch/sparc32/lib.c
index a53a396..e88c0bf 100644
--- a/arch/sparc32/lib.c
+++ b/arch/sparc32/lib.c
@@ -11,7 +11,7 @@
#include "libopenbios/bindings.h"
#include "arch/sparc32/ofmem_sparc32.h"
#include "asm/asi.h"
-#include "pgtsrmmu.h"
+#include "arch/sparc32/pgtsrmmu.h"
#include "openprom.h"
#include "libopenbios/sys_info.h"
#include "boot.h"
diff --git a/arch/sparc32/ofmem_sparc32.c b/arch/sparc32/ofmem_sparc32.c
index f7af753..9ac7fe0 100644
--- a/arch/sparc32/ofmem_sparc32.c
+++ b/arch/sparc32/ofmem_sparc32.c
@@ -17,7 +17,7 @@
#include "libc/string.h"
#include "arch/sparc32/ofmem_sparc32.h"
#include "asm/asi.h"
-#include "pgtsrmmu.h"
+#include "arch/sparc32/pgtsrmmu.h"
#define OF_MALLOC_BASE ((char*)OFMEM + ALIGN_SIZE(sizeof(ofmem_t), 8))
diff --git a/arch/sparc32/pgtsrmmu.h b/include/arch/sparc32/pgtsrmmu.h
similarity index 100%
rename from arch/sparc32/pgtsrmmu.h
rename to include/arch/sparc32/pgtsrmmu.h
--
2.11.0
More information about the OpenBIOS
mailing list