- Timestamp:
- 2015-04-23T23:47:40Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a18a8b9
- Parents:
- acb8766e (diff), dcba819 (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:
-
- 9 edited
-
Makefile (modified) (1 diff)
-
arch/amd64/Makefile.inc (modified) (1 diff)
-
arch/mips32/include/arch/drivers/msim.h (modified) (1 diff)
-
arch/mips32/src/mach/msim/msim.c (modified) (1 diff)
-
generic/include/typedefs.h (modified) (1 diff)
-
generic/src/mm/frame.c (modified) (1 diff)
-
test/smpcall/smpcall1.c (modified) (1 diff)
-
test/synch/rcu1.c (modified) (1 diff)
-
test/synch/workqueue2.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/Makefile
racb8766e r055a68a 105 105 CLANG_CFLAGS = $(INCLUDES_FLAGS) -O$(OPTIMIZATION) -imacros $(CONFIG_HEADER) \ 106 106 -ffreestanding -fno-builtin -nostdlib -nostdinc \ 107 - Wall -Werror -Wextra -Wno-unused-parameter -Wmissing-prototypes \107 -std=gnu99 -Wall -Werror -Wextra -Wno-unused-parameter -Wmissing-prototypes \ 108 108 -Werror-implicit-function-declaration -Wwrite-strings \ 109 -integrated-as \ 110 -pipe -target $(CLANG_TARGET) 109 -integrated-as -pipe -target $(CLANG_TARGET) 111 110 112 111 ifeq ($(CONFIG_DEBUG),y) -
kernel/arch/amd64/Makefile.inc
racb8766e r055a68a 91 91 arch/$(KARCH)/include/arch/istate_struct.ag \ 92 92 arch/$(KARCH)/include/arch/context_struct.ag 93 -
kernel/arch/mips32/include/arch/drivers/msim.h
racb8766e r055a68a 39 39 #define MSIM_VIDEORAM 0x90000000 40 40 #define MSIM_KBD_ADDRESS 0x90000000 41 41 42 #define MSIM_KBD_IRQ 2 43 #define MSIM_DDISK_IRQ 6 42 44 43 45 #endif -
kernel/arch/mips32/src/mach/msim/msim.c
racb8766e r055a68a 62 62 void msim_init(void) 63 63 { 64 cp0_unmask_int(MSIM_DDISK_IRQ); 64 65 } 65 66 -
kernel/generic/include/typedefs.h
racb8766e r055a68a 47 47 48 48 typedef struct { 49 uint64_t lo;50 int64_t hi;51 } __attribute__ ((aligned(16))) int128_t;52 53 typedef struct {54 uint64_t lo;55 uint64_t hi;56 } __attribute__ ((aligned(16))) uint128_t;57 58 typedef struct {59 49 volatile atomic_count_t count; 60 50 } atomic_t; -
kernel/generic/src/mm/frame.c
racb8766e r055a68a 73 73 static size_t mem_avail_req = 0; /**< Number of frames requested. */ 74 74 static size_t mem_avail_gen = 0; /**< Generation counter. */ 75 76 /********************/77 /* Helper functions */78 /********************/79 80 NO_TRACE static inline size_t frame_index(zone_t *zone, frame_t *frame)81 {82 return (size_t) (frame - zone->frames);83 }84 85 NO_TRACE static inline size_t frame_index_abs(zone_t *zone, frame_t *frame)86 {87 return (size_t) (frame - zone->frames) + zone->base;88 }89 90 NO_TRACE static inline bool frame_index_valid(zone_t *zone, size_t index)91 {92 return (index < zone->count);93 }94 75 95 76 /** Initialize frame structure. -
kernel/test/smpcall/smpcall1.c
racb8766e r055a68a 1 1 /* 2 * Copyright (c) 2012 Adam Hraska 2 * Copyright (c) 2012 Adam Hraska 3 3 * All rights reserved. 4 4 * -
kernel/test/synch/rcu1.c
racb8766e r055a68a 698 698 return true; 699 699 } else { 700 TPRINTF( err);700 TPRINTF("%s", err); 701 701 /* Leak a bit of mem. */ 702 702 return false; -
kernel/test/synch/workqueue2.c
racb8766e r055a68a 129 129 res = test_custom_workq(); 130 130 if (res) { 131 TPRINTF( res);131 TPRINTF("%s", res); 132 132 err = res; 133 133 } … … 135 135 res = test_custom_workq_stop(); 136 136 if (res) { 137 TPRINTF( res);137 TPRINTF("%s", res); 138 138 err = res; 139 139 } … … 141 141 res = test_workqueue3(); 142 142 if (res) { 143 TPRINTF( res);143 TPRINTF("%s", res); 144 144 err = res; 145 145 }
Note:
See TracChangeset
for help on using the changeset viewer.
