diff --git a/doc/doxygen/html/cpu_8h.html b/doc/doxygen/html/cpu_8h.html new file mode 100644 index 0000000..9c1afc7 --- /dev/null +++ b/doc/doxygen/html/cpu_8h.html @@ -0,0 +1,43 @@ + + +Ubixos: cpu.h File Reference + + + +

cpu.h File Reference

+

+Go to the source code of this file. + + + + +

Defines

#define BYTE_ORDER   LITTLE_ENDIAN
+


Define Documentation

+

+ + + + +
+ + +
#define BYTE_ORDER   LITTLE_ENDIAN +
+
+ + + + + +
+   + + +

+

+


Generated on Sat May 8 09:28:19 2004 for Ubixos by + +doxygen +1.3.3
+ + diff --git a/doc/doxygen/html/debug_8h.html b/doc/doxygen/html/debug_8h.html new file mode 100644 index 0000000..69765e3 --- /dev/null +++ b/doc/doxygen/html/debug_8h.html @@ -0,0 +1,875 @@ + + +Ubixos: debug.h File Reference + + + +

debug.h File Reference

+

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Defines

#define ASSERT(x, y)
#define DEBUGF(debug, x)
#define DEMO_DEBUG   0
#define ARP_DEBUG   0
#define NETIF_DEBUG   0
#define PBUF_DEBUG   0
#define DELIF_DEBUG   0
#define DROPIF_DEBUG   0
#define TUNIF_DEBUG   0
#define UNIXIF_DEBUG   0
#define TAPIF_DEBUG   0
#define API_LIB_DEBUG   0
#define API_MSG_DEBUG   0
#define SOCKETS_DEBUG   0
#define ICMP_DEBUG   0
#define INET_DEBUG   0
#define IP_DEBUG   0
#define IP_REASS_DEBUG   0
#define MEM_DEBUG   0
#define MEMP_DEBUG   0
#define SYS_DEBUG   0
#define TCP_DEBUG   0
#define TCP_INPUT_DEBUG   0
#define TCP_FR_DEBUG   0
#define TCP_RTO_DEBUG   0
#define TCP_REXMIT_DEBUG   0
#define TCP_CWND_DEBUG   0
#define TCP_WND_DEBUG   0
#define TCP_OUTPUT_DEBUG   0
#define TCP_RST_DEBUG   0
#define TCP_QLEN_DEBUG   0
#define UDP_DEBUG   0
#define TCPIP_DEBUG   0
#define TCPDUMP_DEBUG   0
#define DHCP_DEBUG   0
+


Define Documentation

+

+ + + + +
+ + +
#define API_LIB_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define API_MSG_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define ARP_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
#define ASSERTx,
 )  +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
#define DEBUGFdebug,
 )  +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define DELIF_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define DEMO_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define DHCP_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define DROPIF_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define ICMP_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define INET_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define IP_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define IP_REASS_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define MEM_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define MEMP_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define NETIF_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define PBUF_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define SOCKETS_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define SYS_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TAPIF_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TCP_CWND_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TCP_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TCP_FR_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TCP_INPUT_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TCP_OUTPUT_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TCP_QLEN_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TCP_REXMIT_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TCP_RST_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TCP_RTO_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TCP_WND_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TCPDUMP_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TCPIP_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TUNIF_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define UDP_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define UNIXIF_DEBUG   0 +
+
+ + + + + +
+   + + +

+

+


Generated on Sat May 8 09:28:19 2004 for Ubixos by + +doxygen +1.3.3
+ + diff --git a/doc/doxygen/html/def_8h.html b/doc/doxygen/html/def_8h.html new file mode 100644 index 0000000..b4dad4a --- /dev/null +++ b/doc/doxygen/html/def_8h.html @@ -0,0 +1,76 @@ + + +Ubixos: def.h File Reference + + + +

def.h File Reference

#include "arch/lib.h"
+ +

+Go to the source code of this file. + + + + + + +

Defines

#define UMAX(a, b)   ((a) > (b) ? (a) : (b))
#define NULL   ((void *)0)
+


Define Documentation

+

+ + + + +
+ + +
#define NULL   ((void *)0) +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
#define UMAXa,
 )    ((a) > (b) ? (a) : (b)) +
+
+ + + + + +
+   + + +

+

+


Generated on Sat May 8 09:28:19 2004 for Ubixos by + +doxygen +1.3.3
+ + diff --git a/doc/doxygen/html/devfs_8h.html b/doc/doxygen/html/devfs_8h.html new file mode 100644 index 0000000..75f476a --- /dev/null +++ b/doc/doxygen/html/devfs_8h.html @@ -0,0 +1,283 @@ + + +Ubixos: devfs.h File Reference + + + +

devfs.h File Reference

#include <ubixos/types.h>
+#include <vfs/file.h>
+ +

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + +

Data Structures

struct  devFsDevices
struct  devFsInfo

Functions

int devFSOpen (char *file, fileDescriptor *fd)
void devFSInit (struct mountPoints *mp)
int devFSEnable ()
int devFSRead (fileDescriptor *fd, char *data, long offset, long size)
int devFSWrite (fileDescriptor *fd, char *data, long offset, long size)
int devFsMkNod (char *name, uInt8 type, uInt16 major, uInt16 minor)
+


Function Documentation

+

+ + + + +
+ + + + + + + + + +
int devFSEnable  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
void devFSInit struct mountPoints mp  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int devFsMkNod char *  name,
uInt8  type,
uInt16  major,
uInt16  minor
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
int devFSOpen char *  file,
fileDescriptor fd
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int devFSRead fileDescriptor fd,
char *  data,
long  offset,
long  size
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int devFSWrite fileDescriptor fd,
char *  data,
long  offset,
long  size
+
+ + + + + +
+   + + +

+

+


Generated on Sat May 8 09:28:19 2004 for Ubixos by + +doxygen +1.3.3
+ + diff --git a/doc/doxygen/html/device_8h.html b/doc/doxygen/html/device_8h.html new file mode 100644 index 0000000..e53427e --- /dev/null +++ b/doc/doxygen/html/device_8h.html @@ -0,0 +1,163 @@ + + +Ubixos: device.h File Reference + + + +

device.h File Reference

#include <ubixos/types.h>
+ +

+Go to the source code of this file. + + + + + + + + + +

Data Structures

struct  deviceNode

Functions

void deviceAdd (int major, int minor, char type, void *read, void *write, void *reset, void *init, void *ioctl, void *stop, void *start, void *standby, void *info)
deviceNodedeviceFind (int major, int minor)
+


Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void deviceAdd int  major,
int  minor,
char  type,
void *  read,
void *  write,
void *  reset,
void *  init,
void *  ioctl,
void *  stop,
void *  start,
void *  standby,
void *  info
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
struct deviceNode* deviceFind int  major,
int  minor
+
+ + + + + +
+   + + +

+

+


Generated on Sat May 8 09:28:19 2004 for Ubixos by + +doxygen +1.3.3
+ + diff --git a/doc/doxygen/html/device_8old_8h.html b/doc/doxygen/html/device_8old_8h.html new file mode 100644 index 0000000..ce321ee --- /dev/null +++ b/doc/doxygen/html/device_8old_8h.html @@ -0,0 +1,25 @@ + + +Ubixos: device.old.h File Reference + + + +

device.old.h File Reference

#include <ubixos/types.h>
+ +

+Go to the source code of this file. + + + + + + + + +

Data Structures

struct  device
struct  ei_device
struct  net
+


Generated on Sat May 8 09:28:19 2004 for Ubixos by + +doxygen +1.3.3
+ + diff --git a/doc/doxygen/html/sys__arch_8h.html b/doc/doxygen/html/sys__arch_8h.html new file mode 100644 index 0000000..0510b3c --- /dev/null +++ b/doc/doxygen/html/sys__arch_8h.html @@ -0,0 +1,141 @@ + + +Ubixos: sys_arch.h File Reference + + + +

sys_arch.h File Reference

+

+Go to the source code of this file. + + + + + + + + + + + + + +

Defines

#define SYS_MBOX_NULL   NULL
#define SYS_SEM_NULL   NULL

Typedefs

typedef sys_sem * sys_sem_t
typedef sys_mbox * sys_mbox_t
typedef sys_thread * sys_thread_t
+


Define Documentation

+

+ + + + +
+ + +
#define SYS_MBOX_NULL   NULL +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define SYS_SEM_NULL   NULL +
+
+ + + + + +
+   + + +

+

+


Typedef Documentation

+

+ + + + +
+ + +
typedef struct sys_mbox* sys_mbox_t +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
typedef struct sys_sem* sys_sem_t +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
typedef struct sys_thread* sys_thread_t +
+
+ + + + + +
+   + + +

+

+


Generated on Sat May 8 09:28:23 2004 for Ubixos by + +doxygen +1.3.3
+ + diff --git a/doc/doxygen/html/syscall_8h.html b/doc/doxygen/html/syscall_8h.html new file mode 100644 index 0000000..8779c2a --- /dev/null +++ b/doc/doxygen/html/syscall_8h.html @@ -0,0 +1,79 @@ + + +Ubixos: syscall.h File Reference + + + +

syscall.h File Reference

+

+Go to the source code of this file. + + + + + + +

Functions

void _sysCall ()
void invalidCall ()
+


Function Documentation

+

+ + + + +
+ + + + + + + + + +
void _sysCall  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void invalidCall  ) 
+
+ + + + + +
+   + + +

+

+


Generated on Sat May 8 09:28:23 2004 for Ubixos by + +doxygen +1.3.3
+ + diff --git a/doc/doxygen/html/syscalls_8h.html b/doc/doxygen/html/syscalls_8h.html new file mode 100644 index 0000000..1d6a926 --- /dev/null +++ b/doc/doxygen/html/syscalls_8h.html @@ -0,0 +1,907 @@ + + +Ubixos: syscalls.h File Reference + + + +

syscalls.h File Reference

#include <ubixos/sched.h>
+#include <vfs/file.h>
+ +

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Typedefs

typedef void(* functionPTR )()

Functions

void sysGetpid ()
void sysExit ()
void sysExec ()
void sysFork ()
void sysCheckPid ()
void sysGetFreePage ()
void sysFwrite ()
void sysFgetc ()
void sysFopen ()
void sysFread ()
void sysFclose ()
void sysSchedYield ()
void sysFseek ()
void sysMkDir ()
void sysRmDir ()
void sysGetUid ()
void sysGetGid ()
void sysSetUid ()
void sysSetGid ()
void sysSDE ()
void sysGetDrives ()
void sysGetCwd ()
void sysChDir ()
void sysGetUptime ()
void sysGetTime ()
void sysStartSDE ()
void sysUnlink ()

Variables

functionPTR systemCalls []
int totalCalls = sizeof(systemCalls)/sizeof(functionPTR)
+


Typedef Documentation

+

+ + + + +
+ + +
typedef void(* functionPTR)() +
+
+ + + + + +
+   + + +

+

+


Function Documentation

+

+ + + + +
+ + + + + + + + + +
void sysChDir  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void sysCheckPid  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void sysExec  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void sysExit  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void sysFclose  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void sysFgetc  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void sysFopen  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void sysFork  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void sysFread  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void sysFseek  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void sysFwrite  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void sysGetCwd  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void sysGetDrives  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void sysGetFreePage  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void sysGetGid  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void sysGetpid  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void sysGetTime  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void sysGetUid  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void sysGetUptime  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void sysMkDir  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void sysRmDir  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void sysSchedYield  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void sysSDE  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void sysSetGid  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void sysSetUid  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void sysStartSDE  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void sysUnlink  ) 
+
+ + + + + +
+   + + +

+

+


Variable Documentation

+

+ + + + +
+ + +
functionPTR systemCalls[] +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
int totalCalls = sizeof(systemCalls)/sizeof(functionPTR) +
+
+ + + + + +
+   + + +

+

+


Generated on Sat May 8 09:28:23 2004 for Ubixos by + +doxygen +1.3.3
+ + diff --git a/doc/doxygen/html/tcp_8h.html b/doc/doxygen/html/tcp_8h.html new file mode 100644 index 0000000..28186ad --- /dev/null +++ b/doc/doxygen/html/tcp_8h.html @@ -0,0 +1,2409 @@ + + +Ubixos: tcp.h File Reference + + + +

tcp.h File Reference

#include "net/sys.h"
+#include "net/mem.h"
+#include "net/pbuf.h"
+#include "net/opt.h"
+#include "net/ipv4/ip.h"
+#include "net/ipv4/icmp.h"
+#include "net/err.h"
+ +

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Data Structures

struct  tcp_hdr
struct  tcp_pcb
struct  tcp_pcb_listen
struct  tcp_seg

Defines

#define tcp_sndbuf(pcb)   ((pcb)->snd_buf)
#define TCP_SEQ_LT(a, b)   ((Int32)((a)-(b)) < 0)
#define TCP_SEQ_LEQ(a, b)   ((Int32)((a)-(b)) <= 0)
#define TCP_SEQ_GT(a, b)   ((Int32)((a)-(b)) > 0)
#define TCP_SEQ_GEQ(a, b)   ((Int32)((a)-(b)) >= 0)
#define TCP_FIN   0x01
#define TCP_SYN   0x02
#define TCP_RST   0x04
#define TCP_PSH   0x08
#define TCP_ACK   0x10
#define TCP_URG   0x20
#define TCP_HLEN   20
#define TCP_TMR_INTERVAL   100
#define TCP_FAST_INTERVAL   200
#define TCP_SLOW_INTERVAL   500
#define TCP_FIN_WAIT_TIMEOUT   20000
#define TCP_SYN_RCVD_TIMEOUT   20000
#define TCP_OOSEQ_TIMEOUT   6
#define TCP_MSL   60000
#define TCPH_OFFSET(hdr)   (NTOHS((hdr)->_offset_flags) >> 8)
#define TCPH_FLAGS(hdr)   (NTOHS((hdr)->_offset_flags) & 0xff)
#define TCPH_OFFSET_SET(hdr, offset)   (hdr)->_offset_flags = HTONS(((offset) << 8) | TCPH_FLAGS(hdr))
#define TCPH_FLAGS_SET(hdr, flags)   (hdr)->_offset_flags = HTONS((TCPH_OFFSET(hdr) << 8) | (flags))
#define TCP_TCPLEN(seg)
#define TF_ACK_DELAY   0x01
#define TF_ACK_NOW   0x02
#define TF_INFR   0x04
#define TF_RESET   0x08
#define TF_CLOSED   0x10
#define TF_GOT_FIN   0x20
#define tcp_ack(pcb)
#define tcp_ack_now(pcb)
#define tcp_pcbs_sane()   1
#define TCP_REG(pcbs, npcb)
#define TCP_RMV(pcbs, npcb)

Enumerations

enum  tcp_state {
+  CLOSED = 0, +LISTEN = 1, +SYN_SENT = 2, +SYN_RCVD = 3, +
+  ESTABLISHED = 4, +FIN_WAIT_1 = 5, +FIN_WAIT_2 = 6, +CLOSE_WAIT = 7, +
+  CLOSING = 8, +LAST_ACK = 9, +TIME_WAIT = 10 +
+ }

Functions

void tcp_init (void)
void tcp_tmr (void)
tcp_pcbtcp_new (void)
void tcp_arg (struct tcp_pcb *pcb, void *arg)
void tcp_accept (struct tcp_pcb *pcb, err_t(*accept)(void *arg, struct tcp_pcb *newpcb, err_t err))
void tcp_recv (struct tcp_pcb *pcb, err_t(*recv)(void *arg, struct tcp_pcb *tpcb, struct pbuf *p, err_t err))
void tcp_sent (struct tcp_pcb *pcb, err_t(*sent)(void *arg, struct tcp_pcb *tpcb, uInt16 len))
void tcp_poll (struct tcp_pcb *pcb, err_t(*poll)(void *arg, struct tcp_pcb *tpcb), uInt8 interval)
void tcp_err (struct tcp_pcb *pcb, void(*err)(void *arg, err_t err))
void tcp_recved (struct tcp_pcb *pcb, uInt16 len)
err_t tcp_bind (struct tcp_pcb *pcb, struct ip_addr *ipaddr, uInt16 port)
err_t tcp_connect (struct tcp_pcb *pcb, struct ip_addr *ipaddr, uInt16 port, err_t(*connected)(void *arg, struct tcp_pcb *tpcb, err_t err))
tcp_pcbtcp_listen (struct tcp_pcb *pcb)
void tcp_abort (struct tcp_pcb *pcb)
err_t tcp_close (struct tcp_pcb *pcb)
err_t tcp_write (struct tcp_pcb *pcb, const void *dataptr, uInt16 len, uInt8 copy)
void tcp_slowtmr (void)
void tcp_fasttmr (void)
void tcp_input (struct pbuf *p, struct netif *inp)
err_t tcp_output (struct tcp_pcb *pcb)
tcp_pcbtcp_pcb_copy (struct tcp_pcb *pcb)
void tcp_pcb_purge (struct tcp_pcb *pcb)
void tcp_pcb_remove (struct tcp_pcb **pcblist, struct tcp_pcb *pcb)
uInt8 tcp_segs_free (struct tcp_seg *seg)
uInt8 tcp_seg_free (struct tcp_seg *seg)
tcp_segtcp_seg_copy (struct tcp_seg *seg)
err_t tcp_send_ctrl (struct tcp_pcb *pcb, uInt8 flags)
err_t tcp_enqueue (struct tcp_pcb *pcb, void *dataptr, uInt16 len, uInt8 flags, uInt8 copy, uInt8 *optdata, uInt8 optlen)
void tcp_rexmit_seg (struct tcp_pcb *pcb, struct tcp_seg *seg)
void tcp_rst (uInt32 seqno, uInt32 ackno, struct ip_addr *local_ip, struct ip_addr *remote_ip, uInt16 local_port, uInt16 remote_port)
uInt32 tcp_next_iss (void)

Variables

tcp_hdr PACK_STRUCT_STRUCT
uInt32 tcp_ticks
tcp_pcb_listentcp_listen_pcbs
tcp_pcbtcp_active_pcbs
tcp_pcbtcp_tw_pcbs
tcp_pcbtcp_tmp_pcb
+


Define Documentation

+

+ + + + +
+ + + + + + + +
#define tcp_ackpcb   )  +
+
+ + + + + +
+   + + +

+Value:

if((pcb)->flags & TF_ACK_DELAY) { \
+                            (pcb)->flags |= TF_ACK_NOW; \
+                            tcp_output(pcb); \
+                         } else { \
+                            (pcb)->flags |= TF_ACK_DELAY; \
+                         }
+
+

+ + + + +
+ + +
#define TCP_ACK   0x10 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + +
#define tcp_ack_nowpcb   )  +
+
+ + + + + +
+   + + +

+Value:

(pcb)->flags |= TF_ACK_NOW; \
+                         tcp_output(pcb)
+
+

+ + + + +
+ + +
#define TCP_FAST_INTERVAL   200 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TCP_FIN   0x01 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TCP_FIN_WAIT_TIMEOUT   20000 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TCP_HLEN   20 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TCP_MSL   60000 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TCP_OOSEQ_TIMEOUT   6 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + +  + + +
#define tcp_pcbs_sane  )    1 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TCP_PSH   0x08 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
#define TCP_REGpcbs,
npcb   )  +
+
+ + + + + +
+   + + +

+Value:

do { \
+                            npcb->next = *pcbs; \
+                            *pcbs = npcb; \
+                            } while(0)
+
+

+ + + + +
+ + + + + + + + + + +
#define TCP_RMVpcbs,
npcb   )  +
+
+ + + + + +
+   + + +

+Value:

do { \
+                            if(*pcbs == npcb) { \
+                               *pcbs = (*pcbs)->next; \
+                            } else for(tcp_tmp_pcb = *pcbs; tcp_tmp_pcb != NULL; tcp_tmp_pcb = tcp_tmp_pcb->next) { \
+                               if(tcp_tmp_pcb->next != NULL && tcp_tmp_pcb->next == npcb) { \
+                                  tcp_tmp_pcb->next = npcb->next; \
+                                  break; \
+                               } \
+                            } \
+                            npcb->next = NULL; \
+                            } while(0)
+
+

+ + + + +
+ + +
#define TCP_RST   0x04 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
#define TCP_SEQ_GEQa,
 )    ((Int32)((a)-(b)) >= 0) +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
#define TCP_SEQ_GTa,
 )    ((Int32)((a)-(b)) > 0) +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
#define TCP_SEQ_LEQa,
 )    ((Int32)((a)-(b)) <= 0) +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
#define TCP_SEQ_LTa,
 )    ((Int32)((a)-(b)) < 0) +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TCP_SLOW_INTERVAL   500 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + +
#define tcp_sndbufpcb   )    ((pcb)->snd_buf) +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TCP_SYN   0x02 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TCP_SYN_RCVD_TIMEOUT   20000 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + +
#define TCP_TCPLENseg   )  +
+
+ + + + + +
+   + + +

+Value:

((seg)->len + ((TCPH_FLAGS((seg)->tcphdr) & TCP_FIN || \
+                                        TCPH_FLAGS((seg)->tcphdr) & TCP_SYN)? 1: 0))
+
+

+ + + + +
+ + +
#define TCP_TMR_INTERVAL   100 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TCP_URG   0x20 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + +
#define TCPH_FLAGShdr   )    (NTOHS((hdr)->_offset_flags) & 0xff) +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
#define TCPH_FLAGS_SEThdr,
flags   )    (hdr)->_offset_flags = HTONS((TCPH_OFFSET(hdr) << 8) | (flags)) +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + +
#define TCPH_OFFSEThdr   )    (NTOHS((hdr)->_offset_flags) >> 8) +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
#define TCPH_OFFSET_SEThdr,
offset   )    (hdr)->_offset_flags = HTONS(((offset) << 8) | TCPH_FLAGS(hdr)) +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TF_ACK_DELAY   0x01 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TF_ACK_NOW   0x02 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TF_CLOSED   0x10 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TF_GOT_FIN   0x20 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TF_INFR   0x04 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define TF_RESET   0x08 +
+
+ + + + + +
+   + + +

+

+


Enumeration Type Documentation

+

+ + + + +
+ + +
enum tcp_state +
+
+ + + + + +
+   + + +

+

Enumeration values:
+ + + + + + + + + + + + +
CLOSED  +
LISTEN  +
SYN_SENT  +
SYN_RCVD  +
ESTABLISHED  +
FIN_WAIT_1  +
FIN_WAIT_2  +
CLOSE_WAIT  +
CLOSING  +
LAST_ACK  +
TIME_WAIT  +
+
+
+


Function Documentation

+

+ + + + +
+ + + + + + + + + + +
void tcp_abort struct tcp_pcb pcb  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void tcp_accept struct tcp_pcb pcb,
err_t(*  accept)(void *arg, struct tcp_pcb *newpcb, err_t err)
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void tcp_arg struct tcp_pcb pcb,
void *  arg
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
err_t tcp_bind struct tcp_pcb pcb,
struct ip_addr ipaddr,
uInt16  port
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
err_t tcp_close struct tcp_pcb pcb  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
err_t tcp_connect struct tcp_pcb pcb,
struct ip_addr ipaddr,
uInt16  port,
err_t(*  connected)(void *arg, struct tcp_pcb *tpcb, err_t err)
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
err_t tcp_enqueue struct tcp_pcb pcb,
void *  dataptr,
uInt16  len,
uInt8  flags,
uInt8  copy,
uInt8 optdata,
uInt8  optlen
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void tcp_err struct tcp_pcb pcb,
void(*  err)(void *arg, err_t err)
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
void tcp_fasttmr void   ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
void tcp_init void   ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void tcp_input struct pbuf p,
struct netif inp
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
struct tcp_pcb* tcp_listen struct tcp_pcb pcb  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
struct tcp_pcb* tcp_new void   ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
uInt32 tcp_next_iss void   ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
err_t tcp_output struct tcp_pcb pcb  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
struct tcp_pcb* tcp_pcb_copy struct tcp_pcb pcb  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
void tcp_pcb_purge struct tcp_pcb pcb  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void tcp_pcb_remove struct tcp_pcb **  pcblist,
struct tcp_pcb pcb
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
void tcp_poll struct tcp_pcb pcb,
err_t(*  poll)(void *arg, struct tcp_pcb *tpcb),
uInt8  interval
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void tcp_recv struct tcp_pcb pcb,
err_t(*  recv)(void *arg, struct tcp_pcb *tpcb, struct pbuf *p, err_t err)
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void tcp_recved struct tcp_pcb pcb,
uInt16  len
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void tcp_rexmit_seg struct tcp_pcb pcb,
struct tcp_seg seg
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void tcp_rst uInt32  seqno,
uInt32  ackno,
struct ip_addr local_ip,
struct ip_addr remote_ip,
uInt16  local_port,
uInt16  remote_port
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
struct tcp_seg* tcp_seg_copy struct tcp_seg seg  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
uInt8 tcp_seg_free struct tcp_seg seg  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
uInt8 tcp_segs_free struct tcp_seg seg  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
err_t tcp_send_ctrl struct tcp_pcb pcb,
uInt8  flags
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void tcp_sent struct tcp_pcb pcb,
err_t(*  sent)(void *arg, struct tcp_pcb *tpcb, uInt16 len)
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
void tcp_slowtmr void   ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
void tcp_tmr void   ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
err_t tcp_write struct tcp_pcb pcb,
const void *  dataptr,
uInt16  len,
uInt8  copy
+
+ + + + + +
+   + + +

+

+


Variable Documentation

+

+ + + + +
+ + +
struct tcp_hdr PACK_STRUCT_STRUCT +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
struct tcp_pcb* tcp_active_pcbs +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
struct tcp_pcb_listen* tcp_listen_pcbs +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
uInt32 tcp_ticks +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
struct tcp_pcb* tcp_tmp_pcb +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
struct tcp_pcb* tcp_tw_pcbs +
+
+ + + + + +
+   + + +

+

+


Generated on Sat May 8 09:28:23 2004 for Ubixos by + +doxygen +1.3.3
+ + diff --git a/doc/doxygen/html/tcpdump_8h.html b/doc/doxygen/html/tcpdump_8h.html new file mode 100644 index 0000000..ae7ffc0 --- /dev/null +++ b/doc/doxygen/html/tcpdump_8h.html @@ -0,0 +1,82 @@ + + +Ubixos: tcpdump.h File Reference + + + +

tcpdump.h File Reference

#include "net/pbuf.h"
+ +

+Go to the source code of this file. + + + + + + +

Functions

void tcpdump_init (void)
void tcpdump (struct pbuf *p)
+


Function Documentation

+

+ + + + +
+ + + + + + + + + + +
void tcpdump struct pbuf p  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
void tcpdump_init void   ) 
+
+ + + + + +
+   + + +

+

+


Generated on Sat May 8 09:28:23 2004 for Ubixos by + +doxygen +1.3.3
+ + diff --git a/doc/doxygen/html/tcpip_8h.html b/doc/doxygen/html/tcpip_8h.html new file mode 100644 index 0000000..dcb8890 --- /dev/null +++ b/doc/doxygen/html/tcpip_8h.html @@ -0,0 +1,171 @@ + + +Ubixos: tcpip.h File Reference + + + +

tcpip.h File Reference

#include "net/api_msg.h"
+#include "net/pbuf.h"
+ +

+Go to the source code of this file. + + + + + + + + + + + + + + +

Data Structures

struct  tcpip_msg

Enumerations

enum  tcpip_msg_type { TCPIP_MSG_API, +TCPIP_MSG_INPUT + }

Functions

void tcpip_init (void(*tcpip_init_done)(void *), void *arg)
void tcpip_apimsg (struct api_msg *apimsg)
err_t tcpip_input (struct pbuf *p, struct netif *inp)
+


Enumeration Type Documentation

+

+ + + + +
+ + +
enum tcpip_msg_type +
+
+ + + + + +
+   + + +

+

Enumeration values:
+ + + +
TCPIP_MSG_API  +
TCPIP_MSG_INPUT  +
+
+
+


Function Documentation

+

+ + + + +
+ + + + + + + + + + +
void tcpip_apimsg struct api_msg apimsg  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void tcpip_init void(*  tcpip_init_done)(void *),
void *  arg
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
err_t tcpip_input struct pbuf p,
struct netif inp
+
+ + + + + +
+   + + +

+

+


Generated on Sat May 8 09:28:23 2004 for Ubixos by + +doxygen +1.3.3
+ + diff --git a/doc/doxygen/html/time_8h.html b/doc/doxygen/html/time_8h.html new file mode 100644 index 0000000..a59158f --- /dev/null +++ b/doc/doxygen/html/time_8h.html @@ -0,0 +1,339 @@ + + +Ubixos: time.h File Reference + + + +

time.h File Reference

#include <ubixos/types.h>
+#include <sys/io.h>
+ +

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Data Structures

struct  timespec
struct  timeStruct
struct  timeval
struct  timezone

Defines

#define BCD_TO_BIN(val)   ((val)=((val)&15) + ((val)>>4)*10)
#define MINUTE   60
#define HOUR   (60*MINUTE)
#define DAY   (24*HOUR)
#define YEAR   (365*DAY)

Typedefs

typedef long suseconds_t
typedef __time_t time_t

Functions

int gettimeofday (struct timeval *tp, struct timezone *tzp)
int timeInit ()
int timeCmosRead (int)
uInt32 timeMake (struct timeStruct *time)
+


Define Documentation

+

+ + + + +
+ + + + + + + +
#define BCD_TO_BINval   )    ((val)=((val)&15) + ((val)>>4)*10) +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define DAY   (24*HOUR) +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define HOUR   (60*MINUTE) +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define MINUTE   60 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define YEAR   (365*DAY) +
+
+ + + + + +
+   + + +

+

+


Typedef Documentation

+

+ + + + +
+ + +
typedef long suseconds_t +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
typedef __time_t time_t +
+
+ + + + + +
+   + + +

+

+


Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
int gettimeofday struct timeval tp,
struct timezone tzp
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
int timeCmosRead int   ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
int timeInit  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
uInt32 timeMake struct timeStruct time  ) 
+
+ + + + + +
+   + + +

+

+


Generated on Sat May 8 09:28:23 2004 for Ubixos by + +doxygen +1.3.3
+ + diff --git a/doc/doxygen/html/times_8h.html b/doc/doxygen/html/times_8h.html new file mode 100644 index 0000000..7170506 --- /dev/null +++ b/doc/doxygen/html/times_8h.html @@ -0,0 +1,48 @@ + + +Ubixos: times.h File Reference + + + +

times.h File Reference

#include <ubixos/types.h>
+#include <sys/_types.h>
+ +

+Go to the source code of this file. + + + + + + + +

Data Structures

struct  tms

Typedefs

typedef __clock_t clock_t
+


Typedef Documentation

+

+ + + + +
+ + +
typedef __clock_t clock_t +
+
+ + + + + +
+   + + +

+

+


Generated on Sat May 8 09:28:23 2004 for Ubixos by + +doxygen +1.3.3
+ + diff --git a/doc/doxygen/html/tss_8h.html b/doc/doxygen/html/tss_8h.html new file mode 100644 index 0000000..a7a93bc --- /dev/null +++ b/doc/doxygen/html/tss_8h.html @@ -0,0 +1,22 @@ + + +Ubixos: tss.h File Reference + + + +

tss.h File Reference

+

+Go to the source code of this file. + + + + + + +

Data Structures

struct  i387Struct
struct  tssStruct
+


Generated on Sat May 8 09:28:23 2004 for Ubixos by + +doxygen +1.3.3
+ + diff --git a/doc/doxygen/html/types_8h.html b/doc/doxygen/html/types_8h.html new file mode 100644 index 0000000..ee5b7ab --- /dev/null +++ b/doc/doxygen/html/types_8h.html @@ -0,0 +1,322 @@ + + +Ubixos: types.h File Reference + + + +

types.h File Reference

#include <sys/_types.h>
+ +

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Defines

#define NULL   0x0

Typedefs

typedef unsigned char uInt8
typedef unsigned short uInt16
typedef unsigned long uInt32
typedef unsigned int uInt
typedef char Int8
typedef short Int16
typedef long Int32
typedef int pidType
typedef int pid_t
typedef int size_t

Enumerations

enum  bool { FALSE = 0, +TRUE = 1 + }
+


Define Documentation

+

+ + + + +
+ + +
#define NULL   0x0 +
+
+ + + + + +
+   + + +

+

+


Typedef Documentation

+

+ + + + +
+ + +
typedef short Int16 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
typedef long Int32 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
typedef char Int8 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
typedef int pid_t +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
typedef int pidType +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
typedef int size_t +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
typedef unsigned int uInt +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
typedef unsigned short uInt16 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
typedef unsigned long uInt32 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
typedef unsigned char uInt8 +
+
+ + + + + +
+   + + +

+

+


Enumeration Type Documentation

+

+ + + + +
+ + +
enum bool +
+
+ + + + + +
+   + + +

+

Enumeration values:
+ + + +
FALSE  +
TRUE  +
+
+
+


Generated on Sat May 8 09:28:23 2004 for Ubixos by + +doxygen +1.3.3
+ + diff --git a/doc/doxygen/html/ubixfs_8h-source.html b/doc/doxygen/html/ubixfs_8h-source.html new file mode 100644 index 0000000..e1a193a --- /dev/null +++ b/doc/doxygen/html/ubixfs_8h-source.html @@ -0,0 +1,132 @@ + + +Ubixos: ubixfs.h Source File + + + +

ubixfs.h

Go to the documentation of this file.
00001 /**************************************************************************************
+00002  Copyright (c) 2002 The UbixOS Project
+00003  All rights reserved.
+00004 
+00005 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+00006 
+00007 Redistributions of source code must retain the above copyright notice, this list of conditions, the following disclaimer and the list of authors.
+00008 Redistributions in binary form must reproduce the above copyright notice, this list of conditions, the following disclaimer and the list of authors
+00009 in the documentation and/or other materials provided with the distribution. Neither the name of the UbixOS Project nor the names of its
+00010 contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+00011 
+00012 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
+00013 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+00014 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+00015 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+00016 GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+00017 OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+00018 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+00019 
+00020  $Id$
+00021 
+00022 **************************************************************************************/
+00023 
+00024 #ifndef _UBIXFS_H
+00025 #define _UBIXFS_H
+00026 
+00027 #include <ubixos/types.h>
+00028 #include <sys/device.h>
+00029 #include <vfs/file.h>
+00030 
+00031 #define UBIXDISKMAGIC     ((uInt32)0x45) 
+00032 #define MAXPARTITIONS     4
+00033 #define blockSize         8
+00034 #define blockByteSize     blockSize*512
+00035 
+00036 #define EOBC              -1
+00037 
+00038 
+00039 #define typeFile      1
+00040 #define typeContainer 2
+00041 #define typeDirectory 4
+00042 #define typeDeleted   8
+00043 
+00045 struct ubixDiskLabel {
+00046   uInt32 magicNum; 
+00049   uInt16 numPartitions; 
+00051   struct  drivePartitions {
+00052     uInt32 pSize; 
+00053     uInt32 pOffset; 
+00054     uInt32 pFsSize; 
+00055     uInt32 pBatSize; 
+00056     uInt8  pFsType; 
+00057     uInt8 pFrag; 
+00058     } partitions[MAXPARTITIONS];
+00059   };
+00060 
+00061 struct partitionInformation {
+00062   uInt32 size;                 
+00063   uInt32 startSector;          
+00064   uInt32 blockAllocationTable; 
+00065   uInt32 rootDirectory;        
+00066   };
+00067 
+00069 struct blockAllocationTableEntry {
+00070   long attributes; 
+00071   long realSector; 
+00072   long nextBlock;  
+00073   long reserved;   
+00074   };
+00075 
+00077 struct directoryEntry {
+00078   uInt32  startCluster;   
+00079   uInt32  size;           
+00080   uInt32  creationDate;  
+00081   uInt32  lastModified;  
+00082   uInt32  uid;           
+00083   uInt32  gid;           
+00084   uInt16 attributes;    
+00085   uInt16 permissions;   
+00086   char   fileName[256]; 
+00087 };
+00088 
+00090 struct bootSect {
+00091   uInt8 jmp[4]; 
+00092   uInt8 id[6]; 
+00093   uInt16 version; 
+00094   uInt16 tmp;
+00095   uInt16 fsStart; 
+00096   uInt16 tmp2;
+00097   uInt32 krnl_start; 
+00098   uInt BytesPerSector;
+00099   uInt SectersPerTrack;
+00100   uInt TotalHeads;
+00101   uInt32 TotalSectors;
+00102   uInt8 code[479]; 
+00103   };  
+00104 
+00106 struct ubixFsInfo {
+00107   struct blockAllocationTableEntry *blockAllocationTable; 
+00108   uInt32 batEntries; 
+00109   };
+00110 
+00111 int readFile(char *file);
+00112 int writeFileByte(int ch,fileDescriptor *fd,long offset);
+00116 int openFileUbixFS(char *file,fileDescriptor *fd);
+00118 int mkDirUbixFS(char *dir,fileDescriptor *fd);
+00119 int getFreeBlocks(int count,fileDescriptor *fd);
+00120 
+00121 //Good Functions
+00124 int enableUbixFS();
+00127 void initUbixFS(struct mountPoints *mp);
+00130 int readUbixFS(fileDescriptor *fd,char *data,long offset,long size);
+00133 int writeUbixFS(fileDescriptor *fd,char *data,long offset,long size);
+00134 void syncBat(struct mountPoints *mp);
+00135 int freeBlocks(int block,fileDescriptor *fd);
+00136 /* Adds a file to a directory. Returns 0 */
+00137 int addDirEntry(struct directoryEntry *dir,fileDescriptor *fd);
+00139 void ubixFSUnlink(char *path,struct mountPoints *mp);
+00140 
+00141 #endif
+

Generated on Sat May 8 09:28:18 2004 for Ubixos by + +doxygen +1.3.3
+ + diff --git a/doc/doxygen/html/ubixfs_8h.html b/doc/doxygen/html/ubixfs_8h.html new file mode 100644 index 0000000..bc38e00 --- /dev/null +++ b/doc/doxygen/html/ubixfs_8h.html @@ -0,0 +1,771 @@ + + +Ubixos: ubixfs.h File Reference + + + +

ubixfs.h File Reference

#include <ubixos/types.h>
+#include <sys/device.h>
+#include <vfs/file.h>
+ +

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Data Structures

struct  blockAllocationTableEntry
struct  bootSect
 Bootsector structure. More...

struct  directoryEntry
 UbixFS Directory Entry. More...

struct  partitionInformation
struct  ubixDiskLabel
 Partition Information. More...

struct  ubixDiskLabel.drivePartitions
struct  ubixFsInfo

Defines

#define UBIXDISKMAGIC   ((uInt32)0x45)
#define MAXPARTITIONS   4
#define blockSize   8
#define blockByteSize   blockSize*512
#define EOBC   -1
#define typeFile   1
#define typeContainer   2
#define typeDirectory   4
#define typeDeleted   8

Functions

int readFile (char *file)
int writeFileByte (int ch, fileDescriptor *fd, long offset)
int openFileUbixFS (char *file, fileDescriptor *fd)
int mkDirUbixFS (char *dir, fileDescriptor *fd)
int getFreeBlocks (int count, fileDescriptor *fd)
int enableUbixFS ()
void initUbixFS (struct mountPoints *mp)
int readUbixFS (fileDescriptor *fd, char *data, long offset, long size)
int writeUbixFS (fileDescriptor *fd, char *data, long offset, long size)
void syncBat (struct mountPoints *mp)
int freeBlocks (int block, fileDescriptor *fd)
int addDirEntry (struct directoryEntry *dir, fileDescriptor *fd)
void ubixFSUnlink (char *path, struct mountPoints *mp)
+


Define Documentation

+

+ + + + +
+ + +
#define blockByteSize   blockSize*512 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define blockSize   8 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define EOBC   -1 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define MAXPARTITIONS   4 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define typeContainer   2 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define typeDeleted   8 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define typeDirectory   4 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define typeFile   1 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define UBIXDISKMAGIC   ((uInt32)0x45) +
+
+ + + + + +
+   + + +

+The disk magic number

+


Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
int addDirEntry struct directoryEntry dir,
fileDescriptor fd
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
int enableUbixFS  ) 
+
+ + + + + +
+   + + +

+Registers UbixFS functions with the virtual file-system (using vfsRegisterFS). Returns 1 if a failure happened, and 0 if success.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
int freeBlocks int  block,
fileDescriptor fd
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
int getFreeBlocks int  count,
fileDescriptor fd
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
void initUbixFS struct mountPoints mp  ) 
+
+ + + + + +
+   + + +

+Sets up the Ubix filesystem with appropriate data. If the medium is a hard-drive (or any medium?), it looks in the partition table.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
int mkDirUbixFS char *  dir,
fileDescriptor fd
+
+ + + + + +
+   + + +

+Makes a directory with the name directory. Returns 0

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
int openFileUbixFS char *  file,
fileDescriptor fd
+
+ + + + + +
+   + + +

+Depending on fd->mode, it fills fd with data about the file (start, size, permissions etc.), if the string file is matched with a filename in the current directory. Returns 1 on success, and 0 on failure. The fileDescriptor struct definition can be found in VFS

+

+ + + + +
+ + + + + + + + + + +
int readFile char *  file  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int readUbixFS fileDescriptor fd,
char *  data,
long  offset,
long  size
+
+ + + + + +
+   + + +

+Reads part (or can be whole) of a file into the memory pointed to by data. Returns size if successful, and 0 on failure.

+

+ + + + +
+ + + + + + + + + + +
void syncBat struct mountPoints mp  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void ubixFSUnlink char *  path,
struct mountPoints mp
+
+ + + + + +
+   + + +

+Effectively erases the file or directory from the filesystem

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
int writeFileByte int  ch,
fileDescriptor fd,
long  offset
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int writeUbixFS fileDescriptor fd,
char *  data,
long  offset,
long  size
+
+ + + + + +
+   + + +

+Writes part (or can be whole) of a file from the memory pointed to by data. Extends file if necessary. Returns size.

+


Generated on Sat May 8 09:28:23 2004 for Ubixos by + +doxygen +1.3.3
+ + diff --git a/doc/doxygen/html/ubthread_8h.html b/doc/doxygen/html/ubthread_8h.html new file mode 100644 index 0000000..127fdd0 --- /dev/null +++ b/doc/doxygen/html/ubthread_8h.html @@ -0,0 +1,586 @@ + + +Ubixos: ubthread.h File Reference + + + +

ubthread.h File Reference

#include <ubixos/types.h>
+#include <ubixos/sched.h>
+#include <ubixos/time.h>
+ +

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Data Structures

struct  ubthread
struct  ubthread_cond
struct  ubthread_cond_list
struct  ubthread_list
struct  ubthread_mutex
struct  ubthread_mutex_list

Defines

#define ETIMEDOUT   -1
#define LOCKED   1
#define UNLOCKED   0

Typedefs

typedef ubthreadubthread_t
typedef ubthread_condubthread_cond_t
typedef ubthread_mutexubthread_mutex_t

Functions

kTask_tubthread_self ()
int ubthread_cond_init (ubthread_cond_t *cond, const uInt32 attr)
int ubthread_mutex_init (ubthread_mutex_t *mutex, const uInt32 attr)
int ubthread_cond_destroy (ubthread_cond_t *cond)
int ubthread_mutex_destroy (ubthread_mutex_t *mutex)
int ubthread_create (kTask_t **thread, const uInt32 *attr, void *start_routine, void *arg)
int ubthread_mutex_lock (ubthread_mutex_t *mutex)
int ubthread_mutex_unlock (ubthread_mutex_t *mutex)
int ubthread_cond_timedwait (ubthread_cond_t *cond, ubthread_mutex_t *mutex, const struct timespec *abstime)
int ubthread_cond_wait (ubthread_cond_t *cond, ubthread_mutex_t *mutex)
int ubthread_cond_signal (ubthread_cond_t *cond)
+


Define Documentation

+

+ + + + +
+ + +
#define ETIMEDOUT   -1 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define LOCKED   1 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define UNLOCKED   0 +
+
+ + + + + +
+   + + +

+

+


Typedef Documentation

+

+ + + + +
+ + +
typedef struct ubthread_cond* ubthread_cond_t +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
typedef struct ubthread_mutex* ubthread_mutex_t +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
typedef struct ubthread* ubthread_t +
+
+ + + + + +
+   + + +

+

+


Function Documentation

+

+ + + + +
+ + + + + + + + + + +
int ubthread_cond_destroy ubthread_cond_t cond  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
int ubthread_cond_init ubthread_cond_t cond,
const uInt32  attr
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
int ubthread_cond_signal ubthread_cond_t cond  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
int ubthread_cond_timedwait ubthread_cond_t cond,
ubthread_mutex_t mutex,
const struct timespec abstime
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
int ubthread_cond_wait ubthread_cond_t cond,
ubthread_mutex_t mutex
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int ubthread_create kTask_t **  thread,
const uInt32 attr,
void *  start_routine,
void *  arg
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
int ubthread_mutex_destroy ubthread_mutex_t mutex  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
int ubthread_mutex_init ubthread_mutex_t mutex,
const uInt32  attr
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
int ubthread_mutex_lock ubthread_mutex_t mutex  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
int ubthread_mutex_unlock ubthread_mutex_t mutex  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
kTask_t* ubthread_self  ) 
+
+ + + + + +
+   + + +

+

+


Generated on Sat May 8 09:28:23 2004 for Ubixos by + +doxygen +1.3.3
+ + diff --git a/doc/doxygen/html/udp_8h.html b/doc/doxygen/html/udp_8h.html new file mode 100644 index 0000000..7840362 --- /dev/null +++ b/doc/doxygen/html/udp_8h.html @@ -0,0 +1,541 @@ + + +Ubixos: udp.h File Reference + + + +

udp.h File Reference

#include "net/arch.h"
+#include "net/pbuf.h"
+#include "net/ipv4/inet.h"
+#include "net/ipv4/ip.h"
+#include "net/err.h"
+ +

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Data Structures

struct  udp_hdr
struct  udp_pcb

Defines

#define UDP_HLEN   8
#define UDP_FLAGS_NOCHKSUM   0x01
#define UDP_FLAGS_UDPLITE   0x02
#define udp_flags(pcb)   ((pcb)->flags)
#define udp_setflags(pcb, f)   ((pcb)->flags = (f))

Functions

udp_pcbudp_new (void)
void udp_remove (struct udp_pcb *pcb)
err_t udp_bind (struct udp_pcb *pcb, struct ip_addr *ipaddr, uInt16 port)
err_t udp_connect (struct udp_pcb *pcb, struct ip_addr *ipaddr, uInt16 port)
void udp_recv (struct udp_pcb *pcb, void(*recv)(void *arg, struct udp_pcb *upcb, struct pbuf *p, struct ip_addr *addr, uInt16 port), void *recv_arg)
err_t udp_send (struct udp_pcb *pcb, struct pbuf *p)
uInt8 udp_lookup (struct ip_hdr *iphdr, struct netif *inp)
void udp_input (struct pbuf *p, struct netif *inp)
void udp_init (void)

Variables

udp_hdr PACK_STRUCT_STRUCT
+


Define Documentation

+

+ + + + +
+ + + + + + + +
#define udp_flagspcb   )    ((pcb)->flags) +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define UDP_FLAGS_NOCHKSUM   0x01 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define UDP_FLAGS_UDPLITE   0x02 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define UDP_HLEN   8 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
#define udp_setflagspcb,
 )    ((pcb)->flags = (f)) +
+
+ + + + + +
+   + + +

+

+


Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
err_t udp_bind struct udp_pcb pcb,
struct ip_addr ipaddr,
uInt16  port
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
err_t udp_connect struct udp_pcb pcb,
struct ip_addr ipaddr,
uInt16  port
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
void udp_init void   ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void udp_input struct pbuf p,
struct netif inp
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
uInt8 udp_lookup struct ip_hdr iphdr,
struct netif inp
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
struct udp_pcb* udp_new void   ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
void udp_recv struct udp_pcb pcb,
void(*  recv)(void *arg, struct udp_pcb *upcb, struct pbuf *p, struct ip_addr *addr, uInt16 port),
void *  recv_arg
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
void udp_remove struct udp_pcb pcb  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
err_t udp_send struct udp_pcb pcb,
struct pbuf p
+
+ + + + + +
+   + + +

+

+


Variable Documentation

+

+ + + + +
+ + +
struct udp_hdr PACK_STRUCT_STRUCT +
+
+ + + + + +
+   + + +

+

+


Generated on Sat May 8 09:28:23 2004 for Ubixos by + +doxygen +1.3.3
+ + diff --git a/doc/doxygen/html/uniondescriptor_table_union.html b/doc/doxygen/html/uniondescriptor_table_union.html new file mode 100644 index 0000000..f10ae49 --- /dev/null +++ b/doc/doxygen/html/uniondescriptor_table_union.html @@ -0,0 +1,93 @@ + + +Ubixos: descriptorTableUnion union Reference + + + +

descriptorTableUnion Union Reference

#include <gdt.h> +

+ + + + + + + + + +

Data Fields

gdtDescriptor descriptor
gdtGate gate
unsigned long dummy
+


Field Documentation

+

+ + + + +
+ + +
struct gdtDescriptor descriptorTableUnion::descriptor +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
unsigned long descriptorTableUnion::dummy +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
struct gdtGate descriptorTableUnion::gate +
+
+ + + + + +
+   + + +

+

+


The documentation for this union was generated from the following file: +
Generated on Sat May 8 09:28:24 2004 for Ubixos by + +doxygen +1.3.3
+ + diff --git a/doc/doxygen/html/unionetheraddr.html b/doc/doxygen/html/unionetheraddr.html new file mode 100644 index 0000000..7c04b6a --- /dev/null +++ b/doc/doxygen/html/unionetheraddr.html @@ -0,0 +1,69 @@ + + +Ubixos: etheraddr union Reference + + + +

etheraddr Union Reference

#include <ne2k.h> +

+ + + + + + + +

Data Fields

unsigned char bytes [6]
unsigned short shorts [3]
+


Field Documentation

+

+ + + + +
+ + +
unsigned char etheraddr::bytes[6] +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
unsigned short etheraddr::shorts[3] +
+
+ + + + + +
+   + + +

+

+


The documentation for this union was generated from the following file: +
Generated on Sat May 8 09:28:24 2004 for Ubixos by + +doxygen +1.3.3
+ + diff --git a/doc/doxygen/html/vfs_8h.html b/doc/doxygen/html/vfs_8h.html new file mode 100644 index 0000000..7300dbc --- /dev/null +++ b/doc/doxygen/html/vfs_8h.html @@ -0,0 +1,452 @@ + + +Ubixos: vfs.h File Reference + + + +

vfs.h File Reference

#include <ubixos/types.h>
+ +

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Data Structures

struct  fileDescriptorStruct
struct  fileSystem

Defines

#define maxFd   32
#define fdAvail   1
#define fdOpen   2
#define fdRead   3
#define fdEof   4
#define fileRead   0x0001
#define fileWrite   0x0002
#define fileBinary   0x0004
#define fileAppend   0x0008

Typedefs

typedef fileDescriptorStruct fileDescriptor

Functions

int vfsInit ()
int vfsRegisterFS (int, void *, void *, void *, void *, void *, void *, void *, void *)
fileSystemvfsFindFS (int)
fileDescriptorfopen (const char *file, const char *flags)
+


Define Documentation

+

+ + + + +
+ + +
#define fdAvail   1 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define fdEof   4 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define fdOpen   2 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define fdRead   3 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define fileAppend   0x0008 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define fileBinary   0x0004 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define fileRead   0x0001 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define fileWrite   0x0002 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define maxFd   32 +
+
+ + + + + +
+   + + +

+

+


Typedef Documentation

+

+ + + + +
+ + +
typedef struct fileDescriptorStruct fileDescriptor +
+
+ + + + + +
+   + + +

+

+


Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
fileDescriptor* fopen const char *  file,
const char *  flags
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
struct fileSystem* vfsFindFS int   ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
int vfsInit  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int vfsRegisterFS int ,
void * ,
void * ,
void * ,
void * ,
void * ,
void * ,
void * ,
void * 
+
+ + + + + +
+   + + +

+

+


Generated on Sat May 8 09:28:23 2004 for Ubixos by + +doxygen +1.3.3
+ + diff --git a/doc/doxygen/html/video_8h.html b/doc/doxygen/html/video_8h.html new file mode 100644 index 0000000..a9777a4 --- /dev/null +++ b/doc/doxygen/html/video_8h.html @@ -0,0 +1,163 @@ + + +Ubixos: video.h File Reference + + + +

video.h File Reference

#include <ubixos/types.h>
+ +

+Go to the source code of this file. + + + + + + + + + + + + + + +

Defines

#define defaultColor   0x0F

Functions

void clearScreen ()
void kprint (char *string)
void backSpace ()

Variables

int printColor
+


Define Documentation

+

+ + + + +
+ + +
#define defaultColor   0x0F +
+
+ + + + + +
+   + + +

+

+


Function Documentation

+

+ + + + +
+ + + + + + + + + +
void backSpace  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
void clearScreen  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
void kprint char *  string  ) 
+
+ + + + + +
+   + + +

+

+


Variable Documentation

+

+ + + + +
+ + +
int printColor +
+
+ + + + + +
+   + + +

+

+


Generated on Sat May 8 09:28:23 2004 for Ubixos by + +doxygen +1.3.3
+ + diff --git a/doc/doxygen/html/vitals_8h.html b/doc/doxygen/html/vitals_8h.html new file mode 100644 index 0000000..24f4a06 --- /dev/null +++ b/doc/doxygen/html/vitals_8h.html @@ -0,0 +1,108 @@ + + +Ubixos: vitals.h File Reference + + + +

vitals.h File Reference

#include <ubixos/types.h>
+#include <ubixos/ubthread.h>
+#include <vfs/mount.h>
+#include <vfs/vfs.h>
+ +

+Go to the source code of this file. + + + + + + + + + + + + + +

Data Structures

struct  vitalsStruct

Typedefs

typedef vitalsStruct vitalsNode

Functions

int initVitals ()

Variables

vitalsNodesystemVitals
+


Typedef Documentation

+

+ + + + +
+ + +
typedef struct vitalsStruct vitalsNode +
+
+ + + + + +
+   + + +

+

+


Function Documentation

+

+ + + + +
+ + + + + + + + + +
int initVitals  ) 
+
+ + + + + +
+   + + +

+

+


Variable Documentation

+

+ + + + +
+ + +
vitalsNode* systemVitals +
+
+ + + + + +
+   + + +

+

+


Generated on Sat May 8 09:28:23 2004 for Ubixos by + +doxygen +1.3.3
+ + diff --git a/doc/doxygen/html/vmm_8h.html b/doc/doxygen/html/vmm_8h.html new file mode 100644 index 0000000..59002bb --- /dev/null +++ b/doc/doxygen/html/vmm_8h.html @@ -0,0 +1,419 @@ + + +Ubixos: vmm.h File Reference + + + +

vmm.h File Reference

#include <vmm/paging.h>
+#include <ubixos/types.h>
+ +

+Go to the source code of this file. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Data Structures

struct  mMap

Defines

#define memAvail   1
#define memNotavail   2
#define vmmID   -3
#define vmmMemoryMapAddr   0xE6667000

Functions

int vmmInit ()
int vmmMemMapInit ()
int countMemory ()
uInt32 vmmFindFreePage (pidType pid)
int freePage (uInt32 pageAddr)
int adjustCowCounter (uInt32 baseAddr, int adjustment)
void vmmFreeProcessPages (pidType pid)

Variables

mMapvmmMemoryMap
int numPages
uInt32 freePages
+


Define Documentation

+

+ + + + +
+ + +
#define memAvail   1 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define memNotavail   2 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define vmmID   -3 +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
#define vmmMemoryMapAddr   0xE6667000 +
+
+ + + + + +
+   + + +

+

+


Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
int adjustCowCounter uInt32  baseAddr,
int  adjustment
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
int countMemory  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
int freePage uInt32  pageAddr  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
uInt32 vmmFindFreePage pidType  pid  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
void vmmFreeProcessPages pidType  pid  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
int vmmInit  ) 
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + +
int vmmMemMapInit  ) 
+
+ + + + + +
+   + + +

+

+


Variable Documentation

+

+ + + + +
+ + +
uInt32 freePages +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
int numPages +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + +
mMap* vmmMemoryMap +
+
+ + + + + +
+   + + +

+

+


Generated on Sat May 8 09:28:23 2004 for Ubixos by + +doxygen +1.3.3
+ +