Commit Graph

  • 257b432c61 test commit main rgimad 2025-03-21 01:25:30 +03:00
  • b805d54896 Do ExitBootServices before jumping to kernel, add comments on how to get switching virt memory work rgimad 2025-03-21 01:23:59 +03:00
  • 2d7bef624f correct stupid mistake but still reboot when trying to load cr3 rgimad 2025-03-02 01:54:43 +03:00
  • e15e608062 jump to physical address of kernel works, kernel prints HI to COM1 rgimad 2025-02-27 11:19:19 +03:00
  • 0c16a5f65a draft of mapping kernel to VIRT_KERNEL_BASE rgimad 2025-02-25 15:33:26 +03:00
  • 5ccef2931b fix typo rgimad 2025-02-23 18:39:47 +03:00
  • 22da7d2e62 upd codestyle rgimad 2025-02-16 21:47:19 +03:00
  • b39aa43d2f impl phys page region allocation for kernel code and stack, and load them to allocated space. but dont jum to kernel yet, need to set up upper mapping rgimad 2025-02-16 21:39:43 +03:00
  • ccdcf7190d add get_file_size function, get size of kernel file in bytes, get number of pages needed for it rgimad 2025-02-14 14:59:11 +03:00
  • 4ceda7e1cb Read header from kernel.bin. Works! fix build.bat error handling rgimad 2025-02-11 01:37:58 +03:00
  • 4c01ebbf60 update kernel skeleton, started implement kernel loading rgimad 2025-02-09 22:35:48 +03:00
  • 3fe39de8bf remove accidently commited binary rgimad 2025-02-09 22:32:48 +03:00
  • 64700394fa add kernel test skeleton, todo: load it rgimad 2025-02-09 19:55:01 +03:00
  • 98b3d652d1 print memmap entries idx's rgimad 2025-02-07 19:13:31 +03:00
  • c1aa775d83 print memory map, separate print functions used for uefi rgimad 2025-02-05 12:12:45 +03:00
  • de87ec4d9f seems like now doesnt violate 16 byte alignment of stack, refactoring rgimad 2025-02-04 23:48:54 +03:00
  • a8891056d5 print hex without leading zeros, clean code rgimad 2025-02-04 15:02:35 +03:00
  • ddc65d92d3 fixed stupid mistake with rcx destroying todo: maybe use uefi_call_wrapper, it also seems like check alignment. Does fstcall chack alignment of stack by 16? rgimad 2025-02-02 17:11:50 +03:00
  • 2ee47b9cff disable default watchdog timer tested on real laptop, works rgimad 2025-02-01 23:17:26 +03:00
  • 42d9f82971 fix previous (forgot to load register) rgimad 2025-02-01 21:32:59 +03:00
  • bd4a478855 some refactoring, try show firmware vendor and revision rgimad 2025-02-01 21:21:36 +03:00
  • 5c18f0cbba CODESTYLE.md: word wrap 100 rgimad 2025-02-01 15:56:47 +03:00
  • 6ab513e17d CODESTYLE.md: word wrap rgimad 2025-02-01 15:46:23 +03:00
  • a20ffc6542 fix typo rgimad 2025-02-01 11:59:27 +01:00
  • 2eb8befaf9 Add codestyle and license rgimad 2025-02-01 13:53:09 +03:00
  • ad6ea383d7 Add efi_print_hex Seems its working rgimad 2025-01-26 23:35:32 +03:00
  • f7729c3cbf don't use proc & fastcall when not necessary i.e with my own simple internal functions. But we keep using it i.e when invoking uefi functions cause then follow calling convention rgimad 2025-01-26 01:01:31 +03:00
  • 17c2ae5818 README: Set description and link to roadmap rgimad 2025-01-25 13:09:52 +01:00
  • 22d66e6739 test notifications rgimad 2025-01-25 12:28:37 +01:00
  • 1843c9ff69 add efi_putc rgimad 2025-01-25 13:15:48 +03:00
  • fa217d4578 some comments rgimad 2025-01-21 01:20:34 +03:00
  • 3aa3180cd8 add print_string rgimad 2025-01-21 01:05:29 +03:00
  • 9cf053b56c add windows build script rgimad 2025-01-20 12:04:20 +03:00
  • 83551f2aff add set_text_color, add constants for colors rgimad 2025-01-19 23:51:04 +03:00
  • 654cdefb7f rework project structure, base on uefi4kos rgimad 2025-01-19 17:24:20 +03:00
  • 28d8d0bcfb update readme, minimal roadmap rgimad 2025-01-19 01:15:02 +03:00
  • afbfe4ad08 first commit. UEFI hello world works rgimad 2025-01-19 01:05:34 +03:00
  • 1282a5f321 Add README.md rgimad 2025-01-18 23:01:59 +01:00