Changeset 3585 for trunk/kStuff/kLdr/kLdrMod.c
- Timestamp:
- Sep 3, 2007, 3:18:26 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kStuff/kLdr/kLdrMod.c
r3579 r3585 31 31 #include <k/kLdr.h> 32 32 #include "kLdrInternal.h" 33 #include <k/kCpu.h> 33 34 #include <k/kLdrFmts/mz.h> 34 35 #if 1 /* testing headers */ … … 340 341 * This can be used by some module interpreters to reduce memory consumption. 341 342 */ 342 int kLdrModCanExecuteOn(PKLDRMOD pMod, const void *pvBits, K LDRARCH enmArch, KLDRCPU enmCpu)343 int kLdrModCanExecuteOn(PKLDRMOD pMod, const void *pvBits, KCPUARCH enmArch, KCPU enmCpu) 343 344 { 344 345 KLDRMOD_VALIDATE(pMod); 345 346 if (pMod->pOps->pfnCanExecuteOn) 346 347 return pMod->pOps->pfnCanExecuteOn(pMod, pvBits, enmArch, enmCpu); 347 return k LdrCompareCpus(pMod->enmArch, pMod->enmCpu, enmArch, enmCpu);348 return kCpuCompare(pMod->enmArch, pMod->enmCpu, enmArch, enmCpu); 348 349 } 349 350
Note:
See TracChangeset
for help on using the changeset viewer.