Hi,
The start address of the Code section (or Text section) is 0x0804_8000.
Code:
struct mm_struct *mm = NULL;
printk("mm->start_code: %x\n", (unsigned int)mm->start_code);
the output is the following...
Code:
mm->start_code: 8048000
and refer to the following...
Code:
# cat /proc/1/maps
08048000-08050000 r-xp 00000000 03:01 1673 /sbin/init
08050000-08051000 rw-p 00007000 03:01 1673 /sbin/init
08051000-08072000 rw-p 08051000 00:00 0 [heap]
...
# pmap -x 1
1: init [2]
Address Kbytes RSS Anon Locked Mode Mapping
08048000 32 - - - r-x-- init
08050000 4 - - - rw--- init
08051000 132 - - - rw--- [ anon ]
...
#
The Code section (or Text section) starts at 0x0804_8000.
Then, what is in the area 0x0000_0000 - 0x0804_8000?
What is this area 0x0000_0000 - 0x0804_8000 for?
Thank you.