summaryrefslogtreecommitdiffstats
path: root/sw/z80/kernel/include/memory.h
diff options
context:
space:
mode:
authorNao Pross <naopross@thearcway.org>2017-08-01 01:32:37 +0200
committerNao Pross <naopross@thearcway.org>2017-08-01 01:32:37 +0200
commitfafba296467b7398a97549a7d1f4dbf1552d6475 (patch)
tree8847debacba5ce7711bb85234d38c8a56d473622 /sw/z80/kernel/include/memory.h
parentnew structure for process management, structures to discuss (diff)
downloadz80uPC-fafba296467b7398a97549a7d1f4dbf1552d6475.tar.gz
z80uPC-fafba296467b7398a97549a7d1f4dbf1552d6475.zip
filesystem structure intro and docs
- new type pid_t and program management mechanism to make it easier to switch to a multitasking kernel - new memory related functions in memory.h to move, copy and manage pages - fix typos
Diffstat (limited to 'sw/z80/kernel/include/memory.h')
-rw-r--r--sw/z80/kernel/include/memory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/z80/kernel/include/memory.h b/sw/z80/kernel/include/memory.h
index 5bca5a5..e4352b5 100644
--- a/sw/z80/kernel/include/memory.h
+++ b/sw/z80/kernel/include/memory.h
@@ -34,7 +34,7 @@
struct page
{
uint used :1;
- uint8_t pid; // process owner of the page
+ pid_t pid; // process owner of the page
uint16_t addr; // physical address
};