what's the meaning of "%%fs" ?

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

 



hi all:
       the codes is:

extern inline unsigned char get_fs_byte(const char * addr)
{
        unsigned register char _v;

        __asm__ ("movb %%fs:%1,%0":"=r" (_v):"m" (*addr));
        return _v;
}

What's the meaning of "%%fs" ?

Is "  __asm__ ("movb %1,%0":"=r" (_v):"m" (*addr));" not ok?


Thank you.
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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