The problem is that some structures and other things may be identical for x86 and x86-64 but different for ARM so you need to find those different parts as well and change them. Only works on 64bit x86 code (and the code in the else statement only on 32bit x86 code). This tool takes x86 or 圆4 assembly instructions and converts them to their binary representation (machine code). Well yeah but you would need to change alot more things (I’ve only looked at the ftrace).įor example the branch_table would need ARM opcodes instread of x86 opcodes.Īlso like you noticed the user_regs_struct needs adjustments to be ARM compatible (usage of ARM registers instead of x86).You also need to change everything the author marked with #ifdef x86_64 as it simbolizes that the following code
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |