瀏覽代碼

Added explanatory comment.

tags/v0.9.3
Michael Brown 21 年之前
父節點
當前提交
b2869ed6b8
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7
    0
      src/core/buffer.c

+ 7
- 0
src/core/buffer.c 查看文件

14
  * which assemble a file into a single contiguous block.  The whole
14
  * which assemble a file into a single contiguous block.  The whole
15
  * block is then passed to the image loader.
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
 #include "stddef.h"
26
 #include "stddef.h"

Loading…
取消
儲存