2013-12-30
xbionic - ntdll.dll (Windows Native APIs)
1. [ntdll.dll] Header and Code from the scratch
For implementing the system-call of Linux, Windows Native APIs will be used.
And the API-set will be re-written from the scrach.
[WinDDK] has the useful package to start, but that is too complicate.
So, the structures and functions are extracted one by one whenever it is used.
2. Current Codes
The porting process is on the stable stage, so the file system is almost fixed.
See the below files :
- Main Headers
https://github.com/webos21/xbionic/blob/master/lib/mingw32/include/ntstatus.h
https://github.com/webos21/xbionic/blob/master/lib/mingw32/include/nttypes.h
https://github.com/webos21/xbionic/blob/master/lib/mingw32/include/ntdll.h
https://github.com/webos21/xbionic/blob/master/lib/mingw32/include/ntsock.h
- Supporting Headers
https://github.com/webos21/xbionic/blob/master/lib/mingw32/include/poppack.h
https://github.com/webos21/xbionic/blob/master/lib/mingw32/include/pshpack1.h
https://github.com/webos21/xbionic/blob/master/lib/mingw32/include/pshpack2.h
https://github.com/webos21/xbionic/blob/master/lib/mingw32/include/pshpack4.h
https://github.com/webos21/xbionic/blob/master/lib/mingw32/include/pshpack8.h
- Implementing Source
https://github.com/webos21/xbionic/blob/master/xbionic/libc/arch-win/_nt_imp/ntdll.c
https://github.com/webos21/xbionic/blob/master/xbionic/libc/arch-win/_nt_imp/ntsock.c
Labels:
xbionic
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment