Web Analytics Made Easy -
StatCounter Change IDT, GDT, LDT base with C or C++ - CodingForum

Announcement

Collapse
No announcement yet.

Change IDT, GDT, LDT base with C or C++

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Change IDT, GDT, LDT base with C or C++

    Hello everybody,

    i need for testing purpose to change the base adress (only the base adress nothing else) of the IDT, GDT, and/or LDT with C or C++. I know the system might crash but it doesnt matter.

    I know that it can be made with just 2-5 lines of inline assembler like (__asm lgdt ...) but iam not that good to do it

    So can maybe anybody give me a short code-snippet just to change the idt-base to "0xff3352" ? That would be really great and kinda save my ***

    Thanks in advance!
    Sandiego
Working...
X