- Timestamp:
- 2012-11-11T21:31:03Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 25eec4ef
- Parents:
- 141a20d (diff), d1538a1 (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
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/Makefile
r141a20d ra1e2df13 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
r141a20d ra1e2df13 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 76 $(USPACE_PATH)/srv/vfs/vfs \ 77 $(USPACE_PATH)/srv/logger/logger 77 78 78 79 ifeq ($(RDFMT),tmpfs) … … 84 85 endif 85 86 86 ifeq ($(RDFMT),ext 2fs)87 INIT_TASKS += $(USPACE_PATH)/srv/fs/ext 2fs/ext2fs87 ifeq ($(RDFMT),ext4fs) 88 INIT_TASKS += $(USPACE_PATH)/srv/fs/ext4fs/ext4fs 88 89 endif 89 90 90 91 RD_SRVS_ESSENTIAL = \ 91 $(USPACE_PATH)/srv/hid/fb/fb \92 92 $(USPACE_PATH)/srv/hid/input/input \ 93 $(USPACE_PATH)/srv/hid/output/output \ 93 94 $(USPACE_PATH)/srv/hid/console/console \ 94 $(USPACE_PATH)/srv/fs/locfs/locfs 95 $(USPACE_PATH)/srv/devman/devman \ 96 $(USPACE_PATH)/srv/fs/locfs/locfs \ 97 $(USPACE_PATH)/srv/hid/compositor/compositor 95 98 96 99 RD_SRVS_NON_ESSENTIAL = \ … … 98 101 $(USPACE_PATH)/srv/bd/part/guid_part/g_part \ 99 102 $(USPACE_PATH)/srv/bd/part/mbr_part/mbr_part \ 103 $(USPACE_PATH)/srv/bd/sata_bd/sata_bd \ 100 104 $(USPACE_PATH)/srv/clipboard/clipboard \ 101 105 $(USPACE_PATH)/srv/fs/tmpfs/tmpfs \ … … 104 108 $(USPACE_PATH)/srv/fs/cdfs/cdfs \ 105 109 $(USPACE_PATH)/srv/fs/exfat/exfat \ 110 $(USPACE_PATH)/srv/fs/udf/udf \ 106 111 $(USPACE_PATH)/srv/fs/ext2fs/ext2fs \ 112 $(USPACE_PATH)/srv/fs/ext4fs/ext4fs \ 107 113 $(USPACE_PATH)/srv/hid/remcons/remcons \ 114 $(USPACE_PATH)/srv/hid/isdv4_tablet/isdv4_tablet \ 108 115 $(USPACE_PATH)/srv/net/dnsres/dnsres \ 109 116 $(USPACE_PATH)/srv/net/ethip/ethip \ … … 112 119 $(USPACE_PATH)/srv/net/tcp/tcp \ 113 120 $(USPACE_PATH)/srv/net/udp/udp \ 114 $(USPACE_PATH)/srv/taskmon/taskmon \ 115 $(USPACE_PATH)/srv/devman/devman 121 $(USPACE_PATH)/srv/taskmon/taskmon 116 122 117 123 RD_DRVS = \ 118 124 infrastructure/root \ 119 125 infrastructure/rootvirt \ 126 fb/kfb \ 120 127 test/test1 \ 121 128 test/test2 \ … … 123 130 nic/ne2k \ 124 131 nic/e1k \ 125 nic/rtl8139 132 nic/rtl8139 \ 133 block/ahci 126 134 127 135 RD_DRV_CFG = … … 147 155 $(USPACE_PATH)/app/bdsh/bdsh \ 148 156 $(USPACE_PATH)/app/getterm/getterm \ 149 $(USPACE_PATH)/app/klog/klog 157 $(USPACE_PATH)/app/klog/klog \ 158 $(USPACE_PATH)/app/vlaunch/vlaunch \ 159 $(USPACE_PATH)/app/vterm/vterm 150 160 151 161 RD_APPS_NON_ESSENTIAL = \ 162 $(USPACE_PATH)/app/bithenge/bithenge \ 152 163 $(USPACE_PATH)/app/blkdump/blkdump \ 153 164 $(USPACE_PATH)/app/bnchmark/bnchmark \ … … 162 173 $(USPACE_PATH)/app/killall/killall \ 163 174 $(USPACE_PATH)/app/loc/loc \ 175 $(USPACE_PATH)/app/logset/logset \ 164 176 $(USPACE_PATH)/app/mkfat/mkfat \ 165 177 $(USPACE_PATH)/app/mkexfat/mkexfat \ 166 178 $(USPACE_PATH)/app/mkmfs/mkmfs \ 167 $(USPACE_PATH)/app/lsusb/lsusb \168 179 $(USPACE_PATH)/app/sbi/sbi \ 169 180 $(USPACE_PATH)/app/sportdmp/sportdmp \ … … 172 183 $(USPACE_PATH)/app/tester/tester \ 173 184 $(USPACE_PATH)/app/testread/testread \ 185 $(USPACE_PATH)/app/testwrit/testwrit \ 174 186 $(USPACE_PATH)/app/tetris/tetris \ 175 187 $(USPACE_PATH)/app/trace/trace \ … … 186 198 $(USPACE_PATH)/app/vuhid/vuh \ 187 199 $(USPACE_PATH)/app/mkbd/mkbd \ 188 $(USPACE_PATH)/app/websrv/websrv 200 $(USPACE_PATH)/app/websrv/websrv \ 201 $(USPACE_PATH)/app/date/date \ 202 $(USPACE_PATH)/app/vdemo/vdemo 189 203 190 204 ifeq ($(CONFIG_PCC),y) -
boot/arch/amd64/Makefile.inc
r141a20d ra1e2df13 42 42 char/ps2mouse \ 43 43 char/xtkbd \ 44 time/cmos-rtc \ 44 45 bus/usb/ehci\ 45 46 bus/usb/ohci \ -
boot/arch/arm32/include/main.h
r141a20d ra1e2df13 52 52 53 53 /** GXemul testarm serial console output register */ 54 #define TESTARM_SCONS_ADDR 54 #define TESTARM_SCONS_ADDR 0x10000000 55 55 56 56 /** IntegratorCP serial console output register */ 57 #define ICP_SCONS_ADDR 57 #define ICP_SCONS_ADDR 0x16000000 58 58 59 59 extern void bootstrap(void); -
boot/arch/ia64/Makefile.inc
r141a20d ra1e2df13 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
r141a20d ra1e2df13 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
r141a20d ra1e2df13 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
r141a20d ra1e2df13 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/arch/ppc32/_link.ld.in
r141a20d ra1e2df13 2 2 3 3 SECTIONS { 4 . = 0x0 1000000;4 . = 0x02000000; 5 5 .text : { 6 6 *(BOOTSTRAP); -
boot/arch/ppc32/include/arch.h
r141a20d ra1e2df13 35 35 #define BOOT_OFFSET 0x8000 36 36 37 #define LOADER_ADDRESS 0x0 100000037 #define LOADER_ADDRESS 0x02000000 38 38 39 39 #ifndef __ASM__ -
boot/arch/ppc32/src/main.c
r141a20d ra1e2df13 103 103 } 104 104 105 if (top >= (size_t) loader_address_pa) { 106 printf("Inflated components overlap loader area.\n"); 107 printf("The boot image is too large. Halting.\n"); 108 halt(); 109 } 110 105 111 void *balloc_base; 106 112 void *balloc_base_pa; -
boot/generic/include/printf.h
r141a20d ra1e2df13 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
r141a20d ra1e2df13 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.