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

#define MIN_ROOTPART_SIZE_MB	250

#define MIN_RAM			17000	    /* 20M or so */
#define MIN_GUI_RAM		48000
#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);

#endif