CloverBootloader/Include/Library/OcOSInfoLib.h

33 lines
852 B
C
Raw Normal View History

/** @file
Copyright (C) 2020, vit9696. All rights reserved.
All rights reserved.
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef OC_OS_INFO_LIB_H
#define OC_OS_INFO_LIB_H
#include <Protocol/OSInfo.h>
/**
Install and initialise OS Info protocol.
@param[in] Reinstall Overwrite installed protocol.
@retval installed or located protocol or NULL.
**/
EFI_OS_INFO_PROTOCOL *
OcOSInfoInstallProtocol (
IN BOOLEAN Reinstall
);
#endif // OC_OS_INFO_LIB_H