fns.h 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. void acommand(int);
  10. void attachprocess(void);
  11. void bkput(BKPT*, int);
  12. void bpwait(void);
  13. int charpos(void);
  14. void chkerr(void);
  15. void clrinp(void);
  16. void cmdmap(Map*);
  17. void cmdsrc(int, Map*);
  18. void cmdwrite(int, Map*);
  19. int command(char*, int);
  20. int convdig(int);
  21. void ctrace(int);
  22. WORD defval(WORD);
  23. void delbp(void);
  24. void done(void);
  25. int dprint(char*, ...);
  26. Map* dumbmap(int);
  27. void endline(void);
  28. void endpcs(void);
  29. int eol(int);
  30. void error(char*);
  31. void errors(char*, char*);
  32. void execbkpt(BKPT*, int);
  33. char* exform(int, int, char*, Map*, int, int);
  34. int expr(int);
  35. void flush(void);
  36. void flushbuf(void);
  37. char* getfname(void);
  38. void getformat(char*);
  39. int getnum(int (*)(void));
  40. void grab(void);
  41. void iclose(int, int);
  42. ADDR inkdot(int);
  43. int isfileref(void);
  44. int item(int);
  45. void killpcs(void);
  46. void kmsys(void);
  47. void main(int, char**);
  48. int mapimage(void);
  49. void newline(void);
  50. int nextchar(void);
  51. void notes(void);
  52. void oclose(void);
  53. void outputinit(void);
  54. void printc(int);
  55. void printesc(int);
  56. void printlocals(Symbol *, ADDR);
  57. void printmap(char*, Map*);
  58. void printparams(Symbol *, ADDR);
  59. void printpc(void);
  60. void printregs(int);
  61. void prints(char*);
  62. void printsource(ADDR);
  63. void printsym(void);
  64. void printsyscall(void);
  65. void printtrace(int);
  66. int quotchar(void);
  67. int rdc(void);
  68. int readchar(void);
  69. void readsym(char*);
  70. void redirin(int, char*);
  71. void redirout(char*);
  72. void readfname(char *);
  73. void reread(void);
  74. char* regname(int);
  75. uvlong rget(Map*, char*);
  76. Reglist* rname(char*);
  77. void rput(Map*, char*, vlong);
  78. int runpcs(int, int);
  79. void runrun(int);
  80. void runstep(uvlong, int);
  81. BKPT* scanbkpt(ADDR adr);
  82. void scanform(long, int, char*, Map*, int);
  83. void setbp(void);
  84. void setcor(void);
  85. void setsym(void);
  86. void setup(void);
  87. void setvec(void);
  88. void shell(void);
  89. void startpcs(void);
  90. void subpcs(int);
  91. int symchar(int);
  92. int term(int);
  93. void ungrab(void);
  94. int valpr(long, int);
  95. #pragma varargck argpos dprint 1
  96. #pragma varargck type "t" void