Changeset b2e5e25 in mainline


Ignore:
Timestamp:
2006-12-22T11:20:38Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b43eaba0
Parents:
b6e97d7
Message:

Improve comments.

Location:
kernel/arch/sparc64/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/start.S

    rb6e97d7 rb2e5e25  
    330330 * used only for a very limited period of time, but we switch to it anyway,
    331331 * just to be sure we are properly initialized.
    332  *
    333  * What is important is that this piece of memory is covered by the 4M DTLB
    334  * locked entry and therefore there will be no surprises like deadly
    335  * combinations of spill trap and and TLB miss on the stack address.
    336332 */
    337333
  • kernel/arch/sparc64/src/trap/trap_table.S

    rb6e97d7 rb2e5e25  
    630630 * handlers.
    631631 *
    632  * This function can be entered either with interrupt globals or alternate globals.
    633  * Memory management trap handlers are obliged to switch to one of those global sets
    634  * prior to calling this function. Register window management functions are not
    635  * allowed to modify the alternate global registers.
     632 * This function can be entered either with interrupt globals or alternate
     633 * globals. Memory management trap handlers are obliged to switch to one of
     634 * those global sets prior to calling this function. Register window management
     635 * functions are not allowed to modify the alternate global registers.
     636 *
     637 * The kernel is designed to work on trap levels 0 - 4. For instance, the
     638 * following can happen:
     639 * TL0: kernel thread runs (CANSAVE=0, kernel stack not in DTLB)
     640 * TL1: preemptible trap handler started after a tick interrupt
     641 * TL2: preemptible trap handler did SAVE
     642 * TL3: spill handler touched the kernel stack 
     643 * TL4: hardware or software failure
    636644 *
    637645 * Input registers:
Note: See TracChangeset for help on using the changeset viewer.