logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: rombios Info port: msg#00153

Subject: Re: rombios Info port
Hi,

> > The file iodev/biosdev.cc states that 0xfff0 is a legacy port... is it
> > still needed?

> The 0xfff0 port was intended to be used with older bioses.
> I think it's no problem to remove it now.

I checked if someone is still using that port... completely unused.
So, next patch removes the registering of port 0xfff0, making the road
clear for future PCI device mappings.


Frank.

--- bochs.orig/iodev/biosdev.cc 2003-07-31 17:29:34.000000000 +0200
+++ bochs/iodev/biosdev.cc      2003-11-27 19:48:00.000000000 +0100
@@ -30,7 +30,6 @@
 //  0x0400 : rombios Panic port with message
 //  0x0401 : rombios Panic port with line number
 //  0x0402 : rombios Info port with message
-//  0xfff0 : rombios Info port with message (legacy port)
 //  0x0403 : rombios Debug port with message
 //
 //  0x0500 : vgabios Info port with message
@@ -100,7 +99,6 @@
   DEV_register_iowrite_handler(this, write_handler, 0x0401, "Bios Panic Port 
2", 3);
   DEV_register_iowrite_handler(this, write_handler, 0x0403, "Bios Debug Port", 
1);
   DEV_register_iowrite_handler(this, write_handler, 0x0402, "Bios Info Port", 
1);
-  DEV_register_iowrite_handler(this, write_handler, 0xfff0, "Bios Info Port 
(legacy)", 1);
 
   DEV_register_iowrite_handler(this, write_handler, 0x0501, "VGABios Panic 
Port 1", 3);
   DEV_register_iowrite_handler(this, write_handler, 0x0502, "VGABios Panic 
Port 2", 3);
@@ -151,10 +149,8 @@
       bioslog->panic("BIOS panic at rombios.c, line %d", value);
       break;
 
-    // 0xfff0 is used as the info port for the rombios
     // 0x0402 is used as the info port for the rombios
     // 0x0403 is used as the debug port for the rombios
-    case 0xfff0:
     case 0x0402:
     case 0x0403:
       BX_BIOS_THIS s.bios_message[BX_BIOS_THIS s.bios_message_i] =



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/


<Prev in Thread] Current Thread [Next in Thread>