Project

General

Profile

Actions

Bug #13147

open

bhyve kernel could make more use of BITX()

Added by Patrick Mooney almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
bhyve
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
bhyve
Gerrit CR:

Description

As jclulow pointed out in a bhyve-related code review, BITX is a convenient macro for extracting runs of bits from fields.
There are numerous cases where raw bit math is being done in the bhyve kernel today which could be replaced by more readable BITX expressions.


Related issues

Related to illumos gate - Bug #13139: bhyve bungles math for VMX ins/outs sizeClosedPatrick Mooney

Actions
Actions

Also available in: Atom PDF