2 * Create and extract the command line argument block for a process
3 * Copyright (c) 2003 David H. Hovemeyer <daveho@cs.umd.edu>
6 * This is free software. You are permitted to use,
7 * redistribute, and modify it as specified in the file "COPYING".
10 #ifndef GEEKOS_ARGBLOCK_H
11 #define GEEKOS_ARGBLOCK_H
14 * Header struct for accessing argument block from user mode.
15 * Just cast the address of the argument block passed by
16 * the kernel to a pointer to this struct.
18 struct Argument_Block {
26 * Functions used by the kernel to create the argument block.
28 void Get_Argument_Block_Size(const char *command, unsigned *numArgs, ulong_t *argBlockSize);
29 void Format_Argument_Block(char *argBlock, unsigned numArgs, ulong_t userAddress,
34 #endif /* GEEKOS_ARGBLOCK_H */