2006-06-10 01:44:26 +02:00
|
|
|
/** @file
|
|
|
|
Copyright (c) 2006, Intel Corporation
|
|
|
|
All rights reserved. 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
|
2006-04-22 00:54:32 +02:00
|
|
|
|
2006-06-10 01:44:26 +02:00
|
|
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
2006-04-22 00:54:32 +02:00
|
|
|
|
2006-06-10 01:44:26 +02:00
|
|
|
**/
|
2006-04-22 00:54:32 +02:00
|
|
|
|
|
|
|
#ifndef _IDE_BUS_COMPONENT_NAME_H
|
|
|
|
#define _IDE_BUS_COMPONENT_NAME_H
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef EFI_SIZE_REDUCTION_APPLIED
|
|
|
|
|
|
|
|
#define ADD_NAME(x) AddName ((x));
|
|
|
|
|
|
|
|
extern EFI_COMPONENT_NAME_PROTOCOL gIDEBusComponentName;
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
#define ADD_NAME(x)
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// EFI Component Name Functions
|
|
|
|
//
|
2006-06-10 01:44:26 +02:00
|
|
|
/**
|
|
|
|
TODO: Add function description
|
|
|
|
|
|
|
|
@param This TODO: add argument description
|
|
|
|
@param Language TODO: add argument description
|
|
|
|
@param DriverName TODO: add argument description
|
|
|
|
|
|
|
|
TODO: add return values
|
|
|
|
|
|
|
|
**/
|
2006-04-22 00:54:32 +02:00
|
|
|
EFI_STATUS
|
|
|
|
EFIAPI
|
|
|
|
IDEBusComponentNameGetDriverName (
|
|
|
|
IN EFI_COMPONENT_NAME_PROTOCOL *This,
|
|
|
|
IN CHAR8 *Language,
|
|
|
|
OUT CHAR16 **DriverName
|
|
|
|
)
|
2006-06-10 01:44:26 +02:00
|
|
|
;
|
2006-04-22 00:54:32 +02:00
|
|
|
|
2006-06-10 01:44:26 +02:00
|
|
|
/**
|
2006-04-22 00:54:32 +02:00
|
|
|
TODO: Add function description
|
|
|
|
|
2006-06-10 01:44:26 +02:00
|
|
|
@param This TODO: add argument description
|
|
|
|
@param ControllerHandle TODO: add argument description
|
|
|
|
@param ChildHandle TODO: add argument description
|
|
|
|
@param Language TODO: add argument description
|
|
|
|
@param ControllerName TODO: add argument description
|
2006-04-22 00:54:32 +02:00
|
|
|
|
|
|
|
TODO: add return values
|
|
|
|
|
2006-06-10 01:44:26 +02:00
|
|
|
**/
|
2006-04-22 00:54:32 +02:00
|
|
|
EFI_STATUS
|
|
|
|
EFIAPI
|
|
|
|
IDEBusComponentNameGetControllerName (
|
|
|
|
IN EFI_COMPONENT_NAME_PROTOCOL *This,
|
|
|
|
IN EFI_HANDLE ControllerHandle,
|
|
|
|
IN EFI_HANDLE ChildHandle OPTIONAL,
|
|
|
|
IN CHAR8 *Language,
|
|
|
|
OUT CHAR16 **ControllerName
|
|
|
|
)
|
2006-06-10 01:44:26 +02:00
|
|
|
;
|
2006-04-22 00:54:32 +02:00
|
|
|
|
2006-06-10 01:44:26 +02:00
|
|
|
/**
|
2006-04-22 00:54:32 +02:00
|
|
|
TODO: Add function description
|
|
|
|
|
2006-06-10 01:44:26 +02:00
|
|
|
@param IdeBlkIoDevicePtr TODO: add argument description
|
2006-04-22 00:54:32 +02:00
|
|
|
|
|
|
|
TODO: add return values
|
|
|
|
|
2006-06-10 01:44:26 +02:00
|
|
|
**/
|
2006-04-22 00:54:32 +02:00
|
|
|
VOID
|
|
|
|
AddName (
|
|
|
|
IN IDE_BLK_IO_DEV *IdeBlkIoDevicePtr
|
|
|
|
)
|
|
|
|
;
|
|
|
|
|
|
|
|
#endif
|