The platform_watchdog_ methods are optional features that the target platform can choose to implement. If they are implemented, then BootService.SetWatchdogTimer() would call them to setup the hardware watchdog. If they are not implemented (for example presubmit targets), then BootService.SetWatchdogTimer() would test the WEAK symbol against a NULL pointer and error out. To use BootService.SetWatchdogTimer(), platforms can choose to either implement platform_watchdog_init and platform_watchdog_set_enabled, or override the entire BootService.SetWatchdogTimer() method.
33 lines
748 B
Makefile
33 lines
748 B
Makefile
LOCAL_DIR := $(GET_LOCAL_DIR)
|
|
|
|
MODULE := $(LOCAL_DIR)
|
|
|
|
MODULE_DEFINES=MSPACES=1
|
|
|
|
MODULE_INCLUDES += \
|
|
lib/watchdog/include \
|
|
|
|
MODULE_DEPS += \
|
|
lib/libcpp \
|
|
|
|
MODULE_SRCS += \
|
|
$(LOCAL_DIR)/uefi.cpp \
|
|
$(LOCAL_DIR)/relocation.cpp \
|
|
$(LOCAL_DIR)/text_protocol.cpp \
|
|
$(LOCAL_DIR)/boot_service_provider.cpp \
|
|
$(LOCAL_DIR)/memory_protocols.cpp \
|
|
$(LOCAL_DIR)/blockio_protocols.cpp \
|
|
$(LOCAL_DIR)/blockio2_protocols.cpp \
|
|
$(LOCAL_DIR)/uefi_platform.cpp \
|
|
$(LOCAL_DIR)/runtime_service_provider.cpp \
|
|
$(LOCAL_DIR)/switch_stack.S \
|
|
$(LOCAL_DIR)/configuration_table.cpp \
|
|
$(LOCAL_DIR)/events.cpp \
|
|
$(LOCAL_DIR)/io_stack.cpp \
|
|
$(LOCAL_DIR)/debug_support.cpp \
|
|
$(LOCAL_DIR)/charset.cpp \
|
|
$(LOCAL_DIR)/variable_mem.cpp \
|
|
|
|
|
|
include make/module.mk
|