boot.h

来自「linux 的引导程序源码The Microsoft&reg Windows&r」· C头文件 代码 · 共 41 行

H
41
字号
/* boot.h  -  Boot image composition *//* Copyright 1992-1995 Werner Almesberger. See file COPYING for details. */#ifndef BOOT_H#define BOOT_H#include "lilo.h"void boot_image(char *spec,IMAGE_DESCR *descr);/* Maps a "classic" boot image. */void boot_device(char *spec,char *range,IMAGE_DESCR *descr);/* Maps sectors from a device as the boot image. Can be used to boot raw-written   disks. */void boot_unstripped(char *boot,char *setup,char *kernel,IMAGE_DESCR *descr);/* Maps an unstripped kernel image as the boot image. The setup (without the   header) is prepended. */char *boot_mbr(const char *boot, int table);/* derive name of MBR from partition name; check for primary partition   if table==1 */void boot_other(char *loader,char *boot,char *part,IMAGE_DESCR *descr);/* Merges a loader with a partition table and appends a boot sector. This mix   is used to boot non-Linux systems. */void dump(char *spec,IMAGE_DESCR *descr);/* Maps a crash dump file. */#endif

⌨️ 快捷键说明

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