From: Robert Reif <reif@earthlink.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] sparc: move sun4c to it's own hwdef
Date: Mon, 27 Oct 2008 19:53:15 -0400 [thread overview]
Message-ID: <4906546B.9030203@earthlink.net> (raw)
In-Reply-To: <f43fc5580810270858t14fe39a0k24f720339d68923e@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 296 bytes --]
Blue Swirl wrote:
> On 10/27/08, Robert Reif <reif@earthlink.net> wrote:
>
>> This patch moves sun4c ss2 to it's own hwdef and does some simple cleanups.
>> Other sun4c cleanups are possible but they can come later.
>>
>
> Thanks, applied. What cleanups do you have in mind?
>
>
>
>
[-- Attachment #2: sun4c.diff.txt --]
[-- Type: text/plain, Size: 2536 bytes --]
Index: hw/sun4m.c
===================================================================
--- hw/sun4m.c (revision 5557)
+++ hw/sun4m.c (working copy)
@@ -99,7 +99,7 @@
long vram_size, nvram_size;
// IRQ numbers are not PIL ones, but master interrupt controller
// register bit numbers
- int intctl_g_intr, esp_irq, le_irq, clock_irq, clock1_irq;
+ int esp_irq, le_irq, clock_irq, clock1_irq;
int ser_irq, ms_kb_irq, fd_irq, me_irq, cs_irq, ecc_irq;
uint8_t nvram_machine_id;
uint16_t machine_id;
@@ -135,12 +135,12 @@
target_phys_addr_t intctl_base, counter_base, nvram_base, ms_kb_base;
target_phys_addr_t serial_base, fd_base;
target_phys_addr_t idreg_base, dma_base, esp_base, le_base;
- target_phys_addr_t tcx_base, cs_base, apc_base, aux1_base, aux2_base;
+ target_phys_addr_t tcx_base, aux1_base;
long vram_size, nvram_size;
// IRQ numbers are not PIL ones, but master interrupt controller
// register bit numbers
- int intctl_g_intr, esp_irq, le_irq, clock_irq, clock1_irq;
- int ser_irq, ms_kb_irq, fd_irq, me_irq, cs_irq;
+ int esp_irq, le_irq, clock_irq, clock1_irq;
+ int ser_irq, ms_kb_irq, fd_irq, me_irq;
uint8_t nvram_machine_id;
uint16_t machine_id;
uint32_t iommu_version;
@@ -1440,7 +1440,6 @@
{
.iommu_base = 0xf8000000,
.tcx_base = 0xfe000000,
- .cs_base = -1,
.slavio_base = 0xf6000000,
.intctl_base = 0xf5000000,
.counter_base = 0xf3000000,
@@ -1451,9 +1450,7 @@
.dma_base = 0xf8400000,
.esp_base = 0xf8800000,
.le_base = 0xf8c00000,
- .apc_base = -1,
.aux1_base = 0xf7400003,
- .aux2_base = -1,
.vram_size = 0x00100000,
.nvram_size = 0x800,
.esp_irq = 2,
@@ -1464,7 +1461,6 @@
.ser_irq = 1,
.fd_irq = 1,
.me_irq = 1,
- .cs_irq = -1,
.nvram_machine_id = 0x55,
.machine_id = ss2_id,
.max_mem = 0x10000000,
@@ -1579,8 +1575,7 @@
slavio_serial_init(hwdef->serial_base, slavio_irq[hwdef->ser_irq],
serial_hds[1], serial_hds[0]);
- slavio_misc = slavio_misc_init(0, hwdef->apc_base,
- hwdef->aux1_base, hwdef->aux2_base,
+ slavio_misc = slavio_misc_init(0, -1, hwdef->aux1_base, -1,
slavio_irq[hwdef->me_irq], env, &fdc_tc);
if (hwdef->fd_base != (target_phys_addr_t)-1) {
next prev parent reply other threads:[~2008-10-27 23:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-27 0:11 [Qemu-devel] [PATCH] sparc: move sun4c to it's own hwdef Robert Reif
2008-10-27 15:58 ` Blue Swirl
2008-10-27 23:53 ` Robert Reif [this message]
2008-10-28 17:56 ` Blue Swirl
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=4906546B.9030203@earthlink.net \
--to=reif@earthlink.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.