You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/05/03 18:16:47 UTC

[incubator-nuttx] branch master updated: x86_64: Set kernel entry to 1M to avoid EPT Violation

This is an automated email from the ASF dual-hosted git repository.

gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new d4bf61c  x86_64: Set kernel entry to 1M to avoid EPT Violation
d4bf61c is described below

commit d4bf61c523c8fe399f7689f716a096e22fa5c302
Author: Brennan Ashton <ba...@brennanashton.com>
AuthorDate: Sat May 2 02:36:01 2020 -0700

    x86_64: Set kernel entry to 1M to avoid EPT Violation
    
    Signed-off-by: Brennan Ashton <ba...@brennanashton.com>
---
 boards/x86_64/intel64/qemu-intel64/scripts/qemu.ld | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/boards/x86_64/intel64/qemu-intel64/scripts/qemu.ld b/boards/x86_64/intel64/qemu-intel64/scripts/qemu.ld
index 761935a..b584824 100644
--- a/boards/x86_64/intel64/qemu-intel64/scripts/qemu.ld
+++ b/boards/x86_64/intel64/qemu-intel64/scripts/qemu.ld
@@ -22,7 +22,7 @@ OUTPUT_ARCH(i386:x86-64)
 ENTRY(__pmode_entry)
 SECTIONS
 {
-    . = 0x4M;
+    . = 0x1M;
     _kernel_physical_start = .;
 
     .loader.text : {