Displaying 1 result from an estimated 1 matches for "indexport".
Did you mean:
indexplot
2004 Mar 01
0
[PATCH] pxelinux corrupts ipappend-ed paramaters...
...and edx,1<<4 ; TSC
+ jz .skip_rdtsc
+ rdtsc
+ or [NextSocket],ax
+.skip_rdtsc
+ pop ecx
+ pop edx
+ pop ebx
+%endif
+%macro udelay 0
+ jmp short %%skip
+%%skip: rep nop
+%endmacro
+ xor eax,eax
+ cli ; disable interrupts
+ or al, 80h ; disable NMI?
+ out 70h,al ; write to indexport 70h
+ udelay
+ in al,71h ; read from dataport 71h
+ udelay
+ mov ah,al ; store in AH
+ xor al,al ; AL = 0
+ out 70h,al ; enable NMI
+ udelay
+ sti ; enable interrupts
+ xor [NextSocket],ah
+%endif
;
; Now attempt to get the BOOTP/DHCP packet that brought us life (and an IP
; address)....