Skip site navigation (1)Skip section navigation (2)
Date:      07 May 2001 03:55:45 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Rohit Rakshe <rakshe@cs.umn.edu>
Cc:        <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: FPU exception, kernel panic
Message-ID:  <xzpitjdzzvi.fsf@flood.ping.uio.no>
In-Reply-To: <Pine.GSO.4.31.0105051400070.16637-100000@mercury.cs.umn.edu>
References:  <Pine.GSO.4.31.0105051400070.16637-100000@mercury.cs.umn.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Rohit Rakshe <rakshe@cs.umn.edu> writes:
> 1. The code which I added in kernel does not use any floats. So I am
> wondering why this problem should happen at all.

The kernel uses the FPU to optimize certain bcopy- or bzero-like
operations.

> 2. pc register in FPU should give address of the instruction which caused
> this exception, right ?

Possibly.  I'm not very familiar with the FPU.

> 3. If yes, how do I translate this 48 bit address in a linear address
> which gdb can understand ?

You don't.  FreeBSD uses a flat address space, you can disregard the
segment descriptor.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpitjdzzvi.fsf>