Changeset 04225a7 in mainline for generic/src/mm/as.c
- Timestamp:
- 2006-02-04T19:06:07Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3260ada
- Parents:
- 55ab0f1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/mm/as.c
r55ab0f1 r04225a7 66 66 { 67 67 as_arch_init(); 68 AS_KERNEL = as_create(FLAG_AS_KERNEL );68 AS_KERNEL = as_create(FLAG_AS_KERNEL | FLAG_AS_EARLYMALLOC); 69 69 if (!AS_KERNEL) 70 70 panic("can't create kernel address space\n"); … … 79 79 as_t *as; 80 80 81 as = (as_t *) early_malloc(sizeof(as_t)); 81 if (flags & FLAG_AS_EARLYMALLOC) 82 as = (as_t *) early_malloc(sizeof(as_t)); 83 else 84 as = (as_t *) malloc(sizeof(as_t)); 82 85 if (as) { 83 86 list_initialize(&as->as_with_asid_link);
Note:
See TracChangeset
for help on using the changeset viewer.