Changeset bc314be8 in mainline for arch/ia64/include/mm/frame.h


Ignore:
Timestamp:
2006-03-05T16:21:36Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
83d2d0e
Parents:
9e5938dc
Message:

ia64 work.

Change heavyweight interrupt handler to use bank 0 registers instead of AR.KR0 and AR.KR1.
This prevents userspace from the possibility to see what addresses are being used by kernel.

Store kernel stack address in bank 0 r23 instead of AR.KR7. Again, userspace will not be
able to read the address of its kernel stack.

Increase FRAME_SIZE to 64K as this is the first supported page size in which will fit
thread's combined register and memory stack. (RSE can write out as many as 16K.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/include/mm/frame.h

    r9e5938dc rbc314be8  
    3030#define __ia64_FRAME_H__
    3131
    32 #define FRAME_WIDTH   14        /* 16K */
     32/*
     33 * Frame is defined to be 64K long.
     34 * Such a relatively big frame size is used because of kernel stack requirements
     35 * and organization. Portion of the stack reserved for RSE must be at least 16K
     36 * long. If the memory stack is to have some space allocated, the next available
     37 * frame size (i.e. 64K) needs to be used.
     38 */
     39#define FRAME_WIDTH   16        /* 64K */
    3340#define FRAME_SIZE              (1<<FRAME_WIDTH)
    3441
Note: See TracChangeset for help on using the changeset viewer.