hc
2023-12-11 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4
kernel/include/uapi/linux/virtio_console.h
....@@ -45,13 +45,13 @@
4545
4646 struct virtio_console_config {
4747 /* colums of the screens */
48
- __u16 cols;
48
+ __virtio16 cols;
4949 /* rows of the screens */
50
- __u16 rows;
50
+ __virtio16 rows;
5151 /* max. number of ports this device can hold */
52
- __u32 max_nr_ports;
52
+ __virtio32 max_nr_ports;
5353 /* emergency write register */
54
- __u32 emerg_wr;
54
+ __virtio32 emerg_wr;
5555 } __attribute__((packed));
5656
5757 /*