From: klu2 Date: Wed, 27 Jun 2007 08:55:31 +0000 (+0000) Subject: Add missing files X-Git-Tag: edk2-stable201903~23155 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=89f1008730510c2501124e7d769659c79bab5ede Add missing files git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2800 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdePkg/Library/UefiRuntimeLib/CommonHeader.h b/MdePkg/Library/UefiRuntimeLib/CommonHeader.h new file mode 100644 index 0000000000..186872814d --- /dev/null +++ b/MdePkg/Library/UefiRuntimeLib/CommonHeader.h @@ -0,0 +1,33 @@ +/**@file + Common header file shared by all source files. + + This file includes package header files, library classes and protocol, PPI & GUID definitions. + + Copyright (c) 2006 - 2007, Intel Corporation. + 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 __COMMON_HEADER_H_ +#define __COMMON_HEADER_H_ + + +// +// The package level header files this module uses +// +#include +// +// The protocols, PPI and GUID defintions for this module +// +// +// The Library classes this module consumes +// +#include +#include +#include + +#endif diff --git a/MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf b/MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf new file mode 100644 index 0000000000..db35973870 --- /dev/null +++ b/MdePkg/Library/UefiRuntimeLib/UefiRuntimeLib.inf @@ -0,0 +1,100 @@ +#/** @file +# Runtime driver library +# +# Instance of runtime driver library, Hook VitualAddressChange and +# BooterviceExit event and provide runtime service. +# Copyright (c) 2006 - 2007, Intel Corporation. +# +# 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. +# +# +#**/ + +################################################################################ +# +# Defines Section - statements that will be processed to create a Makefile. +# +################################################################################ +[Defines] + INF_VERSION = 0x00010005 + BASE_NAME = EdkUefiRuntimeLib + FILE_GUID = b1ee6c28-54aa-4d17-b705-3e28ccb27b2e + MODULE_TYPE = DXE_RUNTIME_DRIVER + VERSION_STRING = 1.0 + LIBRARY_CLASS = UefiRuntimeLib|DXE_RUNTIME_DRIVER DXE_SAL_DRIVER + EDK_RELEASE_VERSION = 0x00020000 + EFI_SPECIFICATION_VERSION = 0x00020000 + + CONSTRUCTOR = RuntimeDriverLibConstruct + DESTRUCTOR = RuntimeDriverLibDeconstruct + +# +# The following information is for reference only and not required by the build tools. +# +# VALID_ARCHITECTURES = IA32 X64 EBC +# + +################################################################################ +# +# Sources Section - list of files that are required for the build to succeed. +# +################################################################################ + +[Sources.common] + RuntimeLibInternal.h + CommonHeader.h + +[Sources.Ia32] + RuntimeService.c + RuntimeLib.c + +[Sources.X64] + RuntimeService.c + RuntimeLib.c + +[Sources.EBC] + RuntimeService.c + RuntimeLib.c + + +################################################################################ +# +# Includes Section - list of Include locations that are required for +# this module. +# +################################################################################ + +[Includes] + $(WORKSPACE)/MdePkg/Include/Library + +################################################################################ +# +# Package Dependency Section - list of Package files that are required for +# this module. +# +################################################################################ + +[Packages] + MdePkg/MdePkg.dec + +[Packages.IPF] + MdePkg/MdePkg.dec + + +################################################################################ +# +# Library Class Section - list of Library Classes that are required for +# this module. +# +################################################################################ + +[LibraryClasses] + UefiBootServicesTableLib + DebugLib + +