aboutsummaryrefslogtreecommitdiff
path: root/tools/tools/ncpus/ncpus.c
blob: 0f4498f095baa9d8f981eab4e80b276eb337e9d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* $FreeBSD$ */

#include <stdio.h>

extern int acpi_detect(void);
extern int biosmptable_detect(void);

int
main(void)
{
	printf("acpi: %d\n", acpi_detect());
#if defined(__amd64__) || defined(__i386__)
	printf("mptable: %d\n", biosmptable_detect());
#endif
	return 0;
}