JamesM tutorial kheap.c?
Posted: Tue Mar 01, 2016 3:11 pm
Hello, and first off, sorry for making my first post and ask for help. I know the JamesM code is very buggy especially the kheap code.
My problem is that when I compile the kernel, it fails with an error "kheap:11:30: error: initializer element is not constant"
The failing line is "uint32_t placement_address = (uint32_t)&end;".
I have changed the code, by replacing that "u32int" stuff with the proper types, but this error was there before I did that.
My problem is that when I compile the kernel, it fails with an error "kheap:11:30: error: initializer element is not constant"
The failing line is "uint32_t placement_address = (uint32_t)&end;".
I have changed the code, by replacing that "u32int" stuff with the proper types, but this error was there before I did that.