Changeset 5cb223f in mainline for kernel/arch/ia32/src


Ignore:
Timestamp:
2009-02-19T22:00:44Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4544884
Parents:
7d60cf5
Message:

Adapt most of the kernel to ioport8_t, ioport16_t and ioport32_t types.

Location:
kernel/arch/ia32/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/src/drivers/i8254.c

    r7d60cf5 r5cb223f  
    5454#include <ddi/device.h>
    5555
    56 #define CLK_PORT1       0x40
    57 #define CLK_PORT4       0x43
     56#define CLK_PORT1       ((ioport8_t *)0x40)
     57#define CLK_PORT4       ((ioport8_t *)0x43)
    5858
    5959#define CLK_CONST       1193180
  • kernel/arch/ia32/src/drivers/i8259.c

    r7d60cf5 r5cb223f  
    120120void pic_eoi(void)
    121121{
    122         pio_write_8(0x20, 0x20);
    123         pio_write_8(0xa0, 0x20);
     122        pio_write_8((ioport8_t *)0x20, 0x20);
     123        pio_write_8((ioport8_t *)0xa0, 0x20);
    124124}
    125125
  • kernel/arch/ia32/src/smp/smp.c

    r7d60cf5 r5cb223f  
    123123         * BIOS will not do the POST after the INIT signal.
    124124         */
    125         pio_write_8(0x70, 0xf);
    126         pio_write_8(0x71, 0xa);
     125        pio_write_8((ioport8_t *)0x70, 0xf);
     126        pio_write_8((ioport8_t *)0x71, 0xa);
    127127
    128128        pic_disable_irqs(0xffff);
Note: See TracChangeset for help on using the changeset viewer.