cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

rmpiggy.S (506B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/*
      3 * Wrapper script for the realmode binary as a transport object
      4 * before copying to low memory.
      5 */
      6#include <linux/linkage.h>
      7#include <asm/page_types.h>
      8
      9	.section ".init.data","aw"
     10
     11	.balign PAGE_SIZE
     12
     13SYM_DATA_START(real_mode_blob)
     14	.incbin	"arch/x86/realmode/rm/realmode.bin"
     15SYM_DATA_END_LABEL(real_mode_blob, SYM_L_GLOBAL, real_mode_blob_end)
     16
     17SYM_DATA_START(real_mode_relocs)
     18	.incbin	"arch/x86/realmode/rm/realmode.relocs"
     19SYM_DATA_END(real_mode_relocs)