From 9c1dfc92b9035cfd25ff574af7b3fcab1cfcffd5 Mon Sep 17 00:00:00 2001 From: "Justin C. Miller" Date: Sun, 23 Feb 2020 19:39:53 -0800 Subject: [PATCH] Add a basic version of the device_path protocol Since the device_path protocol structure is really a header for several types of structures, I'll have to think more about how to fully implement it. Probably will have to put the dervied versions in non-gerneated headers. --- protos.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/protos.yaml b/protos.yaml index 1f8313f..cd89bb3 100644 --- a/protos.yaml +++ b/protos.yaml @@ -2,6 +2,7 @@ guid: "0x5b1b31a1,0x9562,0x11d2,{0x8e,0x3f,0x00,0xa0,0xc9,0x69,0x72,0x3b}" headers: - uefi/tables.h + - uefi/protos/device_path.h pre_data: - name: revision type: uint32_t @@ -34,6 +35,16 @@ - name: image_handle type: uefi::handle +- name: device_path + guid: "0x09576e91,0x6d3f,0x11d2,{0x8e,0x39,0x00,0xa0,0xc9,0x69,0x72,0x3b}" + pre_data: + - name: type + type: uint8_t + - name: sub_type + type: uint8_t + - name: length + type: uint16_t + - name: simple_text_output guid: "0x387477c2,0x69c7,0x11d2,{0x8e,0x39,0x00,0xa0,0xc9,0x69,0x72,0x3b}" headers: