mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcMachoLib: Reorder MachoInitializeContext() arguments to match OOP.
This commit is contained in:
parent
4c77093379
commit
edbfcdaecb
@ -31,18 +31,19 @@ MachoGetContextSize (
|
||||
/**
|
||||
Initializes a Mach-O Context.
|
||||
|
||||
@param[out] Context Mach-O Context to initialize.
|
||||
@param[in] MachHeader Header of the Mach-O.
|
||||
@param[in] FileSize File size of the Mach-O.
|
||||
@param[out] Context Mach-O Context to initialize.
|
||||
|
||||
@return Whether Context has been initialized successfully.
|
||||
|
||||
**/
|
||||
BOOLEAN
|
||||
MachoInitializeContext (
|
||||
OUT OC_MACHO_CONTEXT *Context,
|
||||
IN CONST MACH_HEADER_64 *MachHeader,
|
||||
IN UINTN FileSize,
|
||||
OUT OC_MACHO_CONTEXT *Context
|
||||
IN UINTN FileSize
|
||||
|
||||
);
|
||||
|
||||
/**
|
||||
|
||||
@ -54,18 +54,18 @@ MachoGetMachHeader64 (
|
||||
/**
|
||||
Initializes a Mach-O Context.
|
||||
|
||||
@param[out] Context Mach-O Context to initialize.
|
||||
@param[in] MachHeader Header of the Mach-O.
|
||||
@param[in] FileSize File size of the Mach-O.
|
||||
@param[out] Context Mach-O Context to initialize.
|
||||
|
||||
@return Whether Context has been initialized successfully.
|
||||
|
||||
**/
|
||||
BOOLEAN
|
||||
MachoInitializeContext (
|
||||
OUT OC_MACHO_CONTEXT *Context,
|
||||
IN CONST MACH_HEADER_64 *MachHeader,
|
||||
IN UINTN FileSize,
|
||||
OUT OC_MACHO_CONTEXT *Context
|
||||
IN UINTN FileSize
|
||||
)
|
||||
{
|
||||
UINTN TopOfCommands;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user