summaryrefslogtreecommitdiffstats
path: root/isys/isys.h
blob: b33cc4226b3a03ac7e77dc601d3f3f04a2b1da59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef H_ISYS
#define H_ISYS

#define MIN_ROOTPART_SIZE_MB	250

#define MIN_RAM			32000	    /* 20M or so */
#define MIN_GUI_RAM		56000
#define EARLY_SWAP_RAM		72000

/* returns -2 for errno, -1 for unknown device */
int devMakeInode(char * devName, char * path);

int insmod(char * modName, char * path, char ** args);
int rmmod(char * modName);

/* returns 0 for true, !0 for false */
int fileIsIso(const char * file);

/* returns 1 if on an iSeries vio console, 0 otherwise */
int isVioConsole(void);

/* dasd functions */
char *getDasdPorts();
int isLdlDasd(char * dev);
int isUsableDasd(char *device);

#endif