00001 #ifndef _LINUX_CONFIG_H 00002 #define _LINUX_CONFIG_H 00003 00004 #include <linux/autoconf.h> 00005 00006 /** 00007 * 00008 00009 * Defines for what uname() should return 00010 00011 00012 */ 00013 #ifndef UTS_SYSNAME 00014 #define UTS_SYSNAME "Linux" 00015 #endif 00016 #ifndef UTS_NODENAME 00017 #define UTS_NODENAME "(none)" ///< set by sethostname() 00018 #endif 00019 00020 #ifndef UTS_MACHINE 00021 #define UTS_MACHINE "i386" ///< hardware type 00022 #endif 00023 00024 #ifndef UTS_DOMAINNAME 00025 #define UTS_DOMAINNAME "(none)" ///< set by setdomainname() 00026 #endif 00027 00028 /** 00029 * 00030 00031 * The definitions for UTS_RELEASE and UTS_VERSION are now defined 00032 * in linux/version.h, and should only be used by linux/version.c 00033 00034 00035 */ 00036 00037 /// Don't touch these, unless you really know what your doing. 00038 #define DEF_INITSEG 0x9000 00039 #define DEF_SYSSEG 0x1000 00040 #define DEF_SETUPSEG 0x9020 00041 #define DEF_SYSSIZE 0x7F00 00042 00043 /// internal svga startup constants 00044 #define NORMAL_VGA 0xffff ///< 80x25 mode 00045 #define EXTENDED_VGA 0xfffe ///< 80x50 mode 00046 #define ASK_VGA 0xfffd ///< ask for it at bootup 00047 00048 /** 00049 * 00050 00051 * The root-device is no longer hard-coded. You can change the default 00052 * root-device by changing the line ROOT_DEV = XXX in boot/bootsect.s 00053 00054 00055 */ 00056 00057 /** 00058 * 00059 00060 * The keyboard is now defined in kernel/chr_dev/keyboard.S 00061 00062 00063 */ 00064 00065 /** 00066 * 00067 00068 * Normally, Linux can get the drive parameters from the BIOS at 00069 * startup, but if this for some unfathomable reason fails, you'd 00070 * be left stranded. For this case, you can define HD_TYPE, which 00071 * contains all necessary info on your harddisk. 00072 * 00073 * The HD_TYPE macro should look like this: 00074 * 00075 * #define HD_TYPE { head, sect, cyl, wpcom, lzone, ctl} 00076 * 00077 * In case of two harddisks, the info should be sepatated by 00078 * commas: 00079 * 00080 * #define HD_TYPE { h,s,c,wpcom,lz,ctl },{ h,s,c,wpcom,lz,ctl } 00081 00082 00083 */ 00084 /** 00085 * 00086 00087 This is an example, two drives, first is type 2, second is type 3: 00088 00089 #define HD_TYPE { 4,17,615,300,615,8 }, { 6,17,615,300,615,0 } 00090 00091 NOTE: ctl is 0 for all drives with heads<=8, and ctl=8 for drives 00092 with more than 8 heads. 00093 00094 If you want the BIOS to tell what kind of drive you have, just 00095 leave HD_TYPE undefined. This is the normal thing to do. 00096 00097 00098 */ 00099 00100 #undef HD_TYPE 00101 00102 /** 00103 * 00104 00105 File type specific stuff goes into this. 00106 00107 00108 */ 00109 00110 #ifdef ASM_SRC 00111 #endif 00112 00113 #ifdef C_SRC 00114 #endif 00115 00116 #ifdef MAKE 00117 #endif 00118 00119 #endif
1.4.6-5