Changeset 91d5ad6 in mainline for arch/ppc32/src/proc


Ignore:
Timestamp:
2006-03-15T00:55:05Z (20 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
286e03d
Parents:
d1e414c
Message:

ppc32: basic exception and interrupt handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ppc32/src/proc/scheduler.c

    rd1e414c r91d5ad6  
    2727 */
    2828
     29#include <arch/mm/page.h>
    2930#include <proc/scheduler.h>
     31#include <proc/thread.h>
     32#include <arch.h>
     33
     34__address supervisor_sp;
     35__address supervisor_sp_physical;
    3036
    3137void before_thread_runs_arch(void)
    3238{
     39        supervisor_sp = (__address) &THREAD->kstack[THREAD_STACK_SIZE - SP_DELTA];
     40        supervisor_sp_physical = KA2PA(supervisor_sp_physical);
    3341}
    3442
Note: See TracChangeset for help on using the changeset viewer.