From owner-p4-projects@FreeBSD.ORG Fri Nov 5 23:16:13 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 2DDBD16A4DD; Fri, 5 Nov 2004 23:16:13 +0000 (GMT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7634316A4DF for ; Fri, 5 Nov 2004 23:16:12 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63E5C43D1D for ; Fri, 5 Nov 2004 23:16:12 +0000 (GMT) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id iA5NGCX8040490 for ; Fri, 5 Nov 2004 23:16:12 GMT (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id iA5NGCox040486 for perforce@freebsd.org; Fri, 5 Nov 2004 23:16:12 GMT (envelope-from peter@freebsd.org) Date: Fri, 5 Nov 2004 23:16:12 GMT Message-Id: <200411052316.iA5NGCox040486@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to peter@freebsd.org using -f From: Peter Wemm To: Perforce Change Reviews Subject: PERFORCE change 64387 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2004 23:16:14 -0000 http://perforce.freebsd.org/chv.cgi?CH=64387 Change 64387 by peter@peter_daintree on 2004/11/05 23:15:36 make this stuff actually compile. Affected files ... .. //depot/projects/hammer/lib/libc/i386/sys/_amd64_get_fsbase.c#2 edit .. //depot/projects/hammer/lib/libc/i386/sys/_amd64_get_gsbase.c#2 edit .. //depot/projects/hammer/lib/libc/i386/sys/_amd64_set_fsbase.c#2 edit .. //depot/projects/hammer/lib/libc/i386/sys/_amd64_set_gsbase.c#2 edit Differences ... ==== //depot/projects/hammer/lib/libc/i386/sys/_amd64_get_fsbase.c#2 (text+ko) ==== @@ -27,6 +27,7 @@ #include __FBSDID("$FreeBSD: src/lib/libc/amd64/sys/amd64_get_fsbase.c,v 1.2 2004/01/09 16:52:09 nectar Exp $"); +#include #include int @@ -36,7 +37,7 @@ int ret; addr64 = 0; - ret = sysarch(AMD64_GET_FSBASE, (void **)(&addr64)); + ret = sysarch(_AMD64_GET_FSBASE, (void **)(&addr64)); if (ret != -1) *addr = (void *)(uintptr_t)addr64; return ret; ==== //depot/projects/hammer/lib/libc/i386/sys/_amd64_get_gsbase.c#2 (text+ko) ==== @@ -27,6 +27,7 @@ #include __FBSDID("$FreeBSD: src/lib/libc/amd64/sys/amd64_get_gsbase.c,v 1.2 2004/01/09 16:52:09 nectar Exp $"); +#include #include int @@ -36,7 +37,7 @@ int ret; addr64 = 0; - ret = sysarch(AMD64_GET_GSBASE, (void **)(&addr64)); + ret = sysarch(_AMD64_GET_GSBASE, (void **)(&addr64)); if (ret != -1) *addr = (void *)(uintptr_t)addr64; return ret; ==== //depot/projects/hammer/lib/libc/i386/sys/_amd64_set_fsbase.c#2 (text+ko) ==== @@ -33,5 +33,5 @@ _amd64_set_fsbase(void *addr) { - return (sysarch(AMD64_SET_FSBASE, &addr)); + return (sysarch(_AMD64_SET_FSBASE, &addr)); } ==== //depot/projects/hammer/lib/libc/i386/sys/_amd64_set_gsbase.c#2 (text+ko) ==== @@ -33,5 +33,5 @@ _amd64_set_gsbase(void *addr) { - return (sysarch(AMD64_SET_GSBASE, &addr)); + return (sysarch(_AMD64_SET_GSBASE, &addr)); }