Added the test mode entry point requested by gloriouscow.
This commit is contained in:
@@ -154,6 +154,48 @@ x808x_log(const char *fmt, ...)
|
||||
static void pfq_add(int c, int add);
|
||||
static void set_pzs(int bits);
|
||||
|
||||
void
|
||||
prefetch_queue_set_pos(int pos)
|
||||
{
|
||||
pfq_pos = pos;
|
||||
}
|
||||
|
||||
void
|
||||
prefetch_queue_set_ip(uint16_t ip)
|
||||
{
|
||||
pfq_ip = ip;
|
||||
}
|
||||
|
||||
void
|
||||
prefetch_queue_set_prefetching(int p)
|
||||
{
|
||||
prefetching = p;
|
||||
}
|
||||
|
||||
int
|
||||
prefetch_queue_get_pos(void)
|
||||
{
|
||||
return pfq_pos;
|
||||
}
|
||||
|
||||
uint16_t
|
||||
prefetch_queue_get_ip(void)
|
||||
{
|
||||
return pfq_ip;
|
||||
}
|
||||
|
||||
int
|
||||
prefetch_queue_get_prefetching(void)
|
||||
{
|
||||
return prefetching;
|
||||
}
|
||||
|
||||
int
|
||||
prefetch_queue_get_size(void)
|
||||
{
|
||||
return pfq_size;
|
||||
}
|
||||
|
||||
uint16_t
|
||||
get_last_addr(void)
|
||||
{
|
||||
|
||||
@@ -821,4 +821,12 @@ extern int cpu_override_interpreter;
|
||||
|
||||
extern int is_lock_legal(uint32_t fetchdat);
|
||||
|
||||
extern void prefetch_queue_set_pos(int pos);
|
||||
extern void prefetch_queue_set_ip(uint16_t ip);
|
||||
extern void prefetch_queue_set_prefetching(int p);
|
||||
extern int prefetch_queue_get_pos(void);
|
||||
extern uint16_t prefetch_queue_get_ip(void);
|
||||
extern int prefetch_queue_get_prefetching(void);
|
||||
extern int prefetch_queue_get_size(void);
|
||||
|
||||
#endif /*EMU_CPU_H*/
|
||||
|
||||
Reference in New Issue
Block a user