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

Subversion Repositories c0or1k

[/] [c0or1k/] [trunk/] [conts/] [posix/] [mm0/] [include/] [exec.h] - Rev 2

Compare with Previous | Blame | View Log

/*
 * Definitions for executables
 *
 * Copyright (C) 2008 Bahadir Balban
 */
#ifndef __EXEC_H__
#define __EXEC_H__
 
/*
 * This presents extra executable file information that is
 * not present in the tcb, in a generic format.
 */
struct exec_file_desc {
	unsigned long text_offset;	/* File offset of text section */
	unsigned long data_offset;	/* File offset of data section */
	unsigned long bss_offset;	/* File offset of bss section */
};
 
struct args_struct {
	int argc;
	char **argv;
	int size;	/* Size of strings + string pointers */
};
 
#endif /* __EXEC_H__ */
 

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.