conf.c 915 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * This file is part of the UCB release of Plan 9. It is subject to the license
  3. * terms in the LICENSE file found in the top-level directory of this
  4. * distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No
  5. * part of the UCB release of Plan 9, including this file, may be copied,
  6. * modified, propagated, or distributed except according to the terms contained
  7. * in the LICENSE file.
  8. */
  9. /* 9net32.16k-specific configuration */
  10. #include "all.h"
  11. #ifndef DATE
  12. #define DATE 1170808167L
  13. #endif
  14. Timet fs_mktime = DATE; /* set by mkfile */
  15. Startsb startsb[] = {
  16. "main", 2,
  17. nil,
  18. };
  19. void
  20. localconfinit(void)
  21. {
  22. conf.nodump = 0;
  23. conf.dumpreread = 0;
  24. conf.firstsb = 0; /* time- & jukebox-dependent optimisation */
  25. conf.recovsb = 0;
  26. conf.nlgmsg = 1100; /* @8576 bytes, for packets */
  27. conf.nsmmsg = 500; /* @128 bytes */
  28. }
  29. int (*fsprotocol[])(Msgbuf*) = {
  30. serve9p1,
  31. serve9p2,
  32. nil,
  33. };