Am 02.06.2014 10:38 schrieb "Michael Schnell" <mschn...@lumino.de>:
> In Windows I suppose syscalls usually are not done directly by the rtl,
but functions calls to a Kernel dll are done, so that that Windows.provide
dll might decide to stay in usermode if possible.

Addendum: yes, the RTL calls the core DLLs of the Win32 subsystem like
kernel32.dll, but they are just that: the core DLLs of the Win32 subsystem.
They don't implement any core OS functionality like hardware/device
management, because that is done by the NT kernel below it which is called
by the Win32 DLLs if needed using the ntdll.dll which acts as a gateway to
the kernel (some calls will do a Syscall then, for example hardware related
functions, while others like functions to handle list structures will stay
in the current mode). That's basically a remnant of the microkernel nature
of the NT OS.

Regards,
Sven
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to