musl/arch/mips/bits
Szabolcs Nagy b20760c023 support configurable page size on mips, powerpc and microblaze
PAGE_SIZE was hardcoded to 4096, which is historically what most
systems use, but on several archs it is a kernel config parameter,
user space can only know it at execution time from the aux vector.

PAGE_SIZE and PAGESIZE are not defined on archs where page size is
a runtime parameter, applications should use sysconf(_SC_PAGE_SIZE)
to query it. Internally libc code defines PAGE_SIZE to libc.page_size,
which is set to aux[AT_PAGESZ] in __init_libc and early in __dynlink
as well. (Note that libc.page_size can be accessed without GOT, ie.
before relocations are done)

Some fpathconf settings are hardcoded to 4096, these should be actually
queried from the filesystem using statfs.
2013-09-15 02:00:32 +00:00
..
alltypes.h.in fix regression in size of nlink_t (broken stat struct) on x86_64 2013-07-22 15:45:28 -04:00
endian.h better support for reverse-endian variants of arm/mips/microblaze 2012-10-18 21:50:55 -04:00
errno.h fix numerous mips abi constant definition mismatches 2012-11-05 14:29:04 -05:00
fcntl.h add missing F_GETOWNER_UIDS flag to bits/fcntl.h 2013-01-12 19:42:39 +01:00
fenv.h floating point environment/exceptions support for mips 2012-10-18 20:19:53 -04:00
float.h add FLT_TRUE_MIN, etc. macros from C11 2013-05-17 18:38:42 -04:00
io.h fix breakage from introducing bits header for sys/io.h 2012-11-18 19:58:15 -05:00
ioctl.h fix ioctl _IOR, _IOW, etc macros to avoid signed overflow (2<<30) 2013-05-26 15:49:08 +00:00
ipc.h fix broken semctl on systems that don't use IPC_64 flag 2012-09-22 08:02:42 -04:00
limits.h support configurable page size on mips, powerpc and microblaze 2013-09-15 02:00:32 +00:00
mman.h add missing mmap options and madvices to bits/mman.h based on linux headers 2013-01-12 19:42:39 +01:00
msg.h fix mips sysv ipc bits headers 2013-09-14 14:44:03 -04:00
posix.h initial version of mips (o32) port, based on work by Richard Pennington (rdp) 2012-07-11 04:22:13 -04:00
reg.h begin sys/user.h and sys/reg.h fixes for ports 2012-11-23 20:05:43 -05:00
setjmp.h change jmp_buf to share an underlying type and struct tag with sigjmp_buf 2013-07-24 02:17:02 -04:00
shm.h fix mips sysv ipc bits headers 2013-09-14 14:44:03 -04:00
signal.h fix _NSIG and SIGRTMAX on mips 2013-08-10 23:39:43 -04:00
socket.h add the new SO_REUSEPORT socket option to mips and powerpc 2013-04-01 17:54:39 +00:00
stat.h initial version of mips (o32) port, based on work by Richard Pennington (rdp) 2012-07-11 04:22:13 -04:00
statfs.h initial version of mips (o32) port, based on work by Richard Pennington (rdp) 2012-07-11 04:22:13 -04:00
stdarg.h initial version of mips (o32) port, based on work by Richard Pennington (rdp) 2012-07-11 04:22:13 -04:00
stdint.h remove SIG_ATOMIC_MIN/MAX from stdint bits headers 2013-07-22 17:02:03 -04:00
syscall.h add syscall numbers for the new kcmp and finit_module syscalls 2013-04-01 18:02:32 +00:00
termios.h fix termios constants on mips 2012-11-23 17:23:38 -05:00
user.h make sys/procfs.h mostly work on most archs 2012-11-25 22:28:18 -05:00