The main KolibriOS repository
Go to file
Ivan Baravy 59315b183d [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.

git-svn-id: svn://kolibrios.org@9897 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-01-30 03:33:03 +00:00
_tools [WS] Inform about unexisting compilers and qemu 2021-12-08 16:15:21 +00:00
contrib webview_proxy: added PHP-script which can be installed on your Web-server and be a proxy for WebView browser 2022-12-17 22:24:05 +00:00
data FB2 Reader: upload source, small changes 2023-01-22 14:20:23 +00:00
drivers drivers: added oberon example 2022-06-23 20:53:50 +00:00
kernel [kernel] Fix reading from empty board buffer (sf63.2) 2023-01-30 03:33:03 +00:00
programs FB2 Reader: upload source, small changes 2023-01-22 14:20:23 +00:00
skins Add Arina skin from ConLenov 2022-07-12 11:25:38 +00:00
build.txt Fixed all misuse of "/rd/1" (changed to "/sys"; all except "/programs/*" and "/kernel/*") 2022-01-06 19:34:04 +00:00
tup.config.template - Added teatool to autobuild 2020-12-24 22:38:37 +00:00