Commit Graph

30 Commits

Author SHA1 Message Date
Justin C. Miller
7009bb6d05 Move parse_version.py into scripts 2018-04-30 17:39:17 -07:00
Justin C. Miller
23a5692d59 Switch to building floppy images instead of GPT disks 2018-04-30 08:36:17 -07:00
Justin C. Miller
2d4e7cfdee Check CPUID info, switch cpu flag to Broadwell 2018-04-30 08:25:35 -07:00
Justin C. Miller
14f51436d7 Load ELF file with bootloader instead of flat binary 2018-04-28 02:12:08 -07:00
Justin C. Miller
57e5465c2d Add -fno-exceptions and QEMU logging to Makefile 2018-04-27 22:20:46 -07:00
Justin C. Miller
1e3ae67646 Add -no-reboot to QEMUOPTS 2018-04-26 11:07:58 -07:00
Justin C. Miller
94de87ef86 Refactor screen ouput from main console code 2018-04-24 09:32:57 -07:00
Justin C. Miller
0a6c39ded4 Remove -ggdb from LDFLAGS 2018-04-23 20:37:15 -07:00
Justin C. Miller
3b560c063a Move kernel to higher half.
Return to having the bootloader re-map the kernel into the higher
half before jumping into the kernel entrypoint, so we don't have
to juggle pointers inside the kernel.
2018-04-19 01:37:34 -07:00
Justin C. Miller
a27b8d6a3a Add/move code into kutil library 2018-04-17 23:41:28 -07:00
Justin C. Miller
2050b89334 Move src/modules/main -> src/kernel 2018-04-17 09:45:05 -07:00
Justin C. Miller
71a6f13fa5 Make interrupt_isrs.inc the one source of ISRs 2018-04-17 01:39:21 -07:00
Justin C. Miller
712df97dfc Add a better boot message with version 2018-04-12 09:17:59 -07:00
Justin C. Miller
77cc1fe757 Move main module to c++ 2018-04-08 12:44:09 -07:00
Justin C. Miller
58729b412a Add inital console font rendering 2018-04-04 11:58:02 -07:00
Justin C. Miller
4577c2d10c Add the beginning of support for kernel graphics to bootloader.
* Load a font file off disk to pass to kernel
* Expose a framebuffer to the kernel
* Currently the kernel just paints the screen red
2018-04-01 22:48:46 -07:00
Justin C. Miller
cbb6ca5bd1 Fix printing on video console 2018-04-01 14:19:17 -07:00
Justin C. Miller
165ed28cd3 Reduce dependency on efi library functions 2018-03-31 17:32:10 -07:00
Justin C. Miller
417f080993 Improve QEMU debugging setup 2018-03-25 13:45:52 -07:00
Justin C. Miller
e19c7cee50 Give kernel image a header.
Kernel image now has a header with version, magic number, and a
pointer to its actual entrypoint. Entry point is now _start in
boot.s, and we now generate versions.s in the build tree for the
version macros.
2018-03-24 18:34:44 -07:00
Justin C. Miller
b5c579fe0d Debugging helper changes 2018-03-22 18:37:18 -07:00
Justin C. Miller
47ebdc7f41 Prematurely jumping into kernel_main 2018-03-19 17:04:35 -07:00
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
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
e196d13334 Add debug_guest option to qemu. 2017-07-14 09:22:34 -07: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
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
89c2c70c28 Initial commit - UEFI application building 2017-01-02 13:40:42 -08:00