Bahadir Balban
a9e6aabcae
We can now successfully copy char *argv[] user array.
...
After a lot of magic pointer arithmetic and mapping.
2008-11-25 11:05:41 +02:00
Bahadir Balban
311d6917c4
Fixed a few errors with pager-mapping of elf file pages.
...
Added expansion of elf segments during segment marking.
2008-11-22 13:23:39 +02:00
Bahadir Balban
906c8ac679
Added pager_map_file_page() which maps a file offset as a pointer.
2008-11-21 23:27:43 +02:00
Bahadir Balban
7d38243dff
Moved all pager page-mapping routines to memory.c
...
Added a new virtual address pool for contiguous virtual addresses for the pager.
This will help in mapping multi-page user buffers and files.
2008-11-21 21:05:42 +02:00
Bahadir Balban
df2317e7aa
exchange_registers(), modified thread_control calls seem to work
...
- Fixed do_mmap() so that it returns mapped address, and various bugs.
- A child seems to fork with new setup, but with incorrect return value.
Need to use and test exregs() for fork + clone.
- Shmat searches an unmapped area if input arg is invalid, do_mmap()
should do this.
2008-09-15 15:59:44 +03:00
Bahadir Balban
cd79fa8f58
Fixed most compiler errors. Need to do more.
2008-03-12 22:20:32 +00:00
Bahadir Balban
783904574d
Revised task initialisation, revising mmap yet.
2008-03-06 20:55:46 +00:00
Bahadir Balban
3a07ae70fd
Rearranged devzero. More bugs to fix.
2008-02-05 01:21:55 +00:00
Bahadir Balban
e2b791a3d8
Initial commit
2008-01-13 13:53:52 +00:00