Changeset 47 for trunk/Makefile.x86


Ignore:
Timestamp:
Jun 26, 2017, 11:48:28 AM (5 years ago)
Author:
max@…
Message:

Use mcmodel=large, in order to have a kernel image that is located at the
beginning of each cluster in virtual memory, as discussed with Alain. The
performance cost will be taken care of later.

Now, the active kernel is located at 0xfffff00000000000, and the base of
the clusters is 0xffff800000000000.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.x86

    r45 r47  
    77# Compilation flags.
    88CFLAGS = -Wall -ffreestanding -mno-red-zone -mno-mmx -mno-sse -mno-avx -g \
    9                  -fno-delete-null-pointer-checks -mcmodel=kernel
     9                 -fno-delete-null-pointer-checks -mcmodel=large
    1010
    1111# Export all variables to applications sub-Makefile.
Note: See TracChangeset for help on using the changeset viewer.