Update to make end-of-line consistent for all source files in MdePkg. There are no other updates besides that change.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9141 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
Base Print Library instance implementation.
|
||||
|
||||
Copyright (c) 2006 - 2008, Intel Corporation<BR>
|
||||
Portions Copyright (c) 2008-2009 Apple Inc.<BR>
|
||||
Portions Copyright (c) 2008-2009 Apple Inc.<BR>
|
||||
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
|
||||
@@ -15,14 +15,14 @@
|
||||
|
||||
#include "PrintLibInternal.h"
|
||||
|
||||
//
|
||||
//
|
||||
// Declare a VA_LIST global variable that is used in calls to BasePrintLibSPrintMarker()
|
||||
// when the BASE_LIST parameter is valid and the VA_LIST parameter is ignored.
|
||||
// A NULL VA_LIST can not be passed into BasePrintLibSPrintMarker() because some
|
||||
// compilers define VA_LIST to be a structure.
|
||||
//
|
||||
// compilers define VA_LIST to be a structure.
|
||||
//
|
||||
VA_LIST gNullVaList;
|
||||
|
||||
|
||||
#define ASSERT_UNICODE_BUFFER(Buffer) ASSERT ((((UINTN) (Buffer)) & 0x01) == 0)
|
||||
|
||||
/**
|
||||
@@ -118,7 +118,7 @@ UnicodeBSPrint (
|
||||
{
|
||||
ASSERT_UNICODE_BUFFER (StartOfBuffer);
|
||||
ASSERT_UNICODE_BUFFER (FormatString);
|
||||
return BasePrintLibSPrintMarker ((CHAR8 *)StartOfBuffer, BufferSize >> 1, FORMAT_UNICODE | OUTPUT_UNICODE, (CHAR8 *)FormatString, gNullVaList, Marker);
|
||||
return BasePrintLibSPrintMarker ((CHAR8 *)StartOfBuffer, BufferSize >> 1, FORMAT_UNICODE | OUTPUT_UNICODE, (CHAR8 *)FormatString, gNullVaList, Marker);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -259,7 +259,7 @@ UnicodeBSPrintAsciiFormat (
|
||||
)
|
||||
{
|
||||
ASSERT_UNICODE_BUFFER (StartOfBuffer);
|
||||
return BasePrintLibSPrintMarker ((CHAR8 *)StartOfBuffer, BufferSize >> 1, OUTPUT_UNICODE, FormatString, gNullVaList, Marker);
|
||||
return BasePrintLibSPrintMarker ((CHAR8 *)StartOfBuffer, BufferSize >> 1, OUTPUT_UNICODE, FormatString, gNullVaList, Marker);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -450,7 +450,7 @@ AsciiBSPrint (
|
||||
IN BASE_LIST Marker
|
||||
)
|
||||
{
|
||||
return BasePrintLibSPrintMarker (StartOfBuffer, BufferSize, 0, FormatString, gNullVaList, Marker);
|
||||
return BasePrintLibSPrintMarker (StartOfBuffer, BufferSize, 0, FormatString, gNullVaList, Marker);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -590,7 +590,7 @@ AsciiBSPrintUnicodeFormat (
|
||||
)
|
||||
{
|
||||
ASSERT_UNICODE_BUFFER (FormatString);
|
||||
return BasePrintLibSPrintMarker (StartOfBuffer, BufferSize, FORMAT_UNICODE, (CHAR8 *)FormatString, gNullVaList, Marker);
|
||||
return BasePrintLibSPrintMarker (StartOfBuffer, BufferSize, FORMAT_UNICODE, (CHAR8 *)FormatString, gNullVaList, Marker);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user