Changeset beb9336 in mainline for boot


Ignore:
Timestamp:
2012-08-24T14:07:52Z (13 years ago)
Author:
Frantisek Princ <frantisek.princ@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
041ab64
Parents:
bd29f9c9 (diff), db81577 (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.
Message:

Merge with mainline

Location:
boot
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile

    rbd29f9c9 rbeb9336  
    4747        $(MKFAT) 1048576 $(DIST_PATH) $@
    4848endif
    49 ifeq ($(RDFMT),ext2fs)
    50         $(MKEXT2) 1048576 $(DIST_PATH) $@
     49ifeq ($(RDFMT),ext4fs)
     50        $(MKEXT4) 1048576 $(DIST_PATH) $@
    5151endif
    5252
  • boot/Makefile.common

    rbd29f9c9 rbeb9336  
    5555MKTMPFS = $(TOOLS_PATH)/mktmpfs.py
    5656MKFAT = $(TOOLS_PATH)/mkfat.py
    57 MKEXT2 = $(TOOLS_PATH)/mkext2.py
     57MKEXT4 = $(TOOLS_PATH)/mkext4.py
    5858MKUIMAGE = $(TOOLS_PATH)/mkuimage.py
    5959
     
    7474        $(USPACE_PATH)/srv/locsrv/locsrv \
    7575        $(USPACE_PATH)/srv/bd/rd/rd \
    76         $(USPACE_PATH)/srv/vfs/vfs \
    77        
    78 # TODO: For comfort ext4fs debugging - delete before merge
    79 INIT_TASKS += $(USPACE_PATH)/srv/bd/ata_bd/ata_bd
     76        $(USPACE_PATH)/srv/vfs/vfs
    8077
    8178ifeq ($(RDFMT),tmpfs)
     
    8784endif
    8885
    89 ifeq ($(RDFMT),ext2fs)
    90         INIT_TASKS += $(USPACE_PATH)/srv/fs/ext2fs/ext2fs
     86ifeq ($(RDFMT),ext4fs)
     87        INIT_TASKS += $(USPACE_PATH)/srv/fs/ext4fs/ext4fs
    9188endif
    9289
    9390RD_SRVS_ESSENTIAL = \
    94         $(USPACE_PATH)/srv/hid/fb/fb \
    9591        $(USPACE_PATH)/srv/hid/input/input \
     92        $(USPACE_PATH)/srv/hid/output/output \
    9693        $(USPACE_PATH)/srv/hid/console/console \
    97         $(USPACE_PATH)/srv/fs/locfs/locfs
     94        $(USPACE_PATH)/srv/devman/devman \
     95        $(USPACE_PATH)/srv/fs/locfs/locfs \
     96        $(USPACE_PATH)/srv/hid/compositor/compositor
    9897
    9998RD_SRVS_NON_ESSENTIAL = \
     
    111110        $(USPACE_PATH)/srv/fs/ext4fs/ext4fs \
    112111        $(USPACE_PATH)/srv/hid/remcons/remcons \
     112        $(USPACE_PATH)/srv/hid/isdv4_tablet/isdv4_tablet \
    113113        $(USPACE_PATH)/srv/net/ethip/ethip \
    114114        $(USPACE_PATH)/srv/net/inetsrv/inetsrv \
     
    116116        $(USPACE_PATH)/srv/net/tcp/tcp \
    117117        $(USPACE_PATH)/srv/net/udp/udp \
    118         $(USPACE_PATH)/srv/taskmon/taskmon \
    119         $(USPACE_PATH)/srv/devman/devman
     118        $(USPACE_PATH)/srv/taskmon/taskmon
    120119
    121120RD_DRVS = \
    122121        infrastructure/root \
    123122        infrastructure/rootvirt \
     123        fb/kfb \
    124124        test/test1 \
    125125        test/test2 \
     
    152152        $(USPACE_PATH)/app/bdsh/bdsh \
    153153        $(USPACE_PATH)/app/getterm/getterm \
    154         $(USPACE_PATH)/app/klog/klog
     154        $(USPACE_PATH)/app/klog/klog \
     155        $(USPACE_PATH)/app/vlaunch/vlaunch \
     156        $(USPACE_PATH)/app/vterm/vterm
    155157
    156158RD_APPS_NON_ESSENTIAL = \
     
    192194        $(USPACE_PATH)/app/vuhid/vuh \
    193195        $(USPACE_PATH)/app/mkbd/mkbd \
    194         $(USPACE_PATH)/app/websrv/websrv
     196        $(USPACE_PATH)/app/websrv/websrv \
     197        $(USPACE_PATH)/app/vdemo/vdemo
    195198
    196199ifeq ($(CONFIG_PCC),y)
  • boot/arch/mips32/Makefile.inc

    rbd29f9c9 rbeb9336  
    2929BFD_ARCH = mips
    3030BITS = 32
    31 EXTRA_CFLAGS = -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mips3 -mabi=32
     31EXTRA_CFLAGS = -msoft-float -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mips3 -mabi=32
    3232
    3333RD_SRVS_NON_ESSENTIAL += \
     
    4848        BFD_OUTPUT = binary
    4949        ENDIANESS = LE
    50         EXTRA_GCC_CFLAGS = -mhard-float
    5150endif
    5251
  • boot/arch/mips64/Makefile.inc

    rbd29f9c9 rbeb9336  
    2929BFD_ARCH = mips:4000
    3030BITS = 64
    31 EXTRA_CFLAGS = -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mips3 -mabi=64
     31EXTRA_CFLAGS = -msoft-float -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mips3 -mabi=64
    3232
    3333ifeq ($(MACHINE),msim)
     
    3535        BFD_OUTPUT = binary
    3636        ENDIANESS = LE
    37         EXTRA_GCC_CFLAGS = -mhard-float
    3837endif
    3938
  • boot/generic/include/printf.h

    rbd29f9c9 rbeb9336  
    3535#include <typedefs.h>
    3636#include <stdarg.h>
    37 
    38 #ifndef NVERIFY_PRINTF
    39 
    40 #define PRINTF_ATTRIBUTE(start, end) \
    41         __attribute__((format(gnu_printf, start, end)))
    42 
    43 #else /* NVERIFY_PRINTF */
    44 
    45 #define PRINTF_ATTRIBUTE(start, end)
    46 
    47 #endif /* NVERIFY_PRINTF */
     37#include <printf_verify.h>
    4838
    4939#define EOF  (-1)
  • boot/generic/src/str.c

    rbd29f9c9 rbeb9336  
    357357 * and both strings consist of the same sequence of characters.
    358358 *
    359  * A string is smaller than another string iff it is shorter or
    360  * has a character with lower value at the first position where
    361  * the strings differ.
     359 * A string S1 is less than another string S2 if it has a character with
     360 * lower value at the first character position where the strings differ.
     361 * If the strings differ in length, the shorter one is treated as if
     362 * padded by characters with a value of zero.
    362363 *
    363364 * @param s1 First string to compare.
    364365 * @param s2 Second string to compare.
    365366 *
    366  * @return 0 if the strings are equal, -1 if first is smaller,
    367  *         1 if second smaller.
     367 * @return 0 if the strings are equal, -1 if the first is less than the second,
     368 *         1 if the second is less than the first.
    368369 *
    369370 */
Note: See TracChangeset for help on using the changeset viewer.