📄 config.h
字号:
#ifndef _CONFIG_H#define _CONFIG_H/* * 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 *//* * define your keyboard here - * KBD_FINNISH for Finnish keyboards * KBD_US for US-type * KBD_GR for German keyboards * KBD_FR for Frech keyboard *//*#define KBD_US *//*#define KBD_GR *//*#define KBD_FR */#define KBD_FINNISH/* * 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.*/#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -