From 75ae4a827a07e6536fb8517c898e853eb2d88593 Mon Sep 17 00:00:00 2001 From: CleverMouse Date: Tue, 19 Mar 2013 17:07:12 +0000 Subject: [PATCH] increase size of debug board from 4K to 64K git-svn-id: svn://kolibrios.org@3392 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/kernel.asm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/kernel/trunk/kernel.asm b/kernel/trunk/kernel.asm index bb48459c54..296398c4d1 100644 --- a/kernel/trunk/kernel.asm +++ b/kernel/trunk/kernel.asm @@ -4616,9 +4616,10 @@ sys_msg_board_dword: popad ret +msg_board_data_size = 65536 ; Must be power of two + uglobal - msg_board_data: - times 4096 db 0 + msg_board_data rb msg_board_data_size msg_board_count dd 0x0 endg @@ -4651,7 +4652,7 @@ end if mov [msg_board_data+ecx], bl inc ecx - and ecx, 4095 + and ecx, msg_board_data_size - 1 mov [msg_board_count], ecx mov [check_idle_semaphore], 5 ret