Skip to content
Snippets Groups Projects
  1. Oct 03, 2017
  2. Nov 09, 2015
    • Måns Rullgård's avatar
      Replace "extern inline" with "static inline" · 44d0677a
      Måns Rullgård authored
      
      A number of headers define functions as "extern inline" which is
      causing problems with gcc5.  The reason is that starting with
      version 5.1, gcc defaults to the standard C99 semantics for the
      inline keyword.
      
      Under the traditional GNU inline semantics, an "extern inline"
      function would never create an external definition, the same
      as inline *without* extern in C99.  In C99, and "extern inline"
      definition is simply an external definition with an inline hint.
      In short, the meanings of inline with and without extern are
      swapped between GNU and C99.
      
      The upshot is that all these definitions in header files create
      an external definition wherever those headers are included,
      resulting in multiple definition errors at link time.
      
      Changing all these functions to "static inline" fixes the problem
      since this works as desired in all gcc versions.  Although the
      semantics are slightly different (a static inline definition may
      result in an actual function being emitted), it works as intended
      in practice.
      
      This patch also removes extern prototype declarations for the
      changed functions where they existed.
      
      Signed-off-by: default avatarMans Rullgard <mans@mansr.com>
      44d0677a
  3. Jun 19, 2014
  4. Jul 24, 2013
  5. Sep 20, 2012
  6. Sep 04, 2011
  7. Apr 13, 2010
  8. Aug 26, 2009
  9. Dec 15, 2008
    • Kumar Gala's avatar
      Introduce virt_to_phys() · 65e43a10
      Kumar Gala authored
      
      virt_to_phys() returns the physical address given a virtual. In most
      cases this will be just the input value as the vast majority of
      systems run in a 1:1 mode.
      
      However in systems that are not running this way it should report the
      physical address or ~0 if no mapping exists for the given virtual
      address.
      
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      65e43a10
  10. Apr 14, 2008
  11. Jan 17, 2008
  12. Dec 13, 2007
    • Haavard Skinnemoen's avatar
      Introduce map_physmem() and unmap_physmem() · 4d7d6936
      Haavard Skinnemoen authored
      
      map_physmem() returns a virtual address which can be used to access a
      given physical address without involving the cache. unmap_physmem()
      should be called when the virtual address returned by map_physmem() is
      no longer needed.
      
      This patch adds a stub implementation which simply returns the
      physical address cast to a uchar * for all architectures except AVR32,
      which converts the physical address to an uncached virtual mapping.
      unmap_physmem() is a no-op on all architectures, but if any
      architecture needs to do such mappings through the TLB, this is the
      hook where those TLB entries can be invalidated.
      
      Signed-off-by: default avatarHaavard Skinnemoen <hskinnemoen@atmel.com>
      4d7d6936
    • Haavard Skinnemoen's avatar
      Implement __raw_{read,write}[bwl] on all architectures · 812711ce
      Haavard Skinnemoen authored
      
      This adds implementations of __raw_read[bwl] and __raw_write[bwl] to
      m68k, ppc, nios and nios2. The m68k and ppc implementations were taken
      from Linux.
      
      Signed-off-by: default avatarHaavard Skinnemoen <hskinnemoen@atmel.com>
      812711ce
  13. Aug 16, 2007
  14. Aug 08, 2007
  15. Jul 10, 2007
  16. Jun 18, 2007
    • TsiChung Liew's avatar
      Added M5329AFEE and M5329BFEE Platforms · 8e585f02
      TsiChung Liew authored
      
      Added board/freescale/m5329evb, cpu/mcf532x, drivers/net,
      drivers/serial,  immap_5329.h, m5329.h, mcfrtc.h,
      include/configs/M5329EVB.h, lib_m68k/interrupts.c, and
      rtc/mcfrtc.c
      
      Modified CREDITS, MAKEFILE, Makefile, README, common/cmd_bdinfo.c,
      common/cmd_mii.c, include/asm-m68k/byteorder.h, include/asm-m68k/fec.h,
      include/asm-m68k/io.h, include/asm-m68k/mcftimer.h,
      include/asm-m68k/mcfuart.h, include/asm-m68k/ptrace.h,
      include/asm-m68k/u-boot.h, lib_m68k/Makefile, lib_m68k/board.c,
      lib_m68k/time.c, net/eth.c and rtc/Makefile
      
      Signed-off-by: default avatarTsiChung Liew <Tsi-Chung.Liew@freescale.com>
      8e585f02
  17. Feb 21, 2007
  18. Dec 08, 2003
Loading