Changes in / [ec351c3:abb8737] in mainline
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/Makefile.build
rec351c3 rabb8737 34 34 OPTIMIZATION = 3 35 35 36 DEFS = -DRELEASE=$(RELEASE) "-D NAME=$(NAME)" -D__$(BITS)_BITS__ -D__$(ENDIANESS)__36 DEFS = -DRELEASE=$(RELEASE) "-DCOPYRIGHT=$(COPYRIGHT)" "-DNAME=$(NAME)" -D__$(BITS)_BITS__ -D__$(ENDIANESS)__ 37 37 38 38 GCC_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \ -
boot/arch/ia64/src/main.c
rec351c3 rabb8737 189 189 printf("\nInflating components ... "); 190 190 191 /* 192 * We will use the next available address for a copy of each component to 193 * make sure that inflate() works with disjunctive memory regions. 194 */ 195 top = ALIGN_UP(top, PAGE_SIZE); 196 191 197 for (i = cnt; i > 0; i--) { 192 198 printf("%s ", components[i - 1].name); 193 199 194 int err = inflate(components[i - 1].start, components[i - 1].size, 200 /* 201 * Copy the component to a location which is guaranteed not to 202 * overlap with the destination for inflate(). 203 */ 204 memmove((void *) top, components[i - 1].start, components[i - 1].size); 205 206 int err = inflate((void *) top, components[i - 1].size, 195 207 dest[i - 1], components[i - 1].inflated); 196 208 -
boot/generic/include/memstr.h
rec351c3 rabb8737 36 36 37 37 extern void *memcpy(void *, const void *, size_t); 38 extern void *memmove(void *, const void *, size_t); 38 39 39 40 #endif -
boot/generic/src/memstr.c
rec351c3 rabb8737 51 51 } 52 52 53 /** Move memory block with possible overlapping. 54 * 55 * Copy cnt bytes from src address to dst address. The source 56 * and destination memory areas may overlap. 57 * 58 * @param dst Destination address to copy to. 59 * @param src Source address to copy from. 60 * @param cnt Number of bytes to copy. 61 * 62 * @return Destination address. 63 * 64 */ 65 void *memmove(void *dst, const void *src, size_t cnt) 66 { 67 /* Nothing to do? */ 68 if (src == dst) 69 return dst; 70 71 /* Non-overlapping? */ 72 if ((dst >= src + cnt) || (src >= dst + cnt)) 73 return memcpy(dst, src, cnt); 74 75 uint8_t *dp; 76 const uint8_t *sp; 77 78 /* Which direction? */ 79 if (src > dst) { 80 /* Forwards. */ 81 dp = dst; 82 sp = src; 83 84 while (cnt-- != 0) 85 *dp++ = *sp++; 86 } else { 87 /* Backwards. */ 88 dp = dst + (cnt - 1); 89 sp = src + (cnt - 1); 90 91 while (cnt-- != 0) 92 *dp-- = *sp--; 93 } 94 95 return dst; 96 } 97 53 98 /** @} 54 99 */ -
boot/generic/src/version.c
rec351c3 rabb8737 32 32 33 33 static const char *project = "HelenOS bootloader"; 34 static const char *copyright = "Copyright (c) 2001-2011 HelenOS project";34 static const char *copyright = STRING(COPYRIGHT); 35 35 static const char *release = STRING(RELEASE); 36 36 static const char *name = STRING(NAME); -
kernel/Makefile
rec351c3 rabb8737 90 90 endif 91 91 92 DEFS = -DKERNEL -DRELEASE=$(RELEASE) "-D NAME=$(NAME)" -D__$(BITS)_BITS__ -D__$(ENDIANESS)__92 DEFS = -DKERNEL -DRELEASE=$(RELEASE) "-DCOPYRIGHT=$(COPYRIGHT)" "-DNAME=$(NAME)" -D__$(BITS)_BITS__ -D__$(ENDIANESS)__ 93 93 94 94 GCC_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \ -
kernel/generic/src/main/version.c
rec351c3 rabb8737 38 38 39 39 static const char *project = "SPARTAN kernel"; 40 static const char *copyright = "Copyright (c) 2001-2011 HelenOS project";40 static const char *copyright = STRING(COPYRIGHT); 41 41 static const char *release = STRING(RELEASE); 42 42 static const char *name = STRING(NAME); -
uspace/app/getterm/Makefile
rec351c3 rabb8737 29 29 30 30 USPACE_PREFIX = ../.. 31 DEFS = -DRELEASE=$(RELEASE) "-D NAME=$(NAME)"31 DEFS = -DRELEASE=$(RELEASE) "-DCOPYRIGHT=$(COPYRIGHT)" "-DNAME=$(NAME)" 32 32 BINARY = getterm 33 33 -
uspace/app/getterm/version.c
rec351c3 rabb8737 40 40 #include "version.h" 41 41 42 static const char *copyright = STRING(COPYRIGHT); 42 43 static const char *release = STRING(RELEASE); 43 44 static const char *name = STRING(NAME); … … 61 62 printf("HelenOS release %s (%s)%s%s\n", release, name, revision, timestamp); 62 63 printf("Running on %s (%s)\n", arch, term); 63 printf(" Copyright (c) 2001-2011 HelenOS project\n\n");64 printf("%s\n\n", copyright); 64 65 } 65 66 -
version
rec351c3 rabb8737 46 46 47 47 NAME = Sashimi 48 COPYRIGHT = Copyright (c) 2001-2012 HelenOS project
Note:
See TracChangeset
for help on using the changeset viewer.