summaryrefslogtreecommitdiffstats
path: root/sys/dev/microcode/tht/microcode.h
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2007-04-19 04:08:51 +0000
committerdlg <dlg@openbsd.org>2007-04-19 04:08:51 +0000
commitae8c9cc85269a62f4cc1bae532687e41db1e6b48 (patch)
tree0195300de3fa3955638ab2c91faef340963b7ae0 /sys/dev/microcode/tht/microcode.h
parentadd bits to turn microcode.h into an actual blob. needs endian fixes yet. (diff)
downloadwireguard-openbsd-ae8c9cc85269a62f4cc1bae532687e41db1e6b48.tar.xz
wireguard-openbsd-ae8c9cc85269a62f4cc1bae532687e41db1e6b48.zip
the tht firmware isnt technically a firmware, its a series of commands
interleaved with data, which is copied directly into the task fifo of a tht controller. the commands and data are all 32bit words, and they all have to be little endian. this byteswaps the host ordered values in microcode.h into little endian values for the controller to eat. you can now build the firmware correctly on big endian archs.
Diffstat (limited to 'sys/dev/microcode/tht/microcode.h')
0 files changed, 0 insertions, 0 deletions