Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 40 → Rev 39

/shark/trunk/oslib/xlib/xconv.c
24,7 → 24,7
#include <ll/i386/hw-func.h>
#include <ll/i386/mem.h>
 
FILE(X-Conv);
FILE(X - Conv);
 
/* Conversion between PM address space & phisical address space */
/* If we do not support paging we need to relocate the .ELF executable */
54,9 → 54,9
}
*/
 
LIN_ADDR addr2linear(unsigned short seg,unsigned long offset)
LIN_ADDR addr2linear(unsigned short seg, unsigned long offset)
{
LIN_ADDR flatbase;
flatbase = (LIN_ADDR)GDT_read(seg,NULL,NULL,NULL);
return(flatbase + offset);
flatbase = (LIN_ADDR) GDT_read(seg, NULL, NULL, NULL);
return (flatbase + offset);
}