summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2023-01-24 01:44:23 -0500
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-01-25 02:06:29 +0100
commitb379d5afdf65cce11426ab0349a3778b3fd632f5 (patch)
tree806d1d45fad3b713bd3e967ccf39847db427aa55 /vm
parent2281d4ba935f2b6c06d2ee0e5258c41c78bd8d39 (diff)
Fix several warnings for -Wmissing-prototypes (part 2)
* i386/i386/io_map.c: code is unused. * i386/i386/io_perm.c: include mig prototypes. * i386/i386/mp_desc.c: Deleted interrupt_stack_alloc since it is not used. * i386/i386/seg.h: Moved descriptor structs to i386/include/mach/i386/mach_i386_types.h as that represents the interface types for RPCs. Defined aliases for real_descriptor since those are used by the i386 RPCs. Inlined many functions here too and removed seg.c. * i386/i386/seg.c: Removed. All the functions are inline now. * i386/i386/trap.c: Use static. * i386/i386/trap.h: Define missing prototypes. * i386/i386/tss.h: Use static inline for ltr. * i386/i386/user_ldt.c: Include mig prototypes. * i386/include/mach/i386/mach_i386.defs: Define real_descriptor_t types since those are used in the RPC definition. Now both prototypes and definitions will match. * i386/include/mach/i386/mach_i386_types.h: Move struct descriptor from seg.h since we need those for the RPC interfaces. Removed include of io_perm.h since it generates circular includes otherwise. * i386/intel/pmap.c: pmap_map is unused. Added static qualifier for several functions. * i386/intel/pmap.h: pmap_update_interrupt declared for non-SMP and SMP. Message-Id: <Y89+R2VekOQK4IUo@jupiter.lan>
Diffstat (limited to 'vm')
-rw-r--r--vm/pmap.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/vm/pmap.h b/vm/pmap.h
index 2201b444..df11af39 100644
--- a/vm/pmap.h
+++ b/vm/pmap.h
@@ -194,7 +194,6 @@ extern void pmap_pageable(
* Back-door routine for mapping kernel VM at initialization.
* Useful for mapping memory outside the range of direct mapped
* physical memory (i.e., devices).
- * Otherwise like pmap_map.
*/
extern vm_offset_t pmap_map_bd(
vm_offset_t virt,