ChangeLog 52 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324
  1. Updated Changelog
  2. Signed-off-by: Nigel Croxon <[email protected]>
  3. commit 37d7bee82a627999563069b090866076e055a871
  4. Author: Nigel Croxon <[email protected]>
  5. Date: Thu May 14 12:38:39 2015 -0400
  6. Added some missing error code descriptions
  7. Signed-off-by: Peter Jones <[email protected]>
  8. Signed-off-by: Nigel Croxon <[email protected]>
  9. commit dae0b4b0b0d522caecf09123db2cf0250c37a169
  10. Author: Nigel Croxon <[email protected]>
  11. Date: Thu May 14 12:20:51 2015 -0400
  12. Turns out we actually need setjmp in one of gnu-efi's prominent
  13. users, and it seems to make more sense to put it here than in
  14. the application.
  15. All of these are derived from the Tiano code, but I re-wrote the
  16. x86_64 one because we use the ELF psABI calling conventions instead
  17. of the MS ABI calling conventions. Which is to say you probably
  18. shouldn't setjmp()/longjmp() between functions with EFIAPI (aka
  19. __attribute__((ms_abi))) and those without.
  20. Signed-off-by: Peter Jones <[email protected]>
  21. Signed-off-by: Nigel Croxon <[email protected]>
  22. commit b5a8e93cec396381a6d2beee022abbf50100f2fd
  23. Author: Nigel Croxon <[email protected]>
  24. Date: Fri Apr 10 08:49:50 2015 -0400
  25. Bump version to 3.0.2
  26. Signed-off-by: Nigel Croxon <[email protected]>
  27. commit 01c9f11ed5ad55661e8fc8a3eee35c578564754b
  28. Author: Nigel Croxon <[email protected]>
  29. Date: Fri Apr 10 08:46:40 2015 -0400
  30. Fix ARM32 and AARCH64 builds
  31. Without these added into SUBDIRS the initplat.c compilation will fail.
  32. Signed-off-by: Koen Kooi <[email protected]>
  33. Acked-by: Ard Biesheuvel <[email protected]>
  34. Signed-off-by: Nigel Croxon <[email protected]>
  35. commit dada63fd3de148c6f8551d253355c113547cd5a0
  36. Author: Nigel Croxon <[email protected]>
  37. Date: Mon Mar 23 10:41:43 2015 -0400
  38. [PATCH] _SPrint: fix NULL termination
  39. maxlen is the maximum string length not the buffer size.
  40. Signed-off-by: Jeremy Compostella <[email protected]>
  41. Signed-off-by: Nigel Croxon <[email protected]>
  42. commit ce7098fb52e5fd4d16038964d029eb759f28eaaf
  43. Author: Nigel Croxon <[email protected]>
  44. Date: Thu Feb 19 11:22:45 2015 -0500
  45. Enable out-of-tree building
  46. This patch enables building gnu-efi outside of the source tree.
  47. That in turn enables building for multiple architectures in parallel.
  48. The build directory is controlled by the OBJDIR make variable. It
  49. defaults to the value of ARCH, and can be overridden from the command
  50. line.
  51. This patch also cleans up some doubled slashes between INSTALLROOT
  52. and PREFIX.
  53. Signed-off-by: Jonathan Boeing <[email protected]>
  54. Signed-off-by: Nigel Croxon <[email protected]>
  55. commit f64cef26270bfbe04f038da33f95ae3f14c071bc
  56. Author: Nigel Croxon <[email protected]>
  57. Date: Tue Jan 6 15:49:50 2015 -0500
  58. Since we're keeping this in git, it'd be nice not to see a bunch
  59. of make targets in 'status'
  60. Signed-off-by: Peter Jones <[email protected]>
  61. Signed-off-by: Nigel Croxon <[email protected]>
  62. commit 322efb6b21ed0a5e42e8f124fd22bf0f8dbf01ae
  63. Author: Nigel Croxon <[email protected]>
  64. Date: Mon Jan 5 13:20:43 2015 -0500
  65. version number changed from VERSION = 3.0u to VERSION = 3.0.1
  66. Signed-off-by: Nigel Croxon <[email protected]>
  67. commit 09027207f7c18af6caa45a744fc15c90b2a829db
  68. Author: Nigel Croxon <[email protected]>
  69. Date: Mon Jan 5 13:13:22 2015 -0500
  70. From: Pete Batard <[email protected]>
  71. Date: Wed, 10 Dec 2014 21:08:34 +0000
  72. Subject: [PATCH] fixes for MSVC compilation
  73. These fixes are needed to address the following error and warnings when compiling the library part
  74. using Visual Studio 2013 Community Edition (as in https://github.com/pbatard/uefi-simple):
  75. * "lib\x86_64\math.c(49): error C4235: nonstandard extension used : '_asm' keyword not supported
  76. on this architecture"
  77. * "lib\print.c(98): error C2059: syntax error : '('" due to placement of EFIAPI macro
  78. * "lib\cmdline.c(94): warning C4090: 'function' : different 'const' qualifiers"
  79. * "lib\smbios.c(25): warning C4068: unknown pragma"
  80. * Also update macro definitions in "inc\<arch>\efibind.h" for MSVC
  81. Signed-off-by: Pete Batard <[email protected]>
  82. Signed-off-by: Nigel Croxon <[email protected]>
  83. commit 15805ff38b83a72c2c7c96a24bd642ee1176d819
  84. Author: Nigel Croxon <[email protected]>
  85. Date: Tue Nov 25 14:23:21 2014 -0500
  86. Add README.git file. Instructions on how to archive.
  87. Signed-off-by: Nigel Croxon <[email protected]>
  88. commit b868aa75669723b7e32f46524822e17e388fe2ba
  89. Author: Nigel Croxon <[email protected]>
  90. Date: Tue Nov 25 13:26:45 2014 -0500
  91. This patch makes generating releases from git a very simple process; you
  92. simply edit the makefile's "VERSION" line to the new version, commit
  93. that as its own commit, and do: "make test-archive". That'll make a
  94. file in the current directory gnu-efi-$VERSION.tar.bz2 , with its top
  95. level directory gnu-efi-$VERSION/ and the source tree under that.
  96. Once you've tested that and you're sure it's what you want to release,
  97. you do "make archive", which will tag a release in git and generate a
  98. final tarball from it. You then push to the archive, being sure to
  99. include the tag:
  100. git push origin master:master --tags
  101. And upload the archive wherever it's supposed to go.
  102. Signed-off-by: Peter Jones <[email protected]>
  103. Signed-off-by: Nigel Croxon <[email protected]>
  104. commit 530d68ba191850edafc6da22cb2df55bec0c5fa5
  105. Author: Nigel Croxon <[email protected]>
  106. Date: Tue Nov 25 10:09:50 2014 -0500
  107. The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it.
  108. Signed-off-by: Peter Jones <[email protected]>
  109. Signed-off-by: Nigel Croxon <[email protected]>
  110. commit 00bd66ef46b59a1623a293491a8b2c65a6d61975
  111. Author: Nigel Croxon <[email protected]>
  112. Date: Mon Nov 24 14:33:09 2014 -0500
  113. FreeBSD's binutils doesn't have "-j <glob>" support, so we need to
  114. include non-globbed versions of .rel/.rela individually.
  115. Signed-off-by: Peter Jones <[email protected]>
  116. Signed-off-by: Bill Paul <[email protected]>
  117. Signed-off-by: Nigel Croxon <[email protected]>
  118. commit 56eb64d3c06854b9b68d61e3c2d3bdf6ff2a9853
  119. Author: Nigel Croxon <[email protected]>
  120. Date: Mon Nov 24 14:27:14 2014 -0500
  121. Right now we wind up trying to build gnuefi/.o from a source file that's
  122. an empty string. This is caused by the macros trying to generate
  123. install rules, but there's no real reason to have all that anyway. So
  124. just have some static install rules that are simpler and don't generate
  125. stuff on the fly.
  126. Signed-off-by: Peter Jones <[email protected]>
  127. Signed-off-by: Nigel Croxon <[email protected]>
  128. commit 65e28a90a7be9e990b360286cea31e63319217fb
  129. Author: Nigel Croxon <[email protected]>
  130. Date: Mon Nov 24 12:17:45 2014 -0500
  131. Add current OsIndications values.
  132. Signed-off-by: Peter Jones <[email protected]>
  133. Signed-off-by: Nigel Croxon <[email protected]
  134. commit be231055ce14d17610f0d7b6133a87b99a22662b
  135. Author: Nigel Croxon <[email protected]>
  136. Date: Mon Nov 24 12:15:34 2014 -0500
  137. Add the QueryVariableInfo() API.
  138. Signed-off-by: Peter Jones <[email protected]>
  139. Signed-off-by: Nigel Croxon <[email protected]>
  140. commit 60efb7a2939b65a01e95aa8b535f1b756d984fba
  141. Author: Nigel Croxon <[email protected]>
  142. Date: Mon Nov 24 12:13:23 2014 -0500
  143. Add the capsule API.
  144. Signed-off-by: Peter Jones <[email protected]>
  145. Signed-off-by: Nigel Croxon <[email protected]>
  146. commit ef08b655d1f8dfbd9a0f3a86d5685b24695ef12f
  147. Author: Nigel Croxon <[email protected]>
  148. Date: Mon Nov 17 16:05:42 2014 -0500
  149. Fix Table Header misspelling. Change from EFI_TABLE_HEARDER to
  150. EFI_TABLE_HEADER.
  151. Signed-Off-By: Nigel Croxon <[email protected]>
  152. commit 370cce41da3fff41ba38feb1262002aff2d85ffd
  153. Author: Nigel Croxon <[email protected]>
  154. Date: Thu Nov 6 14:41:40 2014 -0500
  155. If CROSS_COMPILE is set, ignore the ARCH value supplied on the
  156. command line and use the target machine of the cross compiler.
  157. Signed-off-by: Ard Biesheuvel <[email protected]>
  158. Signed-off-by: Nigel Croxon <[email protected]>
  159. commit d32fb845433ff6fb38e81ae0d9273454e7d18197
  160. Author: Nigel Croxon <[email protected]>
  161. Date: Thu Nov 6 14:30:03 2014 -0500
  162. Allow reuse of this file beyond GPL compatible software,
  163. update the license of crt0-efi-aarch64.S to dual 2-clause BSD/GPLv2+.
  164. Signed-off-by: Ard Biesheuvel <[email protected]>
  165. Signed-off-by: Nigel Croxon <[email protected]>
  166. commit aa1df67f48f3c035fa8891e1bb311ec21500d6d9
  167. Author: Nigel Croxon <[email protected]>
  168. Date: Tue Oct 21 11:08:47 2014 -0400
  169. Add the missing Variable attributes
  170. From: Jeremy Compostella <[email protected]>
  171. Date: Mon, 13 Oct 2014 17:50:50 +0200
  172. Subject: [PATCH] Add the missing Variable attributes
  173. Signed-off-by: Jeremy Compostella <[email protected]>
  174. Signed-off-by: Nigel Croxon <[email protected]>
  175. commit 5706dff09364cbbec37f47e2fe1350747f631d74
  176. Author: Nigel Croxon <[email protected]>
  177. Date: Tue Aug 26 10:54:22 2014 -0400
  178. From: David Decotigny <[email protected]>
  179. Date: Mon, 25 Aug 2014 13:28:49 -0700
  180. Subject: [PATCH] document that binutils >= 2.24 needed.
  181. commit ac983081 "Add support for non-PE/COFF capable objcopy" depends
  182. on objcopy accepting wildcards for the section names. This feature is
  183. available only with binutils >= 2.24 (binutils 2e62b7218 "PR
  184. binutils/15033").
  185. Signed-off-by: David Decotigny <[email protected]>
  186. Signed-off-by: Nigel Croxon <[email protected]>
  187. commit 6c10e225bc759d69af520a551b9d7b37f3ae0a82
  188. Author: Nigel Croxon <[email protected]>
  189. Date: Mon Aug 25 08:51:23 2014 -0400
  190. From: David Decotigny <[email protected]>
  191. Date: Thu, 31 Jul 2014 18:19:16 -0700
  192. Subject: [PATCH 5/5] allow to use external stdarg.h
  193. in cases we use gnu-efi together with other libs that define stdarg.h,
  194. break the tie by telling gnu-efi to use that stdarg.h .
  195. Signed-off-by: David Decotigny <[email protected]>
  196. Signed-off-by: Nigel Croxon <[email protected]>
  197. commit 16d65c0669258c8044e3549b2d9eb0cf0eb08f5a
  198. Author: Nigel Croxon <[email protected]>
  199. Date: Tue Aug 19 12:07:00 2014 -0400
  200. From: Ard Biesheuvel <[email protected]>
  201. Date: Mon, 11 Aug 2014 15:39:16 +0200
  202. Subject: [PATCH] Add support for 32-bit ARM
  203. This adds support for 32-bit ARM using an approach similar to the one used for
  204. 64-bit ARM (AArch64), i.e., it does not rely on an objcopy that is aware of EFI
  205. or PE/COFF, but lays out the entire PE/COFF header using the assembler.
  206. In the 32-bit ARM case (which does not have a division instruction), some code
  207. has been imported from the Linux kernel to perform the division operations in
  208. software.
  209. Signed-off-by: Ard Biesheuvel <[email protected]>
  210. Signed-off-by: Nigel Croxon <[email protected]>
  211. commit b28143d4fb4f6969dc0c87c853d3527d889951d7
  212. Author: Nigel Croxon <[email protected]>
  213. Date: Fri Aug 8 15:54:19 2014 -0400
  214. Updated Changelog
  215. Signed-off-by: Nigel Croxon <[email protected]>
  216. commit 1525190354f5faac33015e17c9ba7ea2bb2be35b
  217. Author: Nigel Croxon <[email protected]>
  218. Date: Fri Aug 8 15:35:09 2014 -0400
  219. From: Ard Biesheuvel <[email protected]>
  220. Date: Fri, 8 Aug 2014 18:16:59 +0200
  221. Subject: [PATCH 4/4] Add support for 64-bit ARM (AArch64)
  222. This adds support for 64-bit ARM (AArch64) environments. Since there is no
  223. EFI-capable objcopy for this platform, this contains a manually laid out
  224. PE/COFF header using the assembler.
  225. In addition, it includes the relocation bits, some string functions that GCC
  226. assumes are available and other glue to hold it all together.
  227. This can be cross built using
  228. make CROSS_COMPILE=aarch64-linux-gnu-
  229. Signed-off-by: Ard Biesheuvel <[email protected]>
  230. Signed-off-by: Nigel Croxon <[email protected]>
  231. commit ac983081525f9483941517dfb53cf8d0163d49c0
  232. Author: Nigel Croxon <[email protected]>
  233. Date: Fri Aug 8 15:32:26 2014 -0400
  234. From: Ard Biesheuvel <[email protected]>
  235. Date: Fri, 8 Aug 2014 17:53:42 +0200
  236. Subject: [PATCH 3/4] Add support for non-PE/COFF capable objcopy
  237. Introduce HAVE_EFI_OBJCOPY and set it if objcopy for $ARCH support PE/COOF and
  238. EFI, i.e., it supports --target efi-[app|bsdrv|rtdrv] options. Use it to decide
  239. whether to invoke objcopy with those options or use the linker to populate the
  240. PE/COFF header.
  241. Signed-off-by: Ard Biesheuvel <[email protected]>
  242. Signed-off-by: Nigel Croxon <[email protected]>
  243. commit fb063f0f65543b3e2bf55a39d5aa70b17a98c65e
  244. Author: Nigel Croxon <[email protected]>
  245. Date: Fri Aug 8 15:26:38 2014 -0400
  246. From: Ard Biesheuvel <[email protected]>
  247. Date: Fri, 8 Aug 2014 17:37:36 +0200
  248. Subject: [PATCH 2/4] Add support for cross compilation
  249. This changes the logic that defines ARCH (and HOSTARCH) to take CROSS_COMPILE
  250. into account. Also, $prefix is not assigned, so that the default will be what
  251. is on the path rather than hardcoded in /usr/bin.
  252. This results in the build doing the right thing if CROSS_COMPILE is set in the
  253. environment and no ARCH or prefix options are passed to make, aligning it with
  254. most other CROSS_COMPILE compatible projects.
  255. Signed-off-by: Ard Biesheuvel <[email protected]>
  256. Signed-off-by: Nigel Croxon <[email protected]>
  257. commit 7a98d83fc32de6cf0b1ce5e12dfe80690f29fb3f
  258. Author: Nigel Croxon <[email protected]>
  259. Date: Fri Aug 8 15:25:03 2014 -0400
  260. From: Ard Biesheuvel <[email protected]>
  261. Date: Fri, 8 Aug 2014 16:50:45 +0200
  262. Subject: [PATCH 1/4] Restrict GNU_EFI_USE_MS_ABI GCC version test to x86_64
  263. The version test only applies to x86_64 builds, so no need to do it
  264. for other archs.
  265. Signed-off-by: Ard Biesheuvel <[email protected]>
  266. Signed-off-by: Nigel Croxon <[email protected]>
  267. commit f42974dd9a7d0ea690d293f88396abd289f0014c
  268. Author: Nigel Croxon <[email protected]>
  269. Date: Fri Aug 8 15:21:16 2014 -0400
  270. From: David Decotigny <[email protected]>
  271. Date: Thu, 31 Jul 2014 13:42:23 -0700
  272. Subject: [PATCH 4/4] Use Shell protocols to retrieve argc/argv, when
  273. available.
  274. New header files efishellintf.h efishellparm.h are coming from EDK
  275. II, initial location and license at top of files. Only modifications:
  276. - efishellintf.h: s/EFI_FILE_PROTOCOL/EFI_FILE/ + expand BITx macros (1<<x)
  277. - efishellparm.h: typedef VOID *SHELL_FILE_HANDLE to avoid including
  278. ShellBase.h
  279. - both: removed extern EFI_GUID variable decls
  280. This also adds apps/t8.c, a simple demo.
  281. Signed-off-by: David Decotigny <[email protected]>
  282. Signed-off-by: Nigel Croxon <[email protected]>
  283. commit a61fa058e9a87f966de3342b8c95fdbdcb007827
  284. Author: Nigel Croxon <[email protected]>
  285. Date: Fri Aug 8 15:17:32 2014 -0400
  286. From: David Decotigny <[email protected]>
  287. Date: Thu, 31 Jul 2014 13:41:52 -0700
  288. Subject: [PATCH 3/4] document format of LoadedImage::LoadOptions data
  289. Signed-off-by: David Decotigny <[email protected]>
  290. Signed-off-by: Nigel Croxon <[email protected]>
  291. commit 2f440200c855154f929d28971b2fd702ea7a207a
  292. Author: Nigel Croxon <[email protected]>
  293. Date: Fri Aug 8 15:15:59 2014 -0400
  294. From: David Decotigny <[email protected]>
  295. Date: Thu, 31 Jul 2014 13:39:37 -0700
  296. Subject: [PATCH 2/4] Use OpenProtocol instead of HandleProtocol
  297. UEFI 2.x recommends OpenProtocol instead of HandleProtocol.
  298. Signed-off-by: David Decotigny <[email protected]>
  299. Signed-off-by: Nigel Croxon <[email protected]>
  300. commit 7f173da1e54f8cfe4c7c7c091ab6585af07b25ce
  301. Author: Nigel Croxon <[email protected]>
  302. Date: Fri Aug 8 15:14:26 2014 -0400
  303. From: David Decotigny <[email protected]>
  304. Date: Thu, 31 Jul 2014 13:30:07 -0700
  305. Subject: [PATCH 1/4] move cmdline parser to its own file
  306. Signed-off-by: David Decotigny <[email protected]>
  307. Signed-off-by: Nigel Croxon <[email protected]>
  308. commit 0ad8fb87cbc59f58675b18253ad802ba51f1d132
  309. Author: Nigel Croxon <[email protected]>
  310. Date: Wed Jul 30 15:06:36 2014 -0400
  311. From: David Decotigny <[email protected]>
  312. Date: Mon, 28 Jul 2014 21:28:50 -0700
  313. Subject: [PATCH 3/3] make cmdline parsing a 1st class citizen
  314. Refactor ParseCmdline and apps/Alloc+FreePages to factorize
  315. boilerplate and move the new parser to the main API.
  316. Signed-off-by: David Decotigny <[email protected]>
  317. Signed-off-by: Nigel Croxon <[email protected]>
  318. commit ff7ec964f2c0de0cfc4b52cfdd356003450f28bf
  319. Author: Nigel Croxon <[email protected]>
  320. Date: Wed Jul 30 15:05:28 2014 -0400
  321. From: David Decotigny <[email protected]>
  322. Date: Mon, 28 Jul 2014 21:00:52 -0700
  323. Subject: [PATCH 2/3] Avoid buffer overflow while parsing the cmdline args
  324. Signed-off-by: David Decotigny <[email protected]>
  325. Signed-off-by: Nigel Croxon <[email protected]>
  326. commit 8d86ee202a9bb553375f56ae1d2944818112b68b
  327. Author: Nigel Croxon <[email protected]>
  328. Date: Wed Jul 30 15:04:44 2014 -0400
  329. From: David Decotigny <[email protected]>
  330. Date: Mon, 28 Jul 2014 21:01:35 -0700
  331. Subject: [PATCH 1/3] Fix cmdline parser
  332. The cmdline parser would not return the correct number of args, would
  333. allocate one too many. Also make it clear from the declaration that we
  334. expect a suitably lare argv.
  335. Signed-off-by: David Decotigny <[email protected]>
  336. Signed-off-by: Nigel Croxon <[email protected]>
  337. commit 1ec094bfaf46a610a740dadc0150bf457dd72345
  338. Author: Nigel Croxon <[email protected]>
  339. Date: Wed Jul 23 09:54:25 2014 -0400
  340. From: Julian Klode <[email protected]>
  341. Date: Mon, 21 Jul 2014 14:26:23 -0400
  342. Subject: [PATCH] inc/efistdarg.h: Use gcc builtins instead of stdarg.h or broken stubs
  343. We cannot use stdarg.h, as this breaks applications compiling
  344. with -nostdinc because those will not find the header.
  345. We also cannot use the stubs, as they just produce broken code,
  346. as seen in the gummiboot 45-1 Debian release.
  347. Signed-off-by: Julian Klode <[email protected]>
  348. Signed-off-by: Nigel Croxon <[email protected]>
  349. commit 6caab22f23434f41f42cfe7591d9a7ae66de9f0a
  350. Author: Nigel Croxon <[email protected]>
  351. Date: Thu Jun 19 10:39:23 2014 -0400
  352. From: Laszlo Ersek <[email protected]>
  353. Date: Mon, 2 Jun 2014 23:26:48 +0200
  354. Subject: [PATCH] always observe EFIAPI calling convention when calling
  355. STO.SetAttribute
  356. We have to consider the following cases wrt. the PRINT_STATE.Output and
  357. PRINT_STATE.SetAttr EFIAPI function pointers, especially when building for
  358. x86_64 with gcc:
  359. (1) The compiler is new enough, and EFIAPI actually ensures the Microsoft
  360. calling convention. In this case everything happens to work fine even
  361. if we forget uefi_call_wrapper(), because the wrapper would expand to
  362. a normal C function call anyway.
  363. (2) Otherwise (ie. gcc is old), EFIAPI expands to nothing, and we must
  364. take into account the called function's origin:
  365. (2a) If the callee that is declared EFIAPI is *defined* inside gnu-efi,
  366. then EFIAPI means nothing for the callee too, so caller and callee
  367. only understand each other if the caller intentionally omits
  368. uefi_call_wrapper().
  369. (2b) If the callee that is declared EFIAPI is defined by the platform
  370. UEFI implementation, then the caller *must* use
  371. uefi_call_wrapper().
  372. The PRINT_STATE.Output EFIAPI function pointer is dereferenced correctly:
  373. the PFLUSH() distinguishes cases (2a) from (2b) by using IsLocalPrint().
  374. However use of the PRINT_STATE.SetAttr EFIAPI function pointer is not
  375. always correct:
  376. - The PSETATTR() helper function always relies on the wrapper (case (2b)).
  377. This is correct, because PRINT_STATE.SetAttr always points to a
  378. platform-provided function.
  379. - The DbgPrint() function contains two incorrect calls: they mistakenly
  380. assume case (2a) (or case (1)), even though the pointer always points to
  381. a platform function, implying (2b). (The error is masked in case (1).)
  382. Fix them.
  383. Signed-off-by: Laszlo Ersek <[email protected]>
  384. Signed-off-by: Nigel Croxon <[email protected]>
  385. commit ecfd1ded9a799c3a572d4eb7fbb52582fe4d3390
  386. Author: Nigel Croxon <[email protected]>
  387. Date: Tue Jun 10 12:59:09 2014 -0400
  388. Add VPoolPrint Function
  389. Equivalent to PoolPrint but using a va_list parameter
  390. Signed-off-by: Sylvain Chouleur <[email protected]>
  391. Signed-off-by: Nigel Croxon <[email protected]>
  392. commit f16d93f3b9e314336a387a3885c7fd2f176c41d3
  393. Author: Nigel Croxon <[email protected]>
  394. Date: Fri May 16 11:33:51 2014 -0400
  395. Revert "The prototype of DbgPrint() is incorrect, at the end of "inc/efidebug.h"."
  396. A problem was found compiling on GCC 4.8.
  397. This reverts commit 644898eabc06c8efaa3aa54f84cdd468960a2f6c.
  398. commit 644898eabc06c8efaa3aa54f84cdd468960a2f6c
  399. Author: Nigel Croxon <[email protected]>
  400. Date: Wed May 14 09:09:47 2014 -0400
  401. The prototype of DbgPrint() is incorrect, at the end of "inc/efidebug.h".
  402. Consequently, when your program calls DbgPrint() via the DEBUG() macro,
  403. it fails to set up the stack correctly (it does not pass the arguments
  404. through the ellipsis (...) according to the EFIAPI calling convention).
  405. However, va_start() inside DbgPrint() *assumes* that stack.
  406. Signed-off-by: Laszlo Ersek <[email protected]>
  407. Signed-off-by: Nigel Croxon <[email protected]>
  408. commit 8921ba2fc5f6163bdad3b5902c5d9d638415dde0
  409. Author: Nigel Croxon <[email protected]>
  410. Date: Mon Apr 14 18:49:23 2014 -0400
  411. Cleaned up compile warnings.
  412. Signed-off-by: Nigel Croxon <[email protected]>
  413. commit 42cca551dbf1c0be9e02e8d3d3c417ce35749638
  414. Author: Nigel Croxon <[email protected]>
  415. Date: Mon Apr 14 14:04:11 2014 -0400
  416. Module lib/ParseCmdLine.c has errors, it incorrectly mixes "char" and "CHAR16"
  417. and uses a pointer to argv[] like it's argv[]. The compiler only issues
  418. warnings though. Here is a patch to remove compiler warnings and make the
  419. code behave.
  420. Signed-off-by: Bernard Burette <[email protected]>
  421. Signed-off-by: Nigel Croxon <[email protected]>
  422. commit 4e8460f1aedd2724de876be5b154eb5752bfada5
  423. Author: Nigel Croxon <[email protected]>
  424. Date: Mon Apr 14 13:53:03 2014 -0400
  425. Here is a very small patch to remove a compiler warning when processing lib/smbios.c.
  426. Signed-off-by: Bernard Burette <[email protected]>
  427. Signed-off-by: Nigel Croxon <[email protected]>
  428. commit 6a0875ca2fcb67e7d1a1e2d15f3bcc645329dc75
  429. Author: Nigel Croxon <[email protected]>
  430. Date: Mon Apr 14 13:45:16 2014 -0400
  431. Here is a very small patch to remove compiler warning in function
  432. "LibLocateHandleByDiskSignature()" because the "Start" variable is
  433. give a value which is not used.
  434. Signed-off-by: Bernard Burette <[email protected]>
  435. Signed-off-by: Nigel Croxon <[email protected]>
  436. commit d5f35dfb8008ba65bcc641559accd9bc13386ef9
  437. Author: Nigel Croxon <[email protected]>
  438. Date: Mon Apr 14 13:40:29 2014 -0400
  439. Here is a very small patch to remove *~ files in include diretory.
  440. Signed-off-by: Bernard Burette <[email protected]>
  441. Signed-off-by: Nigel Croxon <[email protected]>
  442. commit 1a04669a7bb022984c9b54a0f73d7d67a2540fb7
  443. Author: Nigel Croxon <[email protected]>
  444. Date: Mon Apr 14 12:45:57 2014 -0400
  445. Here is a patch for "DevicePathToStr()" to display device path according to UEFI 2 specification.
  446. The path is in the two files inc/efidevp.h and lib/dpath.c.
  447. It also add the Sata device path and removes the "/?" path for unknown device paths.
  448. Signed-off-by: Bernard Burette <[email protected]>
  449. Signed-off-by: Nigel Croxon <[email protected]>
  450. commit 3c62e78556aea01e9798380cd46794c6ca09d4bd
  451. Author: Nigel Croxon <[email protected]>
  452. Date: Tue Apr 1 10:26:44 2014 -0400
  453. Removed GPL code setjmp_ia32.S, setjmp_ia64.S, setjmp_x86_64.S
  454. Not used anymore.
  455. Signed-off-by: Nigel Croxon <[email protected]>
  456. commit f9baa4f622cf34576d73e00d4a774a31f0f81fd7
  457. Author: Nigel Croxon <[email protected]>
  458. Date: Mon Mar 31 08:37:56 2014 -0400
  459. Remove incumbent GPL 'debian' subdiretory.
  460. Update ChangeLog
  461. Signed-off-by: Nigel Croxon <[email protected]>
  462. Changelog format change from here and above to 'git log' style.
  463. 2014-04-01 Nigel Croxon <[email protected]>
  464. Removed GPL code setjmp_ia32.S, setjmp_ia64.S, setjmp_x86_64.S
  465. Not used anymore.
  466. Signed-off-by: Nigel Croxon <[email protected]>
  467. 2014-03-17 Nigel Croxon <[email protected]>
  468. Add support for the simple pointer and absolute pointer protocols
  469. Signed-off-by: John Cronin <[email protected]>
  470. Signed-off-by: Nigel Croxon <[email protected]>
  471. 2014-03-14 Nigel Croxon <[email protected]>
  472. Trying to recurse into subdirectories of object files may lead
  473. to an error if the directory doesn't exist. Even when cleaning.
  474. Signed-off-by: Sylvain Gault <[email protected]>
  475. Signed-off-by: Nigel Croxon <[email protected]>
  476. 2014-03-14 Nigel Croxon <[email protected]>
  477. Make install used to copy files unconditionnally to their
  478. destination. However, if the destination is used by another
  479. Makefile, it will always see modified files. "install" target
  480. now only updates the files when they need to.
  481. Signed-off-by: Sylvain Gault <[email protected]>
  482. Signed-off-by: Nigel Croxon <[email protected]>
  483. 2014-02-13 Nigel Croxon <[email protected]>
  484. Patch GNU-EFI to remove the ELILO code
  485. Signed-off-by: Jerry Hoemann <[email protected]>
  486. Signed-off-by: Nigel Croxon <[email protected]>
  487. 2014-02-13 Nigel Croxon <[email protected]>
  488. Initialize Status before calling GrowBuffer()
  489. Status must be initialized before calling GrowBuffer() as it may
  490. otherwise be uninitialized or set to EFI_BUFFER_TOO_SMALL by
  491. other functions.
  492. Signed-off-by: Gene Cumm <[email protected]>
  493. Signed-off-by: Nigel Croxon <[email protected]>
  494. 2014-01-23 Nigel Croxon <[email protected]>
  495. These changes allow manually overridden SRCDIR (current source
  496. directory) and TOPDIR (top of source tree) to separate the
  497. build directory from the source tree.
  498. Signed-off-by: Gene Cumm <[email protected]>
  499. Signed-off-by: Nigel Croxon <[email protected]>
  500. 2014-01-16 Nigel Croxon <[email protected]>
  501. compilation: fix uninitialized variables warning
  502. Signed-off-by: Jeremy Compostella <[email protected]>
  503. Signed-off-by: Nigel Croxon <[email protected]>
  504. 2014-01-13 Nigel Croxon <[email protected]>
  505. Implement VSPrint function, prints a formatted unicode string to a buffer.
  506. Signed-off-by: Jeremy Compostella <[email protected]>
  507. Signed-off-by: Nigel Croxon <[email protected]>
  508. 2014-01-10 Nigel Croxon <[email protected]>
  509. Created lib/argify.c and inc/argify.h containing the function argify.
  510. It contains verbatim copy of the comment at beginning of file from
  511. elilo.
  512. There was no COPYING file in the elilo source that the comment refers to.
  513. Signed-off-by: Jerry Hoemann <[email protected]>
  514. Signed-off-by: Nigel Croxon <[email protected]>
  515. 2014-01-08 Nigel Croxon <[email protected]>
  516. The information needed is not really the host architecture as given by
  517. the kernel arch. The information actually needed is the default target
  518. of gcc.
  519. Signed-off-by: Sylvain Gault <[email protected]>
  520. Signed-off-by: Nigel Croxon <[email protected]>
  521. 2013-10-11 Nigel Croxon <[email protected]>
  522. Added support for SetVariable to store volatile variable,
  523. and SetNVVariable to store non volatile variable.
  524. Signed-off-by: Sylvain Chouleur <[email protected]>
  525. Signed-off-by: Nigel Croxon <[email protected]>
  526. 2013-10-07 Nigel Croxon <[email protected]>
  527. Atoi needs to have consistent declaration/definition.
  528. Signed-off-by: Nigel Croxon <[email protected]>
  529. 2013-10-07 Nigel Croxon <[email protected]>
  530. if you have a function that takes const arguments and then
  531. e.g. tries to copy StrCmp, gcc will give you warnings about those
  532. calls, and the warnings are right. These clutter up other things
  533. you might miss that you should be more concered about.
  534. You could work around it through vigorous typecasting
  535. to non-const types, but why should you have to? All of these
  536. functions are regorously defined as not changing their input
  537. - it is const, and should be marked as such.
  538. Signed-off-by: Peter Jones <[email protected]>
  539. 2013-10-02 Nigel Croxon <[email protected]>
  540. Added two simple applications to allocate/free memory at EFI.
  541. Used to test/find memory fragmentation issues linux.
  542. Signed-off-by: Jerry Hoemann <[email protected]>
  543. Signed-off-by: Nigel Croxon <[email protected]>
  544. 2013-06-25 Nigel Croxon <[email protected]>
  545. Sample boot service driver.
  546. Signed-off-by: David Decotigny <[email protected]>
  547. 2013-06-25 Nigel Croxon <[email protected]>
  548. Date: Tue Jun 25 08:47:03 2013 -0400
  549. Be more pedantic when linking, don't allow duplicate symbols,
  550. abort upon first error. Also make sure linker script comes
  551. last for apps.
  552. Signed-off-by: David Decotigny <[email protected]>
  553. 2013-06-25 Nigel Croxon <[email protected]>
  554. Fix compilation on x86_64 without HAVE_USE_MS_ABI
  555. make -C apps would fail on tcc.c because uefi_call_wrapper()
  556. doesn't deal correctly with efi_callO-type invocation.
  557. Signed-off-by: David Decotigny <[email protected]>
  558. 2013-06-12 Nigel Croxon <[email protected]>
  559. Fix typo when disabling mno-mmx
  560. Signed-Off-By: Nigel Croxon <[email protected]>
  561. 2013-06-12 Nigel Croxon <[email protected]>
  562. Disable MMX and SSE
  563. GCC 4.8.0 adds some optimizations that will use movups/movaps (and use
  564. %xmm* registers) when they're faster, and of course that won't work at
  565. all since UEFI firmwares aren't guaranteed to initialize the mmx/sse
  566. instructions.
  567. This will be even more annoying, since most UEFI firmwares don't
  568. initialize the #DE or #UD trap handlers, and your backtrace will be a
  569. random path through uninitialized memory, occasionally including
  570. whatever address the IDT has for #UD, but also addresses like "0x4" and
  571. "0x507" that you don't normally expect to see in your call path.
  572. Signed-off-by: Peter Jones <[email protected]>
  573. Author: Nigel Croxon <[email protected]>
  574. Date: Wed Jun 12 10:29:40 2013 -0400
  575. bug in make 3.82 expand to odd values
  576. Some Makefiles tickle a bug in make 3.82 that cause libefi.a
  577. and libgnuefi.a dependencies to expand to the odd values:
  578. libefi.a: boxdraw.o) smbios.o) ...
  579. libgnuefi.a(reloc_x86_64.o:
  580. The patch replaces libgnuefi.a($(OBJS)) & libefi.a($(OBJS))
  581. with an equivalent expansion that should work with any make
  582. that supports $(patsubst).
  583. Author: Nigel Croxon <[email protected]>
  584. Date: Wed Jun 12 09:53:01 2013 -0400
  585. support .text.* sections on x86_64
  586. Group them in .text. Also add vague linkage sections in .text.
  587. Signed-off-by: David Decotigny <[email protected]>
  588. Author: Nigel Croxon <[email protected]>
  589. Date: Wed Jun 12 09:51:36 2013 -0400
  590. cleanup and fix Make.defaults
  591. Reorder variables in Make.defaults so that they are grouped by
  592. functions. Also fixed ifeq (x,y) to have required syntax and make it
  593. work for ARCH amd64->x86_64 renaming on BSD. Also provides top-level
  594. Makefile with a "mkvars" target that displays effective variables.
  595. Signed-off-by: David Decotigny <[email protected]>
  596. Author: Nigel Croxon <[email protected]>
  597. Date: Wed Jun 12 09:47:16 2013 -0400
  598. automatically determine number of uefi_call_wrapper() args on x86_64
  599. Instead of asking developers to explicitly pass the number of
  600. parameters to the functions that get called, we determine them
  601. automatically at preprocessing time. This should result in more
  602. robust code.
  603. Argument va_num is now ignored in x86_64 code, both with and
  604. without HAVE_USE_MS_ABI.
  605. Credits to the macro magic given in the comments.
  606. Signed-off-by: David Decotigny <[email protected]>
  607. Author: Nigel Croxon <[email protected]>
  608. Date: Wed Jun 12 09:38:10 2013 -0400
  609. fix parameter-passing corruption on x86_64 for >= 5 args
  610. On x86_64 without HAVE_USE_MS_ABI support, uefi_call_wrapper() is a
  611. variadic function. Parameters >=5 are copied to the stack and, when
  612. passed small immediate values (and possibly other parameters), gcc
  613. would emit a movl instruction before calling uefi_call_wrapper(). As a
  614. result, only the lower 32b of these stack values are significant, the
  615. upper 32b potentially contain garbage. Considering that
  616. uefi_call_wrapper() assumes these arguments are clean 64b values
  617. before calling the efi_callX() trampolines, the latter may be passed
  618. garbage. This makes calling functions like
  619. EFI_PCI_IO_PROTOCOL.Mem.Read()/Write() or BS->OpenProtocol() quite
  620. unreliable.
  621. This patch fixes this by turning uefi_call_wrapper() into a macro that
  622. allows to expose the efi_callX() trampoline signatures to the callers,
  623. so that gcc can know upfront that it has to pass all arguments to
  624. efi_callX() as clean 64b values (eg. movq for immediates). The
  625. _cast64_efi_callX macros are just here to avoid a gcc warning, they do
  626. nothing otherwise.
  627. Signed-off-by: David Decotigny <[email protected]>
  628. Author: noxorc <[email protected]>
  629. Date: Wed May 15 15:26:16 2013 -0400
  630. - Removes the ElfW() macro usage from reloc_ia32.c and reloc_x86_64.c. These
  631. macros only exist in link.h on Linux. On FreeBSD, the equivalent macro is
  632. __ElfN(). But the macro usage is redundant. You're only going to compile the
  633. ia32 file for IA32 binaries and the x86_64 file for X64 binaries. If you had
  634. just one file built for both cases, then using the macro might make more
  635. sense.
  636. - Removes the "#define foo_t efi_foo_t" macros from reloc_ia32.c and
  637. reloc_x86_64.c.
  638. - Modifies inc/x86_64/efibind.h and inc/ia32/efibind.h to use the new
  639. definitions for uint64_t, int64_t and int8_t. The 64-bit types are now defined
  640. as:
  641. typedef int __attribute__((__mode__(__DI__))) int64_t;
  642. typedef unsigned int __attribute__((__mode__(__DI__))) uint64_t;
  643. This removes the conflict between the host types dragged in by elf.h and the
  644. type definitions in efibind.h that made the #define foo_t efi_foo_t" hack
  645. necessary. Also, int8_t is now defined as signed char instead of just char
  646. (assuming char == signed char is apparently not good enough).
  647. - Also modifies these files to use stdint.h instead of stdint-gcc.h. It's
  648. unclear if this is completely correct, but stdint-gcc.h is not present with
  649. all GCC installs, and if you use -std=c99 or later you will force this case to
  650. be hit. This also can break clang, which doesn't have a stdint-gcc.h at all.
  651. - Removes the #include of <link.h> from reloc_ia32.c and reloc_x86_64.c (since
  652. with the previous changes it's not needed anymore).
  653. - Places the #include of <elf.h> after #include <efi>/#include <efilib.h> so
  654. that we know the types will always be defined properly, in case you build on a
  655. system where <elf.h> doesn't automatically pull in the right header files to
  656. define all the needed types. (This actually happens on VxWorks. It's harmless
  657. elsewhere. If you don't care about VxWorks, you can leave this out.)
  658. - Modifies setjmp_ia32.S and setjmp_x86_64.S so to change "function" to
  659. @function. The clang compiler doesn't like the former. Clang and GCC both like
  660. the latter.
  661. - Modifles Make.defaults so that if ARCH is detected as "amd64," it's changed
  662. to "x86_64." It happens that uname -m on 64-bit FreeBSD reports the former
  663. rather than the latter, which breaks the build. This may also be the case on
  664. some other OSes. There's a way to force uname(1) to return x86_64 as the
  665. machine type, but this way is a little friendlier.
  666. - Creates gnuefi/elf_ia32_fbsd_efi.lds which specifies the object file type as
  667. elf-ia32-freebsd. This is required for building on FreeBSD/i386, not just
  668. FreeBSD/amd64.
  669. - Modifies apps/Makefile to always use
  670. $(TOPDIR)/gnuefi/elf_$(ARCH)_fbsd_efi.lds when building on either 32-bit or
  671. 64-bit FreeBSD instead of just for the x86_64 case.
  672. - Changed LDFLAGS in Make.defaults to include --no-undefined. This will cause
  673. linking to fail if there are any unsatisfied symbols when creating foo.so
  674. during any of the app builds, as opposed to just silently succeeding and
  675. producing an unusable binary.
  676. - Changed CFLAGS to include -ffreestanding -fno-stack-protector -fno-stack-
  677. check. This prevents clang from inserting a call to memset() when compiling
  678. the RtZeroMem() and RtSetMem() routines in lib/runtime/efirtlib.c and guards
  679. against the native compiler in some Linux distros from adding in stack
  680. checking code which relies on libc help that isn't present in the EFI runtime
  681. environment.
  682. This does the following:
  683. - Cleans up the ia32 and x86-64 relocation code a bit (tries to break the
  684. dependency between the host ELF headers and the EFI runtime environment)
  685. - Avoids the dependency on stdint-gcc.h which may not always be available
  686. - Allows GNU EFI to build out of the box on both FreeBSD/i386 and
  687. FreeBSD/amd64
  688. - Allows GNU EFI to build out of the box with either GCC or clang on
  689. FreeBSD/i386 and FreeBSD/amd64 9.0 and later.
  690. - Makes things a little easier to port to VxWorks
  691. - Avoids creating un-runable binaries with unresolved symbol definitions
  692. (which can be very confusing to debug)
  693. Author: noxorc <[email protected]>
  694. Date: Wed May 8 16:29:45 2013 -0400
  695. Add the definitions for TCP, UDP and IP, for both IPv4 and IPv6.
  696. 2013-05-02 Nigel Croxon <[email protected]>
  697. * Chnage from Matt Fleming <[email protected]>
  698. - Preparation for adding the networking protocol definitions.
  699. Add the service binding protocol.
  700. 2013-02-21 Nigel Croxon <[email protected]>
  701. * Change from Peter Jones <[email protected]>
  702. - Previously we were incorrectly passing 3 functions with
  703. the System V ABI to UEFI functions as EFI ABI functions.
  704. Mark them as EFIAPI so the compiler will (in our new
  705. GNU_EFI_USE_MS_ABI world) use the correct ABI.
  706. - These need to be EFIAPI functions because in some cases
  707. they call ST->ConOut->OutputString(), which is an EFIAPI
  708. function. (Which means that previously in cases that
  709. needed "cdecl", these didn't work right.)
  710. - If the compiler version is new enough, and GNU_EFI_USE_MS_ABI
  711. is defined, use the function attribute ms_abi on everything
  712. defined with "EFIAPI". Such calls will no longer go through
  713. efi_call*, and as such will be properly type-checked.
  714. - Honor PREFIX and LIBDIR correctly when passed in during the build.
  715. - Add machine type defines for i386, arm/thumb, ia64, ebc, x86_64.
  716. - __STDC_VERSION__ never actually gets defined unless there's a
  717. --std=... line. So we were accidentally defining lots of c99
  718. types ourself. Since it's 2012, use --std=c11 where appropriate,
  719. and if it's defined and we're using gcc, actually include gcc's
  720. stdint definitions.
  721. - New test application added: route80h. This is a test program
  722. for PciIo. It routes ioport 80h on ICH10 to PCI. This is also
  723. useful on a very limited set of hardware to enable use of
  724. a port 80h debug card.
  725. - New test applcation added: modelist. This lists video modes
  726. the GOP driver is showing us.
  727. * Change from Finnbarr Murphy
  728. - https://sourceforge.net/p/gnu-efi/feature-requests/2/
  729. Please add the following status codes to <efierr.h>
  730. EFI_INCOMPATIBLE_VERSION 25
  731. EFI_SECURITY_VIOLATION 26
  732. EFI_CRC_ERROR 27
  733. EFI_END_OF_MEDIA 28
  734. EFI_END_OF_FILE 31
  735. EFI_INVALID_LANGUAGE 32
  736. EFI_COMPROMISED_DATA 33
  737. * Change from SourceForge.net Bug report
  738. - https://sourceforge.net/p/gnu-efi/bugs/5/
  739. BufferSize is a UINT64 *. The file shipped with GNU EFI is from
  740. 1998 whereas the latest one is from 2004. I suspect Intel changed
  741. the API in order handle 64-bit systems.
  742. * Change from Felipe Contreras <[email protected]>
  743. - The current code seems to screw the stack at certain points.
  744. Multiple people have complained that gummiboot hangs right away,
  745. which is in part the fault of gummiboot, but happens only
  746. because the stack gets screwed. x86_64 EFI already aligns the
  747. stack, so there's no need for so much code to find a proper
  748. alignment, we always need to shift by 8 anyway.
  749. * Change from A. Steinmetz
  750. - https://sourceforge.net/p/gnu-efi/patches/1/
  751. The patch prepares for elilo to support uefi pxe over ipv6
  752. See uefi spec 2.3.1 errata c page 963 as reference.
  753. Verfied on an ASUS Sabertooth X79 BIOS Rev. 2104 system which
  754. is able to do an IPv6 UEFI PXE boot.
  755. * Release 3.0t
  756. 2012-09-21 Nigel Croxon <[email protected]>
  757. * Change from Peter Jones <[email protected]>
  758. - EFI Block I/O protocol versions 2 and 3 provide more information
  759. regarding physical disk layout, including alingment offset at the
  760. beginning of the disk ("LowestAlignedLba"), logical block size
  761. ("LogicalBlocksPerPhysicalBlock"), and optimal block transfer size
  762. ("OptimalTransferLengthGranularity").
  763. * Release 3.0r
  764. 2012-04-30 Nigel Croxon <[email protected]>
  765. * Change from Matt Fleming <[email protected]>
  766. - The .reloc section is now 4096-byte boundary for x86_64.
  767. Without this patch the .reloc section will not adhere to
  768. the alignment value in the FileAlignment field (512 bytes by
  769. default) of the PE/COFF header. This results in a signed
  770. executable failing to boot in a secure boot environment.
  771. * Release 3.0q
  772. 2011-12-12 Nigel Croxon <[email protected]>
  773. * Changes from Fenghua Yu <[email protected]>
  774. - This fixes redefined types compilation failure for tcc.c on x86_64 machines.
  775. * Release 3.0p
  776. 2011-11-15 Nigel Croxon <[email protected]>
  777. * Changes from Darren Hart <[email protected]>
  778. - Conditionally assign toolchain binaries to allow overriding them.
  779. - Force a dependency on lib for gnuefi.
  780. * Release 3.0n
  781. 2011-08-23 Nigel Croxon <[email protected]>
  782. * Changes from Peter Jones <[email protected]>
  783. - Add guarantee 16-byte stack alignment on x86_64.
  784. - Add routine to make callbacks work.
  785. - Add apps/tcc.efi to test calling convention.
  786. * Release 3.0m
  787. 2011-07-22 Nigel Croxon <[email protected]>
  788. * Changed Makefiles from GPL to BSD.
  789. * Changes from Peter Jones <[email protected]>
  790. - Add ifdefs for ia64 to mirror ia32 and x86-64 so that
  791. one can build with GCC.
  792. - Add headers for PciIo.
  793. - Add the UEFI 2.x bits for EFI_BOOT_SERVICES
  794. - Add an ignore for .note.GNU-stack section in X86-64 linker maps.
  795. * Release 3.0l
  796. 2011-04-07 Nigel Croxon <[email protected]>
  797. * Change license from GPL to BSD.
  798. * Release 3.0j
  799. 2009-09-12 Julien BLACHE <[email protected]>
  800. * Add support for FreeBSD.
  801. * Release 3.0i
  802. 2009-09-11 Julien BLACHE <[email protected]>
  803. * Fix elf_ia32_efi.lds linker script to be compatible with the new
  804. linker behaviour. Patch from the RedHat bugzilla 492183.
  805. 2009-06-18 Nigel Croxon <[email protected]>
  806. * Release 3.0h
  807. 2008-11-06 Nigel Croxon <[email protected]>
  808. * Fix to not having any relocations at all.
  809. 2008-09-18 Nigel Croxon <[email protected]>
  810. * Use LIBDIR in makefiles
  811. * Add setjmp/longjmp
  812. * Fixes incorrect section attribute in crt0-efi-ia32.S
  813. * Adds value EfiResetShutdown to enum EFI_RESET_TYPE
  814. * Fixes a RAW warning in reloc_ia64.S
  815. * Adds the USB HCI device path structure in the headers
  816. patches were supplied by Peter Jones @ RedHat
  817. 2008-02-22 Nigel Croxon <[email protected]>
  818. * Added '-mno-red-zone' to x68_64 compiles.
  819. Patch provided by Mats Andersson.
  820. 2008-01-23 Nigel Croxon <[email protected]>
  821. * release 3.0e to support x86_64
  822. EFI calling convention, the stack should be aligned in 16 bytes
  823. to make it possible to use SSE2 in EFI boot services.
  824. This patch fixes this issue. Patch provided by Huang Ying from Intel.
  825. 2007-05-11 Nigel Croxon <[email protected]>
  826. * release 3.0d to support x86_64 from Chandramouli Narayanan
  827. from Intel and based on 3.0c-1
  828. 2006-03-21 Stephane Eranian <[email protected]>
  829. * merged patch to support gcc-4.1 submitted by
  830. Raymund Will from Novell/SuSE
  831. 2006-03-20 Stephane Eranian <[email protected]>
  832. * updated ia-64 and ia-32 linker scripts to
  833. match latest gcc. The new gcc may put functions in
  834. .text* sections. patch submitted by H.J. Lu from Intel.
  835. 2004-11-19 Stephane Eranian <[email protected]>
  836. * added patch to ignore .eh_frame section for IA-32. Patch
  837. submitted by Jim Wilson
  838. 2004-09-23 Stephane Eranian <[email protected]>
  839. * added patch to discard unwind sections, newer toolchains
  840. complained about them. Patch submitted by Jesse Barnes from SGI.
  841. 2003-09-29 Stephane Eranian <[email protected]>
  842. * updated elf_ia64_efi.lds to reflect new data sections
  843. created by gcc-3.3. Patch provided by Andreas Schwab from Suse.
  844. 2003-06-20 Stephane Eranian <[email protected]>
  845. * updated elf_ia64_efi.lds and elf_ia32_efi.lds to include
  846. new types data sections produced by recent version of gcc-3.x
  847. 2002-02-22 Stephane Eranian <[email protected]>
  848. * release 3.0a
  849. * modified both IA-64 and IA-32 loader scripts to add support for the
  850. new .rodata sections names (such as rodata.str2.8). Required
  851. for new versions of gcc3.x.
  852. 2001-06-20 Stephane Eranian <[email protected]>
  853. * release 3.0
  854. * split gnu-efi package in two different packages: the libary+include+crt and the bootloader.
  855. * removed W2U() hack and related files to get from wide-char to unicode.
  856. * Use -fshort-wchar option for unicode.
  857. * restructured Makefiles now install under INSTALLROOT.
  858. 2001-04-06 Stephane Eranian <[email protected]>
  859. * incorporated patches from David and Michael Johnston at Intel
  860. to get the package to compile for IA-32 linux target.
  861. * Fixed ELILO to compile for Ia-32 (does not execute yet, though):
  862. Makefile and start_kernel() function.
  863. 2001-04-06 Andreas Schwab <[email protected]>
  864. * Fixed config.c to
  865. get the timeout directive to do something. implemented the global
  866. root= directive.
  867. * Fix the efi_main() to deal with the -C option properly
  868. 2001-04-05 Stephane Eranian <[email protected]>
  869. * update efi library to latest EFI toolkit 1.02 as distributed
  870. by Intel. Fixed header + library files to compile with GCC
  871. * merged ELI and LILO (as of gnu-efi-1.1) together, mostly
  872. taking the config file feature of ELI.
  873. * renamed LILO to ELILO to make the distinction
  874. * restructured code to make it easier to understand and maintain
  875. * fixed FPSWA driver checking and loading: we try all possible
  876. files and let the driver itself figure out if it is the most
  877. recent.
  878. * added support for compression (gzip) but keep support for plain
  879. ELF image. ELILO autodetects the format
  880. * change the way the kernel is invoked. Now we call it in
  881. physical memory mode. This breaks the dependency between the
  882. kernel code and the loader. No more lilo_start.c madness.
  883. * changed the way the boot_params are passed. We don't use the
  884. ZERO_PAGE_ADDR trick anymore. Instead we use EFI runtime memory.
  885. The address of the structure is passed to the kernel in r28
  886. by our convention.
  887. * released as gnu-efi-2.0
  888. 2001-04-03 David Mosberger <[email protected]>
  889. * gnuefi/reloc_ia32.c (_relocate): Change return type from "void"
  890. to "int". Return error status if relocation fails for some
  891. reason.
  892. * gnuefi/elf_ia32_efi.lds: Drop unneeded ".rel.reloc" section.
  893. * gnuefi/crt0-efi-ia32.S (_start): Exit if _relocate() returns with
  894. non-zero exit status.
  895. * inc/ia32/efibind.h [__GNUC__]: Force 8-byte alignment for 64-bit
  896. types as that is what EFI appears to be expecting, despite the
  897. "#pragma pack()" at the beginning of the file!
  898. 2001-03-29 David Mosberger <[email protected]>
  899. * gnuefi/reloc_ia32.c: Add a couple of defines to work around
  900. libc/efilib collision on uint64_t et al.
  901. (_relocate): Use ELF32_R_TYPE() instead of ELFW(R_TYPE)().
  902. * gnuefi/crt0-efi-ia32.S (dummy): Add a dummy relocation entry.
  903. 2001-03-29 David Mosberger <[email protected]>
  904. * gnuefi/reloc_ia32.c: Add a couple of defines to work around
  905. libc/efilib collision on uint64_t et al.
  906. (_relocate): Use ELF32_R_TYPE() instead of ELFW(R_TYPE)().
  907. * gnuefi/crt0-efi-ia32.S (dummy): Add a dummy relocation entry.
  908. 2000-10-26 David Mosberger <[email protected]>
  909. * gnuefi/elf_ia64_efi.lds: Mention .rela.sdata.
  910. * Make.defaults (CFLAGS): Remove -nostdinc flags so we can pick
  911. up the C compiler's stdarg.h.
  912. * inc/stdarg.h: Remove this file. It's not correct for gcc (nor
  913. most other optimizing compilers).
  914. 2000-10-10 Stephane Eranian <[email protected]>
  915. * cleaned up the error message and printing of those.
  916. * added support to load the FPSWA from a file in case support is not
  917. present in the firmware already
  918. * fixed split_args() to do the right thing when you have leading spaces
  919. before kernel name
  920. * changed the argify() function to rely on \0 instead of LoadOptionSize
  921. as the field seems to be broken with current firmware
  922. * bumped version to 1.0
  923. 2000-10-04 David Mosberger <[email protected]>
  924. * gnuefi/reloc_ia64.S: Reserve space for up to 750 function descriptors.
  925. * gnuefi/elf_ia64_efi.lds: Add .sdata section for small data and
  926. put __gp in the "middle" of it.
  927. * gnuefi/crt0-efi-ia64.S (_start): Use movl/add to load
  928. gp-relative addresses that could be out of the range of the addl
  929. offset.
  930. * gnuefi/reloc_ia64.S (_relocate): Ditto.
  931. * apps/Makefile: Remove standard rules and include Make.rules instead.
  932. * lilo/Makefile: Ditto.
  933. * Make.rules: New file.
  934. 2000-08-04 Stephane Eranian <[email protected]>
  935. * released version 0.9
  936. * incorporated ACPI changes for Asuza by NEC < [email protected]>
  937. * added support for initrd (-i option) original ELI code from Bill Nottingham <[email protected]>)
  938. * lots of cleanups
  939. * got rid of #ifdef LILO_DEBUG and uses macro instead
  940. * fix a few extra memory leaks in create_boot_params()
  941. * added exit capability just before starting the kernel
  942. 2000-06-22 David Mosberger <[email protected]>
  943. * gnuefi/elf_ia64_efi.lds: Add .srodata, .ctors, .IA64.unwind,
  944. .IA64.unwind_info to .data section and .rela.ctors to .rela
  945. section.
  946. 2000-04-03 David Mosberger <[email protected]>
  947. * lilo/lilo.c (LILO_VERSION): Up version number to 0.9.
  948. * gnuefi/elf_ia64_efi.lds: Include .IA_64.unwind and
  949. .IA_64.unwind_info in .data segment to avoid EFI load error
  950. "ImageAddress: pointer outside of image" error due to the .dynsym
  951. relocations against these sections.
  952. * ChangeLog: Moved from lilo/ChangeLogs.
  953. * gnuefi/reloc_ia64.S: fixed typo: .space directive had constant
  954. 100 hardcoded instead of using MAX_FUNCTION_DESCRIPTORS
  955. macro. Duh.
  956. 2000-03-17 Stephane Eranian <[email protected]>
  957. * Released 0.8
  958. * replace the getopt.c with new version free with better license
  959. * created a documentation file
  960. * fix a couple of memory leaks
  961. * code cleanups
  962. * created a separate directory for lilo in the gnu-efi package.
  963. * added support for the BOOT_IMAGE argument to kernel
  964. * default is to build natively now