Project

General

Profile

Actions

Bug #9441

closed

kmdb should stash %cr3 in kdiregs

Added by John Levon over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
2018-04-06
Due date:
% Done:

100%

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

Description

As per Joyent OS-6821:

kmdb should be taught to stash the incoming %cr3 value in the kdi regs, and restore from here on the way back out. This way we can safely break and single-step in code that manipulates %cr3.

Actions #1

Updated by Electric Monk over 5 years ago

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

git commit 5f633405e54baecc905f42c59f8fc7aaca7a7c05

commit  5f633405e54baecc905f42c59f8fc7aaca7a7c05
Author: Alex Wilson <alex.wilson@joyent.com>
Date:   2018-04-10T14:37:32.000Z

    9441 kmdb should stash %cr3 in kdiregs
    Reviewed by: John Levon <john.levon@joyent.com>
    Approved by: Gordon Ross <gwr@nexenta.com>

Actions

Also available in: Atom PDF