03-12-2021, 03:16 PM
(This post was last modified: 03-12-2021, 03:16 PM by _tZ.
Edit Reason: oopsie register
)
the trick in chapter 5 does not update the code cache (this is not good)
should probably be
should probably be
Code:
/* overwrite first instruction with blr */
lis rX, 0x4E80
ori rX, rX, 0x0020
stw rX, 0x0(r15)
/* update cache */
dcbf 0, r15
icbi 0, r15