summaryrefslogtreecommitdiff
path: root/ArmPkg
AgeCommit message (Collapse)AuthorFilesLines
2010-04-14Add a PE/COFF extra action lib that DEBUG prints the debugger command to ↵andrewfish2-0/+161
load symbols. Turn off DXE Core DEBUG print on load and use this new library in its place. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10373 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-13Make sure FIQ debugger stuff can work.andrewfish1-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10369 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-13Cleanup MMU code to do book required sync. Update exception handler to clear ↵andrewfish8-46/+141
fault registers. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10366 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-07Cleanup Cache an MMU operations.andrewfish2-29/+15
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10348 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-17Remove hook for debugger. Should be implemented using the new library scheme.andrewfish3-320/+17
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10264 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-17Fix bugandrewfish1-3/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10263 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-17Update intrinsics for code sourcery gccandrewfish21-94/+178
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10262 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-05Added FIQ interrupt primatives. Update exception handler to disable/reenable ↵andrewfish6-4/+118
FIQ when updating in case debug agent library is using FIQ. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10197 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-05Make these drivers more compatible with a projected Debug Agent Library ↵andrewfish1-11/+21
implementation. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10196 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-03Syncing GCC and ARMASM assembly. Made chunks of the ARMASM lowercase to make ↵andrewfish2-110/+111
the diff easier. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10163 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25Remove svn:executable on *.c, *.h, *.asm, *.S, *.inf and *.asl*jljusten4-0/+0
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10087 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-24Move ARMv5 (ARM9) barrier instructions into assembler filesandrewfish4-51/+37
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10064 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-24Updated Hardware Interrupt protocol to add an EOI member. Added ARM ↵andrewfish7-1/+148
Data/Instruction syncronization barrier support to the ARM lib. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10063 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-19Clean up some externsandrewfish2-1/+3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10028 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-19Fix typoandrewfish1-2/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10026 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-19Sync gcc with armasm. update some memory barriers.andrewfish10-153/+570
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10025 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-18Hack in some DSB, ISB syncronization primatives. Need to do it a little cleaner.andrewfish5-5/+307
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10023 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-18Change Cortex-A8 references to ARMv7. Cortex-A8 is a branded implementation ↵andrewfish8-26/+26
of the ARMv7 processor architecture. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10022 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-16Fix bug in UncachedMemoryAllocationLib, Assembler, make ↵andrewfish5-8/+13
DefaultExceptionHandler lib inc the PC past the faulting instruction to aid debug. Update LR in Exception hanlder, so return address can get updated properly. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10018 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-16After the ASSERT adjust the PC so you skip the faulting instruction. Lets ↵andrewfish1-0/+17
you walk out of the exception handler and keeprunning code. This way you can walk out of the call stack. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10010 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-10Clean up UncachedMemoryAllocationLib to use CPU AP.andrewfish3-165/+168
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9960 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-07Added CWD to EfiFileLib. Fix some X64 warnings.andrewfish1-1/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9942 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-05Update input of disasmembler to support IfThen construct. Add prototype dos ↵andrewfish3-18/+64
script to build BeagleBoard. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9936 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-04More disasm work.andrewfish1-11/+80
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9932 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-04More updatedandrewfish1-14/+142
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9926 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-03Fix GCC warningsandrewfish1-0/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9925 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-03Cleanup to match MdePkg cleanups. More progress on ARM disassembler.andrewfish4-18/+124
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9924 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-03Added Thumb2 loads and stores to Disassmeblerandrewfish1-54/+239
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9916 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-02Fix thumb2 Branch instruction in disassemblerandrewfish1-25/+25
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9913 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-02More progress on the disassebler libandrewfish1-96/+152
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9909 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-01Move ARM disassembler into a library and out of the exception handler. Add a ↵andrewfish4-8/+37
hook to call the lib from a platform specific EBL command on BeagleBoard. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9903 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-01Move ARM disassembler into a library.andrewfish8-48/+179
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9902 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-30Remove out of date comment and fix gcc warning.andrewfish2-13/+1
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9882 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-29Update execption handler to print out DFSR & IFSR info.andrewfish1-3/+47
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9864 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-27Added a library for the default exception handler and started to add a ↵andrewfish14-189/+1247
dissasembler. Cleaned up some issues with BlockIo in BeagleBoard and add some extra info on Ebl devices command to show if a blk device has a file system on it. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9830 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-17Fix RVCT compiler warnings, and a bug in the GdbStubAJFISH1-0/+2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9790 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-17Missed a fix in the Cpu Driver. Added some more debug for Execption handling ↵AJFISH4-17/+27
and clean up some uncached stuff. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9789 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-15Minor update to move array into function to dead strip better on release buildsAJFISH1-17/+16
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9778 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-15Updated ARM Exception handler to print out text values for CPSR registerAJFISH1-10/+83
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9777 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14Added new PeCoffGetEntryPoint lib function to get size of PE/COFF header. ↵AJFISH7-97/+91
This is needed for debug prints with PE/COFF images that started as ELF or Mach-O. Moved and debugged ARM semihosting lib for RVD that prints out the debugger symbol load commands in a window on the debugger. Trying to write a script file, but that crashes RVD. Added debug print to BeagleBoard Sec that prints out RVD debugger command to load symbols for the Sec. Synced the rest of the code. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9763 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14Fix GCC build bug and add a debug library to dump load and unload commands ↵AJFISH4-55/+213
into the RVI debugger window. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9752 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14Added support for L2 (4K) page tables and made the CPU driver change ↵AJFISH12-79/+461
cachability attributes on request. Also got the DebugUncache infrastructure working for the first time. Looks like it works for the simple case. Checking in so we can get more eyes looking at the code. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9734 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-13Adding a Debug version of the UncachedMemoryAllocationLib that will make the ↵AJFISH3-0/+702
PCI DMA address not match the CPU C address for a DMA buffer. The PCI DMA address will generate a page fault if accessed from the CPU. This should make it easy to debug EFI DMA code to make sure it is following the correct rules for which pointer to use. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9725 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-12Working on adding paging to the CpuDxe driver so it can update cachablity. ↵AJFISH1-0/+750
At this point it is coded, but untested. So this file is not yet hooked into the driver. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9721 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-12One more header fixAJFISH1-1/+15
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9719 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-12Fix some more headers. Add some missing library classes in .dec file and ↵AJFISH3-5/+47
update .dsc to default to cortex ARM cpu type. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9718 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-12Updating ArmLib.h to add functions needed to turn on paging in CpuDxe. Also ↵AJFISH2-0/+72
added a protocol to enable debugging of DMA issues. DxeCpu driver will produce and the UncachedMemoryAllocationLib can consume. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9717 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-12Need to add some extra functions to the libraries to support paging in the ↵AJFISH21-14/+200
CpuDxe driver (still working on that). Also looks like some of the .INF file hade the token used to search replace the copyright headers and not the headers so I updated that. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9716 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-12Add some missing 64-bit math functions for gccAJFISH4-1/+151
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9715 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-08Fixed a bug in the HardwareInterrupt handler that would blow the stack if ↵AJFISH2-13/+3
you reenable interrupts in the TimerHandler. It should be noted this happens as the TimerHandler raises and restores TPL for the timer tick used by the DXE Core. There was some work around code in the CPU driver to prevent interrupts from being enabled while handling exceptions. This has been removed. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9701 6f19259b-4bc3-4df7-8a09-765794883524