1. 17 11月, 2020 2 次提交
    • Z
      Workaround missing machine_resource_init in BSD initialization · e559c86d
      Zbigniew Bodek 提交于
      BSD compatibility is not optional for the kernel to build, however
      platform dependent portion of this configuration, machine_resource_init(),
      which is called by nexus_init() is implemented only in the platform
      specific library for HiSilicon chips (libhi35xx_bsp.a).
      Workaround lack of this library, so that the kernel can be built
      for other platforms as well, by excluding it from the compilation.
      
      This change should be removed as soon as the appropriate function
      is implemented for other platforms.
      Signed-off-by: NZbigniew Bodek <zbigniew.bodek@huawei.com>
      Change-Id: I66f15b167b9769f17820f5f0edb7ae8b0ebc9246
      e559c86d
    • Z
      Workaround linking problem caused by missing SystemInit during build · 850a5669
      Zbigniew Bodek 提交于
      During LiteOS consolidation, system_init.o object that contains
      SystemInit() doesn't exist yet as it is being built later
      and linked in ./vendor directory when OHOS_Image is created.
      This is not the case when building for HiSilicon platforms as
      SystemInit is provided for them in precompiled libraries.
      
      Workaround this issue by creating "weak" function in LiteOS
      that will be replaced by the "strong" symbol from ./vendor
      in linking phase of the OHOS_Image.
      Signed-off-by: NZbigniew Bodek <zbigniew.bodek@huawei.com>
      Change-Id: I39f327a350722a3e41a370ee93ba3b734c5681b0
      850a5669
  2. 13 10月, 2020 1 次提交
  3. 08 9月, 2020 1 次提交