summaryrefslogtreecommitdiff
path: root/arch/x86/machine/pmap.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2014-01-13 23:13:01 +0100
committerRichard Braun <rbraun@sceen.net>2014-01-14 01:35:17 +0100
commit9d998f839452b005401b00c76fd8d03ca062e096 (patch)
tree6537e14ac3a031ac23ca909079003fd07f31abba /arch/x86/machine/pmap.h
parentcbca7bb4f1f59aee176aeb79a69fafd51e17b267 (diff)
Rework bootstrapping
Start application processors once the kernel is completely initialized, right before starting the scheduler. This simplifies the procedure with regard to inter-processor pmap updates.
Diffstat (limited to 'arch/x86/machine/pmap.h')
-rw-r--r--arch/x86/machine/pmap.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/x86/machine/pmap.h b/arch/x86/machine/pmap.h
index ea5692d7..2a34a8f5 100644
--- a/arch/x86/machine/pmap.h
+++ b/arch/x86/machine/pmap.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010, 2011, 2012, 2013 Richard Braun.
+ * Copyright (c) 2010-2014 Richard Braun.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -222,6 +222,13 @@ void pmap_update_intr(struct trap_frame *frame);
void pmap_setup(void);
/*
+ * Set up the pmap module for multiprocessor operations.
+ *
+ * This function basically enables pmap updates across processors.
+ */
+void pmap_mp_setup(void);
+
+/*
* Create a pmap for a user task.
*/
int pmap_create(struct pmap **pmapp);