serialqueue: Support sending messages at a background priority

Support low-priority message transmits.  This may be useful for bulk
commands that should be delayed util the comms are otherwise idle.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2018-02-11 18:49:27 -05:00
parent afc9bcf27b
commit 43ac56766e
2 changed files with 12 additions and 4 deletions

View File

@@ -3,7 +3,8 @@
#include "list.h" // struct list_head
#define MAX_CLOCK 0x7fffffffffffffff
#define MAX_CLOCK 0x7fffffffffffffffLL
#define BACKGROUND_PRIORITY_CLOCK 0x7fffffff00000000LL
#define MESSAGE_MIN 5
#define MESSAGE_MAX 64