Go to file
Ido Yariv a8c48ea7b7 Workaround QEMU's multiboot loading issue
When QEMU loads a multiboot image based on the ELF headers, it
calculates the total memory size subtracting the minimum address from
the maximum address in the program header.

While the IDT section is removed from the ELF, an empty segment in the
program header is still kept at IDT_LIST base address. Since the IDT
segment isn't contiguous with the loadable code segment, QEMU is tricked
into thinking the total memory size is larger than it really is.

To workaround this, change the address of the IDT section to the address
of the text section. This will make objcopy remove the extra segment
entirely when the IDT section is removed.

This could have been fixed in QEMU since this isn't a bug in Zephyr
per-se, but it will be easier to avoid specific QEMU versions
requirements.

Change-Id: I062b7d0fb8fccfe4d0d0b4cb0afc4667bbb7f7dd
Signed-off-by: Ido Yariv <idox.yariv@intel.com>
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Signed-off-by: Ido Yariv <ido@wizery.com>
2016-02-05 20:25:16 -05:00
arch x86: remove NANO_SOFT_IRQ from zephyr 2016-02-05 20:25:16 -05:00
boards kconfig: Add missing board definition 2016-02-05 20:25:16 -05:00
doc
drivers x86: remove NANO_SOFT_IRQ from zephyr 2016-02-05 20:25:16 -05:00
include x86: remove NANO_SOFT_IRQ from zephyr 2016-02-05 20:25:16 -05:00
kernel
lib
misc
net
samples rtc: Introduce QMSI RTC device driver 2016-02-05 20:25:16 -05:00
scripts
.checkpatch.conf
.gitattributes
.gitignore
.mailmap
Kbuild
Kconfig
Kconfig.zephyr
LICENSE
Makefile Workaround QEMU's multiboot loading issue 2016-02-05 20:25:16 -05:00
Makefile.inc
zephyr-env.sh