POK(kernelpart)
/home/jaouen/pok_official/pok/trunk/kernel/arch/ppc/prep/ioports.h File Reference

Go to the source code of this file.

Defines

#define POK_PREP_IOBASE   0x80000000
#define outb(port, data)   *((volatile unsigned char *)(POK_PREP_IOBASE + port)) = data
#define inb(port)   *((volatile unsigned char *)(POK_PREP_IOBASE + port))

Define Documentation

#define inb (   port)    *((volatile unsigned char *)(POK_PREP_IOBASE + port))

Definition at line 26 of file ioports.h.

#define outb (   port,
  data 
)    *((volatile unsigned char *)(POK_PREP_IOBASE + port)) = data

Definition at line 23 of file ioports.h.

#define POK_PREP_IOBASE   0x80000000

Definition at line 21 of file ioports.h.