Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
8139 1257 d 10 h dunkaist /kernel/trunk/ kernel: Make delay_ms use HPET when available.

I got a laptop that has timer on channel 1 of PIT that doesn't tick.
 
8119 1266 d 11 h dunkaist /kernel/trunk/ fix r8111: Map acpi_apic_base page before access.  
8111 1272 d 16 h dunkaist /kernel/trunk/ kernel: Split acpi.inc and hpet.inc from init.inc.

Also, replace some hardcoded constants with macros.
 
8093 1282 d 3 h dunkaist /kernel/trunk/ Assert sizeof.APPDATA=256, use it instead of hardcoded 256 value.  
8092 1288 d 3 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.
 
8091 1289 d 13 h dunkaist / Add extended_primary_loader to autobuild.

* Build fat1x, fat32, cdfs, after_win loaders.
* Set use_lba=1 by default in fat32 loader.
* Build kolibri.raw: flash / hdd image.
* Add example config.ini file.
* Add an option (config file and screen) to not load ramdisk image.
* Add an option (config file only) to set /sys path.

Now you can boot without a ramdisk from a storage that is supported
by the kernel itself, i.e. without loadable drivers. Thus you can not
load the system without a ramdisk from SATA/AHCI and USB drives.
 
8089 1291 d 17 h dunkaist /kernel/trunk/ kernel: don't use ramdisk if asked.

The blue screen is not aware of this option.
 
8087 1291 d 18 h dunkaist /kernel/trunk/ Initialize APPDATA.{fd,bk}_ev fields for kernel threads.

This prevents crash in event.inc:RemoveEventTo because of
zero pointer dereference.
 
8086 1291 d 18 h dunkaist /kernel/trunk/ Fix random boot issue: 'Failed to start first app'

Access to BOOT.dev variable was sometimes done with obsolete
offset from non-flat-kernel ages. If you are unlucky, the ramdisk
is not loaded and launcher app is not started.
 
7965 1425 d 16 h hidnplayr /kernel/trunk/ Improved readability, no semantic changes.  
7733 1506 d 2 h dunkaist /kernel/trunk/ kernel: Support more than one I/O APIC and 24 interrupts.  
7598 1862 d 9 h dunkaist /kernel/trunk/ Fix compilation with extended_primary_loader.  
7276 2165 d 6 h dunkaist / Enable xsave/xrstor, attempt 2.  
7165 2247 d 14 h clevermouse /kernel/trunk/ fix FPU after r7124 for other CPU configurations  
7136 2309 d 5 h dunkaist /kernel/trunk/ Replace 'equ' macros with '=' ones.

They appear in symbols file.
They don't require parentheses.
They are shorter.
 
7132 2312 d 4 h dunkaist /kernel/trunk/ Update BOOT_DATA structure and use it instead of all the BOOT_* vars.  
7129 2312 d 10 h dunkaist /kernel/trunk/ Split bootbios.asm and kernel.asm.

* Move bios-related part of kernel.asm before B32 label to
bootbios.asm file;
* Move bx_from_load, boot_dev and kernel_restart_bootblock variables
to BOOT_* 0x9000 block;
* Update Tupfile.lua, Makefile, build.bat, build.sh accordingly;
* Now bios and uefi loaders can jump to very first byte of the kernel.
 
7124 2324 d 1 h dunkaist /kernel/trunk/ Use xsave/xrestor if available, enable AVX* instructions.  
7122 2329 d 8 h dunkaist /kernel/trunk/ Synchronize memmap.inc and const.inc, replace hardcoded numbers with macros.  
7121 2330 d 6 h dunkaist /kernel/trunk/ Remove VRR code, mostly commented out anyway.  

Show All