⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 config.h

📁 linux-0.10 对于想了解linux内核,而又不想花太多精力的人,最好就是这种低版本,而具有核心价值的程序
💻 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 - US (KBD_US) or Finnish (KBD_FINNISH) */#define KBD_US/* #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.*/#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -