|
From: | Sherry Zhang(BJ-RD) |
Subject: | Question about the boot protocol |
Date: | Thu, 30 Aug 2018 06:25:24 +0000 |
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.
|
[Prev in Thread] | Current Thread | [Next in Thread] |