aboutsummaryrefslogtreecommitdiff
path: root/pk/frontend.c
diff options
context:
space:
mode:
authorColin Schmidt <colins@berkeley.edu>2014-05-22 18:56:56 -0700
committerColin Schmidt <colins@berkeley.edu>2014-05-22 18:56:56 -0700
commite50dc18f5df45ea358182ce7d986b77858219cd9 (patch)
tree67f91335fd545ca51de67df0d5dca8d976a30a3b /pk/frontend.c
parent894fe673b4f1326abd29512c8419759698d8ea2c (diff)
downloadpk-e50dc18f5df45ea358182ce7d986b77858219cd9.zip
pk-e50dc18f5df45ea358182ce7d986b77858219cd9.tar.gz
pk-e50dc18f5df45ea358182ce7d986b77858219cd9.tar.bz2
Add several syscalls, and move syscall header file from newlib
syscalls added (openat, access, accessat, faccessat, etc.)
Diffstat (limited to 'pk/frontend.c')
-rw-r--r--pk/frontend.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pk/frontend.c b/pk/frontend.c
index 77d71a6..4c6051e 100644
--- a/pk/frontend.c
+++ b/pk/frontend.c
@@ -5,7 +5,7 @@
#include "frontend.h"
#include <stdint.h>
-long frontend_syscall(long n, long a0, long a1, long a2, long a3)
+long frontend_syscall(long n, long a0, long a1, long a2, long a3, long a4)
{
static volatile uint64_t magic_mem[8];
@@ -17,6 +17,7 @@ long frontend_syscall(long n, long a0, long a1, long a2, long a3)
magic_mem[2] = a1;
magic_mem[3] = a2;
magic_mem[4] = a3;
+ magic_mem[5] = a4;
mb();