Ke386SetIoAccessMap and WindowsXP x64

Discussion in 'Windows Vista Drivers' started by Slavo Tomascik, Jul 12, 2005.

  1. Hello all,

    in my driver I use Ke386SetIoAccessMap and Ke386IoSetAccessProcess
    for direct access to LPT ports. I try compile driver for XP x64, and
    surprise - undocumented functions from previous systems versions are not
    Know anybody some replacement (or another solution) for that
    functions? I need direct access to ports from my application to fulfill
    timing requirements.

    With best regards,
    Slavo Tomascik
    Slavo Tomascik, Jul 12, 2005
    1. Advertisements

  2. None of this user mode access to privileged instructions stuff is available
    on the X64 platform. This is stone age stuff to be honest. It just
    doesn't make sense to have applications talking to h/w directly in a
    modern OS. Too many things you can't control from user mode.
    Issue I/O requests to drivers for hardware instead.
    Neill Clift [MSFT], Jul 12, 2005
    1. Advertisements

  3. Slavo Tomascik

    Calvin Guan Guest

    No surprise at all, as its name suggested, it's 386 specific.

    You need a kernel mode driver to access the hardware instead of accessing it
    from UM directly.
    Calvin Guan, Jul 12, 2005
  4. I know the rules of the modern OS. The demands of the real life are
    against rules - stupid device which performance is dependent on the
    communication speed of LPT port (and which communication protocol
    doesn't allow to be serialized to increase performance). I have
    developed device driver, but overhead costs of I/O request (and of
    course boss' decision) force stone age solution. Anyway, thank you for
    your time.

    Slavo Tomascik
    Slavo Tomascik, Jul 12, 2005
  5. against rules - stupid device which performance is dependent on the
    Maybe this device cannot be made compatible with x64/IA64 OSes.

    In real life, such stupid a device usually requires a dedicated machine (with a
    dedicated OS version) to run it - under OSes like NT4 or Linux. Usually,
    running such devices on general-purpose machines is not possible.
    Maxim S. Shatskih, Jul 12, 2005
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.