Subversion Repositories Kolibri OS


Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
9286 676 d 21 h dunkaist /kernel/trunk/bootloader/uefi4kos/ uefi64kos: Fix reporting of file size  
9253 689 d 18 h dunkaist /kernel/trunk/bootloader/uefi4kos/ uefi64kos: Fix stack alignment on function calls.

It is a formal requirement of UEFI spec that the stack is to be aligned
on 16 bytes on all calls to service routines. I changed eficall macro to
fstcall one in my previous commit. Due to differences in macro logic
that change broke UEFI boot on some platforms that do care about stack
alignment. This commit should fix the issue.
9227 693 d 18 h dunkaist /kernel/trunk/ uefi64kos: Detect last PCI bus, use fastcall macro.

* Detect last PCI bus via PCI Root Bridge IO protocol (uefi64kos only).
* fastcall macro by Tomasz is much cleaner than eficall from osdev board.
8865 831 d 12 h leency /kernel/trunk/bootloader/uefi4kos/ uefi/kolibri.ini: clarify /sys directory path  
8864 831 d 22 h dunkaist /kernel/trunk/bootloader/uefi4kos/ uefi4kos: Disable debug output by default.  
8656 908 d 1 h dunkaist /kernel/trunk/bootloader/uefi4kos/ uefi4kos: Make sure 32bit trampoline is below 4GiB

This fixes booting via uefi64kos on some systems.
8284 1029 d 3 h dunkaist /kernel/trunk/ uefi4kos: Fix boot and mouse pointer on some configurations.

UEFI firmware doesn't use VESA mode codes, so disable this check
for UEFI boot.
8220 1041 d 1 h dunkaist /kernel/trunk/bootloader/uefi4kos/ uefi4kos: Fix memmap conversion from uefi to e820 format.  
8206 1042 d 18 h dunkaist /kernel/trunk/bootloader/uefi4kos/ uefi4kos: Fix memmap_block_cnt and 32->64 bit sign extension in arithmetics.  
8150 1053 d 3 h dunkaist / Add basic 32-bit UEFI loader.  
8092 1084 d 17 h dunkaist / uefi4kos: Read config and kernel files from the disk.

* Now there is a config file with boot options, example included.
* Config, kernel and ramdisk are loaded from the disk, not compiled in.
* DEVICES.DAT file is also optionally loaded from the disk.
* Also, move the loader to /kernel/trunk/bootloader/uefi4kos.