Lines 1-17
Link Here
|
1 |
--- cpuid_UP.S.orig Tue Dec 11 11:01:41 2001 |
1 |
--- cpuid_UP.S.orig Tue Nov 26 20:20:07 2002 |
2 |
+++ cpuid_UP.S Tue Dec 18 13:42:43 2001 |
2 |
+++ cpuid_UP.S Sun Aug 24 16:12:12 2003 |
3 |
@@ -1,21 +1,14 @@ |
3 |
@@ -1,25 +1,8 @@ |
4 |
.align 4 |
4 |
.align 4 |
5 |
.text |
5 |
.text |
6 |
|
6 |
|
7 |
-#ifdef linux |
7 |
-#ifdef linux |
8 |
|
8 |
- |
9 |
+#ifdef __WIN32__ |
|
|
10 |
+.globl _cpuid_UP |
11 |
+ .def _cpuid_UP; .scl 2; .type 32; .endef |
12 |
+#else /* a sane system */ |
13 |
.globl cpuid_UP |
9 |
.globl cpuid_UP |
14 |
.type cpuid_UP,@function |
10 |
- .type cpuid_UP,@function |
15 |
cpuid_UP: |
11 |
cpuid_UP: |
16 |
- |
12 |
- |
17 |
-#else /* BSD or WIN32 */ |
13 |
-#else /* BSD or WIN32 */ |
Lines 23-28
Link Here
|
23 |
-#else /* BSD */ |
19 |
-#else /* BSD */ |
24 |
- .type _cpuid_UP,@function |
20 |
- .type _cpuid_UP,@function |
25 |
-#endif /* __WIN32__ */ |
21 |
-#endif /* __WIN32__ */ |
26 |
|
22 |
- |
27 |
_cpuid_UP: |
23 |
-_cpuid_UP: |
28 |
#endif /* linux */ |
24 |
-#endif /* linux */ |
|
|
25 |
- |
26 |
pushl %ebp |
27 |
movl %esp,%ebp |
28 |
pushl %edi |