Changeset 5277 for trunk/src


Ignore:
Timestamp:
Feb 28, 2001, 9:23:34 PM (24 years ago)
Author:
sandervl
Message:

added highmem usage override key

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/initterm.cpp

    r5135 r5277  
    3434#include <wprocess.h>
    3535#include "handlemanager.h"
    36 //#include "profile.h"
     36#include "profile.h"
    3737#include <options.h>
    3838#include "initterm.h"
     
    159159                ulMaxAddr = ulSysinfo * (1024*1024);
    160160                OSLibInitWSeBFileIO();
     161                if(PROFILE_GetOdinIniInt(ODINSYSTEM_SECTION, HIGHMEM_KEY, 1) == 0) {
     162                    dprintf(("WARNING: OS/2 kernel supports high memory, but support is DISABLED because of HIGHMEM odin.ini key"));
     163                    flAllocMem = 0;
     164                }
    161165            }
    162166            else
Note: See TracChangeset for help on using the changeset viewer.