Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

51 lines
1.0 KiB
C
Raw Permalink Normal View History

/** @file
2014-08-19 13:29:52 +00:00
Platform specific Debug Agent abstraction for timer used by the agent.
The timer is used by the debugger to break into a running program.
2010-04-29 12:40:51 +00:00
Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.<BR>
2014-08-19 13:29:52 +00:00
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef __GDB_TIMER_LIB__
#define __GDB_TIMER_LIB__
/**
Setup all the hardware needed for the debug agents timer.
2019-07-03 14:25:30 +01:00
This function is used to set up debug environment. It may enable interrupts.
**/
VOID
EFIAPI
DebugAgentTimerIntialize (
VOID
);
2014-08-19 13:29:52 +00:00
/**
Set the period for the debug agent timer. Zero means disable the timer.
@param[in] TimerPeriodMilliseconds Frequency of the debug agent timer.
2014-08-19 13:29:52 +00:00
**/
VOID
EFIAPI
DebugAgentTimerSetPeriod (
IN UINT32 TimerPeriodMilliseconds
);
2014-08-19 13:29:52 +00:00
/**
2014-08-19 13:29:52 +00:00
Perform End Of Interrupt for the debug agent timer. This is called in the
interrupt handler after the interrupt has been processed.
2014-08-19 13:29:52 +00:00
**/
VOID
EFIAPI
DebugAgentTimerEndOfInterrupt (
VOID
);
2014-08-19 13:29:52 +00:00
#endif