aboutsummaryrefslogtreecommitdiffstats
path: root/linux/patches/rmpiggy.S.patch
diff options
context:
space:
mode:
Diffstat (limited to 'linux/patches/rmpiggy.S.patch')
-rw-r--r--linux/patches/rmpiggy.S.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/linux/patches/rmpiggy.S.patch b/linux/patches/rmpiggy.S.patch
new file mode 100644
index 0000000..0a9b1b2
--- /dev/null
+++ b/linux/patches/rmpiggy.S.patch
@@ -0,0 +1,34 @@
+--- arch/x86/realmode/rmpiggy.S.new 2022-04-21 09:00:39.636016815 -0400
++++ arch/x86/realmode/rmpiggy.S 2022-04-21 09:00:51.392134904 -0400
+@@ -3,17 +3,17 @@
+ * Wrapper script for the realmode binary as a transport object
+ * before copying to low memory.
+ */
+-#include <linux/linkage.h>
+-#include <asm/page_types.h>
+-
+- .section ".init.data","aw"
+-
+- .balign PAGE_SIZE
+-
+-SYM_DATA_START(real_mode_blob)
+- .incbin "arch/x86/realmode/rm/realmode.bin"
+-SYM_DATA_END_LABEL(real_mode_blob, SYM_L_GLOBAL, real_mode_blob_end)
+-
+-SYM_DATA_START(real_mode_relocs)
+- .incbin "arch/x86/realmode/rm/realmode.relocs"
+-SYM_DATA_END(real_mode_relocs)
++//#include <linux/linkage.h>
++//#include <asm/page_types.h>
++//
++// .section ".init.data","aw"
++//
++// .balign PAGE_SIZE
++//
++//SYM_DATA_START(real_mode_blob)
++// .incbin "arch/x86/realmode/rm/realmode.bin"
++//SYM_DATA_END_LABEL(real_mode_blob, SYM_L_GLOBAL, real_mode_blob_end)
++//
++//SYM_DATA_START(real_mode_relocs)
++// .incbin "arch/x86/realmode/rm/realmode.relocs"
++//SYM_DATA_END(real_mode_relocs)