I am in the process of porting a Linux device driver to FreeBSD. In Linux, a
large block of RAM (256MB) is reserved by using the 'mem=' and 'memmap='
arguments to the kernel. In the device driver, ioremap() is used to map this
memory into kernel virtual memory. In FreeBSD contigmalloc() is available
but due to the large amount of physical memory required this may not work
reliably. Is there an existing method to reserve a large block of RAM early
in the boot process?
regards,
jacques
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
Re: kern/99979: Get Ready for Kernel Module in C++ ... We can judge whether a C++ feature can or cannot be imported into FreeBSD...kernel by assemble code generated by GNU CC. ... But the "object model" is still obscure to understand no matter how many ... But how difficult to write a device driver for FreeBSD? ... (freebsd-hackers)
Re: [PATCH] reserve RAM below PHYSICAL_START ... The "reserved RAM" can be mapped by virtualization software with to ... You're right but the relocatable kernel only works if you relocate it ... only works up to address near 1G, we can't reserve more than 1G with ... (Linux-Kernel)
Re: hang up after kernel start ... Any specific reason why you leave a gap between space for NK and RAM? ... Jump to the physical launch address, LED can glow before the kernelstart call. ...Reserve ZBANK virtual block (No physical memory ... (microsoft.public.windowsce.platbuilder)
Reply: Mini-Freebsd system on ram, to reduce noise? ... I'm planning to build MiniBSD (from freebsd) ... small FreeBSD why wouldnt i run it in RAM?...harddisk, which will shutdown until all system-files are moved into RAM.. ... I'm trying to make MiniBSD from FreeBSD 6.0 that would fit on less than 128 ... (freebsd-questions)
Mini-Freebsd system on ram, to reduce noise? ... I'm planning to build MiniBSD (from freebsd) ... small FreeBSD why wouldnt i run it in RAM?...harddisk, which will shutdown until all system-files are moved into RAM.. ... I'm trying to make MiniBSD from FreeBSD 6.0 that would fit on less than 128 ... (freebsd-questions)