Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 1171 → Rev 1172

/kernel/trunk/const.inc
186,7 → 186,7
 
OS_BASE equ 0x80000000
 
window_data equ OS_BASE
window_data equ (OS_BASE+0x0001000)
 
CURRENT_TASK equ (OS_BASE+0x0003000)
TASK_COUNT equ (OS_BASE+0x0003004)
331,7 → 331,7
 
new_app_base equ 0;
 
twdw equ 0x3000 ;(CURRENT_TASK-window_data)
twdw equ 0x2000 ;(CURRENT_TASK-window_data)
 
std_application_base_address equ new_app_base
RING0_STACK_SIZE equ (0x2000 - 512) ;512 áàéò äëÿ êîíòåêñòà FPU
/kernel/trunk/kernel.asm
238,8 → 238,8
mov edi,0x2F0000
mov ecx,0x10000 / 4
rep movsd
xor edi, edi
mov ecx,0x10000 / 4
mov edi,0x1000
mov ecx,0xf000 / 4
rep stosd
 
call test_cpu
/kernel/trunk/memmap.inc
30,8 → 30,11
;
; 0x00000000 -> 0x7FFFFFFF application 2Gb
 
; 0x80000000 -> 1FFF window_data - 256 entries
; 0x80000000 -> 0FFF physical page zero - do not write
; (used by int 13h in some configurations)
;
; 0x80001000 -> 2FFF window_data - 256 entries
;
; 0000 dword x start
; 0004 dword y start
; 0008 dword x size
41,8 → 44,6
; 0018 dword color of frames
; 001C dword window flags, +30 = window drawn, +31 redraw flag
;
; 2000 -> 2FFF free
;
; 3000 -> 4FFF task list - 256 entries
;
; 00 dword process count