EFI_SIZE_TO_PAGES

Macro that converts a size, in bytes, to a number of EFI_PAGESs.

extern (C)
EFI_SIZE_TO_PAGES
(
T
)
()

Parameters

Size T

A size in bytes. This parameter is assumed to be type UINTN. Passing in a parameter that is larger than UINTN may produce unexpected results.

Return Value

Type: auto

The number of EFI_PAGESs associated with the number of bytes specified by Size.

Meta