Uclinux-2008r1-rc8 (bf561) to VDSP5 transplantation (in):. rept

Source: Internet
Author: User

In Arch/blackfin/mach-common/entry. There are several lines in S:

.rept NR_syscalls-(.-_sys_call_table)/4
.long _sys_ni_syscall
.endr

Here the value of the nr_syscalls is

#define __NR_syscall  357
#define NR_syscalls   __NR_syscall

The (.-_sys_call_table)/4 calculates the currently defined number of entries, with a value of 357, so there is no need to repeat the definition here, and the three lines are commented out directly.

Below, there are several lines that define:

_exception_stack:
.rept 1024
.long 0;
.endr
_exception_stack_top:

is simply to define a buffer, which is changed directly to:

_exception_stack:
//     .rept 1024
//     .long 0;
//     .endr
       .byte4 _exception_stack_buffer[1024];
_exception_stack_top:

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.