|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCH v2 04/10] plat/linuxu: Use ukplat_coutk() for command line interaction
Hello, This patch seems fine. Reviewed-by: Sharan Santhanam <sharan.santhanam@xxxxxxxxx> On 09/27/2018 02:41 PM, Simon Kuenzer wrote: The platform's command line interaction (e.g., `-h`, `-V`) should actually use stdio to print messages. printf() would be suitable for this. However, since this is provided by a libc, it may not be initialized. Because of this we use ukplat_coutk directly. Signed-off-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx> --- plat/linuxu/setup.c | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/plat/linuxu/setup.c b/plat/linuxu/setup.c index acb67d2..bf797f5 100644 --- a/plat/linuxu/setup.c +++ b/plat/linuxu/setup.c @@ -41,12 +41,18 @@ #include <linuxu/setup.h> #include <linuxu/console.h> #include <linuxu/syscall.h> +#include <uk/plat/console.h> #include <uk/plat/bootstrap.h> #include <uk/assert.h> #include <uk/errptr.h>struct liblinuxuplat_opts _liblinuxuplat_opts = { 0 }; +#define _coutk_chr(c) \ Thanks & Regards Sharan Santhanam _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |