All of lore.kernel.org
 help / color / mirror / Atom feed
* Question about the boot protocol
@ 2018-08-30  6:25 Sherry Zhang(BJ-RD)
  0 siblings, 0 replies; only message in thread
From: Sherry Zhang(BJ-RD) @ 2018-08-30  6:25 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 1207 bytes --]

Hi all,
Recently I have learned the grub2.02 source code.
Legacy BIOS
Target=I386-pc
Linux kernel Documents/x86/boot.txt :

(1)   16-bit  boot protocol

(2)   32-bit boot protocol:

(3)   64-bit boot protocol: 64-bit cpu/kernel/bootloader
Some questions about it.

Question 1: How do I check that grub2 is 16-bit, 32-bit or 64-bit?

Question 2: How do I see which boot protocol is adopted?

Question 3: What the different about efi-kernel?
Question 4: linux /boot/bzImage
The code for the protection mode was copied to 0x100000, and I found through debugging that it was the virtual address, and the physical address was 0x1000000, while the value of the bzImage header code32_start at 0x214/4  is 0x100000, is the value the physical address ?
And what the relationships between code32_start at 0x214/4 and pref_address at 0258/8?

Best regards,
Sherry Zhang


?????
?????????????????????????????????????????????????????
CONFIDENTIAL NOTE:
This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited.

[-- Attachment #2: Type: text/html, Size: 10569 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-08-30  6:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-30  6:25 Question about the boot protocol Sherry Zhang(BJ-RD)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.