Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
hvcs.c File Reference
#include <linux/device.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/kref.h>
#include <linux/kthread.h>
#include <linux/list.h>
#include <linux/major.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/stat.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <asm/hvconsole.h>
#include <asm/hvcserver.h>
#include <asm/uaccess.h>
#include <asm/vio.h>

Go to the source code of this file.

Data Structures

struct  hvcs_struct
 

Macros

#define HVCS_DRIVER_VERSION   "1.3.3"
 
#define HVCS_CLOSE_WAIT   (HZ/100) /* 1/10 of a second */
 
#define HVCS_DEFAULT_SERVER_ADAPTERS   64
 
#define HVCS_MAX_SERVER_ADAPTERS   1024
 
#define HVCS_MINOR_START   0
 
#define __ALIGNED__   __attribute__((__aligned__(8)))
 
#define HVCS_BUFF_LEN   16
 
#define HVCS_MAX_FROM_USER   4096
 
#define HVCS_SCHED_READ   0x00000001
 
#define HVCS_QUICK_READ   0x00000002
 
#define HVCS_TRY_WRITE   0x00000004
 
#define HVCS_READ_MASK   (HVCS_SCHED_READ | HVCS_QUICK_READ)
 

Functions

 MODULE_AUTHOR ("Ryan S. Arnold <[email protected]>")
 
 MODULE_DESCRIPTION ("IBM hvcs (Hypervisor Virtual Console Server) Driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (HVCS_DRIVER_VERSION)
 
 module_param (hvcs_parm_num_devs, int, 0)
 
 MODULE_DEVICE_TABLE (vio, hvcs_driver_table)
 
 module_init (hvcs_module_init)
 
 module_exit (hvcs_module_exit)
 

Macro Definition Documentation

#define __ALIGNED__   __attribute__((__aligned__(8)))

Definition at line 173 of file hvcs.c.

#define HVCS_BUFF_LEN   16

Definition at line 179 of file hvcs.c.

#define HVCS_CLOSE_WAIT   (HZ/100) /* 1/10 of a second */

Definition at line 139 of file hvcs.c.

#define HVCS_DEFAULT_SERVER_ADAPTERS   64

Definition at line 149 of file hvcs.c.

#define HVCS_DRIVER_VERSION   "1.3.3"

Definition at line 128 of file hvcs.c.

#define HVCS_MAX_FROM_USER   4096

Definition at line 185 of file hvcs.c.

#define HVCS_MAX_SERVER_ADAPTERS   1024

Definition at line 156 of file hvcs.c.

#define HVCS_MINOR_START   0

Definition at line 164 of file hvcs.c.

#define HVCS_QUICK_READ   0x00000002

Definition at line 341 of file hvcs.c.

#define HVCS_READ_MASK   (HVCS_SCHED_READ | HVCS_QUICK_READ)

Definition at line 343 of file hvcs.c.

#define HVCS_SCHED_READ   0x00000001

Definition at line 340 of file hvcs.c.

#define HVCS_TRY_WRITE   0x00000004

Definition at line 342 of file hvcs.c.

Function Documentation

MODULE_AUTHOR ( "Ryan S. Arnold <[email protected]>"  )
MODULE_DESCRIPTION ( "IBM hvcs (Hypervisor Virtual Console Server) Driver"  )
MODULE_DEVICE_TABLE ( vio  ,
hvcs_driver_table   
)
module_exit ( hvcs_module_exit  )
module_init ( hvcs_module_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( hvcs_parm_num_devs  ,
int  ,
 
)
MODULE_VERSION ( HVCS_DRIVER_VERSION  )