Subversion Repositories Kolibri OS

Rev

Rev 444 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 444 Rev 455
Line 319... Line 319...
319
sys_pgmap           equ (OS_BASE+0x00052000)
319
sys_pgmap           equ (OS_BASE+0x00052000)
Line 320... Line 320...
320
 
320
 
Line 321... Line 321...
321
 
321
 
Line 322... Line 322...
322
new_app_base        equ 0;
322
new_app_base        equ 0;
323
 
323
 
Line -... Line 324...
-
 
324
twdw                equ 0x3000   ;(CURRENT_TASK-window_data)
324
twdw                equ (CURRENT_TASK-window_data)
325
 
325
 
326
std_application_base_address   equ new_app_base
326
std_application_base_address   equ new_app_base
327
RING0_STACK_SIZE    equ (0x2000 - 512)    ;512 áàéò äëÿ êîíòåêñòà FPU
327
RING0_STACK_SIZE    equ (0x2000 - 512)    ;512 áàéò äëÿ êîíòåêñòà FPU
328
 
328
 
329
if 0
Line 339... Line 340...
339
REG_ESP             equ (RING0_STACK_SIZE-44)  ;RING0_STACK_SIZE-20
340
REG_ESP             equ (RING0_STACK_SIZE-44)  ;RING0_STACK_SIZE-20
340
REG_EBP             equ (RING0_STACK_SIZE-48)
341
REG_EBP             equ (RING0_STACK_SIZE-48)
341
REG_ESI             equ (RING0_STACK_SIZE-52)
342
REG_ESI             equ (RING0_STACK_SIZE-52)
342
REG_EDI             equ (RING0_STACK_SIZE-56)
343
REG_EDI             equ (RING0_STACK_SIZE-56)
343
REG_RET             equ (RING0_STACK_SIZE-60)  ;irq0.return
344
REG_RET             equ (RING0_STACK_SIZE-60)  ;irq0.return
-
 
345
end if
-
 
346
 
-
 
347
REG_SS              equ (RING0_STACK_SIZE-4)
-
 
348
REG_APP_ESP         equ (RING0_STACK_SIZE-8)
-
 
349
REG_EFLAGS          equ (RING0_STACK_SIZE-12)
-
 
350
REG_CS              equ (RING0_STACK_SIZE-16)
-
 
351
REG_EIP             equ (RING0_STACK_SIZE-20)
-
 
352
REG_EAX             equ (RING0_STACK_SIZE-24)
-
 
353
REG_ECX             equ (RING0_STACK_SIZE-28)
-
 
354
REG_EDX             equ (RING0_STACK_SIZE-32)
-
 
355
REG_EBX             equ (RING0_STACK_SIZE-36)
-
 
356
REG_ESP             equ (RING0_STACK_SIZE-40)  ;RING0_STACK_SIZE-20
-
 
357
REG_EBP             equ (RING0_STACK_SIZE-44)
-
 
358
REG_ESI             equ (RING0_STACK_SIZE-48)
-
 
359
REG_EDI             equ (RING0_STACK_SIZE-52)
-
 
360
REG_RET             equ (RING0_STACK_SIZE-56)  ;irq0.return
-
 
361
 
Line 344... Line 362...
344
 
362
 
345
PG_UNMAP            equ 0x000
363
PG_UNMAP            equ 0x000
346
PG_MAP              equ 0x001
364
PG_MAP              equ 0x001
347
PG_WRITE            equ 0x002
365
PG_WRITE            equ 0x002