Subversion Repositories Kolibri OS

Rev

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

Rev 6974 Rev 7136
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2015. 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: 6974 $
8
$Revision: 7136 $
9
 
9
 
10
 
10
 
Line 16... Line 16...
16
        size            dd ? ;+20
16
        size            dd ? ;+20
17
        flags           dd ? ;+24
17
        flags           dd ? ;+24
18
        handle          dd ? ;+28
18
        handle          dd ? ;+28
19
ends
19
ends
Line 20... Line 20...
20
 
20
 
21
FREE_BLOCK      equ  4
21
FREE_BLOCK      =  4
22
USED_BLOCK      equ  8
22
USED_BLOCK      =  8
Line 23... Line 23...
23
DONT_FREE_BLOCK equ  10h
23
DONT_FREE_BLOCK =  10h
24
 
24
 
25
 
25
 
Line 558... Line 558...
558
restore block_size
558
restore block_size
559
restore block_flags
559
restore block_flags
Line 560... Line 560...
560
 
560
 
Line 561... Line 561...
561
;;;;;;;;;;;;;;      USER HEAP     ;;;;;;;;;;;;;;;;;
561
;;;;;;;;;;;;;;      USER HEAP     ;;;;;;;;;;;;;;;;;
Line 562... Line 562...
562
 
562
 
563
HEAP_TOP  equ 0x80000000
563
HEAP_TOP  = 0x80000000
Line 564... Line 564...
564
 
564
 
Line 1263... Line 1263...
1263
        pop     esi
1263
        pop     esi
1264
        popfd
1264
        popfd
Line 1265... Line 1265...
1265
 
1265
 
Line 1266... Line 1266...
1266
        ret
1266
        ret
1267
 
1267
 
1268
E_NOTFOUND      equ  5
1268
E_NOTFOUND      =  5
1269
E_ACCESS        equ 10
1269
E_ACCESS        = 10
Line 1270... Line 1270...
1270
E_NOMEM         equ 30
1270
E_NOMEM         = 30
1271
E_PARAM         equ 33
1271
E_PARAM         = 33
Line 1272... Line 1272...
1272
 
1272
 
Line 1273... Line 1273...
1273
SHM_READ        equ 0
1273
SHM_READ        = 0
1274
SHM_WRITE       equ 1
1274
SHM_WRITE       = 1
1275
 
1275
 
Line 1276... Line 1276...
1276
SHM_ACCESS_MASK equ 3
1276
SHM_ACCESS_MASK = 3
Line 1277... Line 1277...
1277
 
1277
 
1278
SHM_OPEN        equ (0 shl 2)
1278
SHM_OPEN        = 0 shl 2
1279
SHM_OPEN_ALWAYS equ (1 shl 2)
1279
SHM_OPEN_ALWAYS = 1 shl 2
1280
SHM_CREATE      equ (2 shl 2)
1280
SHM_CREATE      = 2 shl 2