7b54d275 kd Sept. 29, 2022, 10:52 a.m.
Follow the convention with *_DEBUG macros in stand/libsa/* and replace
"#if" with "#ifdef".

Reviewed by:	kd
Obtained from:	Semihalf
Differential Revision: https://reviews.freebsd.org/D36740
cgit
c66c6da4 kd Sept. 29, 2022, 10:51 a.m.
Change printf format string to avoid compilation failure when
ARP_DEBUG macro is defined.

Reviewed by:	imp
Obtained from:	Semihalf
Differential Revision: https://reviews.freebsd.org/D36735
cgit
ee0d06fa kd Sept. 29, 2022, 10:51 a.m.
Change the casted type and printf format string to avoid compilation
failure when RARP_DEBUG macro is defined.

Reviewed by:	imp
Obtained from:	Semihalf
Differential Revision: https://reviews.freebsd.org/D36738
cgit
1ed79161 kd Sept. 29, 2022, 10:51 a.m.
Change printf format string to avoid compilation failure when
RARP_DEBUG macro is defined.

Reviewed by:	imp
Obtained from:	Semihalf
Differential Revision: https://reviews.freebsd.org/D36739
cgit
10d87233 ume Sept. 29, 2022, 10:57 a.m.
6cf00ef8 whu Sept. 29, 2022, 10:14 a.m.
The changes are to refactor the code of vmbus.c and hyperv.c to keep minimal
arch specific codes there and have them in separate files in x86/ arm64/ .
x86 is a new directory, which contains codes for x86 / x86_64. Instead of
repeating the same codes in existing amd64/ and i386/, this approach reduced
the repetition. This is first of three patches for Hyper-V enablement.

Reviewed by:	whu
Tested by:	Souradeep Chakrabarti <schakrabarti@microsoft.com>
Sponsored by:	Microsoft
Differential Revision:	https://reviews.freebsd.org/D36466
cgit
221da3e9 mckusick Sept. 29, 2022, 8:45 a.m.
While syntactically correct and even looking correct, it was definitely
not providing the desired result. And it has been this way for nearly
twenty years.

MFC after:    2 weeks
Sponsored by: The FreeBSD Foundation
cgit
8d2c1393 np Sept. 29, 2022, 3:01 a.m.
The tids used for TOE connections start from tid_base, not 0.

MFC after:	1 week
Sponsored by:	Chelsio Communications
cgit
536f7d84 jhb Sept. 28, 2022, 9:06 p.m.
Reviewed by:	emaste
Reported by:	GCC -Warray-parameter
Differential Revision:	https://reviews.freebsd.org/D36762
cgit
157436dc jhb Sept. 28, 2022, 9:05 p.m.
Reviewed by:	imp, emaste
Reported by:	GCC -Warray-parameter
Differential Revision:	https://reviews.freebsd.org/D36761
cgit
10297a9e jhb Sept. 28, 2022, 9:05 p.m.
Reviewed by:	imp, jilles, emaste
Reported by:	GCC -Warray-parameter
Differential Revision:	https://reviews.freebsd.org/D36760
cgit
5ceec6c1 jhb Sept. 28, 2022, 9:04 p.m.
Reviewed by:	imp, emaste
Reported by:	GCC -Warray-parameter
Differential Revision:	https://reviews.freebsd.org/D36759
cgit
5d27845e jhb Sept. 28, 2022, 9:02 p.m.
Reviewed by:	imp, emaste
Differential Revision:	https://reviews.freebsd.org/D36758
cgit
a2e41a58 jhb Sept. 28, 2022, 9:01 p.m.
Various RPC functions used a bare pointer in function prototypes to
describe fixed-length buffer arguments but used a fixed-length array
in the function definition.  The manual page for these functions
describes the parameters as being fixed-length buffers, so update
the prototypes to match the definitions.

Reviewed by:	imp, emaste
Reported by:	GCC -Warray-parameter
Differential Revision:	https://reviews.freebsd.org/D36757
cgit
409dae26 jhb Sept. 28, 2022, 9:01 p.m.
This variable expands to -Wno-array-parameter on GCC 11+.

Reviewed by:	imp, emaste
Differential Revision:	https://reviews.freebsd.org/D36756
cgit