nanogui: [PATCH]some minor changes to make mwin work with ecos
Subject:
[PATCH]some minor changes to make mwin work with ecos
From:
Alexander Neundorf ####@####.####
Date:
8 Nov 2005 22:12:17 +0000
Message-Id: <200511082312.06851.neundorf@kde.org>
Hi,
the attached patch does the following:
-it includes ecosmwconfig.h in mwtypes.h, so that it is included everywhere.
ecosmwconfig.h translates the options from the ecos configtool to the
microwindows options
-it changes main() in winmain.c to invoke_WinMain() under eCos, so that it can
(and has to) be called explicitly under eCos, which I think is better,
because eCos has at least three different startup modes: start from
cyg_user_start(), start from main() in init context and start from main() in
thread-context. Having to call invoke_WinMain() explicitly makes it usable in
all three modes.
-it enables the MwSelect() from rtems also for eCos, so that both are handled
equally at this level.
-it implements GetTickCount() in an eCos-specific way with minimal
dependencies
Ok to apply ?
Bye
Alex
--
Work: ####@####.#### - http://www.jenoptik-los.de
Home: ####@####.#### - http://www.kde.org
####@####.#### - http://www.neundorf.net
[Content type text/x-diff not shown. Download]