aboutsummaryrefslogtreecommitdiff
path: root/cmd.h
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2012-03-26 15:27:00 -0400
committerAnthony Liguori <aliguori@us.ibm.com>2012-05-29 20:19:24 -0500
commit9c3a596a03cc10c2d9097f057b9ccb9d557a4d5f (patch)
tree32dd3d1afcf98f9bd08a901a2aff073dbe5678e8 /cmd.h
parentvga: fix vram double-mapping with -vga std and -M pc-0.12 (diff)
downloadqemu-kvm-9c3a596a03cc10c2d9097f057b9ccb9d557a4d5f.tar.gz
qemu-kvm-9c3a596a03cc10c2d9097f057b9ccb9d557a4d5f.tar.bz2
qemu-kvm-9c3a596a03cc10c2d9097f057b9ccb9d557a4d5f.zip
fix multiboot loading if load_end_addr == 0
The previous multiboot load code did not treat the case where load_end_addr was 0 specially. The multiboot specification says the following: * load_end_addr Contains the physical address of the end of the data segment. (load_end_addr - load_addr) specifies how much data to load. This implies that the text and data segments must be consecutive in the OS image; this is true for existing a.out executable formats. If this field is zero, the boot loader assumes that the text and data segments occupy the whole OS image file. Signed-off-by: Scott Moser <smoser@ubuntu.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'cmd.h')
0 files changed, 0 insertions, 0 deletions