Sfoglia il codice sorgente

Actually, the initrd image should be architecture-independent.

tags/v0.9.3
Michael Brown 18 anni fa
parent
commit
10c9b03cdb
2 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 1
    1
      src/image/initrd.c
  2. 3
    3
      src/include/gpxe/initrd.h

src/arch/i386/image/initrd.c → src/image/initrd.c Vedi File

@@ -28,8 +28,8 @@
28 28
  *
29 29
  */
30 30
 
31
-#include <initrd.h>
32 31
 #include <gpxe/image.h>
32
+#include <gpxe/initrd.h>
33 33
 
34 34
 /** Linux initrd image type */
35 35
 struct image_type initrd_image_type __image_type ( PROBE_NORMAL ) = {

src/arch/i386/include/initrd.h → src/include/gpxe/initrd.h Vedi File

@@ -1,5 +1,5 @@
1
-#ifndef _INITRD_H
2
-#define _INITRD_H
1
+#ifndef _GPXE_INITRD_H
2
+#define _GPXE_INITRD_H
3 3
 
4 4
 /**
5 5
  * @file
@@ -11,4 +11,4 @@
11 11
 #include <gpxe/image.h>
12 12
 extern struct image_type initrdimage_image_type __image_type ( PROBE_NORMAL );
13 13
 
14
-#endif /* _INITRD_H */
14
+#endif /* _GPXE_INITRD_H */

Loading…
Annulla
Salva