SysCall: Fixed paddings, renamed CoreOpenVolume as

CoreSimpleFileSystemOpenVolume.
This commit is contained in:
Mikhail Krichanov 2025-01-23 15:59:36 +03:00
parent 0e31c462fe
commit 16f4111027
21 changed files with 403 additions and 403 deletions

View File

@ -2727,7 +2727,7 @@ SetUefiImageProtectionAttributes (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreBootServices ( CoreBootServices (
IN UINT8 Type, IN UINT8 Type,
... ...
); );

View File

@ -24,7 +24,7 @@ ASM_FUNC(SysCall)
// VOID // VOID
// EFIAPI // EFIAPI
// Ring3EntryPoint ( // Ring3EntryPoint (
// IN RING3_CALL_DATA *Data // IN RING3_CALL_DATA *Data
// ); // );
// //
// (x0) Data // (x0) Data

View File

@ -24,7 +24,7 @@ ASM_FUNC(SysCall)
// VOID // VOID
// EFIAPI // EFIAPI
// Ring3EntryPoint ( // Ring3EntryPoint (
// IN RING3_CALL_DATA *Data // IN RING3_CALL_DATA *Data
// ); // );
// //
// (r0) Data // (r0) Data

View File

@ -94,7 +94,7 @@ EFI_RUNTIME_SERVICES mRuntimeServices = {
VOID VOID
EFIAPI EFIAPI
Ring3EntryPoint ( Ring3EntryPoint (
IN RING3_CALL_DATA *Data IN RING3_CALL_DATA *Data
); );
typedef typedef
@ -182,7 +182,7 @@ EFI_STATUS
VOID VOID
EFIAPI EFIAPI
Ring3Call ( Ring3Call (
IN RING3_CALL_DATA *Data IN RING3_CALL_DATA *Data
) )
{ {
EFI_STATUS Status; EFI_STATUS Status;

View File

@ -50,7 +50,7 @@ userReturnAddress:
; VOID ; VOID
; EFIAPI ; EFIAPI
; Ring3EntryPoint ( ; Ring3EntryPoint (
; IN RING3_CALL_DATA *Data ; IN RING3_CALL_DATA *Data
; ); ; );
; ;
; (eax) Data ; (eax) Data

View File

@ -68,9 +68,9 @@ Ring3RestoreTpl (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3AllocatePages ( Ring3AllocatePages (
IN EFI_ALLOCATE_TYPE Type, IN EFI_ALLOCATE_TYPE Type,
IN EFI_MEMORY_TYPE MemoryType, IN EFI_MEMORY_TYPE MemoryType,
IN UINTN NumberOfPages, IN UINTN NumberOfPages,
IN OUT EFI_PHYSICAL_ADDRESS *Memory IN OUT EFI_PHYSICAL_ADDRESS *Memory
); );
@ -127,9 +127,9 @@ EFIAPI
Ring3GetMemoryMap ( Ring3GetMemoryMap (
IN OUT UINTN *MemoryMapSize, IN OUT UINTN *MemoryMapSize,
IN OUT EFI_MEMORY_DESCRIPTOR *MemoryMap, IN OUT EFI_MEMORY_DESCRIPTOR *MemoryMap,
OUT UINTN *MapKey, OUT UINTN *MapKey,
OUT UINTN *DescriptorSize, OUT UINTN *DescriptorSize,
OUT UINT32 *DescriptorVersion OUT UINT32 *DescriptorVersion
); );
/** /**
@ -153,11 +153,11 @@ Ring3GetMemoryMap (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3CreateEvent ( Ring3CreateEvent (
IN UINT32 Type, IN UINT32 Type,
IN EFI_TPL NotifyTpl, IN EFI_TPL NotifyTpl,
IN EFI_EVENT_NOTIFY NotifyFunction OPTIONAL, IN EFI_EVENT_NOTIFY NotifyFunction OPTIONAL,
IN VOID *NotifyContext OPTIONAL, IN VOID *NotifyContext OPTIONAL,
OUT EFI_EVENT *Event OUT EFI_EVENT *Event
); );
/** /**
@ -200,9 +200,9 @@ Ring3SetTimer (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3WaitForEvent ( Ring3WaitForEvent (
IN UINTN NumberOfEvents, IN UINTN NumberOfEvents,
IN EFI_EVENT *UserEvents, IN EFI_EVENT *UserEvents,
OUT UINTN *UserIndex OUT UINTN *UserIndex
); );
/** /**
@ -268,10 +268,10 @@ Ring3CheckEvent (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3InstallProtocolInterface ( Ring3InstallProtocolInterface (
IN OUT EFI_HANDLE *UserHandle, IN OUT EFI_HANDLE *UserHandle,
IN EFI_GUID *Protocol, IN EFI_GUID *Protocol,
IN EFI_INTERFACE_TYPE InterfaceType, IN EFI_INTERFACE_TYPE InterfaceType,
IN VOID *Interface IN VOID *Interface
); );
/** /**
@ -332,9 +332,9 @@ Ring3UninstallProtocolInterface (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3HandleProtocol ( Ring3HandleProtocol (
IN EFI_HANDLE UserHandle, IN EFI_HANDLE UserHandle,
IN EFI_GUID *Protocol, IN EFI_GUID *Protocol,
OUT VOID **Interface OUT VOID **Interface
); );
/** /**
@ -353,9 +353,9 @@ Ring3HandleProtocol (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3RegisterProtocolNotify ( Ring3RegisterProtocolNotify (
IN EFI_GUID *Protocol, IN EFI_GUID *Protocol,
IN EFI_EVENT Event, IN EFI_EVENT Event,
OUT VOID **Registration OUT VOID **Registration
); );
/** /**
@ -379,11 +379,11 @@ Ring3RegisterProtocolNotify (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3LocateHandle ( Ring3LocateHandle (
IN EFI_LOCATE_SEARCH_TYPE SearchType, IN EFI_LOCATE_SEARCH_TYPE SearchType,
IN EFI_GUID *Protocol OPTIONAL, IN EFI_GUID *Protocol OPTIONAL,
IN VOID *SearchKey OPTIONAL, IN VOID *SearchKey OPTIONAL,
IN OUT UINTN *BufferSize, IN OUT UINTN *BufferSize,
OUT EFI_HANDLE *Buffer OUT EFI_HANDLE *Buffer
); );
/** /**
@ -404,9 +404,9 @@ Ring3LocateHandle (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3LocateDevicePath ( Ring3LocateDevicePath (
IN EFI_GUID *Protocol, IN EFI_GUID *Protocol,
IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath, IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath,
OUT EFI_HANDLE *Device OUT EFI_HANDLE *Device
); );
/** /**
@ -468,12 +468,12 @@ Ring3InstallConfigurationTable (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3LoadImage ( Ring3LoadImage (
IN BOOLEAN BootPolicy, IN BOOLEAN BootPolicy,
IN EFI_HANDLE ParentImageHandle, IN EFI_HANDLE ParentImageHandle,
IN EFI_DEVICE_PATH_PROTOCOL *FilePath, IN EFI_DEVICE_PATH_PROTOCOL *FilePath,
IN VOID *SourceBuffer OPTIONAL, IN VOID *SourceBuffer OPTIONAL,
IN UINTN SourceSize, IN UINTN SourceSize,
OUT EFI_HANDLE *ImageHandle OUT EFI_HANDLE *ImageHandle
); );
/** /**
@ -498,9 +498,9 @@ Ring3LoadImage (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3StartImage ( Ring3StartImage (
IN EFI_HANDLE ImageHandle, IN EFI_HANDLE ImageHandle,
OUT UINTN *ExitDataSize, OUT UINTN *ExitDataSize,
OUT CHAR16 **ExitData OPTIONAL OUT CHAR16 **ExitData OPTIONAL
); );
/** /**
@ -662,10 +662,10 @@ Ring3SetWatchdogTimer (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3ConnectController ( Ring3ConnectController (
IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE ControllerHandle,
IN EFI_HANDLE *DriverImageHandle OPTIONAL, IN EFI_HANDLE *DriverImageHandle OPTIONAL,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL,
IN BOOLEAN Recursive IN BOOLEAN Recursive
); );
/** /**
@ -703,9 +703,9 @@ Ring3ConnectController (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3DisconnectController ( Ring3DisconnectController (
IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE ControllerHandle,
IN EFI_HANDLE DriverImageHandle OPTIONAL, IN EFI_HANDLE DriverImageHandle OPTIONAL,
IN EFI_HANDLE ChildHandle OPTIONAL IN EFI_HANDLE ChildHandle OPTIONAL
); );
/** /**
@ -767,10 +767,10 @@ Ring3OpenProtocol (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3CloseProtocol ( Ring3CloseProtocol (
IN EFI_HANDLE UserHandle, IN EFI_HANDLE UserHandle,
IN EFI_GUID *Protocol, IN EFI_GUID *Protocol,
IN EFI_HANDLE AgentHandle, IN EFI_HANDLE AgentHandle,
IN EFI_HANDLE ControllerHandle IN EFI_HANDLE ControllerHandle
); );
/** /**
@ -819,9 +819,9 @@ Ring3OpenProtocolInformation (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3ProtocolsPerHandle ( Ring3ProtocolsPerHandle (
IN EFI_HANDLE UserHandle, IN EFI_HANDLE UserHandle,
OUT EFI_GUID ***ProtocolBuffer, OUT EFI_GUID ***ProtocolBuffer,
OUT UINTN *ProtocolBufferCount OUT UINTN *ProtocolBufferCount
); );
/** /**
@ -849,11 +849,11 @@ Ring3ProtocolsPerHandle (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3LocateHandleBuffer ( Ring3LocateHandleBuffer (
IN EFI_LOCATE_SEARCH_TYPE SearchType, IN EFI_LOCATE_SEARCH_TYPE SearchType,
IN EFI_GUID *Protocol OPTIONAL, IN EFI_GUID *Protocol OPTIONAL,
IN VOID *SearchKey OPTIONAL, IN VOID *SearchKey OPTIONAL,
IN OUT UINTN *NumberHandles, IN OUT UINTN *NumberHandles,
OUT EFI_HANDLE **Buffer OUT EFI_HANDLE **Buffer
); );
/** /**
@ -947,9 +947,9 @@ Ring3UninstallMultipleProtocolInterfaces (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3CalculateCrc32 ( Ring3CalculateCrc32 (
IN VOID *Data, IN VOID *Data,
IN UINTN DataSize, IN UINTN DataSize,
OUT UINT32 *Crc32 OUT UINT32 *Crc32
); );
/** /**
@ -975,12 +975,12 @@ Ring3CalculateCrc32 (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3CreateEventEx ( Ring3CreateEventEx (
IN UINT32 Type, IN UINT32 Type,
IN EFI_TPL NotifyTpl, IN EFI_TPL NotifyTpl,
IN EFI_EVENT_NOTIFY NotifyFunction OPTIONAL, IN EFI_EVENT_NOTIFY NotifyFunction OPTIONAL,
IN CONST VOID *NotifyContext OPTIONAL, IN CONST VOID *NotifyContext OPTIONAL,
IN CONST EFI_GUID *EventGroup OPTIONAL, IN CONST EFI_GUID *EventGroup OPTIONAL,
OUT EFI_EVENT *Event OUT EFI_EVENT *Event
); );
/** /**
@ -1023,11 +1023,11 @@ Ring3BlockIoReset (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3BlockIoRead ( Ring3BlockIoRead (
IN EFI_BLOCK_IO_PROTOCOL *This, IN EFI_BLOCK_IO_PROTOCOL *This,
IN UINT32 MediaId, IN UINT32 MediaId,
IN EFI_LBA Lba, IN EFI_LBA Lba,
IN UINTN BufferSize, IN UINTN BufferSize,
OUT VOID *Buffer OUT VOID *Buffer
); );
/** /**
@ -1096,11 +1096,11 @@ Ring3BlockIoFlush (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3DiskIoRead ( Ring3DiskIoRead (
IN EFI_DISK_IO_PROTOCOL *This, IN EFI_DISK_IO_PROTOCOL *This,
IN UINT32 MediaId, IN UINT32 MediaId,
IN UINT64 Offset, IN UINT64 Offset,
IN UINTN BufferSize, IN UINTN BufferSize,
OUT VOID *Buffer OUT VOID *Buffer
); );
/** /**
@ -1147,8 +1147,8 @@ Ring3DiskIoWrite (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3GetTime ( Ring3GetTime (
OUT EFI_TIME *Time, OUT EFI_TIME *Time,
OUT EFI_TIME_CAPABILITIES *Capabilities OPTIONAL OUT EFI_TIME_CAPABILITIES *Capabilities OPTIONAL
); );
/** /**
@ -1164,7 +1164,7 @@ Ring3GetTime (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3SetTime ( Ring3SetTime (
IN EFI_TIME *Time IN EFI_TIME *Time
); );
/** /**
@ -1185,9 +1185,9 @@ Ring3SetTime (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3GetWakeupTime ( Ring3GetWakeupTime (
OUT BOOLEAN *Enabled, OUT BOOLEAN *Enabled,
OUT BOOLEAN *Pending, OUT BOOLEAN *Pending,
OUT EFI_TIME *Time OUT EFI_TIME *Time
); );
/** /**
@ -1207,8 +1207,8 @@ Ring3GetWakeupTime (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3SetWakeupTime ( Ring3SetWakeupTime (
IN BOOLEAN Enable, IN BOOLEAN Enable,
IN EFI_TIME *Time OPTIONAL IN EFI_TIME *Time OPTIONAL
); );
/** /**
@ -1233,10 +1233,10 @@ Ring3SetWakeupTime (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3SetVirtualAddressMap ( Ring3SetVirtualAddressMap (
IN UINTN MemoryMapSize, IN UINTN MemoryMapSize,
IN UINTN DescriptorSize, IN UINTN DescriptorSize,
IN UINT32 DescriptorVersion, IN UINT32 DescriptorVersion,
IN EFI_MEMORY_DESCRIPTOR *VirtualMap IN EFI_MEMORY_DESCRIPTOR *VirtualMap
); );
/** /**
@ -1257,8 +1257,8 @@ Ring3SetVirtualAddressMap (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3ConvertPointer ( Ring3ConvertPointer (
IN UINTN DebugDisposition, IN UINTN DebugDisposition,
IN OUT VOID **Address IN OUT VOID **Address
); );
/** /**
@ -1288,11 +1288,11 @@ Ring3ConvertPointer (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3GetVariable ( Ring3GetVariable (
IN CHAR16 *VariableName, IN CHAR16 *VariableName,
IN EFI_GUID *VendorGuid, IN EFI_GUID *VendorGuid,
OUT UINT32 *Attributes OPTIONAL, OUT UINT32 *Attributes OPTIONAL,
IN OUT UINTN *DataSize, IN OUT UINTN *DataSize,
OUT VOID *Data OPTIONAL OUT VOID *Data OPTIONAL
); );
/** /**
@ -1324,9 +1324,9 @@ Ring3GetVariable (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3GetNextVariableName ( Ring3GetNextVariableName (
IN OUT UINTN *VariableNameSize, IN OUT UINTN *VariableNameSize,
IN OUT CHAR16 *VariableName, IN OUT CHAR16 *VariableName,
IN OUT EFI_GUID *VendorGuid IN OUT EFI_GUID *VendorGuid
); );
/** /**
@ -1366,11 +1366,11 @@ Ring3GetNextVariableName (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3SetVariable ( Ring3SetVariable (
IN CHAR16 *VariableName, IN CHAR16 *VariableName,
IN EFI_GUID *VendorGuid, IN EFI_GUID *VendorGuid,
IN UINT32 Attributes, IN UINT32 Attributes,
IN UINTN DataSize, IN UINTN DataSize,
IN VOID *Data IN VOID *Data
); );
/** /**
@ -1386,7 +1386,7 @@ Ring3SetVariable (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3GetNextHighMonotonicCount ( Ring3GetNextHighMonotonicCount (
OUT UINT32 *HighCount OUT UINT32 *HighCount
); );
/** /**
@ -1407,10 +1407,10 @@ Ring3GetNextHighMonotonicCount (
VOID VOID
EFIAPI EFIAPI
Ring3ResetSystem ( Ring3ResetSystem (
IN EFI_RESET_TYPE ResetType, IN EFI_RESET_TYPE ResetType,
IN EFI_STATUS ResetStatus, IN EFI_STATUS ResetStatus,
IN UINTN DataSize, IN UINTN DataSize,
IN VOID *ResetData OPTIONAL IN VOID *ResetData OPTIONAL
); );
/** /**
@ -1446,9 +1446,9 @@ Ring3ResetSystem (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3UpdateCapsule ( Ring3UpdateCapsule (
IN EFI_CAPSULE_HEADER **CapsuleHeaderArray, IN EFI_CAPSULE_HEADER **CapsuleHeaderArray,
IN UINTN CapsuleCount, IN UINTN CapsuleCount,
IN EFI_PHYSICAL_ADDRESS ScatterGatherList OPTIONAL IN EFI_PHYSICAL_ADDRESS ScatterGatherList OPTIONAL
); );
/** /**
@ -1477,10 +1477,10 @@ Ring3UpdateCapsule (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3QueryCapsuleCapabilities ( Ring3QueryCapsuleCapabilities (
IN EFI_CAPSULE_HEADER **CapsuleHeaderArray, IN EFI_CAPSULE_HEADER **CapsuleHeaderArray,
IN UINTN CapsuleCount, IN UINTN CapsuleCount,
OUT UINT64 *MaximumCapsuleSize, OUT UINT64 *MaximumCapsuleSize,
OUT EFI_RESET_TYPE *ResetType OUT EFI_RESET_TYPE *ResetType
); );
/** /**
@ -1508,10 +1508,10 @@ Ring3QueryCapsuleCapabilities (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3QueryVariableInfo ( Ring3QueryVariableInfo (
IN UINT32 Attributes, IN UINT32 Attributes,
OUT UINT64 *MaximumVariableStorageSize, OUT UINT64 *MaximumVariableStorageSize,
OUT UINT64 *RemainingVariableStorageSize, OUT UINT64 *RemainingVariableStorageSize,
OUT UINT64 *MaximumVariableSize OUT UINT64 *MaximumVariableSize
); );
/** /**
@ -1529,9 +1529,9 @@ Ring3QueryVariableInfo (
INTN INTN
EFIAPI EFIAPI
Ring3UnicodeStriColl ( Ring3UnicodeStriColl (
IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN EFI_UNICODE_COLLATION_PROTOCOL *This,
IN CHAR16 *Str1, IN CHAR16 *Str1,
IN CHAR16 *Str2 IN CHAR16 *Str2
); );
/** /**
@ -1549,9 +1549,9 @@ Ring3UnicodeStriColl (
BOOLEAN BOOLEAN
EFIAPI EFIAPI
Ring3UnicodeMetaiMatch ( Ring3UnicodeMetaiMatch (
IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN EFI_UNICODE_COLLATION_PROTOCOL *This,
IN CHAR16 *String, IN CHAR16 *String,
IN CHAR16 *Pattern IN CHAR16 *Pattern
); );
/** /**
@ -1565,8 +1565,8 @@ Ring3UnicodeMetaiMatch (
VOID VOID
EFIAPI EFIAPI
Ring3UnicodeStrLwr ( Ring3UnicodeStrLwr (
IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN EFI_UNICODE_COLLATION_PROTOCOL *This,
IN OUT CHAR16 *Str IN OUT CHAR16 *Str
); );
/** /**
@ -1580,8 +1580,8 @@ Ring3UnicodeStrLwr (
VOID VOID
EFIAPI EFIAPI
Ring3UnicodeStrUpr ( Ring3UnicodeStrUpr (
IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN EFI_UNICODE_COLLATION_PROTOCOL *This,
IN OUT CHAR16 *Str IN OUT CHAR16 *Str
); );
/** /**
@ -1599,10 +1599,10 @@ Ring3UnicodeStrUpr (
VOID VOID
EFIAPI EFIAPI
Ring3UnicodeFatToStr ( Ring3UnicodeFatToStr (
IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN EFI_UNICODE_COLLATION_PROTOCOL *This,
IN UINTN FatSize, IN UINTN FatSize,
IN CHAR8 *Fat, IN CHAR8 *Fat,
OUT CHAR16 *String OUT CHAR16 *String
); );
/** /**
@ -1622,8 +1622,8 @@ Ring3UnicodeFatToStr (
BOOLEAN BOOLEAN
EFIAPI EFIAPI
Ring3UnicodeStrToFat ( Ring3UnicodeStrToFat (
IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN EFI_UNICODE_COLLATION_PROTOCOL *This,
IN CHAR16 *String, IN CHAR16 *String,
IN UINTN FatSize, IN UINTN FatSize,
OUT CHAR8 *Fat OUT CHAR8 *Fat
); );

View File

@ -25,11 +25,11 @@ Ring3BlockIoReset (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3BlockIoRead ( Ring3BlockIoRead (
IN EFI_BLOCK_IO_PROTOCOL *This, IN EFI_BLOCK_IO_PROTOCOL *This,
IN UINT32 MediaId, IN UINT32 MediaId,
IN EFI_LBA Lba, IN EFI_LBA Lba,
IN UINTN BufferSize, IN UINTN BufferSize,
OUT VOID *Buffer OUT VOID *Buffer
) )
{ {
return SysCall ( return SysCall (
@ -80,11 +80,11 @@ Ring3BlockIoFlush (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3DiskIoRead ( Ring3DiskIoRead (
IN EFI_DISK_IO_PROTOCOL *This, IN EFI_DISK_IO_PROTOCOL *This,
IN UINT32 MediaId, IN UINT32 MediaId,
IN UINT64 Offset, IN UINT64 Offset,
IN UINTN BufferSize, IN UINTN BufferSize,
OUT VOID *Buffer OUT VOID *Buffer
) )
{ {
return SysCall ( return SysCall (
@ -156,8 +156,8 @@ Ring3UnicodeMetaiMatch (
VOID VOID
EFIAPI EFIAPI
Ring3UnicodeStrLwr ( Ring3UnicodeStrLwr (
IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN EFI_UNICODE_COLLATION_PROTOCOL *This,
IN OUT CHAR16 *Str IN OUT CHAR16 *Str
) )
{ {
SysCall ( SysCall (
@ -171,8 +171,8 @@ Ring3UnicodeStrLwr (
VOID VOID
EFIAPI EFIAPI
Ring3UnicodeStrUpr ( Ring3UnicodeStrUpr (
IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN EFI_UNICODE_COLLATION_PROTOCOL *This,
IN OUT CHAR16 *Str IN OUT CHAR16 *Str
) )
{ {
SysCall ( SysCall (
@ -186,10 +186,10 @@ Ring3UnicodeStrUpr (
VOID VOID
EFIAPI EFIAPI
Ring3UnicodeFatToStr ( Ring3UnicodeFatToStr (
IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN EFI_UNICODE_COLLATION_PROTOCOL *This,
IN UINTN FatSize, IN UINTN FatSize,
IN CHAR8 *Fat, IN CHAR8 *Fat,
OUT CHAR16 *String OUT CHAR16 *String
) )
{ {
SysCall ( SysCall (
@ -205,10 +205,10 @@ Ring3UnicodeFatToStr (
BOOLEAN BOOLEAN
EFIAPI EFIAPI
Ring3UnicodeStrToFat ( Ring3UnicodeStrToFat (
IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN EFI_UNICODE_COLLATION_PROTOCOL *This,
IN CHAR16 *String, IN CHAR16 *String,
IN UINTN FatSize, IN UINTN FatSize,
OUT CHAR8 *Fat OUT CHAR8 *Fat
) )
{ {
return (BOOLEAN)SysCall ( return (BOOLEAN)SysCall (

View File

@ -119,9 +119,9 @@ Ring3RestoreTpl (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3AllocatePages ( Ring3AllocatePages (
IN EFI_ALLOCATE_TYPE Type, IN EFI_ALLOCATE_TYPE Type,
IN EFI_MEMORY_TYPE MemoryType, IN EFI_MEMORY_TYPE MemoryType,
IN UINTN NumberOfPages, IN UINTN NumberOfPages,
IN OUT EFI_PHYSICAL_ADDRESS *Memory IN OUT EFI_PHYSICAL_ADDRESS *Memory
) )
{ {
@ -169,9 +169,9 @@ EFIAPI
Ring3GetMemoryMap ( Ring3GetMemoryMap (
IN OUT UINTN *MemoryMapSize, IN OUT UINTN *MemoryMapSize,
IN OUT EFI_MEMORY_DESCRIPTOR *MemoryMap, IN OUT EFI_MEMORY_DESCRIPTOR *MemoryMap,
OUT UINTN *MapKey, OUT UINTN *MapKey,
OUT UINTN *DescriptorSize, OUT UINTN *DescriptorSize,
OUT UINT32 *DescriptorVersion OUT UINT32 *DescriptorVersion
) )
{ {
DEBUG ((DEBUG_ERROR, "Ring3: GetMemoryMap is not supported\n")); DEBUG ((DEBUG_ERROR, "Ring3: GetMemoryMap is not supported\n"));
@ -182,11 +182,11 @@ Ring3GetMemoryMap (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3CreateEvent ( Ring3CreateEvent (
IN UINT32 Type, IN UINT32 Type,
IN EFI_TPL NotifyTpl, IN EFI_TPL NotifyTpl,
IN EFI_EVENT_NOTIFY NotifyFunction OPTIONAL, IN EFI_EVENT_NOTIFY NotifyFunction OPTIONAL,
IN VOID *NotifyContext OPTIONAL, IN VOID *NotifyContext OPTIONAL,
OUT EFI_EVENT *Event OUT EFI_EVENT *Event
) )
{ {
DEBUG ((DEBUG_ERROR, "Ring3: CreateEvent is not supported\n")); DEBUG ((DEBUG_ERROR, "Ring3: CreateEvent is not supported\n"));
@ -210,9 +210,9 @@ Ring3SetTimer (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3WaitForEvent ( Ring3WaitForEvent (
IN UINTN NumberOfEvents, IN UINTN NumberOfEvents,
IN EFI_EVENT *UserEvents, IN EFI_EVENT *UserEvents,
OUT UINTN *UserIndex OUT UINTN *UserIndex
) )
{ {
DEBUG ((DEBUG_ERROR, "Ring3: WaitForEvent is not supported\n")); DEBUG ((DEBUG_ERROR, "Ring3: WaitForEvent is not supported\n"));
@ -256,10 +256,10 @@ Ring3CheckEvent (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3InstallProtocolInterface ( Ring3InstallProtocolInterface (
IN OUT EFI_HANDLE *UserHandle, IN OUT EFI_HANDLE *UserHandle,
IN EFI_GUID *Protocol, IN EFI_GUID *Protocol,
IN EFI_INTERFACE_TYPE InterfaceType, IN EFI_INTERFACE_TYPE InterfaceType,
IN VOID *Interface IN VOID *Interface
) )
{ {
DEBUG ((DEBUG_ERROR, "Ring3: InstallProtocolInterface is not supported\n")); DEBUG ((DEBUG_ERROR, "Ring3: InstallProtocolInterface is not supported\n"));
@ -297,9 +297,9 @@ Ring3UninstallProtocolInterface (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3HandleProtocol ( Ring3HandleProtocol (
IN EFI_HANDLE CoreUserHandle, IN EFI_HANDLE CoreUserHandle,
IN EFI_GUID *Protocol, IN EFI_GUID *Protocol,
OUT VOID **Interface OUT VOID **Interface
) )
{ {
EFI_STATUS Status; EFI_STATUS Status;
@ -322,9 +322,9 @@ Ring3HandleProtocol (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3RegisterProtocolNotify ( Ring3RegisterProtocolNotify (
IN EFI_GUID *Protocol, IN EFI_GUID *Protocol,
IN EFI_EVENT Event, IN EFI_EVENT Event,
OUT VOID **Registration OUT VOID **Registration
) )
{ {
DEBUG ((DEBUG_ERROR, "Ring3: RegisterProtocolNotify is not supported\n")); DEBUG ((DEBUG_ERROR, "Ring3: RegisterProtocolNotify is not supported\n"));
@ -335,11 +335,11 @@ Ring3RegisterProtocolNotify (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3LocateHandle ( Ring3LocateHandle (
IN EFI_LOCATE_SEARCH_TYPE SearchType, IN EFI_LOCATE_SEARCH_TYPE SearchType,
IN EFI_GUID *Protocol OPTIONAL, IN EFI_GUID *Protocol OPTIONAL,
IN VOID *SearchKey OPTIONAL, IN VOID *SearchKey OPTIONAL,
IN OUT UINTN *BufferSize, IN OUT UINTN *BufferSize,
OUT EFI_HANDLE *Buffer OUT EFI_HANDLE *Buffer
) )
{ {
DEBUG ((DEBUG_ERROR, "Ring3: LocateHandle is not supported\n")); DEBUG ((DEBUG_ERROR, "Ring3: LocateHandle is not supported\n"));
@ -350,9 +350,9 @@ Ring3LocateHandle (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3LocateDevicePath ( Ring3LocateDevicePath (
IN EFI_GUID *Protocol, IN EFI_GUID *Protocol,
IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath, IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath,
OUT EFI_HANDLE *Device OUT EFI_HANDLE *Device
) )
{ {
DEBUG ((DEBUG_ERROR, "Ring3: LocateDevicePath is not supported\n")); DEBUG ((DEBUG_ERROR, "Ring3: LocateDevicePath is not supported\n"));
@ -375,12 +375,12 @@ Ring3InstallConfigurationTable (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3LoadImage ( Ring3LoadImage (
IN BOOLEAN BootPolicy, IN BOOLEAN BootPolicy,
IN EFI_HANDLE ParentImageHandle, IN EFI_HANDLE ParentImageHandle,
IN EFI_DEVICE_PATH_PROTOCOL *FilePath, IN EFI_DEVICE_PATH_PROTOCOL *FilePath,
IN VOID *SourceBuffer OPTIONAL, IN VOID *SourceBuffer OPTIONAL,
IN UINTN SourceSize, IN UINTN SourceSize,
OUT EFI_HANDLE *ImageHandle OUT EFI_HANDLE *ImageHandle
) )
{ {
DEBUG ((DEBUG_ERROR, "Ring3: LoadImage is not supported\n")); DEBUG ((DEBUG_ERROR, "Ring3: LoadImage is not supported\n"));
@ -391,9 +391,9 @@ Ring3LoadImage (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3StartImage ( Ring3StartImage (
IN EFI_HANDLE ImageHandle, IN EFI_HANDLE ImageHandle,
OUT UINTN *ExitDataSize, OUT UINTN *ExitDataSize,
OUT CHAR16 **ExitData OPTIONAL OUT CHAR16 **ExitData OPTIONAL
) )
{ {
DEBUG ((DEBUG_ERROR, "Ring3: StartImage is not supported\n")); DEBUG ((DEBUG_ERROR, "Ring3: StartImage is not supported\n"));
@ -477,10 +477,10 @@ Ring3SetWatchdogTimer (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3ConnectController ( Ring3ConnectController (
IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE ControllerHandle,
IN EFI_HANDLE *DriverImageHandle OPTIONAL, IN EFI_HANDLE *DriverImageHandle OPTIONAL,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL,
IN BOOLEAN Recursive IN BOOLEAN Recursive
) )
{ {
DEBUG ((DEBUG_ERROR, "Ring3: ConnectController is not supported\n")); DEBUG ((DEBUG_ERROR, "Ring3: ConnectController is not supported\n"));
@ -491,9 +491,9 @@ Ring3ConnectController (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3DisconnectController ( Ring3DisconnectController (
IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE ControllerHandle,
IN EFI_HANDLE DriverImageHandle OPTIONAL, IN EFI_HANDLE DriverImageHandle OPTIONAL,
IN EFI_HANDLE ChildHandle OPTIONAL IN EFI_HANDLE ChildHandle OPTIONAL
) )
{ {
DEBUG ((DEBUG_ERROR, "Ring3: DisconnectController is not supported\n")); DEBUG ((DEBUG_ERROR, "Ring3: DisconnectController is not supported\n"));
@ -534,10 +534,10 @@ Ring3OpenProtocol (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3CloseProtocol ( Ring3CloseProtocol (
IN EFI_HANDLE UserHandle, IN EFI_HANDLE UserHandle,
IN EFI_GUID *Protocol, IN EFI_GUID *Protocol,
IN EFI_HANDLE AgentHandle, IN EFI_HANDLE AgentHandle,
IN EFI_HANDLE ControllerHandle IN EFI_HANDLE ControllerHandle
) )
{ {
return SysCall ( return SysCall (
@ -567,9 +567,9 @@ Ring3OpenProtocolInformation (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3ProtocolsPerHandle ( Ring3ProtocolsPerHandle (
IN EFI_HANDLE UserHandle, IN EFI_HANDLE UserHandle,
OUT EFI_GUID ***ProtocolBuffer, OUT EFI_GUID ***ProtocolBuffer,
OUT UINTN *ProtocolBufferCount OUT UINTN *ProtocolBufferCount
) )
{ {
DEBUG ((DEBUG_ERROR, "Ring3: ProtocolsPerHandle is not supported\n")); DEBUG ((DEBUG_ERROR, "Ring3: ProtocolsPerHandle is not supported\n"));
@ -580,11 +580,11 @@ Ring3ProtocolsPerHandle (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3LocateHandleBuffer ( Ring3LocateHandleBuffer (
IN EFI_LOCATE_SEARCH_TYPE SearchType, IN EFI_LOCATE_SEARCH_TYPE SearchType,
IN EFI_GUID *Protocol OPTIONAL, IN EFI_GUID *Protocol OPTIONAL,
IN VOID *SearchKey OPTIONAL, IN VOID *SearchKey OPTIONAL,
IN OUT UINTN *NumberHandles, IN OUT UINTN *NumberHandles,
OUT EFI_HANDLE **Buffer OUT EFI_HANDLE **Buffer
) )
{ {
EFI_STATUS Status; EFI_STATUS Status;
@ -703,9 +703,9 @@ Ring3UninstallMultipleProtocolInterfaces (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3CalculateCrc32 ( Ring3CalculateCrc32 (
IN VOID *Data, IN VOID *Data,
IN UINTN DataSize, IN UINTN DataSize,
OUT UINT32 *Crc32 OUT UINT32 *Crc32
) )
{ {
return SysCall ( return SysCall (
@ -720,12 +720,12 @@ Ring3CalculateCrc32 (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3CreateEventEx ( Ring3CreateEventEx (
IN UINT32 Type, IN UINT32 Type,
IN EFI_TPL NotifyTpl, IN EFI_TPL NotifyTpl,
IN EFI_EVENT_NOTIFY NotifyFunction OPTIONAL, IN EFI_EVENT_NOTIFY NotifyFunction OPTIONAL,
IN CONST VOID *NotifyContext OPTIONAL, IN CONST VOID *NotifyContext OPTIONAL,
IN CONST EFI_GUID *EventGroup OPTIONAL, IN CONST EFI_GUID *EventGroup OPTIONAL,
OUT EFI_EVENT *Event OUT EFI_EVENT *Event
) )
{ {
DEBUG ((DEBUG_ERROR, "Ring3: CreateEventEx is not supported\n")); DEBUG ((DEBUG_ERROR, "Ring3: CreateEventEx is not supported\n"));

View File

@ -8,8 +8,8 @@
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3GetTime ( Ring3GetTime (
OUT EFI_TIME *Time, OUT EFI_TIME *Time,
OUT EFI_TIME_CAPABILITIES *Capabilities OPTIONAL OUT EFI_TIME_CAPABILITIES *Capabilities OPTIONAL
) )
{ {
DEBUG ((DEBUG_ERROR, "Ring3: GetTime is not supported\n")); DEBUG ((DEBUG_ERROR, "Ring3: GetTime is not supported\n"));
@ -20,7 +20,7 @@ Ring3GetTime (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3SetTime ( Ring3SetTime (
IN EFI_TIME *Time IN EFI_TIME *Time
) )
{ {
DEBUG ((DEBUG_ERROR, "Ring3: SetTime is not supported\n")); DEBUG ((DEBUG_ERROR, "Ring3: SetTime is not supported\n"));
@ -31,9 +31,9 @@ Ring3SetTime (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3GetWakeupTime ( Ring3GetWakeupTime (
OUT BOOLEAN *Enabled, OUT BOOLEAN *Enabled,
OUT BOOLEAN *Pending, OUT BOOLEAN *Pending,
OUT EFI_TIME *Time OUT EFI_TIME *Time
) )
{ {
DEBUG ((DEBUG_ERROR, "Ring3: GetWakeupTime is not supported\n")); DEBUG ((DEBUG_ERROR, "Ring3: GetWakeupTime is not supported\n"));
@ -44,8 +44,8 @@ Ring3GetWakeupTime (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3SetWakeupTime ( Ring3SetWakeupTime (
IN BOOLEAN Enable, IN BOOLEAN Enable,
IN EFI_TIME *Time OPTIONAL IN EFI_TIME *Time OPTIONAL
) )
{ {
DEBUG ((DEBUG_ERROR, "Ring3: SetWakeupTime is not supported\n")); DEBUG ((DEBUG_ERROR, "Ring3: SetWakeupTime is not supported\n"));
@ -56,10 +56,10 @@ Ring3SetWakeupTime (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3SetVirtualAddressMap ( Ring3SetVirtualAddressMap (
IN UINTN MemoryMapSize, IN UINTN MemoryMapSize,
IN UINTN DescriptorSize, IN UINTN DescriptorSize,
IN UINT32 DescriptorVersion, IN UINT32 DescriptorVersion,
IN EFI_MEMORY_DESCRIPTOR *VirtualMap IN EFI_MEMORY_DESCRIPTOR *VirtualMap
) )
{ {
DEBUG ((DEBUG_ERROR, "Ring3: SetVirtualAddressMap is not supported\n")); DEBUG ((DEBUG_ERROR, "Ring3: SetVirtualAddressMap is not supported\n"));
@ -70,8 +70,8 @@ Ring3SetVirtualAddressMap (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3ConvertPointer ( Ring3ConvertPointer (
IN UINTN DebugDisposition, IN UINTN DebugDisposition,
IN OUT VOID **Address IN OUT VOID **Address
) )
{ {
DEBUG ((DEBUG_ERROR, "Ring3: ConvertPointer is not supported\n")); DEBUG ((DEBUG_ERROR, "Ring3: ConvertPointer is not supported\n"));
@ -82,11 +82,11 @@ Ring3ConvertPointer (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3GetVariable ( Ring3GetVariable (
IN CHAR16 *VariableName, IN CHAR16 *VariableName,
IN EFI_GUID *VendorGuid, IN EFI_GUID *VendorGuid,
OUT UINT32 *Attributes OPTIONAL, OUT UINT32 *Attributes OPTIONAL,
IN OUT UINTN *DataSize, IN OUT UINTN *DataSize,
OUT VOID *Data OPTIONAL OUT VOID *Data OPTIONAL
) )
{ {
return SysCall ( return SysCall (
@ -103,9 +103,9 @@ Ring3GetVariable (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3GetNextVariableName ( Ring3GetNextVariableName (
IN OUT UINTN *VariableNameSize, IN OUT UINTN *VariableNameSize,
IN OUT CHAR16 *VariableName, IN OUT CHAR16 *VariableName,
IN OUT EFI_GUID *VendorGuid IN OUT EFI_GUID *VendorGuid
) )
{ {
DEBUG ((DEBUG_ERROR, "Ring3: GetNextVariableName is not supported\n")); DEBUG ((DEBUG_ERROR, "Ring3: GetNextVariableName is not supported\n"));
@ -116,11 +116,11 @@ Ring3GetNextVariableName (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3SetVariable ( Ring3SetVariable (
IN CHAR16 *VariableName, IN CHAR16 *VariableName,
IN EFI_GUID *VendorGuid, IN EFI_GUID *VendorGuid,
IN UINT32 Attributes, IN UINT32 Attributes,
IN UINTN DataSize, IN UINTN DataSize,
IN VOID *Data IN VOID *Data
) )
{ {
DEBUG ((DEBUG_ERROR, "Ring3: SetVariable is not supported\n")); DEBUG ((DEBUG_ERROR, "Ring3: SetVariable is not supported\n"));
@ -131,7 +131,7 @@ Ring3SetVariable (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3GetNextHighMonotonicCount ( Ring3GetNextHighMonotonicCount (
OUT UINT32 *HighCount OUT UINT32 *HighCount
) )
{ {
DEBUG ((DEBUG_ERROR, "Ring3: GetNextHighMonotonicCount is not supported\n")); DEBUG ((DEBUG_ERROR, "Ring3: GetNextHighMonotonicCount is not supported\n"));
@ -142,10 +142,10 @@ Ring3GetNextHighMonotonicCount (
VOID VOID
EFIAPI EFIAPI
Ring3ResetSystem ( Ring3ResetSystem (
IN EFI_RESET_TYPE ResetType, IN EFI_RESET_TYPE ResetType,
IN EFI_STATUS ResetStatus, IN EFI_STATUS ResetStatus,
IN UINTN DataSize, IN UINTN DataSize,
IN VOID *ResetData OPTIONAL IN VOID *ResetData OPTIONAL
) )
{ {
DEBUG ((DEBUG_ERROR, "Ring3: ResetSystem is not supported\n")); DEBUG ((DEBUG_ERROR, "Ring3: ResetSystem is not supported\n"));
@ -156,9 +156,9 @@ Ring3ResetSystem (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3UpdateCapsule ( Ring3UpdateCapsule (
IN EFI_CAPSULE_HEADER **CapsuleHeaderArray, IN EFI_CAPSULE_HEADER **CapsuleHeaderArray,
IN UINTN CapsuleCount, IN UINTN CapsuleCount,
IN EFI_PHYSICAL_ADDRESS ScatterGatherList OPTIONAL IN EFI_PHYSICAL_ADDRESS ScatterGatherList OPTIONAL
) )
{ {
DEBUG ((DEBUG_ERROR, "Ring3: UpdateCapsule is not supported\n")); DEBUG ((DEBUG_ERROR, "Ring3: UpdateCapsule is not supported\n"));
@ -169,10 +169,10 @@ Ring3UpdateCapsule (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3QueryCapsuleCapabilities ( Ring3QueryCapsuleCapabilities (
IN EFI_CAPSULE_HEADER **CapsuleHeaderArray, IN EFI_CAPSULE_HEADER **CapsuleHeaderArray,
IN UINTN CapsuleCount, IN UINTN CapsuleCount,
OUT UINT64 *MaximumCapsuleSize, OUT UINT64 *MaximumCapsuleSize,
OUT EFI_RESET_TYPE *ResetType OUT EFI_RESET_TYPE *ResetType
) )
{ {
DEBUG ((DEBUG_ERROR, "Ring3: QueryCapsuleCapabilities is not supported\n")); DEBUG ((DEBUG_ERROR, "Ring3: QueryCapsuleCapabilities is not supported\n"));
@ -183,10 +183,10 @@ Ring3QueryCapsuleCapabilities (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
Ring3QueryVariableInfo ( Ring3QueryVariableInfo (
IN UINT32 Attributes, IN UINT32 Attributes,
OUT UINT64 *MaximumVariableStorageSize, OUT UINT64 *MaximumVariableStorageSize,
OUT UINT64 *RemainingVariableStorageSize, OUT UINT64 *RemainingVariableStorageSize,
OUT UINT64 *MaximumVariableSize OUT UINT64 *MaximumVariableSize
) )
{ {
DEBUG ((DEBUG_ERROR, "Ring3: QueryVariableInfo is not supported\n")); DEBUG ((DEBUG_ERROR, "Ring3: QueryVariableInfo is not supported\n"));

View File

@ -44,7 +44,7 @@ makecall:
; VOID ; VOID
; EFIAPI ; EFIAPI
; Ring3EntryPoint ( ; Ring3EntryPoint (
; IN RING3_CALL_DATA *Data ; IN RING3_CALL_DATA *Data
; ); ; );
; ;
; (rcx) RIP of Ring3EntryPoint saved for SYSRET in CallRing3(). ; (rcx) RIP of Ring3EntryPoint saved for SYSRET in CallRing3().

View File

@ -60,7 +60,7 @@ ASM_FUNC_ALIGN(SysCallBase, 4096)
// EFI_STATUS // EFI_STATUS
// EFIAPI // EFIAPI
// CallRing3 ( // CallRing3 (
// IN RING3_CALL_DATA *Data, // IN RING3_CALL_DATA *Data,
// IN UINTN UserStackTop // IN UINTN UserStackTop
// ); // );
// //
@ -115,8 +115,8 @@ ASM_FUNC_ALIGN(SysCallEnd, 4096)
// VOID // VOID
// EFIAPI // EFIAPI
// ReturnToCore ( // ReturnToCore (
// IN EFI_STATUS Status, // IN EFI_STATUS Status,
// IN UINTN ReturnSP // IN UINTN ReturnSP
// ); // );
// //
// (x0) Status // (x0) Status

View File

@ -17,10 +17,10 @@ UINTN gUserPageTable;
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
ArmCallRing3 ( ArmCallRing3 (
IN RING3_CALL_DATA *Data, IN RING3_CALL_DATA *Data,
IN UINTN UserStackTop, IN UINTN UserStackTop,
IN VOID *EntryPoint, IN VOID *EntryPoint,
IN UINTN UserPageTable IN UINTN UserPageTable
); );
STATIC STATIC
@ -94,8 +94,8 @@ MakeUserPageTableTemplate (
VOID VOID
EFIAPI EFIAPI
InitializeMsr ( InitializeMsr (
IN OUT EFI_CONFIGURATION_TABLE *Table, IN OUT EFI_CONFIGURATION_TABLE *Table,
IN UINTN NumberOfEntries IN UINTN NumberOfEntries
) )
{ {
UINTN Tcr; UINTN Tcr;
@ -147,7 +147,7 @@ ForbidSupervisorAccessToUserMemory (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CallRing3 ( CallRing3 (
IN RING3_CALL_DATA *Data, IN RING3_CALL_DATA *Data,
IN UINTN UserStackTop IN UINTN UserStackTop
) )
{ {

View File

@ -56,7 +56,7 @@ ASM_FUNC_ALIGN(SysCallBase, 4096)
// EFI_STATUS // EFI_STATUS
// EFIAPI // EFIAPI
// CallRing3 ( // CallRing3 (
// IN RING3_CALL_DATA *Data, // IN RING3_CALL_DATA *Data,
// IN UINTN UserStackTop // IN UINTN UserStackTop
// ); // );
// //
@ -109,8 +109,8 @@ ASM_FUNC_ALIGN(SysCallEnd, 4096)
// VOID // VOID
// EFIAPI // EFIAPI
// ReturnToCore ( // ReturnToCore (
// IN EFI_STATUS Status, // IN EFI_STATUS Status,
// IN UINTN ReturnSP // IN UINTN ReturnSP
// ); // );
// //
// (r0) Status // (r0) Status

View File

@ -16,10 +16,10 @@ UINTN gUserPageTable;
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
ArmCallRing3 ( ArmCallRing3 (
IN RING3_CALL_DATA *Data, IN RING3_CALL_DATA *Data,
IN UINTN UserStackTop, IN UINTN UserStackTop,
IN VOID *EntryPoint, IN VOID *EntryPoint,
IN UINTN UserPageTable IN UINTN UserPageTable
); );
STATIC STATIC
@ -84,7 +84,7 @@ SysCallBootService (
(VOID *)((UINTN)Physical + 3 * sizeof (UINTN)), (VOID *)((UINTN)Physical + 3 * sizeof (UINTN)),
(VOID *)Context.SystemContextArm->SP, (VOID *)Context.SystemContextArm->SP,
(NumberOfArguments - 2) * sizeof (UINTN) (NumberOfArguments - 2) * sizeof (UINTN)
); );
} }
} }
ForbidSupervisorAccessToUserMemory (); ForbidSupervisorAccessToUserMemory ();
@ -136,8 +136,8 @@ MakeUserPageTableTemplate (
VOID VOID
EFIAPI EFIAPI
InitializeMsr ( InitializeMsr (
IN OUT EFI_CONFIGURATION_TABLE *Table, IN OUT EFI_CONFIGURATION_TABLE *Table,
IN UINTN NumberOfEntries IN UINTN NumberOfEntries
) )
{ {
if (ArmHasPan ()) { if (ArmHasPan ()) {
@ -176,7 +176,7 @@ ForbidSupervisorAccessToUserMemory (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CallRing3 ( CallRing3 (
IN RING3_CALL_DATA *Data, IN RING3_CALL_DATA *Data,
IN UINTN UserStackTop IN UINTN UserStackTop
) )
{ {

View File

@ -68,8 +68,8 @@ CallInstallMultipleProtocolInterfaces (
VOID VOID
EFIAPI EFIAPI
ReturnToCore ( ReturnToCore (
IN EFI_STATUS Status, IN EFI_STATUS Status,
IN UINTN ReturnSP IN UINTN ReturnSP
); );
VOID VOID
@ -172,8 +172,8 @@ STATIC
VOID * VOID *
EFIAPI EFIAPI
FindInterface ( FindInterface (
IN BOOLEAN FindRing3, IN BOOLEAN FindRing3,
IN VOID *Interface IN VOID *Interface
) )
{ {
LIST_ENTRY *Link; LIST_ENTRY *Link;
@ -566,7 +566,7 @@ CallBootService (
} else if (CompareGuid ((EFI_GUID *)CoreArgList[Index], &gEfiSimpleFileSystemProtocolGuid)) { } else if (CompareGuid ((EFI_GUID *)CoreArgList[Index], &gEfiSimpleFileSystemProtocolGuid)) {
CoreSimpleFileSystem = (EFI_SIMPLE_FILE_SYSTEM_PROTOCOL *)CoreArgList[Index + 1]; CoreSimpleFileSystem = (EFI_SIMPLE_FILE_SYSTEM_PROTOCOL *)CoreArgList[Index + 1];
CoreSimpleFileSystem->OpenVolume = CoreOpenVolume; CoreSimpleFileSystem->OpenVolume = CoreSimpleFileSystemOpenVolume;
} else if ((CompareGuid ((EFI_GUID *)CoreArgList[Index], &gEfiUnicodeCollationProtocolGuid)) } else if ((CompareGuid ((EFI_GUID *)CoreArgList[Index], &gEfiUnicodeCollationProtocolGuid))
|| (CompareGuid ((EFI_GUID *)CoreArgList[Index], &gEfiUnicodeCollation2ProtocolGuid))) { || (CompareGuid ((EFI_GUID *)CoreArgList[Index], &gEfiUnicodeCollation2ProtocolGuid))) {
CoreUnicodeCollation = (EFI_UNICODE_COLLATION_PROTOCOL *)CoreArgList[Index + 1]; CoreUnicodeCollation = (EFI_UNICODE_COLLATION_PROTOCOL *)CoreArgList[Index + 1];

View File

@ -104,7 +104,7 @@ ASM_PFX(SysCallBase):
; EFI_STATUS ; EFI_STATUS
; EFIAPI ; EFIAPI
; CoreBootServices ( ; CoreBootServices (
; IN UINT8 Type, ; IN UINT8 Type,
; ... ; ...
; ); ; );
; ;
@ -168,7 +168,7 @@ ASM_PFX(CoreBootServices):
; EFI_STATUS ; EFI_STATUS
; EFIAPI ; EFIAPI
; CallRing3 ( ; CallRing3 (
; IN RING3_CALL_DATA *Data, ; IN RING3_CALL_DATA *Data,
; IN UINTN UserStackTop ; IN UINTN UserStackTop
; ); ; );
; ;
@ -219,8 +219,8 @@ ASM_PFX(SysCallEnd):
; VOID ; VOID
; EFIAPI ; EFIAPI
; ReturnToCore ( ; ReturnToCore (
; IN EFI_STATUS Status, ; IN EFI_STATUS Status,
; IN UINTN ReturnSP ; IN UINTN ReturnSP
; ); ; );
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
global ASM_PFX(ReturnToCore) global ASM_PFX(ReturnToCore)

View File

@ -90,8 +90,8 @@ MakeUserPageTableTemplate (
VOID VOID
EFIAPI EFIAPI
InitializeMsr ( InitializeMsr (
IN OUT EFI_CONFIGURATION_TABLE *Table, IN OUT EFI_CONFIGURATION_TABLE *Table,
IN UINTN NumberOfEntries IN UINTN NumberOfEntries
) )
{ {
UINT64 Msr; UINT64 Msr;

View File

@ -75,7 +75,7 @@ STATIC
USER_SPACE_DRIVER * USER_SPACE_DRIVER *
EFIAPI EFIAPI
FindUserSpaceDriver ( FindUserSpaceDriver (
IN VOID *CoreWrapper, IN VOID *CoreWrapper,
OUT UINTN *OldPageTable OUT UINTN *OldPageTable
) )
{ {
@ -100,9 +100,9 @@ FindUserSpaceDriver (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreDriverBindingSupported ( CoreDriverBindingSupported (
IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL
) )
{ {
EFI_STATUS Status; EFI_STATUS Status;
@ -136,9 +136,9 @@ CoreDriverBindingSupported (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreDriverBindingStart ( CoreDriverBindingStart (
IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL
) )
{ {
EFI_STATUS Status; EFI_STATUS Status;
@ -172,10 +172,10 @@ CoreDriverBindingStart (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreDriverBindingStop ( CoreDriverBindingStop (
IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE ControllerHandle,
IN UINTN NumberOfChildren, IN UINTN NumberOfChildren,
IN EFI_HANDLE *ChildHandleBuffer OPTIONAL IN EFI_HANDLE *ChildHandleBuffer OPTIONAL
) )
{ {
EFI_STATUS Status; EFI_STATUS Status;
@ -257,9 +257,9 @@ STATIC
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreFileRead ( CoreFileRead (
IN EFI_FILE_PROTOCOL *This, IN EFI_FILE_PROTOCOL *This,
IN OUT UINTN *BufferSize, IN OUT UINTN *BufferSize,
OUT VOID *Buffer OUT VOID *Buffer
) )
{ {
EFI_STATUS Status; EFI_STATUS Status;
@ -336,9 +336,9 @@ STATIC
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreFileWrite ( CoreFileWrite (
IN EFI_FILE_PROTOCOL *This, IN EFI_FILE_PROTOCOL *This,
IN OUT UINTN *BufferSize, IN OUT UINTN *BufferSize,
IN VOID *Buffer IN VOID *Buffer
) )
{ {
return EFI_UNSUPPORTED; return EFI_UNSUPPORTED;
@ -348,8 +348,8 @@ STATIC
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreFileSetPosition ( CoreFileSetPosition (
IN EFI_FILE_PROTOCOL *This, IN EFI_FILE_PROTOCOL *This,
IN UINT64 Position IN UINT64 Position
) )
{ {
EFI_STATUS Status; EFI_STATUS Status;
@ -410,8 +410,8 @@ STATIC
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreFileGetPosition ( CoreFileGetPosition (
IN EFI_FILE_PROTOCOL *This, IN EFI_FILE_PROTOCOL *This,
OUT UINT64 *Position OUT UINT64 *Position
) )
{ {
EFI_STATUS Status; EFI_STATUS Status;
@ -468,10 +468,10 @@ STATIC
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreFileGetInfo ( CoreFileGetInfo (
IN EFI_FILE_PROTOCOL *This, IN EFI_FILE_PROTOCOL *This,
IN EFI_GUID *InformationType, IN EFI_GUID *InformationType,
IN OUT UINTN *BufferSize, IN OUT UINTN *BufferSize,
OUT VOID *Buffer OUT VOID *Buffer
) )
{ {
EFI_STATUS Status; EFI_STATUS Status;
@ -558,10 +558,10 @@ STATIC
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreFileSetInfo ( CoreFileSetInfo (
IN EFI_FILE_PROTOCOL *This, IN EFI_FILE_PROTOCOL *This,
IN EFI_GUID *InformationType, IN EFI_GUID *InformationType,
IN UINTN BufferSize, IN UINTN BufferSize,
IN VOID *Buffer IN VOID *Buffer
) )
{ {
return EFI_UNSUPPORTED; return EFI_UNSUPPORTED;
@ -581,12 +581,12 @@ STATIC
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreFileOpenEx ( CoreFileOpenEx (
IN EFI_FILE_PROTOCOL *This, IN EFI_FILE_PROTOCOL *This,
OUT EFI_FILE_PROTOCOL **NewHandle, OUT EFI_FILE_PROTOCOL **NewHandle,
IN CHAR16 *FileName, IN CHAR16 *FileName,
IN UINT64 OpenMode, IN UINT64 OpenMode,
IN UINT64 Attributes, IN UINT64 Attributes,
IN OUT EFI_FILE_IO_TOKEN *Token IN OUT EFI_FILE_IO_TOKEN *Token
) )
{ {
return EFI_UNSUPPORTED; return EFI_UNSUPPORTED;
@ -596,8 +596,8 @@ STATIC
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreFileReadEx ( CoreFileReadEx (
IN EFI_FILE_PROTOCOL *This, IN EFI_FILE_PROTOCOL *This,
IN OUT EFI_FILE_IO_TOKEN *Token IN OUT EFI_FILE_IO_TOKEN *Token
) )
{ {
return EFI_UNSUPPORTED; return EFI_UNSUPPORTED;
@ -607,8 +607,8 @@ STATIC
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreFileWriteEx ( CoreFileWriteEx (
IN EFI_FILE_PROTOCOL *This, IN EFI_FILE_PROTOCOL *This,
IN OUT EFI_FILE_IO_TOKEN *Token IN OUT EFI_FILE_IO_TOKEN *Token
) )
{ {
return EFI_UNSUPPORTED; return EFI_UNSUPPORTED;
@ -618,8 +618,8 @@ STATIC
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreFileFlushEx ( CoreFileFlushEx (
IN EFI_FILE_PROTOCOL *This, IN EFI_FILE_PROTOCOL *This,
IN OUT EFI_FILE_IO_TOKEN *Token IN OUT EFI_FILE_IO_TOKEN *Token
) )
{ {
return EFI_UNSUPPORTED; return EFI_UNSUPPORTED;
@ -629,11 +629,11 @@ STATIC
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreFileOpen ( CoreFileOpen (
IN EFI_FILE_PROTOCOL *This, IN EFI_FILE_PROTOCOL *This,
OUT EFI_FILE_PROTOCOL **NewHandle, OUT EFI_FILE_PROTOCOL **NewHandle,
IN CHAR16 *FileName, IN CHAR16 *FileName,
IN UINT64 OpenMode, IN UINT64 OpenMode,
IN UINT64 Attributes IN UINT64 Attributes
) )
{ {
EFI_STATUS Status; EFI_STATUS Status;
@ -787,9 +787,9 @@ CoreFileOpen (
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreOpenVolume ( CoreSimpleFileSystemOpenVolume (
IN EFI_SIMPLE_FILE_SYSTEM_PROTOCOL *This, IN EFI_SIMPLE_FILE_SYSTEM_PROTOCOL *This,
OUT EFI_FILE_PROTOCOL **Root OUT EFI_FILE_PROTOCOL **Root
) )
{ {
EFI_STATUS Status; EFI_STATUS Status;
@ -1003,8 +1003,8 @@ CoreUnicodeCollationMetaiMatch (
VOID VOID
EFIAPI EFIAPI
CoreUnicodeCollationStrLwr ( CoreUnicodeCollationStrLwr (
IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN EFI_UNICODE_COLLATION_PROTOCOL *This,
IN OUT CHAR16 *Str IN OUT CHAR16 *Str
) )
{ {
EFI_STATUS Status; EFI_STATUS Status;
@ -1057,8 +1057,8 @@ CoreUnicodeCollationStrLwr (
VOID VOID
EFIAPI EFIAPI
CoreUnicodeCollationStrUpr ( CoreUnicodeCollationStrUpr (
IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN EFI_UNICODE_COLLATION_PROTOCOL *This,
IN OUT CHAR16 *Str IN OUT CHAR16 *Str
) )
{ {
EFI_STATUS Status; EFI_STATUS Status;
@ -1111,10 +1111,10 @@ CoreUnicodeCollationStrUpr (
VOID VOID
EFIAPI EFIAPI
CoreUnicodeCollationFatToStr ( CoreUnicodeCollationFatToStr (
IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN EFI_UNICODE_COLLATION_PROTOCOL *This,
IN UINTN FatSize, IN UINTN FatSize,
IN CHAR8 *Fat, IN CHAR8 *Fat,
OUT CHAR16 *String OUT CHAR16 *String
) )
{ {
EFI_STATUS Status; EFI_STATUS Status;
@ -1166,10 +1166,10 @@ CoreUnicodeCollationFatToStr (
BOOLEAN BOOLEAN
EFIAPI EFIAPI
CoreUnicodeCollationStrToFat ( CoreUnicodeCollationStrToFat (
IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN EFI_UNICODE_COLLATION_PROTOCOL *This,
IN CHAR16 *String, IN CHAR16 *String,
IN UINTN FatSize, IN UINTN FatSize,
OUT CHAR8 *Fat OUT CHAR8 *Fat
) )
{ {
EFI_STATUS Status; EFI_STATUS Status;

View File

@ -14,33 +14,33 @@
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreDriverBindingSupported ( CoreDriverBindingSupported (
IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL
); );
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreDriverBindingStart ( CoreDriverBindingStart (
IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL
); );
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreDriverBindingStop ( CoreDriverBindingStop (
IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE ControllerHandle,
IN UINTN NumberOfChildren, IN UINTN NumberOfChildren,
IN EFI_HANDLE *ChildHandleBuffer OPTIONAL IN EFI_HANDLE *ChildHandleBuffer OPTIONAL
); );
EFI_STATUS EFI_STATUS
EFIAPI EFIAPI
CoreOpenVolume ( CoreSimpleFileSystemOpenVolume (
IN EFI_SIMPLE_FILE_SYSTEM_PROTOCOL *This, IN EFI_SIMPLE_FILE_SYSTEM_PROTOCOL *This,
OUT EFI_FILE_PROTOCOL **Root OUT EFI_FILE_PROTOCOL **Root
); );
INTN INTN
@ -62,31 +62,31 @@ CoreUnicodeCollationMetaiMatch (
VOID VOID
EFIAPI EFIAPI
CoreUnicodeCollationStrLwr ( CoreUnicodeCollationStrLwr (
IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN EFI_UNICODE_COLLATION_PROTOCOL *This,
IN OUT CHAR16 *Str IN OUT CHAR16 *Str
); );
VOID VOID
EFIAPI EFIAPI
CoreUnicodeCollationStrUpr ( CoreUnicodeCollationStrUpr (
IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN EFI_UNICODE_COLLATION_PROTOCOL *This,
IN OUT CHAR16 *Str IN OUT CHAR16 *Str
); );
VOID VOID
EFIAPI EFIAPI
CoreUnicodeCollationFatToStr ( CoreUnicodeCollationFatToStr (
IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN EFI_UNICODE_COLLATION_PROTOCOL *This,
IN UINTN FatSize, IN UINTN FatSize,
IN CHAR8 *Fat, IN CHAR8 *Fat,
OUT CHAR16 *String OUT CHAR16 *String
); );
BOOLEAN BOOLEAN
EFIAPI EFIAPI
CoreUnicodeCollationStrToFat ( CoreUnicodeCollationStrToFat (
IN EFI_UNICODE_COLLATION_PROTOCOL *This, IN EFI_UNICODE_COLLATION_PROTOCOL *This,
IN CHAR16 *String, IN CHAR16 *String,
IN UINTN FatSize, IN UINTN FatSize,
OUT CHAR8 *Fat OUT CHAR8 *Fat
); );

View File

@ -112,7 +112,7 @@ ASM_PFX(SysCallBase):
; EFI_STATUS ; EFI_STATUS
; EFIAPI ; EFIAPI
; CoreBootServices ( ; CoreBootServices (
; IN UINT8 Type, ; IN UINT8 Type,
; ... ; ...
; ); ; );
; ;
@ -182,7 +182,7 @@ o64 sysret
; EFI_STATUS ; EFI_STATUS
; EFIAPI ; EFIAPI
; CallRing3 ( ; CallRing3 (
; IN RING3_CALL_DATA *Data, ; IN RING3_CALL_DATA *Data,
; IN UINTN UserStackTop ; IN UINTN UserStackTop
; ); ; );
; ;
@ -234,8 +234,8 @@ ASM_PFX(SysCallEnd):
; VOID ; VOID
; EFIAPI ; EFIAPI
; ReturnToCore ( ; ReturnToCore (
; IN EFI_STATUS Status, ; IN EFI_STATUS Status,
; IN UINTN ReturnSP ; IN UINTN ReturnSP
; ); ; );
; ;
; (rcx) Status ; (rcx) Status

View File

@ -287,8 +287,8 @@ MakeUserPageTableTemplate (
VOID VOID
EFIAPI EFIAPI
InitializeMsr ( InitializeMsr (
IN OUT EFI_CONFIGURATION_TABLE *Table, IN OUT EFI_CONFIGURATION_TABLE *Table,
IN UINTN NumberOfEntries IN UINTN NumberOfEntries
) )
{ {
UINT64 Msr; UINT64 Msr;