Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CC_OS -> HELIOS Naming changes #223

Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
c71fcfd
<CC_OS> Bug Fixed
pranjalchanda08 Dec 30, 2022
f019b8b
<CC_OS> Demo initial commit
pranjalchanda08 Jan 1, 2023
98dacfe
<CC_OS> Add Test Project files
pranjalchanda08 Jan 4, 2023
78d11db
<CC_OS> Test Application created
pranjalchanda08 Jan 4, 2023
aded497
Self Review comments update
pranjalchanda08 Jan 4, 2023
11a7154
<CC_OS> Review Comments
pranjalchanda08 Jan 5, 2023
98c8a1b
<CC_OS> Task defination re-structuring
pranjalchanda08 Jan 5, 2023
8f9e401
<CC_OS> Compilation fixed
pranjalchanda08 Jan 5, 2023
6192e16
<CC_OS> Semaphore bug fix
pranjalchanda08 Jan 6, 2023
bdb8cd7
Review Commit
pranjalchanda08 Jan 10, 2023
8fe9e07
Comment changes
pranjalchanda08 Jan 12, 2023
e67cec7
<CC_OS> Callback sys, Power save user callback
pranjalchanda08 Jan 14, 2023
4249fce
<CC_OS> - cc_os_config.h done by cc_os_config.mk (#208)
pranjalchanda08 Jan 15, 2023
d480238
<CC_OS> Anti-deadlock task functions add.
pranjalchanda08 Jan 26, 2023
e888812
<CC_OS> Anti-deadlock scheduler function and Pre-sched callback added…
pranjalchanda08 Jan 27, 2023
8d5d6a5
<CC_OS> Add task ID
pranjalchanda08 Jan 29, 2023
128caba
<CC_OS> Comment Addressed
pranjalchanda08 Jan 29, 2023
ccf4c86
<CC_OS> Comment addressed
pranjalchanda08 Jan 30, 2023
e87e068
<FE310> Fixed memory alignment for RODATA
akashkollipara Jan 23, 2023
21248e5
<AVR8> Updated ctx mgnt frame to reduce stk use
akashkollipara Jan 25, 2023
8bf74da
<CC_OS> Task Create tested
pranjalchanda08 Jan 31, 2023
9f9b6dd
Merge branch 'cc_os_stage' into test/pranjalchanda08/181-cc_os-testin…
pranjalchanda08 Jan 31, 2023
8b27745
<HELIOS> CC_OS -> HELIOS
pranjalchanda08 Jan 31, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
<AVR8> Updated ctx mgnt frame to reduce stk use
Related to Issue: #180
akashkollipara authored and pranjalchanda08 committed Jan 31, 2023
commit 21248e5179b54f0637b44dcf37d56194dd799bf9
16 changes: 6 additions & 10 deletions src/arch/avr/8/common_5x_6/terravisor/arch.c
Original file line number Diff line number Diff line change
@@ -81,16 +81,12 @@ void _NORETURN arch_panic_handler_callback()
if(!frame)
goto panic;
syslog_stdout_enable();
sysdbg("r0=%p\tr1=%p\tr2=%p\tr3=%p\tr4=%p\tr5=%p\n",
frame->r0, frame->r1, frame->r2, frame->r3, frame->r4, frame->r5);
sysdbg("r6=%p\tr7=%p\tr8=%p\tr9=%p\tr10=%p\tr11=%p\n",
frame->r6, frame->r7, frame->r8, frame->r9, frame->r10, frame->r11);
sysdbg("r12=%p\tr13=%p\tr14=%p\tr15=%p\tr16=%p\tr17=%p\n",
frame->r12, frame->r13, frame->r14, frame->r15, frame->r16, frame->r17);
sysdbg("r18=%p\tr19=%p\tr20=%p\tr21=%p\tr22=%p\tr23=%p\n",
frame->r18, frame->r19, frame->r20, frame->r21, frame->r22, frame->r23);
sysdbg("r24=%p\tr25=%p\tr26=%p\tr27=%p\tr28=%p\tr29=%p\n",
frame->r24, frame->r25, frame->r26, frame->r27, frame->r28, frame->r29);
sysdbg("r0=%p\tr1=%p\tr18=%p\tr19=%p\n",
frame->r0, frame->r1, frame->r18, frame->r19);
sysdbg("r20=%p\tr21=%p\tr22=%p\tr23=%p\n",
frame->r20, frame->r21, frame->r22, frame->r23);
sysdbg("r24=%p\tr25=%p\tr26=%p\tr27=%p\n",
frame->r24, frame->r25, frame->r26, frame->r27);
sysdbg("r30=%p\tr31=%p\tSP=%p\tSREG=%p\n",
frame->r30, frame->r31, frame, frame->sreg);
#if DEBUG==0
41 changes: 2 additions & 39 deletions src/arch/avr/8/common_5x_6/terravisor/asm.S
Original file line number Diff line number Diff line change
@@ -47,22 +47,6 @@ function arch_panic_handler
push r0
in r0, SREG
push r0
push r2
push r3
push r4
push r5
push r6
push r7
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
push r16
push r17
push r18
push r19
push r20
@@ -72,8 +56,6 @@ function arch_panic_handler
push r25
push r26
push r27
push r28
push r29
push r30
push r31
.endm
@@ -84,8 +66,6 @@ function arch_panic_handler
.macro CONTEXT_RESTORE
pop r31
pop r30
pop r29
pop r28
pop r27
pop r26
pop r25
@@ -95,22 +75,6 @@ function arch_panic_handler
pop r20
pop r19
pop r18
pop r17
pop r16
pop r15
pop r14
pop r13
pop r12
pop r11
pop r10
pop r9
pop r8
pop r7
pop r6
pop r5
pop r4
pop r3
pop r2
pop r0
out SREG, r0
pop r0
@@ -142,11 +106,10 @@ function int_\id
*/
function isr
CONTEXT_SAVE
push r24
in r22, IO_SPL
in r23, IO_SPH
ldi r16, 1
add r22, r16
adc r23, r1
pop r24
call interrupt_handler
CONTEXT_RESTORE
pop r24
7 changes: 3 additions & 4 deletions src/arch/avr/8/common_5x_6/terravisor/include/avr.h
Original file line number Diff line number Diff line change
@@ -18,10 +18,9 @@

typedef struct context_frame
{
uint8_t r31, r30, r29, r28, r27, r26, r25, r23,
r22, r21, r20, r19, r18, r17, r16, r15,
r14, r13, r12, r11, r10, r9, r8, r7,
r6, r5, r4, r3, r2, sreg, r0, r1, r24;
uint8_t r31, r30, r27, r26, r25, r23,
r22, r21, r20, r19, r18,
sreg, r0, r1, r24;
} context_frame_t;

typedef uint16_t call_arg_t;