X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FCpu.h;h=1b469aa07e1a700820658bded174773398d30ca4;hp=1f3a3c1523622d42f54ad5cf80c3a79743928fc5;hb=58fe27722dad2e6313101e232ff9004b51cac77f;hpb=f1004231ee519fc24c3ad5e90289f5d9445ac9d2 diff --git a/MdePkg/Include/Protocol/Cpu.h b/MdePkg/Include/Protocol/Cpu.h index 1f3a3c1523..1b469aa07e 100644 --- a/MdePkg/Include/Protocol/Cpu.h +++ b/MdePkg/Include/Protocol/Cpu.h @@ -3,8 +3,8 @@ This code abstracts the DXE core from processor implementation details. - Copyright (c) 2006 - 2008, Intel Corporation - All rights reserved. This program and the accompanying materials + Copyright (c) 2006 - 2016, 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 @@ -24,6 +24,9 @@ typedef struct _EFI_CPU_ARCH_PROTOCOL EFI_CPU_ARCH_PROTOCOL; +/// +/// The type of flush operation +/// typedef enum { EfiCpuFlushTypeWriteBackInvalidate, EfiCpuFlushTypeWriteBack, @@ -31,6 +34,9 @@ typedef enum { EfiCpuMaxFlushType } EFI_CPU_FLUSH_TYPE; +/// +/// The type of processor INIT. +/// typedef enum { EfiCpuInit, EfiCpuMaxInitType @@ -75,7 +81,7 @@ VOID @retval EFI_SUCCESS The address range from Start to Start+Length was flushed from the processor's data cache. - @retval EFI_UNSUPPORTEDT The processor does not support the cache flush type specified + @retval EFI_UNSUPPORTED The processor does not support the cache flush type specified by FlushType. @retval EFI_DEVICE_ERROR The address range from Start to Start+Length could not be flushed from the processor's data cache. @@ -238,6 +244,8 @@ EFI_STATUS @retval EFI_ACCESS_DENIED The attributes for the memory resource range specified by BaseAddress and Length cannot be modified. @retval EFI_INVALID_PARAMETER Length is zero. + Attributes specified an illegal combination of attributes that + cannot be set together. @retval EFI_OUT_OF_RESOURCES There are not enough system resources to modify the attributes of the memory resource range. @retval EFI_UNSUPPORTED The processor does not support one or more bytes of the memory