Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ============================================================================
- # Kernel 8955 Patches
- # ============================================================================
- # This file contains all the patches freeBOOT applies to the kernel. Patches
- # for 1BL, CB, CD, and hypervisor were done with a different tool and are
- # provided as files patches_<console>_base.bin. In order to yield a valid
- # patches_<console>.bin file, the assembly of this file has to be appended to
- # the corresponding patch_<console>_base.bin file. The included Makefile will
- # automate this task.
- #
- # Patches for 1BL, CB, CD, hypervisor, and kernel all share the same format
- # described herein. Since hypervisor and kernel patches are applied in the
- # same run, hypervisor patches contained in patches_<console>_base.bin file
- # are not terminated with 0xffffffff. It is therefore possible to add further
- # hypervisor patches through this file. As seen by the patch engine, the
- # hypervisor starts at address 0x00000000 and the kernel at address
- # 0x00040000.
- .globl _start
- _start:
- # ============================================================================
- # Disable XEX Signature Check
- # ============================================================================
- # Each sequence of patches starts with a target address and the number of
- # patches in this sequence. The patches themselves follow directly. The target
- # address must be aligned on a 4 byte boundary. All data in a patch sequence
- # must be encoded in 32-bit big endian format.
- #
- # There can be an arbitrary number of patch sequences. The last patch sequence
- # must be terminated with 0xffffffff.
- .long 0x0007784c # target address
- .long (9f - 0f) / 4 # number of patches
- 0:
- nop # patches
- 9:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement