From owner-p4-projects@FreeBSD.ORG Wed Apr 23 15:30:16 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id F2A8037B404; Wed, 23 Apr 2003 15:30:15 -0700 (PDT) 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 8C12C37B401 for ; Wed, 23 Apr 2003 15:30:15 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2205743F85 for ; Wed, 23 Apr 2003 15:30:15 -0700 (PDT) (envelope-from peter@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h3NMUE0U030745 for ; Wed, 23 Apr 2003 15:30:14 -0700 (PDT) (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3NMUEh1030740 for perforce@freebsd.org; Wed, 23 Apr 2003 15:30:14 -0700 (PDT) Date: Wed, 23 Apr 2003 15:30:14 -0700 (PDT) Message-Id: <200304232230.h3NMUEh1030740@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 29556 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: Wed, 23 Apr 2003 22:30:17 -0000 http://perforce.freebsd.org/chv.cgi?CH=29556 Change 29556 by peter@peter_daintree on 2003/04/23 15:29:41 pass arg0 for _start in a register. Affected files ... .. //depot/projects/hammer/sys/x86_64/x86_64/machdep.c#74 edit Differences ... ==== //depot/projects/hammer/sys/x86_64/x86_64/machdep.c#74 (text+ko) ==== @@ -475,6 +475,7 @@ bzero((char *)regs, sizeof(struct trapframe)); regs->tf_rip = entry; regs->tf_rsp = stack; + regs->tf_rdi = stack; /* argv */ regs->tf_rflags = PSL_USER | (regs->tf_rflags & PSL_T); regs->tf_ss = _udatasel; regs->tf_cs = _ucodesel;