From owner-p4-projects@FreeBSD.ORG Wed Sep 22 00:55:20 2004 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 35CD716A4D0; Wed, 22 Sep 2004 00:55:20 +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 1089216A4CE for ; Wed, 22 Sep 2004 00:55:20 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03B8143D2F for ; Wed, 22 Sep 2004 00:55:19 +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 i8M0tJ9m089307 for ; Wed, 22 Sep 2004 00:55:19 GMT (envelope-from peter@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i8M0tJSS089304 for perforce@freebsd.org; Wed, 22 Sep 2004 00:55:19 GMT (envelope-from peter@freebsd.org) Date: Wed, 22 Sep 2004 00:55:19 GMT Message-Id: <200409220055.i8M0tJSS089304@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 61917 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, 22 Sep 2004 00:55:20 -0000 http://perforce.freebsd.org/chv.cgi?CH=61917 Change 61917 by peter@peter_daintree on 2004/09/22 00:54:32 move kld preload support entry Affected files ... .. //depot/projects/hammer/TODO.txt#17 edit Differences ... ==== //depot/projects/hammer/TODO.txt#17 (text+ko) ==== @@ -1,4 +1,4 @@ -$P4: //depot/projects/hammer/TODO.txt#16 $ +$P4: //depot/projects/hammer/TODO.txt#17 $ reread the logs etc and check out the "XXX worry about this later" stuff @@ -7,11 +7,6 @@ USER_LDT (however, there is a syscall to set the %fs and %gs base values to arbitary 64 bit addresses). -kld preload support, teach the loader how to read new-style .ko files, -as well as kldxref. kldxref should be easy, it should be able to just -read the modmetadata section directly, apply the relocs for that section, -and use that to find the pointers to the other sections. - ddb (needs a dwarf2 based unwinder to get stack traces and a disassembler) (peter: basic functionality, uses -fno-omit-frame-pointer.. disassembler still expects 32 bit code but compiles) @@ -101,3 +96,9 @@ crashdumps teach libkvm about crashdumps. (need to lookup KPML4, 4 level page tree etc) + +kld preload support, teach the loader how to read new-style .ko files, +as well as kldxref. kldxref should be easy, it should be able to just +read the modmetadata section directly, apply the relocs for that section, +and use that to find the pointers to the other sections. +