mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-26 03:51:32 +00:00
Remove support for the Sun386i. (#329)
This was a machine running SunOS 4, which we no longer support. It had an odd display controller and a compiler with issues that required workarounds. Those compiler issues aren't an issue in today's world, so we don't need to keep the workarounds present for reference. It had a bit of inline assembly, but that is still present in other files for other platforms.
This commit is contained in:
@@ -614,8 +614,6 @@ typedef struct
|
||||
/* */
|
||||
/************************************************************************/
|
||||
|
||||
#ifndef I386
|
||||
|
||||
/* Get DTD pointer(68k) from typenum */
|
||||
#ifdef BIGVM
|
||||
#define GetDTD(typnum) (DTDspace + ((typnum)<<4)+((typnum)<<1))
|
||||
@@ -626,20 +624,6 @@ typedef struct
|
||||
/* Get all type entry */
|
||||
#define GetTypeEntry(address) ( GETWORD(MDStypetbl+((address)>>9)) )
|
||||
|
||||
#else
|
||||
/* Because the 386i's code generator does better with them */
|
||||
/* in this order (does an add, rather than mov-add) */
|
||||
/* JDS 22-mar-90 */
|
||||
|
||||
/* Get DTD pointer(68k) from typenum */
|
||||
#define GetDTD(typnum) (((typnum)<<4) + DTDspace)
|
||||
|
||||
/* Get all type entry */
|
||||
#define GetTypeEntry(address) ( GETWORD(((address)>>9) + MDStypetbl) )
|
||||
|
||||
#endif /* I386 */
|
||||
|
||||
|
||||
/* the type number is in the low 11 bits */
|
||||
#define GetTypeNumber(address) (GetTypeEntry(address) & 0x7ff)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user