diff options
author | Michael Brown | 2007-01-11 04:50:47 +0100 |
---|---|---|
committer | Michael Brown | 2007-01-11 04:50:47 +0100 |
commit | e2dcd05b67c606e97f1d570123ba7510cc41bd16 (patch) | |
tree | f6cecbbeebc6079df8af0fe3fd1adf432b80faa6 /src/proto | |
parent | Move include/buffer.h to include/gpxe/buffer.h (diff) | |
download | ipxe-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.c | 2 |
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; |