Improve disk benchmark suites and timing, and fix command launch race
This commit is contained in:
1 parent
8e0ab3da8b
commit
720ba46630
8 files changed
+1057
-181
No files matched your search
@@ -27,6 +27,10 @@ uses
|
||||
arch.x86.isr.mgr,
|
||||
arch.x86.idt;
|
||||
|
||||
const
|
||||
PIT_INPUT_HZ = 1193182;
|
||||
PIT_DIVISOR = 149;
|
||||
|
||||
procedure register();
|
||||
procedure hook(hook_method : uint32);
|
||||
procedure unhook(hook_method : uint32);
|
||||
@@ -54,7 +58,7 @@ procedure register();
|
||||
begin
|
||||
if not registered then begin
|
||||
asm
|
||||
mov ax, 149
|
||||
mov ax, PIT_DIVISOR
|
||||
out $40, al
|
||||
mov al, ah
|
||||
out $40, al
|
||||
|
||||
Reference in new issue
Block a user