Fixed MTP to work with TWRP

This commit is contained in:
awab228 2018-06-19 23:16:04 +02:00
commit f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions

View file

@ -0,0 +1,20 @@
/*
* 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
GLOBAL(real_mode_blob)
.incbin "arch/x86/realmode/rm/realmode.bin"
END(real_mode_blob)
GLOBAL(real_mode_blob_end);
GLOBAL(real_mode_relocs)
.incbin "arch/x86/realmode/rm/realmode.relocs"
END(real_mode_relocs)