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

Side by Side Diff: sysdeps/nacl/receive_args.h

Issue 7282019: Adjust for new NaCl startup ABI (Closed) Base URL: http://git.chromium.org/native_client/nacl-glibc.git@master
Patch Set: Created 9 years, 5 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 #ifndef _NACL_RECEIVE_ARGS_H 1 #ifndef _NACL_RECEIVE_ARGS_H
2 #define _NACL_RECEIVE_ARGS_H 2 #define _NACL_RECEIVE_ARGS_H
3 3
4 #include <stdlib.h> 4 #include <stdint.h>
5 5
6 #include "nacl_syscalls.h" 6 uint32_t *argmsg_fetch (uint32_t *arginfo);
7
8 struct process_args;
9
10 struct process_args *argmsg_fetch (void);
11 size_t argmsg_get_size_on_stack (struct process_args *args);
12 void argmsg_move_to_stack (struct process_args *args,
13 void *buf, size_t buf_size);
14 void jump_to_elf_start (void *buf, uintptr_t entry_func, uintptr_t atexit_func);
15
16 /* We have a typedef for the size of argc on the stack because this
17 varies between NaCl platforms.
18 See http://code.google.com/p/nativeclient/issues/detail?id=1226
19 TODO(mseaborn): Unify the ABIs. */
20 #if defined(__x86_64__)
21 typedef int64_t argc_type;
22 #else
23 typedef int32_t argc_type;
24 #endif
25 7
26 #endif 8 #endif
OLDNEW
« make_sysd_rules.py ('K') | « sysdeps/nacl/dl-sysdep.c ('k') | sysdeps/nacl/receive_args.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698