Remove warnings (#1140)

* remove warnings on windows with vs2019.

* remove warnings.
This commit is contained in:
Chen Huitao
2019-09-08 16:44:16 +08:00
committed by Nguyen Anh Quynh
parent 60896de9f4
commit ca6516ff79
6 changed files with 17 additions and 9 deletions

View File

@ -47,6 +47,11 @@ void arm_reg_reset(struct uc_struct *uc)
env->pc = 0;
}
/* these functions are implemented in helper.c. */
#include "exec/helper-head.h"
uint32_t HELPER(v7m_mrs)(CPUARMState *env, uint32_t reg);
void HELPER(v7m_msr)(CPUARMState *env, uint32_t reg, uint32_t val);
int arm_reg_read(struct uc_struct *uc, unsigned int *regs, void **vals, int count)
{
CPUState *mycpu;