/*[ lidt.c LOCAL CHAR SccsID[]="@(#)lidt.c 1.5 02/09/94"; LIDT CPU Functions. ------------------- ]*/ #include #include #include #include #include #include #include #include #include #include #include #include /* ===================================================================== EXTERNAL ROUTINES START HERE ===================================================================== */ GLOBAL VOID LIDT16 #ifdef ANSI ( IU32 op1[2] /* src(limit:base pair) operand */ ) #else (op1) IU32 op1[2]; #endif { SET_STAR_LIMIT(IDT_REG, op1[0]); SET_STAR_BASE(IDT_REG, op1[1] & 0xffffff); /* store 24-bit base */ } GLOBAL VOID LIDT32 #ifdef ANSI ( IU32 op1[2] /* src(limit:base pair) operand */ ) #else (op1) IU32 op1[2]; #endif { SET_STAR_LIMIT(IDT_REG, op1[0]); SET_STAR_BASE(IDT_REG, op1[1]); }