Changeset 8e1ea655 in mainline for generic/src/mm/as.c
- Timestamp:
- 2006-02-05T21:51:19Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c585827
- Parents:
- 5c9a08b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/mm/as.c
r5c9a08b r8e1ea655 66 66 { 67 67 as_arch_init(); 68 AS_KERNEL = as_create(FLAG_AS_KERNEL | FLAG_AS_EARLYMALLOC);68 AS_KERNEL = as_create(FLAG_AS_KERNEL); 69 69 if (!AS_KERNEL) 70 70 panic("can't create kernel address space\n"); … … 79 79 as_t *as; 80 80 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)); 81 as = (as_t *) malloc(sizeof(as_t)); 85 82 if (as) { 86 83 list_initialize(&as->as_with_asid_link);
Note:
See TracChangeset
for help on using the changeset viewer.