Changeset 5fc8244 in mainline


Ignore:
Timestamp:
2021-06-12T21:22:48Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
034ce6bb
Parents:
af5d62eb
Message:

Move device-related stuff out of libc to libdevice

Unfortunately, we need to keep clock_dev, which pulls in hw_res
and pio_window. clock_dev is used by time.c

Location:
uspace
Files:
21 edited
40 moved

Legend:

Unmodified
Added
Removed
  • uspace/app/barber/meson.build

    raf5d62eb r5fc8244  
    2727#
    2828
    29 deps = [ 'ui', 'gfximage', 'compress' ]
     29deps = [ 'ui', 'gfximage', 'compress', 'device' ]
    3030
    3131_images = files(
  • uspace/app/devctl/meson.build

    raf5d62eb r5fc8244  
    2727#
    2828
     29deps = [ 'device' ]
    2930src = files('devctl.c')
  • uspace/app/fdisk/meson.build

    raf5d62eb r5fc8244  
    2727#
    2828
    29 deps = [ 'clui', 'fdisk' ]
     29deps = [ 'clui', 'device', 'fdisk' ]
    3030src = files('fdisk.c')
  • uspace/app/lprint/meson.build

    raf5d62eb r5fc8244  
    2727#
    2828
     29deps = [ 'device' ]
    2930src = files('lprint.c')
  • uspace/app/pci/meson.build

    raf5d62eb r5fc8244  
    2727#
    2828
     29deps = [ 'device' ]
    2930src = files('pci.c')
  • uspace/app/vol/meson.build

    raf5d62eb r5fc8244  
    2727#
    2828
     29deps = [ 'device' ]
    2930src = files('vol.c')
  • uspace/lib/block/meson.build

    raf5d62eb r5fc8244  
    2828#
    2929
     30deps = [ 'device' ]
    3031src = files('block.c')
  • uspace/lib/c/generic/capa.c

    raf5d62eb r5fc8244  
    3434 */
    3535
     36#include <assert.h>
    3637#include <capa.h>
    3738#include <errno.h>
    3839#include <imath.h>
     40#include <stddef.h>
    3941#include <stdio.h>
    4042#include <str.h>
  • uspace/lib/c/generic/time.c

    raf5d62eb r5fc8244  
    4747#include <stdint.h>
    4848#include <stdio.h>
     49#include <stdlib.h>
    4950#include <ctype.h>
    5051#include <assert.h>
  • uspace/lib/c/include/capa.h

    raf5d62eb r5fc8244  
    3737#define _LIBC_CAPA_H_
    3838
    39 #include <adt/list.h>
    40 #include <loc.h>
     39#include <errno.h>
     40#include <stddef.h>
    4141#include <stdint.h>
    42 #include <types/label.h>
    43 #include <types/vol.h>
    44 #include <vbd.h>
    4542
    4643/** Capacity unit */
  • uspace/lib/c/meson.build

    raf5d62eb r5fc8244  
    6060src += files(
    6161        'generic/libc.c',
     62        'generic/as.c',
    6263        'generic/ddi.c',
    63         'generic/as.c',
    64         'generic/bd.c',
    65         'generic/bd_srv.c',
    6664        'generic/perm.c',
    6765        'generic/capa.c',
     
    7169        'generic/corecfg.c',
    7270        'generic/ctype.c',
    73         'generic/devman.c',
     71        'generic/device/clock_dev.c',
    7472        'generic/device/hw_res.c',
    7573        'generic/device/hw_res_parsed.c',
    7674        'generic/device/pio_window.c',
    77         'generic/device/clock_dev.c',
    78         'generic/device/led_dev.c',
    7975        'generic/dirent.c',
    8076        'generic/dlfcn.c',
     
    9591        'generic/l18n/langs.c',
    9692        'generic/pcb.c',
     93        'generic/pio_trace.c',
    9794        'generic/smc.c',
    9895        'generic/task.c',
     
    10198        'generic/io/input.c',
    10299        'generic/io/io.c',
    103         'generic/io/chardev.c',
    104         'generic/io/chardev_srv.c',
    105100        'generic/io/chargrid.c',
    106101        'generic/io/output.c',
     
    108103        'generic/io/log.c',
    109104        'generic/io/logctl.c',
    110         'generic/io/label.c',
    111105        'generic/io/kio.c',
    112106        'generic/io/klog.c',
    113         'generic/io/serial.c',
    114107        'generic/io/snprintf.c',
    115108        'generic/io/vprintf.c',
     
    119112        'generic/io/console.c',
    120113        'generic/io/table.c',
    121         'generic/irc.c',
    122114        'generic/irq.c',
    123115        'generic/ieee_double.c',
     
    167159        'generic/assert.c',
    168160        'generic/bsearch.c',
    169         'generic/pci.c',
    170         'generic/pio_trace.c',
    171161        'generic/qsort.c',
    172162        'generic/ubsan.c',
    173163        'generic/uuid.c',
    174         'generic/vbd.c',
    175         'generic/vol.c',
    176164)
    177165
  • uspace/lib/drv/meson.build

    raf5d62eb r5fc8244  
    2828#
    2929
    30 deps = [ 'inet', 'pcm' ]
     30deps = [ 'inet', 'pcm', 'device' ]
    3131private_includes += include_directories('generic/private')
    3232src = files(
  • uspace/lib/fdisk/meson.build

    raf5d62eb r5fc8244  
    2727#
    2828
     29deps = [ 'device' ]
    2930src = files('src/fdisk.c')
  • uspace/lib/ipcgfx/src/server.c

    raf5d62eb r5fc8244  
    4141#include <gfx/color.h>
    4242#include <gfx/render.h>
    43 #include <ipc/bd.h>
    4443#include <ipcgfx/ipc/gc.h>
    4544#include <ipcgfx/server.h>
  • uspace/lib/label/meson.build

    raf5d62eb r5fc8244  
    2727#
    2828
     29deps = [ 'device' ]
    2930src = files(
    3031        'src/dummy.c',
  • uspace/lib/meson.build

    raf5d62eb r5fc8244  
    5252
    5353        'inet',
     54
     55        'device',
    5456
    5557        'block',
  • uspace/srv/bd/file_bd/meson.build

    raf5d62eb r5fc8244  
    2828#
    2929
     30deps = [ 'device' ]
    3031src = files('file_bd.c')
  • uspace/srv/bd/rd/meson.build

    raf5d62eb r5fc8244  
    2828#
    2929
     30deps = [ 'device' ]
    3031src = files('rd.c')
  • uspace/srv/devman/meson.build

    raf5d62eb r5fc8244  
    2828#
    2929
     30deps = [ 'device' ]
    3031src = files(
    3132        'client_conn.c',
  • uspace/srv/hw/char/s3c24xx_uart/meson.build

    raf5d62eb r5fc8244  
    2828#
    2929
     30deps = [ 'device' ]
    3031src = files('s3c24xx_uart.c')
  • uspace/srv/test/chardev-test/meson.build

    raf5d62eb r5fc8244  
    2727#
    2828
     29deps = [ 'device' ]
    2930src = files('main.c')
Note: See TracChangeset for help on using the changeset viewer.