Changeset dcbc8be in mainline for src/main/main.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
  • src/main/main.c

    r7dcbc0a1 rdcbc8be  
    6464/*
    6565 * These 'hardcoded' variables will be intialised by
    66  * the linker with appropriate sizes and addresses.
     66 * the linker or the low level assembler code with
     67 * appropriate sizes and addresses.
    6768 */
    6869__address hardcoded_load_address = 0;
     
    115116
    116117        printf("%s\n%s\n", project, copyright);
    117 
    118118        printf("%P: hardcoded_ktext_size=%dK, hardcoded_kdata_size=%dK\n",
    119119                config.base, hardcoded_ktext_size/1024, hardcoded_kdata_size/1024);
Note: See TracChangeset for help on using the changeset viewer.