History

NetBSD: start arm support. WIP

Christian Jullien committed 5 years ago

Commit 3873f951 parent 07549121 file · +3 −0Browse files

Unified · Split

tccrun.c+3−0
@@ -661,6 +661,9 @@ static void rt_getcontext(ucontext_t *uc, rt_context *rc) · 660 unmodified lines
661 rc->ip = uc->uc_mcontext.gregs[REG_RIP];661 rc->ip = uc->uc_mcontext.gregs[REG_RIP];
662 rc->fp = uc->uc_mcontext.gregs[REG_RBP];662 rc->fp = uc->uc_mcontext.gregs[REG_RBP];
663# endif663# endif
664#elif defined(__arm__) && defined(__NetBSD__)
665 rc->ip = uc->uc_mcontext.__gregs[_REG_PC];
666 rc->fp = uc->uc_mcontext.__gregs[_REG_FP];
664#elif defined(__arm__)667#elif defined(__arm__)
665 rc->ip = uc->uc_mcontext.arm_pc;668 rc->ip = uc->uc_mcontext.arm_pc;
666 rc->fp = uc->uc_mcontext.arm_fp;669 rc->fp = uc->uc_mcontext.arm_fp;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t