SVNews r327524

NOTE: This service is experimental and subject to change! Use at your own risk!

2018-01-03 17:40:51 - r327524 by jhb (John Baldwin)

Complete list of files affected by revision r327524:

(Note: At the moment, these links point to ViewVC on svn.freebsd.org. They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/stand/mips/beri/common/sdcard.c  
  History   Contents   Diff   MODIFY   /head/stand/mips/beri/loader/main.c  

Commit message:

Use 'extern uint8_t' instead of 'extern void' for external symbols.

The beri boot loaders depend on symbols defined in linker scripts or
assembly files. The boot loaders do not care about the type of these
symbols but just want to extract a pointer to them. Older versions of
GCC permitted external symbols to be declared of type 'void' and then
'&foo' generated a void pointer to the memory at the symbol's address.
However, void objects are not valid C and newer versions of GCC error if
these are used. Instead, declare these symbols as being bytes (or
an array of bytes in the cheri_sdcard_vaddr case).

Sponsored by: DARPA / AFRL

 


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 2 ms, 2 files printed. Current time is 2018-01-19 09:36:48. All times are in UTC/GMT.