kernel/source/arch/x86_64/exceptions/exceptions.cpp
// after we have ISTs, this is necessary.
after we have ISTs, this is necessary.
after we have ISTs this is necessary .
void initWithISTs()
	{
		for(int i = 0; i < 32; i++)
		{
			int ist = 0;
			if(i == 2 || i == 18)   ist = 7;    
			else if(i == 8)         ist = 6;    
			else                    ist = 1;    
			cpu::idt::setEntry(i, (uint64_t) exception_handlers[i],  0x08,
				 false,  false, ist);
		}
	}
void initWithISTs ( ) { for ( int i = 0 ; i < 32 ; i ++ ) { int ist = 0 ; if ( i == 2 || i == 18 ) ist = 7 ; else if ( i == 8 ) ist = 6 ; else ist = 1 ; cpu :: idt :: setEntry ( i , ( uint64_t ) exception_handlers [ i ] , 0x08 , false , false , ist ) ; } }
after we have ISTs, this is necessary.
after we have ISTs this is necessary .
// NMI, MCE // DF // the rest /* cs: */ /* isRing3: */ /* nestable: */