From 835849540d390a7dceabf8dab387243ca0158f23 Mon Sep 17 00:00:00 2001 From: vanjeff Date: Thu, 11 Sep 2008 09:12:14 +0000 Subject: [PATCH] remove '../' from Base Library. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5878 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/BaseLib/BaseLib.inf | 4 +-- MdePkg/Library/BaseLib/Ia32/Non-existing.c | 30 ++++++++----------- .../Library/BaseLib/Ia32DivS64x64Remainder.c | 9 ++---- MdePkg/Library/BaseLib/X64/Non-existing.c | 9 +++--- 4 files changed, 21 insertions(+), 31 deletions(-) diff --git a/MdePkg/Library/BaseLib/BaseLib.inf b/MdePkg/Library/BaseLib/BaseLib.inf index fd724f606b..f345fcadce 100644 --- a/MdePkg/Library/BaseLib/BaseLib.inf +++ b/MdePkg/Library/BaseLib/BaseLib.inf @@ -2,7 +2,7 @@ # Component description file for Base Library # # Base Library implementation. -# Copyright (c) 2007, Intel Corporation. +# Copyright (c) 2007 - 2008, 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 @@ -353,7 +353,7 @@ Ia32/LShiftU64.S | GCC SynchronizationGcc.c | GCC - Ia32/DivS64x64Remainder.c + Ia32DivS64x64Remainder.c Ia32/InternalSwitchStack.c Ia32/Non-existing.c Unaligned.c diff --git a/MdePkg/Library/BaseLib/Ia32/Non-existing.c b/MdePkg/Library/BaseLib/Ia32/Non-existing.c index 96e90de64d..a83a1689b3 100644 --- a/MdePkg/Library/BaseLib/Ia32/Non-existing.c +++ b/MdePkg/Library/BaseLib/Ia32/Non-existing.c @@ -1,7 +1,7 @@ /** @file Non-existing BaseLib functions on Ia32 - Copyright (c) 2006, Intel Corporation + Copyright (c) 2006 - 2008, 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 @@ -12,13 +12,7 @@ **/ -// -// Include common header file for this module. -// - - -#include "../BaseLibInternals.h" - +#include /** Disables the 64-bit paging mode on the CPU. @@ -34,16 +28,16 @@ @param CodeSelector The 16-bit selector to load in the CS before EntryPoint is called. The descriptor in the GDT that this selector references must be setup for 32-bit protected mode. - @param EntryPoint The 64-bit virtual address of the function to call with - the new stack after paging is disabled. - @param Context1 The 64-bit virtual address of the context to pass into - the EntryPoint function as the first parameter after - paging is disabled. - @param Context2 The 64-bit virtual address of the context to pass into - the EntryPoint function as the second parameter after - paging is disabled. - @param NewStack The 64-bit virtual address of the new stack to use for - the EntryPoint function after paging is disabled. + @param EntryPoint The 64-bit virtual address of the function to call with + the new stack after paging is disabled. + @param Context1 The 64-bit virtual address of the context to pass into + the EntryPoint function as the first parameter after + paging is disabled. + @param Context2 The 64-bit virtual address of the context to pass into + the EntryPoint function as the second parameter after + paging is disabled. + @param NewStack The 64-bit virtual address of the new stack to use for + the EntryPoint function after paging is disabled. **/ VOID diff --git a/MdePkg/Library/BaseLib/Ia32DivS64x64Remainder.c b/MdePkg/Library/BaseLib/Ia32DivS64x64Remainder.c index 36b256f07c..6d3b5a47a1 100644 --- a/MdePkg/Library/BaseLib/Ia32DivS64x64Remainder.c +++ b/MdePkg/Library/BaseLib/Ia32DivS64x64Remainder.c @@ -1,7 +1,7 @@ /** @file Integer division worker functions for Ia32. - Copyright (c) 2006, Intel Corporation
+ Copyright (c) 2006 - 2008, 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 @@ -12,12 +12,7 @@ **/ -// -// Include common header file for this module. -// - - -#include "../BaseLibInternals.h" +#include "BaseLibInternals.h" /** Worker function that Divides a 64-bit signed integer by a 64-bit signed integer and diff --git a/MdePkg/Library/BaseLib/X64/Non-existing.c b/MdePkg/Library/BaseLib/X64/Non-existing.c index 4952916777..9814cba9c9 100644 --- a/MdePkg/Library/BaseLib/X64/Non-existing.c +++ b/MdePkg/Library/BaseLib/X64/Non-existing.c @@ -1,7 +1,7 @@ /** @file Non-existing BaseLib functions on x64 - Copyright (c) 2006, Intel Corporation + Copyright (c) 2006 - 2008, 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 @@ -12,7 +12,8 @@ **/ -#include "../BaseLibInternals.h" +#include +#include /** Enables the 32-bit paging mode on the CPU. @@ -57,7 +58,7 @@ InternalX86EnablePaging32 ( ) { // - // This function cannot work on X64 platform + // This function cannot work on x64 platform // ASSERT (FALSE); } @@ -102,7 +103,7 @@ InternalX86DisablePaging32 ( ) { // - // This function cannot work on X64 platform + // This function cannot work on x64 platform // ASSERT (FALSE); }