aboutsummaryrefslogtreecommitdiff
path: root/x86_64/Makefrag.am
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 /x86_64/Makefrag.am
parent2281d4ba935f2b6c06d2ee0e5258c41c78bd8d39 (diff)
downloadgnumach-b379d5afdf65cce11426ab0349a3778b3fd632f5.tar.gz
gnumach-b379d5afdf65cce11426ab0349a3778b3fd632f5.tar.bz2
gnumach-b379d5afdf65cce11426ab0349a3778b3fd632f5.zip
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 'x86_64/Makefrag.am')
-rw-r--r--x86_64/Makefrag.am1
1 files changed, 0 insertions, 1 deletions
diff --git a/x86_64/Makefrag.am b/x86_64/Makefrag.am
index f5f152b8..71491c2a 100644
--- a/x86_64/Makefrag.am
+++ b/x86_64/Makefrag.am
@@ -163,7 +163,6 @@ if PLATFORM_at
libkernel_a_SOURCES += \
i386/i386/hardclock.c \
i386/i386/hardclock.h \
- i386/i386/io_map.c \
i386/i386/irq.c \
i386/i386/irq.h \
i386/i386/pic.c \