Skip to content
Browse files

Added cc_top and cc_bottom around single threaded MII

  • Loading branch information...
1 parent bd5cc28 commit 762b0974f148fb93097c12246778066775dbf5c0 @henkmuller committed Apr 16, 2012
Showing with 5 additions and 1 deletion.
  1. +2 −0 module_mii_singlethread/src/miiClientInterrupt.S
  2. +3 −1 module_mii_singlethread/src/miiLLD.S
View
2 module_mii_singlethread/src/miiClientInterrupt.S
@@ -1,3 +1,4 @@
+.cc_top miiInstallHandler.func, miiInstallHandler
// Copyright (c) 2011, XMOS Ltd, All rights reserved
// This software is freely distributable under a derivative of the
// University of Illinois/NCSA Open Source License posted in
@@ -122,3 +123,4 @@ returnFromInterrupt:
kret
+.cc_bottom miiInstallHandler.func
View
4 module_mii_singlethread/src/miiLLD.S
@@ -1,4 +1,5 @@
-#include <xs1.h>
+.cc_top miiLLD.func, miiLLD
+ #include <xs1.h>
// Two coroutines, IN and OUT. The IN coroutine is jumped to on an IN event.
// The OUT coroutine is jumped to from IN by jumping to R3.
// The IN event vectors on the RXD/RXDV ports, and change the vectors depending on the
@@ -343,3 +344,4 @@ tailValues:
.set tailValues.globound,4
.text
+.cc_bottom miiLLD.func

0 comments on commit 762b097

Please sign in to comment.
Something went wrong with that request. Please try again.