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

Side by Side Diff: sandbox/linux/system_headers/arm_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 4 years, 12 months 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_ARM_LINUX_UCONTEXT_H_ 5 #ifndef SANDBOX_LINUX_SYSTEM_HEADERS_ARM_LINUX_UCONTEXT_H_
6 #define SANDBOX_LINUX_SYSTEM_HEADERS_ARM_LINUX_UCONTEXT_H_ 6 #define SANDBOX_LINUX_SYSTEM_HEADERS_ARM_LINUX_UCONTEXT_H_
7 7
8 #include <stddef.h>
9
8 #if !defined(__BIONIC_HAVE_UCONTEXT_T) 10 #if !defined(__BIONIC_HAVE_UCONTEXT_T)
9 #if !defined(__native_client_nonsfi__) 11 #if !defined(__native_client_nonsfi__)
10 #include <asm/sigcontext.h> 12 #include <asm/sigcontext.h>
11 #else 13 #else
12 // In PNaCl toolchain, sigcontext and stack_t is not defined. So here declare 14 // In PNaCl toolchain, sigcontext and stack_t is not defined. So here declare
13 // them. 15 // them.
14 struct sigcontext { 16 struct sigcontext {
15 unsigned long trap_no; 17 unsigned long trap_no;
16 unsigned long error_code; 18 unsigned long error_code;
17 unsigned long oldmask; 19 unsigned long oldmask;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 /* Last for extensibility. Eight byte aligned because some 60 /* Last for extensibility. Eight byte aligned because some
59 coprocessors require eight byte alignment. */ 61 coprocessors require eight byte alignment. */
60 unsigned long uc_regspace[128] __attribute__((__aligned__(8))); 62 unsigned long uc_regspace[128] __attribute__((__aligned__(8)));
61 } ucontext_t; 63 } ucontext_t;
62 64
63 #else 65 #else
64 #include <sys/ucontext.h> 66 #include <sys/ucontext.h>
65 #endif // __BIONIC_HAVE_UCONTEXT_T 67 #endif // __BIONIC_HAVE_UCONTEXT_T
66 68
67 #endif // SANDBOX_LINUX_SYSTEM_HEADERS_ARM_LINUX_UCONTEXT_H_ 69 #endif // SANDBOX_LINUX_SYSTEM_HEADERS_ARM_LINUX_UCONTEXT_H_
OLDNEW
« no previous file with comments | « sandbox/linux/system_headers/arm64_linux_ucontext.h ('k') | sandbox/linux/system_headers/i386_linux_ucontext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698