2020-07-25 23:50:03 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
2020-08-23 13:52:37 +00:00
< meta name = "generator" content = "Doxygen 1.8.19" / >
2020-07-25 23:50:03 +00:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > MyOS Kernel: kernel/vga_err.c File Reference< / title >
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "navtree.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "resize.js" > < / script >
< script type = "text/javascript" src = "navtreedata.js" > < / script >
< script type = "text/javascript" src = "navtree.js" > < / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/searchdata.js" > < / script >
< script type = "text/javascript" src = "search/search.js" > < / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td id = "projectalign" style = "padding-left: 0.5em;" >
< div id = "projectname" > MyOS Kernel
< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
2020-08-23 13:52:37 +00:00
<!-- Generated by Doxygen 1.8.19 -->
2020-07-25 23:50:03 +00:00
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
< / script >
< script type = "text/javascript" src = "menudata.js" > < / script >
< script type = "text/javascript" src = "menu.js" > < / script >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */< / script >
< div id = "main-nav" > < / div >
< / div > <!-- top -->
< div id = "side-nav" class = "ui-resizable side-nav-resizable" >
< div id = "nav-tree" >
< div id = "nav-tree-contents" >
< div id = "nav-sync" class = "sync" > < / div >
< / div >
< / div >
< div id = "splitbar" style = "-moz-user-select:none;"
class="ui-resizable-handle">
< / div >
< / div >
< script type = "text/javascript" >
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3& dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('vga__err_8c.html',''); initResizable(); });
/* @license-end */
< / script >
< div id = "doc-content" >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div class = "header" >
< div class = "summary" >
< a href = "#define-members" > Macros< / a > |
< a href = "#func-members" > Functions< / a > |
< a href = "#var-members" > Variables< / a > < / div >
< div class = "headertitle" >
< div class = "title" > vga_err.c File Reference< / div > < / div >
< / div > <!-- header -->
< div class = "contents" >
< div class = "textblock" > < code > #include < cpu/ports.h> < / code > < br / >
< code > #include < string.h> < / code > < br / >
< / div > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "define-members" > < / a >
Macros< / h2 > < / td > < / tr >
< tr class = "memitem:acab7e7029b260dd60c76016ee22e2e1b" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "acab7e7029b260dd60c76016ee22e2e1b" > < / a >
#define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "vga__err_8c.html#acab7e7029b260dd60c76016ee22e2e1b" > VGA_BLACK< / a >       0< / td > < / tr >
< tr class = "memdesc:acab7e7029b260dd60c76016ee22e2e1b" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > The color black. < br / > < / td > < / tr >
< tr class = "separator:acab7e7029b260dd60c76016ee22e2e1b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a060c515545806e281c70e2c6cd7f6273" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a060c515545806e281c70e2c6cd7f6273" > < / a >
#define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "vga__err_8c.html#a060c515545806e281c70e2c6cd7f6273" > VGA_WHITE< / a >       15< / td > < / tr >
< tr class = "memdesc:a060c515545806e281c70e2c6cd7f6273" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > The color white. < br / > < / td > < / tr >
< tr class = "separator:a060c515545806e281c70e2c6cd7f6273" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "func-members" > < / a >
Functions< / h2 > < / td > < / tr >
< tr class = "memitem:aa89efa21241581e8ccb810e286a49bcb" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "vga__err_8c.html#aa89efa21241581e8ccb810e286a49bcb" > set_char< / a > (int < a class = "el" href = "vga__err_8c.html#a6150e0515f7202e2fb518f7206ed97dc" > x< / a > , char c)< / td > < / tr >
< tr class = "separator:aa89efa21241581e8ccb810e286a49bcb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a4bbfb43f804f9a0b63ed42a9c0b9e5c7" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "vga__err_8c.html#a4bbfb43f804f9a0b63ed42a9c0b9e5c7" > vga_init< / a > (char *addr)< / td > < / tr >
< tr class = "separator:a4bbfb43f804f9a0b63ed42a9c0b9e5c7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a75cdd147f30de14160e9a62daf105dab" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "vga__err_8c.html#a75cdd147f30de14160e9a62daf105dab" > vga_write_string< / a > (const char *string)< / td > < / tr >
< tr class = "separator:a75cdd147f30de14160e9a62daf105dab" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "var-members" > < / a >
Variables< / h2 > < / td > < / tr >
< tr class = "memitem:af6fd1d4385a8b51f8ea5ce1d06fb97fd" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "af6fd1d4385a8b51f8ea5ce1d06fb97fd" > < / a >
static char *  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "vga__err_8c.html#af6fd1d4385a8b51f8ea5ce1d06fb97fd" > screen< / a > < / td > < / tr >
< tr class = "memdesc:af6fd1d4385a8b51f8ea5ce1d06fb97fd" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Pointer to VGA screen memory. < br / > < / td > < / tr >
< tr class = "separator:af6fd1d4385a8b51f8ea5ce1d06fb97fd" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a6150e0515f7202e2fb518f7206ed97dc" > < td class = "memItemLeft" align = "right" valign = "top" > < a id = "a6150e0515f7202e2fb518f7206ed97dc" > < / a >
static int  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "vga__err_8c.html#a6150e0515f7202e2fb518f7206ed97dc" > x< / a > =0< / td > < / tr >
< tr class = "memdesc:a6150e0515f7202e2fb518f7206ed97dc" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Next character offset in VGA sreen memory. < br / > < / td > < / tr >
< tr class = "separator:a6150e0515f7202e2fb518f7206ed97dc" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table >
< h2 class = "groupheader" > Function Documentation< / h2 >
< a id = "aa89efa21241581e8ccb810e286a49bcb" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#aa89efa21241581e8ccb810e286a49bcb" > ◆ < / a > < / span > set_char()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static void set_char < / td >
< td > (< / td >
< td class = "paramtype" > int  < / td >
< td class = "paramname" > < em > x< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > char  < / td >
< td class = "paramname" > < em > c< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Set a character on the screen < / p > < dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > x< / td > < td > The character index to set < / td > < / tr >
< tr > < td class = "paramname" > c< / td > < td > The character to write < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a id = "a4bbfb43f804f9a0b63ed42a9c0b9e5c7" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a4bbfb43f804f9a0b63ed42a9c0b9e5c7" > ◆ < / a > < / span > vga_init()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void vga_init < / td >
< td > (< / td >
< td class = "paramtype" > char *  < / td >
< td class = "paramname" > < em > screen< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Initilaze the VGA error writing driver < / p > < dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > screen< / td > < td > Pointer to VGA screen memory < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a id = "a75cdd147f30de14160e9a62daf105dab" > < / a >
< h2 class = "memtitle" > < span class = "permalink" > < a href = "#a75cdd147f30de14160e9a62daf105dab" > ◆ < / a > < / span > vga_write_string()< / h2 >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void vga_write_string < / td >
< td > (< / td >
< td class = "paramtype" > const char *  < / td >
< td class = "paramname" > < em > string< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Write a string starting at the top line of the VGA display < / p > < dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > string< / td > < td > The string to write < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< / div > <!-- contents -->
< / div > <!-- doc - content -->
<!-- start footer part -->
< div id = "nav-path" class = "navpath" > <!-- id is needed for treeview function! -->
< ul >
< li class = "navelem" > < a class = "el" href = "dir_dc43877d82dd332f9fb2071fcca799d6.html" > kernel< / a > < / li > < li class = "navelem" > < a class = "el" href = "vga__err_8c.html" > vga_err.c< / a > < / li >
2020-08-23 13:52:37 +00:00
< li class = "footer" > Generated by < a href = "http://www.doxygen.org/index.html" > < img class = "footer" src = "doxygen.svg" width = "104" height = "31" alt = "doxygen" / > < / a > 1.8.19 < / li >
2020-07-25 23:50:03 +00:00
< / ul >
< / div >
< / body >
< / html >