[KERNEL]: Replaced magic numbers with constants and cleaned code

git-svn-id: svn://kolibrios.org@9917 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Doczom
2023-06-17 18:40:54 +00:00
parent 7f50e02fca
commit cd441e7929
6 changed files with 149 additions and 148 deletions

View File

@@ -278,10 +278,7 @@ master_tab = page_tabs + (page_tabs shr 10) ;0xFDFF70000
LFB_BASE = 0xFE000000
new_app_base = 0;
std_application_base_address = new_app_base
std_application_base_address = 0
RING0_STACK_SIZE = 0x2000
REG_SS = RING0_STACK_SIZE - 4
@@ -350,6 +347,9 @@ EVENT_DEBUG = 0x00000100
EVENT_NETWORK2 = 0x00000200
EVENT_EXTENDED = 0x00000400
EVM_MOUSE_FILTER = 0x80000000 ; see in macros.inc for apps
EVM_CURSOR_FILTER = 0x40000000
EV_INTR = 1
STDIN_FILENO = 0