rpc.h 328 Bytes
Newer Older
1
2
#include <linux/kernel.h>

Michael Quigley's avatar
Michael Quigley committed
3
#include "../../IPC/ipc.h"
4

Scotty Bauer's avatar
Scotty Bauer committed
5
typedef enum {NULL_INVOCATION, ADD_CONSTANT, ADD_NUMS, ADD_3_NUMS,
6
	      ADD_4_NUMS, ADD_5_NUMS, ADD_6_NUMS} fn_types;
7
8

/* must be divisible by 6... because I call 6 functions in the Callee.c */
9
#define TRANSACTIONS 12000
10
11


12
13
int callee(void *chan);
int caller(void *chan);