mirror of
https://github.com/acidanthera/audk.git
synced 2025-09-25 18:48:42 +02:00
MdePkg/BaseLib: Move CHAR_NULL definition to Base.h in BaseLib
- Required unicode control chars -> Null character - Remove CHAR_NULL definition in SimpleTextIn.h - https://bugzilla.tianocore.org/show_bug.cgi?id=172 Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Bell Song <binx.song@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
e135e4a79e
commit
0c45a5b288
@ -338,6 +338,11 @@ struct _LIST_ENTRY {
|
|||||||
///
|
///
|
||||||
#define NULL ((VOID *) 0)
|
#define NULL ((VOID *) 0)
|
||||||
|
|
||||||
|
//
|
||||||
|
// Null character
|
||||||
|
//
|
||||||
|
#define CHAR_NULL 0x0000
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Maximum values for common UEFI Data Types
|
/// Maximum values for common UEFI Data Types
|
||||||
///
|
///
|
||||||
|
@ -46,7 +46,6 @@ typedef struct {
|
|||||||
//
|
//
|
||||||
// Required unicode control chars
|
// Required unicode control chars
|
||||||
//
|
//
|
||||||
#define CHAR_NULL 0x0000
|
|
||||||
#define CHAR_BACKSPACE 0x0008
|
#define CHAR_BACKSPACE 0x0008
|
||||||
#define CHAR_TAB 0x0009
|
#define CHAR_TAB 0x0009
|
||||||
#define CHAR_LINEFEED 0x000A
|
#define CHAR_LINEFEED 0x000A
|
||||||
|
@ -10,10 +10,8 @@
|
|||||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
**/
|
**/
|
||||||
#include <Uefi/UefiBaseType.h>
|
|
||||||
#include <Library/BaseMemoryLib.h>
|
#include <Library/BaseMemoryLib.h>
|
||||||
#include <Library/BaseLib.h>
|
#include <Library/BaseLib.h>
|
||||||
#include <Protocol/SimpleTextIn.h>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Removes the last directory or file entry in a path by changing the last
|
Removes the last directory or file entry in a path by changing the last
|
||||||
|
Loading…
x
Reference in New Issue
Block a user