ddk: export GetPid

git-svn-id: svn://kolibrios.org@2169 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge) 2011-09-10 11:06:02 +00:00
parent 0dbaf3da22
commit 91a2e78dd1
2 changed files with 10 additions and 3 deletions

View File

@ -10,8 +10,9 @@
.global _AttachIntHandler .global _AttachIntHandler
.global _CreateEvent .global _CreateEvent
.global _CreateObject
.global _CreateRingBuffer .global _CreateRingBuffer
.global _Delay .global _Delay
.global _DestroyObject .global _DestroyObject
@ -20,6 +21,7 @@
.global _GetDisplay .global _GetDisplay
.global _GetEvent .global _GetEvent
.global _GetPgAddr .global _GetPgAddr
.global _GetPid
.global _GetService .global _GetService
.global _GetTimerTicks .global _GetTimerTicks
.global _GetStackBase .global _GetStackBase
@ -62,7 +64,7 @@
.def _AttachIntHandler; .scl 2; .type 32; .endef .def _AttachIntHandler; .scl 2; .type 32; .endef
.def _CreateEvent; .scl 2; .type 32; .endef .def _CreateEvent; .scl 2; .type 32; .endef
.def _CreateObject; .scl 2; .type 32; .endef
.def _CreateRingBuffer; .scl 2; .type 32; .endef .def _CreateRingBuffer; .scl 2; .type 32; .endef
.def _Delay; .scl 2; .type 32; .endef .def _Delay; .scl 2; .type 32; .endef
@ -72,6 +74,7 @@
.def _GetDisplay; .scl 2; .type 32; .endef .def _GetDisplay; .scl 2; .type 32; .endef
.def _GetEvent; .scl 2; .type 32; .endef .def _GetEvent; .scl 2; .type 32; .endef
.def _GetPid; .scl 2; .type 32; .endef
.def _GetPgAddr; .scl 2; .type 32; .endef .def _GetPgAddr; .scl 2; .type 32; .endef
.def _GetService; .scl 2; .type 32; .endef .def _GetService; .scl 2; .type 32; .endef
.def _GetTimerTicks; .scl 2; .type 32; .endef .def _GetTimerTicks; .scl 2; .type 32; .endef
@ -115,7 +118,7 @@ _AllocPages:
_AttachIntHandler: _AttachIntHandler:
_CreateEvent: _CreateEvent:
_CreateObject:
_CreateRingBuffer: _CreateRingBuffer:
_Delay: _Delay:
@ -126,6 +129,7 @@ _FreeKernelSpace:
_GetDisplay: _GetDisplay:
_GetEvent: _GetEvent:
_GetPid:
_GetPgAddr: _GetPgAddr:
_GetService: _GetService:
_GetTimerTicks: _GetTimerTicks:
@ -170,6 +174,7 @@ _WaitEvent:
.ascii " -export:AttachIntHandler" # stdcall .ascii " -export:AttachIntHandler" # stdcall
.ascii " -export:CreateEvent" # .ascii " -export:CreateEvent" #
.ascii " -export:CreateObject" #
.ascii " -export:CreateRingBuffer" # stdcall .ascii " -export:CreateRingBuffer" # stdcall
@ -181,6 +186,7 @@ _WaitEvent:
.ascii " -export:GetDisplay" # stdcall .ascii " -export:GetDisplay" # stdcall
.ascii " -export:GetEvent" # .ascii " -export:GetEvent" #
.ascii " -export:GetPid" #
.ascii " -export:GetPgAddr" # stdcall .ascii " -export:GetPgAddr" # stdcall
.ascii " -export:GetService" # stdcall .ascii " -export:GetService" # stdcall
.ascii " -export:GetTimerTicks" # .ascii " -export:GetTimerTicks" #

View File

@ -49,6 +49,7 @@ void FASTCALL MutexLock(struct mutex*)__asm__("MutexLock");
void FASTCALL MutexUnlock(struct mutex*)__asm__("MutexUnlock"); void FASTCALL MutexUnlock(struct mutex*)__asm__("MutexUnlock");
addr_t IMPORT GetStackBase(void)__asm__("GetStackBase"); addr_t IMPORT GetStackBase(void)__asm__("GetStackBase");
u32_t IMPORT GetPid(void)__asm__("GetPid");
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////