Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* add disk device to PowerPC sim
@ 2002-03-28 15:11 David O'Brien
  2002-03-28 15:17 ` Andrew Cagney
  0 siblings, 1 reply; 4+ messages in thread
From: David O'Brien @ 2002-03-28 15:11 UTC (permalink / raw)
  To: gdb-patches

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",


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-09-27 21:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-28 15:11 add disk device to PowerPC sim David O'Brien
2002-03-28 15:17 ` Andrew Cagney
2002-03-28 17:42   ` Andrew Cagney
2002-09-27 14:03     ` [patch/5.3] ppc "disk" -> "block"; Was: " Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox