SMBIOS Driver PnP function calls

Discussion in 'Windows Vista Drivers' started by Dan Alger, Apr 29, 2005.

  1. Dan Alger

    Dan Alger Guest

    I have been tasked with porting a legacy SMBIOS driver to EM64T and AMD64.
    The existing driver used an undocumented export called
    KeI386AllocateGdtSelectors to map the BIOS's PnP function calls into the
    kernel space so that they could be called from the driver. This function is
    no longer exported from the kernel. How can I call the BIOS's functions from
    within the driver?
     
    Dan Alger, Apr 29, 2005
    #1
    1. Advertisements

  2. You can't directly call into a PC/AT anymore from a 64bit device driver
    (especially the protect mode PnP routines). You should convert the device
    driver into a SMB class driver or an ACPI class driver. The other
    possibility is to create a service that WMI service invokes ASL methods in
    the BIOS's ACPI implementation.

    Phil Doragh
     
    Philip Doragh, Apr 30, 2005
    #2
    1. Advertisements

  3. Dan Alger

    Dan Alger Guest

    Thanks for the information. It seems that even in an SMB or ACPI driver
    eventually some system component has to call the SMBIOS PnP functions to
    access their functionality. How does an SMB or ACPI driver access their
    functionality? For instance: SMBIOS function 54 (SMBIOS Control) sub-function
    0 (DMI_CLEAR_EVENT_LOG). How would an SMB or ACPI driver clear the SMBIOS
    event log?
     
    Dan Alger, May 2, 2005
    #3
    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.