~ubuntu-branches/ubuntu/trusty/cctools/trusty

« back to all changes in this revision

Viewing changes to parrot/src/pfs_sys.cc

  • Committer: Package Import Robot
  • Author(s): Michael Hanke
  • Date: 2012-06-15 08:30:02 UTC
  • mfrom: (9.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20120615083002-r5nq7iowcv6bm35n
Tags: 3.5.0-1
* New upstream release.
* Remove obsolete patches 'missing_cflags' and 'python_compat'. They have
  been merged upstream.
* Remove DM-upload flag, not needed anymore.
* Bumped Standards-version to 3.9.3, no changes necessary.
* Do not install the new 'apps' binaries. They carry language-specific
  filename extensions, and upstream was asked if renaming is possible. Until
  this is decided they won't be installed to avoid changing the API twice.

Show diffs side-by-side

added added

removed removed

Lines of Context:
673
673
        END
674
674
}
675
675
 
 
676
pfs_size_t pfs_mmap_create( int fd, pfs_size_t file_offset, pfs_size_t length, int prot, int flags )
 
677
{
 
678
        BEGIN
 
679
        debug(D_LIBCALL,"mmap_create %d %llx %llx %x %x",fd,file_offset,length,prot,flags);
 
680
        result = pfs_current->table->mmap_create(fd,file_offset,length,prot,flags);
 
681
        END
 
682
}
 
683
 
 
684
int     pfs_mmap_update( pfs_size_t logical_address, pfs_size_t channel_address )
 
685
{
 
686
        BEGIN
 
687
        debug(D_LIBCALL,"mmap_update %llx %llx",logical_address,channel_address);
 
688
        result = pfs_current->table->mmap_update(logical_address,channel_address);
 
689
        END
 
690
}
 
691
 
 
692
int     pfs_mmap_delete( pfs_size_t logical_address, pfs_size_t length )
 
693
{
 
694
        BEGIN
 
695
        debug(D_LIBCALL,"mmap_delete %llx %llx",logical_address,length);
 
696
        result = pfs_current->table->mmap_delete(logical_address,length);
 
697
        END
 
698
}
 
699
 
676
700
int pfs_get_local_name( const char *rpath, char *lpath, char *firstline, int length )
677
701
{
678
702
        int fd;