Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ff3fbfff
Commit
ff3fbfff
authored
Dec 04, 2006
by
Francois Gouget
Committed by
Alexandre Julliard
Dec 05, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vmm.vxd: PC_WRITABLE spelling fix.
parent
f6c09a2b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
vmm.c
dlls/vmm.vxd/vmm.c
+4
-4
No files found.
dlls/vmm.vxd/vmm.c
View file @
ff3fbfff
...
...
@@ -106,7 +106,7 @@ static const char * const VMM_Service_Name[N_VMM_SERVICE] =
#define PC_FIXED 0x00000008
/* pages are permanently locked */
#define PC_LOCKED 0x00000080
/* pages are made present and locked */
#define PC_LOCKEDIFDP 0x00000100
/* pages are locked if swap via DOS */
#define PC_WRIT
EABLE 0x00020000
/* make the pages write
able */
#define PC_WRIT
ABLE 0x00020000
/* make the pages writ
able */
#define PC_USER 0x00040000
/* make the pages ring 3 accessible */
#define PC_INCR 0x40000000
/* increment "pagerdata" each page */
#define PC_PRESENT 0x80000000
/* make pages initially present */
...
...
@@ -185,7 +185,7 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
page
,
npages
,
hpd
,
pagerdata
,
flags
);
if
(
flags
&
PC_USER
)
if
(
flags
&
PC_WRIT
E
ABLE
)
if
(
flags
&
PC_WRITABLE
)
virt_perm
=
PAGE_EXECUTE_READWRITE
;
else
virt_perm
=
PAGE_EXECUTE_READ
;
...
...
@@ -247,7 +247,7 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
case
PAGE_WRITECOPY
:
case
PAGE_EXECUTE_READWRITE
:
case
PAGE_EXECUTE_WRITECOPY
:
pg_old_perm
=
PC_USER
|
PC_WRIT
E
ABLE
;
pg_old_perm
=
PC_USER
|
PC_WRITABLE
;
break
;
case
PAGE_NOACCESS
:
default:
...
...
@@ -261,7 +261,7 @@ DWORD WINAPI VMM_VxDCall( DWORD service, CONTEXT86 *context )
virt_new_perm
=
(
virt_old_perm
)
&
~
0xff
;
if
(
pg_new_perm
&
PC_USER
)
{
if
(
pg_new_perm
&
PC_WRIT
E
ABLE
)
if
(
pg_new_perm
&
PC_WRITABLE
)
virt_new_perm
|=
PAGE_EXECUTE_READWRITE
;
else
virt_new_perm
|=
PAGE_EXECUTE_READ
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment