hc
2024-05-11 297b60346df8beafee954a0fd7c2d64f33f3b9bc
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 /*