Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: CVS commit: src/sys/arch/x86/x86



> Log Message:
> Surprisingly enough, the kernel expects the CPU to support large pages
> when creating the direct map on amd64. Therefore, the amd64 CPUs that do
> not support large pages basically don't work on NetBSD.
> 
> It looks like it has always been this way; add a KASSERT to panic
> properly in case we come across one of these CPUs.

this seems kind of useless.  it's part of the definition of amd64.
there are heaps of things that would fail besides this (and not
just netbsd.)  should we assert other basic features exist instead
of assuming they do because of the context?  i don't think so.


.mrg.


Home | Main Index | Thread Index | Old Index