Fix a bunch of typos

This commit is contained in:
Michał Kowalczyk
2019-10-01 00:48:00 +02:00
parent 1bb5047403
commit 62cbf79603
8 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -442,7 +442,7 @@ static struct link_map* __map_elf_object(struct shim_handle* file, const void* f
}
if (l->nloadcmds >= MAX_LOADCMDS) {
errstring = "too many load commamds";
errstring = "too many load commands";
goto call_lose;
}
+1 -1
View File
@@ -343,7 +343,7 @@ static void _DkGenericSighandler (int signum, siginfo_t * info,
ucontext_t * uc)
{
#if 0
/* reseurrect this code if signal handler if giving segmentation fault */
/* resurrect this code if signal handler is giving segmentation fault */
if (signum == SIGSEGV) {
int pid = INLINE_SYSCALL(getpid, 0);
+1 -1
View File
@@ -265,7 +265,7 @@ static void _DkGenericSighandler (int signum, siginfo_t * info,
struct ucontext * uc)
{
#if BLOCK_SIGFUALT == 1
/* reseurrect this code if signal handler if giving segmentation fault */
/* resurrect this code if signal handler is giving segmentation fault */
if (signum == SIGSEGV) {
int pid = INLINE_SYSCALL(getpid, 0);
exception_msg[17] = '0' + pid / 10000;
+1 -1
View File
@@ -33,7 +33,7 @@ int _DkEventCreate (PAL_HANDLE * event, bool initialState, bool isnotification)
void _DkEventDestroy (PAL_HANDLE handle)
{
/* need to be implemented */
/* needs to be implemented */
}
int _DkEventSet (PAL_HANDLE event, int wakeup)
+2 -2
View File
@@ -41,9 +41,9 @@ int (*_DkExceptionHandlers[PAL_EVENT_NUM_BOUND])(int, PAL_UPCALL, int) = {
};
void _DkRaiseFailure(int error) {
/* need to be implemented */
/* needs to be implemented */
}
void _DkExceptionReturn(void* event) {
/* need to be implemented */
/* needs to be implemented */
}
+2 -2
View File
@@ -48,7 +48,7 @@ unsigned long _DkGetAllocationAlignment (void)
void _DkGetAvailableUserAddressRange (PAL_PTR * start, PAL_PTR * end,
PAL_PTR * hole_start, PAL_PTR * hole_end)
{
/* need to be implemented */
/* needs to be implemented */
}
PAL_NUM _DkGetProcessId (void)
@@ -63,6 +63,6 @@ PAL_NUM _DkGetHostId (void)
int _DkGetCPUInfo (PAL_CPU_INFO * ci)
{
/* need to be implemented */
/* needs to be implemented */
return 0;
}
+1 -1
View File
@@ -29,7 +29,7 @@
#include "pal_internal.h"
void _DkPrintConsole(const void* buf, int size) {
/* need to be implemented */
/* needs to be implemented */
}
/* _DkStreamUnmap for internal use. Unmap stream at certain memory address.
+2 -2
View File
@@ -41,12 +41,12 @@ int _DkThreadDelayExecution(unsigned long* duration) {
/* PAL call DkThreadYieldExecution. Yield the execution
of the current thread. */
void _DkThreadYieldExecution(void) {
/* need to be implemented */
/* needs to be implemented */
}
/* _DkThreadExit for internal use: Thread exiting */
noreturn void _DkThreadExit(void) {
/* need to be implemented */
/* needs to be implemented */
while (true) {
/* nothing */
}