Changeset 7bb1284 in buchla-68k
- Timestamp:
 - 07/14/2017 09:37:38 PM (8 years ago)
 - Branches:
 - master
 - Children:
 - 6a37d5b
 - Parents:
 - aa021e2
 - Files:
 - 
      
- 3 edited
 
- 
          
  include/wordq.h (modified) (1 diff)
 - 
          
  ram/setwq.c (modified) (1 diff)
 - 
          
  ram/setwq.x (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
include/wordq.h
raa021e2 r7bb1284 12 12 struct wordq { 13 13 14 uint16_tqsize; /* maximum queue length */15 uint16_tqlen; /* current queue length */16 uint16_tqin; /* in pointer */17 uint16_t qout; /* out pointer */18 uint16_tqhi; /* high water mark */19 uint16_tqlo; /* low water mark */14 int16_t qsize; /* maximum queue length */ 15 int16_t qlen; /* current queue length */ 16 int16_t qin; /* in pointer */ 17 int16_t qout; /* out pointer */ 18 int16_t qhi; /* high water mark */ 19 int16_t qlo; /* low water mark */ 20 20 uint16_t *qbuf; /* base of queue */ 21 21 };  - 
      
ram/setwq.c
raa021e2 r7bb1284 28 28 */ 29 29 30 uint16_t setwq(struct wordq *qp, uint16_t *qadr, uint16_t qsiz, uint16_t hi, uint16_t lo)30 int16_t setwq(struct wordq *qp, uint16_t *qadr, int16_t qsiz, int16_t hi, int16_t lo) 31 31 { 32 32 if ((uint16_t *)0L EQ qadr)  - 
      
ram/setwq.x
raa021e2 r7bb1284 18 18 extern int16_t getwq(struct wordq *qp, uint16_t *p); 19 19 extern int16_t putwq(struct wordq *qp, uint16_t c); 20 extern uint16_t setwq(struct wordq *qp, uint16_t *qadr, uint16_t qsiz, uint16_t hi, uint16_t lo);20 extern int16_t setwq(struct wordq *qp, uint16_t *qadr, int16_t qsiz, int16_t hi, int16_t lo);  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](http://bob.lopatic.de/chrome/site/logo.png)