[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mistake in manual
From: |
Michael |
Subject: |
mistake in manual |
Date: |
Mon, 31 Mar 2008 17:20:33 +0300 |
Hello in the on-line manual
(http://www.gnu.org/software/grub/manual/multiboot/multiboot.html)
there is a mistake, IMHO.
For instance, section 3.1.1 claims:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 u32 mode_type if flags[2] is set
36 u32 width if flags[2] is set
40 u32 height if flags[2] is set
44 u32 depth if flags[2] is set
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
and section 3.1.2 supports it by saying:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if bit 2 in the `flags' word is set, information about the video mode
table (see Boot information format) must be available to the kernel.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
and still in section 3.3 there is a contradiction to what is written above:
+-------------------+
0 | flags | (required)
+-------------------+
4 | mem_lower | (present if flags[0] is set)
8 | mem_upper | (present if flags[0] is set)
+-------------------+
12 | boot_device | (present if flags[1] is set)
+-------------------+
16 | cmdline | (present if flags[2] is set)
+-------------------+
20 | mods_count | (present if flags[3] is set)
24 | mods_addr | (present if flags[3] is set)
+-------------------+
28 - 40 | syms | (present if flags[4] or
| | flags[5] is set)
+-------------------+
44 | mmap_length | (present if flags[6] is set)
48 | mmap_addr | (present if flags[6] is set)
+-------------------+
52 | drives_length | (present if flags[7] is set)
56 | drives_addr | (present if flags[7] is set)
+-------------------+
60 | config_table | (present if flags[8] is set)
+-------------------+
64 | boot_loader_name | (present if flags[9] is set)
+-------------------+
68 | apm_table | (present if flags[10] is set)
+-------------------+
72 | vbe_control_info | (present if flags[11] is set)
76 | vbe_mode_info |
80 | vbe_mode |
82 | vbe_interface_seg |
84 | vbe_interface_off |
86 | vbe_interface_len |
+-------------------+
so it makes it unclear if flags[2] (bit 2 of flags) controls command
line or video mode
and information, as well as it's unclear what flags[11] does then.
So what's right and what's wrong?
Also history/changelog speaks about version 0.7, whereas the version
of specification in
its title is 0.6.95.
-- Michael Kruglos
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- mistake in manual,
Michael <=