oslab-swrc / Azalea

Multikernel OS for manycore systems
http://manycoreos.synology.me/azalea/
Other
10 stars 7 forks source link

Resolved TCB reusing problem #114

Closed seungjunn closed 4 years ago

seungjunn commented 4 years ago

-Problem: tcb->stack is not initialized when destroying TCB. Exceptions occur when reusing unintilized TCB. -Declare the global variable to store the allocated tcb memory address. -When tcb_destroy, initialize tcb->stack value. -Additionally, tcb init is issued when CREATE, IDLE, and DESTROY, which is integrated into init_tcb(). (remove init_tcb_destroy())

seungjunn commented 4 years ago

Resolved #113