Home
last modified time | relevance | path

Searched refs:RegNumber (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbDebugAgent/Arm/
DProcessor.c160 IN UINTN RegNumber in FindPointerToRegister() argument
164 ASSERT(gRegisterOffsets[RegNumber] < 0xF00); in FindPointerToRegister()
165 TempPtr = ((UINT8 *)SystemContext.SystemContextArm) + gRegisterOffsets[RegNumber]; in FindPointerToRegister()
180 IN UINTN RegNumber, in BasicReadRegister() argument
187 if (gRegisterOffsets[RegNumber] > 0xF00) { in BasicReadRegister()
195 …Char = mHexToStr[(UINT8)((*FindPointerToRegister(SystemContext, RegNumber) >> (RegSize+4)) & 0xf)]; in BasicReadRegister()
201 Char = mHexToStr[(UINT8)((*FindPointerToRegister(SystemContext, RegNumber) >> RegSize) & 0xf)]; in BasicReadRegister()
224 UINTN RegNumber; in ReadNthRegister() local
228 RegNumber = AsciiStrHexToUintn (&InBuffer[1]); in ReadNthRegister()
230 if (RegNumber >= (sizeof (gRegisterOffsets)/sizeof (UINTN))) { in ReadNthRegister()
[all …]
/device/linaro/bootloader/edk2/EmbeddedPkg/GdbStub/Arm/
DProcessor.c145 IN UINTN RegNumber in FindPointerToRegister() argument
149 ASSERT(gRegisterOffsets[RegNumber] < 0xF00); in FindPointerToRegister()
150 TempPtr = ((UINT8 *)SystemContext.SystemContextArm) + gRegisterOffsets[RegNumber]; in FindPointerToRegister()
165 IN UINTN RegNumber, in BasicReadRegister() argument
172 if (gRegisterOffsets[RegNumber] > 0xF00) { in BasicReadRegister()
180 …Char = mHexToStr[(UINT8)((*FindPointerToRegister (SystemContext, RegNumber) >> (RegSize+4)) & 0xf)… in BasicReadRegister()
186 Char = mHexToStr[(UINT8)((*FindPointerToRegister (SystemContext, RegNumber) >> RegSize) & 0xf)]; in BasicReadRegister()
209 UINTN RegNumber; in ReadNthRegister() local
213 RegNumber = AsciiStrHexToUintn (&InBuffer[1]); in ReadNthRegister()
215 if (RegNumber >= MaxRegisterCount ()) { in ReadNthRegister()
[all …]
/device/linaro/bootloader/edk2/EmbeddedPkg/GdbStub/X64/
DProcessor.c124 IN UINTN RegNumber in FindPointerToRegister() argument
128 TempPtr = ((UINT8 *)SystemContext.SystemContextX64) + gRegisterOffsets[RegNumber]; in FindPointerToRegister()
143 IN UINTN RegNumber, in BasicReadRegister() argument
151 …*OutBufPtr++ = mHexToStr[((*FindPointerToRegister(SystemContext, RegNumber) >> (RegSize+4)) & 0xf)… in BasicReadRegister()
152 *OutBufPtr++ = mHexToStr[((*FindPointerToRegister(SystemContext, RegNumber) >> RegSize) & 0xf)]; in BasicReadRegister()
170 UINTN RegNumber; in ReadNthRegister() local
174 RegNumber = AsciiStrHexToUintn (&InBuffer[1]); in ReadNthRegister()
176 if ((RegNumber < 0) || (RegNumber >= MaxRegisterCount())) { in ReadNthRegister()
182 OutBufPtr = BasicReadRegister(SystemContext, RegNumber, OutBufPtr); in ReadNthRegister()
225 IN UINTN RegNumber, in BasicWriteRegister() argument
[all …]
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbDebugAgent/X64/
DProcessor.c124 IN UINTN RegNumber in FindPointerToRegister() argument
128 TempPtr = ((UINT8 *)SystemContext.SystemContextX64) + gRegisterOffsets[RegNumber]; in FindPointerToRegister()
143 IN UINTN RegNumber, in BasicReadRegister() argument
151 …*OutBufPtr++ = mHexToStr[((*FindPointerToRegister(SystemContext, RegNumber) >> (RegSize+4)) & 0xf)… in BasicReadRegister()
152 *OutBufPtr++ = mHexToStr[((*FindPointerToRegister(SystemContext, RegNumber) >> RegSize) & 0xf)]; in BasicReadRegister()
170 UINTN RegNumber; in ReadNthRegister() local
174 RegNumber = AsciiStrHexToUintn (&InBuffer[1]); in ReadNthRegister()
176 if ((RegNumber < 0) || (RegNumber >= MaxRegisterCount())) { in ReadNthRegister()
182 OutBufPtr = BasicReadRegister(SystemContext, RegNumber, OutBufPtr); in ReadNthRegister()
225 IN UINTN RegNumber, in BasicWriteRegister() argument
[all …]
/device/linaro/bootloader/edk2/EmbeddedPkg/GdbStub/Ia32/
DProcessor.c152 IN UINTN RegNumber in FindPointerToRegister() argument
156 TempPtr = ((UINT8 *)SystemContext.SystemContextIa32) + gRegisterOffsets[RegNumber]; in FindPointerToRegister()
172 IN UINTN RegNumber, in BasicReadRegister() argument
180 …*OutBufPtr++ = mHexToStr[((*FindPointerToRegister (SystemContext, RegNumber) >> (RegSize+4)) & 0xf… in BasicReadRegister()
181 … *OutBufPtr++ = mHexToStr[((*FindPointerToRegister (SystemContext, RegNumber) >> RegSize) & 0xf)]; in BasicReadRegister()
201 UINTN RegNumber; in ReadNthRegister() local
205 RegNumber = AsciiStrHexToUintn (&InBuffer[1]); in ReadNthRegister()
207 if ((RegNumber < 0) || (RegNumber >= MaxRegisterCount())) { in ReadNthRegister()
213 OutBufPtr = BasicReadRegister (SystemContext, RegNumber, OutBufPtr); in ReadNthRegister()
256 IN UINTN RegNumber, in BasicWriteRegister() argument
[all …]
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbDebugAgent/Ia32/
DProcessor.c138 IN UINTN RegNumber in FindPointerToRegister() argument
142 TempPtr = ((UINT8 *)SystemContext.SystemContextIa32) + gRegisterOffsets[RegNumber]; in FindPointerToRegister()
158 IN UINTN RegNumber, in BasicReadRegister() argument
166 …*OutBufPtr++ = mHexToStr[((*FindPointerToRegister(SystemContext, RegNumber) >> (RegSize+4)) & 0xf)… in BasicReadRegister()
167 *OutBufPtr++ = mHexToStr[((*FindPointerToRegister(SystemContext, RegNumber) >> RegSize) & 0xf)]; in BasicReadRegister()
187 UINTN RegNumber; in ReadNthRegister() local
191 RegNumber = AsciiStrHexToUintn (&InBuffer[1]); in ReadNthRegister()
193 if ((RegNumber < 0) || (RegNumber >= sizeof (gRegisterOffsets)/sizeof (UINTN))) { in ReadNthRegister()
199 OutBufPtr = BasicReadRegister(SystemContext, RegNumber, OutBufPtr); in ReadNthRegister()
242 IN UINTN RegNumber, in BasicWriteRegister() argument
[all …]
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbDebugAgent/
DGdbDebugAgent.h581 IN UINTN RegNumber
587 IN UINTN RegNumber,
607 IN UINTN RegNumber,
/device/linaro/bootloader/edk2/EmbeddedPkg/GdbStub/
DGdbStubInternal.h635 IN UINTN RegNumber
641 IN UINTN RegNumber,
661 IN UINTN RegNumber,