-/** @file\r
- Template for ArmEb DebugAgentLib. \r
-\r
- For ARM we reserve FIQ for the Debug Agent Timer. We don't care about \r
- laytency as we only really need the timer to run a few times a second \r
- (how fast can some one type a ctrl-c?), but it works much better if\r
- the interrupt we are using to break into the debugger is not being\r
- used, and masked, by the system. \r
-\r
- Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>\r
- \r
- This program and the accompanying materials\r
- are licensed and made available under the terms and conditions of the BSD License\r
- which accompanies this distribution. The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-\r
-**/\r
-\r
-#include <Base.h>\r
-\r
-#include <Library/DebugAgentTimerLib.h>\r
-\r
-#include <ArmEb/ArmEb.h>\r
-\r
-\r
-/**\r
- Setup all the hardware needed for the debug agents timer.\r
-\r
- This function is used to set up debug enviroment. \r
-\r
-**/\r
-VOID\r
-EFIAPI\r
-DebugAgentTimerIntialize (\r
- VOID\r
- )\r
-{\r
- // Map Timer to FIQ\r
-}\r
- \r
- \r
-/**\r
- Set the period for the debug agent timer. Zero means disable the timer.\r
-\r
- @param[in] TimerPeriodMilliseconds Frequency of the debug agent timer.\r
-\r
-**/ \r
-VOID\r
-EFIAPI\r
-DebugAgentTimerSetPeriod (\r
- IN UINT32 TimerPeriodMilliseconds\r
- )\r
-{\r
- if (TimerPeriodMilliseconds == 0) {\r
- // Disable timer and Disable FIQ\r
- return;\r
- } \r
-\r
- // Set timer period and unmask FIQ\r
-}\r
- \r
-\r
-/**\r
- Perform End Of Interrupt for the debug agent timer. This is called in the \r
- interrupt handler after the interrupt has been processed. \r
-\r
-**/ \r
-VOID\r
-EFIAPI\r
-DebugAgentTimerEndOfInterrupt (\r
- VOID\r
- )\r
-{\r
- // EOI Timer interrupt for FIQ\r
-}\r
- \r
-
\ No newline at end of file