MdePkg: Clean up source files
1. Do not use tab characters 2. No trailing white space in one line 3. All files must end with CRLF Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
/** @file
|
||||
I/O and MMIO Library Services that do I/O and also enable the I/O operatation
|
||||
to be replayed during an S3 resume.
|
||||
|
||||
Copyright (c) 2006 -2012, Intel Corporation. All rights reserved.<BR>
|
||||
|
||||
Copyright (c) 2006 -2018, Intel Corporation. All rights reserved.<BR>
|
||||
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions
|
||||
@@ -27,7 +27,7 @@
|
||||
Saves an I/O port value to the boot script.
|
||||
|
||||
This internal worker function saves an I/O port value in the S3 script
|
||||
to be replayed on S3 resume.
|
||||
to be replayed on S3 resume.
|
||||
|
||||
If the saving process fails, then ASSERT().
|
||||
|
||||
@@ -44,7 +44,7 @@ InternalSaveIoWriteValueToBootScript (
|
||||
)
|
||||
{
|
||||
RETURN_STATUS Status;
|
||||
|
||||
|
||||
Status = S3BootScriptSaveIoWrite (
|
||||
Width,
|
||||
Port,
|
||||
@@ -53,12 +53,12 @@ InternalSaveIoWriteValueToBootScript (
|
||||
);
|
||||
ASSERT (Status == RETURN_SUCCESS);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
Saves an 8-bit I/O port value to the boot script.
|
||||
|
||||
This internal worker function saves an 8-bit I/O port value in the S3 script
|
||||
to be replayed on S3 resume.
|
||||
to be replayed on S3 resume.
|
||||
|
||||
If the saving process fails, then ASSERT().
|
||||
|
||||
@@ -189,7 +189,7 @@ S3IoAnd8 (
|
||||
|
||||
/**
|
||||
Reads an 8-bit I/O port, performs a bitwise AND followed by a bitwise
|
||||
inclusive OR, and writes the result back to the 8-bit I/O port and saves
|
||||
inclusive OR, and writes the result back to the 8-bit I/O port and saves
|
||||
the value in the S3 script to be replayed on S3 resume.
|
||||
|
||||
Reads the 8-bit I/O port specified by Port, performs a bitwise AND between
|
||||
@@ -290,7 +290,7 @@ S3IoBitFieldWrite8 (
|
||||
|
||||
/**
|
||||
Reads a bit field in an 8-bit port, performs a bitwise OR, and writes the
|
||||
result back to the bit field in the 8-bit port and saves the value in the
|
||||
result back to the bit field in the 8-bit port and saves the value in the
|
||||
S3 script to be replayed on S3 resume.
|
||||
|
||||
Reads the 8-bit I/O port specified by Port, performs a bitwise OR
|
||||
@@ -329,7 +329,7 @@ S3IoBitFieldOr8 (
|
||||
|
||||
/**
|
||||
Reads a bit field in an 8-bit port, performs a bitwise AND, and writes the
|
||||
result back to the bit field in the 8-bit port and saves the value in the
|
||||
result back to the bit field in the 8-bit port and saves the value in the
|
||||
S3 script to be replayed on S3 resume.
|
||||
|
||||
Reads the 8-bit I/O port specified by Port, performs a bitwise AND between
|
||||
@@ -413,7 +413,7 @@ S3IoBitFieldAndThenOr8 (
|
||||
Saves a 16-bit I/O port value to the boot script.
|
||||
|
||||
This internal worker function saves a 16-bit I/O port value in the S3 script
|
||||
to be replayed on S3 resume.
|
||||
to be replayed on S3 resume.
|
||||
|
||||
If the saving process fails, then ASSERT().
|
||||
|
||||
@@ -430,7 +430,7 @@ InternalSaveIoWrite16ValueToBootScript (
|
||||
)
|
||||
{
|
||||
InternalSaveIoWriteValueToBootScript (S3BootScriptWidthUint16, Port, &Value);
|
||||
|
||||
|
||||
return Value;
|
||||
}
|
||||
|
||||
@@ -486,7 +486,7 @@ S3IoWrite16 (
|
||||
|
||||
/**
|
||||
Reads a 16-bit I/O port, performs a bitwise OR, and writes the
|
||||
result back to the 16-bit I/O port and saves the value in the S3 script to
|
||||
result back to the 16-bit I/O port and saves the value in the S3 script to
|
||||
be replayed on S3 resume.
|
||||
|
||||
Reads the 16-bit I/O port specified by Port, performs a bitwise OR
|
||||
@@ -607,7 +607,7 @@ S3IoBitFieldRead16 (
|
||||
}
|
||||
|
||||
/**
|
||||
Writes a bit field to an I/O register and saves the value in the S3 script
|
||||
Writes a bit field to an I/O register and saves the value in the S3 script
|
||||
to be replayed on S3 resume.
|
||||
|
||||
Writes Value to the bit field of the I/O register. The bit field is specified
|
||||
@@ -645,7 +645,7 @@ S3IoBitFieldWrite16 (
|
||||
|
||||
/**
|
||||
Reads a bit field in a 16-bit port, performs a bitwise OR, and writes the
|
||||
result back to the bit field in the 16-bit port and saves the value in the
|
||||
result back to the bit field in the 16-bit port and saves the value in the
|
||||
S3 script to be replayed on S3 resume.
|
||||
|
||||
Reads the 16-bit I/O port specified by Port, performs a bitwise OR
|
||||
@@ -684,7 +684,7 @@ S3IoBitFieldOr16 (
|
||||
|
||||
/**
|
||||
Reads a bit field in a 16-bit port, performs a bitwise AND, and writes the
|
||||
result back to the bit field in the 16-bit port and saves the value in the
|
||||
result back to the bit field in the 16-bit port and saves the value in the
|
||||
S3 script to be replayed on S3 resume.
|
||||
|
||||
Reads the 16-bit I/O port specified by Port, performs a bitwise AND between
|
||||
@@ -724,7 +724,7 @@ S3IoBitFieldAnd16 (
|
||||
/**
|
||||
Reads a bit field in a 16-bit port, performs a bitwise AND followed by a
|
||||
bitwise OR, and writes the result back to the bit field in the
|
||||
16-bit port and saves the value in the S3 script to be replayed on S3
|
||||
16-bit port and saves the value in the S3 script to be replayed on S3
|
||||
resume.
|
||||
|
||||
Reads the 16-bit I/O port specified by Port, performs a bitwise AND followed
|
||||
@@ -769,7 +769,7 @@ S3IoBitFieldAndThenOr16 (
|
||||
Saves a 32-bit I/O port value to the boot script.
|
||||
|
||||
This internal worker function saves a 32-bit I/O port value in the S3 script
|
||||
to be replayed on S3 resume.
|
||||
to be replayed on S3 resume.
|
||||
|
||||
If the saving process fails, then ASSERT().
|
||||
|
||||
@@ -786,7 +786,7 @@ InternalSaveIoWrite32ValueToBootScript (
|
||||
)
|
||||
{
|
||||
InternalSaveIoWriteValueToBootScript (S3BootScriptWidthUint32, Port, &Value);
|
||||
|
||||
|
||||
return Value;
|
||||
}
|
||||
|
||||
@@ -842,7 +842,7 @@ S3IoWrite32 (
|
||||
|
||||
/**
|
||||
Reads a 32-bit I/O port, performs a bitwise OR, and writes the
|
||||
result back to the 32-bit I/O port and saves the value in the S3 script to
|
||||
result back to the 32-bit I/O port and saves the value in the S3 script to
|
||||
be replayed on S3 resume.
|
||||
|
||||
Reads the 32-bit I/O port specified by Port, performs a bitwise OR
|
||||
@@ -900,7 +900,7 @@ S3IoAnd32 (
|
||||
|
||||
/**
|
||||
Reads a 32-bit I/O port, performs a bitwise AND followed by a bitwise
|
||||
inclusive OR, and writes the result back to the 32-bit I/O port and saves
|
||||
inclusive OR, and writes the result back to the 32-bit I/O port and saves
|
||||
the value in the S3 script to be replayed on S3 resume.
|
||||
|
||||
Reads the 32-bit I/O port specified by Port, performs a bitwise AND between
|
||||
@@ -1001,7 +1001,7 @@ S3IoBitFieldWrite32 (
|
||||
|
||||
/**
|
||||
Reads a bit field in a 32-bit port, performs a bitwise OR, and writes the
|
||||
result back to the bit field in the 32-bit port and saves the value in the
|
||||
result back to the bit field in the 32-bit port and saves the value in the
|
||||
S3 script to be replayed on S3 resume.
|
||||
|
||||
Reads the 32-bit I/O port specified by Port, performs a bitwise OR
|
||||
@@ -1040,7 +1040,7 @@ S3IoBitFieldOr32 (
|
||||
|
||||
/**
|
||||
Reads a bit field in a 32-bit port, performs a bitwise AND, and writes the
|
||||
result back to the bit field in the 32-bit port and saves the value in the
|
||||
result back to the bit field in the 32-bit port and saves the value in the
|
||||
S3 script to be replayed on S3 resume.
|
||||
|
||||
Reads the 32-bit I/O port specified by Port, performs a bitwise AND between
|
||||
@@ -1080,7 +1080,7 @@ S3IoBitFieldAnd32 (
|
||||
/**
|
||||
Reads a bit field in a 32-bit port, performs a bitwise AND followed by a
|
||||
bitwise OR, and writes the result back to the bit field in the
|
||||
32-bit port and saves the value in the S3 script to be replayed on S3
|
||||
32-bit port and saves the value in the S3 script to be replayed on S3
|
||||
resume.
|
||||
|
||||
Reads the 32-bit I/O port specified by Port, performs a bitwise AND followed
|
||||
@@ -1125,7 +1125,7 @@ S3IoBitFieldAndThenOr32 (
|
||||
Saves a 64-bit I/O port value to the boot script.
|
||||
|
||||
This internal worker function saves a 64-bit I/O port value in the S3 script
|
||||
to be replayed on S3 resume.
|
||||
to be replayed on S3 resume.
|
||||
|
||||
If the saving process fails, then ASSERT().
|
||||
|
||||
@@ -1142,7 +1142,7 @@ InternalSaveIoWrite64ValueToBootScript (
|
||||
)
|
||||
{
|
||||
InternalSaveIoWriteValueToBootScript (S3BootScriptWidthUint64, Port, &Value);
|
||||
|
||||
|
||||
return Value;
|
||||
}
|
||||
|
||||
@@ -1198,7 +1198,7 @@ S3IoWrite64 (
|
||||
|
||||
/**
|
||||
Reads a 64-bit I/O port, performs a bitwise OR, and writes the
|
||||
result back to the 64-bit I/O port and saves the value in the S3 script to
|
||||
result back to the 64-bit I/O port and saves the value in the S3 script to
|
||||
be replayed on S3 resume.
|
||||
|
||||
Reads the 64-bit I/O port specified by Port, performs a bitwise OR
|
||||
@@ -1357,7 +1357,7 @@ S3IoBitFieldWrite64 (
|
||||
|
||||
/**
|
||||
Reads a bit field in a 64-bit port, performs a bitwise OR, and writes the
|
||||
result back to the bit field in the 64-bit port and saves the value in the
|
||||
result back to the bit field in the 64-bit port and saves the value in the
|
||||
S3 script to be replayed on S3 resume.
|
||||
|
||||
Reads the 64-bit I/O port specified by Port, performs a bitwise OR
|
||||
@@ -1396,7 +1396,7 @@ S3IoBitFieldOr64 (
|
||||
|
||||
/**
|
||||
Reads a bit field in a 64-bit port, performs a bitwise AND, and writes the
|
||||
result back to the bit field in the 64-bit port and saves the value in the
|
||||
result back to the bit field in the 64-bit port and saves the value in the
|
||||
S3 script to be replayed on S3 resume.
|
||||
|
||||
Reads the 64-bit I/O port specified by Port, performs a bitwise AND between
|
||||
@@ -1436,7 +1436,7 @@ S3IoBitFieldAnd64 (
|
||||
/**
|
||||
Reads a bit field in a 64-bit port, performs a bitwise AND followed by a
|
||||
bitwise OR, and writes the result back to the bit field in the
|
||||
64-bit port and saves the value in the S3 script to be replayed on S3
|
||||
64-bit port and saves the value in the S3 script to be replayed on S3
|
||||
resume.
|
||||
|
||||
Reads the 64-bit I/O port specified by Port, performs a bitwise AND followed
|
||||
@@ -1481,7 +1481,7 @@ S3IoBitFieldAndThenOr64 (
|
||||
Saves an MMIO register value to the boot script.
|
||||
|
||||
This internal worker function saves an MMIO register value in the S3 script
|
||||
to be replayed on S3 resume.
|
||||
to be replayed on S3 resume.
|
||||
|
||||
If the saving process fails, then ASSERT().
|
||||
|
||||
@@ -1512,7 +1512,7 @@ InternalSaveMmioWriteValueToBootScript (
|
||||
Saves an 8-bit MMIO register value to the boot script.
|
||||
|
||||
This internal worker function saves an 8-bit MMIO register value in the S3 script
|
||||
to be replayed on S3 resume.
|
||||
to be replayed on S3 resume.
|
||||
|
||||
If the saving process fails, then ASSERT().
|
||||
|
||||
@@ -1534,7 +1534,7 @@ InternalSaveMmioWrite8ValueToBootScript (
|
||||
}
|
||||
|
||||
/**
|
||||
Reads an 8-bit MMIO register and saves the value in the S3 script to be
|
||||
Reads an 8-bit MMIO register and saves the value in the S3 script to be
|
||||
replayed on S3 resume.
|
||||
|
||||
Reads the 8-bit MMIO register specified by Address. The 8-bit read value is
|
||||
@@ -1558,7 +1558,7 @@ S3MmioRead8 (
|
||||
}
|
||||
|
||||
/**
|
||||
Writes an 8-bit MMIO register and saves the value in the S3 script to be
|
||||
Writes an 8-bit MMIO register and saves the value in the S3 script to be
|
||||
replayed on S3 resume.
|
||||
|
||||
Writes the 8-bit MMIO register specified by Address with the value specified
|
||||
@@ -1585,7 +1585,7 @@ S3MmioWrite8 (
|
||||
|
||||
/**
|
||||
Reads an 8-bit MMIO register, performs a bitwise OR, and writes the
|
||||
result back to the 8-bit MMIO register and saves the value in the S3 script
|
||||
result back to the 8-bit MMIO register and saves the value in the S3 script
|
||||
to be replayed on S3 resume.
|
||||
|
||||
Reads the 8-bit MMIO register specified by Address, performs a bitwise
|
||||
@@ -1614,7 +1614,7 @@ S3MmioOr8 (
|
||||
|
||||
/**
|
||||
Reads an 8-bit MMIO register, performs a bitwise AND, and writes the result
|
||||
back to the 8-bit MMIO register and saves the value in the S3 script to be
|
||||
back to the 8-bit MMIO register and saves the value in the S3 script to be
|
||||
replayed on S3 resume.
|
||||
|
||||
Reads the 8-bit MMIO register specified by Address, performs a bitwise AND
|
||||
@@ -1643,7 +1643,7 @@ S3MmioAnd8 (
|
||||
|
||||
/**
|
||||
Reads an 8-bit MMIO register, performs a bitwise AND followed by a bitwise
|
||||
inclusive OR, and writes the result back to the 8-bit MMIO register and saves
|
||||
inclusive OR, and writes the result back to the 8-bit MMIO register and saves
|
||||
the value in the S3 script to be replayed on S3 resume.
|
||||
|
||||
Reads the 8-bit MMIO register specified by Address, performs a bitwise AND
|
||||
@@ -1869,7 +1869,7 @@ S3MmioBitFieldAndThenOr8 (
|
||||
Saves a 16-bit MMIO register value to the boot script.
|
||||
|
||||
This internal worker function saves a 16-bit MMIO register value in the S3 script
|
||||
to be replayed on S3 resume.
|
||||
to be replayed on S3 resume.
|
||||
|
||||
If the saving process fails, then ASSERT().
|
||||
|
||||
@@ -1886,7 +1886,7 @@ InternalSaveMmioWrite16ValueToBootScript (
|
||||
)
|
||||
{
|
||||
InternalSaveMmioWriteValueToBootScript (S3BootScriptWidthUint16, Address, &Value);
|
||||
|
||||
|
||||
return Value;
|
||||
}
|
||||
|
||||
@@ -1943,7 +1943,7 @@ S3MmioWrite16 (
|
||||
|
||||
/**
|
||||
Reads a 16-bit MMIO register, performs a bitwise OR, and writes the
|
||||
result back to the 16-bit MMIO register and saves the value in the S3 script
|
||||
result back to the 16-bit MMIO register and saves the value in the S3 script
|
||||
to be replayed on S3 resume.
|
||||
|
||||
Reads the 16-bit MMIO register specified by Address, performs a bitwise
|
||||
@@ -1972,7 +1972,7 @@ S3MmioOr16 (
|
||||
|
||||
/**
|
||||
Reads a 16-bit MMIO register, performs a bitwise AND, and writes the result
|
||||
back to the 16-bit MMIO register and saves the value in the S3 script to be
|
||||
back to the 16-bit MMIO register and saves the value in the S3 script to be
|
||||
replayed on S3 resume.
|
||||
|
||||
Reads the 16-bit MMIO register specified by Address, performs a bitwise AND
|
||||
@@ -2001,7 +2001,7 @@ S3MmioAnd16 (
|
||||
|
||||
/**
|
||||
Reads a 16-bit MMIO register, performs a bitwise AND followed by a bitwise
|
||||
inclusive OR, and writes the result back to the 16-bit MMIO register and
|
||||
inclusive OR, and writes the result back to the 16-bit MMIO register and
|
||||
saves the value in the S3 script to be replayed on S3 resume.
|
||||
|
||||
Reads the 16-bit MMIO register specified by Address, performs a bitwise AND
|
||||
@@ -2101,7 +2101,7 @@ S3MmioBitFieldWrite16 (
|
||||
|
||||
/**
|
||||
Reads a bit field in a 16-bit MMIO register, performs a bitwise OR, and
|
||||
writes the result back to the bit field in the 16-bit MMIO register and
|
||||
writes the result back to the bit field in the 16-bit MMIO register and
|
||||
saves the value in the S3 script to be replayed on S3 resume.
|
||||
|
||||
Reads the 16-bit MMIO register specified by Address, performs a bitwise
|
||||
@@ -2141,7 +2141,7 @@ S3MmioBitFieldOr16 (
|
||||
|
||||
/**
|
||||
Reads a bit field in a 16-bit MMIO register, performs a bitwise AND, and
|
||||
writes the result back to the bit field in the 16-bit MMIO register and
|
||||
writes the result back to the bit field in the 16-bit MMIO register and
|
||||
saves the value in the S3 script to be replayed on S3 resume.
|
||||
|
||||
Reads the 16-bit MMIO register specified by Address, performs a bitwise AND
|
||||
@@ -2227,7 +2227,7 @@ S3MmioBitFieldAndThenOr16 (
|
||||
Saves a 32-bit MMIO register value to the boot script.
|
||||
|
||||
This internal worker function saves a 32-bit MMIO register value in the S3 script
|
||||
to be replayed on S3 resume.
|
||||
to be replayed on S3 resume.
|
||||
|
||||
If the saving process fails, then ASSERT().
|
||||
|
||||
@@ -2249,7 +2249,7 @@ InternalSaveMmioWrite32ValueToBootScript (
|
||||
}
|
||||
|
||||
/**
|
||||
Reads a 32-bit MMIO register saves the value in the S3 script to be
|
||||
Reads a 32-bit MMIO register saves the value in the S3 script to be
|
||||
replayed on S3 resume.
|
||||
|
||||
Reads the 32-bit MMIO register specified by Address. The 32-bit read value is
|
||||
@@ -2273,7 +2273,7 @@ S3MmioRead32 (
|
||||
}
|
||||
|
||||
/**
|
||||
Writes a 32-bit MMIO register and saves the value in the S3 script to be
|
||||
Writes a 32-bit MMIO register and saves the value in the S3 script to be
|
||||
replayed on S3 resume.
|
||||
|
||||
Writes the 32-bit MMIO register specified by Address with the value specified
|
||||
@@ -2300,7 +2300,7 @@ S3MmioWrite32 (
|
||||
|
||||
/**
|
||||
Reads a 32-bit MMIO register, performs a bitwise OR, and writes the
|
||||
result back to the 32-bit MMIO register and saves the value in the S3 script
|
||||
result back to the 32-bit MMIO register and saves the value in the S3 script
|
||||
to be replayed on S3 resume.
|
||||
|
||||
Reads the 32-bit MMIO register specified by Address, performs a bitwise
|
||||
@@ -2329,7 +2329,7 @@ S3MmioOr32 (
|
||||
|
||||
/**
|
||||
Reads a 32-bit MMIO register, performs a bitwise AND, and writes the result
|
||||
back to the 32-bit MMIO register and saves the value in the S3 script to be
|
||||
back to the 32-bit MMIO register and saves the value in the S3 script to be
|
||||
replayed on S3 resume.
|
||||
|
||||
Reads the 32-bit MMIO register specified by Address, performs a bitwise AND
|
||||
@@ -2358,7 +2358,7 @@ S3MmioAnd32 (
|
||||
|
||||
/**
|
||||
Reads a 32-bit MMIO register, performs a bitwise AND followed by a bitwise
|
||||
inclusive OR, and writes the result back to the 32-bit MMIO register and
|
||||
inclusive OR, and writes the result back to the 32-bit MMIO register and
|
||||
saves the value in the S3 script to be replayed on S3 resume.
|
||||
|
||||
Reads the 32-bit MMIO register specified by Address, performs a bitwise AND
|
||||
@@ -2389,7 +2389,7 @@ S3MmioAndThenOr32 (
|
||||
}
|
||||
|
||||
/**
|
||||
Reads a bit field of a MMIO register and saves the value in the S3 script
|
||||
Reads a bit field of a MMIO register and saves the value in the S3 script
|
||||
to be replayed on S3 resume.
|
||||
|
||||
Reads the bit field in a 32-bit MMIO register. The bit field is specified by
|
||||
@@ -2421,7 +2421,7 @@ S3MmioBitFieldRead32 (
|
||||
}
|
||||
|
||||
/**
|
||||
Writes a bit field to a MMIO register and saves the value in the S3 script
|
||||
Writes a bit field to a MMIO register and saves the value in the S3 script
|
||||
to be replayed on S3 resume.
|
||||
|
||||
Writes Value to the bit field of the MMIO register. The bit field is
|
||||
@@ -2458,7 +2458,7 @@ S3MmioBitFieldWrite32 (
|
||||
|
||||
/**
|
||||
Reads a bit field in a 32-bit MMIO register, performs a bitwise OR, and
|
||||
writes the result back to the bit field in the 32-bit MMIO register and
|
||||
writes the result back to the bit field in the 32-bit MMIO register and
|
||||
saves the value in the S3 script to be replayed on S3 resume.
|
||||
|
||||
Reads the 32-bit MMIO register specified by Address, performs a bitwise
|
||||
@@ -2498,7 +2498,7 @@ S3MmioBitFieldOr32 (
|
||||
|
||||
/**
|
||||
Reads a bit field in a 32-bit MMIO register, performs a bitwise AND, and
|
||||
writes the result back to the bit field in the 32-bit MMIO register and
|
||||
writes the result back to the bit field in the 32-bit MMIO register and
|
||||
saves the value in the S3 script to be replayed on S3 resume.
|
||||
|
||||
Reads the 32-bit MMIO register specified by Address, performs a bitwise AND
|
||||
@@ -2584,7 +2584,7 @@ S3MmioBitFieldAndThenOr32 (
|
||||
Saves a 64-bit MMIO register value to the boot script.
|
||||
|
||||
This internal worker function saves a 64-bit MMIO register value in the S3 script
|
||||
to be replayed on S3 resume.
|
||||
to be replayed on S3 resume.
|
||||
|
||||
If the saving process fails, then ASSERT().
|
||||
|
||||
@@ -2606,7 +2606,7 @@ InternalSaveMmioWrite64ValueToBootScript (
|
||||
}
|
||||
|
||||
/**
|
||||
Reads a 64-bit MMIO register and saves the value in the S3 script to be
|
||||
Reads a 64-bit MMIO register and saves the value in the S3 script to be
|
||||
replayed on S3 resume.
|
||||
|
||||
Reads the 64-bit MMIO register specified by Address. The 64-bit read value is
|
||||
@@ -2630,7 +2630,7 @@ S3MmioRead64 (
|
||||
}
|
||||
|
||||
/**
|
||||
Writes a 64-bit MMIO register and saves the value in the S3 script to be
|
||||
Writes a 64-bit MMIO register and saves the value in the S3 script to be
|
||||
replayed on S3 resume.
|
||||
|
||||
Writes the 64-bit MMIO register specified by Address with the value specified
|
||||
@@ -2657,7 +2657,7 @@ S3MmioWrite64 (
|
||||
|
||||
/**
|
||||
Reads a 64-bit MMIO register, performs a bitwise OR, and writes the
|
||||
result back to the 64-bit MMIO register and saves the value in the S3 script
|
||||
result back to the 64-bit MMIO register and saves the value in the S3 script
|
||||
to be replayed on S3 resume.
|
||||
|
||||
Reads the 64-bit MMIO register specified by Address, performs a bitwise
|
||||
@@ -2686,7 +2686,7 @@ S3MmioOr64 (
|
||||
|
||||
/**
|
||||
Reads a 64-bit MMIO register, performs a bitwise AND, and writes the result
|
||||
back to the 64-bit MMIO register and saves the value in the S3 script to be
|
||||
back to the 64-bit MMIO register and saves the value in the S3 script to be
|
||||
replayed on S3 resume.
|
||||
|
||||
Reads the 64-bit MMIO register specified by Address, performs a bitwise AND
|
||||
@@ -2715,7 +2715,7 @@ S3MmioAnd64 (
|
||||
|
||||
/**
|
||||
Reads a 64-bit MMIO register, performs a bitwise AND followed by a bitwise
|
||||
inclusive OR, and writes the result back to the 64-bit MMIO register and
|
||||
inclusive OR, and writes the result back to the 64-bit MMIO register and
|
||||
saves the value in the S3 script to be replayed on S3 resume.
|
||||
|
||||
Reads the 64-bit MMIO register specified by Address, performs a bitwise AND
|
||||
@@ -2815,7 +2815,7 @@ S3MmioBitFieldWrite64 (
|
||||
|
||||
/**
|
||||
Reads a bit field in a 64-bit MMIO register, performs a bitwise OR, and
|
||||
writes the result back to the bit field in the 64-bit MMIO register and
|
||||
writes the result back to the bit field in the 64-bit MMIO register and
|
||||
saves the value in the S3 script to be replayed on S3 resume.
|
||||
|
||||
Reads the 64-bit MMIO register specified by Address, performs a bitwise
|
||||
@@ -2941,11 +2941,11 @@ S3MmioBitFieldAndThenOr64 (
|
||||
Copy data from MMIO region to system memory by using 8-bit access
|
||||
and saves the value in the S3 script to be replayed on S3 resume.
|
||||
|
||||
Copy data from MMIO region specified by starting address StartAddress
|
||||
to system memory specified by Buffer by using 8-bit access. The total
|
||||
Copy data from MMIO region specified by starting address StartAddress
|
||||
to system memory specified by Buffer by using 8-bit access. The total
|
||||
number of byte to be copied is specified by Length. Buffer is returned.
|
||||
|
||||
If Length is greater than (MAX_ADDRESS - StartAddress + 1), then ASSERT().
|
||||
|
||||
If Length is greater than (MAX_ADDRESS - StartAddress + 1), then ASSERT().
|
||||
If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
|
||||
|
||||
|
||||
@@ -2984,13 +2984,13 @@ S3MmioReadBuffer8 (
|
||||
Copy data from MMIO region to system memory by using 16-bit access
|
||||
and saves the value in the S3 script to be replayed on S3 resume.
|
||||
|
||||
Copy data from MMIO region specified by starting address StartAddress
|
||||
to system memory specified by Buffer by using 16-bit access. The total
|
||||
Copy data from MMIO region specified by starting address StartAddress
|
||||
to system memory specified by Buffer by using 16-bit access. The total
|
||||
number of byte to be copied is specified by Length. Buffer is returned.
|
||||
|
||||
|
||||
If StartAddress is not aligned on a 16-bit boundary, then ASSERT().
|
||||
|
||||
If Length is greater than (MAX_ADDRESS - StartAddress + 1), then ASSERT().
|
||||
If Length is greater than (MAX_ADDRESS - StartAddress + 1), then ASSERT().
|
||||
If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
|
||||
|
||||
If Length is not aligned on a 16-bit boundary, then ASSERT().
|
||||
@@ -3031,13 +3031,13 @@ S3MmioReadBuffer16 (
|
||||
Copy data from MMIO region to system memory by using 32-bit access
|
||||
and saves the value in the S3 script to be replayed on S3 resume.
|
||||
|
||||
Copy data from MMIO region specified by starting address StartAddress
|
||||
to system memory specified by Buffer by using 32-bit access. The total
|
||||
Copy data from MMIO region specified by starting address StartAddress
|
||||
to system memory specified by Buffer by using 32-bit access. The total
|
||||
number of byte to be copied is specified by Length. Buffer is returned.
|
||||
|
||||
|
||||
If StartAddress is not aligned on a 32-bit boundary, then ASSERT().
|
||||
|
||||
If Length is greater than (MAX_ADDRESS - StartAddress + 1), then ASSERT().
|
||||
If Length is greater than (MAX_ADDRESS - StartAddress + 1), then ASSERT().
|
||||
If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
|
||||
|
||||
If Length is not aligned on a 32-bit boundary, then ASSERT().
|
||||
@@ -3078,13 +3078,13 @@ S3MmioReadBuffer32 (
|
||||
Copy data from MMIO region to system memory by using 64-bit access
|
||||
and saves the value in the S3 script to be replayed on S3 resume.
|
||||
|
||||
Copy data from MMIO region specified by starting address StartAddress
|
||||
to system memory specified by Buffer by using 64-bit access. The total
|
||||
Copy data from MMIO region specified by starting address StartAddress
|
||||
to system memory specified by Buffer by using 64-bit access. The total
|
||||
number of byte to be copied is specified by Length. Buffer is returned.
|
||||
|
||||
|
||||
If StartAddress is not aligned on a 64-bit boundary, then ASSERT().
|
||||
|
||||
If Length is greater than (MAX_ADDRESS - StartAddress + 1), then ASSERT().
|
||||
If Length is greater than (MAX_ADDRESS - StartAddress + 1), then ASSERT().
|
||||
If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
|
||||
|
||||
If Length is not aligned on a 64-bit boundary, then ASSERT().
|
||||
@@ -3126,11 +3126,11 @@ S3MmioReadBuffer64 (
|
||||
Copy data from system memory to MMIO region by using 8-bit access
|
||||
and saves the value in the S3 script to be replayed on S3 resume.
|
||||
|
||||
Copy data from system memory specified by Buffer to MMIO region specified
|
||||
by starting address StartAddress by using 8-bit access. The total number
|
||||
Copy data from system memory specified by Buffer to MMIO region specified
|
||||
by starting address StartAddress by using 8-bit access. The total number
|
||||
of byte to be copied is specified by Length. Buffer is returned.
|
||||
|
||||
If Length is greater than (MAX_ADDRESS - StartAddress + 1), then ASSERT().
|
||||
|
||||
If Length is greater than (MAX_ADDRESS - StartAddress + 1), then ASSERT().
|
||||
If Length is greater than (MAX_ADDRESS -Buffer + 1), then ASSERT().
|
||||
|
||||
|
||||
@@ -3169,13 +3169,13 @@ S3MmioWriteBuffer8 (
|
||||
Copy data from system memory to MMIO region by using 16-bit access
|
||||
and saves the value in the S3 script to be replayed on S3 resume.
|
||||
|
||||
Copy data from system memory specified by Buffer to MMIO region specified
|
||||
by starting address StartAddress by using 16-bit access. The total number
|
||||
Copy data from system memory specified by Buffer to MMIO region specified
|
||||
by starting address StartAddress by using 16-bit access. The total number
|
||||
of byte to be copied is specified by Length. Buffer is returned.
|
||||
|
||||
|
||||
If StartAddress is not aligned on a 16-bit boundary, then ASSERT().
|
||||
|
||||
If Length is greater than (MAX_ADDRESS - StartAddress + 1), then ASSERT().
|
||||
If Length is greater than (MAX_ADDRESS - StartAddress + 1), then ASSERT().
|
||||
If Length is greater than (MAX_ADDRESS -Buffer + 1), then ASSERT().
|
||||
|
||||
If Length is not aligned on a 16-bit boundary, then ASSERT().
|
||||
@@ -3218,13 +3218,13 @@ S3MmioWriteBuffer16 (
|
||||
Copy data from system memory to MMIO region by using 32-bit access
|
||||
and saves the value in the S3 script to be replayed on S3 resume.
|
||||
|
||||
Copy data from system memory specified by Buffer to MMIO region specified
|
||||
by starting address StartAddress by using 32-bit access. The total number
|
||||
Copy data from system memory specified by Buffer to MMIO region specified
|
||||
by starting address StartAddress by using 32-bit access. The total number
|
||||
of byte to be copied is specified by Length. Buffer is returned.
|
||||
|
||||
|
||||
If StartAddress is not aligned on a 32-bit boundary, then ASSERT().
|
||||
|
||||
If Length is greater than (MAX_ADDRESS - StartAddress + 1), then ASSERT().
|
||||
If Length is greater than (MAX_ADDRESS - StartAddress + 1), then ASSERT().
|
||||
If Length is greater than (MAX_ADDRESS -Buffer + 1), then ASSERT().
|
||||
|
||||
If Length is not aligned on a 32-bit boundary, then ASSERT().
|
||||
@@ -3266,13 +3266,13 @@ S3MmioWriteBuffer32 (
|
||||
Copy data from system memory to MMIO region by using 64-bit access
|
||||
and saves the value in the S3 script to be replayed on S3 resume.
|
||||
|
||||
Copy data from system memory specified by Buffer to MMIO region specified
|
||||
by starting address StartAddress by using 64-bit access. The total number
|
||||
Copy data from system memory specified by Buffer to MMIO region specified
|
||||
by starting address StartAddress by using 64-bit access. The total number
|
||||
of byte to be copied is specified by Length. Buffer is returned.
|
||||
|
||||
|
||||
If StartAddress is not aligned on a 64-bit boundary, then ASSERT().
|
||||
|
||||
If Length is greater than (MAX_ADDRESS - StartAddress + 1), then ASSERT().
|
||||
If Length is greater than (MAX_ADDRESS - StartAddress + 1), then ASSERT().
|
||||
If Length is greater than (MAX_ADDRESS -Buffer + 1), then ASSERT().
|
||||
|
||||
If Length is not aligned on a 64-bit boundary, then ASSERT().
|
||||
|
Reference in New Issue
Block a user