NetBSD-Bugs archive

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

Re: lib/53125: sys/timevar.h is absent in installed systems.



The following reply was made to PR lib/53125; it has been noted by GNATS.

From: Utkarsh Anand <utkarsh009%yandex.com@localhost>
To: "gnats-bugs%NetBSD.org@localhost" <gnats-bugs%netbsd.org@localhost>,
	"lib-bug-people%netbsd.org@localhost" <lib-bug-people%netbsd.org@localhost>,
	"gnats-admin%netbsd.org@localhost" <gnats-admin%netbsd.org@localhost>,
	"netbsd-bugs%netbsd.org@localhost" <netbsd-bugs%netbsd.org@localhost>
Cc: 
Subject: Re: lib/53125: sys/timevar.h is absent in installed systems.
Date: Sat, 24 Mar 2018 16:47:24 +0530

 >  Why do you want to do this ? _KERNEL code is not available to userland
 If this builds, I wouldn't need to define _KERNEL:
 
 #define _KMEMUSER
 #include <uvm/uvm_map.h>
 int main(){
     return 0;
 }
 
 NB: vaddr_t, vsize_t etc. are defined in <machine/types.h>. Maybe including those in the files under uvm/, that need them, might help.
 >  for good reasons, you're probably doing something wrong.
 >
 >  --
 >  Manuel Bouyer <bouyer%antioche.eu.org@localhost>
 >       NetBSD: 26 ans d'experience feront toujours la difference
 >  --
 



Home | Main Index | Thread Index | Old Index