2008-11-20 Ken Werner <ken.werner@de.ibm.com>

Patrick Mansfield  <patmans@us.ibm.com>
            Joel Schopp   <jschopp@austin.ibm.com>

        * spu/Makefile.in: Add new files.
        * spu/jsre.h: Add JSRE_MMAP, JSRE_MREMAP, JSRE_MSYNC and
        JSRE_MUNMAP opcodes.
        * spu/mmap_eaddr.c: New File.
        * spu/mremap_eaddr.c: Likewise.
        * spu/msync_eaddr.c: Likewise.
        * spu/munmap_eaddr.c: Likewise.
This commit is contained in:
Jeff Johnston
2008-11-20 20:12:34 +00:00
parent 0e9810262d
commit 01eb6cd6d9
7 changed files with 267 additions and 12 deletions

View File

@ -6,12 +6,12 @@ All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of IBM nor the names of its contributors may be
* Neither the name of IBM nor the names of its contributors may be
used to endorse or promote products derived from this software without
specific prior written permission.
@ -46,6 +46,10 @@ Author: Andreas Neukoetter (ti95neuk@de.ibm.com)
#define JSRE_GETTIMEOFDAY 7
#define JSRE_LSEEK 9
#define JSRE_LSTAT 10
#define JSRE_MMAP 11
#define JSRE_MREMAP 12
#define JSRE_MSYNC 13
#define JSRE_MUNMAP 14
#define JSRE_OPEN 15
#define JSRE_READ 16
#define JSRE_SHM_OPEN 21