Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
sgialib.h File Reference
#include <asm/sgiarcs.h>

Go to the source code of this file.

Macros

#define prom_argv(index)   ((char *) (long) _prom_argv[(index)])
 
#define prom_argc(index)   ((char *) (long) _prom_argc[(index)])
 
#define PROM_FLAG_ARCS   1
 
#define PROM_FLAG_USE_AS_CONSOLE   2
 
#define PROM_FLAG_DONT_FREE_TEMP   4
 
#define PROM_NULL_MDESC   ((struct linux_mdesc *) 0)
 
#define PROM_NULL_COMPONENT   ((pcomponent *) 0)
 

Functions

void prom_putchar (char c)
 
char prom_getchar (void)
 
struct linux_mdescprom_getmdesc (struct linux_mdesc *curr)
 
void prom_meminit (void)
 
pcomponentArcGetPeer (pcomponent *this)
 
pcomponentArcGetChild (pcomponent *this)
 
void prom_identify_arch (void)
 
PCHAR ArcGetEnvironmentVariable (PCHAR name)
 
LONG ArcSetEnvironmentVariable (PCHAR name, PCHAR value)
 
void prom_init_cmdline (void)
 
LONG ArcRead (ULONG fd, PVOID buf, ULONG num, PULONG cnt)
 
LONG ArcWrite (ULONG fd, PVOID buf, ULONG num, PULONG cnt)
 
VOID ArcReboot (VOID) __attribute__((noreturn))
 
VOID ArcEnterInteractiveMode (VOID) __attribute__((noreturn))
 
VOID ArcFlushAllCaches (VOID)
 
DISPLAY_STATUSArcGetDisplayStatus (ULONG FileID)
 

Variables

struct linux_romvecromvec
 
int prom_argc
 
LONG_prom_argv
 
LONG_prom_envp
 
int prom_flags
 

Macro Definition Documentation

#define prom_argc (   index)    ((char *) (long) _prom_argc[(index)])

Definition at line 24 of file sgialib.h.

#define prom_argv (   index)    ((char *) (long) _prom_argv[(index)])

Definition at line 23 of file sgialib.h.

#define PROM_FLAG_ARCS   1

Definition at line 28 of file sgialib.h.

#define PROM_FLAG_DONT_FREE_TEMP   4

Definition at line 30 of file sgialib.h.

#define PROM_FLAG_USE_AS_CONSOLE   2

Definition at line 29 of file sgialib.h.

#define PROM_NULL_COMPONENT   ((pcomponent *) 0)

Definition at line 48 of file sgialib.h.

#define PROM_NULL_MDESC   ((struct linux_mdesc *) 0)

Definition at line 40 of file sgialib.h.

Function Documentation

VOID ArcEnterInteractiveMode ( VOID  )

Definition at line 60 of file misc.c.

VOID ArcFlushAllCaches ( VOID  )

Definition at line 81 of file misc.c.

pcomponent* ArcGetChild ( pcomponent this)

Definition at line 28 of file tree.c.

DISPLAY_STATUS* ArcGetDisplayStatus ( ULONG  FileID)

Definition at line 86 of file misc.c.

PCHAR ArcGetEnvironmentVariable ( PCHAR  name)
pcomponent* ArcGetPeer ( pcomponent this)

Definition at line 19 of file tree.c.

LONG ArcRead ( ULONG  fd,
PVOID  buf,
ULONG  num,
PULONG  cnt 
)
VOID ArcReboot ( VOID  )

Definition at line 51 of file misc.c.

LONG ArcSetEnvironmentVariable ( PCHAR  name,
PCHAR  value 
)

Definition at line 24 of file env.c.

LONG ArcWrite ( ULONG  fd,
PVOID  buf,
ULONG  num,
PULONG  cnt 
)

Definition at line 48 of file file.c.

char prom_getchar ( void  )

Definition at line 47 of file console.c.

struct linux_mdesc* prom_getmdesc ( struct linux_mdesc curr)
read
void prom_identify_arch ( void  )

Definition at line 90 of file identify.c.

void prom_init_cmdline ( void  )

Definition at line 46 of file prom.c.

void prom_meminit ( void  )

Definition at line 60 of file memory.c.

void prom_putchar ( char  c)

Definition at line 56 of file console.c.

Variable Documentation

LONG* _prom_argv

Definition at line 22 of file init.c.

LONG * _prom_envp

Definition at line 22 of file init.c.

int prom_argc

Definition at line 42 of file prom.c.

int prom_flags

Definition at line 69 of file identify.c.

Definition at line 14 of file init.c.