TianoCore EDK2 master
Loading...
Searching...
No Matches
Aarch64Disassembler.c File Reference
#include <Base.h>
#include <Library/BaseLib.h>
#include <Library/PrintLib.h>
#include <Library/ArmDisassemblerLib.h>

Go to the source code of this file.

Functions

VOID DisassembleInstruction (IN UINT8 **OpCodePtr, IN BOOLEAN Thumb, IN BOOLEAN Extended, IN OUT UINT32 *ItBlock, OUT CHAR8 *Buf, OUT UINTN Size)
 

Detailed Description

Default exception handler

Copyright (c) 2014, ARM Limited. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file Aarch64Disassembler.c.

Function Documentation

◆ DisassembleInstruction()

VOID DisassembleInstruction ( IN UINT8 **  OpCodePtr,
IN BOOLEAN  Thumb,
IN BOOLEAN  Extended,
IN OUT UINT32 *  ItBlock,
OUT CHAR8 *  Buf,
OUT UINTN  Size 
)

Place a disassembly of **OpCodePtr into buffer, and update OpCodePtr to point to next instruction.

Parameters
OpCodePtrPtrPointer to pointer of instruction to disassemble.
ThumbTRUE for Thumb(2), FALSE for ARM instruction stream
ExtendedTRUE dump hex for instruction too.
ItBlockSize of IT Block
BufBuffer to sprintf disassembly into.
SizeSize of Buf in bytes.

Definition at line 28 of file Aarch64Disassembler.c.