Subversion Repositories Kolibri OS

Rev

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

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