mirror of
https://github.com/clearlinux/graphene.git
synced 2026-09-06 13:51:28 +00:00
Fix a bunch of typos
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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 */
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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 */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user