Clean up .available & .poll

This commit is contained in:
Jasmine Iwanek
2025-01-07 01:12:42 -05:00
parent de488fe779
commit 81b8038bc5
254 changed files with 1214 additions and 1313 deletions

View File

@@ -960,7 +960,7 @@ const device_t i8253_device = {
.init = pit_init,
.close = pit_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = pit_speed_changed,
.force_redraw = NULL,
.config = NULL
@@ -974,7 +974,7 @@ const device_t i8253_ext_io_device = {
.init = pit_init,
.close = pit_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -988,7 +988,7 @@ const device_t i8254_device = {
.init = pit_init,
.close = pit_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = pit_speed_changed,
.force_redraw = NULL,
.config = NULL
@@ -1002,7 +1002,7 @@ const device_t i8254_sec_device = {
.init = pit_init,
.close = pit_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = pit_speed_changed,
.force_redraw = NULL,
.config = NULL
@@ -1016,7 +1016,7 @@ const device_t i8254_ext_io_device = {
.init = pit_init,
.close = pit_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -1030,7 +1030,7 @@ const device_t i8254_ps2_device = {
.init = pit_init,
.close = pit_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = pit_speed_changed,
.force_redraw = NULL,
.config = NULL
@@ -1250,14 +1250,14 @@ pit_set_clock(uint32_t clock)
}
const pit_intf_t pit_classic_intf = {
&pit_read,
&pit_write,
&pit_ctr_get_count,
&pit_ctr_set_gate,
&pit_ctr_set_using_timer,
&pit_ctr_set_out_func,
&pit_ctr_set_load_func,
&ctr_clock,
&pit_set_pit_const,
NULL,
.read = &pit_read,
.write = &pit_write,
.get_count = &pit_ctr_get_count,
.set_gate = &pit_ctr_set_gate,
.set_using_timer = &pit_ctr_set_using_timer,
.set_out_func = &pit_ctr_set_out_func,
.set_load_func = &pit_ctr_set_load_func,
.ctr_clock = &ctr_clock,
.set_pit_const = &pit_set_pit_const,
.data = NULL,
};