import { kdriver_dev_ata_init } from "../../drivers/dev/ata";
import { kdriver_dev_keyboard_init } from "../../drivers/dev/keyboard";
import { kdriver_dev_pci_init } from "../../drivers/dev/pci";
import { kdriver_etc_serial_init } from "../../drivers/etc/serial";

const drivers = [
  kdriver_etc_serial_init,
  kdriver_dev_pci_init,
  kdriver_dev_keyboard_init,
  kdriver_dev_ata_init,
];

export function kmod_drivers_init(): void {}

export function kmod_drivers_register(): void {
  for (let i = 0; i < drivers.length; i++) {
    drivers[i]!();
  }
}
