Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/pnpbios catch up with i386 rename of gdt to gd...
details: https://anonhg.NetBSD.org/src/rev/b935eef1527b
branches: trunk
changeset: 351765:b935eef1527b
user: maya <maya%NetBSD.org@localhost>
date: Sun Feb 26 10:49:25 2017 +0000
description:
catch up with i386 rename of gdt to gdtstore
fixes i386 ALL kernel build (pnpbios is disabled in GENERIC)
diffstat:
sys/arch/i386/pnpbios/pnpbios.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (37 lines):
diff -r f38c219253c5 -r b935eef1527b sys/arch/i386/pnpbios/pnpbios.c
--- a/sys/arch/i386/pnpbios/pnpbios.c Sun Feb 26 10:26:19 2017 +0000
+++ b/sys/arch/i386/pnpbios/pnpbios.c Sun Feb 26 10:49:25 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pnpbios.c,v 1.72 2013/10/13 06:55:34 riz Exp $ */
+/* $NetBSD: pnpbios.c,v 1.73 2017/02/26 10:49:25 maya Exp $ */
/*
* Copyright (c) 2000 Jason R. Thorpe. All rights reserved.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pnpbios.c,v 1.72 2013/10/13 06:55:34 riz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pnpbios.c,v 1.73 2017/02/26 10:49:25 maya Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -332,14 +332,14 @@
}
pnpbios_scratchbuf = malloc(PNPBIOS_BUFSIZE, M_DEVBUF, M_NOWAIT);
- setsegment(&gdt[GPNPBIOSCODE_SEL].sd, codeva, 0xffff,
+ setsegment(&gdtstore[GPNPBIOSCODE_SEL].sd, codeva, 0xffff,
SDT_MEMERA, SEL_KPL, 0, 0);
- setsegment(&gdt[GPNPBIOSDATA_SEL].sd, datava, 0xffff,
+ setsegment(&gdtstore[GPNPBIOSDATA_SEL].sd, datava, 0xffff,
SDT_MEMRWA, SEL_KPL, 0, 0);
- setsegment(&gdt[GPNPBIOSSCRATCH_SEL].sd,
+ setsegment(&gdtstore[GPNPBIOSSCRATCH_SEL].sd,
pnpbios_scratchbuf, PNPBIOS_BUFSIZE - 1,
SDT_MEMRWA, SEL_KPL, 0, 0);
- setsegment(&gdt[GPNPBIOSTRAMP_SEL].sd,
+ setsegment(&gdtstore[GPNPBIOSTRAMP_SEL].sd,
pnpbiostramp, epnpbiostramp - pnpbiostramp - 1,
SDT_MEMERA, SEL_KPL, 1, 0);
Home |
Main Index |
Thread Index |
Old Index