Commit Graph

25 Commits (347e5d99741cb601a1d1c73830c3c0457c27fcc5)

Author SHA1 Message Date
q3k 347e5d9974 Added kernel ELF address to load context. 2013-07-10 14:52:41 +02:00
q3k 024ab3a3fd Cleaned up debug. 2013-07-09 10:51:39 +02:00
q3k 5a94b26f14 Rewrote loader to support more complex sections.
This fixes relying on UB to expect elf sections to be page-aligned in
file.
2013-07-09 10:40:35 +02:00
q3k 7381cb0a5a Refactored loader into multiple files. 2013-07-08 21:11:30 +02:00
q3k eb6f565825 Added clang support. 2013-07-05 14:48:24 +02:00
q3k 381321a2ba Migrated loader to Clang/LLVM... but still using LD from binutils. 2013-06-18 10:18:09 +02:00
q3k a13cbc2fb1 Make it build. 2013-04-23 14:15:31 +02:00
q3k 6631f85bcc Kernel runnable on new QEmu with KVM enabled by default. 2012-10-28 10:25:08 +01:00
q3k ec47899cc4 The kernel loads again! 2012-07-08 10:44:14 +02:00
q3k 4f7588afaf Experimenting somne more with first x86_64 assembly... close to giving up. 2012-05-26 13:22:32 +02:00
q3k 085ae2df79 Trying my best. 2012-05-18 16:14:51 +02:00
q3k 8e640f27ff Development branch... 2012-05-17 09:33:34 +00:00
Sergiusz Bazanski f489f89d39 Kernel: GDT code... Even though we don't need it in 64-bit mode. 2011-08-27 22:08:59 +02:00
Sergiusz Bazanski ce2c3e2662 Kernel: Paging, physical memory reading. 2011-08-27 19:43:37 +02:00
Sergiusz Bazanski 6235de99a6 Loader: Map all 512 page table entries to kernel. 2011-08-27 15:15:03 +02:00
Sergiusz Bazanski f3a475fef7 Kernel, Loader: More messing around with paging. 2011-08-27 15:11:48 +02:00
Sergiusz Bazanski 438943bb9c Kernel, Loader: Load context, PMM stubs, System Info struct. 2011-08-25 19:56:32 +02:00
Sergiusz Bazanski bc85de57d3 Loader: Entry point from ELF file now used in long jmp to 64-bit. 2011-08-25 03:50:26 +02:00
Sergiusz Bazanski 69c01b767c Loader: Kernel entry point now @FF001000? wtf? I need to fix this shit some day... 2011-08-25 02:05:12 +02:00
Sergiusz Bazanski f2b233c1a5 Loader: Fixed indentation/ 2011-08-25 01:53:43 +02:00
Sergiusz Bazanski 55caf5c7bd Loader: Check if any module is specified. 2011-08-25 01:52:07 +02:00
Sergiusz Bazanski e04c28f1be Working on the PMM 2011-07-02 13:03:29 +02:00
Sergiusz Bazanski f096be37a2 Protection against kernels > 512 pages - NI error thrown 2011-06-28 13:42:07 +02:00
Sergiusz Bazanski 32ccf8af51 Commited some binaries, whoops. 2011-06-28 13:18:26 +02:00
Sergiusz Bazanski 1dba384739 basic 64 bit loading 2011-06-28 13:15:42 +02:00