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

romimage.h (568B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifdef __ASSEMBLY__
      3
      4/* kfr2r09 board specific boot code:
      5 * converts the "partner-jet-script.txt" script into assembly
      6 * the assembly code is the first code to be executed in the romImage
      7 */
      8
      9#include <asm/romimage-macros.h>
     10#include <mach/partner-jet-setup.txt>
     11
     12	/* execute icbi after enabling cache */
     13	mov.l	1f, r0
     14	icbi	@r0
     15
     16	/* jump to cached area */
     17	mova	2f, r0
     18	jmp	@r0
     19	 nop
     20
     21	.align 2
     221:	.long 0xa8000000
     232:
     24
     25#else /* __ASSEMBLY__ */
     26
     27static inline void mmcif_update_progress(int nr)
     28{
     29}
     30
     31#endif /* __ASSEMBLY__ */