mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-16 20:32:21 +08:00
2002-03-24 David O'Brien <obrien@FreeBSD.org>
* ppc/hw_disk.c: Export a disk device property. This is needed by the FreeBSD/powerpc porting effort.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2002-03-24 David O'Brien <obrien@FreeBSD.org>
|
||||||
|
|
||||||
|
* ppc/hw_disk.c: Export a disk device property.
|
||||||
|
|
||||||
2002-03-23 Andrew Cagney <ac131313@redhat.com>
|
2002-03-23 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
From 2001-12-09 Julien Ducourthial <jducourt@noos.fr>:
|
From 2001-12-09 Julien Ducourthial <jducourt@noos.fr>:
|
||||||
|
@ -232,6 +232,9 @@ hw_disk_init_address(device *me)
|
|||||||
space, address, 0/*size*/, access_read_write_exec,
|
space, address, 0/*size*/, access_read_write_exec,
|
||||||
me);
|
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 */
|
/* get the name of the file specifying the disk image */
|
||||||
disk->name_index = 0;
|
disk->name_index = 0;
|
||||||
disk->nr_names = device_find_string_array_property(me, "file",
|
disk->nr_names = device_find_string_array_property(me, "file",
|
||||||
|
Reference in New Issue
Block a user