Major mistake in the Video




Major mistake in the Video

Postby algorithman » 13. Apr 2017, 12:15

Hello everyone,
Interrupts are a major source of problems already, so I am especially sorry about this mistake.

In line 11-14 of gdt.cpp, it should be
Code: Select all
    // right
    i[0] = sizeof(GlobalDescriptorTable) << 16;
    i[1] = (uint32_t)this;

instead of
Code: Select all
    // WRONG!!!
    i[0] = (uint32_t)this;
    i[1] = sizeof(GlobalDescriptorTable) << 16;

I don't even know how this happened - it's correct in the git commit, so I probably fixed it somewhere in between and forgot to mention it in the video.
User avatar
algorithman
Administrator
 
Posts: 49
Joined: 2. Mar 2017, 12:40

by Advertising » 13. Apr 2017, 12:15

Advertising
 

Re: Major mistake in the Video

Postby liangular » 10. Sep 2017, 21:04

great! thanks
liangular
 
Posts: 2
Joined: 10. Sep 2017, 21:01


Return to Interrupts

Who is online

No registered users

cron