ARM Packages: Fixed line endings
This large code change only modifies the line endings to be CRLF to be compliant with the EDK2 coding convention document. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14088 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -447,23 +447,23 @@ RemoveBreakPoint (
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
Send the T signal with the given exception type (in gdb order) and possibly
|
||||
with n:r pairs related to the watchpoints
|
||||
|
||||
@param SystemContext Register content at time of the exception
|
||||
@param GdbExceptionType GDB exception type
|
||||
**/
|
||||
VOID
|
||||
ProcessorSendTSignal (
|
||||
IN EFI_SYSTEM_CONTEXT SystemContext,
|
||||
IN UINT8 GdbExceptionType,
|
||||
IN OUT CHAR8 *TSignalPtr,
|
||||
IN UINTN SizeOfBuffer
|
||||
)
|
||||
{
|
||||
*TSignalPtr = '\0';
|
||||
}
|
||||
/**
|
||||
Send the T signal with the given exception type (in gdb order) and possibly
|
||||
with n:r pairs related to the watchpoints
|
||||
|
||||
@param SystemContext Register content at time of the exception
|
||||
@param GdbExceptionType GDB exception type
|
||||
**/
|
||||
VOID
|
||||
ProcessorSendTSignal (
|
||||
IN EFI_SYSTEM_CONTEXT SystemContext,
|
||||
IN UINT8 GdbExceptionType,
|
||||
IN OUT CHAR8 *TSignalPtr,
|
||||
IN UINTN SizeOfBuffer
|
||||
)
|
||||
{
|
||||
*TSignalPtr = '\0';
|
||||
}
|
||||
|
||||
/**
|
||||
FIQ state is only changed by FIQ exception. We don't want to take FIQ
|
||||
@@ -475,21 +475,21 @@ ProcessorSendTSignal (
|
||||
|
||||
@return TRUE We are in the GDB stub exception preamble
|
||||
@return FALSE We are not in GDB stub code
|
||||
**/
|
||||
BOOLEAN
|
||||
InFiqCrack (
|
||||
IN UINT32 PC
|
||||
)
|
||||
{
|
||||
UINT32 VectorBase = PcdGet32 (PcdCpuVectorBaseAddress);
|
||||
UINT32 Length = (UINTN)ExceptionHandlersEnd - (UINTN)ExceptionHandlersStart;
|
||||
|
||||
if ((PC >= VectorBase) && (PC <= (VectorBase + Length))) {
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
**/
|
||||
BOOLEAN
|
||||
InFiqCrack (
|
||||
IN UINT32 PC
|
||||
)
|
||||
{
|
||||
UINT32 VectorBase = PcdGet32 (PcdCpuVectorBaseAddress);
|
||||
UINT32 Length = (UINTN)ExceptionHandlersEnd - (UINTN)ExceptionHandlersStart;
|
||||
|
||||
if ((PC >= VectorBase) && (PC <= (VectorBase + Length))) {
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
@@ -526,24 +526,24 @@ ProcessorControlC (
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
while (TRUE) {
|
||||
if (!GdbIsCharAvailable ()) {
|
||||
//
|
||||
// No characters are pending so exit the loop
|
||||
//
|
||||
Return = TRUE;
|
||||
break;
|
||||
}
|
||||
|
||||
Char = GdbGetChar ();
|
||||
if (Char == 0x03) {
|
||||
//
|
||||
// We have a ctrl-c so exit and process exception for ctrl-c
|
||||
//
|
||||
Return = FALSE;
|
||||
break;
|
||||
}
|
||||
}
|
||||
while (TRUE) {
|
||||
if (!GdbIsCharAvailable ()) {
|
||||
//
|
||||
// No characters are pending so exit the loop
|
||||
//
|
||||
Return = TRUE;
|
||||
break;
|
||||
}
|
||||
|
||||
Char = GdbGetChar ();
|
||||
if (Char == 0x03) {
|
||||
//
|
||||
// We have a ctrl-c so exit and process exception for ctrl-c
|
||||
//
|
||||
Return = FALSE;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
DebugAgentTimerEndOfInterrupt ();
|
||||
|
||||
@@ -622,13 +622,13 @@ InitializeDebugAgent (
|
||||
IN VOID *Context, OPTIONAL
|
||||
IN DEBUG_AGENT_CONTINUE Function OPTIONAL
|
||||
)
|
||||
{
|
||||
{
|
||||
UINTN Offset;
|
||||
UINTN Length;
|
||||
BOOLEAN IrqEnabled;
|
||||
UINT32 *VectorBase;
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Disable interrupts
|
||||
//
|
||||
|
Reference in New Issue
Block a user