- Timestamp:
- 2012-08-31T17:30:29Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2be2506a
- Parents:
- e0d5bc5 (diff), 0d57c3e (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
- 8 edited
-
Makefile (modified) (1 diff)
-
Makefile.common (modified) (9 diffs)
-
arch/ia64/Makefile.inc (modified) (1 diff)
-
arch/mips32/Makefile.inc (modified) (2 diffs)
-
arch/mips64/Makefile.inc (modified) (2 diffs)
-
arch/ppc32/Makefile.inc (modified) (1 diff)
-
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
re0d5bc5 r96e01fbc 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
re0d5bc5 r96e01fbc 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 … … 84 84 endif 85 85 86 ifeq ($(RDFMT),ext 2fs)87 INIT_TASKS += $(USPACE_PATH)/srv/fs/ext 2fs/ext2fs86 ifeq ($(RDFMT),ext4fs) 87 INIT_TASKS += $(USPACE_PATH)/srv/fs/ext4fs/ext4fs 88 88 endif 89 89 90 90 RD_SRVS_ESSENTIAL = \ 91 $(USPACE_PATH)/srv/hid/fb/fb \92 91 $(USPACE_PATH)/srv/hid/input/input \ 92 $(USPACE_PATH)/srv/hid/output/output \ 93 93 $(USPACE_PATH)/srv/hid/console/console \ 94 $(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 95 97 96 98 RD_SRVS_NON_ESSENTIAL = \ … … 98 100 $(USPACE_PATH)/srv/bd/part/guid_part/g_part \ 99 101 $(USPACE_PATH)/srv/bd/part/mbr_part/mbr_part \ 102 $(USPACE_PATH)/srv/bd/sata_bd/sata_bd \ 100 103 $(USPACE_PATH)/srv/clipboard/clipboard \ 101 104 $(USPACE_PATH)/srv/fs/tmpfs/tmpfs \ … … 104 107 $(USPACE_PATH)/srv/fs/cdfs/cdfs \ 105 108 $(USPACE_PATH)/srv/fs/exfat/exfat \ 109 $(USPACE_PATH)/srv/fs/udf/udf \ 106 110 $(USPACE_PATH)/srv/fs/ext2fs/ext2fs \ 111 $(USPACE_PATH)/srv/fs/ext4fs/ext4fs \ 107 112 $(USPACE_PATH)/srv/hid/remcons/remcons \ 113 $(USPACE_PATH)/srv/hid/isdv4_tablet/isdv4_tablet \ 108 114 $(USPACE_PATH)/srv/net/ethip/ethip \ 109 115 $(USPACE_PATH)/srv/net/inetsrv/inetsrv \ … … 111 117 $(USPACE_PATH)/srv/net/tcp/tcp \ 112 118 $(USPACE_PATH)/srv/net/udp/udp \ 113 $(USPACE_PATH)/srv/taskmon/taskmon \ 114 $(USPACE_PATH)/srv/devman/devman 119 $(USPACE_PATH)/srv/taskmon/taskmon 115 120 116 121 RD_DRVS = \ 117 122 infrastructure/root \ 118 123 infrastructure/rootvirt \ 124 fb/kfb \ 119 125 test/test1 \ 120 126 test/test2 \ … … 122 128 nic/ne2k \ 123 129 nic/e1k \ 124 nic/rtl8139 130 nic/rtl8139 \ 131 block/ahci 125 132 126 133 RD_DRV_CFG = … … 146 153 $(USPACE_PATH)/app/bdsh/bdsh \ 147 154 $(USPACE_PATH)/app/getterm/getterm \ 148 $(USPACE_PATH)/app/klog/klog 155 $(USPACE_PATH)/app/klog/klog \ 156 $(USPACE_PATH)/app/vlaunch/vlaunch \ 157 $(USPACE_PATH)/app/vterm/vterm 149 158 150 159 RD_APPS_NON_ESSENTIAL = \ … … 171 180 $(USPACE_PATH)/app/tester/tester \ 172 181 $(USPACE_PATH)/app/testread/testread \ 182 $(USPACE_PATH)/app/testwrit/testwrit \ 173 183 $(USPACE_PATH)/app/tetris/tetris \ 174 184 $(USPACE_PATH)/app/trace/trace \ … … 185 195 $(USPACE_PATH)/app/vuhid/vuh \ 186 196 $(USPACE_PATH)/app/mkbd/mkbd \ 187 $(USPACE_PATH)/app/websrv/websrv 197 $(USPACE_PATH)/app/websrv/websrv \ 198 $(USPACE_PATH)/app/vdemo/vdemo 188 199 189 200 ifeq ($(CONFIG_PCC),y) -
boot/arch/ia64/Makefile.inc
re0d5bc5 r96e01fbc 31 31 BFD_ARCH = ia64 32 32 33 # 34 # FIXME: 35 # 36 # The -fno-selective-scheduling and -fno-selective-scheduling2 options 37 # should be removed as soon as a bug in GCC concerning unchecked 38 # speculative loads is fixed. 39 # 40 # See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53975 for reference. 41 # 42 33 43 BITS = 64 34 44 ENDIANESS = LE 35 EXTRA_CFLAGS = -fno-unwind-tables -mfixed-range=f32-f127 -mno-pic -mno-sdata 45 EXTRA_CFLAGS = -fno-unwind-tables -mfixed-range=f32-f127 -mno-pic -mno-sdata -fno-selective-scheduling -fno-selective-scheduling2 36 46 37 47 RD_SRVS_NON_ESSENTIAL += -
boot/arch/mips32/Makefile.inc
re0d5bc5 r96e01fbc 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
re0d5bc5 r96e01fbc 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/arch/ppc32/Makefile.inc
re0d5bc5 r96e01fbc 43 43 44 44 RD_DRVS += \ 45 infrastructure/rootmac 45 infrastructure/rootmac \ 46 bus/pci/pciintel \ 47 bus/usb/ohci \ 48 bus/usb/usbflbk \ 49 bus/usb/usbhub \ 50 bus/usb/usbhid \ 51 bus/usb/usbmast \ 52 bus/usb/usbmid \ 53 bus/usb/vhc 46 54 47 55 SOURCES = \ -
boot/generic/include/printf.h
re0d5bc5 r96e01fbc 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
re0d5bc5 r96e01fbc 354 354 * 355 355 * Do a char-by-char comparison of two NULL-terminated strings. 356 * The strings are considered equal iff they consist of the same 357 * characters on the minimum of their lengths. 356 * The strings are considered equal iff their length is equal 357 * and both strings consist of the same sequence of characters. 358 * 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. 358 363 * 359 364 * @param s1 First string to compare. 360 365 * @param s2 Second string to compare. 361 366 * 362 * @return 0 if the strings are equal, -1 if first is smaller,363 * 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. 364 369 * 365 370 */
Note:
See TracChangeset
for help on using the changeset viewer.
