<p>Jonathan Neuschäfer has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/22595">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">arch/riscv: Remove supervisor_trap_entry<br><br>Coreboot only maintains a single trap entry, because it only runs in<br>machine mode.<br><br>Change-Id: I7324d9c8897d5c4e9d4784e7bc2a055890eab698<br>Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net><br>---<br>M src/arch/riscv/trap_util.S<br>1 file changed, 1 insertion(+), 9 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/95/22595/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/arch/riscv/trap_util.S b/src/arch/riscv/trap_util.S<br>index 3036f06..72a9ae1 100644<br>--- a/src/arch/riscv/trap_util.S<br>+++ b/src/arch/riscv/trap_util.S<br>@@ -107,15 +107,7 @@<br> <br> .globl estack<br>   .text<br>-  .global  supervisor_trap_entry<br>-supervisor_trap_entry:<br>-    csrw mscratch, sp<br>-    # load in the top of the machine stack<br>-    la   sp, _estack<br>-    addi sp,sp,-MENTRY_FRAME_SIZE<br>-    save_tf<br>-    move  a0,sp<br>-    jal trap_handler<br>+<br>     .global  trap_entry<br> trap_entry:<br>   csrw mscratch, sp<br></pre><p>To view, visit <a href="https://review.coreboot.org/22595">change 22595</a>. To unsubscribe, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/22595"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I7324d9c8897d5c4e9d4784e7bc2a055890eab698 </div>
<div style="display:none"> Gerrit-Change-Number: 22595 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Jonathan Neuschäfer <j.neuschaefer@gmx.net> </div>