comparison cos/kernel/malloc.c @ 25:d3c4bf3720a3

Beginning of multitasking
author windel
date Tue, 27 Dec 2011 13:31:38 +0100
parents d8627924d40d
children dcce92b1efbc
comparison
equal deleted inserted replaced
24:d8627924d40d 25:d3c4bf3720a3
72 // Initialize the kernel heap: 72 // Initialize the kernel heap:
73 kernel_heap->magic = HEAP_MAGIC; 73 kernel_heap->magic = HEAP_MAGIC;
74 kernel_heap->state = HEAP_FREE; 74 kernel_heap->state = HEAP_FREE;
75 kernel_heap->size = HEAP_SIZE - sizeof(heap_t); 75 kernel_heap->size = HEAP_SIZE - sizeof(heap_t);
76 } 76 }
77