Changeset 8ce14e3 in mainline


Ignore:
Timestamp:
2009-01-04T13:55:40Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
38f6add
Parents:
2b70a6e
Message:

Do not leave last_frame uninitialized on ia64.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia64/src/mm/frame.c

    r2b70a6e r8ce14e3  
    5151#define MINCONF 1
    5252
    53 uintptr_t last_frame;
     53uintptr_t last_frame = 0;
    5454
    5555void frame_arch_init(void)
     
    7171                                            max(MINCONF, abase >> FRAME_WIDTH),
    7272                                            0);
    73                                 }       
     73                                }
     74                                if (abase + size > last_frame)
     75                                        last_frame = abase + size;
    7476                        }
    7577                }
Note: See TracChangeset for help on using the changeset viewer.