()
| 54 | ) |
| 55 | |
| 56 | func (a Architecture) String() string { |
| 57 | switch a { |
| 58 | case ArchIA32: |
| 59 | return "IA32" |
| 60 | case ArchX64: |
| 61 | return "X64" |
| 62 | default: |
| 63 | return "Unknown architecture" |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | // A Machine describes a machine that is attempting to boot. |
| 68 | type Machine struct { |