Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1708 → Rev 1709

/uspace/trunk/fb/fb.c
207,7 → 207,7
 
/** Put pixel into viewport
*
* @param vp Viewport identification
* @param vport Viewport identification
* @param x X coord relative to viewport
* @param y Y coord relative to viewport
* @param color RGB color
283,8 → 283,8
 
/** Scroll unbuffered viewport up/down
*
* @param vp Viewport to scroll
* @param rows Positive number - scroll up, negative - scroll down
* @param vport Viewport to scroll
* @param lines Positive number - scroll up, negative - scroll down
*/
static void scroll_port_nodb(viewport_t *vport, int lines)
{
373,7 → 373,7
 
/** Draw character at given position
*
* @param vp Viewport where the character is printed
* @param vport Viewport where the character is printed
* @param sx Coordinates of top-left of the character
* @param sy Coordinates of top-left of the character
* @param style Color of the character
458,8 → 458,8
/** Initialize framebuffer as a chardev output device
*
* @param addr Address of theframebuffer
* @param x Screen width in pixels
* @param y Screen height in pixels
* @param xres Screen width in pixels
* @param yres Screen height in pixels
* @param bpp Bits per pixel (8, 16, 24, 32)
* @param scan Bytes per one scanline
*
529,7 → 529,7
 
/** Draw character at given position relative to viewport
*
* @param vp Viewport identification
* @param vport Viewport identification
* @param c Character to print
* @param row Screen position relative to viewport
* @param col Screen position relative to viewport
560,7 → 560,7
 
/** Draw text data to viewport
*
* @param vp Viewport id
* @param vport Viewport id
* @param data Text data fitting exactly into viewport
*/
static void draw_text_data(viewport_t *vport, keyfield_t *data)
/uspace/trunk/fb/ppm.c
75,8 → 75,8
*
* @param data Pointer to PPM data
* @param datasz Maximum data size
* @param x Coordinate of upper left corner
* @param y Coordinate of upper left corner
* @param sx Coordinate of upper left corner
* @param sy Coordinate of upper left corner
* @param maxwidth Maximum allowed width for picture
* @param maxheight Maximum allowed height for picture
* @param putpixel Putpixel function used to print bitmap
84,7 → 84,7
int ppm_draw(unsigned char *data, size_t datasz, unsigned int sx,
unsigned int sy,
unsigned int maxwidth, unsigned int maxheight,
putpixel_cb_t putpixel,void *vport)
putpixel_cb_t putpixel, void *vport)
{
unsigned int width, height;
unsigned int maxcolor;
/uspace/trunk/libc/generic/thread.c
117,7 → 117,7
* @param arg Argument to be passed to thread.
* @param name Symbolic name of the thread.
*
* @param TID of the new thread on success or -1 on failure.
* @return TID of the new thread on success or -1 on failure.
*/
int thread_create(void (* function)(void *), void *arg, char *name)
{
145,7 → 145,7
 
/** Terminate current thread.
*
* @param stat Exit status. Currently not used.
* @param status Exit status. Currently not used.
*/
void thread_exit(int status)
{
/uspace/trunk/libc/generic/psthread.c
109,9 → 109,7
* If calling with PS_TO_MANAGER parameter, the async_futex should be
* held.
*
* @param tomanager If true, we are switching to next ready manager thread
* (if none is found, thread is exited)
* @param frommanager If true, we are switching from manager thread
* @param ctype Type of switch.
* @return 0 if there is no ready pseudo thread, 1 otherwise.
*/
int psthread_schedule_next_adv(pschange_type ctype)
/uspace/trunk/libc/generic/ipc.c
371,6 → 371,7
/** Wait some time for an IPC call.
*
* - dispatch ASYNC reoutines in the background
*
* @param call Space where the message is stored
* @param usec Timeout in microseconds.
* @return Callid of the answer.
389,6 → 390,7
/** Check if there is an IPC call waiting to be picked up.
*
* - dispatch ASYNC reoutines in the background
*
* @param call Space where the message is stored
* @return Callid of the answer.
*/
/uspace/trunk/libc/generic/libadt/hash_table.c
79,7 → 79,7
/** Insert item into hash table.
*
* @param h Hash table.
* @param hey Array of all keys necessary to compute hash index.
* @param key Array of all keys necessary to compute hash index.
* @param item Item to be inserted into the hash table.
*/
void hash_table_insert(hash_table_t *h, unsigned long key[], link_t *item)