mirror of
https://github.com/reactos/reactos.git
synced 2025-07-02 04:31:23 +00:00
[FREELDR] Comment out useless variable
This commit is contained in:
parent
5f692ed1f0
commit
46fdc89e4f
1 changed files with 2 additions and 2 deletions
|
@ -325,14 +325,14 @@ VOID
|
||||||
Amd64SetupIdt(PVOID IdtBase)
|
Amd64SetupIdt(PVOID IdtBase)
|
||||||
{
|
{
|
||||||
KDESCRIPTOR IdtDesc, OldIdt;
|
KDESCRIPTOR IdtDesc, OldIdt;
|
||||||
ULONG Size;
|
//ULONG Size;
|
||||||
TRACE("Amd64SetupIdt(IdtBase = %p)\n", IdtBase);
|
TRACE("Amd64SetupIdt(IdtBase = %p)\n", IdtBase);
|
||||||
|
|
||||||
/* Get old IDT */
|
/* Get old IDT */
|
||||||
__sidt(&OldIdt.Limit);
|
__sidt(&OldIdt.Limit);
|
||||||
|
|
||||||
/* Copy the old IDT */
|
/* Copy the old IDT */
|
||||||
Size = min(OldIdt.Limit + 1, NUM_IDT * sizeof(KIDTENTRY));
|
//Size = min(OldIdt.Limit + 1, NUM_IDT * sizeof(KIDTENTRY));
|
||||||
//RtlCopyMemory(IdtBase, (PVOID)OldIdt.Base, Size);
|
//RtlCopyMemory(IdtBase, (PVOID)OldIdt.Base, Size);
|
||||||
|
|
||||||
/* Setup the new IDT descriptor */
|
/* Setup the new IDT descriptor */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue