summaryrefslogtreecommitdiffstats
path: root/src/proto
diff options
context:
space:
mode:
authorMichael Brown2007-01-11 04:50:47 +0100
committerMichael Brown2007-01-11 04:50:47 +0100
commite2dcd05b67c606e97f1d570123ba7510cc41bd16 (patch)
treef6cecbbeebc6079df8af0fe3fd1adf432b80faa6 /src/proto
parentMove include/buffer.h to include/gpxe/buffer.h (diff)
downloadipxe-e2dcd05b67c606e97f1d570123ba7510cc41bd16.tar.gz
ipxe-e2dcd05b67c606e97f1d570123ba7510cc41bd16.tar.xz
ipxe-e2dcd05b67c606e97f1d570123ba7510cc41bd16.zip
Update buffer-handling code to enable expandable buffers.
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/slam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/slam.c b/src/proto/slam.c
index c55bf307..171b6d24 100644
--- a/src/proto/slam.c
+++ b/src/proto/slam.c
@@ -314,7 +314,7 @@ static unsigned char *reinit_slam_state(
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;