Project

General

Profile

Bug #6165

grub incorrectly interprets result of INT 15h, AX=EC00h

Added by Andriy Gapon about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
bootloader
Start date:
2015-08-26
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

Namely detect_target_operating_mode incorrectly interprets the return value of get_target_operating_mode.
As a result AH and CF values are switched.
This should not matter in the case of the success, but makes the diagnostic harder if the call fails in one of the many possible ways.

See https://www.illumos.org/rb/r/87/

History

#1

Updated by Electric Monk almost 5 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

git commit 7232236b5511ebe9b3343a5e1ab57a898e709218

commit  7232236b5511ebe9b3343a5e1ab57a898e709218
Author: Andriy Gapon <avg@FreeBSD.org>
Date:   2015-10-19T15:10:35.000Z

    6165 grub incorrectly interprets result of INT 15h, AX=EC00h
    Reviewed by: Josef Sipek <jeffpc@illumos.org>
    Reviewed by: Toomas Soome <tsoome@illumos.org>
    Reviewed by: Andrew Stormont <andyjstormont@illumos.org>
    Approved by: Dan McDonald <danmcd@omniti.com>

Also available in: Atom PDF