Changeset 2f18089 in rtems-libbsd
- Timestamp:
- 05/17/12 13:37:48 (11 years ago)
- Branches:
- 4.11, 5, 5-freebsd-12, 6-freebsd-12, freebsd-9.3, master
- Children:
- 4bc83af
- Parents:
- 60554e6
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
contrib/altq/freebsd/altq/altq_subr.c
r60554e6 r2f18089 913 913 #endif /* __alpha__ */ 914 914 915 #ifndef __rtems__ 915 916 #if (__FreeBSD_version >= 700035) 916 917 /* Update TSC freq with the value indicated by the caller. */ … … 934 935 EVENTHANDLER_PRI_LAST); 935 936 #endif /* __FreeBSD_version >= 700035 */ 937 #endif /* __rtems__ */ 936 938 937 939 static void … … 954 956 #endif 955 957 #ifdef __i386__ 958 #ifndef __rtems__ 956 959 /* check if TSC is available */ 957 960 if (machclk_usepcc == 1 && ((cpu_feature & CPUID_TSC) == 0 || 958 961 tsc_is_broken)) 962 #else /* __rtems__ */ 963 /* check if TSC is available */ 964 if (machclk_usepcc == 1 && ((cpu_feature & CPUID_TSC) == 0 || 965 !(x86_has_tsc()) )) 966 #endif /* __rtems__ */ 959 967 machclk_usepcc = 0; 960 968 #endif … … 986 994 * accessible, just use it. 987 995 */ 996 #ifndef __rtems__ 988 997 #ifdef __i386__ 989 998 #ifdef __FreeBSD__ … … 1005 1014 #endif 1006 1015 #endif /* __alpha__ */ 1016 #endif /* __rtems__ */ 1007 1017 1008 1018 /* -
freebsd-to-rtems.py
r60554e6 r2f18089 1198 1198 ] 1199 1199 ) 1200 1201 devNic.addCPUDependentHeaderFiles( 1202 [ 1203 'i386/include/specialreg.h', 1204 'i386/include/md_var.h', 1205 ] 1206 ) 1207 1200 1208 devNic.addSourceFiles( 1201 1209 [ -
freebsd/dev/pci/pci.c
r60554e6 r2f18089 58 58 #include <freebsd/machine/stdarg.h> 59 59 60 #ifndef __rtems__ 60 61 #if defined(__i386__) || defined(__amd64__) || defined(__powerpc__) 61 62 #include <freebsd/machine/intr_machdep.h> 62 63 #endif 64 #endif /* __rtems__ */ 63 65 64 66 #include <freebsd/sys/pciio.h> -
freebsd/opencrypto/crypto.c
r60554e6 r2f18089 1248 1248 int result, hint; 1249 1249 1250 #ifndef __rtems__ 1250 1251 #if defined(__i386__) || defined(__amd64__) 1251 1252 fpu_kern_thread(FPU_KERN_NORMAL); 1252 1253 #endif 1254 #endif /* __rtems__ */ 1253 1255 1254 1256 CRYPTO_Q_LOCK();
Note: See TracChangeset
for help on using the changeset viewer.