summaryrefslogtreecommitdiffstats
path: root/api_examples/glue.h
diff options
context:
space:
mode:
Diffstat (limited to 'api_examples/glue.h')
-rw-r--r--api_examples/glue.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/api_examples/glue.h b/api_examples/glue.h
index a82f783cbe..0adb8b388a 100644
--- a/api_examples/glue.h
+++ b/api_examples/glue.h
@@ -30,12 +30,12 @@
#ifndef _API_GLUE_H_
#define _API_GLUE_H_
-#define API_SEARCH_START (255 * 1024 * 1024) /* start at 1MB below top RAM */
-#define API_SEARCH_END (256 * 1024 * 1024 - 1) /* ...and search to the end */
+#define API_SEARCH_LEN (3 * 1024 * 1024) /* 3MB search range */
-int syscall(int, int *, ...);
-void * syscall_ptr;
+extern void *syscall_ptr;
+extern uint32_t search_hint;
+int syscall(int, int *, ...);
int api_search_sig(struct api_signature **sig);
/*
OpenPOWER on IntegriCloud