����14-18 linux/include/linux/config.h


  1 #ifndef _CONFIG_H

  2 #define _CONFIG_H

  3

  4 /*

  5  * Defines for what uname() should return

  6  */

    /*

     * ����uname()����Ӧ�÷��ص�ֵ��

     */

  7 #define UTS_SYSNAME "Linux"

  8 #define UTS_NODENAME "(none)"   /* set by sethostname() */

  9 #define UTS_RELEASE ""          /* patchlevel */

 10 #define UTS_VERSION "0.12"

 11 #define UTS_MACHINE "i386"      /* hardware type */

 12

 13 /* Don't touch these, unless you really know what your doing. */

    /* �벻Ҫ�����޸����涨��ֵ��������֪���Լ����ڸ�ʲô�� */

 14 #define DEF_INITSEG     0x9000        // �����������򽫱��ƶ����Ķ�ֵ��

 15 #define DEF_SYSSEG      0x1000        // �������������ϵͳģ����ص��ڴ�Ķ�ֵ��

 16 #define DEF_SETUPSEG    0x9020        // setup���������ڴ��λ�á�

 17 #define DEF_SYSSIZE     0x3000        // �ں�ϵͳģ��Ĭ����������16�ֽ�=1�ڣ���

 18

 19 /*

 20  * The root-device is no longer hard-coded. You can change the default

 21  * root-device by changing the line ROOT_DEV = XXX in boot/bootsect.s

 22  */

    /*

     * ���ļ�ϵͳ�豸�Ѳ�����Ӳ������ˡ�ͨ���޸�boot/bootsect.s�ļ�����

     * ROOT_DEV = XXX������Ըı���豸��Ĭ������ֵ��

     */

 23

 24 /*

 25  * The keyboard is now defined in kernel/chr_dev/keyboard.S

 26  */

    /*

     * ���ڼ������ͱ�����kernel/chr_dev/keyboard.S�����ж��塣

     */

 27

 28 /*

 29  * Normally, Linux can get the drive parameters from the BIOS at

 30  * startup, but if this for some unfathomable reason fails, you'd

 31  * be left stranded. For this case, you can define HD_TYPE, which

 32  * contains all necessary info on your harddisk.

 33  *

 34  * The HD_TYPE macro should look like this:

 35  *

 36  * #define HD_TYPE { head, sect, cyl, wpcom, lzone, ctl}

 37  *

 38  * In case of two harddisks, the info should be sepatated by

 39  * commas:

 40  *

 41  * #define HD_TYPE { h,s,c,wpcom,lz,ctl },{ h,s,c,wpcom,lz,ctl }

 42  */

    /*

     * ͨ����Linux�ܹ�������ʱ��BIOS�л�ȡ�������²���������������δ֪ԭ��

     * ��û�еõ���Щ����ʱ����ʹ���������޲ߡ������������������Զ���HD_TYPE��

     * ���а���Ӳ�̵�������Ϣ��

     *

     * HD_TYPE��Ӧ����������������ʽ��

     *

     * #define HD_TYPE { head, sect, cyl, wpcom, lzone, ctl}

     *

     * ����������Ӳ�̵������������Ϣ���ö��ŷֿ���

     *

     * #define HD_TYPE { h,s,c,wpcom,lz,ctl }, {h,s,c,wpcom,lz,ctl }

     */

 43 /*

 44  This is an example, two drives, first is type 2, second is type 3:

 45

 46 #define HD_TYPE { 4,17,615,300,615,8 }, { 6,17,615,300,615,0 }

 47

 48  NOTE: ctl is 0 for all drives with heads<=8, and ctl=8 for drives

 49  with more than 8 heads.

 50

 51  If you want the BIOS to tell what kind of drive you have, just

 52  leave HD_TYPE undefined. This is the normal thing to do.

 53 */

    /*

     * ������һ�����ӣ�����Ӳ�̣���1��������2����2��������3��

     *

     * #define HD_TYPE { 4,17,615,300,615,8 }, {6,17,615,300,615,0 }

     *

     * ע�⣺��Ӧ����Ӳ�̣������ͷ��<=8����ctl����0������ͷ������8����

     * ��ctl=8��

     *

     * ���������BIOS����Ӳ�̵����ͣ���ôֻ�費����HD_TYPE������Ĭ�ϲ�����

     */

 54

 55 #endif

 56