Browse Source

Added explanatory comment.

tags/v0.9.3
Michael Brown 20 years ago
parent
commit
b2869ed6b8
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      src/core/buffer.c

+ 7
- 0
src/core/buffer.c View File

@@ -14,6 +14,13 @@
14 14
  * which assemble a file into a single contiguous block.  The whole
15 15
  * block is then passed to the image loader.
16 16
  *
17
+ *
18
+ * Note that the rather convoluted way of manipulating the buffer
19
+ * descriptors (using copy_{to,from}_phys rather than straightforward
20
+ * pointers) is needed to cope with operation as a PXE stack, when we
21
+ * may be running in real mode or 16-bit protected mode, and therefore
22
+ * cannot directly access arbitrary areas of memory.
23
+ *
17 24
  */
18 25
 
19 26
 #include "stddef.h"

Loading…
Cancel
Save