dat.h 502 B

123456789101112131415161718192021222324252627282930313233
  1. #define RBUFSIZE (16*1024) /* raw buffer size */
  2. /*
  3. * verify that the kernel prints this size
  4. * when you first boot this kernel.
  5. * #define DSIZE 157933
  6. */
  7. #include "../port/portdat.h"
  8. extern Mach mach0;
  9. typedef struct Segdesc Segdesc;
  10. struct Segdesc
  11. {
  12. ulong d0;
  13. ulong d1;
  14. };
  15. typedef struct Mbank {
  16. ulong base;
  17. ulong limit;
  18. } Mbank;
  19. #define MAXBANK 8
  20. typedef struct Mconf {
  21. Lock;
  22. Mbank bank[MAXBANK];
  23. int nbank;
  24. ulong topofmem;
  25. } Mconf;
  26. extern Mconf mconf;
  27. extern char nvrfile[128];