summaryrefslogtreecommitdiffstats
path: root/src/core/buffer.c
diff options
context:
space:
mode:
authorMichael Brown2005-05-09 15:25:43 +0200
committerMichael Brown2005-05-09 15:25:43 +0200
commitb2869ed6b82ef4419aa5bb790e6e47c17960c47d (patch)
tree1541770ac58f1145c4d0dd8884820c8c95020431 /src/core/buffer.c
parentModified to use physical addresses, and to not assume that we can directly (diff)
downloadipxe-b2869ed6b82ef4419aa5bb790e6e47c17960c47d.tar.gz
ipxe-b2869ed6b82ef4419aa5bb790e6e47c17960c47d.tar.xz
ipxe-b2869ed6b82ef4419aa5bb790e6e47c17960c47d.zip
Added explanatory comment.
Diffstat (limited to 'src/core/buffer.c')
-rw-r--r--src/core/buffer.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/buffer.c b/src/core/buffer.c
index da75eb65..5254c64e 100644
--- a/src/core/buffer.c
+++ b/src/core/buffer.c
@@ -14,6 +14,13 @@
* which assemble a file into a single contiguous block. The whole
* block is then passed to the image loader.
*
+ *
+ * Note that the rather convoluted way of manipulating the buffer
+ * descriptors (using copy_{to,from}_phys rather than straightforward
+ * pointers) is needed to cope with operation as a PXE stack, when we
+ * may be running in real mode or 16-bit protected mode, and therefore
+ * cannot directly access arbitrary areas of memory.
+ *
*/
#include "stddef.h"