Changes in / [d11a181:85f2064] in mainline


Ignore:
Files:
12 added
10 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile.common

    rd11a181 r85f2064  
    187187        $(USPACE_PATH)/app/vuhid/vuh \
    188188        $(USPACE_PATH)/app/mkbd/mkbd \
    189         $(USPACE_PATH)/app/websrv/websrv
     189        $(USPACE_PATH)/app/websrv/websrv \
     190        $(USPACE_PATH)/app/date/date
    190191
    191192ifeq ($(CONFIG_PCC),y)
  • boot/arch/amd64/Makefile.inc

    rd11a181 r85f2064  
    4242        char/ps2mouse \
    4343        char/xtkbd \
     44        time/cmos-rtc \
    4445        bus/usb/ehci\
    4546        bus/usb/ohci \
  • uspace/Makefile

    rd11a181 r85f2064  
    7070        app/sysinfo \
    7171        app/mkbd \
     72        app/date \
    7273        srv/clip \
    7374        srv/loc \
     
    125126        drv/nic/ne2k \
    126127        drv/nic/e1k \
    127         drv/nic/rtl8139
     128        drv/nic/rtl8139 \
    128129
    129130ifeq ($(CONFIG_PCC),y)
     
    149150                drv/bus/isa \
    150151                drv/char/ns8250 \
     152                drv/time/cmos-rtc \
    151153                srv/hw/irc/apic \
    152154                srv/hw/irc/i8259
     
    159161                drv/bus/isa \
    160162                drv/char/ns8250 \
     163                drv/time/cmos-rtc \
    161164                srv/hw/irc/apic \
    162165                srv/hw/irc/i8259
  • uspace/drv/bus/isa/isa.dev

    rd11a181 r85f2064  
    2727        dma 1
    2828        dma 5
     29
     30cmos-rtc:
     31        match 100 isa/cmos-rtc
     32        io_range 70 2
  • uspace/lib/c/Makefile

    rd11a181 r85f2064  
    6969        generic/device/hw_res_parsed.c \
    7070        generic/device/char_dev.c \
     71        generic/device/clock_dev.c \
    7172        generic/device/nic.c \
    7273        generic/device/pci.c \
  • uspace/lib/c/include/ipc/dev_iface.h

    rd11a181 r85f2064  
    5252        USBHID_DEV_IFACE,
    5353
     54        /** Interface provided by Real Time Clock devices */
     55        CLOCK_DEV_IFACE,
     56
    5457        DEV_IFACE_MAX
    5558} dev_inferface_idx_t;
  • uspace/lib/c/include/sys/time.h

    rd11a181 r85f2064  
    4646typedef uint32_t mseconds_t;
    4747
     48struct tm {
     49        int tm_sec;       /* 0 - 59 */
     50        int tm_min;       /* 0 - 59 */
     51        int tm_hour;      /* 0 - 23 */
     52        int tm_mday;      /* 1 - 31 */
     53        int tm_mon;       /* 0 - 11 */
     54        int tm_year;      /* years since 1900 */
     55};
     56
    4857struct timeval {
    4958        time_t tv_sec;        /* seconds */
  • uspace/lib/drv/Makefile

    rd11a181 r85f2064  
    4444        generic/remote_pci.c \
    4545        generic/remote_usbhc.c \
    46         generic/remote_usbhid.c
     46        generic/remote_usbhid.c \
     47        generic/remote_clock_dev.c
    4748
    4849include $(USPACE_PREFIX)/Makefile.common
  • uspace/lib/drv/generic/dev_iface.c

    rd11a181 r85f2064  
    4141#include "remote_hw_res.h"
    4242#include "remote_char_dev.h"
     43#include "remote_clock_dev.h"
    4344#include "remote_nic.h"
    4445#include "remote_usb.h"
     
    5556                &remote_usb_iface,
    5657                &remote_usbhc_iface,
    57                 &remote_usbhid_iface
     58                &remote_usbhid_iface,
     59                &remote_clock_dev_iface,
    5860        }
    5961};
  • uspace/srv/loc/loc.c

    rd11a181 r85f2064  
    13051305        categ_dir_add_cat(&cdir, cat);
    13061306
     1307        cat = category_new("clock");
     1308        categ_dir_add_cat(&cdir, cat);
     1309
    13071310        cat = category_new("test3");
    13081311        categ_dir_add_cat(&cdir, cat);
Note: See TracChangeset for help on using the changeset viewer.