??? 08/23/04 15:31 Read: times |
#76287 - RE: Context Switching Responding to: ???'s previous message |
Okay, maybe if I answer the question in a simple and precise way, he will leave us alone...? :)
The context is up to the designer, depending on how much resources you make available to the tasks. Minimal context would be ACC, PSW, SP and usually (but not necessarily) one bank of Rx and B. Add to that OS-specific record of currently allocated shared resources and you have the minimal context. Maximum context will be almost all of scratchpad RAM including SFR area, (excluding resources controlled exclusively through kernel calls, (these belong to context as record of allocated shared resources like above) and resources reserved by the kernel i.e. one clock to time the kernel interrupts and related interrupt settings), all XRAM allocated areas, memory-mapped external devices allocations, and possibly many more depending on application and imagination of the designer. |
Topic | Author | Date |
Context Switching | 01/01/70 00:00 | |
RE: Context Switching | 01/01/70 00:00 | |
RE: Context Switching | 01/01/70 00:00 | |
RE: Context Switching | 01/01/70 00:00 | |
RE: Context Switching | 01/01/70 00:00 | |
RE: Context Switching | 01/01/70 00:00 | |
RE: Context Switching | 01/01/70 00:00 | |
RE: Context Switching | 01/01/70 00:00 | |
Why did you leave the original thread?? | 01/01/70 00:00 | |
RE: Why did you leave the original threa![]() | 01/01/70 00:00 | |
RE: Context Switching | 01/01/70 00:00 | |
RE: Context Switching | 01/01/70 00:00 | |
RE: Context Switching | 01/01/70 00:00 |