mptable.c (ec175ced969ee712cc7b33bdf6e4b8448ae46314) mptable.c (7ffc1f408b4f44b1c1e88c088680790cdd61f53f)
1/*
2 * Copyright (c) 1996, by Steve Passe
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 15 unchanged lines hidden (view full) ---

24 */
25
26/*
27 * mptable.c
28 */
29
30#ifndef lint
31static const char rcsid[] =
1/*
2 * Copyright (c) 1996, by Steve Passe
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 15 unchanged lines hidden (view full) ---

24 */
25
26/*
27 * mptable.c
28 */
29
30#ifndef lint
31static const char rcsid[] =
32 "$Id$";
32 "$Id: mptable.c,v 1.9 1997/09/25 06:47:33 charnier Exp $";
33#endif /* not lint */
34
35#define VMAJOR 2
36#define VMINOR 0
37#define VDELTA 15
38
39/*
40 * this will cause the raw mp table to be dumped to /tmp/mpdump
41 *
42#define RAW_DUMP
43 */
44
45#define MP_SIG 0x5f504d5f /* _MP_ */
46#define EXTENDED_PROCESSING_READY
47#define OEM_PROCESSING_READY_NOT
48
33#endif /* not lint */
34
35#define VMAJOR 2
36#define VMINOR 0
37#define VDELTA 15
38
39/*
40 * this will cause the raw mp table to be dumped to /tmp/mpdump
41 *
42#define RAW_DUMP
43 */
44
45#define MP_SIG 0x5f504d5f /* _MP_ */
46#define EXTENDED_PROCESSING_READY
47#define OEM_PROCESSING_READY_NOT
48
49#include <sys/types.h>
49#include <err.h>
50#include <fcntl.h>
51#include <stdio.h>
52#include <stdlib.h>
53#include <string.h>
54#include <unistd.h>
50#include <err.h>
51#include <fcntl.h>
52#include <stdio.h>
53#include <stdlib.h>
54#include <string.h>
55#include <unistd.h>
55#include <sys/types.h>
56
56
57#include <machine/types.h>
58
59
60#define SEP_LINE \
61"\n-------------------------------------------------------------------------------\n"
62
63#define SEP_LINE2 \
64"\n===============================================================================\n"
65
66/* EBDA is @ 40:0e in real-mode terms */
67#define EBDA_POINTER 0x040e /* location of EBDA pointer */

--- 1066 unchanged lines hidden ---
57#define SEP_LINE \
58"\n-------------------------------------------------------------------------------\n"
59
60#define SEP_LINE2 \
61"\n===============================================================================\n"
62
63/* EBDA is @ 40:0e in real-mode terms */
64#define EBDA_POINTER 0x040e /* location of EBDA pointer */

--- 1066 unchanged lines hidden ---