2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>

Allow a compilation without -mcmodel=large

	* kern/efi/mm.c (grub_efi_allocate_pages): don't allocate >4GiB
	when compiled without -mcmodel=large
	(filter_memory_map): remove memory post 4 GiB when compiled 
	without -mcmodel=large
	* configure.ac: fail gracefully and add -DMCMODEL_SMALL=1 to 
	TARGET_CFLAGS when -mcmodel=large isn't supported
This commit is contained in:
phcoder 2009-06-04 20:25:11 +00:00
parent e8df1d4eb3
commit c8600122db
3 changed files with 25 additions and 7 deletions

View file

@ -1,3 +1,14 @@
2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
Allow a compilation without -mcmodel=large
* kern/efi/mm.c (grub_efi_allocate_pages): don't allocate >4GiB
when compiled without -mcmodel=large
(filter_memory_map): remove memory post 4 GiB when compiled
without -mcmodel=large
* configure.ac: fail gracefully and add -DMCMODEL_SMALL=1 to
TARGET_CFLAGS when -mcmodel=large isn't supported
2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
Remove nested functions in efiemu core