Added get_page_size function.
This commit is contained in:
parent
8b8828f578
commit
c76ad35a32
|
@ -149,6 +149,12 @@ static void mapping_destroy( struct object *obj )
|
|||
if (mapping->file) release_object( mapping->file );
|
||||
}
|
||||
|
||||
int get_page_size(void)
|
||||
{
|
||||
if (!page_mask) init_page_size();
|
||||
return page_mask + 1;
|
||||
}
|
||||
|
||||
/* create a file mapping */
|
||||
DECL_HANDLER(create_mapping)
|
||||
{
|
||||
|
|
|
@ -159,6 +159,10 @@ extern int free_console( struct process *process );
|
|||
extern int debugger_attach( struct process *process, struct thread *debugger );
|
||||
extern void debug_exit_thread( struct thread *thread, int exit_code );
|
||||
|
||||
/* mapping functions */
|
||||
|
||||
extern int get_page_size(void);
|
||||
|
||||
extern int debug_level;
|
||||
|
||||
#endif /* __WINE_SERVER_OBJECT_H */
|
||||
|
|
Loading…
Reference in New Issue