Ver Fonte

Align stack to 128 bytes

Jeremy Soller há 4 anos atrás
pai
commit
d6b03de7a4
1 ficheiros alterados com 1 adições e 3 exclusões
  1. 1 3
      src/platform/pte.rs

+ 1 - 3
src/platform/pte.rs

@@ -133,9 +133,7 @@ pub unsafe extern "C" fn pte_osThreadCreate(
             *stack = value;
         };
 
-        // Stack must be 128-bit aligned for SSE
-        push(0);
-
+        //WARNING: Stack must be 128-bit aligned for SSE
         if let Some(tcb) = Tcb::current() {
             push(tcb.mspace as usize);
             push(tcb.linker_ptr as usize);