Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
9917 342 d 20 h Doczom /kernel/trunk/ [KERNEL]: Replaced magic numbers with constants and cleaned code  
9911 411 d 20 h Doczom /kernel/trunk/ [KERNEL] cleaned code and added description of some functions  
9910 412 d 17 h Doczom /kernel/trunk/ [KERNEL] updated local labels in functions and other small changes  
9900 465 d 15 h Doczom /kernel/trunk/core/ [KERNEL]: Replaced magic numbers with constants:
PAGE_SIZE, -PAGE_SIZE, PAGE_SIZE-1
 
9899 467 d 17 h dunkaist /kernel/trunk/ Unhardcode some PAGE_SIZE related numbers

4096 is PAGE_SIZE
not 4095 is -PAGE_SIZE
etc
 
9897 481 d 11 h dunkaist /kernel/trunk/ [kernel] Fix reading from empty board buffer (sf63.2)

Syscall 63.2, reading from the board buffer, was overwriting registers
edx and ebp when the buffer was empty. Now it sets eax and ebx according
to the kernel API.

Because of this ancient bug BOARD checks the status of sf63.2 syscall
this way:
mcall 63, 2
cmp ebx, 1
jne no_data
; when the buffer is empty, ebx is untouched, i.e. still 2, haha
; edx and ebp are destroyed, the code is lucky not to use them

By the way, the bug was found using umka tool.
 
9894 489 d 21 h Doczom /kernel/trunk/ [KERNEL] Added the "FsAdd" function for drivers on file systems.
TODO: added functions for lock\unlock partition and read\write sectors for user programs
 
9890 509 d 14 h dunkaist /kernel/trunk/fs/ [xfs] Fix a file lookup bug in btree dirs

Literally, an off-by-one error.
 
9889 509 d 14 h dunkaist /kernel/trunk/fs/ [xfs] Support XFS nrext64 feature bit

This feature is _not_ enabled by default by mkfs.xfs at the moment.
That said, make KolibriOS ready for the future. By the way, fix two
bugs in support of XFSv5 disk format.
 
9888 509 d 14 h dunkaist /kernel/trunk/ [xfs] Support XFS bigtime feature bit

Current version of mkfs.xfs enables this feature by default.
Now KolibriOS can read such partitions too.
 
9884 577 d 20 h Doczom /kernel/trunk/posix/ [KERNEL] fixed vulnerability (execution of user code in kernel mode) in sysfn 77.10 and sysfn 77.11  
9872 640 d 19 h Doczom /kernel/trunk/core/ disabling the SRV.srv_proc check to zero  
9871 640 d 19 h Doczom /kernel/trunk/posix/ fix futex freezes  
9869 654 d 3 h Doczom /kernel/trunk/posix/ fixing kernel breakage when futex freezes  
9850 698 d 21 h rgimad /kernel/trunk/ [KERNEL] Fix resizing cursors for window borders  
9848 701 d 23 h rgimad /kernel/trunk/ [KERNEL] Use specific cursors for window borders  
9832 718 d 17 h turbocat /kernel/trunk/core/ [KERNEL]: Remove unused get_curr_task and replace with get_curr_slot  
9831 720 d 0 h dunkaist /kernel/trunk/ Rename fields in SYSCALL_STACK struct: _eax -> eax, etc  
9829 720 d 16 h vitalkrilov / sysfuncr.txt: added missing docs for SysFn77.10, SysFn77.11, SysFn77.13 from wiki
ksys.h:
- libc.obj's file synced with newlib's (r9788)
- added scancodes enum
- added wrappers for SysFn66.4 and SysFn66.5 (sys. hotkeys)
- added wrappers for SysFn77.0 -- SysFn77.3 (futexes)
 
9828 721 d 15 h Doczom /kernel/trunk/ KERNEL: reducing the use of current_slot_idx  

Show All