Subversion Repositories Kolibri OS

Rev

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

Rev 418 Rev 419
Line 274... Line 274...
274
twdw                equ (CURRENT_TASK-window_data)
274
twdw                equ (CURRENT_TASK-window_data)
Line 275... Line 275...
275
 
275
 
Line 276... Line 276...
276
std_application_base_address   equ new_app_base
276
std_application_base_address   equ new_app_base
277
RING0_STACK_SIZE    equ     0x2000 - 512    ;512 áàéò äëÿ êîíòåêñòà FPU
277
RING0_STACK_SIZE    equ (0x2000 - 512)    ;512 áàéò äëÿ êîíòåêñòà FPU
Line 278... Line 278...
278
 
278
 
-
 
279
REG_SS              equ (RING0_STACK_SIZE-4)
-
 
280
REG_ESP             equ (RING0_STACK_SIZE-8)
-
 
281
REG_EFLAGS          equ (RING0_STACK_SIZE-12)
-
 
282
REG_CS              equ (RING0_STACK_SIZE-16)
-
 
283
REG_EIP             equ (RING0_STACK_SIZE-20)
-
 
284
REG_EAX             equ (RING0_STACK_SIZE-24)
-
 
285
REG_ECX             equ (RING0_STACK_SIZE-28)
-
 
286
REG_EDX             equ (RING0_STACK_SIZE-32)
-
 
287
REG_EBX             equ (RING0_STACK_SIZE-36)
-
 
288
REG_ESP             equ (RING0_STACK_SIZE-40)  ;RING0_STACK_SIZE-20
-
 
289
REG_EBP             equ (RING0_STACK_SIZE-44)
-
 
290
REG_ESI             equ (RING0_STACK_SIZE-48)
-
 
291
REG_EDI             equ (RING0_STACK_SIZE-52)
Line 279... Line 292...
279
;PAGES_USED          equ 4
292
REG_RET             equ (RING0_STACK_SIZE-56)  ;irq0.return
280
 
293
 
281
PG_UNMAP            equ 0x000
294
PG_UNMAP            equ 0x000
282
PG_MAP              equ 0x001
295
PG_MAP              equ 0x001