-arm/mach/arch.h file. The __attribute__ ((__section__ (". Arch.info.init")) statement means that all MACHINE_DESC structures are stored in the ". Arch.info.init" segment, and they are organized together when the kernel is connected. The start address is __arch_info_begin and the end address is __arch_info_end. You can see it from the connection script Arch/arm/kernel/vmlinux.lds. - __arch_info_begin = .; #.arch.info.init segment Start address (dynamically determined at connecti
short pointers are respectively used to point to the position of the p+3, which is 0x10963 after compilation, and is clearly an address that is not aligned to long and short.The output of the program is as follows, the parentheses are the contents, the front is the address./mnt $./testL 0x10963 (0x30201040), S 0x10963 (0x5040), Lt 0x30201040, St 0x5040
Disassembly of the executable file using the Arm-linux-objdump tool found that for a reference to a short pointer, the compiler did special proc
eliminate non-aligned access poses problemsYou can also see non-aligned Access and aligned access instruction differences leading to efficiency issues}Nine. Consequences of misaligned access to borders under armFrom http://blog.csdn.net/alenwelkin/archive/2006/12/19/1448324.aspxWrote a program by itself, defining a char array as follows:Char p[] = {0x10, 0x20, 0x30, 0x40, 0x50, 0x60, 0x70, 0x80};Using long and short pointers to the location of the p+3, this address is 0x10963 after compilation,
() != obj.getClass())return false;final RectObject other = (RectObject)obj;if(x != other.x){return false;}if(y != other.y){return false;}return true;}}We have rewritten the hashCode and equals methods in the parent class Object. We can see that in the hashCode and equals methods, if the x and y values of the two RectObject objects are equal, their hashCode values are equal, at the same time, equals returns true;
The following is the test code:
package com.weijia.demo;import java.util.HashSet;p
difference between misaligned access and alignment access results in an efficiency problem}
Nine. The consequences of an misaligned access to the border under armFrom http://blog.csdn.net/alenwelkin/archive/2006/12/19/1448324.aspx
You have written a program that defines a char array as follows:Char p[] = {0x10, 0x20, 0x30, 0x40, 0x50, 0x60, 0x70, 0x80};
The long and short pointers are respectively used to point to the position of the p+3, which is 0x10963 after compilation, and is clearly an ad
exception ). The main cause of DSI exceptions in the kernel is: read some address spaces that cannot be read in MMU and write to address spaces that cannot be written to MMU. In Linux, the MMU page table is deliberately set to generate a DSI exception and then handle the exception. The DSI exception in the above program refers to this. As for the exception handling function, it is a big article. First, record the file and try again later. The flush_icache_range function calls _ flush_icache_ran
!Init_thread_union long + thread_start_sp @ SP29The previous code may be in nor flash to run in XIP mode (in fact, NAND flash can also XIP, but a bit technical barriers), but kernel code can not always run in Flash, the function will be kernel section of the Move and processing!Type __mmap_switched,%function__mmap_switched:R3 ADR, __switch_data + 4//R3 point to __mmap_switched comment Error! R3 point to __d
occur during mutual locks, so you also need to handle the situation of mutual locks. Normally, after saving the relevant registers, the system reads the C6, C5, and C13 registers of CP15. The three registers are the Invalid Address Register (FAR), the invalid status register (FSR), and the process number register (which is not well translated by pcp15), which are then processed based on the specific failure type. In the ARM processor, CP15 has three address types: VA, Pa, and MVA. Va (Virtual A
Analysis of OSPF external routes E1 and E2 1. when ospf publishes an external route to a single asbr, 1.1 the equivalent path in the OSPF domain of a single ASBR re-publishes the rip route on the ospf of r2. When the release type is e2 or e1, there will be two routes on r5, respectively through r3 and r4 to 10.1.1.0 (because they are equal-cost routes, this part is relatively simple, not to mention) regarding the differences between ospf external rout
railway unit mileage.Output descriptionOutput DescriptionA total of n rows, one data per row corresponds to the test data.Sample inputSample Input13 10 1 31 1 1 3 3 1 302 5 7 4 5 2 18 6 8 8 11 6 3Sample outputSample Output47.5/*Pre- treatment of violence and floyed for shortest-circuit pretreatment: expanding n cities into 4*n airfields, Belong[i] indicates which city the first airport belongs to map[][] storage distance between airfields for floyed update*/#include#include#include#include#defi
1. Stub
Prevents the router from sending unwanted query, and when a router is set to a stub, the other routers will not send him query.
You can set which routes to declare (connected, redistributed, static, summary, or receive-only)
2. Stub leaking
---+----------------+----
R1 R2
| |
e0/0| |
R3---------------R4
E0/1 |
---+----
192.168.1.0
R1,R2 the default route to R3,r4,
used to Icache, Scene (2), (3), (4) in the pipeline to refer to the use of Icache.This chapter will give a demonstration sample program in the section, which involves all the usage scenarios of icache. Then combining the demonstration sample program to analyze the working process of icache under the above-mentioned scenarios to understand the Icache code and principle.12.6 Analysis Use CasesThis section presents a demo sample program. All of Icache's usage scenarios are covered. The program exe
Configuring different local priorities affects the routing of BGP, and when a router running BGP has multiple routes to the same destination address, the route with the highest local priority is preferred. By default, the value of the BGP local priority is 100. Local priority attributes are exchanged only between IBGP peers and are not advertised to other as.Usually used for how the packet leaves this as, the larger the higher the priority.On the topology map: R4 and R2
Lab Environment Description:
1. Set the ip address of the Fa0/0 interface of router R1 to 192.168.0.1/24, and the ip address of interface S1/2 To 192.168.1.1/24;
2. Set the ip address of the Fa0/0 interface of router R2 to 192.168.2.2/24, and the ip address of interface S1/2 To 192.168.1.2/24;
3. Set the ip address of the Fa0/0 interface of router R3 to 192.168.0.3/24. Disable the routing function to simulate PC use;
Lab result requirements:
1. Confi
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.