Changeset dcbc8be in mainline for arch/ia32/src/mm/frame.c


Ignore:
Timestamp:
2005-06-02T23:56:26Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ac5d02b
Parents:
7dcbc0a1
Message:

Big changes in IA-32 address space map.
Now the kernel is mapped above 0x80000000. Finally!
Userspace address space starts at 0x00000000.
Changes in many places.
This improvement temporarily breaks SMP and most likely also other stuff.
Supported size of memory is now only 4M as it is the biggest size that can be mapped at once on IA-32.

Changes in linker script.
Changes required because of the above.
Do not patch hardcoded_* variables but assign to them instead.

Cosmetic changes here and there.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/src/mm/frame.c

    r7dcbc0a1 rdcbc8be  
    3838{
    3939        if (config.cpu_active == 1) {
    40                 __u32 kernel_frames_max;
    41                
    42                 kernel_frames_max = ((KERNEL_ADDRESS_SPACE_END+1)/FRAME_SIZE);
    43                
    44                 kernel_frames_free = kernel_frames = frames < kernel_frames_max ? frames : kernel_frames_max;
     40                kernel_frames = frames;
     41                kernel_frames_free = frames_free;
    4542                frame_kernel_bitmap = frame_bitmap;
    4643
Note: See TracChangeset for help on using the changeset viewer.