2007-06-27 08:48:58 +02:00
|
|
|
#/** @file
|
|
|
|
# Gop Driver
|
|
|
|
#
|
|
|
|
# GOP is short hand for UEFI Graphics Output protocol.
|
|
|
|
# This file is a verision of GopIo the uses WinNtThunk system calls as an IO
|
|
|
|
# abstraction. For a PCI device WinNtIo would be replaced with
|
|
|
|
# a PCI IO abstraction that abstracted a specific PCI device.
|
|
|
|
# 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 = WinNtGop
|
|
|
|
FILE_GUID = 29b3c4c6-e5aa-49e4-8ce0-2772f782ddc2
|
|
|
|
MODULE_TYPE = UEFI_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
EDK_RELEASE_VERSION = 0x00020000
|
|
|
|
EFI_SPECIFICATION_VERSION = 0x00020000
|
|
|
|
|
|
|
|
ENTRY_POINT = InitializeWinNtGop
|
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32
|
|
|
|
#
|
|
|
|
# DRIVER_BINDING = gWinNtGopDriverBinding
|
|
|
|
# COMPONENT_NAME = gWinNtGopComponentName
|
|
|
|
#
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Sources Section - list of files that are required for the build to succeed.
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
[Sources.common]
|
|
|
|
WinNtGopDriver.c
|
|
|
|
ComponentName.c
|
|
|
|
WinNtGop.h
|
|
|
|
WinNtGopInput.c
|
|
|
|
WinNtGopScreen.c
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Package Dependency Section - list of Package files that are required for
|
|
|
|
# this module.
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
2007-06-29 23:03:06 +02:00
|
|
|
Nt32Pkg/Nt32Pkg.dec
|
2007-06-27 08:48:58 +02:00
|
|
|
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Library Class Section - list of Library Classes that are required for
|
|
|
|
# this module.
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
MemoryAllocationLib
|
|
|
|
UefiBootServicesTableLib
|
|
|
|
BaseMemoryLib
|
|
|
|
UefiLib
|
|
|
|
UefiDriverEntryPoint
|
|
|
|
BaseLib
|
|
|
|
DebugLib
|
|
|
|
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Guid C Name Section - list of Guids that this module uses or produces.
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
[Guids]
|
|
|
|
gEfiEventExitBootServicesGuid # SOMETIMES_CONSUMED Create Event: EVENT_GROUP_GUID
|
|
|
|
gEfiWinNtGopGuid # ALWAYS_CONSUMED
|
|
|
|
|
|
|
|
|
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# Protocol C Name Section - list of Protocol and Protocol Notify C Names
|
|
|
|
# that this module uses or produces.
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
[Protocols]
|
|
|
|
gEfiGraphicsOutputProtocolGuid # PROTOCOL BY_START
|
|
|
|
gEfiSimpleTextInProtocolGuid # PROTOCOL BY_START
|
|
|
|
gEfiWinNtIoProtocolGuid # PROTOCOL TO_START
|
|
|
|
|