Subversion Repositories HelenOS-historic

Rev

Rev 1756 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1756 Rev 1780
Line 36... Line 36...
36
#include <arch/asm.h>
36
#include <arch/asm.h>
37
#include <arch/drivers/pic.h>
37
#include <arch/drivers/pic.h>
38
#include <byteorder.h>
38
#include <byteorder.h>
39
#include <bitops.h>
39
#include <bitops.h>
40
 
40
 
41
static volatile __u32 *pic;
41
static volatile uint32_t *pic;
42
 
42
 
43
void pic_init(__address base, size_t size)
43
void pic_init(uintptr_t base, size_t size)
44
{
44
{
45
    pic = (__u32 *) hw_map(base, size);
45
    pic = (uint32_t *) hw_map(base, size);
46
}
46
}
47
 
47
 
48
 
48
 
49
 
49
 
50
void pic_enable_interrupt(int intnum)
50
void pic_enable_interrupt(int intnum)