Ignore:
Timestamp:
Jul 13, 2017, 12:28:37 PM (7 years ago)
Author:
max@…
Message:

add IOC (ATA)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/core/hal_init.c

    r192 r195  
    151151}
    152152
     153static void init_bootinfo_ioc(boot_device_t *dev)
     154{
     155        memset(dev, 0, sizeof(boot_device_t));
     156
     157        dev->base = 0;
     158        dev->type = (DEV_FUNC_IOC << 16) | IMPL_IOC_BDV;
     159        dev->channels = 1;
     160}
     161
    153162static void init_bootinfo_pic(boot_device_t *dev)
    154163{
     
    203212        info->io_cxy = 0;
    204213
    205         info->ext_dev_nr = 2;
     214        info->ext_dev_nr = 3;
    206215        init_bootinfo_txt(&info->ext_dev[0]);
    207216        init_bootinfo_pic(&info->ext_dev[1]);
     217        init_bootinfo_ioc(&info->ext_dev[2]);
    208218
    209219        info->cxy = 0;
Note: See TracChangeset for help on using the changeset viewer.