forked from OP-TEE/optee_os
-
Notifications
You must be signed in to change notification settings - Fork 3
rcar_gen5: Rebase X5H support on top of 4.10 #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
TigranGabrielyan
wants to merge
37
commits into
xen-troops:renesas/rcar-gen5_4.10.0-xt
Choose a base branch
from
TigranGabrielyan:renesas/rcar-gen5_4.10.0-xt
base: renesas/rcar-gen5_4.10.0-xt
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
01ab3bd
rcar_gen5: first commit for X5H
nhiynguyen 9bb9194
rcar_gen5: Add HSCIF driver
nhiynguyen e6b5ff2
rcar_gen5: logging: add logging feature
nhiynguyen 53b3b37
gic: Adjust gic framework
nhiynguyen 8242fb0
rcar_gen5: Add mask processing of interrupt distribution CPU
nhiynguyen 9f96fbf
gic: Fix the issue of the service hanging during CPU_ON
nhiynguyen d460e22
rcar_gen5: Add virtualization configure for R-Car
nhiynguyen 68b43d9
rcar_gen5: Update optee_os Rev1.1.0
nhiynguyen f90b089
core: gic: Update gic driver about interrupt id routing
nhiynguyen 5baffcf
plat_rcar_gen5: gic: Add support for extend interrupt IDs
tutranwz d24aa52
rcar_gen5: gic: Update the GICR base address
nhiynguyen b55b82a
gic: update to fix issue of CPU mask calculation during CPU OFF
nhiynguyen 30ded17
rcar_gen5: gic : Change GIC view from view0 to view1
3e611fa
rcar_gen5: swdt: Add SWDT driver
nhiynguyen 91c2ad9
rcar_gen5: Update optee_os Rev1.2.0
nhiynguyen 08ae7e0
rcar_gen5: Add direct mapping function
nhiynguyen 0027f70
rcar_gen5: rsipm: implement the COMM driver to communicate with LLD
nhiynguyen 2a128e2
rcar_gen5: change register_phys_mem() to register_phys_mem_pgdir()
nhiynguyen bd2f7ef
rcar_gen5: add True Random number generation by RSIPM
nhiynguyen 574f674
rcar_gen5: mmu: update the share memory for communication with rsipm
nhiynguyen 5a4f213
rcar_gen5: Add support for Dynamic TA Authentication
tutranwz fbc8873
rcar_gen5: Add MFIS mutex lock/unlock for display log API
925a2cb
rcar_gen5: Update optee_os Rev1.3.0
DienPhamM f3c6042
rcar_gen5: mfis: Add condition for mfis mutex control
nhiynguyen 4b35f5c
rcar_gen5: Update the memory map
nhiynguyen 82319f7
rcar_gen5: Cleanup and readability improvements for Dynamic TA Authen…
tutranwz 09b891d
rcar_gen5: Update optee_os Rev1.3.1
nhiynguyen 94688ae
rcar_gen5: Support showing the RCar BSP revision of Trusted OS
nhiynguyen 54648c6
rcar_gen5: mfis: disable write protection for the target register
nhiynguyen c0fbdae
gen5: register non-secure DDR + use HW PA width (enable dynamic SHM)
d37deb0
mk/aosp_optee.mk: skip AOSP ELF check for signed TA prebuilts
9bad8c8
gen5: Remove decreasing space bits num workaround
914e9f4
gen5: reduce CFG_NUM_THREADS to 8
fc76b86
gen5: Corrected the definition of the MEMORY3_BASE
2cba700
mk/aosp_optee.mk: run the optee_os builds one at a time
823eb30
ta: add a configuration only dev kit export target
555f2c0
mk/aosp_optee.mk: generate the dev kit configuration while parsing
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,3 +13,8 @@ | |
| !.gitignore | ||
| !.github | ||
| !.devcontainer | ||
| .cproject | ||
| cscope.* | ||
| .project | ||
| *.swp | ||
| .vscode | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| PLATFORM_FLAVOR ?= X5H | ||
| include core/arch/arm/cpu/cortex-armv8-0.mk | ||
|
|
||
| $(call force,CFG_SECURE_TIME_SOURCE_CNTPCT,y) | ||
| $(call force,CFG_WITH_ARM_TRUSTED_FW,y) | ||
| $(call force,CFG_SCIF,y) | ||
| $(call force,CFG_GIC,y) | ||
| $(call force,CFG_CORE_LARGE_PHYS_ADDR,y) | ||
| $(call force,CFG_CORE_ARM64_PA_BITS,36) | ||
| # Disable core ASLR for two reasons: | ||
| # 1. There is no source for ALSR seed, as Rcar platform | ||
| # does not provide DTB to OP-TEE. Also, there is no | ||
| # publically available documentation on integrated | ||
| # hardware RNG, so we can't use it either. | ||
| # 2. OP-TEE crashes during boot with enabled CFG_CORE_ASLR. | ||
| $(call force,CFG_CORE_ASLR,n) | ||
| $(call force,CFG_ARM64_core,y) | ||
| $(call force,CFG_WITH_LPAE,y) | ||
| ifeq ($(PLATFORM_FLAVOR), X5H) | ||
| $(call force,CFG_RCAR_GEN5, y) | ||
| endif | ||
|
|
||
| CFG_ARM_GICV3 ?= y | ||
| CFG_CRYPTO_WITH_CE ?= n | ||
| CFG_TZDRAM_START ?= 0x8C300000 | ||
| CFG_TZDRAM_SIZE ?= 0x02000000 | ||
| supported-ta-targets = ta_arm64 | ||
| CFG_DT ?= n | ||
| CFG_WITH_SOFTWARE_PRNG ?= y | ||
| CFG_TEE_CORE_DEBUG ?= n | ||
|
|
||
| ifeq ($(CFG_RCAR_GEN5), y) | ||
| # 1xx - for SCIFxx | ||
| # 2xx - for HSCIFxx | ||
| CFG_RCAR_UART ?= 200 | ||
| $(call force,CFG_CORE_CLUSTER_SHIFT,2) #log2(2) = 4 --> 4(cores/per cluster) | ||
| $(call force,CFG_TEE_CORE_NB_CORE,32) | ||
| CFG_NUM_THREADS ?= $(CFG_TEE_CORE_NB_CORE) | ||
| CFG_MMAP_REGIONS ?= 21 | ||
| endif | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| include core/arch/arm/kernel/link.mk | ||
|
|
||
| SRECFLAGS ?= --srec-forceS3 --adjust-vma=$(CFG_TZDRAM_START) | ||
|
|
||
| all: $(link-out-dir)/tee.srec |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,104 @@ | ||
| // SPDX-License-Identifier: BSD-2-Clause | ||
| /* | ||
| * Copyright (c) 2025, Renesas Electronics Corporation. | ||
| */ | ||
|
|
||
| #include <console.h> | ||
| #include <crypto/crypto.h> | ||
| #include <kernel/boot.h> | ||
| #include <kernel/panic.h> | ||
| #include <mm/core_memprot.h> | ||
| #include <platform_config.h> | ||
| #include <stdint.h> | ||
| #include <drivers/hscif.h> | ||
| #include <drivers/gic.h> | ||
| #include <sm/optee_smc.h> | ||
| #include <tee/entry_fast.h> | ||
| #include <tee/tee_cryp_utl.h> | ||
|
|
||
| #include "rcar_log_func.h" | ||
| #include "rcar-common.h" | ||
|
|
||
| #ifdef MEMORY1_BASE | ||
| register_phys_mem_pgdir(MEMORY1_TYPE, MEMORY1_BASE, MEMORY1_SIZE); | ||
| #endif | ||
| #ifdef MEMORY2_BASE | ||
| register_phys_mem(MEMORY2_TYPE, MEMORY2_BASE, MEMORY2_SIZE); | ||
| #endif | ||
| #ifdef MEMORY3_BASE | ||
| register_phys_mem_pgdir(MEMORY3_TYPE, MEMORY3_BASE, MEMORY3_SIZE); | ||
| #endif | ||
| #ifdef MEMORY4_BASE | ||
| register_phys_mem(MEMORY4_TYPE, MEMORY4_BASE, MEMORY4_SIZE); | ||
| #endif | ||
| #ifdef MEMORY5_BASE | ||
| register_phys_mem_pgdir(MEMORY5_TYPE, MEMORY5_BASE, MEMORY5_SIZE); | ||
| #endif | ||
| #ifdef MEMORY6_BASE | ||
| register_phys_mem_pgdir(MEMORY6_TYPE, MEMORY6_BASE, MEMORY6_SIZE); | ||
| #endif | ||
| #ifdef MEMORY7_BASE | ||
| register_phys_mem_pgdir(MEMORY7_TYPE, MEMORY7_BASE, MEMORY7_SIZE); | ||
| #endif | ||
| #ifdef MEMORY8_BASE | ||
| register_phys_mem_pgdir(MEMORY8_TYPE, MEMORY8_BASE, MEMORY8_SIZE); | ||
| #endif | ||
| #ifdef DEVICE0_PA_BASE | ||
| register_phys_mem_pgdir(DEVICE0_TYPE, DEVICE0_PA_BASE, DEVICE0_SIZE); | ||
| #endif | ||
| #ifdef DEVICE1_PA_BASE | ||
| register_phys_mem_pgdir(DEVICE1_TYPE, DEVICE1_PA_BASE, DEVICE1_SIZE); | ||
| #endif | ||
|
|
||
| #ifdef CFG_SCIF | ||
| static struct hscif_uart_data console_data __nex_bss; | ||
| #endif | ||
|
|
||
| #ifdef PRR_BASE | ||
| uint32_t rcar_prr_value __nex_bss; | ||
| #endif | ||
|
|
||
| void plat_console_init(void) | ||
| { | ||
| hscif_uart_init(&console_data, CONSOLE_UART_START); | ||
| register_serial_console(&console_data.chip); | ||
| } | ||
|
|
||
| #ifdef CFG_RCAR_ROMAPI | ||
| /* Should only seed from a hardware random number generator */ | ||
| unsigned long plat_get_aslr_seed(void) | ||
| { | ||
| unsigned long seed = 0; | ||
|
|
||
| /* On RCAR we can get hw random bytes on early boot stages */ | ||
| if (crypto_rng_read(&seed, sizeof(seed))) | ||
| panic(); | ||
|
|
||
| return seed; | ||
| } | ||
| #endif | ||
|
|
||
| void boot_primary_init_intc(void) | ||
| { | ||
| gic_init(GICC_BASE, GICD_BASE); | ||
| } | ||
|
|
||
| void boot_secondary_init_intc(void) | ||
| { | ||
| gic_init_per_cpu(); | ||
| } | ||
|
|
||
| #ifdef CFG_WITH_SOFTWARE_PRNG /* using the SW RNG supported*/ | ||
| void plat_rng_init(void) | ||
| { | ||
| TEE_Result res = TEE_SUCCESS; | ||
| TEE_Time t = { }; | ||
|
|
||
| res = crypto_rng_init(&t, sizeof(t)); | ||
| if (res) { | ||
| EMSG("Failed to initialize RNG: %#" PRIx32, res); | ||
| panic(); | ||
| } | ||
| } | ||
| #endif /*END CFG_WITH_SOFTWARE_PRNG */ | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,132 @@ | ||
| /* SPDX-License-Identifier: BSD-2-Clause */ | ||
| /* | ||
| * Copyright (c) 2025, Renesas Electronics Corporation. | ||
| */ | ||
|
|
||
| #ifndef PLATFORM_CONFIG_H | ||
| #define PLATFORM_CONFIG_H | ||
|
|
||
| #define RCAR_CACHE_LINE_SZ 64 | ||
| #define CFG_RCAR_GEN5 1 | ||
|
|
||
| /* Make stacks aligned to data cache line length */ | ||
| #define STACK_ALIGNMENT RCAR_CACHE_LINE_SZ | ||
|
|
||
| #if defined(CFG_RCAR_GEN5) | ||
| #define GICD_BASE 0x38000000 | ||
|
|
||
| #if CFG_RCAR_UART == 200 /* HSCIF0 */ | ||
| #define CONSOLE_UART_START 0xC0710000 | ||
| #endif | ||
| /* config for MMU mapping */ | ||
| #define RCAR_SRAM_BASE 0x8C300000U | ||
| #define TZDRAM_BASE RCAR_SRAM_BASE | ||
| #define TZDRAM_SIZE (0x02000000U) /* 1024*1024*32 */ | ||
|
|
||
| #define CFG_TEE_RAM_VA_SIZE (1024 * 1024 * 3) /* = 300000*/ | ||
| #define TEE_RAM_START (0x8C400000) /* TEE RAM address */ | ||
| #define TEE_RAM_SIZE (0x00300000U) /* TEE RAM size*/ | ||
|
|
||
| #ifdef CFG_TEE_RAM_VA_SIZE | ||
| #ifdef CFG_WITH_PAGER | ||
| #define TEE_RAM_PH_SIZE TZSRAM_SIZE | ||
| #else | ||
| #define TEE_RAM_PH_SIZE TEE_RAM_SIZE | ||
| #endif | ||
| #endif | ||
|
|
||
| #ifndef TEE_LOAD_ADDR | ||
| #define TEE_LOAD_ADDR TEE_RAM_START | ||
| #endif | ||
|
|
||
| #define TA_RAM_START (RCAR_SRAM_BASE \ | ||
| + 0x400000U) /* TA RAM address */ | ||
| #define TA_RAM_SIZE (0x01400000U) /* TA RAM size */ | ||
|
|
||
| #define TEE_SHMEM_START (RCAR_SRAM_BASE \ | ||
| + 0x3E00000U) /* Share Memory address */ | ||
| #define TEE_SHMEM_SIZE (0x00100000U) /* Share Memory size */ | ||
|
|
||
| #define OPTEE_LOG_BASE (RCAR_SRAM_BASE \ | ||
| + 0x1E00000U) /* OP-TEE Log Area address */ | ||
| #define OPTEE_LOG_NS_BASE (RCAR_SRAM_BASE \ | ||
| + 0x3F00000U) /* OP-TEE Log Area NS addr */ | ||
| #define OPTEE_LOG_NS_SIZE (0x00014000U) /* OP-TEE Log Area NS size */ | ||
|
|
||
| #define TA_VERIFICATION_BASE (RCAR_SRAM_BASE \ | ||
| + 0x1800000U) /* TA area for verification */ | ||
| #define TA_VERIFICATION_SIZE (0x00100000U) /* TA for verification size */ | ||
|
|
||
| #define NONCACHE_WORK_BASE (RCAR_SRAM_BASE \ | ||
| + 0x1F00000U) /* Non Cache Area address */ | ||
| #define NONCACHE_WORK_SIZE (0x00100000U) /* Non Cache Area Size */ | ||
|
|
||
| #define RSIPM_FW_SHMEM_BASE (0x41C00000U) /* RSIPM FW Share Memory address */ | ||
| #define RSIPM_FW_SHMEM_SIZE (0x00100000U) /* RSIPM FW Share Memory size */ | ||
|
|
||
| /* for Soc Register mapping function */ | ||
| #define MAP_DEVICE_REG_RCAR_BASE (0xC0400000) | ||
| #define MAP_DEVICE_REG_RCAR_SIZE (0x1FC00000) | ||
|
|
||
| #define LIFEC_BASE (0x1C020000) /* Life Cycle address */ | ||
| #define PRR_BASE (0xFFF00000U) /* Product Register address */ | ||
| #define MFIS_BASE (0x18800000U) /* MFIS address */ | ||
|
|
||
| #define MEM_SECTION_SIZE (0x00100000U) | ||
| #ifdef CFG_WITH_LPAE | ||
| #define MAX_XLAT_TABLES CFG_MMAP_REGIONS | ||
| #endif | ||
|
|
||
| #define DEVICE0_PA_BASE ROUNDDOWN(LIFEC_BASE, CORE_MMU_PGDIR_SIZE) | ||
| #define DEVICE0_SIZE (MEM_SECTION_SIZE) | ||
| #define DEVICE0_TYPE MEM_AREA_IO_SEC | ||
|
|
||
| #define DEVICE1_PA_BASE ROUNDDOWN(GICD_BASE, CORE_MMU_PGDIR_SIZE) | ||
| #define DEVICE1_SIZE (MEM_SECTION_SIZE * 9) | ||
| #define DEVICE1_TYPE MEM_AREA_IO_SEC | ||
|
|
||
| /* LOG Area for Secure World */ | ||
| #define MEMORY1_BASE ROUNDDOWN(OPTEE_LOG_BASE, MEM_SECTION_SIZE) | ||
| #define MEMORY1_SIZE (MEM_SECTION_SIZE) | ||
| #define MEMORY1_TYPE MEM_AREA_IO_SEC | ||
|
|
||
| /* LOG Area for Normal World */ | ||
| #define MEMORY2_BASE ROUNDDOWN(OPTEE_LOG_NS_BASE, MEM_SECTION_SIZE) | ||
| #define MEMORY2_SIZE (OPTEE_LOG_NS_SIZE) | ||
| #define MEMORY2_TYPE MEM_AREA_RAM_NSEC | ||
|
|
||
| /* HSCIF address map area */ | ||
| #define MEMORY3_BASE ROUNDDOWN(MAP_DEVICE_REG_RCAR_BASE, \ | ||
| MAP_DEVICE_REG_RCAR_SIZE) | ||
| #define MEMORY3_SIZE (MAP_DEVICE_REG_RCAR_SIZE) | ||
| #define MEMORY3_TYPE MEM_AREA_IO_SEC | ||
|
|
||
| /* TA area for verification */ | ||
| #define MEMORY4_BASE ROUNDDOWN(TA_VERIFICATION_BASE, \ | ||
| MEM_SECTION_SIZE) | ||
| #define MEMORY4_SIZE (TA_VERIFICATION_SIZE) | ||
| #define MEMORY4_TYPE MEM_AREA_IO_SEC | ||
|
|
||
| /* Product Register (PRR) */ | ||
| #define MEMORY5_BASE ROUNDDOWN(PRR_BASE, MEM_SECTION_SIZE) | ||
| #define MEMORY5_SIZE (MEM_SECTION_SIZE) | ||
| #define MEMORY5_TYPE MEM_AREA_IO_SEC | ||
|
|
||
| /* Non Cache Stack Area */ | ||
| #define MEMORY6_BASE ROUNDDOWN(NONCACHE_WORK_BASE, \ | ||
| MEM_SECTION_SIZE) | ||
| #define MEMORY6_SIZE (MEM_SECTION_SIZE) | ||
| #define MEMORY6_TYPE MEM_AREA_IO_SEC | ||
|
|
||
| /* ICU FW Share Memory Address Map */ | ||
| #define MEMORY7_BASE ROUNDDOWN(RSIPM_FW_SHMEM_BASE, MEM_SECTION_SIZE) | ||
| #define MEMORY7_SIZE (RSIPM_FW_SHMEM_SIZE) | ||
| #define MEMORY7_TYPE MEM_AREA_IO_SEC | ||
|
|
||
| /* MFIS Address Map */ | ||
| #define MEMORY8_BASE ROUNDDOWN(MFIS_BASE, MEM_SECTION_SIZE) | ||
| #define MEMORY8_SIZE (MEM_SECTION_SIZE) | ||
| #define MEMORY8_TYPE MEM_AREA_IO_SEC | ||
| #endif /* CFG_RCAR_GEN5 */ | ||
|
|
||
| #endif /*PLATFORM_CONFIG_H*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| /* SPDX-License-Identifier: BSD-2-Clause */ | ||
| /* | ||
| * Copyright (c) 2025, Renesas Electronics Corporation | ||
| */ | ||
|
|
||
| #ifndef RCAR_COMMON_H | ||
| #define RCAR_COMMON_H | ||
|
|
||
| #include <string.h> | ||
| #include <platform_config.h> | ||
| #include <kernel/misc.h> | ||
| #include <kernel/panic.h> | ||
| #include <drivers/gic.h> | ||
| #include <arm.h> | ||
| #include <kernel/tee_time.h> | ||
| #include <mm/core_memprot.h> | ||
|
|
||
| /* | ||
| * Convert a physical address to a virtual address with the | ||
| * MEM_AREA_IO_SEC attribute. | ||
| */ | ||
| #define p2v_ioadr(r, len) ((vaddr_t)(phys_to_virt((r), MEM_AREA_IO_SEC, (len)))) | ||
| #define p2v_regadr(r, len) ((phys_to_virt((r), MEM_AREA_IO_SEC, (len)))) | ||
|
|
||
| /* RPC No specific to R-Car */ | ||
| #define TEE_RPC_DEBUG_LOG (0x3F000000U) | ||
|
|
||
| /* Product Register */ | ||
| #define PRR p2v_ioadr(0xFFF00044U, MEMORY5_SIZE) | ||
|
|
||
| /* Debug log output for test confirmation */ | ||
| #ifndef RCAR_TEST_LOG | ||
| #define TMSG(...) ((void)0) | ||
| #else | ||
| #define TMSG(...) trace_printf_helper(TRACE_DEBUG, true, __VA_ARGS__) | ||
| #endif /* RCAR_TEST_LOG */ | ||
|
|
||
| /* | ||
| * Define the information of debug log that communicates between Normal | ||
| * World and Secure World. | ||
| */ | ||
| #define SMC_RCAR_CMD (12345U) | ||
|
|
||
| #define START_DLOG_OUTPUT (1U) | ||
|
|
||
| /* Declaration of global variables */ | ||
| extern uint32_t product_type; | ||
| extern const int8_t *product_name; | ||
| extern uint32_t prr_cut; | ||
| extern uint32_t cpu_on_core_lock; | ||
| extern uint32_t cpu_on_core_bit; | ||
|
|
||
| #endif /* RCAR_COMMON_H */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| /* SPDX-License-Identifier: BSD-2-Clause */ | ||
| /* | ||
| * Copyright (c) 2025, Renesas Electronics Corporation. | ||
| */ | ||
|
|
||
| #ifndef RCAR_VERSION_H | ||
| #define RCAR_VERSION_H | ||
|
|
||
| #include <stdint.h> | ||
|
|
||
| #define VERSION_OF_RENESAS "1.0.0" | ||
|
|
||
| #endif /* RCAR_VERSION_H */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| global-incdirs-y += . | ||
| srcs-y += main.c |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not secure at all. You always initialize RNG with the same state.