mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
MIPS support.
* doc/multiboot2.h (GRUB_MULTIBOOT_ARCHITECTURE_I386): Removed leftover GRUB_ prefix. (MULTIBOOT_ARCHITECTURE_MIPS32): New constant. * doc/multiboot.texi (MIPS machine state): New section. (Header magic fields): New possible value of arcitecture field.
This commit is contained in:
1 parent
971c0f24c2
commit
50a4d243bd
3 files changed
+41
-2
No files matched your search
@@ -1,3 +1,13 @@
|
||||
2010-04-03 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
MIPS support.
|
||||
|
||||
* doc/multiboot2.h (GRUB_MULTIBOOT_ARCHITECTURE_I386): Removed leftover
|
||||
GRUB_ prefix.
|
||||
(MULTIBOOT_ARCHITECTURE_MIPS32): New constant.
|
||||
* doc/multiboot.texi (MIPS machine state): New section.
|
||||
(Header magic fields): New possible value of arcitecture field.
|
||||
|
||||
2010-03-28 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* doc/multiboot.texi: Removed the promise of BIOS availability.
|
||||
|
||||
+29
-1
@@ -392,6 +392,7 @@ The field @samp{architecture} specifies the Central Processing Unit
|
||||
Instruction Set Architecture. Since @samp{magic} isn't a palindrome
|
||||
it already specifies the endianness ISAs differing only in endianness
|
||||
recieve the same ID. @samp{0} means 32-bit (protected) mode of i386.
|
||||
@samp{4} means 32-bit MIPS.
|
||||
|
||||
@item header_length
|
||||
The field @samp{header_length} specifies the Length of multiboot header
|
||||
@@ -601,7 +602,34 @@ If this tag is present modules must be page aligned.
|
||||
|
||||
|
||||
@node Machine state
|
||||
@section Machine state
|
||||
@section MIPS machine state
|
||||
|
||||
When the boot loader invokes the operating system, the machine
|
||||
must have the following state:
|
||||
|
||||
@table @samp
|
||||
@item R4 (also known as A0)
|
||||
Must contain the magic value @samp{0x36d76289}; the presence of this
|
||||
value indicates to the operating system that it was loaded by a
|
||||
Multiboot-compliant boot loader (e.g. as opposed to another type of
|
||||
boot loader that the operating system can also be loaded from).
|
||||
|
||||
@item R5 (also known as A1)
|
||||
Must contain the 32-bit physical address of the Multiboot
|
||||
information structure provided by the boot loader (@pxref{Boot
|
||||
information format}).
|
||||
@end table
|
||||
|
||||
All other processor registers and flag bits are undefined. This
|
||||
includes, in particular:
|
||||
|
||||
@table @samp
|
||||
@item R29/SP
|
||||
The OS image must create its own stack as soon as it needs one.
|
||||
|
||||
@end table
|
||||
|
||||
@section I386 machine state
|
||||
|
||||
When the boot loader invokes the 32-bit operating system, the machine
|
||||
must have the following state:
|
||||
|
||||
+2
-1
@@ -61,7 +61,8 @@
|
||||
#define MULTIBOOT_HEADER_TAG_FRAMEBUFFER 5
|
||||
#define MULTIBOOT_HEADER_TAG_MODULE_ALIGN 6
|
||||
|
||||
#define GRUB_MULTIBOOT_ARCHITECTURE_I386 0
|
||||
#define MULTIBOOT_ARCHITECTURE_I386 0
|
||||
#define MULTIBOOT_ARCHITECTURE_MIPS32 4
|
||||
#define MULTIBOOT_HEADER_TAG_OPTIONAL 1
|
||||
|
||||
#define MULTIBOOT_CONSOLE_FLAGS_CONSOLE_REQUIRED 1
|
||||
|
||||
Reference in new issue
Block a user