borads/z80: Remove the woraround for CHECK_[ALLOC|FREE]NODE_SIZE

since both macros are removed by:
https://github.com/apache/incubator-nuttx/pull/5585

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-08-28 03:11:53 +08:00 committed by Petro Karashchenko
parent c7f9d9b150
commit 8e895fee76
4 changed files with 2 additions and 76 deletions

View File

@ -22,27 +22,6 @@ Version 4.11.0
all ez80 boards. However, it is the older version 4.11.0 that this code
has been verified against.
Although it compiles without error, the 4.11.0 compiler generates
bad code on one of the files, mm/mm_initialize.c. Below is a simple work-
around.
--- mm/mm_initialize.c.SAVE 2008-02-13 08:06:46.833857700 -0600
+++ mm/mm_initialize.c 2008-02-13 08:07:26.367608900 -0600
@@ -94,8 +94,11 @@
{
int i;
+#if 0 /* DO NOT CHECK IN */
CHECK_ALLOCNODE_SIZE;
CHECK_FREENODE_SIZE;
+#endif
/* Set up global variables */
UPDATE: I don't know if 4.11.1 has this same problem (I bet not since
I submitted the bug to ZiLOG), but I have permanently worked around the
above problem for all ZiLOG compilers.
Version 5.1.1
On June 22, 2011 I verified that these configurations build successfully

View File

@ -22,27 +22,6 @@ Version 4.11.0
all ez80 boards. However, it is the older version 4.11.0 that this code
has been verified against.
Although it compiles without error, the 4.11.0 compiler generates
bad code on one of the files, mm/mm_initialize.c. Below is a simple work-
around.
--- mm/mm_initialize.c.SAVE 2008-02-13 08:06:46.833857700 -0600
+++ mm/mm_initialize.c 2008-02-13 08:07:26.367608900 -0600
@@ -94,8 +94,11 @@
{
int i;
+#if 0 /* DO NOT CHECK IN */
CHECK_ALLOCNODE_SIZE;
CHECK_FREENODE_SIZE;
+#endif
/* Set up global variables */
UPDATE: I don't know if 4.11.1 has this same problem (I bet not since
I submitted the bug to ZiLOG), but I have permanently worked around the
above problem for all ZiLOG compilers.
Version 5.1.1
On June 22, 2011 I verified that these configurations build successfully

View File

@ -5,23 +5,7 @@ ZDS-II Compiler Versions
^^^^^^^^^^^^^^^^^^^^^^^^
Version 4.10.1
The ZDS-II version 4.10.2 will not compile NuttX. It reports "internal
errors" on one of the files, mm/mm_initialize.c. Below is a simple work-
around. With this work-around in place, NuttX builds successfully with
the 4.10.1 compiler.
--- mm/mm_initialize.c.SAVE 2008-02-13 08:06:46.833857700 -0600
+++ mm/mm_initialize.c 2008-02-13 08:07:26.367608900 -0600
@@ -94,8 +94,11 @@
{
int i;
+#if 0 /* DO NOT CHECK IN */
CHECK_ALLOCNODE_SIZE;
CHECK_FREENODE_SIZE;
+#endif
/* Set up global variables */
NuttX builds successfully with the 4.10.1 compiler.
Version 4.9.5
This is the latest tool version listed on the ZiLOG site for the Z8F6403.

View File

@ -5,23 +5,7 @@ ZDS-II Compiler Versions
^^^^^^^^^^^^^^^^^^^^^^^^
4.10.1
The ZDS-II version 4.10.2 will not compile NuttX. It reports "internal
errors" on one of the files, mm/mm_initialize.c. Below is a simple work-
around. With this work-around in place, NuttX builds successfully with
the 4.10.1 compiler.
--- mm/mm_initialize.c.SAVE 2008-02-13 08:06:46.833857700 -0600
+++ mm/mm_initialize.c 2008-02-13 08:07:26.367608900 -0600
@@ -94,8 +94,11 @@
{
int i;
+#if 0 /* DO NOT CHECK IN */
CHECK_ALLOCNODE_SIZE;
CHECK_FREENODE_SIZE;
+#endif
/* Set up global variables */
NuttX builds successfully with the 4.10.1 compiler.
Version 4.9.5
This is the latest tool version listed on the ZiLOG site for the Z8F6403.