Project

General

Profile

Actions

Bug #4805

closed

apic_mode global should be an enum

Added by Josef Sipek over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
driver - device drivers
Start date:
2014-04-25
Due date:
% Done:

100%

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

Description

The apic_mode global really should be an enum instead of just an int. This makes mdb's ::print output way easier to deal with:

before:

> apic_mode::print
2

after:

> apic_mode::print
2 (LOCAL_APIC)
Actions #1

Updated by Electric Monk over 8 years ago

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

git commit 9b1d70f8223c4278acf4ca60eaf5dd285f72eeee

commit  9b1d70f8223c4278acf4ca60eaf5dd285f72eeee
Author: Josef 'Jeff' Sipek <josef.sipek@nexenta.com>
Date:   2014-04-29T15:18:17.000Z

    4805 apic_mode global should be an enum
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Approved by: Dan McDonald <danmcd@omniti.com>

Actions

Also available in: Atom PDF