Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
b2f32bc6
Commit
b2f32bc6
authored
May 20, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved system.dll implementation to dlls/kernel.
parent
52397422
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
2 deletions
+19
-2
Makefile.in
dlls/kernel/Makefile.in
+2
-1
system.c
dlls/kernel/system.c
+0
-0
Makefile.in
dlls/ntdll/Makefile.in
+0
-1
instr.c
memory/instr.c
+17
-0
No files found.
dlls/kernel/Makefile.in
View file @
b2f32bc6
...
...
@@ -47,7 +47,8 @@ C_SRCS = \
wowthunk.c
C_SRCS16
=
\
registry16.c
registry16.c
\
system.c
RC_SRCS
=
kernel.rc
...
...
misc
/system.c
→
dlls/kernel
/system.c
View file @
b2f32bc6
File moved
dlls/ntdll/Makefile.in
View file @
b2f32bc6
...
...
@@ -38,7 +38,6 @@ C_SRCS = \
$(TOPOBJDIR)
/misc/main.c
\
$(TOPOBJDIR)
/misc/options.c
\
$(TOPOBJDIR)
/misc/registry.c
\
$(TOPOBJDIR)
/misc/system.c
\
$(TOPOBJDIR)
/misc/version.c
\
$(TOPOBJDIR)
/msdos/dosmem.c
\
$(TOPOBJDIR)
/msdos/dpmi.c
\
...
...
memory/instr.c
View file @
b2f32bc6
...
...
@@ -59,6 +59,19 @@ inline static void *get_stack( CONTEXT86 *context )
return
wine_ldt_get_ptr
(
context
->
SegSs
,
context
->
Esp
);
}
/***********************************************************************
* timer_thread
*/
static
DWORD
CALLBACK
timer_thread
(
void
*
dummy
)
{
for
(;;)
{
Sleep
(
55
);
DOSMEM_Tick
(
0
);
}
}
/***********************************************************************
* INSTR_ReplaceSelector
*
...
...
@@ -86,9 +99,13 @@ static BOOL INSTR_ReplaceSelector( CONTEXT86 *context, WORD *sel )
if
(
*
sel
==
0x40
)
{
#if 0 /* hack until this is moved to kernel */
static WORD sys_timer = 0;
if (!sys_timer)
sys_timer = CreateSystemTimer( 55, DOSMEM_Tick );
#endif
static
HANDLE
sys_thread
;
if
(
!
sys_thread
)
sys_thread
=
CreateThread
(
NULL
,
0
,
timer_thread
,
NULL
,
0
,
NULL
);
*
sel
=
DOSMEM_BiosDataSeg
;
return
TRUE
;
}
...
...
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