cvs commit: src/sys/vm vm_extern.h vm_glue.c

Matthew Dillon dillon at apollo.backplane.com
Sun Aug 15 12:11:50 PDT 2004


:  Modified files:
:    sys/vm               vm_extern.h vm_glue.c 
:  Log:
:  Make the addr parameter to kernacc and useracc const.
:  
:  Wondered-about: corecode
:  
:  Revision  Changes    Path
:  1.14      +2 -2      src/sys/vm/vm_extern.h
:  1.27      +2 -2      src/sys/vm/vm_glue.c
:
:http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_extern.h.diff?r1=1.13&r2=1.14&f=u
:http://www.dragonflybsd.org/cvsweb/src/sys/vm/vm_glue.c.diff?r1=1.26&r2=1.27&f=u

    I think you should probably use 'const caddr_t' there instead of
    'c_caddr_t'.  I did something similar (typedef'ing const) in FreeBSD a long time
    ago and it turned out not to be so hot an idea.

					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>





More information about the Commits mailing list