OS Crash because of infinite loop
Posted: Thu Nov 05, 2015 6:30 am
Hi,
i'm working on a new kernel since 2 days, it's written in FreeBasic, with a little inline ASM (i started using , the freebasic bare metal example).
For now , i have console routines, memory management (alloc, free, realoc, mem cpy) , and the initialisation of a GDT
i now there is a lot of thing to do, (the goal is to make a sort of VM that executes a kind of bytecodes, and i could port it on the rhaspeberry pi)
The problem now,
is when in the main function, i add the "while(1);" loop , it crashes . any idea what could cause that?
i'm working on a new kernel since 2 days, it's written in FreeBasic, with a little inline ASM (i started using , the freebasic bare metal example).
For now , i have console routines, memory management (alloc, free, realoc, mem cpy) , and the initialisation of a GDT
i now there is a lot of thing to do, (the goal is to make a sort of VM that executes a kind of bytecodes, and i could port it on the rhaspeberry pi)
The problem now,
is when in the main function, i add the "while(1);" loop , it crashes . any idea what could cause that?