In the wiki it said that I need to disable interrupts before I enter PM
How do I do that ??
CLI -- Just clears out table right ??or does it disable it ??
How do i enable it after ?
thx for future help
few questions[new questions]
- packet50071
- Member
- Posts: 43
- Joined: Sat Dec 22, 2007 2:27 pm
- Location: canada
few questions[new questions]
Last edited by packet50071 on Tue Dec 25, 2007 7:38 pm, edited 1 time in total.
Technology is here to make things easier not harder.
-
- Member
- Posts: 368
- Joined: Sun Sep 23, 2007 4:52 am
-
- Member
- Posts: 368
- Joined: Sun Sep 23, 2007 4:52 am
- packet50071
- Member
- Posts: 43
- Joined: Sat Dec 22, 2007 2:27 pm
- Location: canada
thx For conforming
edit
http://www.osdev.org/wiki/IDT
How do i set this Up ?? [ IDT ]
Is there any other palce where i can find this kind of "Standard Codes" ?
and also Does GRUB give control to my code After entering pm ??
edit
http://www.osdev.org/wiki/IDT
How do i set this Up ?? [ IDT ]
Is there any other palce where i can find this kind of "Standard Codes" ?
and also Does GRUB give control to my code After entering pm ??
Technology is here to make things easier not harder.
It's easy just to set up the initial (stubbed) 256 interrupt handlers in the IDT as a predefined data table in your kernel. You can read the exact format of an IDT entry in one of the Intel manuals.
And your kernel should be compiled to expect that its base load address is 0x100000 (1M), and its entry point is also there -- that is how GRUB transfers control to you.
And your kernel should be compiled to expect that its base load address is 0x100000 (1M), and its entry point is also there -- that is how GRUB transfers control to you.