91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 23.79MB
    文件類型: .zip
    金幣: 2
    下載: 1 次
    發(fā)布日期: 2023-06-22
  • 語言: 其他
  • 標簽: qcom??bootlo??lk??

資源簡介

qcom高通lk(bootloader)層代碼msm8953系列,對分析aboot和Lk有很大幫助,從高通開源拉下來的代碼,直接下載用source insight就可以查看,很方便。

資源截圖

代碼片段和文件信息

/*
?*?Copyright?(c)?2009?Travis?Geiselbrecht
?*
?*?Permission?is?hereby?granted?free?of?charge?to?any?person?obtaining
?*?a?copy?of?this?software?and?associated?documentation?files
?*?(the?“Software“)?to?deal?in?the?Software?without?restriction
?*?including?without?limitation?the?rights?to?use?copy?modify?merge
?*?publish?distribute?sublicense?and/or?sell?copies?of?the?Software
?*?and?to?permit?persons?to?whom?the?Software?is?furnished?to?do?so
?*?subject?to?the?following?conditions:
?*
?*?The?above?copyright?notice?and?this?permission?notice?shall?be
?*?included?in?all?copies?or?substantial?portions?of?the?Software.
?*
?*?THE?SOFTWARE?IS?PROVIDED?“AS?IS“?WITHOUT?WARRANTY?OF?ANY?KIND
?*?EXPRESS?OR?IMPLIED?INCLUDING?BUT?NOT?LIMITED?TO?THE?WARRANTIES?OF
?*?MERCHANTABILITY?FITNESS?FOR?A?PARTICULAR?PURPOSE?AND?NONINFRINGEMENT.
?*?IN?NO?EVENT?SHALL?THE?AUTHORS?OR?COPYRIGHT?HOLDERS?BE?LIABLE?FOR?ANY
?*?CLAIM?DAMAGES?OR?OTHER?LIABILITY?WHETHER?IN?AN?ACTION?OF?CONTRACT
?*?TORT?OR?OTHERWISE?ARISING?FROM?OUT?OF?OR?IN?CONNECTION?WITH?THE
?*?SOFTWARE?OR?THE?USE?OR?OTHER?DEALINGS?IN?THE?SOFTWARE.
?*/
#include?
#include?
#include?

extern?const?struct?app_descriptor?__apps_start;
extern?const?struct?app_descriptor?__apps_end;

static?void?start_app(const?struct?app_descriptor?*app);

/*?one?time?setup?*/
void?apps_init(void)
{
const?struct?app_descriptor?*app;

/*?call?all?the?init?routines?*/
for?(app?=?&__apps_start;?app?!=?&__apps_end;?app++)?{
if?(app->init)
app->init(app);
}

/*?start?any?that?want?to?start?on?boot?*/
for?(app?=?&__apps_start;?app?!=?&__apps_end;?app++)?{
if?(app->entry?&&?(app->flags?&?APP_FLAG_DONT_START_ON_BOOT)?==?0)?{
start_app(app);
}
}
}

static?int?app_thread_entry(void?*arg)
{
const?struct?app_descriptor?*app?=?(const?struct?app_descriptor?*)arg;

app->entry(app?NULL);

return?0;
}

static?void?start_app(const?struct?app_descriptor?*app)
{
thread_t?*thr;
printf(“starting?app?%s\n“?app->name);

thr?=?thread_create(app->name?&app_thread_entry?(void?*)app?DEFAULT_PRIORITY?DEFAULT_STACK_SIZE);
if(!thr)
{
return;
}
thread_resume(thr);
}


?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-01-12?22:57??bootable\
?????目錄???????????0??2019-01-12?22:57??bootable\recovery\
?????目錄???????????0??2019-01-12?22:57??bootable\recovery\boot_control\
?????文件????????1123??2018-11-05?14:17??bootable\recovery\boot_control\Android.mk
?????文件???????15115??2018-11-05?14:17??bootable\recovery\boot_control\boot_control.cpp
?????文件???????19243??2018-11-05?14:17??bootable\recovery\ui.cpp
?????目錄???????????0??2019-01-12?22:57??bootable\recovery\otautil\
?????文件????????1183??2018-11-05?14:17??bootable\recovery\otautil\cache_location.cpp
?????文件????????6298??2018-11-05?14:17??bootable\recovery\otautil\SysUtil.cpp
?????目錄???????????0??2019-01-12?22:57??bootable\recovery\otautil\include\
?????目錄???????????0??2019-01-12?22:57??bootable\recovery\otautil\include\otautil\
?????文件????????1975??2018-11-05?14:17??bootable\recovery\otautil\include\otautil\error_code.h
?????文件????????2287??2018-11-05?14:17??bootable\recovery\otautil\include\otautil\cache_location.h
?????文件????????1418??2018-11-05?14:17??bootable\recovery\otautil\include\otautil\SysUtil.h
?????文件?????????924??2018-11-05?14:17??bootable\recovery\otautil\include\otautil\ThermalUtil.h
?????文件????????5812??2018-11-05?14:17??bootable\recovery\otautil\include\otautil\rangeset.h
?????文件????????1393??2018-11-05?14:17??bootable\recovery\otautil\include\otautil\DirUtil.h
?????文件????????1440??2018-11-05?14:17??bootable\recovery\otautil\include\otautil\print_sha1.h
?????文件????????3355??2018-11-05?14:17??bootable\recovery\otautil\DirUtil.cpp
?????文件????????8434??2018-11-05?14:17??bootable\recovery\otautil\rangeset.cpp
?????文件????????2348??2018-11-05?14:17??bootable\recovery\otautil\ThermalUtil.cpp
?????文件????????1048??2018-11-05?14:17??bootable\recovery\otautil\Android.bp
?????文件????????1735??2018-11-05?14:17??bootable\recovery\asn1_decoder.h
?????文件?????????170??2018-11-05?14:17??bootable\recovery\PREUPLOAD.cfg
?????文件????????5209??2018-11-05?14:17??bootable\recovery\recovery-persist.cpp
?????文件????????2439??2018-11-05?14:17??bootable\recovery\fuse_sdcard_provider.cpp
?????文件????????2651??2018-11-05?14:17??bootable\recovery\recovery-refresh.cpp
?????文件????????1965??2018-11-05?14:17??bootable\recovery\stub_ui.h
?????目錄???????????0??2019-01-12?22:57??bootable\recovery\tools\
?????文件??????????32??2018-11-05?14:17??bootable\recovery\tools\Android.mk
?????目錄???????????0??2019-01-12?22:57??bootable\recovery\tools\recovery_l10n\
............此處省略3751個文件信息

評論

共有 條評論