Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(568)

Side by Side Diff: sandbox/linux/system_headers/x86_64_linux_ucontext.h

Issue 1538283002: Switch to standard integer types in sandbox/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: macros Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SANDBOX_LINUX_SYSTEM_HEADERS_X86_64_LINUX_UCONTEXT_H_ 5 #ifndef SANDBOX_LINUX_SYSTEM_HEADERS_X86_64_LINUX_UCONTEXT_H_
6 #define SANDBOX_LINUX_SYSTEM_HEADERS_X86_64_LINUX_UCONTEXT_H_ 6 #define SANDBOX_LINUX_SYSTEM_HEADERS_X86_64_LINUX_UCONTEXT_H_
7 7
8 #include <stdint.h>
9
8 // We do something compatible with glibc. Hopefully, at some point Android will 10 // We do something compatible with glibc. Hopefully, at some point Android will
9 // provide that for us, and __BIONIC_HAVE_UCONTEXT_T should be defined. 11 // provide that for us, and __BIONIC_HAVE_UCONTEXT_T should be defined.
10 // Spec: 12 // Spec:
11 // http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-AMD64/LSB-Core-AMD64/l ibc-ddefs.html#AEN5668 13 // http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-AMD64/LSB-Core-AMD64/l ibc-ddefs.html#AEN5668
12 14
13 #if !defined(__BIONIC_HAVE_UCONTEXT_T) 15 #if !defined(__BIONIC_HAVE_UCONTEXT_T)
14 #include <asm/sigcontext.h> 16 #include <asm/sigcontext.h>
15 17
16 struct _libc_fpxreg { 18 struct _libc_fpxreg {
17 unsigned short significand[4]; 19 unsigned short significand[4];
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 mcontext_t uc_mcontext; 81 mcontext_t uc_mcontext;
80 sigset_t uc_sigmask; 82 sigset_t uc_sigmask;
81 struct _libc_fpstate __fpregs_mem; 83 struct _libc_fpstate __fpregs_mem;
82 } ucontext_t; 84 } ucontext_t;
83 85
84 #else 86 #else
85 #include <sys/ucontext.h> 87 #include <sys/ucontext.h>
86 #endif // __BIONIC_HAVE_UCONTEXT_T 88 #endif // __BIONIC_HAVE_UCONTEXT_T
87 89
88 #endif // SANDBOX_LINUX_SYSTEM_HEADERS_X86_64_LINUX_UCONTEXT_H_ 90 #endif // SANDBOX_LINUX_SYSTEM_HEADERS_X86_64_LINUX_UCONTEXT_H_
OLDNEW
« no previous file with comments | « sandbox/linux/system_headers/mips_linux_ucontext.h ('k') | sandbox/linux/tests/scoped_temporary_file_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698