Fix header include issues

- Add types.h to all generated proto headers
- Add tables.h to loaded_image protocol header
This commit is contained in:
Justin C. Miller
2020-02-23 19:27:51 -08:00
parent f5f5111471
commit d0b9344c95
2 changed files with 3 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ template = Template('''#pragma once
// https://github.com/justinian/j6-uefi-headers for more information.
#include <uefi/guid.h>
#include <uefi/types.h>
{%- for header in headers %}
#include <{{ header }}>
{%- endfor %}

View File

@@ -1,5 +1,7 @@
- name: loaded_image
guid: "0x5b1b31a1,0x9562,0x11d2,{0x8e,0x3f,0x00,0xa0,0xc9,0x69,0x72,0x3b}"
headers:
- uefi/tables.h
pre_data:
- name: revision
type: uint32_t