Commit Graph

467 Commits

Author SHA1 Message Date
Justin C. Miller
e4bd24bfe3 Make a copy of the pflash image.
Copy OVMF.fd to the build dir so we stop modifying it and making
git nervous.
2018-03-18 18:41:53 -07:00
Justin C. Miller
72e143b93c Bootloader loading kernel, not yet jumping to it 2018-03-18 18:07:19 -07:00
Justin C. Miller
0e3fa1c3cf Make QEMU batch files call make 2017-07-26 01:43:25 -07:00
Justin C. Miller
d02e1d97d9 Splitting out UEFI bootloader code from kernel
Now the bootloader should be responsible for all initial setup,
loading the kernel, and then handing off to the kernel with
proper data in place.
2017-07-26 01:41:46 -07:00
Justin C. Miller
9ae583b1ec Fix up using con_status* calls.
* Main was using CHECK_EFI_STATUS_OR_RETURN despite saying it shouldn't
* Use con_status* calls instead
* Clean up line-clobbering in con_status_{ok,fail}
2017-07-14 09:25:23 -07:00
Justin C. Miller
e196d13334 Add debug_guest option to qemu. 2017-07-14 09:22:34 -07:00
Justin C. Miller
7bd6225164 Updated to allow running in VSCode 2017-02-20 23:34:39 -08:00
Justin C. Miller
e6dcdda6b9 Added memory.c
Includes routine replacing efilib's LibMemoryMap, and a debug function for
dumping the map to the console. Currently get_memory_map() is only used
for the debug function dump_memory_map.

Thanks to Finnbar Murphy for the blog post that helped me figure out why
my memory map iteration was wrong.
http://blog.fpmurphy.com/2012/08/uefi-memory-v-e820-memory.html
2017-02-20 22:12:11 -08:00
Justin C. Miller
d083b2fcb7 Batch files for windows development with WSL building 2017-02-20 12:18:00 -08:00
Justin C. Miller
e856bae683 Fixing the deps in the Makefile 2017-01-16 16:51:41 -08:00
Justin C. Miller
29922e3546 Moved graphics.c into console.h, with boot message framework 2017-01-16 16:42:11 -08:00
Justin C. Miller
0260abecab Breaking gfx mode code out into graphics.c 2017-01-03 08:21:11 -08:00
Justin C. Miller
eeaf27bbdf Moved check_status to a header file and properly case/named it 2017-01-03 08:14:16 -08:00
Justin C. Miller
2397618a68 Wasn't using this linker script anymore - using GNU-EFI's instead. 2017-01-03 08:09:11 -08:00
Justin C. Miller
dba1ca186d Discover and set the best video mode supported by the UEFI graphics driver 2017-01-03 08:03:07 -08:00
Justin C. Miller
e87609ac6d Adding README 2017-01-02 13:45:51 -08:00
Justin C. Miller
89c2c70c28 Initial commit - UEFI application building 2017-01-02 13:40:42 -08:00