Assignment failing
Posted: Fri Nov 04, 2005 2:30 pm
Inside some of my kernel bootstrap code I run
in order to tell the heap how large it starts off. The problem is that with recent compilations (ie: returning to an earlier code version doesn't help) that line has begun to do nothing and I don't know why. I'll step to it, evaluate the r-expression. Then when I step once more and evaluate pFreeList^.mbBlock.lwMemoryLength I get 0.
This happens both in bochs and on real hardware.
*pulls hair off head*
Code: Select all
pFreeList^.mbBlock.lwMemoryLength:= lwHeapPages * 4096 - sizeof(TMemoryBlock) - sizeof(TMemoryBlockEnd);
This happens both in bochs and on real hardware.
*pulls hair off head*