Support DxeMemoryLib building.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2962 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
yshang1 2007-07-02 09:58:37 +00:00
parent 71339b0da0
commit 1ece02b57e
8 changed files with 117 additions and 0 deletions

View File

@ -0,0 +1,95 @@
#/** @file
# Component description file for Dxe Memory Library.
#
# Base Memory Library implementation that uses EFI Boot Services
# where possible for size reduction.
# Copyright (c) 2006, 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 = DxeMemoryLib
FILE_GUID = f1bbe03d-2f28-4dee-bec7-d98d7a30c36a
MODULE_TYPE = UEFI_DRIVER
VERSION_STRING = 1.0
LIBRARY_CLASS = BaseMemoryLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER
EDK_RELEASE_VERSION = 0x00020000
EFI_SPECIFICATION_VERSION = 0x00020000
#
# The following information is for reference only and not required by the build tools.
#
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
################################################################################
#
# Sources Section - list of files that are required for the build to succeed.
#
################################################################################
[Sources.common]
ScanMem64Wrapper.c
ScanMem32Wrapper.c
ScanMem16Wrapper.c
ScanMem8Wrapper.c
ZeroMemWrapper.c
CompareMemWrapper.c
SetMem64Wrapper.c
SetMem32Wrapper.c
SetMem16Wrapper.c
SetMemWrapper.c
CopyMemWrapper.c
MemLibGeneric.c
MemLibGuid.c
MemLib.c
MemLibInternals.h
################################################################################
#
# Includes Section - list of Include locations that are required for
# this module.
#
################################################################################
[Includes]
################################################################################
#
# Package Dependency Section - list of Package files that are required for
# this module.
#
################################################################################
[Packages]
MdePkg/MdePkg.dec
################################################################################
#
# Library Class Section - list of Library Classes that are required for
# this module.
#
################################################################################
[LibraryClasses]
BaseLib
UefiBootServicesTableLib
DebugLib

View File

@ -23,6 +23,8 @@
**/
#include "MemLibInternals.h"
/**
Copies a source GUID to a destination GUID.

View File

@ -26,6 +26,21 @@
#ifndef __MEM_LIB_INTERNALS__
#define __MEM_LIB_INTERNALS__
//
// The package level header files this module uses
//
#include <Uefi.h>
//
// The protocols, PPI and GUID defintions for this module
//
//
// The Library classes this module consumes
//
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/BaseLib.h>
/**
Copy Length bytes from Source to Destination.

View File

@ -23,6 +23,7 @@
**/
#include "MemLibInternals.h"
/**

View File

@ -23,6 +23,7 @@
**/
#include "MemLibInternals.h"
/**

View File

@ -23,6 +23,7 @@
**/
#include "MemLibInternals.h"
/**

View File

@ -23,6 +23,7 @@
**/
#include "MemLibInternals.h"
/**

View File

@ -23,6 +23,7 @@
**/
#include "MemLibInternals.h"
/**