diff options
author | Drasko DRASKOVIC <drasko.draskovic@gmail.com> | 2011-07-07 17:41:20 +0200 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2011-08-09 23:17:28 +0200 |
commit | 1be7163408cc6420d85bf990a2dae46c559a12b1 (patch) | |
tree | 3b352294934e9a83399eb301f406e3883bda8ae9 /src/target/mips_m4k.h | |
parent | 800bc9308dfcae950cd95ca287876b60401e7608 (diff) | |
download | riscv-openocd-1be7163408cc6420d85bf990a2dae46c559a12b1.zip riscv-openocd-1be7163408cc6420d85bf990a2dae46c559a12b1.tar.gz riscv-openocd-1be7163408cc6420d85bf990a2dae46c559a12b1.tar.bz2 |
mips32: Added CP0 coprocessor R/W routines
This patch adds MIPS32 CP0 coprocessor R/W routines,
as well as adequate commands to use these routines via
telnet interface.
Now is becomes possible to affect CP0 internal registers
and configure CPU directly from OpenOCD.
Diffstat (limited to 'src/target/mips_m4k.h')
-rw-r--r-- | src/target/mips_m4k.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/target/mips_m4k.h b/src/target/mips_m4k.h index 85d4c0a..11a936f 100644 --- a/src/target/mips_m4k.h +++ b/src/target/mips_m4k.h @@ -4,6 +4,9 @@ * * * Copyright (C) 2008 by David T.L. Wong * * * + * Copyright (C) 2011 by Drasko DRASKOVIC * + * drasko.draskovic@gmail.com * + * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * @@ -43,4 +46,6 @@ target_to_m4k(struct target *target) struct mips_m4k_common, mips32); } +extern const struct command_registration mips_m4k_command_handlers[]; + #endif /*MIPS_M4K_H*/ |