Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Jdb_ptab Class Reference

#include <jdb_ptab_i.h>

Inheritance diagram for Jdb_ptab:

Jdb_table List of all members.

Public Member Functions

 Jdb_ptab (void *pt_base, Task_num task, unsigned char pt_level=0, unsigned entries=0, Address virt_base=0, int level=0)
unsigned col_width (unsigned) const
unsigned cols () const
void draw_entry (unsigned row, unsigned col)
void print_statline (unsigned row, unsigned col)
unsigned key_pressed (int c, unsigned &row, unsigned &col)
unsigned rows () const

Private Member Functions

void print_entry (Mword entry, unsigned level)
unsigned disp_virt_to_r (Address v)
unsigned disp_virt_to_c (Address v)
Address disp_virt (unsigned row, unsigned col)
Address virt (unsigned row, unsigned col)

Static Private Member Functions

static unsigned entry_valid (Mword entry, unsigned level)
static unsigned entry_is_pt_ptr (Mword entry, unsigned level, unsigned *entries, unsigned *next_level)
static Address entry_phys (Mword entry, unsigned level)
static unsigned first_level_entries ()

Private Attributes

Address base
Address virt_base
int level
Task_num task
unsigned entries
unsigned char cur_pt_level
char dump_raw

Static Private Attributes

static unsigned max_pt_level = 1

Constructor & Destructor Documentation

Jdb_ptab::Jdb_ptab void *  pt_base,
Task_num  task,
unsigned char  pt_level = 0,
unsigned  entries = 0,
Address  virt_base = 0,
int  level = 0
 


Member Function Documentation

unsigned Jdb_ptab::col_width unsigned   )  const [virtual]
 

Implements Jdb_table.

unsigned Jdb_ptab::cols  )  const [virtual]
 

Implements Jdb_table.

Address Jdb_ptab::disp_virt unsigned  row,
unsigned  col
[private]
 

unsigned Jdb_ptab::disp_virt_to_c Address  v  )  [private]
 

unsigned Jdb_ptab::disp_virt_to_r Address  v  )  [private]
 

void Jdb_ptab::draw_entry unsigned  row,
unsigned  col
[virtual]
 

Implements Jdb_table.

unsigned Jdb_ptab::entry_is_pt_ptr Mword  entry,
unsigned  level,
unsigned *  entries,
unsigned *  next_level
[inline, static, private]
 

Address Jdb_ptab::entry_phys Mword  entry,
unsigned  level
[inline, static, private]
 

unsigned Jdb_ptab::entry_valid Mword  entry,
unsigned  level
[inline, static, private]
 

unsigned Jdb_ptab::first_level_entries  )  [inline, static, private]
 

unsigned Jdb_ptab::key_pressed int  c,
unsigned &  row,
unsigned &  col
[virtual]
 

Reimplemented from Jdb_table.

void Jdb_ptab::print_entry Mword  entry,
unsigned  level
[private]
 

void Jdb_ptab::print_statline unsigned  row,
unsigned  col
[virtual]
 

Implements Jdb_table.

unsigned Jdb_ptab::rows  )  const [virtual]
 

Implements Jdb_table.

Address Jdb_ptab::virt unsigned  row,
unsigned  col
[private]
 


Member Data Documentation

Address Jdb_ptab::base [private]
 

unsigned char Jdb_ptab::cur_pt_level [private]
 

char Jdb_ptab::dump_raw [private]
 

unsigned Jdb_ptab::entries [private]
 

int Jdb_ptab::level [private]
 

unsigned Jdb_ptab::max_pt_level = 1 [static, private]
 

Task_num Jdb_ptab::task [private]
 

Address Jdb_ptab::virt_base [private]
 


The documentation for this class was generated from the following files:
Generated on Mon Sep 26 14:20:15 2005 for Fiasco by  doxygen 1.4.2