mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 22:40:05 +00:00
MIPS: Define MAP_STACK and MAP_HUGETLB.
This commit is contained in:
parent
268413928e
commit
aa06d8e46a
@ -1,3 +1,8 @@
|
|||||||
|
2012-03-28 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/mips/bits/mman.h (MAP_STACK): Define.
|
||||||
|
(MAP_HUGETLB): Likewise.
|
||||||
|
|
||||||
2012-03-27 Joseph Myers <joseph@codesourcery.com>
|
2012-03-27 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* sysdeps/mips/elf/start.S: Moved to ...
|
* sysdeps/mips/elf/start.S: Moved to ...
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
/* Definitions for POSIX memory map interface. Linux/MIPS version.
|
/* Definitions for POSIX memory map interface. Linux/MIPS version.
|
||||||
Copyright (C) 1997, 2000, 2003, 2004, 2005, 2006, 2009, 2011
|
Copyright (C) 1997-2012 Free Software Foundation, Inc.
|
||||||
Free Software Foundation, Inc.
|
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -65,6 +64,8 @@
|
|||||||
# define MAP_LOCKED 0x8000 /* pages are locked */
|
# define MAP_LOCKED 0x8000 /* pages are locked */
|
||||||
# define MAP_POPULATE 0x10000 /* populate (prefault) pagetables */
|
# define MAP_POPULATE 0x10000 /* populate (prefault) pagetables */
|
||||||
# define MAP_NONBLOCK 0x20000 /* do not block on IO */
|
# define MAP_NONBLOCK 0x20000 /* do not block on IO */
|
||||||
|
# define MAP_STACK 0x40000 /* Allocation is for a stack. */
|
||||||
|
# define MAP_HUGETLB 0x80000 /* Create huge page mapping. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Flags to `msync'. */
|
/* Flags to `msync'. */
|
||||||
|
Loading…
Reference in New Issue
Block a user