X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/3b6a05fc894d0c1a3d431045ee5a53955ba093a0..df1e857ac4d1410ae2bd354e361210b842ab7bc8:/lunaix-os/includes/hal/ahci/ahci.h diff --git a/lunaix-os/includes/hal/ahci/ahci.h b/lunaix-os/includes/hal/ahci/ahci.h index ea63a9c..2ed135a 100644 --- a/lunaix-os/includes/hal/ahci/ahci.h +++ b/lunaix-os/includes/hal/ahci/ahci.h @@ -14,6 +14,13 @@ #define AHCI_HBA_CLASS 0x10601 +struct ahci_driver +{ + struct llist_header ahci_drvs; + struct ahci_hba hba; + int id; +}; + /** * @brief 初始化AHCI与HBA * @@ -21,15 +28,6 @@ void ahci_init(); -void -ahci_list_device(); - -unsigned int -ahci_get_port_usage(); - -struct hba_port* -ahci_get_port(unsigned int index); - void ahci_parse_dev_info(struct hba_device* dev_info, uint16_t* data);