]> git.proxmox.com Git - mirror_edk2.git/commitdiff
1. Move some status code related PCDs to MdePkg
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 7 Dec 2007 02:06:52 +0000 (02:06 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 7 Dec 2007 02:06:52 +0000 (02:06 +0000)
2. Let DxeIpl PEIM to enable IDT table by default.
3. Fix spelling typo in UefiLib.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4368 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/MdeModulePkg.dec
MdePkg/Include/Library/UefiLib.h
MdePkg/MdePkg.dec

index 538ee3a2c93a33e87610bdb1c80d0277a42175f9..7b27660a51ad4790cf1b9b13cac708d38dc78106 100644 (file)
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x0|UINT32|0x30000014\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x0|UINT32|0x30000010\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x0|UINT32|0x30000011\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize|0x0|UINT32|0x30000014\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase|0x0|UINT32|0x30000010\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize|0x0|UINT32|0x30000011\r
-  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueMouseInterfaceError|0x01020005|UINT32|0x30001000\r
-  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueMouseEnable|0x01020004|UINT32|0x30001001\r
-  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueMouseDisable|0x01020002|UINT32|0x3001002\r
-  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueKeyboardEnable|0x01010004|UINT32|0x3001003\r
-  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueKeyboardDisable|0x01010002|UINT32|0x3001004\r
-  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueKeyboardPresenceDetect|0x01010003|UINT32|0x30001005\r
-  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueKeyboardReset|0x01010001|UINT32|0x30001006\r
-  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueKeyboardClearBuffer|0x01011000|UINT32|0x30001007\r
-  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueKeyboardSelfTest|0x01011001|UINT32|0x30001008\r
-  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueKeyboardInterfaceError|0x01010005|UINT32|0x30001009\r
-  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueKeyboardInputError|0x01010007|UINT32|0x3000100a\r
-  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueMouseInputError|0x01020007|UINT32|0x30001000b\r
-  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueMouseReset|0x01020001|UINT32|0x30001000c\r
-\r
 \r
 [PcdsDynamic.common]\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x0|UINT32|0x30000001\r
 \r
 [PcdsDynamic.common]\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase|0x0|UINT32|0x30000001\r
 \r
 [PcdsFeatureFlag.IA32]\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE|BOOLEAN|0x0001003b\r
 \r
 [PcdsFeatureFlag.IA32]\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode|TRUE|BOOLEAN|0x0001003b\r
-  gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplEnableIdt|FALSE|BOOLEAN|0x0001003d\r
+  gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplEnableIdt|TRUE|BOOLEAN|0x0001003d\r
 \r
 \r
 \r
 \r
index f097949629b93d4e25a38bba816352694f1df80e..bbc4acab3395034d621024c16a1ed5cd0ba745f5 100644 (file)
@@ -260,28 +260,28 @@ EfiReleaseLock (
   IN EFI_LOCK  *Lock\r
   );\r
 \r
   IN EFI_LOCK  *Lock\r
   );\r
 \r
-/**
-  Tests whether a controller handle is being managed by a specific driver.
-
+/**\r
+  Tests whether a controller handle is being managed by a specific driver.\r
+\r
   This function tests whether the driver specified by DriverBindingHandle is\r
   currently managing the controller specified by ControllerHandle.  This test\r
   is performed by evaluating if the the protocol specified by ProtocolGuid is\r
   present on ControllerHandle and is was opened by DriverBindingHandle with an\r
   attribute of EFI_OPEN_PROTOCOL_BY_DRIVER. \r
   If ProtocolGuid is NULL, then ASSERT().\r
   This function tests whether the driver specified by DriverBindingHandle is\r
   currently managing the controller specified by ControllerHandle.  This test\r
   is performed by evaluating if the the protocol specified by ProtocolGuid is\r
   present on ControllerHandle and is was opened by DriverBindingHandle with an\r
   attribute of EFI_OPEN_PROTOCOL_BY_DRIVER. \r
   If ProtocolGuid is NULL, then ASSERT().\r
-
-  @param  ControllerHandle     A handle for a controller to test.
-  @param  DriverBindingHandle  Specifies the driver binding handle for the
-                               driver.
-  @param  ProtocolGuid         Specifies the protocol that the driver specified
-                               by DriverBindingHandle opens in its Start()
-                               function.
-
-  @retval EFI_SUCCESS          ControllerHandle is managed by the driver
-                               specifed by DriverBindingHandle.
-  @retval EFI_UNSUPPORTED      ControllerHandle is not managed by the driver
-                               specifed by DriverBindingHandle.
-
+\r
+  @param  ControllerHandle     A handle for a controller to test.\r
+  @param  DriverBindingHandle  Specifies the driver binding handle for the\r
+                               driver.\r
+  @param  ProtocolGuid         Specifies the protocol that the driver specified\r
+                               by DriverBindingHandle opens in its Start()\r
+                               function.\r
+\r
+  @retval EFI_SUCCESS          ControllerHandle is managed by the driver\r
+                               specifed by DriverBindingHandle.\r
+  @retval EFI_UNSUPPORTED      ControllerHandle is not managed by the driver\r
+                               specifed by DriverBindingHandle.\r
+\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
@@ -291,24 +291,24 @@ EfiTestManagedDevice (
   IN CONST EFI_GUID         *ProtocolGuid\r
   );\r
 \r
   IN CONST EFI_GUID         *ProtocolGuid\r
   );\r
 \r
-/**
-  Tests whether a child handle is a child device of the controller.
-
+/**\r
+  Tests whether a child handle is a child device of the controller.\r
+\r
   This function tests whether ChildHandle is one of the children of\r
   ControllerHandle.  This test is performed by checking to see if the protocol\r
   specified by ProtocolGuid is present on ControllerHandle and opened by\r
   ChildHandle with an attribute of EFI_OPEN_PROTOCOL_BY_CHILD_CONTROLLER.\r
   If ProtocolGuid is NULL, then ASSERT().\r
   This function tests whether ChildHandle is one of the children of\r
   ControllerHandle.  This test is performed by checking to see if the protocol\r
   specified by ProtocolGuid is present on ControllerHandle and opened by\r
   ChildHandle with an attribute of EFI_OPEN_PROTOCOL_BY_CHILD_CONTROLLER.\r
   If ProtocolGuid is NULL, then ASSERT().\r
-
-  @param  ControllerHandle     A handle for a (parent) controller to test. 
-  @param  ChildHandle          A child handle to test.
-  @param  ConsumsedGuid        Supplies the protocol that the child controller
-                               opens on its parent controller. 
-
-  @retval EFI_SUCCESS          ChildHandle is a child of the ControllerHandle.
-  @retval EFI_UNSUPPORTED      ChildHandle is not a child of the
-                               ControllerHandle.
-
+\r
+  @param  ControllerHandle     A handle for a (parent) controller to test. \r
+  @param  ChildHandle          A child handle to test.\r
+  @param  ConsumsedGuid        Supplies the protocol that the child controller\r
+                               opens on its parent controller. \r
+\r
+  @retval EFI_SUCCESS          ChildHandle is a child of the ControllerHandle.\r
+  @retval EFI_UNSUPPORTED      ChildHandle is not a child of the\r
+                               ControllerHandle.\r
+\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
@@ -479,7 +479,7 @@ AddUnicodeString (
                                   Unicode string to add.\r
   \r
   @param  SupportedLanguages      A pointer to the set of ISO\r
                                   Unicode string to add.\r
   \r
   @param  SupportedLanguages      A pointer to the set of ISO\r
-                                  639-2 or RFC 3.66 language\r
+                                  639-2 or RFC 3066 language\r
                                   codes that the Unicode string\r
                                   table supports. Language must\r
                                   be a member of this set.\r
                                   codes that the Unicode string\r
                                   table supports. Language must\r
                                   be a member of this set.\r
@@ -854,16 +854,16 @@ AsciiErrorPrint (
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-  Intialize a driver by installing the Driver Binding Protocol onto the driver's\r
+  Initializes a driver by installing the Driver Binding Protocol onto the driver's\r
   DriverBindingHandle.  This is typically the same as the driver's ImageHandle, but\r
   it can be different if the driver produces multiple DriverBinding Protocols. \r
   DriverBindingHandle.  This is typically the same as the driver's ImageHandle, but\r
   it can be different if the driver produces multiple DriverBinding Protocols. \r
-  If the Drvier Binding Protocol interface is NULL, then ASSERT (). \r
+  If the Driver Binding Protocol interface is NULL, then ASSERT (). \r
   If the installation fails, then ASSERT ().\r
 \r
   @param  ImageHandle                 The image handle of the driver.\r
   @param  SystemTable                 The EFI System Table that was passed to the driver's entry point.\r
   @param  DriverBinding               A Driver Binding Protocol instance that this driver is producing.\r
   If the installation fails, then ASSERT ().\r
 \r
   @param  ImageHandle                 The image handle of the driver.\r
   @param  SystemTable                 The EFI System Table that was passed to the driver's entry point.\r
   @param  DriverBinding               A Driver Binding Protocol instance that this driver is producing.\r
-  @param  DriverBindingHandle         The handle that DriverBinding is to be installe onto.  If this\r
+  @param  DriverBindingHandle         The handle that DriverBinding is to be installed onto.  If this\r
                                       parameter is NULL, then a new handle is created.\r
 \r
   @retval EFI_SUCCESS                 The protocol installation is completed successfully.\r
                                       parameter is NULL, then a new handle is created.\r
 \r
   @retval EFI_SUCCESS                 The protocol installation is completed successfully.\r
@@ -881,17 +881,17 @@ EfiLibInstallDriverBinding (
 \r
 \r
 /**\r
 \r
 \r
 /**\r
-  Intialize a driver by installing the Driver Binding Protocol together with the optional Component Name,\r
+  Initializes a driver by installing the Driver Binding Protocol together with the optional Component Name,\r
   Driver Configure and Driver Diagnostic Protocols onto the driver's DriverBindingHandle.  This is\r
   typically the same as the driver's ImageHandle, but it can be different if the driver produces multiple\r
   DriverBinding Protocols. \r
   Driver Configure and Driver Diagnostic Protocols onto the driver's DriverBindingHandle.  This is\r
   typically the same as the driver's ImageHandle, but it can be different if the driver produces multiple\r
   DriverBinding Protocols. \r
-  If the Drvier Binding Protocol interface is NULL, then ASSERT (). \r
+  If the Driver Binding Protocol interface is NULL, then ASSERT (). \r
   If the installation fails, then ASSERT ().\r
 \r
   @param  ImageHandle                 The image handle of the driver.\r
   @param  SystemTable                 The EFI System Table that was passed to the driver's entry point.\r
   @param  DriverBinding               A Driver Binding Protocol instance that this driver is producing.\r
   If the installation fails, then ASSERT ().\r
 \r
   @param  ImageHandle                 The image handle of the driver.\r
   @param  SystemTable                 The EFI System Table that was passed to the driver's entry point.\r
   @param  DriverBinding               A Driver Binding Protocol instance that this driver is producing.\r
-  @param  DriverBindingHandle         The handle that DriverBinding is to be installe onto.  If this\r
+  @param  DriverBindingHandle         The handle that DriverBinding is to be installed onto.  If this\r
                                       parameter is NULL, then a new handle is created.\r
   @param  ComponentName               A Component Name Protocol instance that this driver is producing.\r
   @param  DriverConfiguration         A Driver Configuration Protocol instance that this driver is producing.\r
                                       parameter is NULL, then a new handle is created.\r
   @param  ComponentName               A Component Name Protocol instance that this driver is producing.\r
   @param  DriverConfiguration         A Driver Configuration Protocol instance that this driver is producing.\r
@@ -916,16 +916,16 @@ EfiLibInstallAllDriverProtocols (
 \r
 \r
 /**\r
 \r
 \r
 /**\r
-  Intialize a driver by installing the Driver Binding Protocol together with the optional Component Name,\r
+  Initializes a driver by installing the Driver Binding Protocol together with the optional Component Name,\r
   Component Name 2 onto the driver's DriverBindingHandle.  This is typically the same as the driver's\r
   ImageHandle, but it can be different if the driver produces multiple DriverBinding Protocols. \r
   Component Name 2 onto the driver's DriverBindingHandle.  This is typically the same as the driver's\r
   ImageHandle, but it can be different if the driver produces multiple DriverBinding Protocols. \r
-  If the Drvier Binding Protocol interface is NULL, then ASSERT (). \r
+  If the Driver Binding Protocol interface is NULL, then ASSERT (). \r
   If the installation fails, then ASSERT ().\r
 \r
   @param  ImageHandle                 The image handle of the driver.\r
   @param  SystemTable                 The EFI System Table that was passed to the driver's entry point.\r
   @param  DriverBinding               A Driver Binding Protocol instance that this driver is producing.\r
   If the installation fails, then ASSERT ().\r
 \r
   @param  ImageHandle                 The image handle of the driver.\r
   @param  SystemTable                 The EFI System Table that was passed to the driver's entry point.\r
   @param  DriverBinding               A Driver Binding Protocol instance that this driver is producing.\r
-  @param  DriverBindingHandle         The handle that DriverBinding is to be installe onto.  If this\r
+  @param  DriverBindingHandle         The handle that DriverBinding is to be installed onto.  If this\r
                                       parameter is NULL, then a new handle is created.\r
   @param  ComponentName               A Component Name Protocol instance that this driver is producing.\r
   @param  ComponentName2              A Component Name 2 Protocol instance that this driver is producing.\r
                                       parameter is NULL, then a new handle is created.\r
   @param  ComponentName               A Component Name Protocol instance that this driver is producing.\r
   @param  ComponentName2              A Component Name 2 Protocol instance that this driver is producing.\r
@@ -947,17 +947,17 @@ EfiLibInstallDriverBindingComponentName2 (
 \r
 \r
 /**\r
 \r
 \r
 /**\r
-  Intialize a driver by installing the Driver Binding Protocol together with the optional Component Name,\r
+  Initializes a driver by installing the Driver Binding Protocol together with the optional Component Name,\r
   Component Name 2, Driver Configure, Driver Diagnostic and Driver Diagnostic 2 Protocols onto the driver's\r
   DriverBindingHandle.  This is typically the same as the driver's ImageHandle, but it can be different if\r
   the driver produces multiple DriverBinding Protocols. \r
   Component Name 2, Driver Configure, Driver Diagnostic and Driver Diagnostic 2 Protocols onto the driver's\r
   DriverBindingHandle.  This is typically the same as the driver's ImageHandle, but it can be different if\r
   the driver produces multiple DriverBinding Protocols. \r
-  If the Drvier Binding Protocol interface is NULL, then ASSERT (). \r
+  If the Driver Binding Protocol interface is NULL, then ASSERT (). \r
   If the installation fails, then ASSERT ().\r
 \r
   @param  ImageHandle                 The image handle of the driver.\r
   @param  SystemTable                 The EFI System Table that was passed to the driver's entry point.\r
   @param  DriverBinding               A Driver Binding Protocol instance that this driver is producing.\r
   If the installation fails, then ASSERT ().\r
 \r
   @param  ImageHandle                 The image handle of the driver.\r
   @param  SystemTable                 The EFI System Table that was passed to the driver's entry point.\r
   @param  DriverBinding               A Driver Binding Protocol instance that this driver is producing.\r
-  @param  DriverBindingHandle         The handle that DriverBinding is to be installe onto.  If this\r
+  @param  DriverBindingHandle         The handle that DriverBinding is to be installed onto.  If this\r
                                       parameter is NULL, then a new handle is created.\r
   @param  ComponentName               A Component Name Protocol instance that this driver is producing.\r
   @param  ComponentName2              A Component Name 2 Protocol instance that this driver is producing.\r
                                       parameter is NULL, then a new handle is created.\r
   @param  ComponentName               A Component Name Protocol instance that this driver is producing.\r
   @param  ComponentName2              A Component Name 2 Protocol instance that this driver is producing.\r
index 56e6c2867436b3a6cfbde352fabe43086a76a289..197d6d400fbddf70930425152b51fd45895e3b5c 100644 (file)
   gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueRemoteConsoleReset|0x01040001|UINT32|0x00000018        # EFI_PERIPHERAL_REMOTE_CONSOLE | EFI_P_PC_RESET\r
   gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueRemoteConsoleInputError|0x01040007|UINT32|0x00000019   # EFI_PERIPHERAL_REMOTE_CONSOLE | EFI_P_EC_INPUT_ERROR\r
   gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueRemoteConsoleOutputError|0x01040008|UINT32|0x0000001a  # EFI_PERIPHERAL_REMOTE_CONSOLE | EFI_P_EC_OUTPUT_ERROR\r
   gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueRemoteConsoleReset|0x01040001|UINT32|0x00000018        # EFI_PERIPHERAL_REMOTE_CONSOLE | EFI_P_PC_RESET\r
   gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueRemoteConsoleInputError|0x01040007|UINT32|0x00000019   # EFI_PERIPHERAL_REMOTE_CONSOLE | EFI_P_EC_INPUT_ERROR\r
   gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueRemoteConsoleOutputError|0x01040008|UINT32|0x0000001a  # EFI_PERIPHERAL_REMOTE_CONSOLE | EFI_P_EC_OUTPUT_ERROR\r
+  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueMouseInterfaceError|0x01020005|UINT32|0x30001000\r
+  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueMouseEnable|0x01020004|UINT32|0x30001001\r
+  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueMouseDisable|0x01020002|UINT32|0x3001002\r
+  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueKeyboardEnable|0x01010004|UINT32|0x3001003\r
+  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueKeyboardDisable|0x01010002|UINT32|0x3001004\r
+  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueKeyboardPresenceDetect|0x01010003|UINT32|0x30001005\r
+  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueKeyboardReset|0x01010001|UINT32|0x30001006\r
+  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueKeyboardClearBuffer|0x01011000|UINT32|0x30001007\r
+  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueKeyboardSelfTest|0x01011001|UINT32|0x30001008\r
+  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueKeyboardInterfaceError|0x01010005|UINT32|0x30001009\r
+  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueKeyboardInputError|0x01010007|UINT32|0x3000100a\r
+  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueMouseInputError|0x01020007|UINT32|0x30001000b\r
+  gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueMouseReset|0x01020001|UINT32|0x30001000c\r
   gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10|UINT32|0x00000025\r
   gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultTimeout|0x0008|UINT16|0x0000001b\r
   gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultLangCodes|"engfra"|VOID*|0x0000001c\r
   gEfiMdePkgTokenSpaceGuid.PcdMaximumGuidedExtractHandler|0x10|UINT32|0x00000025\r
   gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultTimeout|0x0008|UINT16|0x0000001b\r
   gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultLangCodes|"engfra"|VOID*|0x0000001c\r