Rev 837 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 837 | Rev 864 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
4 | ;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; |
4 | ;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
6 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 7... | Line 7... | ||
7 | 7 | ||
Line 8... | Line 8... | ||
8 | $Revision: 671 $ |
8 | $Revision: 864 $ |
9 | 9 | ||
- | 10 | ||
10 | 11 | align 4 |
|
- | 12 | init_events: |
|
- | 13 | ||
- | 14 | mov ecx, 512*EVENT_SIZE |
|
11 | align 4 |
15 | mov edx, PG_SW |
12 | init_events: |
16 | call @mem_alloc@8 |
13 | stdcall kernel_alloc, 512*EVENT_SIZE |
17 | |
14 | mov [events], eax |
18 | mov [events], eax |
15 | xor eax, eax |
19 | xor eax, eax |