Changeset 69c376b5 in mainline


Ignore:
Timestamp:
2024-05-29T18:27:11Z (8 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
645d3832
Parents:
c576800
Message:

Avoid invoking SYSCALL macro outside of libc.

Location:
uspace/lib
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/meson.build

    rc576800 r69c376b5  
    11#
    2 # Copyright (c) 2023 Jiri Svoboda
     2# Copyright (c) 2024 Jiri Svoboda
    33# Copyright (c) 2005 Martin Decky
    44# Copyright (c) 2007 Jakub Jermar
     
    8383        'generic/config.c',
    8484        'generic/context.c',
     85        'generic/dbgcon.c',
    8586        'generic/device/clock_dev.c',
    8687        'generic/device/hw_res.c',
  • uspace/lib/console/src/console.c

    rc576800 r69c376b5  
    11/*
    2  * Copyright (c) 2021 Jiri Svoboda
     2 * Copyright (c) 2024 Jiri Svoboda
    33 * Copyright (c) 2006 Josef Cejka
    44 * Copyright (c) 2006 Jakub Vana
     
    3636
    3737#include <as.h>
     38#include <dbgcon.h>
    3839#include <libc.h>
    3940#include <async.h>
     
    7778bool console_kcon(void)
    7879{
    79         return __SYSCALL0(SYS_DEBUG_CONSOLE);
     80        return dbgcon_enable();
    8081}
    8182
Note: See TracChangeset for help on using the changeset viewer.