Subversion Repositories Kolibri OS

Rev

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

Rev 555 Rev 557
Line 1... Line 1...
1
$Revision: 555 $
1
$Revision: 557 $
2
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
3
;;                                                              ;;
3
;;                                                              ;;
4
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
4
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
5
;; Distributed under terms of the GNU General Public License    ;;
5
;; Distributed under terms of the GNU General Public License    ;;
6
;;                                                              ;;
6
;;                                                              ;;
Line 332... Line 332...
332
twdw                equ 0x3000   ;(CURRENT_TASK-window_data)
332
twdw                equ 0x3000   ;(CURRENT_TASK-window_data)
Line 333... Line 333...
333
 
333
 
334
std_application_base_address   equ new_app_base
334
std_application_base_address   equ new_app_base
Line 335... Line -...
335
RING0_STACK_SIZE    equ (0x2000 - 512)    ;512 áàéò äëÿ êîíòåêñòà FPU
-
 
336
 
-
 
337
if 0
-
 
338
REG_SS              equ (RING0_STACK_SIZE-4)
-
 
339
REG_APP_ESP         equ (RING0_STACK_SIZE-8)
-
 
340
REG_EFLAGS          equ (RING0_STACK_SIZE-12)
-
 
341
REG_CS              equ (RING0_STACK_SIZE-16)
-
 
342
REG_EIP             equ (RING0_STACK_SIZE-20)
-
 
343
REG_EFL_2           equ (RING0_STACK_SIZE-24)
-
 
344
REG_EAX             equ (RING0_STACK_SIZE-28)
-
 
345
REG_ECX             equ (RING0_STACK_SIZE-32)
-
 
346
REG_EDX             equ (RING0_STACK_SIZE-36)
-
 
347
REG_EBX             equ (RING0_STACK_SIZE-40)
-
 
348
REG_ESP             equ (RING0_STACK_SIZE-44)  ;RING0_STACK_SIZE-20
-
 
349
REG_EBP             equ (RING0_STACK_SIZE-48)
-
 
350
REG_ESI             equ (RING0_STACK_SIZE-52)
-
 
351
REG_EDI             equ (RING0_STACK_SIZE-56)
-
 
352
REG_RET             equ (RING0_STACK_SIZE-60)  ;irq0.return
-
 
353
end if
335
RING0_STACK_SIZE    equ (0x2000 - 512)    ;512 áàéò äëÿ êîíòåêñòà FPU
354
 
336
 
355
REG_SS              equ (RING0_STACK_SIZE-4)
337
REG_SS              equ (RING0_STACK_SIZE-4)
356
REG_APP_ESP         equ (RING0_STACK_SIZE-8)
338
REG_APP_ESP         equ (RING0_STACK_SIZE-8)
357
REG_EFLAGS          equ (RING0_STACK_SIZE-12)
339
REG_EFLAGS          equ (RING0_STACK_SIZE-12)
Line 489... Line 471...
489
virtual at 0
471
virtual at 0
490
  EVENT EVENT
472
  EVENT EVENT
491
end virtual
473
end virtual
Line 492... Line -...
492
 
-
 
493
 
474
 
494
 
475
 
495
struc HEAP_DATA
476
struc HEAP_DATA
496
{
477
{
497
   .mutex         rd 1
478
   .mutex         rd 1