diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/display/edid.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/hw/display/edid.h b/include/hw/display/edid.h new file mode 100644 index 0000000..63b6001 --- /dev/null +++ b/include/hw/display/edid.h @@ -0,0 +1,18 @@ +#ifndef EDID_H +#define EDID_H + +typedef struct qemu_edid_info { + const char *vendor; + const char *name; + const char *serial; + uint32_t dpi; + uint32_t prefx; + uint32_t prefy; + uint32_t maxx; + uint32_t maxy; +} qemu_edid_info; + +void qemu_edid_generate(uint8_t *edid, size_t size, + qemu_edid_info *info); + +#endif /* EDID_H */ |