Changeset ebb1489 in mainline for uspace/lib/c/generic/dbgcon.c


Ignore:
Timestamp:
2024-10-13T08:23:40Z (2 months ago)
Author:
GitHub <noreply@…>
Children:
0472cf17
Parents:
2a0c827c (diff), b3b79981 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
boba-buba <120932204+boba-buba@…> (2024-10-13 08:23:40)
git-committer:
GitHub <noreply@…> (2024-10-13 08:23:40)
Message:

Merge branch 'HelenOS:master' into topic/packet-capture

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/dbgcon.c

    r2a0c827c rebb1489  
    11/*
    2  * Copyright (c) 2013 Jiri Svoboda
     2 * Copyright (c) 2024 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup nconfsrv
     29/** @addtogroup libc
    3030 * @{
    3131 */
    32 /**
    33  * @file
    34  * @brief
     32/** @file
    3533 */
    3634
    37 #ifndef NCONFSRV_IPLINK_H_
    38 #define NCONFSRV_IPLINK_H_
     35#include <dbgcon.h>
     36#include <libc.h>
     37#include <stdbool.h>
    3938
    40 #include <stddef.h>
    41 #include "nconfsrv.h"
    42 
    43 extern errno_t ncs_link_discovery_start(void);
    44 extern ncs_link_t *ncs_link_get_by_id(sysarg_t);
    45 extern errno_t ncs_link_get_id_list(sysarg_t **, size_t *);
    46 
    47 #endif
     39bool dbgcon_enable(void)
     40{
     41        return __SYSCALL0(SYS_DEBUG_CONSOLE);
     42}
    4843
    4944/** @}
Note: See TracChangeset for help on using the changeset viewer.