From b2869ed6b82ef4419aa5bb790e6e47c17960c47d Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 9 May 2005 13:25:43 +0000 Subject: [PATCH] Added explanatory comment. --- src/core/buffer.c | 7 +++++++ 1 file changed, 7 insertions(+) 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"