mirror of https://github.com/acidanthera/audk.git
Remove CONST modifier to be spec compliance
Signed-off-by: erictian Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12194 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
71f6080748
commit
db0f0d3c79
|
@ -10,7 +10,7 @@
|
||||||
This way avoids the control transfer on a shared port between EHCI and companion host
|
This way avoids the control transfer on a shared port between EHCI and companion host
|
||||||
controller when UHCI gets attached earlier than EHCI and a USB 2.0 device inserts.
|
controller when UHCI gets attached earlier than EHCI and a USB 2.0 device inserts.
|
||||||
|
|
||||||
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -191,8 +191,8 @@ ON_EXIT:
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
EhcGetState (
|
EhcGetState (
|
||||||
IN CONST EFI_USB2_HC_PROTOCOL *This,
|
IN EFI_USB2_HC_PROTOCOL *This,
|
||||||
OUT EFI_USB_HC_STATE *State
|
OUT EFI_USB_HC_STATE *State
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
EFI_TPL OldTpl;
|
EFI_TPL OldTpl;
|
||||||
|
@ -310,9 +310,9 @@ EhcSetState (
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
EhcGetRootHubPortStatus (
|
EhcGetRootHubPortStatus (
|
||||||
IN CONST EFI_USB2_HC_PROTOCOL *This,
|
IN EFI_USB2_HC_PROTOCOL *This,
|
||||||
IN CONST UINT8 PortNumber,
|
IN UINT8 PortNumber,
|
||||||
OUT EFI_USB_PORT_STATUS *PortStatus
|
OUT EFI_USB_PORT_STATUS *PortStatus
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
USB2_HC_DEV *Ehc;
|
USB2_HC_DEV *Ehc;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
The UHCI driver model and HC protocol routines.
|
The UHCI driver model and HC protocol routines.
|
||||||
|
|
||||||
Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -123,8 +123,8 @@ ON_INVAILD_PARAMETER:
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
Uhci2GetState (
|
Uhci2GetState (
|
||||||
IN CONST EFI_USB2_HC_PROTOCOL *This,
|
IN EFI_USB2_HC_PROTOCOL *This,
|
||||||
OUT EFI_USB_HC_STATE *State
|
OUT EFI_USB_HC_STATE *State
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
USB_HC_DEV *Uhc;
|
USB_HC_DEV *Uhc;
|
||||||
|
@ -339,9 +339,9 @@ Uhci2GetCapability (
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
Uhci2GetRootHubPortStatus (
|
Uhci2GetRootHubPortStatus (
|
||||||
IN CONST EFI_USB2_HC_PROTOCOL *This,
|
IN EFI_USB2_HC_PROTOCOL *This,
|
||||||
IN CONST UINT8 PortNumber,
|
IN UINT8 PortNumber,
|
||||||
OUT EFI_USB_PORT_STATUS *PortStatus
|
OUT EFI_USB_PORT_STATUS *PortStatus
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
USB_HC_DEV *Uhc;
|
USB_HC_DEV *Uhc;
|
||||||
|
|
|
@ -62,12 +62,12 @@
|
||||||
gEfiSmmReadyToLockProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
gEfiSmmReadyToLockProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
||||||
gEfiSmmCpuIo2ProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
gEfiSmmCpuIo2ProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||||
gEfiFirmwareVolume2ProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
gEfiFirmwareVolume2ProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||||
gEfiSecurityArchProtocolGuid # PROTOCOL SIMETIMES_CONSUMED
|
gEfiSecurityArchProtocolGuid # PROTOCOL SOMETIMES_CONSUMED
|
||||||
gEfiLoadedImageProtocolGuid # PROTOCOL SOMETIMES_PRODUCED
|
gEfiLoadedImageProtocolGuid # PROTOCOL SOMETIMES_PRODUCED
|
||||||
gEfiDevicePathProtocolGuid # PROTOCOL SOMETIMES_CONSUMED
|
gEfiDevicePathProtocolGuid # PROTOCOL SOMETIMES_CONSUMED
|
||||||
|
|
||||||
[Pcd]
|
[Pcd]
|
||||||
gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressSmmCodePageNumber # SIMETIMES_CONSUMED
|
gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressSmmCodePageNumber # SOMETIMES_CONSUMED
|
||||||
gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable # ALWAYS_CONSUMED
|
gEfiMdeModulePkgTokenSpaceGuid.PcdLoadModuleAtFixAddressEnable # ALWAYS_CONSUMED
|
||||||
|
|
||||||
[Guids]
|
[Guids]
|
||||||
|
|
|
@ -308,10 +308,10 @@ PublishTables (
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
InstallAcpiTable (
|
InstallAcpiTable (
|
||||||
IN CONST EFI_ACPI_TABLE_PROTOCOL *This,
|
IN EFI_ACPI_TABLE_PROTOCOL *This,
|
||||||
IN CONST VOID *AcpiTableBuffer,
|
IN VOID *AcpiTableBuffer,
|
||||||
IN UINTN AcpiTableBufferSize,
|
IN UINTN AcpiTableBufferSize,
|
||||||
OUT UINTN *TableKey
|
OUT UINTN *TableKey
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
EFI_ACPI_TABLE_INSTANCE *AcpiTableInstance;
|
EFI_ACPI_TABLE_INSTANCE *AcpiTableInstance;
|
||||||
|
@ -393,8 +393,8 @@ InstallAcpiTable (
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
UninstallAcpiTable (
|
UninstallAcpiTable (
|
||||||
IN CONST EFI_ACPI_TABLE_PROTOCOL *This,
|
IN EFI_ACPI_TABLE_PROTOCOL *This,
|
||||||
IN UINTN TableKey
|
IN UINTN TableKey
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
EFI_ACPI_TABLE_INSTANCE *AcpiTableInstance;
|
EFI_ACPI_TABLE_INSTANCE *AcpiTableInstance;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Component name for module Tcp4
|
# Component name for module Tcp4
|
||||||
#
|
#
|
||||||
# FIX ME!
|
# FIX ME!
|
||||||
# Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
|
# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||||
#
|
#
|
||||||
# This program and the accompanying materials
|
# This program and the accompanying materials
|
||||||
# are licensed and made available under the terms and conditions of the BSD License
|
# are licensed and made available under the terms and conditions of the BSD License
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
|
|
||||||
[Protocols]
|
[Protocols]
|
||||||
gEfiIp4ProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
gEfiIp4ProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||||
gEfiTcp4ServiceBindingProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
gEfiTcp4ServiceBindingProtocolGuid # PROTOCOL ALWAYS_PRODUCED
|
||||||
gEfiIp4ServiceBindingProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
gEfiIp4ServiceBindingProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
||||||
gEfiTcp4ProtocolGuid # PROTOCOL ALWAYS_CONSUMED
|
gEfiTcp4ProtocolGuid # PROTOCOL SOMETIMES_PRODUCED
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
Implementation of TCP4 protocol services.
|
Implementation of TCP4 protocol services.
|
||||||
|
|
||||||
Copyright (c) 2005 - 2009, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2005 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -82,12 +82,12 @@ Tcp4ChkDataBuf (
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
Tcp4GetModeData (
|
Tcp4GetModeData (
|
||||||
IN CONST EFI_TCP4_PROTOCOL *This,
|
IN EFI_TCP4_PROTOCOL *This,
|
||||||
OUT EFI_TCP4_CONNECTION_STATE *Tcp4State OPTIONAL,
|
OUT EFI_TCP4_CONNECTION_STATE *Tcp4State OPTIONAL,
|
||||||
OUT EFI_TCP4_CONFIG_DATA *Tcp4ConfigData OPTIONAL,
|
OUT EFI_TCP4_CONFIG_DATA *Tcp4ConfigData OPTIONAL,
|
||||||
OUT EFI_IP4_MODE_DATA *Ip4ModeData OPTIONAL,
|
OUT EFI_IP4_MODE_DATA *Ip4ModeData OPTIONAL,
|
||||||
OUT EFI_MANAGED_NETWORK_CONFIG_DATA *MnpConfigData OPTIONAL,
|
OUT EFI_MANAGED_NETWORK_CONFIG_DATA *MnpConfigData OPTIONAL,
|
||||||
OUT EFI_SIMPLE_NETWORK_MODE *SnpModeData OPTIONAL
|
OUT EFI_SIMPLE_NETWORK_MODE *SnpModeData OPTIONAL
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
TCP4_MODE_DATA TcpMode;
|
TCP4_MODE_DATA TcpMode;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
TCP4 protocol services header file.
|
TCP4 protocol services header file.
|
||||||
|
|
||||||
Copyright (c) 2005 - 2009, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2005 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -106,12 +106,12 @@ typedef struct _TCP4_ROUTE_INFO {
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
Tcp4GetModeData (
|
Tcp4GetModeData (
|
||||||
IN CONST EFI_TCP4_PROTOCOL *This,
|
IN EFI_TCP4_PROTOCOL *This,
|
||||||
OUT EFI_TCP4_CONNECTION_STATE *Tcp4State OPTIONAL,
|
OUT EFI_TCP4_CONNECTION_STATE *Tcp4State OPTIONAL,
|
||||||
OUT EFI_TCP4_CONFIG_DATA *Tcp4ConfigData OPTIONAL,
|
OUT EFI_TCP4_CONFIG_DATA *Tcp4ConfigData OPTIONAL,
|
||||||
OUT EFI_IP4_MODE_DATA *Ip4ModeData OPTIONAL,
|
OUT EFI_IP4_MODE_DATA *Ip4ModeData OPTIONAL,
|
||||||
OUT EFI_MANAGED_NETWORK_CONFIG_DATA *MnpConfigData OPTIONAL,
|
OUT EFI_MANAGED_NETWORK_CONFIG_DATA *MnpConfigData OPTIONAL,
|
||||||
OUT EFI_SIMPLE_NETWORK_MODE *SnpModeData OPTIONAL
|
OUT EFI_SIMPLE_NETWORK_MODE *SnpModeData OPTIONAL
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue