Path: blob/main/system/lib/llvm-libc/config/uefi/app.h
6173 views
//===-- Classes to capture properites of UEFI applications ------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLVM_LIBC_CONFIG_UEFI_APP_H9#define LLVM_LIBC_CONFIG_UEFI_APP_H1011#include "include/llvm-libc-types/EFI_HANDLE.h"12#include "include/llvm-libc-types/EFI_SYSTEM_TABLE.h"13#include "src/__support/macros/config.h"14#include "src/__support/macros/properties/architectures.h"1516#include <stdint.h>1718namespace LIBC_NAMESPACE_DECL {1920// Data structure which captures properties of a UEFI application.21struct AppProperties {22// UEFI system table23EFI_SYSTEM_TABLE *system_table;2425// UEFI image handle26EFI_HANDLE image_handle;27};2829[[gnu::weak]] extern AppProperties app;3031} // namespace LIBC_NAMESPACE_DECL3233#endif // LLVM_LIBC_CONFIG_UEFI_APP_H343536