Closed realtime-neil closed 5 years ago
So, funny you should say that... I submitted an errata for that RFC, which swaps those two values :) https://www.rfc-editor.org/errata_search.php?rfc=4578
Have you hit a system where the code as-is fails? Unfortunately, due to this mixup, I was worried that I would forever be forced to guess what 7 and 9 actually mean, depending on which RFC or piece of code a firmware implementor looked at...
I've found no such firmware, much less any bug therein. I found it in the code, and the erroneous RFC you reference was the first one I found. Sorry about that.
Phew, okay. I based the errata submission on the code in Intel's TianoCore UEFI implementation, which is what ~every x86 system uses as a base. It's unfortunate that there is this mismatch all over the place, but I think the way it works right now is empirically correct. If you find counter-examples, I'm more than happy to revisit and see what we can do to make things work.
-- https://tools.ietf.org/html/rfc4578#section-2.1