示例#1
0
 public AccessPort(DebugAccessPort dp, UInt32 ap_num)
 {
     this.dp               = dp;
     this.ap_num           = ap_num;
     this.link             = dp.link;
     this.idr              = 0;
     this.rom_addr         = 0;
     this.has_rom_table    = false;
     this.rom_table        = null;
     this.inited_primary   = false;
     this.inited_secondary = false;
     if (DebugAccessPort.LOG_DAP)
     {
         //this.logger = this.dp.logger.getChild(String.Format("ap%d", ap_num));
     }
 }
示例#2
0
 public virtual void init_rom_table()
 {
     this.rom_table = new RomTable.ROMTable(this as MEM_AP);
     this.rom_table.init();
 }