I'm sorry, but what's exactly your meaning? Change linux-user/unicore32/syscall_nr.h to be the same as linux kernel. Or, we will use include/*/unistd.h in linux kernel directly, by copying or referencing.
Thanks, Guan Xuetao ----- Peter Maydell <peter.mayd...@linaro.org> 写道: > On 13 January 2014 15:14, 管雪涛 <g...@pku.edu.cn> wrote: > > The syscall numbers in unicore32 are correct because we have two ABIs for > > 32 bits. > > In qemu, it's old ABI, while in kernel, it's new ABI. > > However, for now, old ABI is widely used for unicore32's applications. > > I don't think upstream QEMU should be supporting an ABI > which isn't used by upstream Linux. If you didn't get > it upstream into the kernel we should never have accepted > it into QEMU to start with, really. > > thanks > -- PMM