Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
hvconsole.c File Reference
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/errno.h>
#include <asm/hvcall.h>
#include <asm/hvconsole.h>
#include "plpar_wrappers.h"

Go to the source code of this file.

Functions

int hvc_get_chars (uint32_t vtermno, char *buf, int count)
 
 EXPORT_SYMBOL (hvc_get_chars)
 
int hvc_put_chars (uint32_t vtermno, const char *buf, int count)
 
 EXPORT_SYMBOL (hvc_put_chars)
 

Function Documentation

EXPORT_SYMBOL ( hvc_get_chars  )
EXPORT_SYMBOL ( hvc_put_chars  )
int hvc_get_chars ( uint32_t  vtermno,
char buf,
int  count 
)

hvc_get_chars - retrieve characters from firmware for denoted vterm adatper : The vtermno or unit_address of the adapter from which to fetch the data. : The character buffer into which to put the character data fetched from firmware. : not used?

Definition at line 41 of file hvconsole.c.

int hvc_put_chars ( uint32_t  vtermno,
const char buf,
int  count 
)

hvc_put_chars: send characters to firmware for denoted vterm adapter : The vtermno or unit_address of the adapter from which the data originated. : The character buffer that contains the character data to send to firmware. : Send this number of characters.

Definition at line 62 of file hvconsole.c.