Procházet zdrojové kódy

Added explanatory comment.

tags/v0.9.3
Michael Brown před 20 roky
rodič
revize
b2869ed6b8
1 změnil soubory, kde provedl 7 přidání a 0 odebrání
  1. 7
    0
      src/core/buffer.c

+ 7
- 0
src/core/buffer.c Zobrazit soubor

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

Načítá se…
Zrušit
Uložit