Solved

Accessing BIOS NVRAM ?

Posted on 2006-07-13
7
844 Views
Last Modified: 2013-11-12
Does anyone know how to access BIOS NVRAM address space?
I believe it can be done in 'Ring 0' but I'm not sure how.
I want to be able to modify a few bytes using VB6 and TVicHW52 . I'm running WIN98se.

Any help greatly appreciated.
0
Comment
Question by:aztarac
  • 2
7 Comments
 
LVL 9

Expert Comment

by:Rob_Jeffrey
Comment Utility
0
 

Author Comment

by:aztarac
Comment Utility
I looked at that thread before I posted my question.

The 'accepted answer' does state that the way to write is not known.

The following Microsoft link for Bios writers may offer some clues...but I dont understand it:

>Writing to CMOS NVRAM
>BIOS code should write to CMOS NVRAM by generating a system management interrupt (SMI). AML code can generate a SMI by writing a specific value to the SMI command port. AML code can pass the CMOS offset and value to be written through the NVRAM memory operation region. The BIOS SMI handles the writes to CMOS, and also updates the memory area pointed by the CMRM operation region to reflect the correct CMOS contents.

Full text:
http://www.microsoft.com/whdc/system/pnppwr/powermgmt/BIOSAML.mspx

I'm still hoping for a solution:(

0
 
LVL 9

Accepted Solution

by:
Rob_Jeffrey earned 250 total points
Comment Utility
Right - missed that.  
Sorry - I simply skimmed over the body.

Unless you want to get into device driver (DDK) devekopment - it doesn't look easy.
The entire problem is - viruses.  Because some lousy people have written some pretty nasty things in the past there is a lot of hidden and proprietary information regarding the NVRAM these days.

What is it you are trying to do?  Perhaps we can come at it from another angle?
0
 
LVL 49

Assisted Solution

by:DanRollins
DanRollins earned 250 total points
Comment Utility
You may be able to install a device drive that will allow access to I/O ports.  Here's one:
    http://www.driverlinx.com/DownLoad/DlPortIO.htm

This article appears to be on point:
    Pop Open a Privileged Set of APIs with Windows NT Kernel Mode Drivers
    http://www.microsoft.com/msj/0398/driver.aspx

But I agree with Rob_Jeffrey:  If you describe your ultimate goal, it might be possible to find a way to avoid this low-level grunging.  Whenever there is a legitimate need for standard programs to access low-level resources, there is often an more direct way to do it.  So what's on your mind?

-- Dan
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
mangling a text file 4 285
equalIsNot  challenge 43 115
dividesSelf challange 15 77
How does Google get such fast response times? 5 120
Introduction This article discusses the Chain of Responsibility pattern, explaining What it is;Why it is; andHow it is At the end of this article, I hope you will be able to describe the use and benefits of Chain of Responsibility.  Backgrou…
The Fluent Interface Design Pattern You can use the Fluent Interface (http://en.wikipedia.org/wiki/Fluent_interface) design pattern to make your PHP code easier to read and maintain.  "Fluent Interface" is an object-oriented design pattern that r…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now