Changeset 69c376b5 in mainline for uspace/lib/console/src/console.c


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

Avoid invoking SYSCALL macro outside of libc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.