Happy shrimp
Http://blog.csdn.net/lights_joy/
Lights@hb165.com
This article applies
ADSP-BF561
Visual DSP ++ 5.0 (update 7)
Reprinted, but keep the author information
When the vdsp processes the Untitled union in the struct, there is a bug, as shown in the following struct:
Struct restart_block {
Long (* fN) (struct restart_block *);
Union {
Struct {
Unsigned long arg0, arg1, arg2, arg3;
};
/* For futex_wait */
Struct {
U32 * uaddr;
U32 val;
U32 flags;
U32 bitset;
U64 time;
} Futex;
/* For nanosleep */
Struct {
Clockid_t index;
Struct timespec _ User * rmtp;
U64 expires;
} Nanosleep;
/* For poll */
Struct {
Struct pollfd _ User * ufds;
Int NFDs;
Int has_timeout;
Unsigned long TV _sec;
Unsigned long TV _nsec;
} Poll;
};
};
In the vdsp debugger, you will not see the Untitled Union value, just like this:
But when we give this untitled union a name, it's Okay:
Recently, my 6-year-old girl took part in the sixth pop National Children's English style competition, canvassing in progress (Before ).
Click the link of the New Oriental Website:
Http://popdasai.xdf.cn/toupiao.php? Do = Space & UUID = 4237
Vote for her. Thank you!