]> git.sur5r.net Git - openocd/blobdiff - src/target/arm926ejs.c
Reset wip. Just adding hooks. This is just to reduce the size of the actual change...
[openocd] / src / target / arm926ejs.c
index 14cd674ae9c2b2eb6c3e0fe4f6e12560ed2ff5e9..f46760e54e07b16c843b98fb32b765090e6805c7 100644 (file)
@@ -90,6 +90,7 @@ target_type_t arm926ejs_target =
        .register_commands = arm926ejs_register_commands,
        .target_command = arm926ejs_target_command,
        .init_target = arm926ejs_init_target,
+       .examine = arm9tdmi_examine,
        .quit = arm926ejs_quit,
        .virt2phys = arm926ejs_virt2phys,
        .mmu = arm926ejs_mmu
@@ -579,7 +580,7 @@ int arm926ejs_soft_reset_halt(struct target_s *target)
        reg_t *dbg_stat = &arm7_9->eice_cache->reg_list[EICE_DBG_STAT];
        int i;
        
-       target->type->halt(target);
+       target_halt(target);
        
        for (i=0; i<10; i++)
        {