about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYour Name <you@example.com>2020-06-25 16:26:46 +0200
committerYour Name <you@example.com>2020-06-25 16:26:46 +0200
commit4f6bdc1eccf4ddf0881091db568a682002048496 (patch)
tree0e1177a75299c9a4a8b253045e37922c7f0830cc
parentShell: added date command (diff)
downloadpOS-4f6bdc1eccf4ddf0881091db568a682002048496.tar.gz
pOS-4f6bdc1eccf4ddf0881091db568a682002048496.tar.bz2
pOS-4f6bdc1eccf4ddf0881091db568a682002048496.zip
Base: added an end symbol to the linker to signify the end of mem used
by the kernel
-rw-r--r--src/linker.ld2
-rw-r--r--src/pOS/include/kernel/shell/cmd.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/linker.ld b/src/linker.ld
index 141428c..aa492e5 100644
--- a/src/linker.ld
+++ b/src/linker.ld
@@ -25,4 +25,6 @@ SECTIONS
 		*(COMMON)
 		*(.bss)
 	}
+
+        end = .;
 } 
diff --git a/src/pOS/include/kernel/shell/cmd.h b/src/pOS/include/kernel/shell/cmd.h
index 147b62d..42855a1 100644
--- a/src/pOS/include/kernel/shell/cmd.h
+++ b/src/pOS/include/kernel/shell/cmd.h
@@ -25,6 +25,7 @@ ADD_CMD(CMD_Clear);
 ADD_CMD(CMD_Shutdown);
 ADD_CMD(CMD_Reboot);
 ADD_CMD(CMD_Halt);
+ADD_CMD(CMD_Date);
 ADD_CMD(CMD_Test);
 
 #endif