I have an SMP machine, so after installing the GENERIC version of FreeBSD 4.7, I
created my own version of the kernel that included SMP support and DDB.
Being a device driver writer, I created my Makefile just as perscribed, but when I
compiled my code, the SMP define was not set. It appears tha
>>
I'm not sure what the problem is here, but could it be that the build is picking up
the wrong set of includes? After you built the SMP kernel, did you copy kernel to / or
did you do a make install? I've built at least a SCSI driver for 4.7 for a SMP machine
and don't remember having to do any
I would like to be able to map memory before I have a device to work with (to read
system BIOS information or mess with the video buffer). Is this possible? In linux, I
would just call ioremap_nocache or request region. Is there a way to use
bus_alloc_resource or something similar to accomplish
After sending my first note, I found pmap_mapdev. Anything wrong with using that?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
[EMAIL PROTECTED] writes
>> You may also want to consider pmap_map. It depends on what your >>requirements are?
while Bruce M Simpson [EMAIL PROTECTED] writes
>>It's quite evil and not machine independent..avoid.
-Who is right? (I like Juli's answer and she has FreeBSD.org in her name :) )
-W
John Baldwin <[EMAIL PROTECTED]> wrote:
>> The problem is that the RAM could be used out from under you. You need to reserve
>> it in the VM somehow. I'm not sure how you would accomplish that.
The areas I said I would map would not be used by the OS for virtual memory pages.
BIOS, UMB, Video
John Baldwin <[EMAIL PROTECTED]> wrote:
>> The first 1 meg of memory is 1:1 mapped at KERNBASE. IOW, you can get to the BIOS
>> at KERNBASE + 0xc. That should cover these first two items.
Even on non-i386 machines?
I guess it really doesn't matter since I am reading the BIOS area to dete
I am currently developing on FreeBSD 4.8 with gcc 2.95.3. Is there any problem
upgrading to a newer version of GCC to use for compiling device drivers? I want to get
unnamed structure support.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/
I want to be able to send IOCTL commands to standard devices (fdd,cdrom,kbd) from my
kernel driver. Whereas I can do reads and writes using the vn_rdwr commands, how do I
do IOCTLS? VOP_IOCTL keeps giving me EINVAL when I try to send the DIOCGDINFO IOCTL.
My code is basically
NDINIT(&_VdFloppyN
In linux, there are two functions specifically for removable media drivers (like
floppy & cdrom), namely, check_media_change and revalidate.
Is there a corresponding set of functions in FreeBSD? How do you tell if a diskette
has changed?
___
[EMAIL PR
10 matches
Mail list logo