Changeset 5072


Ignore:
Timestamp:
Jan 31, 2010 10:46:12 PM (3 years ago)
Author:
stepan
Message:
  • Improve help texts for option ROM initialization methods
  • disallow REAL_MODE method if ARCH_X86 is not set.

Signed-off-by: Stefan Reinauer <stepan@…>
Acked-by: Stefan Reinauer <stepan@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/devices/Kconfig

    r4866 r5072  
    4343          for network cards (NICs). 
    4444 
    45 # TODO: Describe YABEL vs. x86emu differences in more detail. 
    4645choice 
    4746        prompt "Option ROM execution type" 
    48         default PCI_OPTION_ROM_RUN_REALMODE 
     47        default PCI_OPTION_ROM_RUN_YABEL if !ARCH_X86 
     48        default PCI_OPTION_ROM_RUN_REALMODE if ARCH_X86 
    4949        depends on PCI_ROM_RUN || VGA_ROM_RUN 
    5050 
     
    5252        prompt "Real mode" 
    5353        bool 
     54        depends on ARCH_X86 
    5455        help 
    5556          If you select this option, PCI option ROMs will be executed 
    56           natively on the hardware (a 32bit x86 system is required). 
     57          natively on the CPU in real mode. No CPU emulation is involved, 
     58          so this is the fastest, but also the least secure option. 
     59          (only works on x86/x64 systems) 
     60 
     61config PCI_OPTION_ROM_RUN_X86EMU 
     62        prompt "x86emu" 
     63        bool 
     64        help 
     65          If you select this option, the x86emu CPU emulator will be used to 
     66          execute PCI option ROMs.  
     67          When choosing this option, x86emu will pass through all hardware 
     68          accesses to memory and IO devices to the underlying memory and IO 
     69          addresses. While this option prevents option ROMs from doing dirty 
     70          tricks with the CPU (such as installing SMM modules or hypervisors), 
     71          they can still access all devices in the system. 
     72          Choosing x86emu, option ROM execution is slower than native execution 
     73          in real mode, but faster than the full system emulation YABEL 
     74          This is the default choice for non-x86 systems. 
    5775 
    5876config PCI_OPTION_ROM_RUN_YABEL 
     
    6078        bool 
    6179        help 
    62           If you select this option, the YABEL BIOS emulator will be used to 
     80          If you select this option, the YABEL system emulator will be used to 
    6381          execute PCI option ROMs. 
    64  
    65 config PCI_OPTION_ROM_RUN_X86EMU 
    66         prompt "x86emu" 
    67         bool 
    68         help 
    69           If you select this option, the x86emu BIOS emulator will be used to 
    70           execute PCI option ROMs. 
     82          YABEL consists of two parts: It uses x86emu for the CPU emulation and 
     83          additionally provides a PC system emulation that filters bad device and 
     84          memory access (such as PCI config space access to other devices than the 
     85          initialized one). 
     86          This option best prevents option ROMs from doing dirty tricks with the  
     87          system (such as installing SMM modules or hypervisors), but it is also 
     88          significantly slower than the other option ROM initialization methods. 
    7189 
    7290endchoice 
Note: See TracChangeset for help on using the changeset viewer.