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

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

Issue 1539423002: Revert of Switch to standard integer types in sandbox/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 (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
10 #if !defined(__BIONIC_HAVE_UCONTEXT_T) 8 #if !defined(__BIONIC_HAVE_UCONTEXT_T)
11 #if !defined(__native_client_nonsfi__) 9 #if !defined(__native_client_nonsfi__)
12 #include <asm/sigcontext.h> 10 #include <asm/sigcontext.h>
13 #else 11 #else
14 // In PNaCl toolchain, sigcontext and stack_t is not defined. So here declare 12 // In PNaCl toolchain, sigcontext and stack_t is not defined. So here declare
15 // them. 13 // them.
16 struct sigcontext { 14 struct sigcontext {
17 unsigned long trap_no; 15 unsigned long trap_no;
18 unsigned long error_code; 16 unsigned long error_code;
19 unsigned long oldmask; 17 unsigned long oldmask;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 /* Last for extensibility. Eight byte aligned because some 58 /* Last for extensibility. Eight byte aligned because some
61 coprocessors require eight byte alignment. */ 59 coprocessors require eight byte alignment. */
62 unsigned long uc_regspace[128] __attribute__((__aligned__(8))); 60 unsigned long uc_regspace[128] __attribute__((__aligned__(8)));
63 } ucontext_t; 61 } ucontext_t;
64 62
65 #else 63 #else
66 #include <sys/ucontext.h> 64 #include <sys/ucontext.h>
67 #endif // __BIONIC_HAVE_UCONTEXT_T 65 #endif // __BIONIC_HAVE_UCONTEXT_T
68 66
69 #endif // SANDBOX_LINUX_SYSTEM_HEADERS_ARM_LINUX_UCONTEXT_H_ 67 #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