public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54acfe0
)
msx1: do the vector copy earlier
author
Alan Cox
<alan@linux.intel.com>
Sun, 7 Apr 2019 11:47:44 +0000
(12:47 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Sun, 7 Apr 2019 11:47:44 +0000
(12:47 +0100)
Kernel/platform-msx1/discard.c
patch
|
blob
|
history
diff --git
a/Kernel/platform-msx1/discard.c
b/Kernel/platform-msx1/discard.c
index
95223dd
..
b8b1c37
100644
(file)
--- a/
Kernel/platform-msx1/discard.c
+++ b/
Kernel/platform-msx1/discard.c
@@
-4,6
+4,7
@@
#include <printf.h>
#include <devtty.h>
#include <blkdev.h>
+#include <msx.h>
extern uint8_t ramtab[], kernel_map[], current_map[], user_map[];
extern uint8_t subslots;
@@
-74,14
+75,13
@@
void map_init(void)
bp = user_map;
kprintf("User map %x %x %x %x %x %x\n",
*bp, bp[1], bp[2], bp[3], bp[4], bp[5]);
+ copy_vectors();
}
void platform_discard(void)
{
/* Until we tackle the buffers */
- /* Use the old discard space to bounce the vectors to user pages */
- copy_vectors();
}
/*