diff options
| author | Charles.Forsyth <devnull@localhost> | 2009-04-02 12:47:45 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2009-04-02 12:47:45 +0000 |
| commit | 0b2199ffc78ecd6fbb8754fa975bebb8d5814a06 (patch) | |
| tree | bca935c240a745b06df16d6c87bbe1a77a78c289 /emu/Linux/segflush-power.c | |
| parent | a3d4017d8d3be485b256b15d2344afac09112204 (diff) | |
20090402-1346
Diffstat (limited to 'emu/Linux/segflush-power.c')
| -rw-r--r-- | emu/Linux/segflush-power.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/emu/Linux/segflush-power.c b/emu/Linux/segflush-power.c index 07f9a3cb..8fa58189 100644 --- a/emu/Linux/segflush-power.c +++ b/emu/Linux/segflush-power.c @@ -1,9 +1,15 @@ +#include <sys/types.h> +#include <sys/syscall.h> + +#include "dat.h" + + /* * from geoff collyer's port * invalidate instruction cache and write back data cache from a to a+n-1, * at least. */ -void +int segflush(void *a, ulong n) { ulong *p; @@ -24,4 +30,5 @@ segflush(void *a, ulong n) : // no output : ); + return 0; } |
