datasone / setup_var.efi

UEFI command-line tool for read/write access of variables
Apache License 2.0
221 stars 8 forks source link

Read and write 32-bit value #16

Closed lollo78 closed 10 months ago

lollo78 commented 10 months ago

Hi, to read and write 16-bit value I use -s 0x2 It's good also to full manage 32-bit value or I need to use another argument? Thanks a lot

datasone commented 10 months ago

32-bit is 4 bytes (one byte is 8 bits in architectures that this tool supports), so -s 0x4 is adequate.