source: rtems-docs/posix_users/memory_managment.rst @ 1264a8f

4.115
Last change on this file since 1264a8f was 1264a8f, checked in by Amar Takhar <amar@…>, on 01/17/16 at 05:55:21

Split document into seperate files by section.

  • Property mode set to 100644
File size: 3.9 KB
Line 
1Memory Management Manager
2#########################
3
4Introduction
5============
6
7The
8memory management manager is ...
9
10The directives provided by the memory management manager are:
11
12- ``mlockall`` - Lock the Address Space of a Process
13
14- ``munlockall`` - Unlock the Address Space of a Process
15
16- ``mlock`` - Lock a Range of the Process Address Space
17
18- ``munlock`` - Unlock a Range of the Process Address Space
19
20- ``mmap`` - Map Process Addresses to a Memory Object
21
22- ``munmap`` - Unmap Previously Mapped Addresses
23
24- ``mprotect`` - Change Memory Protection
25
26- ``msync`` - Memory Object Synchronization
27
28- ``shm_open`` - Open a Shared Memory Object
29
30- ``shm_unlink`` - Remove a Shared Memory Object
31
32Background
33==========
34
35There is currently no text in this section.
36
37Operations
38==========
39
40There is currently no text in this section.
41
42Directives
43==========
44
45This section details the memory management manager’s directives.
46A subsection is dedicated to each of this manager’s directives
47and describes the calling sequence, related constants, usage,
48and status codes.
49
50mlockall - Lock the Address Space of a Process
51----------------------------------------------
52.. index:: mlockall
53.. index:: lock the address space of a process
54
55**CALLING SEQUENCE:**
56
57.. code:: c
58
59    int mlockall(
60    );
61
62**STATUS CODES:**
63
64*E*
65    The
66
67**DESCRIPTION:**
68
69**NOTES:**
70
71munlockall - Unlock the Address Space of a Process
72--------------------------------------------------
73.. index:: munlockall
74.. index:: unlock the address space of a process
75
76**CALLING SEQUENCE:**
77
78.. code:: c
79
80    int munlockall(
81    );
82
83**STATUS CODES:**
84
85*E*
86    The
87
88**DESCRIPTION:**
89
90**NOTES:**
91
92mlock - Lock a Range of the Process Address Space
93-------------------------------------------------
94.. index:: mlock
95.. index:: lock a range of the process address space
96
97**CALLING SEQUENCE:**
98
99.. code:: c
100
101    int mlock(
102    );
103
104**STATUS CODES:**
105
106*E*
107    The
108
109**DESCRIPTION:**
110
111**NOTES:**
112
113munlock - Unlock a Range of the Process Address Space
114-----------------------------------------------------
115.. index:: munlock
116.. index:: unlock a range of the process address space
117
118**CALLING SEQUENCE:**
119
120.. code:: c
121
122    int munlock(
123    );
124
125**STATUS CODES:**
126
127*E*
128    The
129
130**DESCRIPTION:**
131
132**NOTES:**
133
134mmap - Map Process Addresses to a Memory Object
135-----------------------------------------------
136.. index:: mmap
137.. index:: map process addresses to a memory object
138
139**CALLING SEQUENCE:**
140
141.. code:: c
142
143    int mmap(
144    );
145
146**STATUS CODES:**
147
148*E*
149    The
150
151**DESCRIPTION:**
152
153**NOTES:**
154
155munmap - Unmap Previously Mapped Addresses
156------------------------------------------
157.. index:: munmap
158.. index:: unmap previously mapped addresses
159
160**CALLING SEQUENCE:**
161
162.. code:: c
163
164    int munmap(
165    );
166
167**STATUS CODES:**
168
169*E*
170    The
171
172**DESCRIPTION:**
173
174**NOTES:**
175
176mprotect - Change Memory Protection
177-----------------------------------
178.. index:: mprotect
179.. index:: change memory protection
180
181**CALLING SEQUENCE:**
182
183.. code:: c
184
185    int mprotect(
186    );
187
188**STATUS CODES:**
189
190*E*
191    The
192
193**DESCRIPTION:**
194
195**NOTES:**
196
197msync - Memory Object Synchronization
198-------------------------------------
199.. index:: msync
200.. index:: memory object synchronization
201
202**CALLING SEQUENCE:**
203
204.. code:: c
205
206    int msync(
207    );
208
209**STATUS CODES:**
210
211*E*
212    The
213
214**DESCRIPTION:**
215
216**NOTES:**
217
218shm_open - Open a Shared Memory Object
219--------------------------------------
220.. index:: shm_open
221.. index:: open a shared memory object
222
223**CALLING SEQUENCE:**
224
225.. code:: c
226
227    int shm_open(
228    );
229
230**STATUS CODES:**
231
232*E*
233    The
234
235**DESCRIPTION:**
236
237**NOTES:**
238
239shm_unlink - Remove a Shared Memory Object
240------------------------------------------
241.. index:: shm_unlink
242.. index:: remove a shared memory object
243
244**CALLING SEQUENCE:**
245
246.. code:: c
247
248    int shm_unlink(
249    );
250
251**STATUS CODES:**
252
253*E*
254    The
255
256**DESCRIPTION:**
257
258**NOTES:**
259
260.. COMMENT: COPYRIGHT (c) 1988-2002.
261
262.. COMMENT: On-Line Applications Research Corporation (OAR).
263
264.. COMMENT: All rights reserved.
265
Note: See TracBrowser for help on using the repository browser.