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

Go to the source code of this file.

Data Structures

struct  linux_component
 
struct  linux_sysid
 
union  linux_memtypes
 
struct  linux_mdesc
 
struct  linux_tinfo
 
struct  linux_vdirent
 
struct  linux_bigint
 
struct  linux_finfo
 
struct  linux_romvec
 
struct  _SYSTEM_PARAMETER_BLOCK
 
union  linux_cache_key
 
struct  linux_cache_key::param
 
struct  linux_cdata
 
struct  sgi_partition
 
struct  sgi_bootblock
 
struct  sgi_bparm_block
 
struct  sgi_bsector
 
struct  linux_smonblock
 

Macros

#define PROM_ESUCCESS   0x00
 
#define PROM_E2BIG   0x01
 
#define PROM_EACCESS   0x02
 
#define PROM_EAGAIN   0x03
 
#define PROM_EBADF   0x04
 
#define PROM_EBUSY   0x05
 
#define PROM_EFAULT   0x06
 
#define PROM_EINVAL   0x07
 
#define PROM_EIO   0x08
 
#define PROM_EISDIR   0x09
 
#define PROM_EMFILE   0x0a
 
#define PROM_EMLINK   0x0b
 
#define PROM_ENAMETOOLONG   0x0c
 
#define PROM_ENODEV   0x0d
 
#define PROM_ENOENT   0x0e
 
#define PROM_ENOEXEC   0x0f
 
#define PROM_ENOMEM   0x10
 
#define PROM_ENOSPC   0x11
 
#define PROM_ENOTDIR   0x12
 
#define PROM_ENOTTY   0x13
 
#define PROM_ENXIO   0x14
 
#define PROM_EROFS   0x15
 
#define PROM_EADDRNOTAVAIL   0x1f
 
#define PROM_ETIMEDOUT   0x20
 
#define PROM_ECONNABORTED   0x21
 
#define PROM_ENOCONNECT   0x22
 
#define PROMBLOCK_MAGIC   0x53435241
 
#define PROMBLOCK   ((PSYSTEM_PARAMETER_BLOCK) (int)0xA0001000)
 
#define ROMVECTOR   ((struct linux_romvec *) (long)(PROMBLOCK)->romvec)
 
#define SGIPROM_STDIN   0
 
#define SGIPROM_STDOUT   1
 
#define SGIPROM_ROFILE   0x01 /* read-only file */
 
#define SGIPROM_HFILE   0x02 /* hidden file */
 
#define SGIPROM_SFILE   0x04 /* System file */
 
#define SGIPROM_AFILE   0x08 /* Archive file */
 
#define SGIPROM_DFILE   0x10 /* Directory file */
 
#define SGIPROM_DELFILE   0x20 /* Deleted file */
 
#define SGIPART_UNUSED   0x00
 
#define SGIPART_ACTIVE   0x80
 
#define SGIBBLOCK_MAGIC   0xaa55
 
#define SGIBBLOCK_MAXPART   0x0004
 
#define SMB_DEBUG_MAGIC   0xfeeddead
 

Typedefs

typedef struct linux_component pcomponent
 
typedef struct
_SYSTEM_PARAMETER_BLOCK 
SYSTEM_PARAMETER_BLOCK
 
typedef struct
_SYSTEM_PARAMETER_BLOCK
PSYSTEM_PARAMETER_BLOCK
 

Enumerations

enum  linux_devclass {
  system, processor, cache, adapter,
  controller, peripheral, memory
}
 
enum  linux_devtypes {
  Arc, Cpu, Fpu, picache,
  pdcache, sicache, sdcache, sccache,
  memdev, eisa_adapter, tc_adapter, scsi_adapter,
  dti_adapter, multifunc_adapter, dsk_controller, tp_controller,
  cdrom_controller, worm_controller, serial_controller, net_controller,
  disp_controller, parallel_controller, ptr_controller, kbd_controller,
  audio_controller, misc_controller, disk_peripheral, flpy_peripheral,
  tp_peripheral, modem_peripheral, monitor_peripheral, printer_peripheral,
  ptr_peripheral, kbd_peripheral, term_peripheral, line_peripheral,
  net_peripheral, misc_peripheral, anon
}
 
enum  linux_identifier {
  bogus, ronly, removable, consin,
  consout, input, output
}
 
enum  arcs_memtypes {
  arcs_eblock, arcs_rvpage, arcs_fcontig, arcs_free,
  arcs_bmem, arcs_prog, arcs_atmp, arcs_aperm
}
 
enum  arc_memtypes {
  arc_eblock, arc_rvpage, arc_free, arc_bmem,
  arc_prog, arc_atmp, arc_aperm, arc_fcontig
}
 
enum  linux_omode {
  rdonly, wronly, rdwr, wronly_creat,
  rdwr_creat, wronly_ssede, rdwr_ssede, dirent,
  dirent_creat
}
 
enum  linux_seekmode { absolute, relative }
 
enum  linux_mountops { media_load, media_unload }
 

Macro Definition Documentation

#define PROM_E2BIG   0x01

Definition at line 20 of file sgiarcs.h.

#define PROM_EACCESS   0x02

Definition at line 21 of file sgiarcs.h.

#define PROM_EADDRNOTAVAIL   0x1f

Definition at line 42 of file sgiarcs.h.

#define PROM_EAGAIN   0x03

Definition at line 22 of file sgiarcs.h.

#define PROM_EBADF   0x04

Definition at line 23 of file sgiarcs.h.

#define PROM_EBUSY   0x05

Definition at line 24 of file sgiarcs.h.

#define PROM_ECONNABORTED   0x21

Definition at line 44 of file sgiarcs.h.

#define PROM_EFAULT   0x06

Definition at line 25 of file sgiarcs.h.

#define PROM_EINVAL   0x07

Definition at line 26 of file sgiarcs.h.

#define PROM_EIO   0x08

Definition at line 27 of file sgiarcs.h.

#define PROM_EISDIR   0x09

Definition at line 28 of file sgiarcs.h.

#define PROM_EMFILE   0x0a

Definition at line 29 of file sgiarcs.h.

#define PROM_EMLINK   0x0b

Definition at line 30 of file sgiarcs.h.

#define PROM_ENAMETOOLONG   0x0c

Definition at line 31 of file sgiarcs.h.

#define PROM_ENOCONNECT   0x22

Definition at line 45 of file sgiarcs.h.

#define PROM_ENODEV   0x0d

Definition at line 32 of file sgiarcs.h.

#define PROM_ENOENT   0x0e

Definition at line 33 of file sgiarcs.h.

#define PROM_ENOEXEC   0x0f

Definition at line 34 of file sgiarcs.h.

#define PROM_ENOMEM   0x10

Definition at line 35 of file sgiarcs.h.

#define PROM_ENOSPC   0x11

Definition at line 36 of file sgiarcs.h.

#define PROM_ENOTDIR   0x12

Definition at line 37 of file sgiarcs.h.

#define PROM_ENOTTY   0x13

Definition at line 38 of file sgiarcs.h.

#define PROM_ENXIO   0x14

Definition at line 39 of file sgiarcs.h.

#define PROM_EROFS   0x15

Definition at line 40 of file sgiarcs.h.

#define PROM_ESUCCESS   0x00

Definition at line 19 of file sgiarcs.h.

#define PROM_ETIMEDOUT   0x20

Definition at line 43 of file sgiarcs.h.

#define PROMBLOCK   ((PSYSTEM_PARAMETER_BLOCK) (int)0xA0001000)

Definition at line 270 of file sgiarcs.h.

#define PROMBLOCK_MAGIC   0x53435241

Definition at line 247 of file sgiarcs.h.

#define ROMVECTOR   ((struct linux_romvec *) (long)(PROMBLOCK)->romvec)

Definition at line 271 of file sgiarcs.h.

#define SGIBBLOCK_MAGIC   0xaa55

Definition at line 321 of file sgiarcs.h.

#define SGIBBLOCK_MAXPART   0x0004

Definition at line 322 of file sgiarcs.h.

#define SGIPART_ACTIVE   0x80

Definition at line 312 of file sgiarcs.h.

#define SGIPART_UNUSED   0x00

Definition at line 311 of file sgiarcs.h.

#define SGIPROM_AFILE   0x08 /* Archive file */

Definition at line 304 of file sgiarcs.h.

#define SGIPROM_DELFILE   0x20 /* Deleted file */

Definition at line 306 of file sgiarcs.h.

#define SGIPROM_DFILE   0x10 /* Directory file */

Definition at line 305 of file sgiarcs.h.

#define SGIPROM_HFILE   0x02 /* hidden file */

Definition at line 302 of file sgiarcs.h.

#define SGIPROM_ROFILE   0x01 /* read-only file */

Definition at line 301 of file sgiarcs.h.

#define SGIPROM_SFILE   0x04 /* System file */

Definition at line 303 of file sgiarcs.h.

#define SGIPROM_STDIN   0

Definition at line 297 of file sgiarcs.h.

#define SGIPROM_STDOUT   1

Definition at line 298 of file sgiarcs.h.

#define SMB_DEBUG_MAGIC   0xfeeddead

Definition at line 352 of file sgiarcs.h.

Typedef Documentation

Definition at line 91 of file sgiarcs.h.

Enumeration Type Documentation

Enumerator:
arc_eblock 
arc_rvpage 
arc_free 
arc_bmem 
arc_prog 
arc_atmp 
arc_aperm 
arc_fcontig 

Definition at line 110 of file sgiarcs.h.

Enumerator:
arcs_eblock 
arcs_rvpage 
arcs_fcontig 
arcs_free 
arcs_bmem 
arcs_prog 
arcs_atmp 
arcs_aperm 

Definition at line 98 of file sgiarcs.h.

Enumerator:
system 
processor 
cache 
adapter 
controller 
peripheral 
memory 

Definition at line 50 of file sgiarcs.h.

Enumerator:
Arc 
Cpu 
Fpu 
picache 
pdcache 
sicache 
sdcache 
sccache 
memdev 
eisa_adapter 
tc_adapter 
scsi_adapter 
dti_adapter 
multifunc_adapter 
dsk_controller 
tp_controller 
cdrom_controller 
worm_controller 
serial_controller 
net_controller 
disp_controller 
parallel_controller 
ptr_controller 
kbd_controller 
audio_controller 
misc_controller 
disk_peripheral 
flpy_peripheral 
tp_peripheral 
modem_peripheral 
monitor_peripheral 
printer_peripheral 
ptr_peripheral 
kbd_peripheral 
term_peripheral 
line_peripheral 
net_peripheral 
misc_peripheral 
anon 

Definition at line 54 of file sgiarcs.h.

Enumerator:
bogus 
ronly 
removable 
consin 
consout 
input 
output 

Definition at line 74 of file sgiarcs.h.

Enumerator:
media_load 
media_unload 

Definition at line 160 of file sgiarcs.h.

Enumerator:
rdonly 
wronly 
rdwr 
wronly_creat 
rdwr_creat 
wronly_ssede 
rdwr_ssede 
dirent 
dirent_creat 

Definition at line 151 of file sgiarcs.h.

Enumerator:
absolute 
relative 

Definition at line 156 of file sgiarcs.h.