Rev 279 | Rev 285 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 279 | Rev 281 | ||
---|---|---|---|
Line 241... | Line 241... | ||
241 | ret |
241 | ret |
242 | endp |
242 | endp |
243 | 243 | ||
Line 244... | Line 244... | ||
244 | align 4 |
244 | align 4 |
- | 245 | map_space: ;not implemented |
|
- | 246 | ||
- | 247 | ||
- | 248 | ret |
|
- | 249 | ||
- | 250 | ||
- | 251 | align 4 |
|
245 | proc free_page |
252 | proc free_page |
246 | ;arg: eax page address |
253 | ;arg: eax page address |
247 | pushfd |
254 | pushfd |
248 | cli |
255 | cli |
249 | inc [pg_data.pages_free] |
256 | inc [pg_data.pages_free] |
Line 263... | Line 270... | ||
263 | ret |
270 | ret |
264 | endp |
271 | endp |
265 | 272 | ||
Line 266... | Line 273... | ||
266 | ; param |
273 | ; param |
- | 274 | ; eax= page base |
|
- | 275 | ; ebx= liear address |
|
267 | ; ecx= size |
276 | ; ecx= count |
- | 277 | ||
- | 278 | align 4 |
|
- | 279 | commit_pages: ;not implemented |
|
- | 280 | ||
- | 281 | ||
- | 282 | ret |
|
- | 283 | ||
- | 284 | ; param |
|
268 | ; eax= base |
285 | ; eax= base |
- | 286 | ; ecx= count |
|
Line 269... | Line 287... | ||
269 | 287 | ||
270 | align 4 |
288 | align 4 |
Line 271... | Line 289... | ||
271 | release_pages: |
289 | release_pages: |
272 | 290 | ||
Line 273... | Line -... | ||
273 | mov ebx, pg_data.pg_mutex |
- | |
274 | call wait_mutex ;ebx |
291 | mov ebx, pg_data.pg_mutex |
275 | 292 | call wait_mutex ;ebx |
|
Line 276... | Line 293... | ||
276 | shr ecx, 12 |
293 | |
277 | mov esi, eax |
294 | mov esi, eax |