misc: Merge branch v21.0.0.0 into develop
This incorporates the last of the v21.0 staging branch changes into the develop branch. Change-Id: I89349ac5c52fd454eb87d6199ea5ccde0d50dda3
This commit is contained in:
@@ -78,10 +78,10 @@ def create_system(options, full_system, system, dma_ports, bootmem,
|
||||
dma_cntrl_nodes = []
|
||||
|
||||
assert (options.num_cpus % options.num_clusters == 0)
|
||||
num_cpus_per_cluster = options.num_cpus / options.num_clusters
|
||||
num_cpus_per_cluster = options.num_cpus // options.num_clusters
|
||||
|
||||
assert (options.num_l2caches % options.num_clusters == 0)
|
||||
num_l2caches_per_cluster = options.num_l2caches / options.num_clusters
|
||||
num_l2caches_per_cluster = options.num_l2caches // options.num_clusters
|
||||
|
||||
l2_bits = int(math.log(num_l2caches_per_cluster, 2))
|
||||
block_size_bits = int(math.log(options.cacheline_size, 2))
|
||||
|
||||
Reference in New Issue
Block a user