]>
git.proxmox.com Git - mirror_edk2.git/blob - ArmPkg/Library/ArmDisassemblerLib/Aarch64Disassembler.c
2 Default exception handler
4 Copyright (c) 2014, ARM Limited. All rights reserved.
6 SPDX-License-Identifier: BSD-2-Clause-Patent
11 #include <Library/BaseLib.h>
12 #include <Library/PrintLib.h>
13 #include <Library/ArmDisassemblerLib.h>
16 Place a disassembly of of **OpCodePtr into buffer, and update OpCodePtr to
17 point to next instruction.
19 @param OpCodePtrPtr Pointer to pointer of instruction to disassemble.
20 @param Thumb TRUE for Thumb(2), FALSE for ARM instruction stream
21 @param Extended TRUE dump hex for instruction too.
22 @param ItBlock Size of IT Block
23 @param Buf Buffer to sprintf disassembly into.
24 @param Size Size of Buf in bytes.
28 DisassembleInstruction (
32 IN OUT UINT32
*ItBlock
,
37 // Not yet supported for AArch64.
38 // Put error in the buffer as we have no return code and the buffer may be
39 // printed directly so needs a '\0'.
40 AsciiSPrint (Buf
, Size
, "AArch64 not supported");