91 lines
2.1 KiB
C
91 lines
2.1 KiB
C
#ifndef _LINUX_CONFIG_H
|
|
#define _LINUX_CONFIG_H
|
|
|
|
#include <linux/autoconf.h>
|
|
|
|
/*
|
|
* Defines for what uname() should return
|
|
*/
|
|
#ifndef UTS_SYSNAME
|
|
#define UTS_SYSNAME "Linux"
|
|
#endif
|
|
#ifndef UTS_NODENAME
|
|
#define UTS_NODENAME "(none)" /* set by sethostname() */
|
|
#endif
|
|
|
|
#ifndef UTS_MACHINE
|
|
#define UTS_MACHINE "i386" /* hardware type */
|
|
#endif
|
|
|
|
#ifndef UTS_DOMAINNAME
|
|
#define UTS_DOMAINNAME "(none)" /* set by setdomainname() */
|
|
#endif
|
|
|
|
/*
|
|
* The definitions for UTS_RELEASE and UTS_VERSION are now defined
|
|
* in linux/version.h, and should only be used by linux/version.c
|
|
*/
|
|
|
|
/* Don't touch these, unless you really know what your doing. */
|
|
#define DEF_INITSEG 0x9000
|
|
#define DEF_SYSSEG 0x1000
|
|
#define DEF_SETUPSEG 0x9020
|
|
#define DEF_SYSSIZE 0x7F00
|
|
|
|
/* internal svga startup constants */
|
|
#define NORMAL_VGA 0xffff /* 80x25 mode */
|
|
#define EXTENDED_VGA 0xfffe /* 80x50 mode */
|
|
#define ASK_VGA 0xfffd /* ask for it at bootup */
|
|
|
|
/*
|
|
* The root-device is no longer hard-coded. You can change the default
|
|
* root-device by changing the line ROOT_DEV = XXX in boot/bootsect.s
|
|
*/
|
|
|
|
/*
|
|
* The keyboard is now defined in kernel/chr_dev/keyboard.S
|
|
*/
|
|
|
|
/*
|
|
* Normally, Linux can get the drive parameters from the BIOS at
|
|
* startup, but if this for some unfathomable reason fails, you'd
|
|
* be left stranded. For this case, you can define HD_TYPE, which
|
|
* contains all necessary info on your harddisk.
|
|
*
|
|
* The HD_TYPE macro should look like this:
|
|
*
|
|
* #define HD_TYPE { head, sect, cyl, wpcom, lzone, ctl}
|
|
*
|
|
* In case of two harddisks, the info should be sepatated by
|
|
* commas:
|
|
*
|
|
* #define HD_TYPE { h,s,c,wpcom,lz,ctl },{ h,s,c,wpcom,lz,ctl }
|
|
*/
|
|
/*
|
|
This is an example, two drives, first is type 2, second is type 3:
|
|
|
|
#define HD_TYPE { 4,17,615,300,615,8 }, { 6,17,615,300,615,0 }
|
|
|
|
NOTE: ctl is 0 for all drives with heads<=8, and ctl=8 for drives
|
|
with more than 8 heads.
|
|
|
|
If you want the BIOS to tell what kind of drive you have, just
|
|
leave HD_TYPE undefined. This is the normal thing to do.
|
|
*/
|
|
|
|
#undef HD_TYPE
|
|
|
|
/*
|
|
File type specific stuff goes into this.
|
|
*/
|
|
|
|
#ifdef ASM_SRC
|
|
#endif
|
|
|
|
#ifdef C_SRC
|
|
#endif
|
|
|
|
#ifdef MAKE
|
|
#endif
|
|
|
|
#endif
|