Skip to content

Commit

Permalink
Merge branch 'master' into gcc
Browse files Browse the repository at this point in the history
Conflicts:
	kernel/init-mod.h
  • Loading branch information
stsp committed Dec 24, 2017
2 parents 35b176c + fdac78c commit 141e637
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
11 changes: 6 additions & 5 deletions kernel/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ STATIC BYTE szBuf[256] BSS_INIT({0});
struct CfgFile {
COUNT nFileDesc;
COUNT nCfgLine;
} cfgFile[MAX_CHAINS];
COUNT nCurChain = 0;
COUNT nFileDesc;
} cfgFile[MAX_CHAINS] BSS_INIT({0});
COUNT nCurChain BSS_INIT(0);
COUNT nFileDesc BSS_INIT(0);

BYTE singleStep BSS_INIT(FALSE); /* F8 processing */
BYTE SkipAllConfig BSS_INIT(FALSE); /* F5 processing */
Expand Down Expand Up @@ -419,8 +419,9 @@ void PreConfig2(void)
if (ebda_size) /* move the Extended BIOS Data Area from top of RAM here */
movebda(ebda_size, FP_SEG(KernelAlloc(ebda_size, 'I', 0)));

// if (UmbState == 2)
// umb_init();
/* if (UmbState == 2)
umb_init();
*/
}

/* Do third pass initialization. */
Expand Down
1 change: 0 additions & 1 deletion kernel/init-mod.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ struct _nlsCountryInfoHardcoded {
short TableSize;

struct CountrySpecificInfo C;

};

/*
Expand Down
4 changes: 2 additions & 2 deletions mkfiles/mscl8.mak
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ LIB=$(COMPILERPATH)\lib
# used for building the library

CLIB=$(COMPILERPATH)\lib\slibce.lib
MATH_EXTRACT=*aflmul *aFlshl *aFNauldi *aFulrem *aFulshr *aFuldiv *aFlrem *aFldiv
MATH_INSERT= +aflmul +aFlshl +aFNauldi +aFulrem +aFulshr +aFuldiv +aFlrem +aFldiv
MATH_EXTRACT=*aflmul *aFlshl *aFNaulsh *aFNauldi *aFulrem *aFulshr *aFuldiv *aFlrem *aFldiv
MATH_INSERT= +aflmul +aFlshl +aFNaulsh +aFNauldi +aFulrem +aFulshr +aFuldiv +aFlrem +aFldiv

TARGETOPT=
!if $(XCPU) == 186
Expand Down
3 changes: 3 additions & 0 deletions sys/fdkrncfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ unsigned long lseek(int fildes, unsigned long offset, int whence);

#else
#include <io.h>
#ifndef SEEK_SET
#define SEEK_SET 0
#endif
/* #include <stdio.h> */
#endif

Expand Down

0 comments on commit 141e637

Please sign in to comment.