phcoder
26de2bcdf2
2009-06-18 Vladimir Serbinenko <phcoder@gmail.com>
...
Fix build with Apple's toolchain. Part 1
* commands/i386/pc/drivemap_int13h.S: use assembly-time constants
for long calls
* configure.ac: remove a leftover AC_MSG_RESULT
(CFLAGS): don't add -Wl,--defsym,___main=0x8100 when building with
Apple's toolchain
2009-06-18 14:02:23 +00:00
phcoder
3a1acfe21d
2009-06-12 Vladimir Serbinenko <phcoder@gmail.com>
...
* commands/i386/pc/drivemap_int13h.S: add more comments
2009-06-12 18:22:38 +00:00
proski
3daba08cfa
Fix spacing
2009-06-12 06:12:38 +00:00
phcoder
63963d17d0
2009-06-11 Vladimir Serbinenko <phcoder@gmail.com>
...
Drivemap fixes
* commands/i386/pc/drivemap.c (grub_get_root_biosnumber_drivemap):
new function
(grub_get_root_biosnumber_saved): new variable
(GRUB_MOD_INIT): register grub_get_root_biosnumber_drivemap
(GRUB_MOD_FINI): unregister grub_get_root_biosnumber_drivemap
* commands/i386/pc/drivemap_int13h.S (grub_drivemap_handler): restore
%dx after the call if necessary
* conf/common.rmk (pkglib_MODULES): remove boot.mod
(boot_mod_SOURCES): remove
(boot_mod_CFLAGS): remove
(boot_mod_LDFLAGS): remove
* conf/i386-coreboot.rmk (pkglib_MODULES): add boot.mod
(boot_mod_SOURCES): new variable
(boot_mod_CFLAGS): likewise
(boot_mod_LDFLAGS): likewise
* conf/i386-efi.rmk: likewise
* conf/i386-ieee1275.rmk: likewise
* conf/i386-pc.rmk: likewise
* conf/powerpc-ieee1275.rmk: likewise
* conf/sparc64-ieee1275.rmk: likewise
* conf/x86_64-efi.rmk: likewise
* include/grub/i386/pc/biosnum.h: new file
* lib/i386/pc/biosnum.c: likewise
* loader/i386/bsd.c (grub_bsd_get_device): use grub_get_root_biosnumber
* loader/i386/multiboot.c (grub_multiboot_get_bootdev): likewise
* loader/i386/pc/chainloader.c (grub_chainloader_cmd): likewise
2009-06-11 16:13:39 +00:00
phcoder
3e32590112
2009-06-04 Vladimir Serbinenko <phcoder@gmail.com>
...
Absolute addressing through constant with Apple's cc
* kern/i386/pc/startup.S: Define necessary constants
and address through it when using ABS with Apple's CC
* boot/i386/pc/diskboot.S: likewise
* boot/i386/pc/boot.S: likewise
* boot/i386/pc/lnxboot.S: likewise
* boot/i386/pc/cdboot.S: likewise
* mmap/i386/pc/mmap_helper.S: likewise
* commands/i386/pc/drivemap_int13h.S: likewise
2009-06-04 20:01:19 +00:00
proski
5cb5c9c210
Remove incorrect comment that the code must be position independent.
2009-05-15 14:47:44 +00:00
chrfranke
cf353a4742
2009-05-14 Christian Franke <franke@computer.org>
...
* commands/i386/pc/drivemap_int13h.S: Add missing EXT_C for symbols.
This fixes build on Cygwin.
2009-05-14 21:56:46 +00:00
proski
3834887fb2
2009-05-14 Pavel Roskin <proski@gnu.org>
...
* commands/i386/pc/drivemap_int13h.S: Eliminate unconditional
jump. This saves two bytes, so the typical case of 2 swapped
drives would fit 32 bytes.
2009-05-14 13:43:13 +00:00
proski
4246b8a9e8
2009-05-13 Javier Martín <lordhabbit@gmail.com>
...
* commands/i386/pc/drivemap.c: New file - implement drivemap
command.
* commands/i386/pc/drivemap_int13h.S: New file - int13 handler.
* conf/i386-pc.rmk: Add drivemap.c and drivemap_int13h.S.
2009-05-14 01:23:49 +00:00