Changeset 97f1691 in mainline for generic/include/proc/scheduler.h


Ignore:
Timestamp:
2006-02-28T00:02:39Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7d6ec87
Parents:
d87c3f3
Message:

sparc64 work.
Fix KBD_VIRT_ADDRESS.
Call before_thread_runs() prior to the switch to the thread's stack. Add comment why this is crucial.
Add after_thread_ran() to the scheduler.
Add before_thread_runs_arch() and after_thread_ran_arch() for sparc64, mapping/demapping thread's kernel stack.
Add dummy after_thread_ran_arch() to all other architectures.
Add dtlb_insert_mapping() to promote code reuse.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/proc/scheduler.h

    rd87c3f3 r97f1691  
    5454
    5555extern void before_thread_runs(void);
     56extern void after_thread_ran(void);
    5657
    5758extern void sched_print_list(void);
     59
    5860/*
    5961 * To be defined by architectures:
    6062 */
    61  
    6263extern void before_thread_runs_arch(void);
     64extern void after_thread_ran_arch(void);
    6365
    6466#endif
Note: See TracChangeset for help on using the changeset viewer.