mirror of https://github.com/acidanthera/audk.git
clean up CommonHeader.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3251 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
fdaf1f92c1
commit
752f2e26c7
|
@ -1,51 +0,0 @@
|
||||||
/**@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 <PiDxe.h>
|
|
||||||
#include <Framework/StatusCode.h>
|
|
||||||
|
|
||||||
//
|
|
||||||
// The protocols, PPI and GUID defintions for this module
|
|
||||||
//
|
|
||||||
#include <Protocol/SimpleTextIn.h>
|
|
||||||
#include <Protocol/IsaIo.h>
|
|
||||||
#include <Protocol/DevicePath.h>
|
|
||||||
#include <Protocol/Ps2Policy.h>
|
|
||||||
|
|
||||||
//
|
|
||||||
// The Library classes this module consumes
|
|
||||||
//
|
|
||||||
#include <Library/UefiDriverEntryPoint.h>
|
|
||||||
#include <Library/UefiLib.h>
|
|
||||||
#include <Library/UefiBootServicesTableLib.h>
|
|
||||||
#include <Library/ReportStatusCodeLib.h>
|
|
||||||
#include <Library/DebugLib.h>
|
|
||||||
#include <Library/UefiRuntimeServicesTableLib.h>
|
|
||||||
#include <Library/MemoryAllocationLib.h>
|
|
||||||
//
|
|
||||||
// Driver Binding Externs
|
|
||||||
//
|
|
||||||
extern EFI_DRIVER_BINDING_PROTOCOL gKeyboardControllerDriver;
|
|
||||||
extern EFI_COMPONENT_NAME_PROTOCOL gPs2KeyboardComponentName;
|
|
||||||
|
|
||||||
#endif
|
|
|
@ -17,11 +17,6 @@ Abstract:
|
||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "Ps2Keyboard.h"
|
#include "Ps2Keyboard.h"
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
@ -18,7 +18,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
//
|
//
|
||||||
// Include common header file for this module.
|
// Include common header file for this module.
|
||||||
//
|
//
|
||||||
#include "CommonHeader.h"
|
#include "Ps2Keyboard.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
The user Entry Point for module Ps2Keyboard. The user code starts with this function.
|
The user Entry Point for module Ps2Keyboard. The user code starts with this function.
|
||||||
|
|
|
@ -16,8 +16,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
//
|
//
|
||||||
// Include common header file for this module.
|
// Include common header file for this module.
|
||||||
//
|
//
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "Ps2Keyboard.h"
|
#include "Ps2Keyboard.h"
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
@ -22,11 +22,6 @@ Revision History
|
||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "Ps2Keyboard.h"
|
#include "Ps2Keyboard.h"
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
@ -20,11 +20,6 @@ Abstract:
|
||||||
|
|
||||||
--*/
|
--*/
|
||||||
|
|
||||||
//
|
|
||||||
// Include common header file for this module.
|
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
|
||||||
|
|
||||||
#include "Ps2Keyboard.h"
|
#include "Ps2Keyboard.h"
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
@ -15,10 +15,21 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
#ifndef _PS2KEYBOARD_H
|
#ifndef _PS2KEYBOARD_H
|
||||||
#define _PS2KEYBOARD_H
|
#define _PS2KEYBOARD_H
|
||||||
|
|
||||||
//
|
#include <PiDxe.h>
|
||||||
// Include common header file for this module.
|
#include <Framework/StatusCode.h>
|
||||||
//
|
|
||||||
#include "CommonHeader.h"
|
#include <Protocol/SimpleTextIn.h>
|
||||||
|
#include <Protocol/IsaIo.h>
|
||||||
|
#include <Protocol/DevicePath.h>
|
||||||
|
#include <Protocol/Ps2Policy.h>
|
||||||
|
|
||||||
|
#include <Library/UefiDriverEntryPoint.h>
|
||||||
|
#include <Library/UefiLib.h>
|
||||||
|
#include <Library/UefiBootServicesTableLib.h>
|
||||||
|
#include <Library/ReportStatusCodeLib.h>
|
||||||
|
#include <Library/DebugLib.h>
|
||||||
|
#include <Library/UefiRuntimeServicesTableLib.h>
|
||||||
|
#include <Library/MemoryAllocationLib.h>
|
||||||
|
|
||||||
//
|
//
|
||||||
// Driver Private Data
|
// Driver Private Data
|
||||||
|
|
|
@ -58,7 +58,6 @@
|
||||||
Ps2KbdCtrller.c
|
Ps2KbdCtrller.c
|
||||||
Ps2KbdTextIn.c
|
Ps2KbdTextIn.c
|
||||||
Ps2Keyboard.c
|
Ps2Keyboard.c
|
||||||
CommonHeader.h
|
|
||||||
EntryPoint.c
|
EntryPoint.c
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue