Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 1893 → Rev 1881

/trunk/boot/genarch/ofw_tree.c
File deleted
/trunk/boot/genarch/ofw_tree.h
File deleted
/trunk/boot/genarch/ofw.h
103,8 → 103,6
extern void ofw_write(const char *str, const int len);
 
extern int ofw_get_property(const phandle device, const char *name, const void *buf, const int buflen);
extern int ofw_get_proplen(const phandle device, const char *name);
extern int ofw_next_property(const phandle device, char *previous, char *buf);
 
extern phandle ofw_get_child_node(const phandle node);
extern phandle ofw_get_peer_node(const phandle node);
/trunk/boot/genarch/ofw.c
109,26 → 109,19
return args.args[nargs];
}
 
 
phandle ofw_find_device(const char *name)
{
return ofw_call("finddevice", 1, 1, NULL, name);
}
 
 
int ofw_get_property(const phandle device, const char *name, const void *buf, const int buflen)
{
return ofw_call("getprop", 4, 1, NULL, device, name, buf, buflen);
}
 
int ofw_get_proplen(const phandle device, const char *name)
{
return ofw_call("getproplen", 2, 1, NULL, device, name);
}
 
int ofw_next_property(const phandle device, char *previous, char *buf)
{
return ofw_call("nextprop", 3, 1, NULL, device, previous, buf);
}
 
unsigned int ofw_get_address_cells(const phandle device)
{
unsigned int ret = 1;
/trunk/boot/arch/sparc64/loader/Makefile
53,7 → 53,6
../../../generic/printf.c \
../../../generic/string.c \
../../../genarch/ofw.c \
../../../genarch/ofw_tree.c \
ofwarch.c \
asm.S \
boot.S