Rev 8869 | Rev 9036 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8869 | Rev 8874 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2021. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2021. All rights reserved. ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line 8... | ||
8 | $Revision: 8869 $ |
8 | $Revision: 8874 $ |
9 | 9 | ||
10 | 10 | ||
Line 477... | Line 477... | ||
477 | top dd ? |
477 | top dd ? |
478 | width dd ? |
478 | width dd ? |
479 | height dd ? |
479 | height dd ? |
480 | ends |
480 | ends |
Line -... | Line 481... | ||
- | 481 | ||
- | 482 | ; Fields, marked as R now not used, but will be used soon, |
|
481 | 483 | ; when legacy TASKDATA structure will be deleted |
|
482 | struct APPDATA |
484 | struct APPDATA |
483 | app_name rb 11 |
485 | app_name rb 11 |
Line 484... | Line 486... | ||
484 | rb 5 |
486 | rb 5 |
Line 502... | Line 504... | ||
502 | saved_esp0 dd ? ;+88 |
504 | saved_esp0 dd ? ;+88 |
503 | wait_begin dd ? ;+92 +++ |
505 | wait_begin dd ? ;+92 +++ |
504 | wait_test dd ? ;+96 +++ |
506 | wait_test dd ? ;+96 +++ |
505 | wait_param dd ? ;+100 +++ |
507 | wait_param dd ? ;+100 +++ |
506 | tls_base dd ? ;+104 |
508 | tls_base dd ? ;+104 |
507 | event_mask dd ? ;+108 ; stores event types allowed for task |
509 | event_mask dd ? ;+108 ; R stores event types allowed for task |
508 | tid dd ? ;+112 ; thread id |
510 | tid dd ? ;+112 ; R thread id |
509 | draw_bgr_x dd ? ;+116 |
511 | draw_bgr_x dd ? ;+116 |
510 | draw_bgr_y dd ? ;+120 |
512 | draw_bgr_y dd ? ;+120 |
511 | state db ? ;+124 ; thread state |
513 | state db ? ;+124 ; R thread state |
512 | db ? ;+125 |
514 | db ? ;+125 |
513 | dw ? ;+126 |
515 | dw ? ;+126 |
514 | wnd_shape dd ? ;+128 |
516 | wnd_shape dd ? ;+128 |
515 | wnd_shape_scale dd ? ;+132 |
517 | wnd_shape_scale dd ? ;+132 |
516 | mem_start dd ? ;+136 ;; |
518 | mem_start dd ? ;+136 ; R |
517 | counter_sum dd ? ;+140 ;; |
519 | counter_sum dd ? ;+140 ; R |
518 | saved_box BOX ;+144 |
520 | saved_box BOX ;+144 |
519 | ipc_start dd ? ;+160 |
521 | ipc_start dd ? ;+160 |
520 | ipc_size dd ? ;+164 |
522 | ipc_size dd ? ;+164 |
521 | occurred_events dd ? ;+168 ; mask which accumulates occurred events |
523 | occurred_events dd ? ;+168 ; mask which accumulates occurred events |
522 | debugger_slot dd ? ;+172 |
524 | debugger_slot dd ? ;+172 |
Line 529... | Line 531... | ||
529 | dbg_regs DBG_REGS ;+192 |
531 | dbg_regs DBG_REGS ;+192 |
530 | wnd_caption dd ? ;+212 |
532 | wnd_caption dd ? ;+212 |
531 | wnd_clientbox BOX ;+216 |
533 | wnd_clientbox BOX ;+216 |
532 | priority dd ? ;+232 |
534 | priority dd ? ;+232 |
533 | in_schedule LHEAD ;+236 |
535 | in_schedule LHEAD ;+236 |
534 | counter_add dd ? ;+244 ;; |
536 | counter_add dd ? ;+244 ; R |
535 | cpu_usage dd ? ;+248 ;; |
537 | cpu_usage dd ? ;+248 ; R |
536 | dd ? ;+252 |
538 | dd ? ;+252 |
537 | ends |
539 | ends |
Line 538... | Line 540... | ||
538 | 540 | ||
Line 555... | Line 557... | ||
555 | counter_sum dd ? ;+20 |
557 | counter_sum dd ? ;+20 |
556 | counter_add dd ? ;+24 |
558 | counter_add dd ? ;+24 |
557 | cpu_usage dd ? ;+28 |
559 | cpu_usage dd ? ;+28 |
558 | ends |
560 | ends |
Line -... | Line 561... | ||
- | 561 | ||
559 | 562 | ; Thread states: |
|
560 | TSTATE_RUNNING = 0 |
563 | TSTATE_RUNNING = 0 |
561 | TSTATE_RUN_SUSPENDED = 1 |
564 | TSTATE_RUN_SUSPENDED = 1 |
562 | TSTATE_WAIT_SUSPENDED = 2 |
565 | TSTATE_WAIT_SUSPENDED = 2 |
563 | TSTATE_ZOMBIE = 3 |
566 | TSTATE_ZOMBIE = 3 |
564 | TSTATE_TERMINATING = 4 |
567 | TSTATE_TERMINATING = 4 |
565 | TSTATE_WAITING = 5 |
568 | TSTATE_WAITING = 5 |
Line 566... | Line 569... | ||
566 | TSTATE_FREE = 9 |
569 | TSTATE_FREE = 9 |
567 | 570 | ||
568 | ; constants definition |
571 | ; Window constants: |
569 | WSTATE_NORMAL = 00000000b |
572 | WSTATE_NORMAL = 00000000b |
570 | WSTATE_MAXIMIZED = 00000001b |
573 | WSTATE_MAXIMIZED = 00000001b |
Line 579... | Line 582... | ||
579 | 582 | ||
580 | ZPOS_DESKTOP = -2 |
583 | ZPOS_DESKTOP = -2 |
581 | ZPOS_ALWAYS_BACK = -1 |
584 | ZPOS_ALWAYS_BACK = -1 |
582 | ZPOS_NORMAL = 0 |
585 | ZPOS_NORMAL = 0 |
- | 586 | ZPOS_ALWAYS_TOP = 1 ;ZPOS_ALWAYS_TOP is always last and has max number! |
|
583 | ZPOS_ALWAYS_TOP = 1 ;ZPOS_ALWAYS_TOP is always last and has max number! |
587 | |
584 | ; structures definition |
588 | ; Window structure: |
585 | struct WDATA |
589 | struct WDATA |
586 | box BOX |
590 | box BOX |
587 | cl_workarea dd ? |
591 | cl_workarea dd ? |
588 | cl_titlebar dd ? |
592 | cl_titlebar dd ? |