cleanup: namespace Montauk (capital M) => montauk::abi
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
fb_info, fb_map - direct framebuffer access
|
||||
|
||||
.SH SYNOPSIS
|
||||
.BI void montauk::fb_info(Montauk::FbInfo* info);
|
||||
.BI void montauk::fb_info(montauk::abi::FbInfo* info);
|
||||
.BI void* montauk::fb_map();
|
||||
|
||||
.SH DESCRIPTION
|
||||
@@ -13,7 +13,7 @@
|
||||
.SS fb_info
|
||||
Fills in an FbInfo structure with the framebuffer geometry:
|
||||
|
||||
Montauk::FbInfo fb;
|
||||
montauk::abi::FbInfo fb;
|
||||
montauk::fb_info(&fb);
|
||||
// fb.width, fb.height, fb.pitch, fb.bpp
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
.SH EXAMPLE
|
||||
Fill the screen with blue:
|
||||
|
||||
Montauk::FbInfo fb;
|
||||
montauk::abi::FbInfo fb;
|
||||
montauk::fb_info(&fb);
|
||||
uint32_t* pixels = (uint32_t*)montauk::fb_map();
|
||||
|
||||
|
||||
@@ -93,14 +93,14 @@
|
||||
|
||||
.B SYS_GETTIME (28)
|
||||
Get the current wall-clock date and time (UTC).
|
||||
Fills a Montauk::DateTime struct with Year, Month, Day,
|
||||
Fills a montauk::abi::DateTime struct with Year, Month, Day,
|
||||
Hour, Minute, and Second fields.
|
||||
void montauk::gettime(Montauk::DateTime* out);
|
||||
void montauk::gettime(montauk::abi::DateTime* out);
|
||||
|
||||
.SH SYSTEM
|
||||
.B SYS_GETINFO (15)
|
||||
Get OS name, version, and configuration.
|
||||
void montauk::get_info(Montauk::SysInfo* info);
|
||||
void montauk::get_info(montauk::abi::SysInfo* info);
|
||||
|
||||
.SH KEYBOARD
|
||||
.B SYS_ISKEYAVAILABLE (16)
|
||||
@@ -109,7 +109,7 @@
|
||||
|
||||
.B SYS_GETKEY (17)
|
||||
Get the next key event (press or release).
|
||||
void montauk::getkey(Montauk::KeyEvent* out);
|
||||
void montauk::getkey(montauk::abi::KeyEvent* out);
|
||||
|
||||
.B SYS_GETCHAR (18)
|
||||
Block until a printable character is typed.
|
||||
@@ -123,16 +123,16 @@
|
||||
.B SYS_GETNETCFG (37)
|
||||
Get the current network configuration (IP, mask, gateway, MAC,
|
||||
DNS server).
|
||||
void montauk::get_netcfg(Montauk::NetCfg* out);
|
||||
void montauk::get_netcfg(montauk::abi::NetCfg* out);
|
||||
|
||||
.B SYS_SETNETCFG (38)
|
||||
Set the network configuration (IP, mask, gateway, DNS server).
|
||||
int montauk::set_netcfg(const Montauk::NetCfg* cfg);
|
||||
int montauk::set_netcfg(const montauk::abi::NetCfg* cfg);
|
||||
|
||||
.B SYS_NETSTATUS (125)
|
||||
Get adapter status including driver name, link state, polling mode,
|
||||
and RX/TX packet counters.
|
||||
int montauk::net_status(Montauk::NetStatus* out);
|
||||
int montauk::net_status(montauk::abi::NetStatus* out);
|
||||
|
||||
.B SYS_RESOLVE (44)
|
||||
Resolve a hostname to an IPv4 address via DNS. Sends a UDP
|
||||
@@ -202,7 +202,7 @@
|
||||
.SH FRAMEBUFFER
|
||||
.B SYS_FBINFO (21)
|
||||
Get framebuffer dimensions and format.
|
||||
void montauk::fb_info(Montauk::FbInfo* info);
|
||||
void montauk::fb_info(montauk::abi::FbInfo* info);
|
||||
|
||||
.B SYS_FBMAP (22)
|
||||
Map the framebuffer into process memory at 0x50000000.
|
||||
|
||||
Reference in New Issue
Block a user