unicore32-softmmu: Add coprocessor 0(sysctrl) and 1(ocd) instruction support
commit527d9979b401fea5588b202fab930d1565f13bb1
authorGuan Xuetao <gxt@mprc.pku.edu.cn>
Fri, 10 Aug 2012 06:42:22 +0000 (10 14:42 +0800)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 11 Aug 2012 09:36:56 +0000 (11 09:36 +0000)
treedf6539ea2d743210fe71eea49520d60005f65a4b
parent4f23a1e645d4bfba620a63ba2c54c1813bcbfb63
unicore32-softmmu: Add coprocessor 0(sysctrl) and 1(ocd) instruction support

Coprocessor 0 is system control coprocessor, and we need get/set its contents.
Also, all cache/tlb ops shoule be implemented here, but just ignored with no harm.

Coprocessor 1 is OCD (on-chip-debugger), which is used for faked console,
so we could output chars to this console without graphic card.
TODO: curses display should be added lator for screen output.

Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-unicore32/helper.c
target-unicore32/helper.h
target-unicore32/translate.c