mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
linux-user: Move generic TARGET_RLIMIT* definitions to generic/target_resource.h
Signed-off-by: Serge Belyshev <belyshev@depni.sinp.msu.ru> Message-Id: <87ee4ql3yk.fsf_-_@depni.sinp.msu.ru> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
eb33cdaeda
commit
b13e49bc86
22 changed files with 117 additions and 52 deletions
17
linux-user/sparc/target_resource.h
Normal file
17
linux-user/sparc/target_resource.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
#ifndef SPARC_TARGET_RESOURCE_H
|
||||
#define SPARC_TARGET_RESOURCE_H
|
||||
|
||||
#include "../generic/target_resource.h"
|
||||
|
||||
#if TARGET_ABI_BITS == 32
|
||||
#undef TARGET_RLIM_INFINITY
|
||||
#define TARGET_RLIM_INFINITY 0x7fffffffUL
|
||||
#endif
|
||||
|
||||
#undef TARGET_RLIMIT_NOFILE
|
||||
#define TARGET_RLIMIT_NOFILE 6
|
||||
|
||||
#undef TARGET_RLIMIT_NPROC
|
||||
#define TARGET_RLIMIT_NPROC 7
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue