Ignore:
Timestamp:
Apr 27, 2015, 4:25:30 PM (5 years ago)
Author:
Bruno Cornec
Message:
  • Create a new mr_boot_type function and boot_type mondo struct entry to manage BIOS/EFI/UEFI types
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mondo/src/common/mondostructures.h

    r3373 r3375  
    181181    udev                        ///< Back up to another unsupported device; just send a stream of bytes.
    182182} t_bkptype;
     183
     184/**
     185 * A type of boot
     186 */
     187typedef enum {
     188    BIOS,                       /// System uses Legacy Boot mode (aka BIOS)
     189    EFI,                        /// System uses EFI Boot mode
     190    UEFI,                       /// System uses UEFI Boot mode
     191} t_boot;
    183192
    184193/**
     
    639648   */
    640649    t_restore_mode restore_mode;
     650
     651  /**
     652   * The type of boot of our ssytem
     653   */
     654    t_boot boot_type;
     655
    641656};
    642657
Note: See TracChangeset for help on using the changeset viewer.