<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
When I use the seabios as the payload, I got a strange issue.<BR>
 <BR>
In the seabios flow:<BR>
Post->timer_setup->rtc_updating->inb_cmos function<BR>
 <BR>
when run the inb_cmos, it will reboot on the inb operation.<BR>
 <BR>
inb_cmos disassemables to fllowing:<BR>
out 0x70, value<BR>
in value, 0x71.   ----> run here to make the reboot happen.<BR>
 <BR>
0x70 is the CMOS index port, 0x71 is the CMOS data port.<BR>
 <BR>
I suspect the "in value, 0x71" operation causes a exception and the seabios doesn't have real IDT, so it then make the reboot.<BR>
but why it cause the exception is a question for me?<BR>
since IO port 0x70 also reponsible for the NMI enble/disable, is it caused the error?<BR>
 <BR>
any one has some comments?<BR>
 <BR>
thanks<BR><br /><hr />Get news, entertainment and everything you care about at Live.com. <a href='http://www.live.com/getstarted.aspx ' target='_new'>Check it out!</a></body>
</html>