diff options
Diffstat (limited to 'src/ast_vgatool.h')
-rw-r--r-- | src/ast_vgatool.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ast_vgatool.h b/src/ast_vgatool.h index 275369b..6d24263 100644 --- a/src/ast_vgatool.h +++ b/src/ast_vgatool.h @@ -166,3 +166,7 @@ *(ULONG *) (pAST->MMIOVirtualAddr + 0xF000) = 0x1; \ *(ULONG *) (pAST->MMIOVirtualAddr + 0x10000 + ((addr) & 0x0000FFFF)) = (data); \ } + +/* Delay */ +#define DelayUS(x) usleep(x) +#define DelayMS(x) DelayUS(1000*x) |