search for: printf_init

Displaying 3 results from an estimated 3 matches for "printf_init".

Did you mean: printf_info
2012 Sep 04
0
[PATCH] console: Close stdin, stdout, stderr on ldlinux.c32 unload
...en unloading ldlinux.c32. It also turns out that sys/openconsole.o was present in two Makefile variables which lead to duplication of code, data, etc. We only need it present in libcom32min.a and not in the core since the core never handles opening consoles, at least not now that we've deleted printf_init() which is safe because we always open a console in ldlinux.c32 anyway. Signed-off-by: Matt Fleming <matt.fleming at intel.com> --- com32/elflink/ldlinux/ldlinux.c | 12 ++++++++++++ com32/lib/Makefile | 2 +- core/extern.inc | 2 -- core/hello.c...
2012 Aug 14
1
[GIT PULL] elflink fixes
Hi Peter, The main part of this pull request includes commits that try to replace as many __intcall() invocations as possible. Some remain, but not many (and eventually they'll be gone too). There's also a patch to make better use of ld's --as-needed option and various other bug fixes/cleanups. The following changes since commit ff7334a2ce536b7f4b1f6d6f93ff4e285a3bd45a: Only
2012 Apr 17
2
[GIT PULL] elflink warning fixes and auto extension support
...tic inline void bios_timer_init(void) { unsigned long next; - uint32_t *hook = BIOS_timer_hook; + uint32_t *hook = (uint32_t *)BIOS_timer_hook; next = *hook; BIOS_timer_next = next; - *hook = &timer_irq; + *hook = (uint32_t)&timer_irq; } -void init(com32sys_t *regs) +extern void printf_init(void); +void init(com32sys_t *regs __unused) { int i; diff --git a/core/localboot.c b/core/localboot.c index c6993fc..0104047 100644 --- a/core/localboot.c +++ b/core/localboot.c @@ -11,7 +11,11 @@ * ----------------------------------------------------------------------- */ #include <s...