2 ms·
That struct contains a function pointer which you can call to get other structs known as protocols. Those protocols contain function pointers which you use for
by userbinator 4y ago
That struct contains a function pointer which you can call to get other structs known as protocols. Those protocols contain function pointers which you use for everything else
That's what I mean by "obtusely indirect".
if all you want to do is textual IO you only need a few hundred lines of header files
"only need a few hundred lines"? That's huge in comparison to MS-DOS.
They could've made UEFI almost like MS-DOS in API too, just with a flat address space. Yet they came up with a monstrosity far more complex.