Remove unused code

git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@66 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Jim Tabor 2000-08-07 22:51:34 +00:00
parent 3bfafe6dc5
commit 115a8dd09f
2 changed files with 9 additions and 27 deletions

View File

@ -39,6 +39,9 @@ static BYTE *RcsId = "$Id$";
/*
* $Log$
* Revision 1.8 2000/08/07 22:51:34 jimtabor
* Remove unused code
*
* Revision 1.7 2000/08/07 03:03:12 jimtabor
* Fix problem with devicehigh
*
@ -505,19 +508,9 @@ INIT VOID DoConfig(VOID)
UmbState = 1;
upBase = MK_FP(umb_start , 0);
uppermem_root = umb_start;
/* master sig for umb region with full size */
/*
umcb_init((mcb FAR *) upBase, UMB_top );
upBase += 16;
*/
/* reset root */
uppermem_root = FP_SEG(upBase) + ((FP_OFF(upBase) + 0x0f) >> 4);
/* setup the real mcb for the devicehigh block */
zumcb_init((mcb FAR *) (MK_FP(uppermem_root, 0)), UMB_top - 1);
upBase += 16;
}
@ -1083,22 +1076,6 @@ INIT VOID
mem_access_mode = FIRST_FIT;
}
/* master umb sig */
INIT VOID
umcb_init(mcb FAR * mcbp, UWORD size)
{
COUNT i;
static char name[8] = "UMB ";
mcbp->m_type = MCB_LAST;
mcbp->m_psp = (UWORD) FP_SEG( mcbp );
mcbp->m_psp++;
mcbp->m_size = size;
for (i = 0; i < 8; i++)
mcbp->m_name[i] = name[i];
}
INIT VOID
zumcb_init(mcb FAR * mcbp, UWORD size)
{

View File

@ -34,9 +34,15 @@ static BYTE *Proto_hRcsId = "$Id$";
/*
* $Log$
* Revision 1.7 2000/08/07 22:51:34 jimtabor
* Remove unused code
*
* Revision 1.6 2000/08/06 05:50:17 jimtabor
* Add new files and update cvs with patches and changes
*
* Revision 1.5 2000/06/21 18:16:46 jimtabor
* Add UMB code, patch, and code fixes
*
* Revision 1.4 2000/05/26 19:25:19 jimtabor
* Read History file for Change info
*
@ -189,7 +195,6 @@ INIT BYTE *GetNumber(REG BYTE * pszString, REG COUNT * pnNum);
INIT COUNT tolower(COUNT c);
INIT COUNT toupper(COUNT c);
INIT VOID mcb_init(mcb FAR * mcbp, UWORD size);
INIT VOID umcb_init(mcb FAR * mcbp, UWORD size);
INIT VOID strcat(REG BYTE * d, REG BYTE * s);
/* dosfns.c */