VirtualBox

Changeset 24822 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Nov 20, 2009 1:34:44 PM (15 years ago)
Author:
vboxsync
Message:

EFI: correct 64-bit entry points

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxShell/vboxshell.py

    r24697 r24822  
    497497        return "Unknown"
    498498
     499def getFirmwareType(type):
     500    if type == 0:
     501        return "invalid"
     502    elif type == 1:
     503        return "bios"
     504    elif type == 2:
     505        return "efi"
     506    elif type == 3:
     507        return "efi64"
     508    elif type == 4:
     509        return "efidual"
     510    else:
     511        return "Unknown"
     512
     513
    499514def infoCmd(ctx,args):
    500515    if (len(args) < 2):
     
    509524    print "  ID [n/a]: %s" %(mach.id)
    510525    print "  OS Type [n/a]: %s" %(os.description)
    511     print "  Firmware [firmwareType]: %s" %(mach.firmwareType)
     526    print "  Firmware [firmwareType]: %s (%s)" %(getFirmwareType(mach.firmwareType),mach.firmwareType)
    512527    print
    513528    print "  CPUs [CPUCount]: %d" %(mach.CPUCount)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette