diff options
Diffstat (limited to 'test.q')
-rw-r--r-- | test.q | 50 |
1 files changed, 43 insertions, 7 deletions
@@ -1,13 +1,49 @@ type EfiStatus: uint32; type EfiHandle: any*; -type TestEnum: enum { - nog, - bal +type EfiGuid: struct { + uint32 data1; + uint16 data2; + uint16 data3; }; -type TestStruct: struct { - EfiStatus status; - EfiHandle imageHandle; - any* systemTable; +type EfiTableHeader: struct { + uint64 signature; + uint32 revision; + uint32 headerSize; + uint32 crc32; + uint32 reserved; +}; + +type EfiRuntimeServices: struct { + EfiTableHeader hdr; +}; + +type EfiBootServices: struct { + EfiTableHeader hdr; +}; + +type EfiConfigurationTable: struct { + EfiGuid vendorGuid; + any* vendorTable; +}; + +type EfiSystemTable: struct { + EfiTableHeader hdr; + + any* firmwareVendor; + uint32 firmwareRevision; + + EfiHandle consoleInHandle; + any* conIn; + EfiHandle consoleOutHandle; + any* conOut; + EfiHandle standardErrorHandle; + any* stdErr; + + EfiRuntimeServices* runtimeServices; + EfiBootServices* bootServices; + + uint numberOfTableEntries; + EfiConfigurationTable* configurationTable; }; |