diff options
author | leleraffa97@hotmail.it <leleraffa97@hotmail.it> | 2017-06-23 12:18:24 +0200 |
---|---|---|
committer | leleraffa97@hotmail.it <leleraffa97@hotmail.it> | 2017-06-23 12:18:24 +0200 |
commit | ac89960fbe89141aea31da9a329bfa39d67eede7 (patch) | |
tree | 5fd8f8baefd80d235ebe43167f89c580d137ce22 /sw/z80/kernel/include/boot.h | |
parent | libc memset, memcmp (diff) | |
download | z80uPC-ac89960fbe89141aea31da9a329bfa39d67eede7.tar.gz z80uPC-ac89960fbe89141aea31da9a329bfa39d67eede7.zip |
Order and update of the struct
Separation of boot and login sections
Improuved program manager system
Diffstat (limited to 'sw/z80/kernel/include/boot.h')
-rw-r--r-- | sw/z80/kernel/include/boot.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/sw/z80/kernel/include/boot.h b/sw/z80/kernel/include/boot.h deleted file mode 100644 index 5310e45..0000000 --- a/sw/z80/kernel/include/boot.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef BOOT_H -#define BOOT_H - -#include "types.h" - -#define LOGIN_PC // TODO find an address in ROM, to perform jumps - -#define EXEC_STATUS // TODO find an address in Kernel space - -#define PWD_ADDR // TODO find an address in ROM, password -#define PWD_SIZE 8 - -struct exec_status { - - volatile int logged_in:1; // authenticated - volatile int k_control:1; // no running programs - volatile int program_id:1; // current running program id, see "progman.h" - volatile int hidden_pc:13; // program counter of the paused program -}; - -void boot_init(); - -/* -* It returns 1 if succeded, otherwise 0 -*/ - -int8_t authenticate(const char *pwd); - -/* -* It sets the password in the ROM space, maximum 8 characters -*/ - -void set_pwd(const char *pwd); - -#endif
\ No newline at end of file |