[RFC,29/34] hurd: Add vm_param.h for x86_64
Checks
Commit Message
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
---
sysdeps/mach/hurd/x86_64/vm_param.h | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 sysdeps/mach/hurd/x86_64/vm_param.h
Comments
Applied, thanks!
Sergey Bugaev, le dim. 19 mars 2023 18:10:12 +0300, a ecrit:
> Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
> ---
> sysdeps/mach/hurd/x86_64/vm_param.h | 24 ++++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
> create mode 100644 sysdeps/mach/hurd/x86_64/vm_param.h
>
> diff --git a/sysdeps/mach/hurd/x86_64/vm_param.h b/sysdeps/mach/hurd/x86_64/vm_param.h
> new file mode 100644
> index 00000000..f269afb3
> --- /dev/null
> +++ b/sysdeps/mach/hurd/x86_64/vm_param.h
> @@ -0,0 +1,24 @@
> +/* Copyright (C) 2020-2023 Free Software Foundation, Inc.
> + This file is part of the GNU C Library.
> +
> + The GNU C Library is free software; you can redistribute it and/or
> + modify it under the terms of the GNU Lesser General Public
> + License as published by the Free Software Foundation; either
> + version 2.1 of the License, or (at your option) any later version.
> +
> + The GNU C Library is distributed in the hope that it will be useful,
> + but WITHOUT ANY WARRANTY; without even the implied warranty of
> + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
> + Lesser General Public License for more details.
> +
> + You should have received a copy of the GNU Lesser General Public
> + License along with the GNU C Library; if not, see
> + <https://www.gnu.org/licenses/>. */
> +
> +#ifndef _X86_86_VM_PARAM_H
> +#define _X86_64_VM_PARAM_H
> +
> +/* Arbitrary start of the brk. This is after usual binary and library mappings. */
> +#define BRK_START 0x200000000000
> +
> +#endif /* x86_64/vm_param.h */
> --
> 2.39.2
>
new file mode 100644
@@ -0,0 +1,24 @@
+/* Copyright (C) 2020-2023 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <https://www.gnu.org/licenses/>. */
+
+#ifndef _X86_86_VM_PARAM_H
+#define _X86_64_VM_PARAM_H
+
+/* Arbitrary start of the brk. This is after usual binary and library mappings. */
+#define BRK_START 0x200000000000
+
+#endif /* x86_64/vm_param.h */