TianoCore EDK2 master
Loading...
Searching...
No Matches
GenericWatchdog.h File Reference

Go to the source code of this file.

Macros

#define GENERIC_WDOG_REFRESH_REG   ((UINTN)FixedPcdGet64 (PcdGenericWatchdogRefreshBase) + 0x000)
 
#define GENERIC_WDOG_CONTROL_STATUS_REG   ((UINTN)FixedPcdGet64 (PcdGenericWatchdogControlBase) + 0x000)
 
#define GENERIC_WDOG_OFFSET_REG_LOW   ((UINTN)FixedPcdGet64 (PcdGenericWatchdogControlBase) + 0x008)
 
#define GENERIC_WDOG_OFFSET_REG_HIGH   ((UINTN)FixedPcdGet64 (PcdGenericWatchdogControlBase) + 0x00C)
 
#define GENERIC_WDOG_COMPARE_VALUE_REG_LOW   ((UINTN)FixedPcdGet64 (PcdGenericWatchdogControlBase) + 0x010)
 
#define GENERIC_WDOG_COMPARE_VALUE_REG_HIGH   ((UINTN)FixedPcdGet64 (PcdGenericWatchdogControlBase) + 0x014)
 
#define GENERIC_WDOG_IID_REG   ((UINTN)FixedPcdGet64 (PcdGenericWatchdogControlBase) + 0xFCC)
 
#define GENERIC_WDOG_ENABLED   1
 
#define GENERIC_WDOG_DISABLED   0
 
#define GENERIC_WDOG_IID_ARCH_REV_SHIFT   16
 
#define GENERIC_WDOG_IID_ARCH_REV_MASK   0xF
 

Detailed Description

Copyright (c) 2023, Ampere Computing LLC. All rights reserved.
Copyright (c) 2013-2017, ARM Limited. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Reference(s):

Definition in file GenericWatchdog.h.

Macro Definition Documentation

◆ GENERIC_WDOG_COMPARE_VALUE_REG_HIGH

#define GENERIC_WDOG_COMPARE_VALUE_REG_HIGH   ((UINTN)FixedPcdGet64 (PcdGenericWatchdogControlBase) + 0x014)

Definition at line 24 of file GenericWatchdog.h.

◆ GENERIC_WDOG_COMPARE_VALUE_REG_LOW

#define GENERIC_WDOG_COMPARE_VALUE_REG_LOW   ((UINTN)FixedPcdGet64 (PcdGenericWatchdogControlBase) + 0x010)

Definition at line 23 of file GenericWatchdog.h.

◆ GENERIC_WDOG_CONTROL_STATUS_REG

#define GENERIC_WDOG_CONTROL_STATUS_REG   ((UINTN)FixedPcdGet64 (PcdGenericWatchdogControlBase) + 0x000)

Definition at line 20 of file GenericWatchdog.h.

◆ GENERIC_WDOG_DISABLED

#define GENERIC_WDOG_DISABLED   0

Definition at line 29 of file GenericWatchdog.h.

◆ GENERIC_WDOG_ENABLED

#define GENERIC_WDOG_ENABLED   1

Definition at line 28 of file GenericWatchdog.h.

◆ GENERIC_WDOG_IID_ARCH_REV_MASK

#define GENERIC_WDOG_IID_ARCH_REV_MASK   0xF

Definition at line 32 of file GenericWatchdog.h.

◆ GENERIC_WDOG_IID_ARCH_REV_SHIFT

#define GENERIC_WDOG_IID_ARCH_REV_SHIFT   16

Definition at line 31 of file GenericWatchdog.h.

◆ GENERIC_WDOG_IID_REG

#define GENERIC_WDOG_IID_REG   ((UINTN)FixedPcdGet64 (PcdGenericWatchdogControlBase) + 0xFCC)

Definition at line 25 of file GenericWatchdog.h.

◆ GENERIC_WDOG_OFFSET_REG_HIGH

#define GENERIC_WDOG_OFFSET_REG_HIGH   ((UINTN)FixedPcdGet64 (PcdGenericWatchdogControlBase) + 0x00C)

Definition at line 22 of file GenericWatchdog.h.

◆ GENERIC_WDOG_OFFSET_REG_LOW

#define GENERIC_WDOG_OFFSET_REG_LOW   ((UINTN)FixedPcdGet64 (PcdGenericWatchdogControlBase) + 0x008)

Definition at line 21 of file GenericWatchdog.h.

◆ GENERIC_WDOG_REFRESH_REG

#define GENERIC_WDOG_REFRESH_REG   ((UINTN)FixedPcdGet64 (PcdGenericWatchdogRefreshBase) + 0x000)

Definition at line 17 of file GenericWatchdog.h.