cp: revamp directory handling
commitdc12987b5333f25e9db38020d3ea10169bf234e0
authorJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Sun, 27 Nov 2011 03:46:47 +0000 (26 22:46 -0500)
committerJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Sun, 27 Nov 2011 03:46:47 +0000 (26 22:46 -0500)
treeb9e0fb8703a72e0ef10ddf44859a9ed090b74637
parent7f114c15c6e526b6b7a14f55e1bcb0d9137f42b4
cp: revamp directory handling

The directory is now read from the IPL filesystem.  re2c & yacc are used to
generate the parser & lexer (although there is still a bit too much code
duplication between the config file lexer and the directory file lexer).
The CMakeLists.txt file could use some cleanup as well, but that's a
different story.

This commit also changes the way auth classes are done.  Now, they resemble
something much like what VM/370 and similar does.

Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
32 files changed:
cp/.gitignore
cp/CMakeLists.txt
cp/config/hvf.directory
cp/config/system.config
cp/guest/init.c
cp/include/config.h
cp/include/directory.h
cp/include/nucleus.h
cp/include/shell.h
cp/include/slab.h
cp/include/util.h [new file with mode: 0644]
cp/mm/slab.c
cp/nucleus/.gitignore
cp/nucleus/config.c
cp/nucleus/config.l
cp/nucleus/config.y
cp/nucleus/direct.c [new file with mode: 0644]
cp/nucleus/direct.l [copied from cp/nucleus/config.l with 72% similarity]
cp/nucleus/direct.y [new file with mode: 0644]
cp/nucleus/init.c
cp/nucleus/objs.cmake
cp/nucleus/util.c [new file with mode: 0644]
cp/shell/cmd_beginstop.c
cp/shell/cmd_display.c
cp/shell/cmd_enable.c
cp/shell/cmd_logon.c
cp/shell/cmd_query.c
cp/shell/cmd_set.c
cp/shell/cmd_store.c
cp/shell/cmd_system.c
cp/shell/directory.c [deleted file]
cp/shell/objs.cmake