Changeset 252 for trunk/hal/x86_64/core


Ignore:
Timestamp:
Jul 20, 2017, 1:30:05 PM (7 years ago)
Author:
max@…
Message:

Hide IMPL_PIC_.

Location:
trunk/hal/x86_64/core
Files:
2 edited

Legend:

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

    r250 r252  
    3636/* -------------------------------------------------------------------------- */
    3737
    38 void hal_drivers_pic_init(chdev_t *pic)
     38void hal_drivers_pic_init(chdev_t *pic, uint32_t impl)
    3939{
     40        if (impl != IMPL_PIC_I86) {
     41                x86_panic("undefined PIC device implementation");
     42        }
     43
    4044        pic_apic_init(pic);
    4145
  • trunk/hal/x86_64/core/hal_init.c

    r240 r252  
    189189
    190190        dev->base = 0;
    191         dev->type = (DEV_FUNC_PIC << 16) | IMPL_PIC_SCL;
     191        dev->type = (DEV_FUNC_PIC << 16) | IMPL_PIC_I86;
    192192        dev->channels = 1;
    193193        dev->param0 = 0;
     
    253253        info->rsvd_nr = init_bootinfo_rsvd((boot_rsvd_t *)&info->rsvd);
    254254
    255         /* TODO: dev_icu */
    256255        /* TODO: dev_mmc */
    257256        /* TODO: dev_dma */
Note: See TracChangeset for help on using the changeset viewer.