-/** @file \r
-\r
+/** @file\r
Support functions for managing debug image info table when loading and unloading\r
images.\r
\r
-Copyright (c) 2006 - 2008, Intel Corporation \r
-All rights reserved. This program and the accompanying materials \r
-are licensed and made available under the terms and conditions of the BSD License \r
-which accompanies this distribution. The full text of the license may be found at \r
-http://opensource.org/licenses/bsd-license.php \r
- \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
+All rights reserved. This program and the accompanying materials\r
+are licensed and made available under the terms and conditions of the BSD License\r
+which accompanies this distribution. The full text of the license may be found at\r
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
**/\r
\r
#ifndef __DEBUG_IMAGE_INFO_H__\r
#define __DEBUG_IMAGE_INFO_H__\r
\r
-#define FOUR_MEG_PAGES 0x400 \r
-#define FOUR_MEG_MASK ((FOUR_MEG_PAGES * EFI_PAGE_SIZE) - 1)\r
+#define FOUR_MEG_ALIGNMENT 0x400000\r
\r
#define EFI_DEBUG_TABLE_ENTRY_SIZE (sizeof (VOID *))\r
\r
VOID\r
CoreInitializeDebugImageInfoTable (\r
VOID\r
- )\r
-;\r
+ );\r
\r
\r
/**\r
VOID\r
CoreUpdateDebugTableCrc32 (\r
VOID\r
- )\r
-;\r
+ );\r
\r
\r
/**\r
Adds a new DebugImageInfo structure to the DebugImageInfo Table. Re-Allocates\r
the table if it's not large enough to accomidate another entry.\r
\r
- @param ImageInfoType type of debug image information \r
- @param LoadedImage pointer to the loaded image protocol for the image being \r
- loaded \r
+ @param ImageInfoType type of debug image information\r
+ @param LoadedImage pointer to the loaded image protocol for the image being\r
+ loaded\r
@param ImageHandle image handle for the image being loaded\r
\r
**/\r
VOID\r
CoreNewDebugImageInfoEntry (\r
- UINT32 ImageInfoType,\r
- EFI_LOADED_IMAGE_PROTOCOL *LoadedImage,\r
- EFI_HANDLE ImageHandle\r
- )\r
-;\r
+ IN UINT32 ImageInfoType,\r
+ IN EFI_LOADED_IMAGE_PROTOCOL *LoadedImage,\r
+ IN EFI_HANDLE ImageHandle\r
+ );\r
\r
\r
/**\r
VOID\r
CoreRemoveDebugImageInfoEntry (\r
EFI_HANDLE ImageHandle\r
- )\r
-;\r
+ );\r
\r
#endif\r