update openharmony 1.0.1
This commit is contained in:
8
kernel/user/src/los_user_init.c
Normal file → Executable file
8
kernel/user/src/los_user_init.c
Normal file → Executable file
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2013-2019, Huawei Technologies Co., Ltd. All rights reserved.
|
||||
* Copyright (c) 2020, Huawei Device Co., Ltd. All rights reserved.
|
||||
* Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
|
||||
* Copyright (c) 2020-2021 Huawei Device Co., Ltd. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification,
|
||||
* are permitted provided that the following conditions are met:
|
||||
@@ -36,7 +36,11 @@
|
||||
|
||||
#define SYS_CALL_VALUE 0x900001
|
||||
|
||||
#ifdef LOSCFG_QUICK_START
|
||||
LITE_USER_SEC_RODATA STATIC CHAR *g_initPath = "/dev/shm/init";
|
||||
#else
|
||||
LITE_USER_SEC_RODATA STATIC CHAR *g_initPath = "/bin/init";
|
||||
#endif
|
||||
|
||||
LITE_USER_SEC_TEXT STATIC UINT32 sys_call3(UINT32 nbr, UINT32 parm1, UINT32 parm2, UINT32 parm3)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user