mirror of
https://github.com/drasko/codezero.git
synced 2026-02-14 10:53:15 +01:00
Adds reading pages into page-cache in an ordered manner.
Added reading pages from the page cache into user buffer for sys_read. Increases stack sizes to 4 pages. Updated README to include more details about multi-pager environments.
This commit is contained in:
@@ -26,9 +26,12 @@ void main(void)
|
||||
{
|
||||
printf("\n%s: Started with tid %d.\n", __TASKNAME__, self_tid());
|
||||
/* Sync with pager */
|
||||
wait_pager(0);
|
||||
|
||||
dirtest();
|
||||
|
||||
while (1)
|
||||
wait_pager(0);
|
||||
|
||||
#if 0
|
||||
/* Check mmap/munmap */
|
||||
mmaptest();
|
||||
|
||||
Reference in New Issue
Block a user