/ohos5.0/base/startup/bootstrap_lite/services/source/ |
H A D | bootstrap_service.c | 32 static Bootstrap bootstrap; in Init() local 33 bootstrap.GetName = GetName; in Init() 34 bootstrap.Initialize = Initialize; in Init() 35 bootstrap.MessageHandle = MessageHandle; in Init() 36 bootstrap.GetTaskConfig = GetTaskConfig; in Init() 37 bootstrap.flag = FALSE; in Init() 50 Bootstrap *bootstrap = (Bootstrap *)service; in Initialize() local 51 bootstrap->identity = identity; in Initialize() 57 Bootstrap *bootstrap = (Bootstrap *)service; in MessageHandle() local 60 if ((bootstrap->flag & LOAD_FLAG) != LOAD_FLAG) { in MessageHandle() [all …]
|
H A D | BUILD.gn | 13 static_library("bootstrap") {
|
/ohos5.0/base/startup/bootstrap_lite/ |
H A D | README_zh.md | 1 # bootstrap启动引导部件<a name="ZH-CN_TOPIC_0000001082300996"></a> 4 bootstrap启动引导组件,提供了各服务和功能的启动入口标识。在SAMGR启动时,会调用bootstrap标识的入口函数,并启动系统服务。 6 **图 1** bootstrap启动引导组件框架图 24 bootstrap组件无需单独配置,在SAMGR启动时会自动调用,用于启动系统服务。
|
H A D | README.md | 1 # bootstrap\_lite<a name="EN-US_TOPIC_0000001082300996"></a> 11 …bootstrap\_lite module provides entry identifiers for starting services and features. When Samgr s… 23 Currently, the bootstrap\_lite module applies only to mini-system devices \(reference memory ≥ 128 … 27 When Samgr starts, the bootstrap\_lite module is automatically invoked to start system services, wi…
|
/ohos5.0/base/startup/bootstrap_lite/services/ |
H A D | BUILD.gn | 16 lite_component("bootstrap") { 17 features = [ "//base/startup/bootstrap_lite/services/source:bootstrap" ] 21 deps = [ "//base/startup/bootstrap_lite/services/source:bootstrap" ] 30 module_name = "bootstrap"
|
/ohos5.0/docs/zh-cn/device-dev/subsystems/ |
H A D | subsys-boot-bootstrap.md | 1 # bootstrap服务启动组件 4 bootstrap服务启动组件实现了服务的自动初始化,即服务的初始化函数无需显式调用,而是将其使用宏定义的方式申明,就会在系统启动时自动被执行。实现原理是将服务启动的函数通过宏定义的方式申明之后,放… 15 bootstrap服务自动初始化宏如表1所述。
|
H A D | Readme-CN.md | 104 - [bootstrap服务启动组件](subsys-boot-bootstrap.md)
|
H A D | subsys-boot-deviceboot.md | 36 - bootstrap服务启动组件 38 提供了各服务和功能的启动入口标识。在SAMGR启动时,会调用bootstrap标识的入口函数,并启动系统服务。 62 - bootstrap服务启动组件:需要在链接脚本中配置zInit代码段。
|
/ohos5.0/docs/zh-cn/device-dev/porting/ |
H A D | porting-cst85f01-combo-demo.md | 241 "//base/startup/bootstrap_lite/services/source:bootstrap", 738 bootstrap提供的自动初始化宏如下表所示: 767 static Bootstrap bootstrap; 768 bootstrap.GetName = GetName; 769 bootstrap.Initialize = Initialize; 770 bootstrap.MessageHandle = MessageHandle; 771 bootstrap.GetTaskConfig = GetTaskConfig; 772 bootstrap.flag = FALSE; 773 SAMGR_GetInstance()->RegisterService((Service *)&bootstrap); 781 static_library("bootstrap") {
|
H A D | porting-w800-combo-demo.md | 362 "bootstrap", 783 static Bootstrap bootstrap; 784 bootstrap.GetName = GetName; 785 bootstrap.Initialize = Initialize; 786 bootstrap.MessageHandle = MessageHandle; 787 bootstrap.GetTaskConfig = GetTaskConfig; 788 bootstrap.flag = FALSE; 789 SAMGR_GetInstance()->RegisterService((Service *)&bootstrap); 797 static_library("bootstrap") {
|
H A D | porting-bes2600w-on-minisystem-display-demo.md | 1042 static Bootstrap bootstrap; 1043 bootstrap.GetName = GetName; 1044 bootstrap.Initialize = Initialize; 1045 bootstrap.MessageHandle = MessageHandle; 1046 bootstrap.GetTaskConfig = GetTaskConfig; 1047 bootstrap.flag = FALSE; 1048 SAMGR_GetInstance()->RegisterService((Service *)&bootstrap); 1056 static_library("bootstrap") { 1064 那么需要在 `vendor/bestechnic/display_demo/config.json` 配置强制链接库`bootstrap`,如下: 1075 "bootstrap", --- 强制链接libbootstrap.a
|
H A D | porting-stm32f407-on-minisystem-eth.md | 1022 static Bootstrap bootstrap; 1023 bootstrap.GetName = GetName; 1024 bootstrap.Initialize = Initialize; 1025 bootstrap.MessageHandle = MessageHandle; 1026 bootstrap.GetTaskConfig = GetTaskConfig; 1027 bootstrap.flag = FALSE; 1028 SAMGR_GetInstance()->RegisterService((Service *)&bootstrap); 1036 static_library("bootstrap") {
|
/ohos5.0/docs/en/device-dev/subsystems/ |
H A D | subsys-boot-bootstrap.md | 1 # bootstrap Module<a name="EN-US_TOPIC_0000001063402356"></a> 7 For details about the macros used by the bootstrap module to implement automatic service initializa… 11 The following table describes the major macros used by the bootstrap module to implement automatic … 13 **Table 1** Major macros for the bootstrap module
|
/ohos5.0/docs/en/readme/ |
H A D | startup.md | 20 - bootstrap 24 …and features. When SAMGR is started, the entry function identified by **bootstrap** is invoked and… 41 | base/startup/bootstrap_lite | bootstrap module for starting all services except core system se… 60 ├── bootstrap_lite # bootstrap module
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/fuzztest/objectservicestub_fuzzer/ |
H A D | BUILD.gn | 27 "${data_service_path}/service/bootstrap/include", 61 "${data_service_path}/service/bootstrap/src/bootstrap.cpp",
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/fuzztest/kvdbservicestub_fuzzer/ |
H A D | BUILD.gn | 28 "${data_service_path}/service/bootstrap/include", 63 "${data_service_path}/service/bootstrap/src/bootstrap.cpp",
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/fuzztest/rdbservicestub_fuzzer/ |
H A D | BUILD.gn | 27 "${data_service_path}/service/bootstrap/include", 68 "${data_service_path}/service/bootstrap/src/bootstrap.cpp",
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/fuzztest/cloudservicestub_fuzzer/ |
H A D | BUILD.gn | 27 "${data_service_path}/service/bootstrap/include", 67 "${data_service_path}/service/bootstrap/src/bootstrap.cpp",
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/ |
H A D | BUILD.gn | 28 "bootstrap/include", 73 "bootstrap/src/bootstrap.cpp",
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/bootstrap/src/ |
H A D | bootstrap.cpp | 32 static Bootstrap bootstrap; in GetInstance() local 33 return bootstrap; in GetInstance()
|
/ohos5.0/docs/en/device-dev/porting/ |
H A D | porting-cst85f01-combo-demo.md | 239 "//base/startup/bootstrap_lite/services/source:bootstrap", 736 The following table lists the automatic initialization macros of bootstrap. 765 static Bootstrap bootstrap; 766 bootstrap.GetName = GetName; 767 bootstrap.Initialize = Initialize; 768 bootstrap.MessageHandle = MessageHandle; 769 bootstrap.GetTaskConfig = GetTaskConfig; 770 bootstrap.flag = FALSE; 771 SAMGR_GetInstance()->RegisterService((Service *)&bootstrap); 779 static_library("bootstrap") {
|
H A D | porting-w800-combo-demo.md | 362 "bootstrap", 783 static Bootstrap bootstrap; 784 bootstrap.GetName = GetName; 785 bootstrap.Initialize = Initialize; 786 bootstrap.MessageHandle = MessageHandle; 787 bootstrap.GetTaskConfig = GetTaskConfig; 788 bootstrap.flag = FALSE; 789 SAMGR_GetInstance()->RegisterService((Service *)&bootstrap); 797 static_library("bootstrap") {
|
/ohos5.0/docs/zh-cn/readme/ |
H A D | 启动恢复子系统.md | 21 - bootstrap启动引导组件 25 提供了各服务和功能的启动入口标识。在SAMGR启动时,会调用bootstrap标识的入口函数,并启动系统服务。
|
/ohos5.0/docs/zh-cn/device-dev/quick-start/ |
H A D | quickstart-pkg-common-hberr.md | 61 curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | BUILD.gn | 28 "${data_service_path}/service/bootstrap/include/", 71 "${data_service_path}/service/bootstrap/src/bootstrap.cpp", 768 "${data_service_path}/service/bootstrap/src/bootstrap.cpp", 788 "${data_service_path}/service/bootstrap/include",
|