TianoCore EDK2 master
Loading...
Searching...
No Matches
AhciPeiS3.c File Reference

Go to the source code of this file.

Functions

UINT8 AhciS3GetEumeratePorts (IN EFI_DEVICE_PATH_PROTOCOL *HcDevicePath, IN UINTN HcDevicePathLength, OUT UINT32 *PortBitMap)
 

Detailed Description

The AhciPei driver is used to manage ATA hard disk device working under AHCI mode at PEI phase.

Copyright (c) 2019, Intel Corporation. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file AhciPeiS3.c.

Function Documentation

◆ AhciS3GetEumeratePorts()

UINT8 AhciS3GetEumeratePorts ( IN EFI_DEVICE_PATH_PROTOCOL HcDevicePath,
IN UINTN  HcDevicePathLength,
OUT UINT32 *  PortBitMap 
)

Collect the ports that need to be enumerated on a controller for S3 phase.

Parameters
[in]HcDevicePathDevice path of the controller.
[in]HcDevicePathLengthLength of the device path specified by HcDevicePath.
[out]PortBitMapBitmap that indicates the ports that need to be enumerated on the controller.
Return values
Thenumber of ports that need to be enumerated.

Definition at line 30 of file AhciPeiS3.c.