Changeset 95d45482 in mainline
- Timestamp:
- 2018-11-09T22:29:12Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- be6e37a
- Parents:
- 436a0a5
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-11-08 23:08:28)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-11-09 22:29:12)
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/Makefile.common
r436a0a5 r95d45482 58 58 ifeq ($(PRECHECK),y) 59 59 JOBFILE = $(TOOLS_PATH)/jobfile.py 60 # XXX: Donot change the order of arguments.60 # NOTE: You must not change the order of arguments. 61 61 CC_JOB = $(JOBFILE) $(JOB) $(CC) $< -o $@ 62 62 else -
kernel/Makefile
r436a0a5 r95d45482 65 65 ifeq ($(PRECHECK),y) 66 66 JOBFILE = $(ROOT_PATH)/tools/jobfile.py 67 # XXX: Donot change the order of arguments.67 # NOTE: You must not change the order of arguments. 68 68 CC_JOB = $(JOBFILE) $(JOB) $(CC) $< -o $@ 69 69 else -
kernel/arch/amd64/_link.ld.in
r436a0a5 r95d45482 33 33 *(COMMON); /* global variables */ 34 34 35 /* XXX:bss can't be omitted from the ELF image. */35 /* bss can't be omitted from the ELF image. */ 36 36 *(.bss); /* uninitialized static variables */ 37 37 -
kernel/arch/arm32/include/arch/context_struct.h
r436a0a5 r95d45482 32 32 #include <typedefs.h> 33 33 34 // XXX: This struct must match assembly code in src/context.S34 // NOTE: This struct must match assembly code in src/context.S 35 35 36 36 /* -
kernel/arch/arm32/include/arch/istate_struct.h
r436a0a5 r95d45482 32 32 #include <stdint.h> 33 33 34 // XXX: Must match assembly code in src/exc_handler.S34 // NOTE: Must match assembly code in src/exc_handler.S 35 35 36 36 typedef struct istate { -
kernel/arch/ia32/_link.ld.in
r436a0a5 r95d45482 32 32 *(COMMON); /* global variables */ 33 33 34 /* XXX:bss can't be omitted from the ELF image. */34 /* bss can't be omitted from the ELF image. */ 35 35 *(.bss); /* uninitialized static variables */ 36 36 -
kernel/arch/ppc32/src/exception.S
r436a0a5 r95d45482 126 126 .endm 127 127 128 // XXX: K_UNMAPPED_TEXT_START section starts at 0x100,128 // NOTE: K_UNMAPPED_TEXT_START section starts at 0x100, 129 129 // so all the following .org directives are relative to that. 130 130 #define ABSOLUTE(x) ((x) - 0x100) -
kernel/generic/include/lib/refcount.h
r436a0a5 r95d45482 64 64 static inline void refcount_up(atomic_refcount_t *rc) 65 65 { 66 // XXX: We can use relaxed operation because acquiring a reference67 // implies no ordering relationships. A reference-counted object68 // still needs to be synchronized independently of the refcount.66 // NOTE: We can use relaxed operation because acquiring a reference 67 // implies no ordering relationships. A reference-counted object 68 // still needs to be synchronized independently of the refcount. 69 69 70 70 int old = atomic_fetch_add_explicit(&rc->__cnt, 1, … … 96 96 static inline bool refcount_down(atomic_refcount_t *rc) 97 97 { 98 // XXX: The decrementers don't need to synchronize with each other,99 // but they do need to synchronize with the one doing deallocation.98 // NOTE: The decrementers don't need to synchronize with each other, 99 // but they do need to synchronize with the one doing deallocation. 100 100 int old = atomic_fetch_sub_explicit(&rc->__cnt, 1, 101 101 memory_order_release); … … 104 104 105 105 if (old == 0) { 106 // XXX: We are holding the last reference, so we must now107 // synchronize with all the other decrementers.106 // NOTE: We are holding the last reference, so we must now 107 // synchronize with all the other decrementers. 108 108 109 109 int val = atomic_load_explicit(&rc->__cnt, -
kernel/generic/src/cpu/cpu.c
r436a0a5 r95d45482 71 71 memsetb(cpus, sizeof(cpu_t) * config.cpu_count, 0); 72 72 73 // XXX: All kernel stacks must be aligned to STACK_SIZE,74 // see get_stack_base().73 // NOTE: All kernel stacks must be aligned to STACK_SIZE, 74 // see get_stack_base(). 75 75 size_t i; 76 76 for (i = 0; i < config.cpu_count; i++) { -
kernel/generic/src/main/main.c
r436a0a5 r95d45482 171 171 ALIGN_UP((uintptr_t) kdata_end - config.base, PAGE_SIZE); 172 172 173 // XXX: All kernel stacks must be aligned to STACK_SIZE,174 // see get_stack_base().173 // NOTE: All kernel stacks must be aligned to STACK_SIZE, 174 // see get_stack_base(). 175 175 176 176 /* Place the stack after the kernel, init and ballocs. */ -
kernel/generic/src/proc/thread.c
r436a0a5 r95d45482 190 190 kmflags &= ~FRAME_HIGHMEM; 191 191 192 // XXX: All kernel stacks must be aligned to STACK_SIZE,193 // see get_stack_base().192 // NOTE: All kernel stacks must be aligned to STACK_SIZE, 193 // see get_stack_base(). 194 194 195 195 uintptr_t stack_phys = -
kernel/generic/src/synch/spinlock.c
r436a0a5 r95d45482 161 161 bool spinlock_locked(spinlock_t *lock) 162 162 { 163 // XXX: Atomic flag doesn't support simple atomic read (by design),164 // so instead we test_and_set and then clear if necessary.165 // This function is only used inside assert, so we don't need166 // any preemption_disable/enable here.163 // NOTE: Atomic flag doesn't support simple atomic read (by design), 164 // so instead we test_and_set and then clear if necessary. 165 // This function is only used inside assert, so we don't need 166 // any preemption_disable/enable here. 167 167 168 168 bool ret = atomic_flag_test_and_set_explicit(&lock->flag, memory_order_relaxed); -
uspace/Makefile.common
r436a0a5 r95d45482 275 275 ifeq ($(PRECHECK),y) 276 276 JOBFILE = $(LIBC_PREFIX)/../../../tools/jobfile.py 277 # XXX: Donot change the order of arguments.277 # NOTE: You must not change the order of arguments. 278 278 CC_JOB = $(JOBFILE) $(JOB) $(CC) $< -o $@ 279 279 CXX_JOB = $(JOBFILE) $(JOB) $(CXX) $< -o $@
Note:
See TracChangeset
for help on using the changeset viewer.