Extensible Firmware Interface Specification
15.1.10 EFI_SIMPLE_NETWO RK.NvData()
Summary
Performs read and write operations on the NVRAM device attached to a network interface.
Prototype
EFI_STATUS
(EFIAPI *EFI_SIMPLE_NETWORK_NVDATA) (
IN EFI_SIMPLE_NETWORK
IN BOOLEAN
IN UINTN
IN UINTN
IN OUT VOID
);
Parameters
This
ReadWrite
Offset
BufferSize
Buffer
Description
This function performs read and write operations on the NVRAM device attached to a network
interface. If
ReadWrite
write operation is performed.
specifies the byte offset at which to start either operation.
Offset
NvRamAccessSize
specifies the length of the read or write operation.
BufferSize
multiple of NvRamAccessSize, and
If any of the above conditions is not met, then
If all the conditions are met and the operation is "read", the NVRAM device attached to the
network interface will be read into
operation, the contents of
attached to the network interface and
294
A pointer to the
for read operations,
TRUE
Byte offset in the NVRAM device at which to start the read or
write operation. This must be a multiple of
NvRamAccessSize
EFI_SIMPLE_NETWORK_MODE
Section 15.1.)
The number of bytes to read or write from the NVRAM device.
This must also be a multiple of NvramAccessSize.
A pointer to the data buffer.
is TRUE, a read operation is performed. If
, and it must have a value between zero and NvRamSize.
Offset
EFI_INVALID_PARAMETER
and
Buffer
will be used to update the contents of the NVRAM device
Buffer
EFI_SUCCESS
12/12/00
*This
ReadWrite,
Offset,
BufferSize,
*Buffer
EFI_SIMPLE_NETWORK
for write operations.
FALSE
and less than NvRamSize. (See
in "Related Definitions" in
ReadWrite
Offset
BufferSize
+
must not exceed NvRamSize.
BufferSize
will be returned. If this is a write
EFI_SUCCESS
will be returned.
instance.
is FALSE, a
must be a multiple of
must also be a
will be returned.
Version 1.02
Need help?
Do you have a question about the Extensible Firmware Interface and is the answer not in the manual?