return 0;
}
bitmap_len = (state.total_packets + 1 + 7)/8;
- state.image = phys_to_virt ( state.buffer->start );
+ state.image = phys_to_virt ( state.buffer->addr );
/* We don't use the buffer routines properly yet; fake it */
state.buffer->fill = total_bytes;
state.bitmap = state.image + total_bytes;
return proto_slam(&info);
}
-static struct protocol slam_protocol __protocol = {
+struct protocol slam_protocol __protocol = {
.name = "x-slam",
.default_port = SLAM_PORT,
.load = url_slam,