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
ArmScmiClockProtocolPrivate.h
ArmScmiDxe.inf
ArmScmiPerformanceProtocolPrivate.h
Scmi.c ArmPkg/ArmScmiDxe: Dynamically allocate buffer for protocol ids 2018-06-22 08:22:04 +02:00
ScmiBaseProtocol.c
ScmiClockProtocol.c
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
ScmiPrivate.h