From: Andrew Cagney <ac131313@cygnus.com>
To: obrien@FreeBSD.org
Cc: gdb-patches@sources.redhat.com
Subject: Re: add disk device to PowerPC sim
Date: Thu, 28 Mar 2002 15:17:00 -0000 [thread overview]
Message-ID: <3CA3A41F.5060502@cygnus.com> (raw)
In-Reply-To: <20020328150956.A99002@dragon.nuxi.com>
> I make this commit needed by the FreeBSD/powerpc porting effort.
>
> 2002-03-24 David O'Brien <obrien@FreeBSD.org>
> * ppc/hw_disk.c: Export a disk device property.
>
> Index: hw_disk.c
> ===================================================================
> RCS file: /cvs/src/src/sim/ppc/hw_disk.c,v
> retrieving revision 1.1
> retrieving revision 1.2
> diff -u -r1.1 -r1.2
> --- hw_disk.c 1999/04/16 01:35:09 1.1
> +++ hw_disk.c 2002/03/25 04:39:20 1.2
> @@ -232,6 +232,9 @@
> space, address, 0/*size*/, access_read_write_exec,
> me);
>
> + /* Tell the world we are a disk. */
> + device_add_string_property(me, "device_type", "disk");
> +
> /* get the name of the file specifying the disk image */
> disk->name_index = 0;
> disk->nr_names = device_find_string_array_property(me, "file",
I'm going to need to dig up my 1275 manual to check this one out.
Andrew
next prev parent reply other threads:[~2002-03-28 23:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-28 15:11 David O'Brien
2002-03-28 15:17 ` Andrew Cagney [this message]
2002-03-28 17:42 ` Andrew Cagney
2002-09-27 14:03 ` [patch/5.3] ppc "disk" -> "block"; Was: " Andrew Cagney
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=3CA3A41F.5060502@cygnus.com \
--to=ac131313@cygnus.com \
--cc=gdb-patches@sources.redhat.com \
--cc=obrien@FreeBSD.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