/**
* \file buf.c
* \author John Hodge (thePowersGang)
+ *
+ * Buffer Manipulation
*/
#include <acess.h>
#include <udi.h>
UNIMPLEMENTED();
}
+/**
+ * \brief Write to a buffer
+ * \param callback Function to call once the write has completed
+ * \param gcb Control Block
+ * \param src_mem Source Data
+ * \param src_len Length of source data
+ * \param dst_buf Destination buffer
+ * \param dst_off Destination offset in the buffer
+ * \param dst_len Length of destination area (What the?, Redundant
+ * Department of redundacny department)
+ * \param path_handle ???
+ */
void udi_buf_write(
udi_buf_write_call_t *callback,
udi_cb_t *gcb,
int i;
// int j;
- Log("UDI_LoadDriver: (Base=%p)", Base);
+ Log_Debug("UDI", "UDI_LoadDriver: (Base=%p)", Base);
if( Binary_FindSymbol(Base, "udi_init_info", (Uint*)&info) == 0) {
Binary_Unload(Base);
}
if( Binary_FindSymbol(Base, "_udiprops", (Uint*)&udiprops) == 0 ) {
- Warning("[UDI ] _udiprops is not defined, this is usually bad");
+ Log_Warning("UDI", "_udiprops is not defined, this is usually bad");
}
else {
- Binary_FindSymbol(Base, "_udiprops_size", (Uint*)&udiprops_size);
- Log("udiprops = %p, udiprops_size = 0x%x", udiprops, udiprops_size);
+ if( Binary_FindSymbol(Base, "_udiprops_size", (Uint*)&udiprops_size) == 0)
+ Log_Warning("UDI", "_udiprops_size is not defined");
+ Log_Log("UDI", "udiprops = %p, udiprops_size = 0x%x", udiprops, udiprops_size);
}
Log(" .meta_ops_num = 0x%x", info->ops_init_list[i].meta_ops_num);
Log(" .chan_context_size = 0x%x", info->ops_init_list[i].chan_context_size);
Log(" .ops_vector = %p", info->ops_init_list[i].ops_vector);
- Log(" .op_flags = %p", info->ops_init_list[i].op_flags);
+// Log(" .op_flags = %p", info->ops_init_list[i].op_flags);
Log("}");
}