- Change Device boot order under Windows
- Posted by Darren on September 4th, 2004
I need to change the device boot order of a number of machines within a
Windows environment, specifically XPe and WinPE. The BIOS installed on the
machines (Controlled environment) is PhoenixBIOS 4.60, I believe it supports
a set of BIOS functions to change the device boot order.
These functions are described in the specification at:
http://www.phoenix.com/resources/specs-bbs101.pdf
The end goal of what I am trying to achieve is to tell the machine to
"reboot from network" or "reboot from hard drive" etc.
The main function I want to execute hooks up-to a BIOS interrupt INT 66h -
Set Boot First. The documentation states "All functions are available in
Real Mode and 16:16 Protected Mode."
My questions are:
1.. Is it possible to call this function from within a device driver?
2.. Is there another way to do this?
3.. Where do I start?
Any help is greatly appreciated!
Darren
- Posted by Pavel A. on September 4th, 2004
First of all, you don't hook int 66.
Aas can be understood from that PDF , appendix B - there should be some way to
get the entry point address. The 66 is the function number that
you pass in 1st parameter to this entry point.
But I could not find how to get the entry point and what is the calling sequence.
If your purpose is to set a specific boot sequence on a batch of machines,
wirte a little dos program running from a bootable floppy or cd.
--PA
"Darren" <darren-n.o.s.p.a.m-gibson@ntlworld.com> wrote in message news:jch_c.73$982.40@newsfe2-gui.ntli.net...
- Posted by Darren on September 4th, 2004
Ah, I see ... this is not an Interrupt (me jumping to conclusions again!)
..... it is a Function Number that I need call via the entry point contained
in the Plug & Play segment. I need to scan the BIOS segment F000h for
signature "$PnP" and work out the offset to the protected mode routine from
there!
gulp!
thanks again!
Darren
"Pavel A." <pavel_a@geeklife.com> wrote in message
news:e2zK3wnkEHA.324@TK2MSFTNGP11.phx.gbl...