Bläddra i källkod

Added explanatory comment.

tags/v0.9.3
Michael Brown 20 år sedan
förälder
incheckning
b2869ed6b8
1 ändrade filer med 7 tillägg och 0 borttagningar
  1. 7
    0
      src/core/buffer.c

+ 7
- 0
src/core/buffer.c Visa fil

@@ -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"

Laddar…
Avbryt
Spara