All pastes #247064 Raw Edit

Untitled

public text v1 · immutable
#247064 ·published 2006-11-12 23:34 UTC
rendered paste body
#define STXANDRFSEMU64(n, name) \
	IDT64_ENTRY(name,0,K_INTR_GATE)			;\
Entry(name)						;\
	pushl %eax			;\ 
	movl 4(%ebp), %eax  ;\
	cmp %eax, 0xF0BA	;\
	je 1f				;\
	cmp %eax, 0x		;\
	je 2f				;\
	cmp %eax, 0x		;\
	je 3f				;\
	cmp %eax, 0x		;\
	je 4f				;\
	jmp 5f				;\
1:						;\
	iret				;\
2:						;\
	iret				;\
3:						;\
	iret				;\	
4:						;\
	iret				;\
5:						;\
	push	$0					;\
	push	$(n)					;\
	movl	$(LO_ALLTRAPS), 4(%rsp)			;\
	jmp	L_enter_lohandler