1 /** @file 2 WatchDog policy 3 4 Copyright (c) 2021, Intel Corporation. All rights reserved.<BR> 5 SPDX-License-Identifier: BSD-2-Clause-Patent 6 **/ 7 #ifndef _WATCH_DOG_CONFIG_H_ 8 #define _WATCH_DOG_CONFIG_H_ 9 10 #define WATCH_DOG_PREMEM_CONFIG_REVISION 1 11 extern EFI_GUID gWatchDogPreMemConfigGuid; 12 13 #pragma pack (push,1) 14 15 /** 16 This policy clears status bits and disable watchdog, then lock the 17 WDT registers. 18 while WDT is designed to be disabled and locked by Policy, 19 bios should not enable WDT by WDT PPI. In such case, bios shows the 20 warning message but not disable and lock WDT register to make sure 21 WDT event trigger correctly. 22 **/ 23 typedef struct { 24 CONFIG_BLOCK_HEADER Header; ///< Config Block Header 25 UINT32 DisableAndLock : 1; ///< <b>(Test)</b> Set 1 to clear WDT status, then disable and lock WDT registers. <b>0: Disable</b>; 1: Enable. 26 UINT32 RsvdBits : 31; 27 } PCH_WDT_PREMEM_CONFIG; 28 29 #pragma pack (pop) 30 31 #endif // _WATCH_DOG_CONFIG_H_ 32