Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
Brendan wrote:It's a lot more likely is that it's trying to allocate "-2324 bytes", and that there's a conversion from signed to unsigned involved.
I went through my code and changed every "int" and "char" to "unsigned int" and "unsigned char", it didn't help. I then tried going through my code again changing all those lines to "singed int" and " signed char", that didn't either help. So, is there anything that I can actually do about this?
PS. I did get a warning message when I changed those lines to "signed".
bluemoon wrote:-kernel assume a linux kind kernel, and probably require multi-boot compliant.
That's self-contradictory, since Linux is not Multiboot-compliant. At any rate, -kernel requires either one or the other.
Isaac wrote:
Brendan wrote:It's a lot more likely is that it's trying to allocate "-2324 bytes", and that there's a conversion from signed to unsigned involved.
I went through my code and changed every "int" and "char" to "unsigned int" and "unsigned char", it didn't help. I then tried going through my code again changing all those lines to "singed int" and " signed char", that didn't either help. So, is there anything that I can actually do about this?
PS. I did get a warning message when I changed those lines to "signed".
Oh, wow. I don't know what is sadder---that you aren't able to tell whether it's your OS or your emulator that is crashing or the "solution" you came up with.
At any rate, what version of QEMU is it, who built it, and can we have the kernel image in question? It might be worth reporting.
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]