Subversion Repositories HelenOS-historic

Rev

Rev 982 | Rev 1187 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 982 Rev 1004
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
-
 
29
#include <arch/mm/page.h>
29
#include <proc/scheduler.h>
30
#include <proc/scheduler.h>
-
 
31
#include <proc/thread.h>
-
 
32
#include <arch.h>
-
 
33
 
-
 
34
__address supervisor_sp;
-
 
35
__address supervisor_sp_physical;
30
 
36
 
31
void before_thread_runs_arch(void)
37
void before_thread_runs_arch(void)
32
{
38
{
-
 
39
    supervisor_sp = (__address) &THREAD->kstack[THREAD_STACK_SIZE - SP_DELTA];
-
 
40
    supervisor_sp_physical = KA2PA(supervisor_sp_physical);
33
}
41
}
34
 
42
 
35
void after_thread_ran_arch(void)
43
void after_thread_ran_arch(void)
36
{
44
{
37
}
45
}