Ignore:
Timestamp:
Aug 24, 2015, 5:08:30 PM (9 years ago)
Author:
guerin
Message:

fix kill/exec

  • introduce physical_memcpy for fat_read
  • don't defer task exec
  • load writable segments in exec syscall
File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_fat32/fat32.h

    r674 r707  
    1212#include "giet_config.h"
    1313#include "kernel_locks.h"
     14#include "mapping_info.h"
    1415
    1516/*************** Partition Boot Sector Format **********************************/
     
    225226
    226227extern int _fat_read( unsigned int fd_id,                  // file descriptor 
    227                       void*        buffer,                 // destination buffer
    228                       unsigned int count );                // number of bytes
     228                      paddr_t buffer,                      // destination buffer
     229                      unsigned int count,                  // number of bytes
     230                      unsigned int phys );                 // use physical_memcpy
    229231
    230232extern int _fat_write( unsigned int fd_id,                 // file descriptor
Note: See TracChangeset for help on using the changeset viewer.