exit() seems to work, but needs more testing.

- Added cleaner allocation of shm addresses by moving the allocation to do_mmap().
- Added deletion routine for all objects: shadow, vm_file of type vfs_file, shm_file, etc.
  - Need to make sure objects get deleted properly after exit().
- Currently we allow a single, unique virtual address for each shm segment.
This commit is contained in:
Bahadir Balban
2008-10-21 14:17:58 +03:00
parent aa2be891cd
commit b20fda9341
11 changed files with 166 additions and 67 deletions

View File

@@ -143,6 +143,7 @@ struct vm_file {
unsigned long length;
unsigned int type;
struct vm_object vm_obj;
void (*destroy_priv_data)(struct vm_file *f);
void *priv_data; /* Device pagers use to access device info */
};