audk/ArmPkg/Drivers/ArmScmiDxe
Girish Pathak 3b03b5e990 ArmPkg/ArmScmiDxe: Dynamically allocate buffer for protocol ids
Dynamically allocate the buffer to receive the SCMI protocol list.
This makes MAX_PROTOCOLS redundant, so it is removed.
It also fixes one minor code alignment issue and removes an unused
macro PROTOCOL_MASK.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Girish Pathak <girish.pathak@arm.com>
Tested-by: Sudeep Holla <sudeep.holla@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
2018-06-22 08:22:04 +02:00
..
ArmScmiBaseProtocolPrivate.h ArmPkg: Introduce SCMI protocol 2018-04-23 17:58:28 +01:00
ArmScmiClockProtocolPrivate.h ArmPkg: Introduce SCMI protocol 2018-04-23 17:58:28 +01:00
ArmScmiDxe.inf ArmPkg: Introduce SCMI protocol 2018-04-23 17:58:28 +01:00
ArmScmiPerformanceProtocolPrivate.h ArmPkg: Introduce SCMI protocol 2018-04-23 17:58:28 +01:00
Scmi.c ArmPkg/ArmScmiDxe: Dynamically allocate buffer for protocol ids 2018-06-22 08:22:04 +02:00
ScmiBaseProtocol.c ArmPkg: Introduce SCMI protocol 2018-04-23 17:58:28 +01:00
ScmiClockProtocol.c ArmPkg: Introduce SCMI protocol 2018-04-23 17:58:28 +01:00
ScmiDxe.c ArmPkg/ArmScmiDxe: Dynamically allocate buffer for protocol ids 2018-06-22 08:22:04 +02:00
ScmiDxe.h ArmPkg/ArmScmiDxe: Dynamically allocate buffer for protocol ids 2018-06-22 08:22:04 +02:00
ScmiPerformanceProtocol.c ArmPkg: Introduce SCMI protocol 2018-04-23 17:58:28 +01:00
ScmiPrivate.h ArmPkg: Introduce SCMI protocol 2018-04-23 17:58:28 +01:00