diff --git a/en_US.ISO8859-1/books/arch-handbook/boot/chapter.sgml b/en_US.ISO8859-1/books/arch-handbook/boot/chapter.sgml index 13388e0d8c..217fde3941 100644 --- a/en_US.ISO8859-1/books/arch-handbook/boot/chapter.sgml +++ b/en_US.ISO8859-1/books/arch-handbook/boot/chapter.sgml @@ -56,17 +56,21 @@ $FreeBSD$ - may vary BIOS - (firmware) messages + may vary + + BIOS (firmware) messages + F1 FreeBSD F2 BSD F5 Disk 2 - boot0 + + boot0 + >>FreeBSD/i386 BOOT @@ -79,6 +83,7 @@ boot: selecting an OS to boot at the boot0 stage. + BTX loader 1.0 BTX version is 1.01 @@ -88,27 +93,28 @@ BIOS 639kB/64512kB available memory FreeBSD/i386 bootstrap loader, Revision 0.8 Console internal video/keyboard (jkh@bento.freebsd.org, Mon Nov 20 11:41:23 GMT 2000) -/kernel text=0x1234 data=0x2345 syms=[0x4+0x3456] +/kernel text=0x1234 data=0x2345 syms=[0x4+0x3456] Hit [Enter] to boot immediately, or any other key for command prompt Booting [kernel] in 9 seconds..._ + loader + -Copyright (c) 1992-2002 The FreeBSD Project. + Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.6-RC #0: Sat May 4 22:49:02 GMT 2002 devnull@kukas:/usr/obj/usr/src/sys/DEVNULL -Timecounter "i8254" frequency 1193182 Hz - +Timecounter "i8254" frequency 1193182 Hz + kernel - @@ -165,7 +171,6 @@ Timecounter "i8254" frequency 1193182 Hz utilities such as &man.disklabel.8; may store the information in this area, mostly in the second sector.. - @@ -197,12 +202,21 @@ Timecounter "i8254" frequency 1193182 Hz A partition record has the following fields: - the 1-byte filesystem type - the 1-byte bootable flag - the 6 byte descriptor in CHS - format - the 8 byte descriptor in LBA - format + + the 1-byte filesystem type + + + + the 1-byte bootable flag + + + + the 6 byte descriptor in CHS format + + + + the 8 byte descriptor in LBA format + A partition record descriptor has the information about @@ -220,23 +234,27 @@ Timecounter "i8254" frequency 1193182 Hz actions: - modifies the bootable flag for the selected - partition to make it bootable, and clears the - previous + + modifies the bootable flag for the selected partition to + make it bootable, and clears the previous + - saves itself to disk to remember what partition - (slice) has been selected so to use it as the default on the - next boot + + saves itself to disk to remember what partition (slice) + has been selected so to use it as the default on the next + boot + - loads the first sector of the selected partition - (slice) into memory and jumps there + + loads the first sector of the selected partition (slice) + into memory and jumps there + What kind of data should reside on the very first sector of a bootable partition (slice), in our case, a FreeBSD slice? As you may have already guessed, it is boot2. - @@ -424,7 +442,6 @@ struct bootinfo { __exec((caddr_t)addr, RB_BOOTINFO | (opts & RBX_MASK), MAKEBOOTDEV(dev_maj[dsk.type], 0, dsk.slice, dsk.unit, dsk.part), 0, 0, 0, VTOP(&bootinfo)); - @@ -518,13 +535,15 @@ NON_GPROF_ENTRY(btext) and stores the struct bootinfo structure into the kernel memory. + identify_cpu - + This functions tries to find out what CPU it is running on, storing the value found in a variable _cpu. + create_pagetables @@ -784,7 +803,6 @@ struct gate_descriptor *idt = &idt0[0]; /* interrupt descriptor table */ /usr/include/machine/pcb.h and has a process's information specific to the i386 architecture, such as registers values. - diff --git a/en_US.ISO8859-1/books/developers-handbook/boot/chapter.sgml b/en_US.ISO8859-1/books/developers-handbook/boot/chapter.sgml index 13388e0d8c..217fde3941 100644 --- a/en_US.ISO8859-1/books/developers-handbook/boot/chapter.sgml +++ b/en_US.ISO8859-1/books/developers-handbook/boot/chapter.sgml @@ -56,17 +56,21 @@ $FreeBSD$ - may vary BIOS - (firmware) messages + may vary + + BIOS (firmware) messages + F1 FreeBSD F2 BSD F5 Disk 2 - boot0 + + boot0 + >>FreeBSD/i386 BOOT @@ -79,6 +83,7 @@ boot: selecting an OS to boot at the boot0 stage. + BTX loader 1.0 BTX version is 1.01 @@ -88,27 +93,28 @@ BIOS 639kB/64512kB available memory FreeBSD/i386 bootstrap loader, Revision 0.8 Console internal video/keyboard (jkh@bento.freebsd.org, Mon Nov 20 11:41:23 GMT 2000) -/kernel text=0x1234 data=0x2345 syms=[0x4+0x3456] +/kernel text=0x1234 data=0x2345 syms=[0x4+0x3456] Hit [Enter] to boot immediately, or any other key for command prompt Booting [kernel] in 9 seconds..._ + loader + -Copyright (c) 1992-2002 The FreeBSD Project. + Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.6-RC #0: Sat May 4 22:49:02 GMT 2002 devnull@kukas:/usr/obj/usr/src/sys/DEVNULL -Timecounter "i8254" frequency 1193182 Hz - +Timecounter "i8254" frequency 1193182 Hz + kernel - @@ -165,7 +171,6 @@ Timecounter "i8254" frequency 1193182 Hz utilities such as &man.disklabel.8; may store the information in this area, mostly in the second sector.. - @@ -197,12 +202,21 @@ Timecounter "i8254" frequency 1193182 Hz A partition record has the following fields: - the 1-byte filesystem type - the 1-byte bootable flag - the 6 byte descriptor in CHS - format - the 8 byte descriptor in LBA - format + + the 1-byte filesystem type + + + + the 1-byte bootable flag + + + + the 6 byte descriptor in CHS format + + + + the 8 byte descriptor in LBA format + A partition record descriptor has the information about @@ -220,23 +234,27 @@ Timecounter "i8254" frequency 1193182 Hz actions: - modifies the bootable flag for the selected - partition to make it bootable, and clears the - previous + + modifies the bootable flag for the selected partition to + make it bootable, and clears the previous + - saves itself to disk to remember what partition - (slice) has been selected so to use it as the default on the - next boot + + saves itself to disk to remember what partition (slice) + has been selected so to use it as the default on the next + boot + - loads the first sector of the selected partition - (slice) into memory and jumps there + + loads the first sector of the selected partition (slice) + into memory and jumps there + What kind of data should reside on the very first sector of a bootable partition (slice), in our case, a FreeBSD slice? As you may have already guessed, it is boot2. - @@ -424,7 +442,6 @@ struct bootinfo { __exec((caddr_t)addr, RB_BOOTINFO | (opts & RBX_MASK), MAKEBOOTDEV(dev_maj[dsk.type], 0, dsk.slice, dsk.unit, dsk.part), 0, 0, 0, VTOP(&bootinfo)); - @@ -518,13 +535,15 @@ NON_GPROF_ENTRY(btext) and stores the struct bootinfo structure into the kernel memory. + identify_cpu - + This functions tries to find out what CPU it is running on, storing the value found in a variable _cpu. + create_pagetables @@ -784,7 +803,6 @@ struct gate_descriptor *idt = &idt0[0]; /* interrupt descriptor table */ /usr/include/machine/pcb.h and has a process's information specific to the i386 architecture, such as registers values. -