mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
util/nvmutil: comment regarding memcpy endianness
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -608,6 +608,13 @@ good_checksum(int partnum)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* NOTE: memcpy is a bit sticky with host endianness,
|
||||
* but we currently use it only when swap has
|
||||
* been handled. just be careful about when the
|
||||
* swap() function is called.
|
||||
*/
|
||||
|
||||
static uint16_t
|
||||
word(int pos16, int p)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user