www.pudn.com > LFYOS.zip > call_kernel.h


#ifndef OS_KERNEL_SYSTEM_CALL 
#define OS_KERNEL_SYSTEM_CALL 
 
union system_call_parameter{ 
	struct kernel_capability{ 
		struct capability capability_1,capability_2; 
	}capability; 
 
	struct kernel_process_attribute{ 
		struct process process; 
		struct capability capability; 
	}process_attribute; 
 
	struct kernel_thread_attribute{ 
		int priority,return_stack_top; 
		int mandatory_exit_number; 
		int process,current_process; 
		struct exception_item  exception; 
		struct capability current_process_capability; 
	}thread_attribute; 
 
	struct set_semaphore_time{ 
		struct kernel_time first_time; 
		struct kernel_time step_time; 
		struct capability semaphore_capability; 
	}set_semaphore_time; 
}; 
 
#endif