Comments (4)
Hi @vvaltchev, I surround the print_banner_line()
and show_tilck_logo()
with the #if KERNEL_SHOW_LOGO
and #endif
. I build the tilck and run on qemu also build and test with gtests, didn't occure with any error. Also I tinker with mod_console.h
a bit, I changed the #define KERNEL_SHOW_LOGO 1
to 0(for checking the #if KERNEL_SHOW_LOGO works on misc.c) and GCC gives error for show_hello_message()
because show_hello_message needs show_tilck_logo();
and show_tilck_logo();
did not implemented because i set the KERNEL_SHOW_LOGO 0
on the mod_console.h
, so I think it works. I dind't open up a pull request because I wanted to say it to you first and be sure I didn't do anything wrong :)
PS: I set back the #define KERNEL_SHOW_LOGO 1
as default after the test
from tilck.
Hello @lvntky, thanks for working on that. Sure, your plans sounds OK. The change should consist just in adding an #ifdef
+ an #endif
. But, if you wanna check if everything compiles properly in both cases (which is necessary), touching mod_console.h
is not the right thing to do. (Also note: there are two mod_console.h files: the template one in config
and the automatically generated one in a subdirectory of the build directory.)
You should install cmake-curses-gui
and then run ccmake build
. That tool has a simple curses UI which will allow you to re-configure the Tilck compile-time options. Toggle the KERNEL_SHOW_LOGO
option from ON to OFF, press c
to re-configure and then g
to re-generate the makefiles and the other objects like the generated headers (including mod_console.h). After that, run a build with make
. Check that the build passes when the option is ON as well as when the option is OFF. If the build fails in case the KERNEL_SHOW_LOGO
is OFF, you should figure out a way to fix it. It should be super trivial in any case.
Sorry for now responding quickly, but as I said, I'm currently on vacation with very limited internet connection and time. I guess this should be enough for you to prepare the change and open a pull request. I'll review it as soon as I come back at the end of the week.
from tilck.
hi @vvaltchev , thank you for these great information, I will prepare a pull request in light of this information.
Yes I know you are on vacation, I hope you're having a good one :) See you after the vacation
from tilck.
This issue has been fixed by pull request #126
from tilck.
Related Issues (20)
- Don't download twice codecov in coverage_build.yml HOT 3
- Write a unit test to trigger the error code path in fork_dup_all_handles() HOT 2
- Move kernel/fs/fat32_debug.c to tests/unit/ HOT 4
- small typo in the wiki micropython page HOT 1
- Add system tests for sys_setuid() and friends HOT 1
- Move other/musl-gcc and other/musl-g++ to scripts/templates HOT 3
- Contribution documentation is not easily found HOT 2
- Warn not to mock and wrap the same function in mocking_experiments.cpp HOT 2
- Add unit tests for functions in string_util.c HOT 4
- Add tests for simple_wildcard_match() and set_traced_syscalls_int()
- Add tests for save_param_buffer() and dump_param_buffer() HOT 2
- Unable to build on Ubuntu 21.10 HOT 5
- Distro required HOT 6
- BusyBox build error HOT 5
- Can't build: /scripts/build_toolchain "too many arguments"? HOT 7
- The newest `getrusage` test failed once on Azure Pipelines HOT 5
- [feature request] Interactive build HOT 5
- Ability to add files to the created image [feature request] HOT 7
- ./toolchain-wrapper: cannot execute: required file not found HOT 2
- Source code in `/sysroot` gets built HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tilck.