MFen:
arch-handbook: boot/chapter.sgml 1.26 -> 1.27 driverbasics/chapter.sgml 1.36 -> 1.37 [1] Merge work done by: delphij@ [1] Obtained from: The FreeBSD Simplified Chinese Project
This commit is contained in:
parent
c6c9e87b28
commit
f8d6582f25
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=35049
2 changed files with 8 additions and 6 deletions
|
@ -2,7 +2,7 @@
|
|||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
||||
Original Revision: 1.26
|
||||
Original Revision: 1.27
|
||||
|
||||
Copyright (c) 2002 Sergey Lyubka <devnull@uptsoft.com>
|
||||
All rights reserved
|
||||
|
@ -420,7 +420,9 @@ struct bootinfo {
|
|||
<sect1 id="boot-kernel">
|
||||
<title>Äں˳õʼ»¯</title>
|
||||
|
||||
<para>loader跳转至哪里呢?那就是内核的入口点。让我们来看一下链接内核的命令:</para>
|
||||
<para>让我们来看一下链接内核的命令。
|
||||
这能帮助我们了解 loader 传递给内核的准确位置。
|
||||
这个位置就是内核真实的入口点。</para>
|
||||
|
||||
<programlisting><filename>sys/conf/Makefile.i386:</filename>
|
||||
ld -elf -Bdynamic -T /usr/src/sys/conf/ldscript.i386 -export-dynamic \
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
The FreeBSD Documentation Project
|
||||
The FreeBSD Simplified Chinese Project
|
||||
|
||||
Original Revision: 1.36
|
||||
Original Revision: 1.37
|
||||
$FreeBSD$
|
||||
-->
|
||||
|
||||
|
@ -112,7 +112,7 @@ skel_loader(struct module *m, int what, void *arg)
|
|||
uprintf("Skeleton KLD unloaded.\n");
|
||||
break;
|
||||
default:
|
||||
err = EINVAL;
|
||||
err = EOPNOTSUPP;
|
||||
break;
|
||||
}
|
||||
return(err);
|
||||
|
@ -281,7 +281,7 @@ echo_loader(struct module *m, int what, void *arg)
|
|||
printf("Echo device unloaded.\n");
|
||||
break;
|
||||
default:
|
||||
err = EINVAL;
|
||||
err = EOPNOTSUPP;
|
||||
break;
|
||||
}
|
||||
return(err);
|
||||
|
@ -435,7 +435,7 @@ echo_loader(struct module *m, int what, void *arg)
|
|||
printf("Echo device unloaded.\n");
|
||||
break;
|
||||
default:
|
||||
err = EINVAL;
|
||||
err = EOPNOTSUPP;
|
||||
break;
|
||||
}
|
||||
return(err);
|
||||
|
|
Loading…
Reference in a new issue