Displaying 2 results from an estimated 2 matches for "is_32bit".
Did you mean:
is32bit
2007 Jan 04
2
Automatically choose between 32-bit and 64-bit kernel
...ank out the WBINVD
instruction
;
-%if DO_WBINVD
pushfd ; Save the good flags
pushfd
pop eax
@@ -69,6 +67,47 @@
;
; 386 - Looks like we better blot out the WBINVD instruction
;
+%if DO_WBINVD
mov byte [try_wbinvd],0c3h ; Near RET
-is_486:
%endif ; DO_WBINVD
+ jmp is_32bit
+is_486:
+;
+; Check if this CPU supports the CPUID command
+;
+ pushfd ; Save the flags again
+ pushfd
+ pop eax
+ mov ebx,eax
+ xor eax,(1 << 21) ; CPUID bit
+ push eax
+ popfd
+ pushfd
+ pop eax
+ popfd ; Restore the original flags
+ xor eax,ebx
+ jz is_32bit
+;
+; Now c...
2006 Jun 23
2
Needed help to fix corrupted ext3 fs
I have been trying very hard to seek help with my very complex issue but
so far none have been successful. So I would like to try this mailing
list, maybe there are some experts who know what they're talking about.
Please refer to my experts-exchange question, all the required
information will be there. It is more practical to send you to the
webpage than paste out what I've done.