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
9897 468 d 1 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.
 
9831 706 d 14 h dunkaist /kernel/trunk/ Rename fields in SYSCALL_STACK struct: _eax -> eax, etc  
9828 708 d 5 h Doczom /kernel/trunk/ KERNEL: reducing the use of current_slot_idx  
9823 711 d 21 h dunkaist /kernel/trunk/ [kernel] Add is_string_userspace func, like is_region_userspace  
9743 784 d 13 h Doczom /kernel/trunk/ fix bug in free group of port(46 sysf) in deleting thread  
9742 786 d 1 h Doczom /kernel/trunk/ small update 46 system function(no tested!)  
9715 819 d 11 h Doczom /kernel/trunk/ small update copyright year in kernel  
9710 822 d 11 h Doczom /kernel/trunk/ delete APPDATA.mem_start  
9709 822 d 12 h Doczom /kernel/trunk/ delete TASKDATA  
9692 825 d 8 h Doczom /kernel/trunk/ replacing TASK DATA.pid with APPDATA.tid  
9614 851 d 8 h Doczom /kernel/trunk/ replacing TASKDATA.event_mask with APPDATA.event_mask and cleared code  
9613 851 d 18 h Doczom /kernel/trunk/ add APPDATA.state for delete TASKDATA  
9612 852 d 6 h Doczom /kernel/trunk/ add APPDATA.state for delete TASKDATA  
9608 852 d 12 h Doczom /kernel/trunk/ add APPDATA.wnd_number  
9605 853 d 17 h Doczom /kernel/trunk/ replacing TASKDATA.mem_start with APPDATA.memstart  
9592 855 d 3 h Doczom /kernel/trunk/ fix cpu_usage  
9591 855 d 6 h Doczom /kernel/trunk/ fix cpu_usage  
9590 855 d 7 h Doczom /kernel/trunk/ replacing TASKDATA.cpu_usage with APPDATA.cpu_usage  
9571 858 d 10 h Doczom /kernel/trunk/ add 3 constants  
9514 865 d 14 h rgimad /kernel/trunk/ [KERNEL] - removed commented outdated read_floppy_file function
- removed setmouse function that doesnt do anything
- redmousepos moved from kernel.asm to gui/mouse.inc
- small style fixes
 

Show All