Zachary Amsden wrote: > So I propose changing the convention here to eliminate the entrynum > field, thus allowing all the parameters to fit within the fastcall > convention, which affords us three registers. The primary motivation > being, the call to write_gdt_entry is on the fast path in context switch. > > Any objections? Yeah, write_idt_entry can't be done with just a pointer because we need to get the index out of it, and we don't necessarily know the base of the table being written at that time (since it might not be the main idt_table). So what Christian said, basically. J