Changeset 37e7dc54 in mainline for uspace/srv/vfs/vfs.c
- Timestamp:
- 2007-09-27T15:27:53Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6c117bb
- Parents:
- bcf23cf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs.c
rbcf23cf r37e7dc54 121 121 list_initialize(&plb_head); 122 122 plb = as_get_mappable_page(PLB_SIZE); 123 // memset(plb, 0, PLB_SIZE); 123 if (!plb) { 124 printf("Cannot allocate a mappable piece of address space\n"); 125 return ENOMEM; 126 } 127 if (as_area_create(plb, PLB_SIZE, AS_AREA_READ | AS_AREA_WRITE | 128 AS_AREA_CACHEABLE) != plb) { 129 printf("Cannot create address space area.\n"); 130 return ENOMEM; 131 } 132 memset(plb, 0, PLB_SIZE); 124 133 125 134 /*
Note:
See TracChangeset
for help on using the changeset viewer.