Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | linux-user: move i386/x86_64 cpu loop to i386 directory | Laurent Vivier | 2018-04-30 | 1 | -7/+1 |
| | | | | | | | | | | | | No code change, only move code from main.c to i386/cpu_loop.c. Include i386/cpu_loop.c in x86_64/cpu_loop.c to avoid to duplicate code. Signed-off-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20180411185651.21351-3-laurent@vivier.eu> | ||||
* | linux-user: create a dummy per arch cpu_loop.c | Laurent Vivier | 2018-04-30 | 1 | -0/+26 |
Create a cpu_loop-common.h for future use by these new files and use it in the existing main.c Introduce target_cpu_copy_regs(): declare the function in cpu_loop-common.h and an empty function for each target, to move all the cpu_loop prologues to this function. Signed-off-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20180411185651.21351-2-laurent@vivier.eu> |