Why my kernel-mode driver only run if PC restart
up vote
-1
down vote
favorite
I write a source code of a Windows 8 x64 Kernel Mode Driver but it only work if PC restart. My driver don't work if PC is shutdown. Why i need to restart my PC without shutdown to run my driver. Here is the code:
KeStallExecutionProcessor PROTO STDCALL :QWORD
.DATA
UniString dw "","D","o","s","D","e","v","i","c","e","s","","C",":","","l","o","g",".","t","x","t",0
Data db 0
SCANCODES db 64 dup (0)
.CODE
DriverEntry proc
Begin:
IN AL,64h
and al,21h
cmp al,1
jnz L1
IN AL,60h
ret
DriverEntry endp
END
x86-64 windows-kernel masm64
add a comment |
up vote
-1
down vote
favorite
I write a source code of a Windows 8 x64 Kernel Mode Driver but it only work if PC restart. My driver don't work if PC is shutdown. Why i need to restart my PC without shutdown to run my driver. Here is the code:
KeStallExecutionProcessor PROTO STDCALL :QWORD
.DATA
UniString dw "","D","o","s","D","e","v","i","c","e","s","","C",":","","l","o","g",".","t","x","t",0
Data db 0
SCANCODES db 64 dup (0)
.CODE
DriverEntry proc
Begin:
IN AL,64h
and al,21h
cmp al,1
jnz L1
IN AL,60h
ret
DriverEntry endp
END
x86-64 windows-kernel masm64
add a comment |
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
I write a source code of a Windows 8 x64 Kernel Mode Driver but it only work if PC restart. My driver don't work if PC is shutdown. Why i need to restart my PC without shutdown to run my driver. Here is the code:
KeStallExecutionProcessor PROTO STDCALL :QWORD
.DATA
UniString dw "","D","o","s","D","e","v","i","c","e","s","","C",":","","l","o","g",".","t","x","t",0
Data db 0
SCANCODES db 64 dup (0)
.CODE
DriverEntry proc
Begin:
IN AL,64h
and al,21h
cmp al,1
jnz L1
IN AL,60h
ret
DriverEntry endp
END
x86-64 windows-kernel masm64
I write a source code of a Windows 8 x64 Kernel Mode Driver but it only work if PC restart. My driver don't work if PC is shutdown. Why i need to restart my PC without shutdown to run my driver. Here is the code:
KeStallExecutionProcessor PROTO STDCALL :QWORD
.DATA
UniString dw "","D","o","s","D","e","v","i","c","e","s","","C",":","","l","o","g",".","t","x","t",0
Data db 0
SCANCODES db 64 dup (0)
.CODE
DriverEntry proc
Begin:
IN AL,64h
and al,21h
cmp al,1
jnz L1
IN AL,60h
ret
DriverEntry endp
END
x86-64 windows-kernel masm64
x86-64 windows-kernel masm64
asked 2 days ago
B. Salvador
44
44
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53373594%2fwhy-my-kernel-mode-driver-only-run-if-pc-restart%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown