[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Discussion 02/10] NEED_CPU_H: remove '#include "cpu.h"
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [Discussion 02/10] NEED_CPU_H: remove '#include "cpu.h"' from include/qemu-common.h |
Date: |
Tue, 4 Mar 2014 12:34:17 +0000 |
On 4 March 2014 12:09, Xuebing wang <address@hidden> wrote:
> target-*/gdbstub.c implementers only need to know gdbstub hooks (thus
> gdbstub API), they don't care "cpu.h", although knowledge of "cpu.h" helps.
The gdbstub.c code is just a tiny part of the target-* frontend; there
is no way that anybody working on the gdbstub isn't going to know
already about the cpu.h interfaces. In particular, the code in those
files is generally implementing the gdbstub interfaces by looking
at the internal details of the target CPU. The only reason they don't
just include cpu.h is simply that at the moment qemu-common.h
does it for them.
thanks
-- PMM
- [Qemu-devel] [Discussion 00/10] about API hierarchy, Xuebing Wang, 2014/03/03
- Re: [Qemu-devel] [Discussion 02/10] NEED_CPU_H: remove '#include "cpu.h"' from include/qemu-common.h, Xuebing wang, 2014/03/04
- Re: [Qemu-devel] [Discussion 02/10] NEED_CPU_H: remove '#include "cpu.h"' from include/qemu-common.h, Paolo Bonzini, 2014/03/04
- Re: [Qemu-devel] [Discussion 02/10] NEED_CPU_H: remove '#include "cpu.h"' from include/qemu-common.h, Xuebing wang, 2014/03/04
- Re: [Qemu-devel] [Discussion 02/10] NEED_CPU_H: remove '#include "cpu.h"' from include/qemu-common.h, Paolo Bonzini, 2014/03/04
[Qemu-devel] [Discussion 01/10] docs: add docs/api-hierarchy.txt, Xuebing Wang, 2014/03/03
[Qemu-devel] [Discussion 05/10] NEED_CPU_H: remove unnecessary inclusion of "cpu.h" in root, Xuebing Wang, 2014/03/03