typedef struct TouchPnt TouchPnt; typedef struct TouchTrans TouchTrans; typedef struct TouchCal TouchCal; typedef struct Vmode Vmode; typedef struct Conf Conf; typedef struct ISAConf ISAConf; enum { ISAOPTLEN= 16, NISAOPT= 8, }; struct Conf { ulong pagetable; // ulong flashbase; ulong cpuspeed; }; struct ISAConf { char type[28]; ulong port; ulong dma; ulong mem; ulong size; ulong freq; int nopt; char opt[NISAOPT][ISAOPTLEN]; }; #include "../port/portdat.h"