diff options
author | Guo Mang <mang.guo@intel.com> | 2017-08-02 09:54:47 +0800 |
---|---|---|
committer | Guo Mang <mang.guo@intel.com> | 2017-09-05 19:45:08 +0800 |
commit | 6c128c65b5ec0e5b8b5a0ccb165f3afd29e485f8 (patch) | |
tree | 444372d92a0ae8991fe4d15eb3937df43690dfda /EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/MemoryStatusCode/MemoryStatusCode.h | |
parent | b207c6434d7a5a4502975d322312e07017e8a8cb (diff) | |
download | edk2-platforms-6c128c65b5ec0e5b8b5a0ccb165f3afd29e485f8.tar.xz |
Remove core packages since we can get them from edk2 repository
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Guo Mang <mang.guo@intel.com>
Diffstat (limited to 'EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/MemoryStatusCode/MemoryStatusCode.h')
-rw-r--r-- | EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/MemoryStatusCode/MemoryStatusCode.h | 102 |
1 files changed, 0 insertions, 102 deletions
diff --git a/EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/MemoryStatusCode/MemoryStatusCode.h b/EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/MemoryStatusCode/MemoryStatusCode.h deleted file mode 100644 index 11a8196812..0000000000 --- a/EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/MemoryStatusCode/MemoryStatusCode.h +++ /dev/null @@ -1,102 +0,0 @@ -/*++
-
-Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>
-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.
-
-Module Name:
-
- MemoryStatusCode.h
-
-Abstract:
-
- Lib to provide status code reporting via memory.
-
---*/
-
-#ifndef _PEI_MEMORY_STATUS_CODE_H_
-#define _PEI_MEMORY_STATUS_CODE_H_
-
-//
-// Statements that include other files
-//
-#include "Tiano.h"
-#include "Pei.h"
-#include "SimpleCpuIoLib.h"
-#include "EfiCommonLib.h"
-
-//
-// Produced PPI
-//
-#include EFI_PPI_PRODUCER (StatusCodeMemory)
-#include EFI_PPI_PRODUCER (StatusCode)
-
-//
-// Ppi Consumed For Notification
-//
-#include EFI_PPI_CONSUMER (MemoryDiscovered)
-#if (PI_SPECIFICATION_VERSION < 0x00010000)
-#include EFI_PPI_CONSUMER (LoadFile)
-#endif
-//
-// Private data
-//
-//
-// Define the amount of heap to use before memory is allocated
-//
-#define PEI_STATUS_CODE_HEAP_LENGTH 512
-#define PEI_STATUS_CODE_MAX_HEAP_ENTRY (PEI_STATUS_CODE_HEAP_LENGTH / sizeof (EFI_STATUS_CODE_ENTRY))
-
-//
-// Define the number of 4K pages of BS memory to allocate (1MB)
-//
-#define PEI_STATUS_CODE_RT_PAGES (128)
-#define PEI_STATUS_CODE_RT_LENGTH (PEI_STATUS_CODE_RT_PAGES * 1024 * 4)
-#define PEI_STATUS_CODE_MAX_RT_ENTRY (PEI_STATUS_CODE_RT_LENGTH / sizeof (EFI_STATUS_CODE_ENTRY))
-
-//
-// Define a private data structure
-//
-#define MEMORY_STATUS_CODE_SIGNATURE EFI_SIGNATURE_32 ('M', 'S', 'C', 'S')
-
-typedef struct _MEMORY_STATUS_CODE_INSTANCE {
- UINT32 Signature;
- struct _MEMORY_STATUS_CODE_INSTANCE *This;
- EFI_FFS_FILE_HEADER *FfsHeader;
- EFI_PEI_PPI_DESCRIPTOR PpiDescriptor;
- PEI_STATUS_CODE_MEMORY_PPI StatusCodeMemoryPpi;
-#if (PI_SPECIFICATION_VERSION < 0x00010000)
- EFI_PEI_NOTIFY_DESCRIPTOR NotifyDescriptor;
-#endif
-} MEMORY_STATUS_CODE_INSTANCE;
-
-#define MEMORY_STATUS_CODE_FROM_DESCRIPTOR_THIS(a) \
- PEI_CR (a, \
- MEMORY_STATUS_CODE_INSTANCE, \
- PpiDescriptor, \
- MEMORY_STATUS_CODE_SIGNATURE \
- )
-#define MEMORY_STATUS_CODE_FROM_NOTIFY_THIS(a) \
- PEI_CR (a, \
- MEMORY_STATUS_CODE_INSTANCE, \
- NotifyDescriptor, \
- MEMORY_STATUS_CODE_SIGNATURE \
- )
-
-//
-// Private function declarations
-//
-EFI_STATUS
-EFIAPI
-LoadImageCallback (
- IN EFI_PEI_SERVICES **PeiServices,
- IN EFI_PEI_NOTIFY_DESCRIPTOR *NotifyDescriptor,
- IN VOID *Ppi
- );
-
-#endif
|