9#ifndef _INTERNAL_CPU_CACHE_INFO_LIB_H_
10#define _INTERNAL_CPU_CACHE_INFO_LIB_H_
33 UINT32 CacheLevel : 3;
81 UINT16 CacheWays : 10;
86 UINT16 FullyAssociativeCache : 1;
91 UINT16 DirectMappedCache : 1;
97 UINT16 CacheShareBits;
103 UINT32 CacheSizeinKB;
123#define MAX_NUM_OF_CACHE_PARAMS_LEAF 6
128#define MAX_NUM_OF_PACKAGE 100
155 IN VOID *ProcedureArgument
UINT32 CpuCacheInfoWhoAmI(IN MP_SERVICES MpServices)
EFI_STATUS CpuCacheInfoGetMpServices(OUT MP_SERVICES *MpServices)
UINT32 CpuCacheInfoGetNumberOfProcessors(IN MP_SERVICES MpServices)
VOID CpuCacheInfoGetProcessorInfo(IN MP_SERVICES MpServices, IN UINTN ProcessorNum, OUT EFI_PROCESSOR_INFORMATION *ProcessorInfo)
VOID CpuCacheInfoStartupAllCPUs(IN MP_SERVICES MpServices, IN EFI_AP_PROCEDURE Procedure, IN VOID *ProcedureArgument)
VOID(EFIAPI * EFI_AP_PROCEDURE)(IN OUT VOID *Buffer)