public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78ab2fc
)
visualize: add some more area types
author
Alan Cox
<alan@linux.intel.com>
Sat, 6 Apr 2019 21:37:54 +0000
(22:37 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Sat, 6 Apr 2019 21:37:54 +0000
(22:37 +0100)
Kernel/tools/visualize.c
patch
|
blob
|
history
diff --git
a/Kernel/tools/visualize.c
b/Kernel/tools/visualize.c
index
390fb63
..
62f5945
100644
(file)
--- a/
Kernel/tools/visualize.c
+++ b/
Kernel/tools/visualize.c
@@
-49,6
+49,8
@@
static char code_for(const char *name)
{
if (strcmp(name, "BOOT") == 0)
return '!';
+ if (strcmp(name, "HEADER") == 0)
+ return '!';
if (strcmp(name, "CODE") == 0)
return '0';
if (strcmp(name, "CODE1") == 0)
@@
-107,6
+109,8
@@
static char bank_for(const char *name)
/* Really this is very system dependant */
if (strcmp(name, "BOOT") == 0)
return 0;
+ if (strcmp(name, "HEADER") == 0)
+ return 0;
if (strcmp(name, "CODE") == 0)
return 0;
if (strcmp(name, "DATA") == 0)