- Timestamp:
- 2012-08-24T14:07:52Z (13 years ago)
- 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. - Location:
- boot
- Files:
-
- 1 added
- 6 edited
-
Makefile (modified) (1 diff)
-
Makefile.common (modified) (7 diffs)
-
arch/mips32/Makefile.inc (modified) (2 diffs)
-
arch/mips64/Makefile.inc (modified) (2 diffs)
-
generic/include/printf.h (modified) (1 diff)
-
generic/include/printf_verify.h (added)
-
generic/src/str.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
boot/Makefile
rbd29f9c9 rbeb9336 47 47 $(MKFAT) 1048576 $(DIST_PATH) $@ 48 48 endif 49 ifeq ($(RDFMT),ext 2fs)50 $(MKEXT 2) 1048576 $(DIST_PATH) $@49 ifeq ($(RDFMT),ext4fs) 50 $(MKEXT4) 1048576 $(DIST_PATH) $@ 51 51 endif 52 52 -
boot/Makefile.common
rbd29f9c9 rbeb9336 55 55 MKTMPFS = $(TOOLS_PATH)/mktmpfs.py 56 56 MKFAT = $(TOOLS_PATH)/mkfat.py 57 MKEXT 2 = $(TOOLS_PATH)/mkext2.py57 MKEXT4 = $(TOOLS_PATH)/mkext4.py 58 58 MKUIMAGE = $(TOOLS_PATH)/mkuimage.py 59 59 … … 74 74 $(USPACE_PATH)/srv/locsrv/locsrv \ 75 75 $(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 80 77 81 78 ifeq ($(RDFMT),tmpfs) … … 87 84 endif 88 85 89 ifeq ($(RDFMT),ext 2fs)90 INIT_TASKS += $(USPACE_PATH)/srv/fs/ext 2fs/ext2fs86 ifeq ($(RDFMT),ext4fs) 87 INIT_TASKS += $(USPACE_PATH)/srv/fs/ext4fs/ext4fs 91 88 endif 92 89 93 90 RD_SRVS_ESSENTIAL = \ 94 $(USPACE_PATH)/srv/hid/fb/fb \95 91 $(USPACE_PATH)/srv/hid/input/input \ 92 $(USPACE_PATH)/srv/hid/output/output \ 96 93 $(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 98 97 99 98 RD_SRVS_NON_ESSENTIAL = \ … … 111 110 $(USPACE_PATH)/srv/fs/ext4fs/ext4fs \ 112 111 $(USPACE_PATH)/srv/hid/remcons/remcons \ 112 $(USPACE_PATH)/srv/hid/isdv4_tablet/isdv4_tablet \ 113 113 $(USPACE_PATH)/srv/net/ethip/ethip \ 114 114 $(USPACE_PATH)/srv/net/inetsrv/inetsrv \ … … 116 116 $(USPACE_PATH)/srv/net/tcp/tcp \ 117 117 $(USPACE_PATH)/srv/net/udp/udp \ 118 $(USPACE_PATH)/srv/taskmon/taskmon \ 119 $(USPACE_PATH)/srv/devman/devman 118 $(USPACE_PATH)/srv/taskmon/taskmon 120 119 121 120 RD_DRVS = \ 122 121 infrastructure/root \ 123 122 infrastructure/rootvirt \ 123 fb/kfb \ 124 124 test/test1 \ 125 125 test/test2 \ … … 152 152 $(USPACE_PATH)/app/bdsh/bdsh \ 153 153 $(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 155 157 156 158 RD_APPS_NON_ESSENTIAL = \ … … 192 194 $(USPACE_PATH)/app/vuhid/vuh \ 193 195 $(USPACE_PATH)/app/mkbd/mkbd \ 194 $(USPACE_PATH)/app/websrv/websrv 196 $(USPACE_PATH)/app/websrv/websrv \ 197 $(USPACE_PATH)/app/vdemo/vdemo 195 198 196 199 ifeq ($(CONFIG_PCC),y) -
boot/arch/mips32/Makefile.inc
rbd29f9c9 rbeb9336 29 29 BFD_ARCH = mips 30 30 BITS = 32 31 EXTRA_CFLAGS = -m no-abicalls -G 0 -fno-zero-initialized-in-bss -mips3 -mabi=3231 EXTRA_CFLAGS = -msoft-float -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mips3 -mabi=32 32 32 33 33 RD_SRVS_NON_ESSENTIAL += \ … … 48 48 BFD_OUTPUT = binary 49 49 ENDIANESS = LE 50 EXTRA_GCC_CFLAGS = -mhard-float51 50 endif 52 51 -
boot/arch/mips64/Makefile.inc
rbd29f9c9 rbeb9336 29 29 BFD_ARCH = mips:4000 30 30 BITS = 64 31 EXTRA_CFLAGS = -m no-abicalls -G 0 -fno-zero-initialized-in-bss -mips3 -mabi=6431 EXTRA_CFLAGS = -msoft-float -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mips3 -mabi=64 32 32 33 33 ifeq ($(MACHINE),msim) … … 35 35 BFD_OUTPUT = binary 36 36 ENDIANESS = LE 37 EXTRA_GCC_CFLAGS = -mhard-float38 37 endif 39 38 -
boot/generic/include/printf.h
rbd29f9c9 rbeb9336 35 35 #include <typedefs.h> 36 36 #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> 48 38 49 39 #define EOF (-1) -
boot/generic/src/str.c
rbd29f9c9 rbeb9336 357 357 * and both strings consist of the same sequence of characters. 358 358 * 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. 362 363 * 363 364 * @param s1 First string to compare. 364 365 * @param s2 Second string to compare. 365 366 * 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. 368 369 * 369 370 */
Note:
See TracChangeset
for help on using the changeset viewer.
