/** @file
WatchDog policy
Copyright (c) 2017, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef _WATCH_DOG_CONFIG_H_
#define _WATCH_DOG_CONFIG_H_
#define WATCH_DOG_PREMEM_CONFIG_REVISION 1
extern EFI_GUID gWatchDogPreMemConfigGuid;
#pragma pack (push,1)
/**
This policy clears status bits and disable watchdog, then lock the
WDT registers.
while WDT is designed to be disabled and locked by Policy,
bios should not enable WDT by WDT PPI. In such case, bios shows the
warning message but not disable and lock WDT register to make sure
WDT event trigger correctly.
**/
typedef struct {
CONFIG_BLOCK_HEADER Header; ///< Config Block Header
UINT32 DisableAndLock : 1; ///< (Test) Set 1 to clear WDT status, then disable and lock WDT registers. 0: Disable; 1: Enable.
UINT32 RsvdBits : 31;
} PCH_WDT_PREMEM_CONFIG;
#pragma pack (pop)
#endif // _WATCH_DOG_CONFIG_H_