Re: [mach:fix compiler warnings 3/3] delete unused functions

2024-10-19 Thread Samuel Thibault
jbra...@dismail.de, le ven. 18 oct. 2024 10:20:06 -0400, a ecrit: > * i386/intel/pmap.c: removed these unused functions: > pmap_page_table_page_dealloc pmap_page_table_page_dealloc is used in the xen case, so rather add the corresponding ifdef. > and pmap_page_table_page_alloc It is actually sur

Re: [mach:fix compiler warnings 2/3] fix a compiler warning.

2024-10-19 Thread Samuel Thibault
jbra...@dismail.de, le ven. 18 oct. 2024 10:20:05 -0400, a ecrit: > * kern/slab.c(kalloc_init): %lu -> %zu ditto. > kern/slab.c: In function 'kalloc_init': > kern/slab.c:1349:33: warning: format '%lu' expects argument of type 'long > unsigned int', but argument 3 has type 'size_t' {aka 'unsigned

Re: [mach:fix compiler warnings 1/3] fix a compile warning.

2024-10-19 Thread Samuel Thibault
Hello, jbra...@dismail.de, le ven. 18 oct. 2024 10:20:04 -0400, a ecrit: > * vm/vm_page.c(vm_page_setup): %lu -> %zu The z format qualifier is not supported by gnumach, so you'll rather have to cast the size_t parameter to unsigned long. Samuel