答复: Ecartis command results: appsub kernelnewbies FuXinRong@xxxxxxxxxxxx 4A71650B:26CF.1:xrearyarjovrf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,everybody.
I don't know why use the "stmia	sp, {r0, lr}" instruction rather than "stmda sp, {r0, lr}" in the macros "vector_stub" defined in file "arch/arm/kernel/entry-armv.S".

becaue the "sp" register is point to the kernel stack top.
The "sp" register is initialized with "init_thread_union + THREAD_START_SP" 

Kernel stack:
=======================================================================
Lower address										higher address
| init_thread_union|				<-------stack content--------|
								sp
|<----------------------------8K bytes--------------------------->|
=======================================================================

According to the Kernel stack mechanism,I think that it should be "stmda sp, {r0, lr}" and the SP should decrement.

-----邮件原件-----
发件人: Ecartis [mailto:ecartis@xxxxxxxxxxxx] 
发送时间: 2009年7月30日 17:39
收件人: 付新荣
主题: Ecartis command results: appsub kernelnewbies FuXinRong@xxxxxxxxxxxx 4A71650B:26CF.1:xrearyarjovrf


List context changed to 'kernelnewbies' by following command.
>> appsub kernelnewbies FuXinRong@xxxxxxxxxxxx 4A71650B:26CF.1:xrearyarjovrf
Subscribed.

---
Ecartis v1.0.0 - job execution complete.


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux