From: Blue Swirl <blauwirbel@gmail.com>
To: qemu-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel] [PATCH 2/6] apic.h: rearrange
Date: Sat, 5 Jun 2010 21:30:52 +0000 [thread overview]
Message-ID: <AANLkTimdJAT6BnjhjSuHIGu5JLwQf0n169JfcaSY22dH@mail.gmail.com> (raw)
Rearrange and add comments to tell where each function is implemented.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
---
hw/apic.h | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/hw/apic.h b/hw/apic.h
index e1954f4..c92d188 100644
--- a/hw/apic.h
+++ b/hw/apic.h
@@ -1,7 +1,7 @@
#ifndef APIC_H
#define APIC_H
-typedef struct IOAPICState IOAPICState;
+/* apic.c */
void apic_deliver_irq(uint8_t dest, uint8_t dest_mode,
uint8_t delivery_mode,
uint8_t vector_num, uint8_t polarity,
@@ -10,10 +10,14 @@ int apic_init(CPUState *env);
int apic_accept_pic_intr(CPUState *env);
void apic_deliver_pic_intr(CPUState *env, int level);
int apic_get_interrupt(CPUState *env);
-qemu_irq *ioapic_init(void);
void apic_reset_irq_delivered(void);
int apic_get_irq_delivered(void);
+/* ioapic.c */
+typedef struct IOAPICState IOAPICState;
+qemu_irq *ioapic_init(void);
+
+/* pc.c */
int cpu_is_bsp(CPUState *env);
#endif
--
1.7.1
reply other threads:[~2010-06-05 21:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTimdJAT6BnjhjSuHIGu5JLwQf0n169JfcaSY22dH@mail.gmail.com \
--to=blauwirbel@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).