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

Unified 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, 6 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 side-by-side diff with in-line comments
Download patch
Index: sysdeps/nacl/receive_args.h
diff --git a/sysdeps/nacl/receive_args.h b/sysdeps/nacl/receive_args.h
index 5e53f1ff47dc7c5d73b5405198056529abfe690b..838cae89c49dbd38128ef37e21db556c68f125a9 100644
--- a/sysdeps/nacl/receive_args.h
+++ b/sysdeps/nacl/receive_args.h
@@ -1,26 +1,8 @@
#ifndef _NACL_RECEIVE_ARGS_H
#define _NACL_RECEIVE_ARGS_H
-#include <stdlib.h>
+#include <stdint.h>
-#include "nacl_syscalls.h"
-
-struct process_args;
-
-struct process_args *argmsg_fetch (void);
-size_t argmsg_get_size_on_stack (struct process_args *args);
-void argmsg_move_to_stack (struct process_args *args,
- void *buf, size_t buf_size);
-void jump_to_elf_start (void *buf, uintptr_t entry_func, uintptr_t atexit_func);
-
-/* We have a typedef for the size of argc on the stack because this
- varies between NaCl platforms.
- See http://code.google.com/p/nativeclient/issues/detail?id=1226
- TODO(mseaborn): Unify the ABIs. */
-#if defined(__x86_64__)
-typedef int64_t argc_type;
-#else
-typedef int32_t argc_type;
-#endif
+uint32_t *argmsg_fetch (uint32_t *arginfo);
#endif
« 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