-/** @file \r
-\r
+/** @file\r
This file deals with Architecture Protocol (AP) registration in\r
the Dxe Core. The mArchProtocols[] array represents a list of\r
events that represent the Architectural Protocols.\r
\r
-Copyright (c) 2006 - 2008, Intel Corporation\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
{ &gEfiRuntimeArchProtocolGuid, (VOID **)&gRuntime, NULL, NULL, FALSE },\r
{ &gEfiVariableArchProtocolGuid, (VOID **)NULL, NULL, NULL, FALSE },\r
{ &gEfiVariableWriteArchProtocolGuid, (VOID **)NULL, NULL, NULL, FALSE },\r
- { &gEfiCapsuleArchProtocolGuid, (VOID **)NULL, NULL, NULL, FALSE},\r
+ { &gEfiCapsuleArchProtocolGuid, (VOID **)NULL, NULL, NULL, FALSE },\r
{ &gEfiMonotonicCounterArchProtocolGuid, (VOID **)NULL, NULL, NULL, FALSE },\r
{ &gEfiResetArchProtocolGuid, (VOID **)NULL, NULL, NULL, FALSE },\r
{ &gEfiRealTimeClockArchProtocolGuid, (VOID **)NULL, NULL, NULL, FALSE },\r
/**\r
Return TRUE if all AP services are availible.\r
\r
-\r
- @retval EFI_SUCCESS All AP services are available \r
+ @retval EFI_SUCCESS All AP services are available\r
@retval EFI_NOT_FOUND At least one AP service is not available\r
\r
**/\r
present flag to TRUE. If any constructor is required it is executed. The EFI\r
System Table headers are updated.\r
\r
- @param Event The Event that is being processed, not used. \r
+ @param Event The Event that is being processed, not used.\r
@param Context Event Context, not used.\r
\r
**/\r
-STATIC\r
VOID\r
EFIAPI\r
GenericArchProtocolNotify (\r
\r
\r
\r
-\r
/**\r
Creates an event that is fired everytime a Protocol of a specific type is installed.\r
\r
CHAR16 *GuidString;\r
} GUID_TO_STRING_PROTOCOL_ENTRY;\r
\r
-static const GUID_TO_STRING_PROTOCOL_ENTRY MissingProtocols[] = {\r
+CONST GUID_TO_STRING_PROTOCOL_ENTRY MissingProtocols[] = {\r
{ &gEfiSecurityArchProtocolGuid, (CHAR16 *)L"Security" },\r
{ &gEfiCpuArchProtocolGuid, (CHAR16 *)L"CPU" },\r
{ &gEfiMetronomeArchProtocolGuid, (CHAR16 *)L"Metronome" },\r
{ &gEfiCapsuleArchProtocolGuid, (CHAR16 *)L"Capsule" },\r
{ &gEfiMonotonicCounterArchProtocolGuid, (CHAR16 *)L"Monotonic Counter" },\r
{ &gEfiResetArchProtocolGuid, (CHAR16 *)L"Reset" },\r
-// { &gEfiStatusCodeRuntimeProtocolGuid, (CHAR16 *)L"Status Code" },\r
{ &gEfiRealTimeClockArchProtocolGuid, (CHAR16 *)L"Real Time Clock" }\r
};\r
\r
VOID\r
)\r
{\r
- const GUID_TO_STRING_PROTOCOL_ENTRY *MissingEntry;\r
+ CONST GUID_TO_STRING_PROTOCOL_ENTRY *MissingEntry;\r
ARCHITECTURAL_PROTOCOL_ENTRY *Entry;\r
\r
for (Entry = mArchProtocols; Entry->ProtocolGuid != NULL; Entry++) {\r