test(kernel): add debug playground functions for testing purposes

This commit is contained in:
2025-05-16 17:23:41 +00:00
parent fda5ede37f
commit 2349610e47
4 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,30 @@
/*
This file is part of Fennix Kernel.
Fennix Kernel is free software: you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
Fennix Kernel is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Fennix Kernel. If not, see <https://www.gnu.org/licenses/>.
*/
#ifdef DEBUG
void __early_playground()
{
/* test code */
}
void __late_playground()
{
/* test code */
}
#endif // DEBUG

View File

@ -31,6 +31,8 @@ void TreeFS(Node node, int Depth);
void TaskHeartbeat();
void StressKernel();
void coroutineTest();
void __early_playground();
void __late_playground();
#endif // DEBUG
#endif // !__FENNIX_KERNEL_non_constructor_tests_H__