Ignore:
Timestamp:
Jan 27, 2021, 9:35:47 AM (5 years ago)
Author:
Paul Smedley
Message:

Remove remaining support for non-KEE builds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-next/drv32/init.c

    r655 r667  
    3939#include <irqos2.h>
    4040#include <osspci.h>
    41 //#include <bsedos16.h>
    42 #ifdef KEE
    4341#include <kee.h>
    44 #endif
    4542#include "parse.h"
    4643#include "malloc.h"
     
    103100int LockSegments(void)
    104101{
    105 #ifdef KEE
    106102    KEEVMLock lock;
    107 #else
    108     char   lock[12];
    109     ULONG  PgCount;
    110 #endif
    111103    ULONG  segsize;
    112104
     
    122114    }
    123115    segsize &= ~0xFFF;
    124 #ifdef KEE
     116
    125117    if(KernVMLock(VMDHL_LONG,
    126118                  (PVOID)((OffsetBeginDS32) & ~0xFFF),
     
    129121                  (KEEVMPageList*)-1,
    130122                  0)) {
    131 #else
    132     if(DevVMLock(VMDHL_LONG,
    133                    ((OffsetBeginDS32) & ~0xFFF),
    134                    segsize,
    135                    (LINEAR)-1,
    136                    (LINEAR)lock,
    137                    (LINEAR)&PgCount)) {
    138 #endif
    139123      return(1);
    140124    }
     
    147131    }
    148132    segsize &= ~0xFFF;
    149 #ifdef KEE
     133
    150134    if(KernVMLock(VMDHL_LONG,
    151135                  (PVOID)((OffsetBeginCS32) & ~0xFFF),
     
    154138                  (KEEVMPageList*)-1,
    155139                  0)) {
    156 #else
    157     if(DevVMLock(VMDHL_LONG,
    158                  ((OffsetBeginCS32) & ~0xFFF),
    159                  segsize,
    160                  (LINEAR)-1,
    161                  (LINEAR)lock,
    162                  (LINEAR)&PgCount)) {
    163 #endif
    164140      return(1);
    165141    }
     
    202178  char debugmsg[64];
    203179  char FAR48 *args;
    204 
    205 #ifndef KEE
    206   GetTKSSBase();
    207 #endif
    208180
    209181  DebugLevel = 1;
Note: See TracChangeset for help on using the changeset viewer.