Memory Miscelaneous

Name

Memory Miscelaneous -- Other interesting functions.

Synopsis


#define     MAX_FRAMES
#define     MAX_PAGES
gint        mem_server_init                 (GladeXML *xml);
gint        mem_page_ready_server           (gint pid,
                                             gint page);
gint        mem_page_bitmap_update_server   (gint pid,
                                             guint32 new_page_bitmap);

Description

This functions wouldn't make a proper section, but I believe that they are relevant enough to be mencioned.

Details

MAX_FRAMES

#define MAX_FRAMES 4	/* total number of frames available */


MAX_PAGES

#define MAX_PAGES 32	/* maximun number of pages per process */


mem_server_init ()

gint        mem_server_init                 (GladeXML *xml);

Called from the subsystem's code to initialize the interface code.

xml : Glade interface object.
Returns : nothing important.


mem_page_ready_server ()

gint        mem_page_ready_server           (gint pid,
                                             gint page);

Called from the subsystem's code to tell the client about a fulfilled page fault.

pid : process involved.
page : ready page.
Returns : nothing important.


mem_page_bitmap_update_server ()

gint        mem_page_bitmap_update_server   (gint pid,
                                             guint32 new_page_bitmap);

Called from the subsystem's code to update the valid page bitmap on the client.

pid : process involved.
new_page_bitmap : valid page bitmap.
Returns : nothing important.