![]() I would suggest you to check the behaviour in other emulators. The iret also makes no sense for other reasons (for example, the stack is also invalid). The second iret (from React OS) causes a protection fault because it's invalid: The CS dpl is 0, but the rpl is 3 and it's marked non-conforming. ![]() Note that the emulator doesn't support VME, which might be relevant here. The first iret (from the bios) is supposed to cause a protection fault because iopl < 3. There's no hack, everything is implemented according to Intel's manuals. It should stay in v86 mode and resume execution at the BOP. The IRET is supposed to return in v86 mode, to the trapoline code, and then execute the BOP instruction, which would then exit to the kernel's fault handler in protected mode. Hope this helps.īy the way, if you experience random faults while testing reactos, this is caused by random disk reads failing. to fail immediately, and then everything is fine. It immediately page faults and the assertion in the page fault handler fails.It's weird, because it jumps to code in kernel space but puts the cpu in user mode and the stack is the stack from vm86 mode. Then the bios returns using iret (line 78).The bios makes some page faults and protection faults, which are fine.Please note, that ReactOS is still in alpha and gives no guarantee of stability, safety of your files or working at all. It allows you to explore ReactOS in a temporary environment that will be reset in a restart. Then it makes a bios call (int 0x10, something related to graphics) (line 14). Live CD is useful if you don't plan to keep ReactOS on your computer for a longer period of time. ![]() Then it switches to vm86 mode (line 13).There's a system call: int 0x30 start (line 1).I debugged this in detail, here's a log: jedi-to-be, could you please ask those guys why this is needed? It would be interesting to know exactly why it's needed. , Introduced PSEH and multi-partition HDD support in LiveCD. Yep, this is probably a bug, the sample rate is set to 0. Live CD is useful if you don't plan to keep ReactOS on your computer for a longer period of time. ReactOS is a free and open-source operating system for amd64/i686 personal computers. The last commit shows that something looks wrong in our ps/2 driver, then!!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |