mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-19 17:06:04 -07:00
server: Print a warning if page size isn't 4k.
This commit is contained in:
parent
ab40b7fd86
commit
126c54cd25
1 changed files with 3 additions and 0 deletions
|
@ -262,6 +262,9 @@ void init_memory(void)
|
|||
page_mask = sysconf( _SC_PAGESIZE ) - 1;
|
||||
free_map_addr( 0x60000000, 0x1c000000 );
|
||||
free_map_addr( 0x600000000000, 0x100000000000 );
|
||||
if (page_mask != 0xfff)
|
||||
fprintf( stderr, "wineserver: page size is %uk but Wine requires 4k pages, expect problems\n",
|
||||
(int)(page_mask + 1) / 1024 );
|
||||
}
|
||||
|
||||
static void ranges_dump( struct object *obj, int verbose )
|
||||
|
|
Loading…
Reference in a new issue