I2O_MSG_IN_TO_VIRT

Section: Message-based devices (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

i2o_msg_in_to_virt - Turn an I2O message to a virtual address  

SYNOPSIS

struct i2o_message __iomem * i2o_msg_in_to_virt(struct i2o_controller * c, u32 m);
 

ARGUMENTS

c

controller

m

message engine value
 

DESCRIPTION

Turn a send message from an I2O controller bus address into a Linux virtual address. The shared page frame is a linear block so we simply have to shift the offset. This function does not work for receive side messages as they are kmalloc objects in a different pool.  

COPYRIGHT