git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
5-malloc.md (#25)
[lunaix-os.git]
/
lunaix-os
/
scripts
/
templates
/
i386
/
mempart.h.j2
diff --git
a/lunaix-os/scripts/templates/i386/mempart.h.j2
b/lunaix-os/scripts/templates/i386/mempart.h.j2
index 1fb6f2c3756e5c66bb449e166d31cd02a0c00298..01af8983381bd2b858088b3220e8b6164c328bf3 100644
(file)
--- a/
lunaix-os/scripts/templates/i386/mempart.h.j2
+++ b/
lunaix-os/scripts/templates/i386/mempart.h.j2
@@
-1,3
+1,5
@@
+#ifndef __LUNAIX_MEMPART_H
+#define __LUNAIX_MEMPART_H
/* Physical Adress Space Partition */
/* Generated from {{ data["template"] }}. Do NOT modify */
/* Physical Adress Space Partition */
/* Generated from {{ data["template"] }}. Do NOT modify */
@@
-14,4
+16,5
@@
#define {{ region["name"].upper() }}_END {{ hex((region["start"] + region["size"] - 1)) }}UL
{% endif %}
#define {{ region["name"].upper() }}_END {{ hex((region["start"] + region["size"] - 1)) }}UL
{% endif %}
-{% endfor %}
\ No newline at end of file
+{% endfor %}
+#endif
\ No newline at end of file