https://bugzilla.tianocore.org/show_bug.cgi?id=1373 Replace BSD 2-Clause License with BSD+Patent License. This change is based on the following emails: https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html RFCs with detailed process for the license change: V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
61 lines
1.3 KiB
C
61 lines
1.3 KiB
C
/** @file
|
|
|
|
Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
|
|
**/
|
|
|
|
#ifndef _EFI_EDB_H_
|
|
#define _EFI_EDB_H_
|
|
|
|
#include "EdbCommon.h"
|
|
|
|
#define EBC_DEBUGGER_MAJOR_VERSION 1
|
|
#define EBC_DEBUGGER_MINOR_VERSION 0
|
|
|
|
#define EFI_DEBUG_RETURN 1
|
|
#define EFI_DEBUG_BREAK 2
|
|
#define EFI_DEBUG_CONTINUE 3
|
|
|
|
/**
|
|
Driver Entry point.
|
|
|
|
@param ImageHandle ImageHandle of the loaded driver.
|
|
@param SystemTable Pointer to the EFI System Table.
|
|
|
|
**/
|
|
EFI_STATUS
|
|
EfiDebuggerEntrypoint (
|
|
IN EFI_HANDLE ImageHandle,
|
|
IN EFI_SYSTEM_TABLE *SystemTable
|
|
);
|
|
|
|
/**
|
|
|
|
The default Exception Callback for the VM interpreter.
|
|
In this function, we report status code, and print debug information
|
|
about EBC_CONTEXT, then dead loop.
|
|
|
|
@param ExceptionType Exception type.
|
|
@param SystemContext EBC system context.
|
|
|
|
**/
|
|
VOID
|
|
EFIAPI
|
|
EdbExceptionHandler (
|
|
IN EFI_EXCEPTION_TYPE ExceptionType,
|
|
IN OUT EFI_SYSTEM_CONTEXT SystemContext
|
|
);
|
|
|
|
extern EFI_DEBUGGER_PRIVATE_DATA mDebuggerPrivate;
|
|
|
|
#include "EdbSupport.h"
|
|
#include "EdbCommand.h"
|
|
#include "EdbDisasm.h"
|
|
#include "EdbDisasmSupport.h"
|
|
#include "EdbSymbol.h"
|
|
#include "EdbHook.h"
|
|
|
|
#endif
|