32x: drc: new debug facility (pdb). Few fixes thanks to it.

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@863 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2010-01-19 22:17:47 +00:00
parent 2368651527
commit 5686d93123
14 changed files with 708 additions and 33 deletions

View file

@ -1,5 +1,6 @@
#include <string.h>
#include "sh2.h"
#include "../debug.h"
#include "compiler.h"
#define I 0xf0
@ -12,6 +13,7 @@ int sh2_init(SH2 *sh2, int is_slave)
memset(sh2, 0, sizeof(*sh2));
sh2->is_slave = is_slave;
pdb_register_cpu(sh2, PDBCT_SH2, is_slave ? "ssh2" : "msh2");
#ifdef DRC_SH2
ret = sh2_drc_init(sh2);
#endif