- Timestamp:
- 2013-07-15T20:44:54Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f8d3df3
- Parents:
- 273c976 (diff), a940f1d (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:
- kernel
- Files:
-
- 1 added
- 5 edited
-
Makefile (modified) (1 diff)
-
arch/arm32/src/mach/beaglebone/beaglebone.c (modified) (2 diffs)
-
genarch/src/drivers/am335x/timer.c (modified) (1 diff)
-
generic/include/cc.h (added)
-
generic/include/lib/memfnc.h (modified) (1 diff)
-
test/print/print4.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/Makefile
r273c976 rf3386d7 105 105 CLANG_CFLAGS = $(INCLUDES_FLAGS) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \ 106 106 -ffreestanding -fno-builtin -nostdlib -nostdinc \ 107 -Wall -We xtra -Wno-unused-parameter -Wmissing-prototypes \107 -Wall -Werror -Wextra -Wno-unused-parameter -Wmissing-prototypes \ 108 108 -Werror-implicit-function-declaration -Wwrite-strings \ 109 109 -integrated-as \ -
kernel/arch/arm32/src/mach/beaglebone/beaglebone.c
r273c976 rf3386d7 177 177 { 178 178 const unsigned inum = am335x_irc_inum_get(bbone.irc_addr); 179 am335x_irc_irq_ack(bbone.irc_addr);180 179 181 180 irq_t *irq = irq_dispatch_and_lock(inum); … … 187 186 printf("Spurious interrupt\n"); 188 187 } 188 189 am335x_irc_irq_ack(bbone.irc_addr); 189 190 } 190 191 -
kernel/genarch/src/drivers/am335x/timer.c
r273c976 rf3386d7 119 119 /* Disable compare mode */ 120 120 tclr &= ~AM335x_TIMER_TCLR_CE_FLAG; 121 /* Enable the prescaler, divisor = 2 */ 122 tclr |= AM335x_TIMER_TCLR_PRE_FLAG; 123 tclr &= ~(AM335x_TIMER_TCLR_PTV_MASK << AM335x_TIMER_TCLR_PTV_SHIFT); 121 124 122 /* Enable auto-reload mode */ 125 123 tclr |= AM335x_TIMER_TCLR_AR_FLAG; -
kernel/generic/include/lib/memfnc.h
r273c976 rf3386d7 37 37 38 38 #include <typedefs.h> 39 #include <cc.h> 39 40 40 41 extern void *memset(void *, int, size_t) 41 __attribute__ ((optimize("-fno-tree-loop-distribute-patterns")));42 ATTRIBUTE_OPTIMIZE("-fno-tree-loop-distribute-patterns"); 42 43 extern void *memcpy(void *, const void *, size_t) 43 __attribute__ ((optimize("-fno-tree-loop-distribute-patterns")));44 ATTRIBUTE_OPTIMIZE("-fno-tree-loop-distribute-patterns"); 44 45 45 46 #endif -
kernel/test/print/print4.c
r273c976 rf3386d7 36 36 uint8_t group; 37 37 for (group = 1; group < 4; group++) { 38 TPRINTF("%# " PRIx8 ": ", group << 5);38 TPRINTF("%#x: ", group << 5); 39 39 40 40 uint8_t index; … … 52 52 53 53 for (group = 4; group < 8; group++) { 54 TPRINTF("%# " PRIx8 ": ", group << 5);54 TPRINTF("%#x: ", group << 5); 55 55 56 56 uint8_t index;
Note:
See TracChangeset
for help on using the changeset viewer.
