Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https://github.com/pbatard/uefi-simple.git #2

Open
wants to merge 74 commits into
base: master
Choose a base branch
from

Commits on Dec 2, 2014

  1. update for Windows compilation and use the gnu-efi library

    * The gnu-efi library is used for convenience
    * Also use the Hello World example from
      http://wiki.osdev.org/User:Jnc100/UEFI_Bare_Bones
    pbatard committed Dec 2, 2014
    Configuration menu
    Copy the full SHA
    f0ac497 View commit details
    Browse the repository at this point in the history
  2. fix Linux compilation

    * Must use MinGW-w64 to compile libefi
    pbatard committed Dec 2, 2014
    Configuration menu
    Copy the full SHA
    b75d7ac View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2014

  1. add Visual Studio 2013 build capability

    * Now isn't _THAT_ nice! ;)
    pbatard committed Dec 8, 2014
    Configuration menu
    Copy the full SHA
    26d1c45 View commit details
    Browse the repository at this point in the history
  2. add QEMU debugging from Visual Studio

    * Use a vbscript for automatic download of the OVMF firmware
    * Also fix unwanted references to ia64 in gnu-efi
    pbatard committed Dec 8, 2014
    Configuration menu
    Copy the full SHA
    417a2f8 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2014

  1. fix main.c listed in the wrong MSVC category

    * also update comment from patch
    pbatard committed Dec 9, 2014
    Configuration menu
    Copy the full SHA
    72a6d90 View commit details
    Browse the repository at this point in the history
  2. more MSVC cleanup

    * Also optimize release for size
    pbatard committed Dec 9, 2014
    Configuration menu
    Copy the full SHA
    411cf31 View commit details
    Browse the repository at this point in the history
  3. improve VS debug script

    * Add HTTP call and make other calls more generic
    pbatard committed Dec 9, 2014
    Configuration menu
    Copy the full SHA
    7695bcf View commit details
    Browse the repository at this point in the history
  4. misc. improvements

    * Close QEMU on program exit (EFI shutdown)
    * Check for QEMU presence and other debug script improvements
    * Remove unneeded compilation options and increase warning level
    pbatard committed Dec 9, 2014
    Configuration menu
    Copy the full SHA
    97f8d44 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4a6df85 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2014

  1. only shutdown system on debug

    pbatard committed Dec 10, 2014
    Configuration menu
    Copy the full SHA
    d87b659 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0edc54c View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2014

  1. update main project file

    pbatard committed Dec 11, 2014
    Configuration menu
    Copy the full SHA
    bdbb4dc View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2015

  1. update gnu-efi to latest

    * And remove gnu-efi patch as it now includes our changes
    pbatard committed Jan 8, 2015
    Configuration menu
    Copy the full SHA
    15b0267 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2015

  1. Configuration menu
    Copy the full SHA
    7cc5ed7 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2015

  1. Configuration menu
    Copy the full SHA
    4db81e0 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2015

  1. Configuration menu
    Copy the full SHA
    76328c2 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2015

  1. add a check for gcc 4.7 or later

    * Also fix the entrypoint label
    pbatard committed Mar 13, 2015
    Configuration menu
    Copy the full SHA
    cc22f15 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2015

  1. update for Visual Studio 2015

    * As per https://msdn.microsoft.com/en-us/library/abx4dbyh.aspx, libcmt has been
      broken down in multiple libraries, which must be included for Debug compilation,
      else you get symbols not found errors.
    pbatard committed Sep 16, 2015
    Configuration menu
    Copy the full SHA
    866fed4 View commit details
    Browse the repository at this point in the history
  2. remove a few more warnings

    * NB: gnu-efi's 4091 warnings have been unsilenced as we sent a patch to the
      library authors to fix it there, and we'll update our ref once applied.
    pbatard committed Sep 16, 2015
    Configuration menu
    Copy the full SHA
    7e1a4e3 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2015

  1. update gnu-efi submodule to latest

    * This fixes a bunch of VS 2015 warnings
    pbatard committed Sep 23, 2015
    Configuration menu
    Copy the full SHA
    e83ceb6 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2016

  1. update OVMF download

    * Since SourceForge are being such ASSES about direct downloads...
    pbatard committed Jan 26, 2016
    Configuration menu
    Copy the full SHA
    c5fae8b View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2016

  1. Configuration menu
    Copy the full SHA
    a689163 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e7d3856 View commit details
    Browse the repository at this point in the history
  3. update gnu-efi to latest

    pbatard committed Mar 25, 2016
    Configuration menu
    Copy the full SHA
    8667074 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2016

  1. Configuration menu
    Copy the full SHA
    766e077 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2016

  1. various fixes

    * Update gnu-efi to latest for ARM
    * Fixes for IA32
    pbatard committed Mar 28, 2016
    Configuration menu
    Copy the full SHA
    3930e38 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2016

  1. Configuration menu
    Copy the full SHA
    e6312b1 View commit details
    Browse the repository at this point in the history
  2. update gnu-efi to latest and improve QEMU debugging

    * This should fix MinGW32 compilation
    pbatard committed Mar 29, 2016
    Configuration menu
    Copy the full SHA
    9732e54 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2016

  1. update gnu-efi to latest

    * Required for the next commit
    pbatard committed Apr 4, 2016
    Configuration menu
    Copy the full SHA
    5a0dd4d View commit details
    Browse the repository at this point in the history
  2. remove dependency to Kernel32.dll

    * When compiled with various checks, Visual Studio includes code to
      forcefully terminate the process if a check fails. It seems that this code
      depends on Kernel32.dll, resulting in invalid imports in Dependency
      Walker (SUBSYSTEM_EFI binaries should not depend on SUBSYSTEM_WIN32 DLLs),
      as well in validation errors when Secure Boot is involved.
    * This commit removes this as well as all library dependencies for x86.
    * A dependency to libcmt/libcmtd is still kept for ARM, due to missing
      mathematical calls, but this isn't expected to cause dependencies issues.
    * Closes #4
    schierlm authored and pbatard committed Apr 4, 2016
    Configuration menu
    Copy the full SHA
    30691d1 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2016

  1. remove potentially problematic optimizations

    * Optimizing for size may result in attempting to link with memset()
    pbatard committed Apr 5, 2016
    Configuration menu
    Copy the full SHA
    11a339f View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2016

  1. remove LCTG warning

    * Also simplify the definition of $(IntDir)
    pbatard committed Apr 6, 2016
    Configuration menu
    Copy the full SHA
    a824298 View commit details
    Browse the repository at this point in the history
  2. add libcmt dependency back

    * All things considered, it is likely that users of uefi-simple
      may run into situations where they need some of the mathematical
      functions provided by libcmt (as is the case with efifs), so add
      it back for good measure on x86_32 and x86_64.
    * Also further simplify additional library directories definition
    pbatard committed Apr 6, 2016
    Configuration menu
    Copy the full SHA
    4ba7991 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2016

  1. Configuration menu
    Copy the full SHA
    357c943 View commit details
    Browse the repository at this point in the history
  2. clean up Makefile

    pbatard committed Apr 14, 2016
    Configuration menu
    Copy the full SHA
    4df808c View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2016

  1. use -nostdlib everywhere and improve ARCH detection

    * Also update gnu-efi to latest
    pbatard committed Apr 18, 2016
    Configuration menu
    Copy the full SHA
    352322a View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2016

  1. fix ARM compilation on Linux

    * Also reduce the size of MinGW binaries
    pbatard committed Apr 19, 2016
    Configuration menu
    Copy the full SHA
    04e33bf View commit details
    Browse the repository at this point in the history
  2. finalize ARM gcc compilation fixes

    * gnu-efi's crt0 requires the use of 'efi_main' as the entrypoint
    pbatard committed Apr 19, 2016
    Configuration menu
    Copy the full SHA
    11a6c94 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2016

  1. VS debug parameters should be enclosed in quotes

    * Closes #5
    pbatard committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    91ab94e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6836b85 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2016

  1. work around nonworking keyboard input for QEMU/ARM on Windows

    * -device VGA enables you graphic output on ARM, but then the keyboard
      input does not work, and I'm not sure whether the issue is with the
      Linaro QEMU_EFI.fd firmware or QEMU itself.
    * By removing the VGA option and disabling all devices but serial, we
      force QEMU to default to serial, where keyboard input works.
    pbatard committed Apr 21, 2016
    Configuration menu
    Copy the full SHA
    04b22fd View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2016

  1. use UEFI architecture names for VS output

    * ia32, x64 and arm
    pbatard committed Apr 22, 2016
    Configuration menu
    Copy the full SHA
    7467fc4 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2016

  1. add Clang support for Visual Studio 2015

    * Note that the Clang version is set to use GCC extensions (not MSVC ones)
    pbatard committed Jun 28, 2016
    Configuration menu
    Copy the full SHA
    3683e80 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1465eb8 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2016

  1. update gnu-efi to latest

    * Also add -fno-builtin to Clang options (though that doesn't seem to do anything with C2/Clang)
    pbatard committed Jul 11, 2016
    Configuration menu
    Copy the full SHA
    d16bf01 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2016

  1. Configuration menu
    Copy the full SHA
    8ef9fd1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    552688d View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2016

  1. Configuration menu
    Copy the full SHA
    a512cc3 View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2016

  1. update gnu-efi to latest

    pbatard committed Aug 18, 2016
    Configuration menu
    Copy the full SHA
    d291258 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2016

  1. use BootServices->WaitForEvent()

    * Less CPU intensive than a loop
    pbatard committed Sep 13, 2016
    Configuration menu
    Copy the full SHA
    2baa2de View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2016

  1. Configuration menu
    Copy the full SHA
    0d057d2 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2016

  1. add AARCH64 support (Linux only)

    * Also update gnu-efi to latest
    pbatard committed Sep 20, 2016
    Configuration menu
    Copy the full SHA
    3250411 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2016

  1. Configuration menu
    Copy the full SHA
    34eafa3 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2016

  1. update gnu-efi to latest

    pbatard committed Nov 21, 2016
    Configuration menu
    Copy the full SHA
    a3d029a View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2017

  1. update to Visual Studio 2017

    * Visual Studio ARM compilation is now only supported with Clang
      (through a CRT that we had to craft ourselves - thanks Microsoft!!)
    pbatard committed Mar 28, 2017
    Configuration menu
    Copy the full SHA
    bbe3430 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    188f56f View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2017

  1. update gnu-efi to latest

    pbatard committed Mar 31, 2017
    Configuration menu
    Copy the full SHA
    376711b View commit details
    Browse the repository at this point in the history

Commits on May 15, 2017

  1. Configuration menu
    Copy the full SHA
    4d2e919 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2017

  1. update Clang's crt.c

    pbatard committed May 16, 2017
    Configuration menu
    Copy the full SHA
    0dac142 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2017

  1. fix broken QEMU 2.9 emulation on Windows

    * The default for QEMU is to mount -hd# virtual images as read-only. This does not appear
      to be an issue on Linux, and, up to 2.8, wasn't an issue on Windows either, but ever
      since version 2.9, the Windows binary images seems to have been compiled with a
      requirement to save the Non-volative environmental variables to the ESP by default. Of
      course, this means that, unless you add the 'rw' option to '-hda fat:image', QEMU will
      not start...
    * Thanks go to jjolig for the workaround
    * Closes #8
    * Closes #9
    pbatard committed Jul 6, 2017
    Configuration menu
    Copy the full SHA
    6edbb58 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2017

  1. add ARM64 compilation for Visual Studio 2017 (Yay!)

    * Requires Update 15.4 and Windows SDK 10.0.16299.0 or later
    * Also add /Oi- option to disable intrinsics
    * Closes #7
    pbatard committed Nov 3, 2017
    Configuration menu
    Copy the full SHA
    d2c7506 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2017

  1. update gnu-efi to latest

    * Needed to have proper uint64_t size on ARM64
    * Also add /Oi- option to MSVC project files
    pbatard committed Nov 6, 2017
    Configuration menu
    Copy the full SHA
    d6c3f69 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2018

  1. remove Codengen/Clang support

    * Since Microsoft are dropping it...
    pbatard committed Mar 5, 2018
    Configuration menu
    Copy the full SHA
    3b6394e View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2018

  1. minor update for ARM64 support

    * Also update gnu-efi to latest and use HTTPS downloads
    pbatard committed Apr 24, 2018
    Configuration menu
    Copy the full SHA
    87b7a0f View commit details
    Browse the repository at this point in the history

Commits on May 2, 2018

  1. update gnu-efi to latest

    * Prevents warning C4244 during compilation
    pbatard committed May 2, 2018
    Configuration menu
    Copy the full SHA
    dab5b91 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2018

  1. update to use latest Visual Studio 2017 SDK

    * Also update gnu-efi to latest
    pbatard committed Oct 12, 2018
    Configuration menu
    Copy the full SHA
    1203f8b View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2019

  1. upgrade to Visual Studio 2019

    * Also update gnu-efi to latest
    pbatard committed Aug 31, 2019
    Configuration menu
    Copy the full SHA
    96d8228 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2019

  1. Configuration menu
    Copy the full SHA
    c3c7d4b View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2020

  1. update gnu-efi to latest

    * Also update README
    pbatard committed Aug 18, 2020
    Configuration menu
    Copy the full SHA
    79ea558 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2021

  1. Configuration menu
    Copy the full SHA
    e26777b View commit details
    Browse the repository at this point in the history
  2. use -pflash rather than -bios on ARM to preserve NV data

    This can be useful if you installed your own keys for Secure Boot.
    pbatard committed Feb 18, 2021
    Configuration menu
    Copy the full SHA
    cde81ee View commit details
    Browse the repository at this point in the history
  3. update gnu-efi to latest and remove unneeded project definitions

    With the latest gnu-efi, it is no longer necessary to add specific
    macros or additional directories in the includes path.
    pbatard committed Feb 18, 2021
    Configuration menu
    Copy the full SHA
    ced5a02 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. add RISCV64 and upgrade to VS2022

    * Also use our own fork of gnu-efi.
    pbatard committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    d403e4c View commit details
    Browse the repository at this point in the history

Commits on May 22, 2024

  1. Configuration menu
    Copy the full SHA
    7443a44 View commit details
    Browse the repository at this point in the history