1 2013-02-21 Nigel Croxon <nigel.croxon@hp.com>
2 * Change from Peter Jones <pjones@redhat.com>
3 - Previously we were incorrectly passing 3 functions with
4 the System V ABI to UEFI functions as EFI ABI functions.
5 Mark them as EFIAPI so the compiler will (in our new
6 GNU_EFI_USE_MS_ABI world) use the correct ABI.
7 - These need to be EFIAPI functions because in some cases
8 they call ST->ConOut->OutputString(), which is an EFIAPI
9 function. (Which means that previously in cases that
10 needed "cdecl", these didn't work right.)
11 - If the compiler version is new enough, and GNU_EFI_USE_MS_ABI
12 is defined, use the function attribute ms_abi on everything
13 defined with "EFIAPI". Such calls will no longer go through
14 efi_call*, and as such will be properly type-checked.
15 - Honor PREFIX and LIBDIR correctly when passed in during the build.
16 - Add machine type defines for i386, arm/thumb, ia64, ebc, x86_64.
17 - __STDC_VERSION__ never actually gets defined unless there's a
18 --std=... line. So we were accidentally defining lots of c99
19 types ourself. Since it's 2012, use --std=c11 where appropriate,
20 and if it's defined and we're using gcc, actually include gcc's
22 - New test application added: route80h. This is a test program
23 for PciIo. It routes ioport 80h on ICH10 to PCI. This is also
24 useful on a very limited set of hardware to enable use of
25 a port 80h debug card.
26 - New test applcation added: modelist. This lists video modes
27 the GOP driver is showing us.
28 * Change from Finnbarr Murphy
29 - https://sourceforge.net/p/gnu-efi/feature-requests/2/
30 Please add the following status codes to <efierr.h>
31 EFI_INCOMPATIBLE_VERSION 25
32 EFI_SECURITY_VIOLATION 26
36 EFI_INVALID_LANGUAGE 32
37 EFI_COMPROMISED_DATA 33
38 * Change from SourceForge.net Bug report
39 - https://sourceforge.net/p/gnu-efi/bugs/5/
40 BufferSize is a UINT64 *. The file shipped with GNU EFI is from
41 1998 whereas the latest one is from 2004. I suspect Intel changed
42 the API in order handle 64-bit systems.
43 * Change from Felipe Contreras <felipe.contreras@gmail.com>
44 - The current code seems to screw the stack at certain points.
45 Multiple people have complained that gummiboot hangs right away,
46 which is in part the fault of gummiboot, but happens only
47 because the stack gets screwed. x86_64 EFI already aligns the
48 stack, so there's no need for so much code to find a proper
49 alignment, we always need to shift by 8 anyway.
50 * Change from A. Steinmetz
51 - https://sourceforge.net/p/gnu-efi/patches/1/
52 The patch prepares for elilo to support uefi pxe over ipv6
53 See uefi spec 2.3.1 errata c page 963 as reference.
54 Verfied on an ASUS Sabertooth X79 BIOS Rev. 2104 system which
55 is able to do an IPv6 UEFI PXE boot.
58 2012-09-21 Nigel Croxon <nigel.croxon@hp.com>
59 * Change from Peter Jones <pjones@redhat.com>
60 - EFI Block I/O protocol versions 2 and 3 provide more information
61 regarding physical disk layout, including alingment offset at the
62 beginning of the disk ("LowestAlignedLba"), logical block size
63 ("LogicalBlocksPerPhysicalBlock"), and optimal block transfer size
64 ("OptimalTransferLengthGranularity").
67 2012-04-30 Nigel Croxon <nigel.croxon@hp.com>
68 * Change from Matt Fleming <matt.fleming@intel.com>
69 - The .reloc section is now 4096-byte boundary for x86_64.
70 Without this patch the .reloc section will not adhere to
71 the alignment value in the FileAlignment field (512 bytes by
72 default) of the PE/COFF header. This results in a signed
73 executable failing to boot in a secure boot environment.
76 2011-12-12 Nigel Croxon <nigel.croxon@hp.com>
77 * Changes from Fenghua Yu <fenghua.yu@intel.com>
78 - This fixes redefined types compilation failure for tcc.c on x86_64 machines.
81 2011-11-15 Nigel Croxon <nigel.croxon@hp.com>
82 * Changes from Darren Hart <dvhart@linux.intel.com>
83 - Conditionally assign toolchain binaries to allow overriding them.
84 - Force a dependency on lib for gnuefi.
87 2011-08-23 Nigel Croxon <nigel.croxon@hp.com>
88 * Changes from Peter Jones <pjones@redhat.com>
89 - Add guarantee 16-byte stack alignment on x86_64.
90 - Add routine to make callbacks work.
91 - Add apps/tcc.efi to test calling convention.
94 2011-07-22 Nigel Croxon <nigel.croxon@hp.com>
95 * Changed Makefiles from GPL to BSD.
96 * Changes from Peter Jones <pjones@redhat.com>
97 - Add ifdefs for ia64 to mirror ia32 and x86-64 so that
98 one can build with GCC.
99 - Add headers for PciIo.
100 - Add the UEFI 2.x bits for EFI_BOOT_SERVICES
101 - Add an ignore for .note.GNU-stack section in X86-64 linker maps.
104 2011-04-07 Nigel Croxon <nigel.croxon@hp.com>
105 * Change license from GPL to BSD.
108 2009-09-12 Julien BLACHE <jb@jblache.org>
109 * Add support for FreeBSD.
112 2009-09-11 Julien BLACHE <jb@jblache.org>
113 * Fix elf_ia32_efi.lds linker script to be compatible with the new
114 linker behaviour. Patch from the RedHat bugzilla 492183.
116 2009-06-18 Nigel Croxon <nigel.croxon@hp.com>
119 2008-11-06 Nigel Croxon <nigel.croxon@hp.com>
120 * Fix to not having any relocations at all.
122 2008-09-18 Nigel Croxon <nigel.croxon@hp.com>
123 * Use LIBDIR in makefiles
125 * Fixes incorrect section attribute in crt0-efi-ia32.S
126 * Adds value EfiResetShutdown to enum EFI_RESET_TYPE
127 * Fixes a RAW warning in reloc_ia64.S
128 * Adds the USB HCI device path structure in the headers
129 patches were supplied by Peter Jones @ RedHat
131 2008-02-22 Nigel Croxon <nigel.croxon@hp.com>
132 * Added '-mno-red-zone' to x68_64 compiles.
133 Patch provided by Mats Andersson.
135 2008-01-23 Nigel Croxon <nigel.croxon@hp.com>
136 * release 3.0e to support x86_64
137 EFI calling convention, the stack should be aligned in 16 bytes
138 to make it possible to use SSE2 in EFI boot services.
139 This patch fixes this issue. Patch provided by Huang Ying from Intel.
141 2007-05-11 Nigel Croxon <nigel.croxon@hp.com>
142 * release 3.0d to support x86_64 from Chandramouli Narayanan
143 from Intel and based on 3.0c-1
145 2006-03-21 Stephane Eranian <eranian@hpl.hp.com>
146 * merged patch to support gcc-4.1 submitted by
147 Raymund Will from Novell/SuSE
149 2006-03-20 Stephane Eranian <eranian@hpl.hp.com>
150 * updated ia-64 and ia-32 linker scripts to
151 match latest gcc. The new gcc may put functions in
152 .text* sections. patch submitted by H.J. Lu from Intel.
154 2004-11-19 Stephane Eranian <eranian@hpl.hp.com>
155 * added patch to ignore .eh_frame section for IA-32. Patch
156 submitted by Jim Wilson
158 2004-09-23 Stephane Eranian <eranian@hpl.hp.com>
159 * added patch to discard unwind sections, newer toolchains
160 complained about them. Patch submitted by Jesse Barnes from SGI.
162 2003-09-29 Stephane Eranian <eranian@hpl.hp.com>
163 * updated elf_ia64_efi.lds to reflect new data sections
164 created by gcc-3.3. Patch provided by Andreas Schwab from Suse.
166 2003-06-20 Stephane Eranian <eranian@hpl.hp.com>
167 * updated elf_ia64_efi.lds and elf_ia32_efi.lds to include
168 new types data sections produced by recent version of gcc-3.x
170 2002-02-22 Stephane Eranian <eranian@hpl.hp.com>
172 * modified both IA-64 and IA-32 loader scripts to add support for the
173 new .rodata sections names (such as rodata.str2.8). Required
174 for new versions of gcc3.x.
176 2001-06-20 Stephane Eranian <eranian@hpl.hp.com>
178 * split gnu-efi package in two different packages: the libary+include+crt and the bootloader.
179 * removed W2U() hack and related files to get from wide-char to unicode.
180 * Use -fshort-wchar option for unicode.
181 * restructured Makefiles now install under INSTALLROOT.
183 2001-04-06 Stephane Eranian <eranian@hpl.hp.com>
185 * incorporated patches from David and Michael Johnston at Intel
186 to get the package to compile for IA-32 linux target.
188 * Fixed ELILO to compile for Ia-32 (does not execute yet, though):
189 Makefile and start_kernel() function.
191 2001-04-06 Andreas Schwab <schwab@suse.de>
194 get the timeout directive to do something. implemented the global
197 * Fix the efi_main() to deal with the -C option properly
199 2001-04-05 Stephane Eranian <eranian@hpl.hp.com>
201 * update efi library to latest EFI toolkit 1.02 as distributed
202 by Intel. Fixed header + library files to compile with GCC
204 * merged ELI and LILO (as of gnu-efi-1.1) together, mostly
205 taking the config file feature of ELI.
207 * renamed LILO to ELILO to make the distinction
209 * restructured code to make it easier to understand and maintain
211 * fixed FPSWA driver checking and loading: we try all possible
212 files and let the driver itself figure out if it is the most
214 * added support for compression (gzip) but keep support for plain
215 ELF image. ELILO autodetects the format
217 * change the way the kernel is invoked. Now we call it in
218 physical memory mode. This breaks the dependency between the
219 kernel code and the loader. No more lilo_start.c madness.
221 * changed the way the boot_params are passed. We don't use the
222 ZERO_PAGE_ADDR trick anymore. Instead we use EFI runtime memory.
223 The address of the structure is passed to the kernel in r28
226 * released as gnu-efi-2.0
228 2001-04-03 David Mosberger <davidm@hpl.hp.com>
230 * gnuefi/reloc_ia32.c (_relocate): Change return type from "void"
231 to "int". Return error status if relocation fails for some
234 * gnuefi/elf_ia32_efi.lds: Drop unneeded ".rel.reloc" section.
236 * gnuefi/crt0-efi-ia32.S (_start): Exit if _relocate() returns with
237 non-zero exit status.
239 * inc/ia32/efibind.h [__GNUC__]: Force 8-byte alignment for 64-bit
240 types as that is what EFI appears to be expecting, despite the
241 "#pragma pack()" at the beginning of the file!
243 2001-03-29 David Mosberger <davidm@hpl.hp.com>
245 * gnuefi/reloc_ia32.c: Add a couple of defines to work around
246 libc/efilib collision on uint64_t et al.
247 (_relocate): Use ELF32_R_TYPE() instead of ELFW(R_TYPE)().
249 * gnuefi/crt0-efi-ia32.S (dummy): Add a dummy relocation entry.
251 2001-03-29 David Mosberger <davidm@hpl.hp.com>
253 * gnuefi/reloc_ia32.c: Add a couple of defines to work around
254 libc/efilib collision on uint64_t et al.
255 (_relocate): Use ELF32_R_TYPE() instead of ELFW(R_TYPE)().
257 * gnuefi/crt0-efi-ia32.S (dummy): Add a dummy relocation entry.
259 2000-10-26 David Mosberger <davidm@hpl.hp.com>
261 * gnuefi/elf_ia64_efi.lds: Mention .rela.sdata.
263 * Make.defaults (CFLAGS): Remove -nostdinc flags so we can pick
264 up the C compiler's stdarg.h.
266 * inc/stdarg.h: Remove this file. It's not correct for gcc (nor
267 most other optimizing compilers).
269 2000-10-10 Stephane Eranian <eranian@hpl.hp.com>
271 * cleaned up the error message and printing of those.
272 * added support to load the FPSWA from a file in case support is not
273 present in the firmware already
274 * fixed split_args() to do the right thing when you have leading spaces
276 * changed the argify() function to rely on \0 instead of LoadOptionSize
277 as the field seems to be broken with current firmware
278 * bumped version to 1.0
280 2000-10-04 David Mosberger <davidm@hpl.hp.com>
282 * gnuefi/reloc_ia64.S: Reserve space for up to 750 function descriptors.
284 * gnuefi/elf_ia64_efi.lds: Add .sdata section for small data and
285 put __gp in the "middle" of it.
287 * gnuefi/crt0-efi-ia64.S (_start): Use movl/add to load
288 gp-relative addresses that could be out of the range of the addl
290 * gnuefi/reloc_ia64.S (_relocate): Ditto.
292 * apps/Makefile: Remove standard rules and include Make.rules instead.
293 * lilo/Makefile: Ditto.
295 * Make.rules: New file.
297 2000-08-04 Stephane Eranian <eranian@hpl.hp.com>
298 * released version 0.9
299 * incorporated ACPI changes for Asuza by NEC < kouchi@hpc.bs1.fc.nec.co.jp>
300 * added support for initrd (-i option) original ELI code from Bill Nottingham <notting@redhat.com>)
302 * got rid of #ifdef LILO_DEBUG and uses macro instead
303 * fix a few extra memory leaks in create_boot_params()
304 * added exit capability just before starting the kernel
306 2000-06-22 David Mosberger <davidm@hpl.hp.com>
308 * gnuefi/elf_ia64_efi.lds: Add .srodata, .ctors, .IA64.unwind,
309 .IA64.unwind_info to .data section and .rela.ctors to .rela
312 2000-04-03 David Mosberger <davidm@hpl.hp.com>
314 * lilo/lilo.c (LILO_VERSION): Up version number to 0.9.
316 * gnuefi/elf_ia64_efi.lds: Include .IA_64.unwind and
317 .IA_64.unwind_info in .data segment to avoid EFI load error
318 "ImageAddress: pointer outside of image" error due to the .dynsym
319 relocations against these sections.
321 * ChangeLog: Moved from lilo/ChangeLogs.
323 * gnuefi/reloc_ia64.S: fixed typo: .space directive had constant
324 100 hardcoded instead of using MAX_FUNCTION_DESCRIPTORS
327 Fri Mar 17 15:19:18 PST 2000 Stephane Eranian <eranian@hpl.hp.com>
330 * replace the getopt.c with new version free with better license
331 * created a documentation file
332 * fix a couple of memory leaks
334 * created a separate directory for lilo in the gnu-efi package.
335 * added support for the BOOT_IMAGE argument to kernel
336 * default is to build natively now