Re: Add TARGET_CFLAGS to efiemu link format test

2014-01-26 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 26.01.2014 23:29, Glenn Washburn wrote: > Its been a while since I've compiled grub using the latest git. When I > just did, the build now fails in configure when evaluating the efiemu > link format test (which was being automatically chosen by efiemu > option being guess

Add TARGET_CFLAGS to efiemu link format test

2014-01-26 Thread Glenn Washburn
Its been a while since I've compiled grub using the latest git. When I just did, the build now fails in configure when evaluating the efiemu link format test (which was being automatically chosen by efiemu option being guessed to "yes"). The proximate issue was that the test pr

Re: [PATCH] change --enable-efiemu to --enable-efiemu64

2009-08-28 Thread Vladimir 'phcoder' Serbinenko
o special that they are told > about it at the of the configure output.  Why it is more important that > efiemu32?  Why is efiemu64 only needed on the i386-pc platform? > > I believe efiemu64 is only more important from the implementation point > of view, as it requires an additional

Re: [PATCH] Replace ad-hoc format in efiemu (for variables) and XNU (for device tree) by environment variables

2009-08-24 Thread Vladimir 'phcoder' Serbinenko
vel mailing list >> Grub-devel@gnu.org >> http://lists.gnu.org/mailman/listinfo/grub-devel >> > > > > -- > Regards > Vladimir 'phcoder' Serbinenko > > Personal git repository: http://repo.or.cz/w/grub2/phcoder.git > -- Regards Vladimi

Re: [PATCH] Replace ad-hoc format in efiemu (for variables) and XNU (for device tree) by environment variables

2009-08-23 Thread Robert Millan
On Sat, Aug 22, 2009 at 04:33:13PM +0200, Vladimir 'phcoder' Serbinenko wrote: > [...] > + > +pkglib_MODULES += utf.mod > +utf_mod_SOURCES = lib/utf.c > +utf_mod_CFLAGS = $(COMMON_CFLAGS) > +utf_mod_LDFLAGS = $(COMMON_LDFLAGS) > [...] > +#include > + > +grub_ssize_t > +grub_utf8_to_utf16 (grub_uin

Re: [PATCH] Replace ad-hoc format in efiemu (for variables) and XNU (for device tree) by environment variables

2009-08-23 Thread Vladimir 'phcoder' Serbinenko
On Sun, Aug 23, 2009 at 12:57 PM, Robert Millan wrote: > On Sat, Aug 22, 2009 at 04:33:13PM +0200, Vladimir 'phcoder' Serbinenko wrote: >> [...] >> + >> +pkglib_MODULES += utf.mod >> +utf_mod_SOURCES = lib/utf.c >> +utf_mod_CFLAGS = $(COMMON_CFLAGS) >> +utf_mod_LDFLAGS = $(COMMON_LDFLAGS) >> [...]

[PATCH] Replace ad-hoc format in efiemu (for variables) and XNU (for device tree) by environment variables

2009-08-22 Thread Vladimir 'phcoder' Serbinenko
od_SOURCES = lib/$(target_cpu)/setjmp.S setjmp_mod_ASFLAGS = $(COMMON_ASFLAGS) setjmp_mod_LDFLAGS = $(COMMON_LDFLAGS) + +pkglib_MODULES += utf.mod +utf_mod_SOURCES = lib/utf.c +utf_mod_CFLAGS = $(COMMON_CFLAGS) +utf_mod_LDFLAGS = $(COMMON_LDFLAGS) diff --git a/efiemu/main.c b/efiemu/main.c ind

Re: [PATCH] change --enable-efiemu to --enable-efiemu64

2009-07-18 Thread Pavel Roskin
Why is efiemu64 only needed on the i386-pc platform? I believe efiemu64 is only more important from the implementation point of view, as it requires an additional test to be passed. But most users won't need efiemu64 at all. If we add efiemu compilation to the x86_64-efi support, efiemu32 w

Re: [PATCH] change --enable-efiemu to --enable-efiemu64

2009-07-18 Thread Robert Millan
u64): ... this > + * commands/i386/cpuid.c (grub_i386_cpuid_has_longmode): new function > + * conf/i386-pc.rmk (efiemu_mod_SOURCES): remove efiemu/i386/coredetect.c > + (efiemu32.o): always compile this target > + * configure.ac: change enable-efiemu to enable-efiemu64. > + Restrict efi

[PATCH] change --enable-efiemu to --enable-efiemu64

2009-07-17 Thread Vladimir 'phcoder' Serbinenko
-1,3 +1,23 @@ +2009-07-17 Vladimir Serbinenko + + Always compile efiemu32.o + + * Makefile.in (enable_efiemu): change to ... + (enable_efiemu64): ... this + * commands/i386/cpuid.c (grub_i386_cpuid_has_longmode): new function + * conf/i386-pc.rmk (efiemu_mod_SOURCES): rem

[PATCH 8/18] Eliminate nested function in efiemu core

2009-05-30 Thread Vladimir 'phcoder' Serbinenko
Instead of adding -fnested-functions to efiemu core compilation I simply removed the only nested functions it had (made it static) -- Regards Vladimir 'phcoder' Serbinenko diff --git a/efiemu/runtime/efiemu.c b/efiemu/runtime/efiemu.c index f73f843..7118813 100644 --- a/efiemu/runtim

Re: [PATCH] efiemu

2009-05-02 Thread Bean
Hi, There are a few problems with the build script, I'm fixing it now. First, the build rules for efiemu32.o: efiemu32.o: efiemu/runtime/efiemu.c $(CC) -c -m32 -DELF32 -o $@ -Wall -Werror efiemu/runtime/efiemu.c -nostdlib -O2 -Iefiemu/runtime -Iinclude This would break building f

Re: [PATCH] efiemu

2009-05-02 Thread Vladimir 'phcoder' Serbinenko
oder wrote: > >> Hello here is rediff & update of my efiemu patch. Now it's patched on top >> of following patch chain: >> bootmove->preboot->mmap->acpi >> Now to use it do ([32|64] means 32 for 32-bit version, 64 for 64-bit >> version

Re: [PATCH] efiemu

2009-04-15 Thread Joey Korkames
Sounds like grub needs a git server (with /~user/stuff.git dirs) I'll see about testing it with some various gear. Thanks -joey phcoder writes: Hello here is rediff & update of my efiemu patch. Now it's patched on top of following patch chain: bootmove->preboot->m

Re: Efiemu

2009-03-20 Thread phcoder
least some macros because it's able to load 64-bit efiemu from 32-bit mode and vice-versa. But GRUB_EFI can be replaced to a set of grub_autoefi_* aliases Also, perhaps you should just avoid linux_efiemu altogether. The efi linux loader contains some tricks that mostly make sense in app

Re: Efiemu

2009-03-01 Thread phcoder
;s able to load 64-bit efiemu from 32-bit mode and vice-versa. But GRUB_EFI can be replaced to a set of grub_autoefi_* aliases Also, perhaps you should just avoid linux_efiemu altogether. The efi linux loader contains some tricks that mostly make sense in apple efi firmware, and it might cause

Re: Efiemu

2009-03-01 Thread Bean
On Sun, Mar 1, 2009 at 6:49 PM, phcoder wrote: > Naming problem fixed >> >> Usage: >> First compile grub2 with this patch and efiemu runtime (in archive) > > Now it's compiled by normal make Hi, Thanks a lot for your effort, this could be the next major featu