OpenCores
URL https://opencores.org/ocsvn/c0or1k/c0or1k/trunk

Subversion Repositories c0or1k

[/] [c0or1k/] [trunk/] [conts/] [test_suite0/] [src/] [cli_serv/] [cli_serv.c] - Rev 2

Compare with Previous | Blame | View Log

/*
 * Copyright (C) 2010 B Labs Ltd.
 *
 * Tests client/server style container setup
 *
 * Author: Bahadir Balban
 */
#include <tests.h>
 
/*
 * A container can be set up in many different combinations
 * of hierarchy where the hierarchical differences between
 * the threads are determined by a finely grained capability
 * configuration.
 *
 * However, this boils down to two main sets of hierarchical
 * setup: client/server or multithreaded/standalone entities.
 *
 * This test tests the client/server style hierarchical set up.
 */
int test_cli_serv(void)
{
	/*
	 * Create a child thread in a new address space.
	 * copying current pager's page tables to child
	 */
 
	/* Copy current pager's all sections to child pages */
 
	/*
	 * Set up child's registers to execute the special
	 * child entry function
	 */
 
	/*
	 * Start the child
	 */
 
	/*
	 * Interact with the child:
	 *
	 * Handle short, full, extended ipc
	 *
	 * Handle page fault
	 */
 
	/*
	 * Destroy child
	 */
 
	return 0;
}
 
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.