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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/include/drivers/i8259.h

    r7d60cf5 r5cb223f  
    3939#include <arch/interrupt.h>
    4040
    41 #define PIC_PIC0PORT1   0x20
    42 #define PIC_PIC0PORT2   0x21
    43 #define PIC_PIC1PORT1   0xa0
    44 #define PIC_PIC1PORT2   0xa1
     41#define PIC_PIC0PORT1   ((ioport8_t *) 0x20)
     42#define PIC_PIC0PORT2   ((ioport8_t *) 0x21)
     43#define PIC_PIC1PORT1   ((ioport8_t *) 0xa0)
     44#define PIC_PIC1PORT2   ((ioport8_t *) 0xa1)
    4545
    4646#define PIC_NEEDICW4    (1<<0)
Note: See TracChangeset for help on using the changeset viewer.