Deleted Added
full compact
machdep.c (774) machdep.c (778)
1/*-
2 * Copyright (c) 1992 Terrence R. Lambert.
3 * Copyright (c) 1982, 1987, 1990 The Regents of the University of California.
4 * All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * William Jolitz.
8 *

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

30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 * SUCH DAMAGE.
36 *
37 * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
1/*-
2 * Copyright (c) 1992 Terrence R. Lambert.
3 * Copyright (c) 1982, 1987, 1990 The Regents of the University of California.
4 * All rights reserved.
5 *
6 * This code is derived from software contributed to Berkeley by
7 * William Jolitz.
8 *

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

30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 * SUCH DAMAGE.
36 *
37 * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
38 * $Id: machdep.c,v 1.16 1993/11/13 02:25:02 davidg Exp $
38 * $Id: machdep.c,v 1.17 1993/11/16 09:54:47 davidg Exp $
39 */
40
41#include "npx.h"
42#include "isa.h"
43
44#include <stddef.h>
45#include "param.h"
46#include "systm.h"

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

808unsigned char ldt[5][DESCRIPTOR_SIZE];
809#define LSYS5CALLS_SEL 0 /* forced by intel BCS */
810#define LSYS5SIGR_SEL 1
811
812#define L43BSDCALLS_SEL 2 /* notyet */
813#define LUCODE_SEL 3
814#define LUDATA_SEL 4
815/* seperate stack, es,fs,gs sels ? */
39 */
40
41#include "npx.h"
42#include "isa.h"
43
44#include <stddef.h>
45#include "param.h"
46#include "systm.h"

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

808unsigned char ldt[5][DESCRIPTOR_SIZE];
809#define LSYS5CALLS_SEL 0 /* forced by intel BCS */
810#define LSYS5SIGR_SEL 1
811
812#define L43BSDCALLS_SEL 2 /* notyet */
813#define LUCODE_SEL 3
814#define LUDATA_SEL 4
815/* seperate stack, es,fs,gs sels ? */
816/* #define LPOSIXCALLS_SEL 5 /* notyet */
816/* #define LPOSIXCALLS_SEL 5*/ /* notyet */
817
818struct i386tss tss, panic_tss;
819
820extern struct user *proc0paddr;
821
822/* software prototypes -- in more palatable form */
823struct soft_segment_descriptor gdt_segs[] = {
824 /* Null Descriptor */

--- 651 unchanged lines hidden ---
817
818struct i386tss tss, panic_tss;
819
820extern struct user *proc0paddr;
821
822/* software prototypes -- in more palatable form */
823struct soft_segment_descriptor gdt_segs[] = {
824 /* Null Descriptor */

--- 651 unchanged lines hidden ---