Port X.Org to FreeBSD/powerpc. This makes a bit of math for sysmouse in
mouse.c explicitly signed, avoiding the need for -fsigned-chars. (Peter Grehan, grehan at FreeBSD dot org)
This commit is contained in:
parent
6700847458
commit
d5739efd2c
@ -1074,7 +1074,7 @@ xf86WriteMmio32Be(__volatile__ void *base, const unsigned long offset,
|
||||
# define write_mem_barrier() /* NOP */
|
||||
# endif /* __arm32__ */
|
||||
|
||||
# elif (defined(Lynx) || defined(linux) || defined(__OpenBSD__) || defined(__NetBSD__)) && defined(__powerpc__)
|
||||
# elif (defined(Lynx) || defined(linux) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__)) && defined(__powerpc__)
|
||||
|
||||
# ifndef MAP_FAILED
|
||||
# define MAP_FAILED ((void *)-1)
|
||||
|
@ -552,8 +552,8 @@ _LoaderFileToMem(int fd, unsigned long offset, int size, char *label)
|
||||
FatalError("\n_LoaderFileToMem() read() failed: %s\n",
|
||||
strerror(errno));
|
||||
|
||||
# if (defined(linux) || defined(__NetBSD__) || defined(__OpenBSD__)) \
|
||||
&& defined(__powerpc__)
|
||||
# if (defined(linux) || defined(__NetBSD__) || defined(__OpenBSD__) \
|
||||
|| defined(__FreeBSD__)) && defined(__powerpc__)
|
||||
/*
|
||||
* Keep the instruction cache in sync with changes in the
|
||||
* main memory.
|
||||
|
@ -284,7 +284,7 @@
|
||||
# define ARCH_PCI_INIT linuxPciInit
|
||||
# define INCLUDE_XF86_MAP_PCI_MEM
|
||||
# define INCLUDE_XF86_NO_DOMAIN /* Needs kernel work to remove */
|
||||
# elif defined(__OpenBSD__)
|
||||
# elif defined(__FreeBSD__) || defined(__OpenBSD__)
|
||||
# define ARCH_PCI_INIT freebsdPciInit
|
||||
# define INCLUDE_XF86_MAP_PCI_MEM
|
||||
# define INCLUDE_XF86_NO_DOMAIN
|
||||
|
Loading…
Reference in New Issue
Block a user