Ignore:
Timestamp:
Sep 3, 2007, 3:18:26 AM (18 years ago)
Author:
bird
Message:

Cpu / architecture cleanup...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kStuff/kLdr/kLdrMod.c

    r3579 r3585  
    3131#include <k/kLdr.h>
    3232#include "kLdrInternal.h"
     33#include <k/kCpu.h>
    3334#include <k/kLdrFmts/mz.h>
    3435#if 1 /* testing headers */
     
    340341 *                          This can be used by some module interpreters to reduce memory consumption.
    341342 */
    342 int     kLdrModCanExecuteOn(PKLDRMOD pMod, const void *pvBits, KLDRARCH enmArch, KLDRCPU enmCpu)
     343int     kLdrModCanExecuteOn(PKLDRMOD pMod, const void *pvBits, KCPUARCH enmArch, KCPU enmCpu)
    343344{
    344345    KLDRMOD_VALIDATE(pMod);
    345346    if (pMod->pOps->pfnCanExecuteOn)
    346347        return pMod->pOps->pfnCanExecuteOn(pMod, pvBits, enmArch, enmCpu);
    347     return kLdrCompareCpus(pMod->enmArch, pMod->enmCpu, enmArch, enmCpu);
     348    return kCpuCompare(pMod->enmArch, pMod->enmCpu, enmArch, enmCpu);
    348349}
    349350
Note: See TracChangeset for help on using the changeset viewer.