1 #ifndef _LINUX_CONFIG_H 2 #define _LINUX_CONFIG_H 3 4 #include <linux/autoconf.h> 5 6 /* 7 * Defines for what uname() should return 8 */ 9 #ifndef UTS_SYSNAME 10 #define UTS_SYSNAME "Linux" 11 #endif 12 #ifndef UTS_NODENAME 13 #define UTS_NODENAME "(none)" /* set by sethostname() */ 14 #endif 15 #define UTS_MACHINE "i386" /* hardware type */ 16 /* 17 * The definitions for UTS_RELEASE and UTS_VERSION are now defined 18 * in linux/version.h, and should only be used by linux/version.c 19 */ 20 21 /* Don't touch these, unless you really know what your doing. */ 22 #define DEF_INITSEG 0x9000 23 #define DEF_SYSSEG 0x1000 24 #define DEF_SETUPSEG 0x9020 25 #define DEF_SYSSIZE 0x7000 26 27 /* internal svga startup constants */ 28 #define NORMAL_VGA 0xffff /* 80x25 mode */ 29 #define EXTENDED_VGA 0xfffe /* 80x50 mode */ 30 #define ASK_VGA 0xfffd /* ask for it at bootup */ 31 32 /* 33 * The root-device is no longer hard-coded. You can change the default 34 * root-device by changing the line ROOT_DEV = XXX in boot/bootsect.s 35 */ 36 37 /* 38 * The keyboard is now defined in kernel/chr_dev/keyboard.S 39 */ 40 41 /* 42 * Normally, Linux can get the drive parameters from the BIOS at 43 * startup, but if this for some unfathomable reason fails, you'd 44 * be left stranded. For this case, you can define HD_TYPE, which 45 * contains all necessary info on your harddisk. 46 * 47 * The HD_TYPE macro should look like this: 48 * 49 * #define HD_TYPE { head, sect, cyl, wpcom, lzone, ctl} 50 * 51 * In case of two harddisks, the info should be sepatated by 52 * commas: 53 * 54 * #define HD_TYPE { h,s,c,wpcom,lz,ctl },{ h,s,c,wpcom,lz,ctl } 55 */ 56 /* 57 This is an example, two drives, first is type 2, second is type 3: 58 59 #define HD_TYPE { 4,17,615,300,615,8 }, { 6,17,615,300,615,0 } 60 61 NOTE: ctl is 0 for all drives with heads<=8, and ctl=8 for drives 62 with more than 8 heads. 63 64 If you want the BIOS to tell what kind of drive you have, just 65 leave HD_TYPE undefined. This is the normal thing to do. 66 */ 67 68 #undef HD_TYPE 69 70 /* 71 File type specific stuff goes into this. 72 */ 73 74 #ifdef ASM_SRC 75 #endif 76 77 #ifdef C_SRC 78 #endif 79 80 #ifdef MAKE 81 #endif 82 83 #endif