diff --git a/Doxyfile b/Doxyfile index 6dfcae4..4dcbfd4 100644 --- a/Doxyfile +++ b/Doxyfile @@ -131,7 +131,8 @@ *.S RECURSIVE = YES EXCLUDE = /usr/home/reddawg/source/ubix2/src/sys/sde \ - /usr/home/reddawg/source/ubix2/src/lib/objgfx40 + /usr/home/reddawg/source/ubix2/src/lib/objgfx40 \ + /usr/home/reddawg/source/ubix2/src/sys/ubixfsv2 EXCLUDE_SYMLINKS = NO EXCLUDE_PATTERNS = EXAMPLE_PATH = @@ -179,7 +180,7 @@ #--------------------------------------------------------------------------- # configuration options related to the LaTeX output #--------------------------------------------------------------------------- -GENERATE_LATEX = NO +GENERATE_LATEX = YES LATEX_OUTPUT = latex LATEX_CMD_NAME = latex MAKEINDEX_CMD_NAME = makeindex @@ -187,8 +188,8 @@ PAPER_TYPE = a4wide EXTRA_PACKAGES = LATEX_HEADER = -PDF_HYPERLINKS = NO -USE_PDFLATEX = NO +PDF_HYPERLINKS = YES +USE_PDFLATEX = YES LATEX_BATCHMODE = NO LATEX_HIDE_INDICES = NO #--------------------------------------------------------------------------- diff --git a/doc/html/8259_8c-source.html b/doc/html/8259_8c-source.html index 595b1fb..bfe248b 100644 --- a/doc/html/8259_8c-source.html +++ b/doc/html/8259_8c-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/8259_8c.html b/doc/html/8259_8c.html index 5937344..33f2113 100644 --- a/doc/html/8259_8c.html +++ b/doc/html/8259_8c.html @@ -8,7 +8,6 @@

8259.c File Reference

#include <sys/io.h>
#include <isa/8259.h>
-#include <ubixos/types.h>
+#include <ubixos/types.h>
#include <lib/kprintf.h>

@@ -41,9 +40,9 @@

Functions

int i8259_init () -void irqDisable (uInt16 irqNo) +void irqDisable (uInt16 irqNo) -void irqEnable (uInt16 irqNo) +void irqEnable (uInt16 irqNo)

Variables

static unsigned int irqMask = 0xFFFF @@ -80,7 +79,7 @@ void irqDisable ( - uInt16  + uInt16  irqNo  )  @@ -106,7 +105,7 @@ void irqEnable ( - uInt16  + uInt16  irqNo  )  @@ -145,7 +144,7 @@ Referenced by irqDisable(), and irqEnable().

-


Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/8259_8h-source.html b/doc/html/8259_8h-source.html index ace94f0..09ad585 100644 --- a/doc/html/8259_8h-source.html +++ b/doc/html/8259_8h-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/8259_8h.html b/doc/html/8259_8h.html index a37cda5..cb40a19 100644 --- a/doc/html/8259_8h.html +++ b/doc/html/8259_8h.html @@ -8,7 +8,6 @@ -

8259.h File Reference

#include <ubixos/types.h>
+

8259.h File Reference

#include <ubixos/types.h>

Go to the source code of this file. @@ -61,9 +60,9 @@ - + - +

Functions

int i8259_init ()
void irqDisable (uInt16 irqNo)
void irqDisable (uInt16 irqNo)
void irqEnable (uInt16 irqNo)
void irqEnable (uInt16 irqNo)


Define Documentation

@@ -303,7 +302,7 @@ void irqDisable ( - uInt16  + uInt16  irqNo  )  @@ -329,7 +328,7 @@ void irqEnable ( - uInt16  + uInt16  irqNo  )  @@ -348,7 +347,7 @@ Referenced by _int13(), atkbd_init(), fdc_init(), kmain(), mouseInit(), ne2k_init(), and ne2kHandler().

-


Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:09 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/Makefile_8inc-source.html b/doc/html/Makefile_8inc-source.html index d7e04d3..6cb6dd5 100644 --- a/doc/html/Makefile_8inc-source.html +++ b/doc/html/Makefile_8inc-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:07 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/Makefile_8inc.html b/doc/html/Makefile_8inc.html index 81faba7..a76a767 100644 --- a/doc/html/Makefile_8inc.html +++ b/doc/html/Makefile_8inc.html @@ -8,7 +8,6 @@

Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/__types_8h.html b/doc/html/__types_8h.html index 450415f..53f7d0c 100644 --- a/doc/html/__types_8h.html +++ b/doc/html/__types_8h.html @@ -8,7 +8,6 @@

-


Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:11 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/annotated.html b/doc/html/annotated.html index 7bcc6be..8583b6e 100644 --- a/doc/html/annotated.html +++ b/doc/html/annotated.html @@ -8,7 +8,6 @@

UbixOS V2 Data Structures

Here are the data structures with brief descriptions: @@ -42,13 +40,9 @@ - - - - @@ -56,7 +50,6 @@ - @@ -64,13 +57,10 @@ - - - @@ -91,10 +81,8 @@ - - @@ -147,6 +135,7 @@ + @@ -180,9 +169,7 @@ - - @@ -193,14 +180,12 @@ - -
arp_hdr
arpcom
blockAllocationTableEntry
blockRun
bNode
bootSect
bsd_disklabel
bsd_disklabel::partition
bTree
bTreeHeader
buf
cacheNode
close_args
cpuinfo_t
csum
csum_total
dataStream
descriptorTableUnion
devfs_devices
devfs_info
device_interface
device_node
device_resource
device_t
devMethodType
directoryEntry
directoryList
dirent
DiskFS
diskSuperBlock
dmadat
dos_partition
dp_rcvhdr
ethip_hdr
fcntl_args
file
fileDescriptor
fileDescriptorStruct
fileSystemFilesSystem Structure
FileSystemAbstract
fs
fstat_args
gdt_descr
read_args
readlink_args
sdeWindows
setitimer_args
sigaction_args
sigprocmask_args
sockaddr
TVESA_Rec
ubixDiskLabel
ubixDiskLabel::ubixPartitions
UbixFS
ubixFSInfo
ubixfsInode
ubthread
ubthread_cond
ubthread_cond_list
udp_pcb
ufs1_dinode
ufs2_dinode
uPtr
userFileDescriptorStruct
vfs_abstract
vfs_mountPoint
vitalsStruct
write_args
-
Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/ap-boot_8S-source.html b/doc/html/ap-boot_8S-source.html index 5bb0a07..1f9b3f5 100644 --- a/doc/html/ap-boot_8S-source.html +++ b/doc/html/ap-boot_8S-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:06 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/ap-boot_8S.html b/doc/html/ap-boot_8S.html index 47d7354..8a82047 100644 --- a/doc/html/ap-boot_8S.html +++ b/doc/html/ap-boot_8S.html @@ -8,7 +8,6 @@

@@ -1014,7 +1013,7 @@

- +
globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov x10 globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov x10
@@ -1033,7 +1032,7 @@
- +
globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add x1000 globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add x1000
@@ -1044,7 +1043,7 @@

Definition at line 52 of file ap-boot.S.

-Referenced by addDirEntry(), biosCall(), execFile(), initLNC(), kmod_load(), ldEnable(), mmap(), sysExec(), ubixFSUnlink(), vmm_cleanVirtualSpace(), vmm_getFreeMallocPage(), vmm_getPhysicalAddr(), vmm_pageFault(), vmm_pagingInit(), vmm_remapPage(), vmm_setPageAttributes(), vmmCopyVirtualSpace(), vmmFreeProcessPages(), vmmGetFreePage(), vmmGetFreeVirtualPage(), vmmMapFromTask(), vmmMemMapInit(), vmmUnmapPage(), and writeUbixFS(). +Referenced by addDirEntry(), biosCall(), execFile(), fstat(), initLNC(), kmod_load(), ldEnable(), mmap(), sysExec(), ubixFSUnlink(), vmm_cleanVirtualSpace(), vmm_getFreeMallocPage(), vmm_getPhysicalAddr(), vmm_pageFault(), vmm_pagingInit(), vmm_remapPage(), vmm_setPageAttributes(), vmmCopyVirtualSpace(), vmmFreeProcessPages(), vmmGetFreePage(), vmmGetFreeVirtualPage(), vmmMapFromTask(), vmmMemMapInit(), vmmUnmapPage(), and writeUbixFS().

@@ -1052,7 +1051,7 @@

- +
globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov x30 globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov x30
@@ -1071,7 +1070,7 @@
- +
globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov x31 globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov x31
@@ -1105,7 +1104,7 @@
- +
globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov dx outb dx eax mov ap_trampoline_spl edi eax mov x33 globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov dx outb dx eax mov ap_trampoline_spl edi eax mov x33
@@ -1122,7 +1121,7 @@
- +
globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov dx outb dx eax mov ap_trampoline_spl edi eax mov al mov xe9 globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov dx outb dx eax mov ap_trampoline_spl edi eax mov al mov xe9
@@ -1139,7 +1138,7 @@
- +
globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov xe9 globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov xe9
@@ -1156,7 +1155,7 @@
- +
globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov xe9 globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov xe9
@@ -1173,7 +1172,7 @@
- +
globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov xe9 globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov xe9
@@ -1190,7 +1189,7 @@
- +
globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov xe9 globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov xe9
@@ -1204,7 +1203,7 @@ Referenced by c_ap_boot().

-


Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/api_8h-source.html b/doc/html/api_8h-source.html index 1f7895b..9450fe6 100644 --- a/doc/html/api_8h-source.html +++ b/doc/html/api_8h-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/api_8h.html b/doc/html/api_8h.html index 598dba3..c58e7b6 100644 --- a/doc/html/api_8h.html +++ b/doc/html/api_8h.html @@ -8,7 +8,6 @@

-


Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:16 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/arp_8h-source.html b/doc/html/arp_8h-source.html index c2af30b..2baf9ad 100644 --- a/doc/html/arp_8h-source.html +++ b/doc/html/arp_8h-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/arp_8h.html b/doc/html/arp_8h.html index 71dbdb1..3d73e2a 100644 --- a/doc/html/arp_8h.html +++ b/doc/html/arp_8h.html @@ -8,7 +8,6 @@

-


Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:11 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/assert_8c-source.html b/doc/html/assert_8c-source.html index 973aba8..7fc15f9 100644 --- a/doc/html/assert_8c-source.html +++ b/doc/html/assert_8c-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:07 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/assert_8c.html b/doc/html/assert_8c.html index 21005df..e9aaf53 100644 --- a/doc/html/assert_8c.html +++ b/doc/html/assert_8c.html @@ -8,7 +8,6 @@

-


Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:15 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/assert_8h-source.html b/doc/html/assert_8h-source.html index 4a370a0..60bfc0b 100644 --- a/doc/html/assert_8h-source.html +++ b/doc/html/assert_8h-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/assert_8h.html b/doc/html/assert_8h.html index 919e77f..36d8aac 100644 --- a/doc/html/assert_8h.html +++ b/doc/html/assert_8h.html @@ -8,7 +8,6 @@


Function Documentation

@@ -176,7 +175,7 @@ References kpanic(), kprintf(), and NULL.

-


Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:09 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/atan_8c-source.html b/doc/html/atan_8c-source.html index 8ba4d7f..0c523ca 100644 --- a/doc/html/atan_8c-source.html +++ b/doc/html/atan_8c-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:07 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/atan_8c.html b/doc/html/atan_8c.html index d502d0d..e0adda3 100644 --- a/doc/html/atan_8c.html +++ b/doc/html/atan_8c.html @@ -8,7 +8,6 @@

-


Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:15 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/atkbd_8c-source.html b/doc/html/atkbd_8c-source.html index 205cf66..d99d971 100644 --- a/doc/html/atkbd_8c-source.html +++ b/doc/html/atkbd_8c-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/atkbd_8c.html b/doc/html/atkbd_8c.html index 71007fb..04975f3 100644 --- a/doc/html/atkbd_8c.html +++ b/doc/html/atkbd_8c.html @@ -8,7 +8,6 @@

-


Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/atkbd_8h-source.html b/doc/html/atkbd_8h-source.html index 77250eb..59406af 100644 --- a/doc/html/atkbd_8h-source.html +++ b/doc/html/atkbd_8h-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/atkbd_8h.html b/doc/html/atkbd_8h.html index cb6284f..30d076c 100644 --- a/doc/html/atkbd_8h.html +++ b/doc/html/atkbd_8h.html @@ -8,7 +8,6 @@

-


Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:09 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/bcopy_8c-source.html b/doc/html/bcopy_8c-source.html index 9398d8f..efa240c 100644 --- a/doc/html/bcopy_8c-source.html +++ b/doc/html/bcopy_8c-source.html @@ -8,7 +8,6 @@
  • Main Page
  • -
  • Namespaces
  • Data Structures
  • Files
  • Directories
  • @@ -68,14 +67,14 @@ 00036 * $ID: $ 00037 */ 00038 -00039 #include <ubixos/types.h> +00039 #include <ubixos/types.h> 00040 00041 /* 00042 * sizeof(word) MUST BE A POWER OF TWO 00043 * SO THAT wmask BELOW IS ALL ONES 00044 */ 00045 typedef int word; /* "word" used for optimal copy speed */ -00046 typedef u_int32_t uintptr_t; +00046 typedef u_int32_t uintptr_t; 00047 00048 #define wsize sizeof(word) 00049 #define wmask (wsize - 1) @@ -94,17 +93,17 @@ 00062 #else 00063 memmove 00064 #endif -00065 (void *dst0, const void *src0, size_t length) +00065 (void *dst0, const void *src0, size_t length) 00066 #else 00067 #include <strings.h> 00068 00069 void -00070 bcopy(const void *src0, void *dst0, size_t length) +00070 bcopy(const void *src0, void *dst0, size_t length) 00071 #endif 00072 { 00073 char *dst = dst0; 00074 const char *src = src0; -00075 size_t t; +00075 size_t t; 00076 00077 if (length == 0 || dst == src) /* nothing to do */ 00078 goto done; @@ -168,7 +167,7 @@ 00136 return; 00137 #endif 00138 } -

Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:07 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/bcopy_8c.html b/doc/html/bcopy_8c.html index b768cc1..44d9429 100644 --- a/doc/html/bcopy_8c.html +++ b/doc/html/bcopy_8c.html @@ -8,7 +8,6 @@ -

bcopy.c File Reference

#include <ubixos/types.h>
+

bcopy.c File Reference

#include <ubixos/types.h>
#include <strings.h>
#include <string.h>
@@ -47,12 +46,12 @@ #define wsize   sizeof(word)

Typedefs

-typedef u_int32_t uintptr_t +typedef u_int32_t uintptr_t typedef int word

Functions

-void bcopy (const void *src0, void *dst0, size_t length) +void bcopy (const void *src0, void *dst0, size_t length)

Define Documentation

@@ -144,7 +143,7 @@
- +
typedef u_int32_t uintptr_t typedef u_int32_t uintptr_t
@@ -193,7 +192,7 @@ - size_t  + size_t  length  @@ -213,7 +212,7 @@ References done, TLOOP, TLOOP1, wmask, and wsize.

-


Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:15 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/bioscall_8c-source.html b/doc/html/bioscall_8c-source.html index 49c5c52..60fa1a5 100644 --- a/doc/html/bioscall_8c-source.html +++ b/doc/html/bioscall_8c-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:06 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/bioscall_8c.html b/doc/html/bioscall_8c.html index a650e3e..a01d150 100644 --- a/doc/html/bioscall_8c.html +++ b/doc/html/bioscall_8c.html @@ -8,7 +8,6 @@

-


Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/bioscall_8h-source.html b/doc/html/bioscall_8h-source.html index f432cf0..aa67c57 100644 --- a/doc/html/bioscall_8h-source.html +++ b/doc/html/bioscall_8h-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/bioscall_8h.html b/doc/html/bioscall_8h.html index f73bc94..e91b104 100644 --- a/doc/html/bioscall_8h.html +++ b/doc/html/bioscall_8h.html @@ -8,7 +8,6 @@ -

bioscall.h File Reference

#include <ubixos/types.h>
+

bioscall.h File Reference

#include <ubixos/types.h>

Go to the source code of this file. @@ -47,7 +46,7 @@ - +

Functions

void bios16Code ()
void biosCall (int biosInt, int eax, int ebx, int ecx, int edx, int esi, int edi, int es, int ds)
void biosCall (int biosInt, int eax, int ebx, int ecx, int edx, int esi, int edi, int es, int ds)


Define Documentation

@@ -222,7 +221,7 @@ Referenced by systemTask().

-


Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:09 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/block_8c-source.html b/doc/html/block_8c-source.html index 92155cf..af308df 100644 --- a/doc/html/block_8c-source.html +++ b/doc/html/block_8c-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:08 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/block_8c.html b/doc/html/block_8c.html index e46fae2..e3235d4 100644 --- a/doc/html/block_8c.html +++ b/doc/html/block_8c.html @@ -8,7 +8,6 @@ -

block.c File Reference

#include <ubixfs/ubixfs.h>
-#include <vfs/file.h>
+

block.c File Reference

#include <ubixfs/ubixfs.h>
+#include <vfs/file.h>
#include <vfs/mount.h>

Go to the source code of this file. - + - + @@ -59,7 +58,7 @@ - + @@ -76,7 +75,7 @@

Definition at line 79 of file block.c.

-References blockAllocationTableEntry::attributes, ubixFSInfo::blockAllocationTable, blockAllocationTableEntry::nextBlock, and syncBat(). +References blockAllocationTableEntry::attributes, ubixFSInfo::blockAllocationTable, vfs_mountPoint::fsInfo, fileDescriptorStruct::mp, blockAllocationTableEntry::nextBlock, and syncBat().

@@ -92,7 +91,7 @@

- + @@ -109,7 +108,7 @@

Definition at line 96 of file block.c.

-References blockAllocationTableEntry::attributes, ubixFSInfo::batEntries, ubixFSInfo::blockAllocationTable, blockAllocationTableEntry::nextBlock, syncBat(), and x1. +References blockAllocationTableEntry::attributes, ubixFSInfo::batEntries, ubixFSInfo::blockAllocationTable, vfs_mountPoint::fsInfo, fileDescriptorStruct::mp, blockAllocationTableEntry::nextBlock, syncBat(), and x1.

Referenced by ubixFSmkDir(), and writeUbixFS(). @@ -135,12 +134,12 @@

Definition at line 74 of file block.c.

-References ubixFSInfo::blockAllocationTable, vfs_mountPoint::device, device_node::devInfo, vfs_mountPoint::diskLabel, vfs_mountPoint::fsInfo, device_interface::info, vfs_mountPoint::partition, ubixDiskLabel::partitions, and device_interface::write. +References ubixFSInfo::blockAllocationTable, vfs_mountPoint::device, device_node::devInfo, vfs_mountPoint::diskLabel, vfs_mountPoint::fsInfo, device_interface::info, vfs_mountPoint::partition, ubixDiskLabel::partitions, and device_interface::write.

Referenced by freeBlocks(), and getFreeBlocks().

-


Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:16 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/bot_8c-source.html b/doc/html/bot_8c-source.html index 0d6c7cf..7faa696 100644 --- a/doc/html/bot_8c-source.html +++ b/doc/html/bot_8c-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:07 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/bot_8c.html b/doc/html/bot_8c.html index f812482..2c736b5 100644 --- a/doc/html/bot_8c.html +++ b/doc/html/bot_8c.html @@ -8,7 +8,6 @@

-


Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:15 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/buf_8h-source.html b/doc/html/buf_8h-source.html index 46099f2..3bf125d 100644 --- a/doc/html/buf_8h-source.html +++ b/doc/html/buf_8h-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/buf_8h.html b/doc/html/buf_8h.html index 7429140..64f7e06 100644 --- a/doc/html/buf_8h.html +++ b/doc/html/buf_8h.html @@ -8,7 +8,6 @@ -

buf.h File Reference

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

buf.h File Reference

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

Go to the source code of this file.


Functions

int freeBlocks (int block, fileDescriptor *fd)
int freeBlocks (int block, fileDescriptor *fd)
int getFreeBlocks (int count, fileDescriptor *fd)
int getFreeBlocks (int count, fileDescriptor *fd)
void syncBat (struct vfs_mountPoint *mp)
fileDescriptorfileDescriptor fd 
fileDescriptorfileDescriptor fd 
@@ -41,7 +40,7 @@
struct  buf
-


Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:11 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/cc_8h-source.html b/doc/html/cc_8h-source.html index 1635e2c..c013045 100644 --- a/doc/html/cc_8h-source.html +++ b/doc/html/cc_8h-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/cc_8h.html b/doc/html/cc_8h.html index 5212418..3051d99 100644 --- a/doc/html/cc_8h.html +++ b/doc/html/cc_8h.html @@ -8,7 +8,6 @@

-


Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:10 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/cdefs_8h-source.html b/doc/html/cdefs_8h-source.html index e593d10..67f4a39 100644 --- a/doc/html/cdefs_8h-source.html +++ b/doc/html/cdefs_8h-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/cdefs_8h.html b/doc/html/cdefs_8h.html index ced5b5e..5c86ec0 100644 --- a/doc/html/cdefs_8h.html +++ b/doc/html/cdefs_8h.html @@ -8,7 +8,6 @@ -

cdefs.h File Reference

#include <ubixos/types.h>
+

cdefs.h File Reference

#include <ubixos/types.h>

Go to the source code of this file. @@ -76,7 +75,7 @@ Definition at line 31 of file cdefs.h.

-


Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:11 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/classes.html b/doc/html/classes.html index 1fb7b22..57b4e69 100644 --- a/doc/html/classes.html +++ b/doc/html/classes.html @@ -8,7 +8,6 @@

UbixOS V2 Data Structure Index

A | B | C | D | E | F | G | H | I | K | L | M | N | O | P | R | S | T | U | V | W | _

  A  
-
diskSuperBlock   
  H  
-
ogModeInfo   timeval   
api_msg   dmadat   hostRingEntry   ogVESAInfo   timezone   
api_msg_msg   dos_partition   
  I  
-
open_args   TMode_Rec   
arp_entry   dp_rcvhdr   i386_frame   osInfo   tms   
arp_hdr   driveInfo   i387Struct   
  P  
-
trapframe   
arpcom   driverType   icmp_dur_hdr   partitionInformation   tssStruct   
  B  
-
DrvGeom   icmp_echo_hdr   pbuf   tty_termNode   
blockAllocationTableEntry   
  E  
-
icmp_te_hdr   pciConfig   TVESA_Rec   
blockRun   ei_device   in_addr   pipe_args   
  U  
-
bNode   elfDynamic   initBlock   
  R  
-
ubixDiskLabel   
bootSect   elfDynSym   ioctl_args   read_args   ubixDiskLabel::ubixPartitions   
bsd_disklabel   elfHeader   ip_addr   readlink_args   UbixFS   
bsd_disklabel::partition   elfPltInfo   ip_hdr   
  S  
-
ubixFSInfo   
bTree   elfProgramHeader   issetugid_args   sdeWindows   ubixfsInode   
bTreeHeader   elfSectionHeader   
  K  
-
sigaction_args   ubthread   
buf   eth_addr   kmod_struct   sigprocmask_args   ubthread_cond   
  C  
-
eth_hdr   
  L  
-
sockaddr   ubthread_cond_list   
cacheNode   etheraddr   lncInfo   sockaddr_in   ubthread_list   
close_args   ethernetif   lwip_socket   stat   ubthread_mutex   
confadd   ethip_hdr   
  M  
-
sys_mbox   ubthread_mutex_list   
cpuinfo_t   
  F  
-
mds   sys_mbox_msg   udp_hdr   
csum   fcntl_args   memDescriptor   sys_sem   udp_pcb   
csum_total   file   mMap   sys_thread   ufs1_dinode   
  D  
-
fileDescriptor   mmap_args   sys_timeout   ufs2_dinode   
dataStream   fileDescriptorStruct   mpi_mbox   sys_timeouts   uPtr   
descriptorTableUnion   fileSystem   mpi_message   sysctl_args   userFileDescriptorStruct   
devfs_devices   FileSystemAbstract   munmap_args   sysctl_entry   
  V  
-
devfs_info   fs   
  N  
-
  T  
-
vfs_abstract   
device   fstat_args   net   taskStruct   vfs_mountPoint   
device_interface   
  G  
-
netbuf   tcp_hdr   vitalsStruct   
device_node   gdt_descr   netconn   tcp_pcb   
  W  
-
device_resource   gdtDescriptor   netif   tcp_pcb_listen   write_args   
device_t   gdtGate   nicBuffer   tcp_seg   
  _  
-
devMethodType   getdtablesize_args   nicInfo   tcpip_msg   __sigset   
directoryEntry   getgid_args   
  O  
-
thread   __timespec   
directoryList   getpid_args   obreak_args   thread_start_param   _item_t   
dirent   gettimeofday_args   ogDisplay_UbixOS   timespec   _list_t   
DiskFS   getuid_args   ogDisplay_VESA   timeStruct   _UbixUser   

A | B | C | D | E | F | G | H | I | K | L | M | N | O | P | R | S | T | U | V | W | _

-


Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +DrvGeom   icmp_echo_hdr   osInfo   timeStruct   api_msg   
  E  
+icmp_te_hdr   
  P  
+timeval   api_msg_msg   ei_device   in_addr   partitionInformation   timezone   arp_entry   elfDynamic   initBlock   pbuf   TMode_Rec   arp_hdr   elfDynSym   ioctl_args   pciConfig   tms   arpcom   elfHeader   ip_addr   pipe_args   trapframe   
  B  
+elfPltInfo   ip_hdr   
  R  
+tssStruct   blockAllocationTableEntry   elfProgramHeader   issetugid_args   read_args   tty_termNode   bootSect   elfSectionHeader   
  K  
+readlink_args   TVESA_Rec   bsd_disklabel   eth_addr   kmod_struct   
  S  
+
  U  
+bsd_disklabel::partition   eth_hdr   
  L  
+sdeWindows   ubixDiskLabel   buf   etheraddr   lncInfo   setitimer_args   ubixDiskLabel::ubixPartitions   
  C  
+ethernetif   lwip_socket   sigaction_args   ubixFSInfo   cacheNode   ethip_hdr   
  M  
+sigprocmask_args   ubthread   close_args   
  F  
+mds   sockaddr   ubthread_cond   confadd   fcntl_args   memDescriptor   sockaddr_in   ubthread_cond_list   cpuinfo_t   file   mMap   stat   ubthread_list   csum   fileDescriptorStruct   mmap_args   sys_mbox   ubthread_mutex   csum_total   fileSystem   mpi_mbox   sys_mbox_msg   ubthread_mutex_list   
  D  
+fs   mpi_message   sys_sem   udp_hdr   descriptorTableUnion   fstat_args   munmap_args   sys_thread   udp_pcb   devfs_devices   
  G  
+
  N  
+sys_timeout   ufs1_dinode   devfs_info   gdt_descr   net   sys_timeouts   ufs2_dinode   device   gdtDescriptor   netbuf   sysctl_args   userFileDescriptorStruct   device_interface   gdtGate   netconn   sysctl_entry   
  V  
+device_node   getdtablesize_args   netif   
  T  
+vfs_mountPoint   device_resource   getgid_args   nicBuffer   taskStruct   vitalsStruct   devMethodType   getpid_args   nicInfo   tcp_hdr   
  W  
+directoryEntry   gettimeofday_args   
  O  
+tcp_pcb   write_args   directoryList   getuid_args   obreak_args   tcp_pcb_listen   
  _  
+dirent   
  H  
+ogDisplay_UbixOS   tcp_seg   __sigset   dmadat   hostRingEntry   ogDisplay_VESA   tcpip_msg   __timespec   dos_partition   
  I  
+ogModeInfo   thread   _item_t   dp_rcvhdr   i386_frame   ogVESAInfo   thread_start_param   _list_t   driveInfo   i387Struct   open_args   timespec   _UbixUser   driverType   icmp_dur_hdr   

A | B | C | D | E | F | G | H | I | K | L | M | N | O | P | R | S | T | U | V | W | _

+


Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/classogDisplay__UbixOS.html b/doc/html/classogDisplay__UbixOS.html index 4a05424..8bd9663 100644 --- a/doc/html/classogDisplay__UbixOS.html +++ b/doc/html/classogDisplay__UbixOS.html @@ -8,7 +8,6 @@

ogDisplay_UbixOS Class Reference

#include <ogDisplay_UbixOS.h> @@ -35,39 +33,39 @@ - + - + - + - + - + - + - + - + - + - + @@ -75,7 +73,7 @@ - +

Public Member Functions

virtual bool ogAlias (ogSurface &, uInt32, uInt32, uInt32, uInt32)
virtual bool ogAlias (ogSurface &, uInt32, uInt32, uInt32, uInt32)
virtual bool ogClone (ogSurface &)
virtual bool ogClone (ogSurface &)
virtual void ogCopyPalette (ogSurface &)
virtual bool ogCreate (uInt32, uInt32, ogPixelFmt)
virtual bool ogCreate (uInt32, uInt32, ogPixelFmt)
 ogDisplay_UbixOS (void)
virtual bool ogLoadPalette (const char *)
virtual bool ogLoadPalette (const char *)
virtual void ogSetPalette (uInt8, uInt8, uInt8, uInt8, uInt8)
virtual void ogSetPalette (uInt8, uInt8, uInt8, uInt8, uInt8)
virtual void ogSetPalette (uInt8, uInt8, uInt8, uInt8)
virtual void ogSetPalette (uInt8, uInt8, uInt8, uInt8)
virtual void ogSetPalette (const ogRGBA8[])
virtual ~ogDisplay_UbixOS (void)

Protected Member Functions

uInt16 FindMode (uInt32, uInt32, uInt32)
uInt16 FindMode (uInt32, uInt32, uInt32)
void GetModeInfo (uInt16)
void GetModeInfo (uInt16)
void GetVESAInfo (void)
void SetMode (uInt16)
void SetMode (uInt16)
void SetPal (void)

Protected Attributes

uInt32 activePage
uInt32 activePage
ogModeInfomodeInfo
ogVESAInfoVESAInfo
uInt32 visualPage
uInt32 visualPage

Detailed Description

@@ -130,21 +128,21 @@
- + - + - + - + @@ -167,7 +165,7 @@ - + @@ -205,7 +203,7 @@
uInt16 ogDisplay_UbixOS::FindMode uInt16 ogDisplay_UbixOS::FindMode (uInt32 uInt32  ,
uInt32 uInt32  ,
uInt32 uInt32   
void ogDisplay_UbixOS::GetModeInfo (uInt16 uInt16   )  [protected]
- + @@ -213,25 +211,25 @@ - + - + - + - + @@ -252,7 +250,7 @@
virtual bool ogDisplay_UbixOS::ogAlias virtual bool ogDisplay_UbixOS::ogAlias ( ogSurface &  ,
uInt32 uInt32  ,
uInt32 uInt32  ,
uInt32 uInt32  ,
uInt32 uInt32   
- + @@ -292,15 +290,15 @@
virtual bool ogDisplay_UbixOS::ogClone virtual bool ogDisplay_UbixOS::ogClone ( ogSurface & 
- + - + - + @@ -327,7 +325,7 @@
virtual bool ogDisplay_UbixOS::ogCreate virtual bool ogDisplay_UbixOS::ogCreate (uInt32 uInt32  ,
uInt32 uInt32  ,
- + @@ -349,31 +347,31 @@ - + - + - + - + - + @@ -396,25 +394,25 @@ - + - + - + - + @@ -457,7 +455,7 @@ - + @@ -496,7 +494,7 @@
virtual bool ogDisplay_UbixOS::ogLoadPalette virtual bool ogDisplay_UbixOS::ogLoadPalette ( const char * 
virtual void ogDisplay_UbixOS::ogSetPalette (uInt8 uInt8  ,
uInt8 uInt8  ,
uInt8 uInt8  ,
uInt8 uInt8  ,
uInt8 uInt8   
virtual void ogDisplay_UbixOS::ogSetPalette (uInt8 uInt8  ,
uInt8 uInt8  ,
uInt8 uInt8  ,
uInt8 uInt8   
void ogDisplay_UbixOS::SetMode (uInt16 uInt16   )  [protected]
- +
uInt32 ogDisplay_UbixOS::activePage [protected] uInt32 ogDisplay_UbixOS::activePage [protected]
@@ -564,7 +562,7 @@ @@ -578,7 +576,7 @@


The documentation for this class was generated from the following file: -
Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/classogDisplay__VESA.html b/doc/html/classogDisplay__VESA.html index d69c459..b3b47c6 100644 --- a/doc/html/classogDisplay__VESA.html +++ b/doc/html/classogDisplay__VESA.html @@ -8,7 +8,6 @@

ogDisplay_VESA Class Reference

#include <ogDisplay_VESA.h> @@ -35,65 +33,65 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -150,21 +148,21 @@

Public Member Functions

virtual bool ogAlias (ogSurface &, uInt32, uInt32, uInt32, uInt32)
virtual bool ogAlias (ogSurface &, uInt32, uInt32, uInt32, uInt32)
virtual bool ogAvail (void)
virtual bool ogAvail (void)
virtual void ogClear (uInt32)
virtual void ogClear (uInt32)
virtual bool ogClone (ogSurface &)
virtual bool ogClone (ogSurface &)
virtual void ogCopyLineFrom (uInt32, uInt32, void *, uInt32)
virtual void ogCopyLineFrom (uInt32, uInt32, void *, uInt32)
virtual void ogCopyLineTo (uInt32, uInt32, const void *, uInt32)
virtual void ogCopyLineTo (uInt32, uInt32, const void *, uInt32)
virtual void ogCopyPal (ogSurface &)
virtual bool ogCreate (uInt32, uInt32, ogPixelFmt)
virtual bool ogCreate (uInt32, uInt32, ogPixelFmt)
 ogDisplay_VESA (void)
virtual uInt32 ogGetPixel (int32, int32)
virtual uInt32 ogGetPixel (int32, int32)
virtual void * ogGetPtr (uInt32, uInt32)
virtual void * ogGetPtr (uInt32, uInt32)
virtual void ogHLine (int32, int32, int32, uInt32)
virtual void ogHLine (int32, int32, int32, uInt32)
virtual bool ogLoadPal (const char *)
virtual bool ogLoadPal (const char *)
virtual void ogSetPixel (int32, int32, uInt32)
virtual void ogSetPixel (int32, int32, uInt32)
virtual void ogSetRGBPalette (uInt8, uInt8, uInt8, uInt8)
virtual void ogSetRGBPalette (uInt8, uInt8, uInt8, uInt8)
virtual void ogVFlip (void)
virtual void ogVLine (int32, int32, int32, uInt32)
virtual void ogVLine (int32, int32, int32, uInt32)
virtual ~ogDisplay_VESA (void)

Protected Member Functions

uInt16 findMode (uInt32, uInt32, uInt32)
uInt16 findMode (uInt32, uInt32, uInt32)
void getModeInfo (uInt16)
void getModeInfo (uInt16)
void getVESAInfo (void)
virtual uInt32 rawGetPixel (uInt32, uInt32)
virtual uInt32 rawGetPixel (uInt32, uInt32)
virtual void rawLine (uInt32, uInt32, uInt32, uInt32, uInt32)
virtual void rawLine (uInt32, uInt32, uInt32, uInt32, uInt32)
virtual void rawSetPixel (uInt32, uInt32, uInt32)
virtual void rawSetPixel (uInt32, uInt32, uInt32)
void setMode (uInt16)
void setMode (uInt16)
void setPal (void)

Protected Attributes

bool InGraphics
bool InGraphics
TMode_RecModeRec
uInt16 ScreenSelector
uInt16 ScreenSelector
TVESA_RecVESARec
- + - + - + - + @@ -187,7 +185,7 @@ - + @@ -225,7 +223,7 @@
uInt16 ogDisplay_VESA::findMode uInt16 ogDisplay_VESA::findMode (uInt32 uInt32  ,
uInt32 uInt32  ,
uInt32 uInt32   
void ogDisplay_VESA::getModeInfo (uInt16 uInt16   )  [protected]
- + @@ -233,25 +231,25 @@ - + - + - + - + @@ -272,7 +270,7 @@
virtual bool ogDisplay_VESA::ogAlias virtual bool ogDisplay_VESA::ogAlias ( ogSurface &  ,
uInt32 uInt32  ,
uInt32 uInt32  ,
uInt32 uInt32  ,
uInt32 uInt32   
- + @@ -294,7 +292,7 @@ - + @@ -312,7 +310,7 @@
virtual bool ogDisplay_VESA::ogAvail virtual bool ogDisplay_VESA::ogAvail ( void 
virtual void ogDisplay_VESA::ogClear (uInt32 uInt32   )  [virtual]
- + @@ -334,13 +332,13 @@ - + - + @@ -352,7 +350,7 @@ - + @@ -375,13 +373,13 @@ - + - + @@ -393,7 +391,7 @@ - + @@ -434,15 +432,15 @@
virtual bool ogDisplay_VESA::ogClone virtual bool ogDisplay_VESA::ogClone ( ogSurface & 
virtual void ogDisplay_VESA::ogCopyLineFrom (uInt32 uInt32  ,
uInt32 uInt32  ,
uInt32 uInt32   
virtual void ogDisplay_VESA::ogCopyLineTo (uInt32 uInt32  ,
uInt32 uInt32  ,
uInt32 uInt32   
- + - + - + @@ -469,15 +467,15 @@
virtual bool ogDisplay_VESA::ogCreate virtual bool ogDisplay_VESA::ogCreate (uInt32 uInt32  ,
uInt32 uInt32  ,
- + - + - + @@ -500,13 +498,13 @@ - + - + @@ -529,25 +527,25 @@ - + - + - + - + @@ -568,7 +566,7 @@
virtual uInt32 ogDisplay_VESA::ogGetPixel virtual uInt32 ogDisplay_VESA::ogGetPixel (int32 int32  ,
int32 int32   
virtual void* ogDisplay_VESA::ogGetPtr (uInt32 uInt32  ,
uInt32 uInt32   
virtual void ogDisplay_VESA::ogHLine (int32 int32  ,
int32 int32  ,
int32 int32  ,
uInt32 uInt32   
- + @@ -590,19 +588,19 @@ - + - + - + @@ -625,25 +623,25 @@ - + - + - + - + @@ -686,25 +684,25 @@ - + - + - + - + @@ -725,15 +723,15 @@
virtual bool ogDisplay_VESA::ogLoadPal virtual bool ogDisplay_VESA::ogLoadPal ( const char * 
virtual void ogDisplay_VESA::ogSetPixel (int32 int32  ,
int32 int32  ,
uInt32 uInt32   
virtual void ogDisplay_VESA::ogSetRGBPalette (uInt8 uInt8  ,
uInt8 uInt8  ,
uInt8 uInt8  ,
uInt8 uInt8   
virtual void ogDisplay_VESA::ogVLine (int32 int32  ,
int32 int32  ,
int32 int32  ,
uInt32 uInt32   
- + - + - + @@ -756,31 +754,31 @@ - + - + - + - + - + @@ -803,19 +801,19 @@ - + - + - + @@ -838,7 +836,7 @@ - + @@ -877,7 +875,7 @@
virtual uInt32 ogDisplay_VESA::rawGetPixel virtual uInt32 ogDisplay_VESA::rawGetPixel (uInt32 uInt32  ,
uInt32 uInt32   
virtual void ogDisplay_VESA::rawLine (uInt32 uInt32  ,
uInt32 uInt32  ,
uInt32 uInt32  ,
uInt32 uInt32  ,
uInt32 uInt32   
virtual void ogDisplay_VESA::rawSetPixel (uInt32 uInt32  ,
uInt32 uInt32  ,
uInt32 uInt32   
void ogDisplay_VESA::setMode (uInt16 uInt16   )  [protected]
- +
bool ogDisplay_VESA::InGraphics [protected] bool ogDisplay_VESA::InGraphics [protected]
@@ -911,7 +909,7 @@ @@ -942,7 +940,7 @@


The documentation for this class was generated from the following file: -
Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/copyvirtualspace_8c-source.html b/doc/html/copyvirtualspace_8c-source.html index 0470877..f59a91d 100644 --- a/doc/html/copyvirtualspace_8c-source.html +++ b/doc/html/copyvirtualspace_8c-source.html @@ -8,7 +8,6 @@
  • Main Page
  • -
  • Namespaces
  • Data Structures
  • Files
  • Directories
  • @@ -82,24 +81,24 @@ 00050 00051 ************************************************************************/ 00052 void * -00053 vmmCopyVirtualSpace(pidType pid) +00053 vmmCopyVirtualSpace(pidType pid) 00054 { 00055 void *newPageDirectoryAddress = 0x0; -00056 uInt32 *parentPageDirectory = 0x0, *newPageDirectory = 0x0; -00057 uInt32 *parentPageTable = 0x0, *newPageTable = 0x0; -00058 uInt32 *parentStackPage = 0x0, *newStackPage = 0x0; -00059 uInt16 x = 0, i = 0, s = 0; +00056 uInt32 *parentPageDirectory = 0x0, *newPageDirectory = 0x0; +00057 uInt32 *parentPageTable = 0x0, *newPageTable = 0x0; +00058 uInt32 *parentStackPage = 0x0, *newStackPage = 0x0; +00059 uInt16 x = 0, i = 0, s = 0; 00060 00061 spinLock(&cvsSpinLock); 00062 00063 /* Set Address Of Parent Page Directory */ -00064 parentPageDirectory = (uInt32 *) parentPageDirAddr; +00064 parentPageDirectory = (uInt32 *) parentPageDirAddr; 00065 /* Allocate A New Page For The New Page Directory */ -00066 if ((newPageDirectory = (uInt32 *) vmmGetFreeKernelPage(pid,1)) == 0x0) +00066 if ((newPageDirectory = (uInt32 *) vmmGetFreeKernelPage(pid,1)) == 0x0) 00067 kpanic("Error: newPageDirectory == NULL, File: %s, Line: %i\n",__FILE__,__LINE__); 00068 00069 /* Set newPageDirectoryAddress To The Newly Created Page Directories Page */ -00070 newPageDirectoryAddress = (void *)vmm_getPhysicalAddr((uInt32) newPageDirectory); +00070 newPageDirectoryAddress = (void *)vmm_getPhysicalAddr((uInt32) newPageDirectory); 00071 00072 /* First Set Up A Flushed Page Directory */ 00073 memset(newPageDirectory,0x0,0x1000); @@ -118,9 +117,9 @@ 00086 /* If Page Table Exists Map It */ 00087 if (parentPageDirectory[x] != 0) { 00088 /* Set Parent To Propper Page Table */ -00089 parentPageTable = (uInt32 *) (tablesBaseAddress + (0x1000 * x)); +00089 parentPageTable = (uInt32 *) (tablesBaseAddress + (0x1000 * x)); 00090 /* Allocate A New Page Table */ -00091 if ((newPageTable = (uInt32 *) vmmGetFreeKernelPage(pid,1)) == 0x0) +00091 if ((newPageTable = (uInt32 *) vmmGetFreeKernelPage(pid,1)) == 0x0) 00092 kpanic("Error: newPageTable == NULL, File: %s, Line: %i\n",__FILE__,__LINE__); 00093 00094 /* Set Parent And New Pages To COW */ @@ -129,7 +128,7 @@ 00097 /* If Page Is Mapped */ 00098 if ((parentPageTable[i] & 0xFFFFF000) != 0x0) { 00099 /* Check To See If Its A Stack Page */ -00100 if (((uInt32) parentPageTable[i] & PAGE_STACK) == PAGE_STACK) { +00100 if (((uInt32) parentPageTable[i] & PAGE_STACK) == PAGE_STACK) { 00101 /* Alloc A New Page For This Stack Page */ 00102 if ((newStackPage = (uInt32 *) vmmGetFreeKernelPage(pid,1)) == 0x0) 00103 kpanic("Error: newStackPage == NULL, File: %s, Line: %i\n",__FILE__,__LINE__); @@ -160,32 +159,32 @@ 00128 } 00129 } 00130 else { -00131 newPageTable[i] = (uInt32) 0x0; +00131 newPageTable[i] = (uInt32) 0x0; 00132 } 00133 } 00134 00135 /* Put New Page Table Into New Page Directory */ -00136 newPageDirectory[x] = (vmm_getPhysicalAddr((uInt32) newPageTable) | PAGE_DEFAULT); +00136 newPageDirectory[x] = (vmm_getPhysicalAddr((uInt32) newPageTable) | PAGE_DEFAULT); 00137 /* Unmap Page From Kernel Space But Keep It Marked As Not Avail */ -00138 vmmUnmapPage((uInt32) newPageTable, 1); +00138 vmmUnmapPage((uInt32) newPageTable, 1); 00139 } else { -00140 newPageDirectory[x] = (uInt32) 0x0; +00140 newPageDirectory[x] = (uInt32) 0x0; 00141 } 00142 } 00143 /* 00144 * Allocate A New Page For The The First Page Table Where We Will Map The 00145 * Lower Region 00146 */ -00147 if ((newPageTable = (uInt32 *) vmmGetFreeKernelPage(pid,1)) == 0x0) +00147 if ((newPageTable = (uInt32 *) vmmGetFreeKernelPage(pid,1)) == 0x0) 00148 kpanic("Error: newPageTable == NULL, File: %s, Line: %i\n",__FILE__,__LINE__); 00149 00150 /* Flush The Page From Garbage In Memory */ 00151 memset(newPageTable,0x0,0x1000); 00152 00153 /* Map This Into The Page Directory */ -00154 newPageDirectory[0] = (vmm_getPhysicalAddr((uInt32) newPageTable) | PAGE_DEFAULT); +00154 newPageDirectory[0] = (vmm_getPhysicalAddr((uInt32) newPageTable) | PAGE_DEFAULT); 00155 /* Set Address Of Parents Page Table */ -00156 parentPageTable = (uInt32 *) tablesBaseAddress; +00156 parentPageTable = (uInt32 *) tablesBaseAddress; 00157 /* Map The First 1MB Worth Of Pages */ 00158 for (x = 0; x < (pageEntries / 4); x++) { 00159 newPageTable[x] = parentPageTable[x]; @@ -195,20 +194,20 @@ 00163 /* If Page Is Avaiable Map It */ 00164 if ((parentPageTable[x] & 0xFFFFF000) != 0x0) { 00165 /* Set Pages To COW */ -00166 newPageTable[x] = (((uInt32) parentPageTable[x] & 0xFFFFF000) | (PAGE_DEFAULT | PAGE_COW)); +00166 newPageTable[x] = (((uInt32) parentPageTable[x] & 0xFFFFF000) | (PAGE_DEFAULT | PAGE_COW)); 00167 /* Increment The COW Counter For This Page */ -00168 if (((uInt32) parentPageTable[x] & PAGE_COW) == PAGE_COW) { +00168 if (((uInt32) parentPageTable[x] & PAGE_COW) == PAGE_COW) { 00169 adjustCowCounter(((uInt32) parentPageTable[x] & 0xFFFFF000), 1); 00170 } else { 00171 adjustCowCounter(((uInt32) parentPageTable[x] & 0xFFFFF000), 2); 00172 parentPageTable[x] = newPageTable[x]; 00173 } 00174 } else { -00175 newPageTable[x] = (uInt32) 0x0; +00175 newPageTable[x] = (uInt32) 0x0; 00176 } 00177 } 00178 /* Set Virtual Mapping For Page Directory */ -00179 newPageTable[256] = (vmm_getPhysicalAddr((uInt32) newPageDirectory) | PAGE_DEFAULT); +00179 newPageTable[256] = (vmm_getPhysicalAddr((uInt32) newPageDirectory) | PAGE_DEFAULT); 00180 00181 /* 00182 * Now The Fun Stuff Build The Initial Virtual Page Space So We Don't Have @@ -216,18 +215,18 @@ 00184 * Become A Security Issue 00185 */ 00186 /* First Lets Unmap The Previously Allocated Page Table */ -00187 vmmUnmapPage((uInt32) newPageTable, 1); +00187 vmmUnmapPage((uInt32) newPageTable, 1); 00188 /* Allocate A New Page Table */ -00189 if ((newPageTable = (uInt32 *) vmmGetFreeKernelPage(pid,1)) == 0x0) +00189 if ((newPageTable = (uInt32 *) vmmGetFreeKernelPage(pid,1)) == 0x0) 00190 kpanic("Error: newPageTable == NULL, File: %s, Line: %i\n",__FILE__,__LINE__); 00191 /* First Set Our Page Directory To Contain This */ -00192 newPageDirectory[767] = vmm_getPhysicalAddr((uInt32) newPageTable) | PAGE_DEFAULT; +00192 newPageDirectory[767] = vmm_getPhysicalAddr((uInt32) newPageTable) | PAGE_DEFAULT; 00193 /* Now Lets Build The Page Table */ 00194 for (x = 0; x < pageEntries; x++) { 00195 newPageTable[x] = newPageDirectory[x]; 00196 } 00197 /* Now We Are Done So Lets Unmap This Page */ -00198 vmmUnmapPage((uInt32) newPageTable, 1); +00198 vmmUnmapPage((uInt32) newPageTable, 1); 00199 /* Now We Are Done With The Page Directory So Lets Unmap That Too */ 00200 vmmUnmapPage((uInt32) newPageDirectory, 1); 00201 @@ -286,7 +285,7 @@ 00254 00255 END 00256 ***/ -

Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:08 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/copyvirtualspace_8c.html b/doc/html/copyvirtualspace_8c.html index 8f6f48a..3e67662 100644 --- a/doc/html/copyvirtualspace_8c.html +++ b/doc/html/copyvirtualspace_8c.html @@ -8,7 +8,6 @@
  • Main Page
  • -
  • Namespaces
  • Data Structures
  • Files
  • Directories
  • @@ -40,7 +39,7 @@ Go to the source code of this file. - + @@ -54,7 +53,7 @@ - + @@ -93,7 +92,7 @@ Referenced by vmmCopyVirtualSpace().

    -


    Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/cpu_8h-source.html b/doc/html/cpu_8h-source.html index 87d3dc6..9fce719 100644 --- a/doc/html/cpu_8h-source.html +++ b/doc/html/cpu_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/cpu_8h.html b/doc/html/cpu_8h.html index f5518ed..8857e02 100644 --- a/doc/html/cpu_8h.html +++ b/doc/html/cpu_8h.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:10 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/createvirtualspace_8c-source.html b/doc/html/createvirtualspace_8c-source.html index 90e80ba..45fe0f6 100644 --- a/doc/html/createvirtualspace_8c-source.html +++ b/doc/html/createvirtualspace_8c-source.html @@ -8,7 +8,6 @@
    • Main Page
    • -
    • Namespaces
    • Data Structures
    • Files
    • Directories
    • @@ -110,22 +109,22 @@ 00078 00079 ************************************************************************/ 00080 void * -00081 vmmCreateVirtualSpace(pid_t pid) +00081 vmmCreateVirtualSpace(pid_t pid) 00082 { 00083 void *newPageDirectoryAddress = 0x0; -00084 uInt32 *parentPageDirectory = 0x0, *newPageDirectory = 0x0; -00085 uInt32 *parentPageTable = 0x0, *newPageTable = 0x0; +00084 uInt32 *parentPageDirectory = 0x0, *newPageDirectory = 0x0; +00085 uInt32 *parentPageTable = 0x0, *newPageTable = 0x0; 00086 int x = 0; 00087 00088 /* Set Address Of Parent Page Directory */ -00089 parentPageDirectory = (uInt32 *) parentPageDirAddr; +00089 parentPageDirectory = (uInt32 *) parentPageDirAddr; 00090 /* Allocate A New Page For The New Page Directory */ -00091 newPageDirectory = (uInt32 *) vmmGetFreePage(pid); +00091 newPageDirectory = (uInt32 *) vmmGetFreePage(pid); 00092 /* Set newPageDirectoryAddress To The Newly Created Page Directories Page */ -00093 newPageDirectoryAddress = (void *)vmm_getPhysicalAddr((uInt32) newPageDirectory); +00093 newPageDirectoryAddress = (void *)vmm_getPhysicalAddr((uInt32) newPageDirectory); 00094 /* First Set Up A Flushed Page Directory */ 00095 for (x = 0; x < pageEntries; x++) { -00096 (uInt32) newPageDirectory[x] = (uInt32) 0x0; +00096 (uInt32) newPageDirectory[x] = (uInt32) 0x0; 00097 } 00098 /* Map The Top 1GB Region Of The VM Space */ 00099 for (x = 768; x < pageEntries; x++) { @@ -135,21 +134,21 @@ 00103 * Allocate A New Page For The The First Page Table Where We Will Map The 00104 * Lower Region 00105 */ -00106 newPageTable = (uInt32 *) vmmGetFreePage(pid); +00106 newPageTable = (uInt32 *) vmmGetFreePage(pid); 00107 /* Flush The Page From Garbage In Memory */ 00108 for (x = 0; x < pageEntries; x++) { -00109 (uInt32) newPageTable[x] = (uInt32) 0x0; +00109 (uInt32) newPageTable[x] = (uInt32) 0x0; 00110 } 00111 /* Map This Into The Page Directory */ -00112 newPageDirectory[0] = (vmm_getPhysicalAddr((uInt32) newPageTable) | PAGE_DEFAULT); +00112 newPageDirectory[0] = (vmm_getPhysicalAddr((uInt32) newPageTable) | PAGE_DEFAULT); 00113 /* Set Address Of Parents Page Table */ -00114 parentPageTable = (uInt32 *) tablesBaseAddress; +00114 parentPageTable = (uInt32 *) tablesBaseAddress; 00115 /* Map The First 1MB Worth Of Pages */ 00116 for (x = 0; x < (pageEntries / 4); x++) { 00117 newPageTable[x] = parentPageTable[x]; 00118 } 00119 /* Set Virtual Mapping For Page Directory */ -00120 newPageTable[256] = (vmm_getPhysicalAddr((uInt32) newPageDirectory) | PAGE_DEFAULT); +00120 newPageTable[256] = (vmm_getPhysicalAddr((uInt32) newPageDirectory) | PAGE_DEFAULT); 00121 00122 /* 00123 * Now The Fun Stuff Build The Initial Virtual Page Space So We Don't Have @@ -157,17 +156,17 @@ 00125 * Become A Security Issue 00126 */ 00127 /* First Lets Unmap The Previously Allocated Page Table */ -00128 vmmUnmapPage((uInt32) newPageTable, 1); +00128 vmmUnmapPage((uInt32) newPageTable, 1); 00129 /* Allocate A New Page Table */ -00130 newPageTable = (uInt32 *) vmmGetFreePage(pid); +00130 newPageTable = (uInt32 *) vmmGetFreePage(pid); 00131 /* First Set Our Page Directory To Contain This */ -00132 newPageDirectory[767] = vmm_getPhysicalAddr((uInt32) newPageTable) | PAGE_DEFAULT; +00132 newPageDirectory[767] = vmm_getPhysicalAddr((uInt32) newPageTable) | PAGE_DEFAULT; 00133 /* Now Lets Build The Page Table */ 00134 for (x = 0; x < pageEntries; x++) { 00135 newPageTable[x] = newPageDirectory[x]; 00136 } 00137 /* Now We Are Done So Lets Unmap This Page */ -00138 vmmUnmapPage((uInt32) newPageTable, 1); +00138 vmmUnmapPage((uInt32) newPageTable, 1); 00139 /* Now We Are Done With The Page Directory So Lets Unmap That Too */ 00140 vmmUnmapPage((uInt32) newPageDirectory, 1); 00141 /* Return Physical Address Of Page Directory */ @@ -178,7 +177,7 @@ 00146 END 00147 ***/ 00148 -

    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:08 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/createvirtualspace_8c.html b/doc/html/createvirtualspace_8c.html index 94d85bf..d3db00c 100644 --- a/doc/html/createvirtualspace_8c.html +++ b/doc/html/createvirtualspace_8c.html @@ -8,7 +8,6 @@

    Functions

    void * vmmCopyVirtualSpace (pidType pid)
    void * vmmCopyVirtualSpace (pidType pid)

    Variables

    static spinLock_t cvsSpinLock = SPIN_LOCK_INITIALIZER
    void* vmmCopyVirtualSpace (pidType pidType  pid  ) 
    - +

    Functions

    void * vmmCreateVirtualSpace (pid_t pid)
    void * vmmCreateVirtualSpace (pid_t pid)

    Function Documentation

    @@ -47,7 +46,7 @@ void* vmmCreateVirtualSpace ( - pid_t  + pid_t  pid  )  @@ -66,7 +65,7 @@ Referenced by execFile().

-


Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/debug_8h-source.html b/doc/html/debug_8h-source.html index 421db9f..902af1c 100644 --- a/doc/html/debug_8h-source.html +++ b/doc/html/debug_8h-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/debug_8h.html b/doc/html/debug_8h.html index 26ccd71..0005c96 100644 --- a/doc/html/debug_8h.html +++ b/doc/html/debug_8h.html @@ -8,7 +8,6 @@

-


Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:10 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/def_8h-source.html b/doc/html/def_8h-source.html index 7a80801..1e9c64c 100644 --- a/doc/html/def_8h-source.html +++ b/doc/html/def_8h-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/def_8h.html b/doc/html/def_8h.html index 40790ef..8402bdf 100644 --- a/doc/html/def_8h.html +++ b/doc/html/def_8h.html @@ -8,7 +8,6 @@

@@ -86,7 +85,7 @@ Definition at line 38 of file def.h.

-


Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:10 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/devfs_8c-source.html b/doc/html/devfs_8c-source.html index 4026d37..8929ca3 100644 --- a/doc/html/devfs_8c-source.html +++ b/doc/html/devfs_8c-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/devfs_8c.html b/doc/html/devfs_8c.html index e478274..5ce91ec 100644 --- a/doc/html/devfs_8c.html +++ b/doc/html/devfs_8c.html @@ -8,7 +8,6 @@

@@ -125,19 +124,19 @@ - uInt8  + uInt8  type, - uInt16  + uInt16  major, - uInt16  + uInt16  minor  @@ -154,7 +153,7 @@

Definition at line 178 of file devfs.c.

-References devfs_len, devfsSpinLock, devfs_info::deviceList, devfs_devices::devMajor, devfs_devices::devMinor, devfs_devices::devName, devfs_devices::devType, vfs_mountPoint::fsInfo, kmalloc(), kprintf(), devfs_devices::next, devfs_devices::prev, spinLock(), spinUnlock(), sprintf(), strlen(), and vfs_findMount(). +References devfs_len, devfsSpinLock, devfs_info::deviceList, devfs_devices::devMajor, devfs_devices::devMinor, devfs_devices::devName, devfs_devices::devType, vfs_mountPoint::fsInfo, kmalloc(), kprintf(), devfs_devices::next, devfs_devices::prev, spinLock(), spinUnlock(), sprintf(), strlen, and vfs_findMount().

Referenced by fdc_init(), and initHardDisk(). @@ -172,7 +171,7 @@ - fileDescriptor *  + fileDescriptorfd  @@ -190,7 +189,7 @@

Definition at line 71 of file devfs.c.

-References devfs_len, devfsSpinLock, device_find(), devfs_info::deviceList, device_node::devInfo, devfs_devices::devMajor, devfs_devices::devMinor, devfs_devices::devName, kprintf(), devfs_devices::next, device_interface::size, fileDescriptor::size, spinLock(), spinUnlock(), strcmp(), and x1. +References devfs_len, devfsSpinLock, device_find(), devfs_info::deviceList, device_node::devInfo, devfs_devices::devMajor, devfs_devices::devMinor, devfs_devices::devName, vfs_mountPoint::fsInfo, kprintf(), fileDescriptorStruct::mode, fileDescriptorStruct::mp, devfs_devices::next, device_interface::size, fileDescriptorStruct::size, spinLock(), spinUnlock(), fileDescriptorStruct::start, strcmp(), and x1.

Referenced by devfs_init(). @@ -202,7 +201,7 @@ static int devfs_read ( - fileDescriptor *  + fileDescriptorfd, @@ -237,7 +236,7 @@

Definition at line 114 of file devfs.c.

-References device_find(), device_node::devInfo, devfs_devices::devMajor, devfs_devices::devMinor, device_interface::info, kprintf(), and device_interface::read. +References fileDescriptorStruct::buffer, device_find(), device_node::devInfo, devfs_devices::devMajor, devfs_devices::devMinor, device_interface::info, kprintf(), device_interface::read, and fileDescriptorStruct::start.

Referenced by devfs_init(). @@ -249,7 +248,7 @@ static int devfs_write ( - fileDescriptor *  + fileDescriptorfd, @@ -284,7 +283,7 @@

Definition at line 160 of file devfs.c.

-References device_find(), device_node::devInfo, devfs_devices::devMajor, devfs_devices::devMinor, device_interface::info, device_interface::read, and device_interface::write. +References fileDescriptorStruct::buffer, device_find(), device_node::devInfo, devfs_devices::devMajor, devfs_devices::devMinor, device_interface::info, device_interface::read, fileDescriptorStruct::start, and device_interface::write.

Referenced by devfs_init(). @@ -328,7 +327,7 @@ Referenced by devfs_makeNode(), and devfs_open().

-


Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:09 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/devfs_8h-source.html b/doc/html/devfs_8h-source.html index d97efea..c27d799 100644 --- a/doc/html/devfs_8h-source.html +++ b/doc/html/devfs_8h-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/devfs_8h.html b/doc/html/devfs_8h.html index 66ab89c..1a8531c 100644 --- a/doc/html/devfs_8h.html +++ b/doc/html/devfs_8h.html @@ -8,7 +8,6 @@ -

devfs.h File Reference

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

devfs.h File Reference

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

Go to the source code of this file. @@ -44,7 +43,7 @@ - +

Functions

int devfs_init ()
int devfs_makeNode (char *name, uInt8 type, uInt16 major, uInt16 minor)
int devfs_makeNode (char *name, uInt8 type, uInt16 major, uInt16 minor)


Function Documentation

@@ -68,7 +67,7 @@

Definition at line 215 of file devfs.c.

-References devfs_initialize(), devfs_open(), devfs_read(), devfs_write(), NULL, vfs_mount(), vfsRegisterFS(), and x1. +References devfs_initialize(), devfs_open(), devfs_read(), devfs_write(), NULL, vfs_mount(), vfsRegisterFS(), and x1.

@@ -84,19 +83,19 @@ - uInt8  + uInt8  type, - uInt16  + uInt16  major, - uInt16  + uInt16  minor  @@ -113,12 +112,12 @@

Definition at line 178 of file devfs.c.

-References devfs_len, devfsSpinLock, devfs_info::deviceList, devfs_devices::devMajor, devfs_devices::devMinor, devfs_devices::devName, devfs_devices::devType, vfs_mountPoint::fsInfo, kmalloc(), kprintf(), devfs_devices::next, devfs_devices::prev, spinLock(), spinUnlock(), sprintf(), strlen(), and vfs_findMount(). +References devfs_len, devfsSpinLock, devfs_info::deviceList, devfs_devices::devMajor, devfs_devices::devMinor, devfs_devices::devName, devfs_devices::devType, vfs_mountPoint::fsInfo, kmalloc(), kprintf(), devfs_devices::next, devfs_devices::prev, spinLock(), spinUnlock(), sprintf(), strlen, and vfs_findMount().

Referenced by fdc_init(), and initHardDisk().

-


Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:09 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/device_8c-source.html b/doc/html/device_8c-source.html index dc66f6c..2b8285f 100644 --- a/doc/html/device_8c-source.html +++ b/doc/html/device_8c-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:08 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/device_8c.html b/doc/html/device_8c.html index 67c8d85..5f37041 100644 --- a/doc/html/device_8c.html +++ b/doc/html/device_8c.html @@ -8,7 +8,6 @@ -

device.c File Reference

#include <sys/device.h>
+

device.c File Reference

#include <sys/device.h>
#include <ubixos/spinlock.h>
#include <lib/kmalloc.h>
#include <lib/kprintf.h>
@@ -89,7 +88,7 @@

Definition at line 51 of file device.c.

-References devices, deviceSpinLock, device_node::devInfo, device_interface::init, device_interface::initialized, kmalloc(), kprintf(), device_node::minor, device_node::next, NULL, device_node::prev, spinLock(), spinUnlock(), and device_node::type. +References devices, deviceSpinLock, device_node::devInfo, device_interface::init, device_interface::initialized, kmalloc(), kprintf(), device_node::minor, device_node::next, NULL, device_node::prev, spinLock(), spinUnlock(), and device_node::type.

Referenced by fdc_init(), and initHardDisk(). @@ -124,7 +123,7 @@

Definition at line 86 of file device.c.

-References devices, deviceSpinLock, device_node::devInfo, device_interface::major, device_node::minor, device_node::next, spinLock(), and spinUnlock(). +References devices, deviceSpinLock, device_node::devInfo, device_interface::major, device_node::minor, device_node::next, spinLock(), and spinUnlock().

Referenced by devfs_open(), devfs_read(), devfs_write(), and vfs_mount(). @@ -150,7 +149,7 @@

Definition at line 110 of file device.c.

-References devices, deviceSpinLock, kfree(), device_node::next, NULL, spinLock(), and spinUnlock(). +References devices, deviceSpinLock, kfree(), device_node::next, NULL, spinLock(), and spinUnlock().


Variable Documentation

@@ -192,7 +191,7 @@ Referenced by device_add(), device_find(), and device_remove().

-


Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:16 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/device_8old_8h-source.html b/doc/html/device_8old_8h-source.html index 6beb3d9..f1baad2 100644 --- a/doc/html/device_8old_8h-source.html +++ b/doc/html/device_8old_8h-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/device_8old_8h.html b/doc/html/device_8old_8h.html index 7d4a494..c3ee7e0 100644 --- a/doc/html/device_8old_8h.html +++ b/doc/html/device_8old_8h.html @@ -8,7 +8,6 @@ -

device.old.h File Reference

#include <ubixos/types.h>
+

device.old.h File Reference

#include <ubixos/types.h>

Go to the source code of this file. @@ -43,7 +42,7 @@
struct  net
-


Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:11 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/dirCache_8c-source.html b/doc/html/dirCache_8c-source.html index 1b1cce3..806cd0b 100644 --- a/doc/html/dirCache_8c-source.html +++ b/doc/html/dirCache_8c-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:08 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/dirCache_8c.html b/doc/html/dirCache_8c.html index 612f66c..71c46ee 100644 --- a/doc/html/dirCache_8c.html +++ b/doc/html/dirCache_8c.html @@ -8,7 +8,6 @@

dirCache.c File Reference

#include <assert.h>
#include <ubixfs/dirCache.h>
-#include <ubixfs/ubixfs.h>
+#include <ubixfs/ubixfs.h>
#include <lib/kmalloc.h>
#include <lib/kprintf.h>
#include <lib/string.h>
@@ -50,7 +49,7 @@ cacheNodeubixfs_cacheNew (const char *name) -static struct directoryEntryubixfs_findName (struct directoryEntry *dirList, uInt32 size, char *name) +static struct directoryEntryubixfs_findName (struct directoryEntry *dirList, uInt32 size, char *name)

Variables

static spinLock_t dca_spinLock = SPIN_LOCK_INITIALIZER @@ -148,7 +147,7 @@

Definition at line 55 of file dirCache.c.

-References assert, cacheNode::attributes, dca_spinLock, dirList, cacheNode::fileListHead, cacheNode::fileListTail, cacheNode::info, cacheNode::name, cacheNode::next, NULL, cacheNode::parent, cacheNode::permissions, cacheNode::present, cacheNode::prev, cacheNode::size, spinLock(), spinUnlock(), cacheNode::startCluster, strcmp(), typeFile, ubixfs_cacheAdd(), ubixfs_cacheFind(), ubixfs_cacheNew(), and ubixfs_findName(). +References assert, cacheNode::attributes, dca_spinLock, dirList, cacheNode::fileListHead, cacheNode::fileListTail, cacheNode::info, cacheNode::name, cacheNode::next, NULL, cacheNode::parent, cacheNode::permissions, cacheNode::present, cacheNode::prev, cacheNode::size, spinLock(), spinUnlock(), cacheNode::startCluster, strcmp(), typeFile, ubixfs_cacheAdd(), ubixfs_cacheFind(), ubixfs_cacheNew(), and ubixfs_findName().

Referenced by openFileUbixFS(), and ubixfs_cacheFind(). @@ -174,7 +173,7 @@

Definition at line 185 of file dirCache.c.

-References assert, cacheNode::attributes, cacheNode::dirty, cacheNode::fileListHead, cacheNode::fileListTail, cacheNode::info, kmalloc(), cacheNode::name, cacheNode::next, NULL, cacheNode::parent, cacheNode::permissions, cacheNode::present, cacheNode::prev, cacheNode::size, cacheNode::startCluster, strcpy(), and strlen(). +References assert, cacheNode::attributes, cacheNode::dirty, cacheNode::fileListHead, cacheNode::fileListTail, cacheNode::info, kmalloc(), cacheNode::name, cacheNode::next, NULL, cacheNode::parent, cacheNode::permissions, cacheNode::present, cacheNode::prev, cacheNode::size, cacheNode::startCluster, strcpy, and strlen.

Referenced by ubixfs_cacheFind(), and ubixfs_initialize(). @@ -192,7 +191,7 @@ - uInt32  + uInt32  size, @@ -215,7 +214,7 @@

Definition at line 43 of file dirCache.c.

-References dirList, directoryEntry::fileName, NULL, and strcmp(). +References dirList, directoryEntry::fileName, NULL, and strcmp().

Referenced by ubixfs_cacheFind(). @@ -240,7 +239,7 @@ Referenced by ubixfs_cacheAdd(), and ubixfs_cacheFind().

-


Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:16 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/dirCache_8h-source.html b/doc/html/dirCache_8h-source.html index abbdf13..25b9023 100644 --- a/doc/html/dirCache_8h-source.html +++ b/doc/html/dirCache_8h-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/dirCache_8h.html b/doc/html/dirCache_8h.html index f1c8dfa..1b56e5d 100644 --- a/doc/html/dirCache_8h.html +++ b/doc/html/dirCache_8h.html @@ -8,7 +8,6 @@ -

dirCache.h File Reference

#include <ubixos/types.h>
+

dirCache.h File Reference

#include <ubixos/types.h>

Go to the source code of this file. @@ -140,7 +139,7 @@

Definition at line 55 of file dirCache.c.

-References assert, cacheNode::attributes, dca_spinLock, dirList, cacheNode::fileListHead, cacheNode::fileListTail, cacheNode::info, cacheNode::name, cacheNode::next, NULL, cacheNode::parent, cacheNode::permissions, cacheNode::present, cacheNode::prev, cacheNode::size, spinLock(), spinUnlock(), cacheNode::startCluster, strcmp(), typeFile, ubixfs_cacheAdd(), ubixfs_cacheFind(), ubixfs_cacheNew(), and ubixfs_findName(). +References assert, cacheNode::attributes, dca_spinLock, dirList, cacheNode::fileListHead, cacheNode::fileListTail, cacheNode::info, cacheNode::name, cacheNode::next, NULL, cacheNode::parent, cacheNode::permissions, cacheNode::present, cacheNode::prev, cacheNode::size, spinLock(), spinUnlock(), cacheNode::startCluster, strcmp(), typeFile, ubixfs_cacheAdd(), ubixfs_cacheFind(), ubixfs_cacheNew(), and ubixfs_findName().

Referenced by openFileUbixFS(), and ubixfs_cacheFind(). @@ -166,12 +165,12 @@

Definition at line 185 of file dirCache.c.

-References assert, cacheNode::attributes, cacheNode::dirty, cacheNode::fileListHead, cacheNode::fileListTail, cacheNode::info, kmalloc(), cacheNode::name, cacheNode::next, NULL, cacheNode::parent, cacheNode::permissions, cacheNode::present, cacheNode::prev, cacheNode::size, cacheNode::startCluster, strcpy(), and strlen(). +References assert, cacheNode::attributes, cacheNode::dirty, cacheNode::fileListHead, cacheNode::fileListTail, cacheNode::info, kmalloc(), cacheNode::name, cacheNode::next, NULL, cacheNode::parent, cacheNode::permissions, cacheNode::present, cacheNode::prev, cacheNode::size, cacheNode::startCluster, strcpy, and strlen.

Referenced by ubixfs_cacheFind(), and ubixfs_initialize().

-


Generated on Tue Dec 5 23:35:00 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:12 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/dir_0af38c139db535004c17f658eecde1eb.html b/doc/html/dir_0af38c139db535004c17f658eecde1eb.html index 0ec8eb2..5eff05c 100644 --- a/doc/html/dir_0af38c139db535004c17f658eecde1eb.html +++ b/doc/html/dir_0af38c139db535004c17f658eecde1eb.html @@ -8,7 +8,6 @@
file  devfs.c [code]
-


Generated on Tue Dec 5 23:35:07 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:22 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/dir_0da430bc12a622a01803598a1e7c0e05.html b/doc/html/dir_0da430bc12a622a01803598a1e7c0e05.html index 64f8431..833e940 100644 --- a/doc/html/dir_0da430bc12a622a01803598a1e7c0e05.html +++ b/doc/html/dir_0da430bc12a622a01803598a1e7c0e05.html @@ -8,7 +8,6 @@
@@ -737,7 +736,7 @@

Definition at line 45 of file file.c.

-Referenced by fclose(), and fopen(). +Referenced by fclose(), and fopen().

@@ -756,10 +755,10 @@

Definition at line 42 of file file.c.

-Referenced by fclose(), and fopen(). +Referenced by fclose(), and fopen().

-


Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:16 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/files.html b/doc/html/files.html index e82242f..8deaea5 100644 --- a/doc/html/files.html +++ b/doc/html/files.html @@ -8,7 +8,6 @@

Generated on Tue Dec 12 08:52:06 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/fork_8c.html b/doc/html/fork_8c.html index 76230a4..3dd8fc9 100644 --- a/doc/html/fork_8c.html +++ b/doc/html/fork_8c.html @@ -8,7 +8,6 @@

@@ -120,9 +125,9 @@

-Definition at line 38 of file gen_calls.c. +Definition at line 41 of file gen_calls.c.

-References _current, taskStruct::id, taskStruct::td, and thread::td_retval. +References _current, taskStruct::id, kprintf(), taskStruct::td, and thread::td_retval.

@@ -153,7 +158,9 @@

-Definition at line 88 of file gen_calls.c. +Definition at line 118 of file gen_calls.c. +

+References kprintf().

@@ -184,9 +191,9 @@

-Definition at line 44 of file gen_calls.c. +Definition at line 50 of file gen_calls.c.

-References _current, taskStruct::td, thread::td_retval, and taskStruct::uid. +References _current, kprintf(), taskStruct::td, thread::td_retval, and taskStruct::uid.

@@ -217,7 +224,9 @@

-Definition at line 76 of file gen_calls.c. +Definition at line 100 of file gen_calls.c. +

+References kprintf().

@@ -248,9 +257,9 @@

-Definition at line 92 of file gen_calls.c. +Definition at line 125 of file gen_calls.c.

-References read_args::buf, taskStruct::td, and thread::td_retval. +References read_args::buf, read_args::fd, file::fd, fread(), getfd(), kprintf(), read_args::nbyte, thread::td_retval, and x1.

@@ -281,9 +290,42 @@

-Definition at line 81 of file gen_calls.c. +Definition at line 108 of file gen_calls.c.

-References readlink_args::count, kprintf(), readlink_args::path, taskStruct::td, and thread::td_retval. +References readlink_args::count, kprintf(), readlink_args::path, taskStruct::td, and thread::td_retval. + +

+ +

+
+ + + + + + + + + + + + + + + + + + +
int setitimer (struct thread td,
struct setitimer_args uap 
)
+
+
+ +

+place holder for now functionality to be added later +

+ +

+Definition at line 149 of file gen_calls.c.

@@ -314,12 +356,12 @@

-Definition at line 55 of file gen_calls.c. +Definition at line 67 of file gen_calls.c.

-References write_args::buf, buffer, write_args::fd, kfree(), kmalloc(), kprintf(), memcpy(), and write_args::nbyte. +References write_args::buf, buffer, write_args::fd, kfree(), kmalloc(), kprintf(), memcpy(), write_args::nbyte, taskStruct::td, and thread::td_retval.

-


Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/gen__calls_8h-source.html b/doc/html/gen__calls_8h-source.html index 275e098..b7e5b26 100644 --- a/doc/html/gen__calls_8h-source.html +++ b/doc/html/gen__calls_8h-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/gen__calls_8h.html b/doc/html/gen__calls_8h.html index 13148aa..cc17342 100644 --- a/doc/html/gen__calls_8h.html +++ b/doc/html/gen__calls_8h.html @@ -8,7 +8,6 @@

@@ -116,7 +111,7 @@

-Definition at line 38 of file gen_calls.c. +Definition at line 41 of file gen_calls.c.

@@ -147,7 +142,7 @@

-Definition at line 88 of file gen_calls.c. +Definition at line 118 of file gen_calls.c.

@@ -178,9 +173,7 @@

-Definition at line 44 of file gen_calls.c. -

-Referenced by UbixFS::mknod(), and UbixFS::vfs_format(). +Definition at line 50 of file gen_calls.c.

@@ -211,7 +204,7 @@

-Definition at line 76 of file gen_calls.c. +Definition at line 100 of file gen_calls.c.

@@ -242,7 +235,7 @@

-Definition at line 92 of file gen_calls.c. +Definition at line 125 of file gen_calls.c.

@@ -273,41 +266,10 @@

-Definition at line 81 of file gen_calls.c. +Definition at line 108 of file gen_calls.c.

- -

-
- - - - - - - - - - - - - - - - - - -
int sys_write (struct thread,
struct write_args 
)
-
-
- -

- -

-Definition at line 55 of file gen_calls.c. -

-

-


Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:11 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/getfreepage_8c-source.html b/doc/html/getfreepage_8c-source.html index 36711b6..79f1277 100644 --- a/doc/html/getfreepage_8c-source.html +++ b/doc/html/getfreepage_8c-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:08 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/getfreepage_8c.html b/doc/html/getfreepage_8c.html index 80850a1..5779a8e 100644 --- a/doc/html/getfreepage_8c.html +++ b/doc/html/getfreepage_8c.html @@ -8,7 +8,6 @@
@@ -482,19 +481,19 @@ asm ( - ".globl _int7 \n""_int7: \n"" pushl %eax \n"" clts \n"" movl   + ".globl _int7 \n""_int7: \n"" pushl %eax \n"" clts \n"" movl   _current, - %eax\n""cmpl  + %eax\n""cmpl  _usedMath, - %eax\n""je mathDone\n""call mathStateRestore\n""mathDone:\n""popl%eax\n""iret\n"  + %eax\n""je mathDone\n""call mathStateRestore\n""mathDone:\n""popl%eax\n""iret\n"    @@ -588,19 +587,19 @@ void setTaskVector ( - uInt8  + uInt8  interrupt, - uInt16  + uInt16  controlMajor, - uInt8  + uInt8  selector  @@ -712,7 +711,7 @@ Referenced by idt_init().

-


Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:16 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/idt_8h-source.html b/doc/html/idt_8h-source.html index 73fb438..46f5391 100644 --- a/doc/html/idt_8h-source.html +++ b/doc/html/idt_8h-source.html @@ -8,7 +8,6 @@

Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/idt_8h.html b/doc/html/idt_8h.html index 9840663..7643a64 100644 --- a/doc/html/idt_8h.html +++ b/doc/html/idt_8h.html @@ -8,7 +8,6 @@ -

idt.h File Reference

#include <ubixos/types.h>
+

idt.h File Reference

#include <ubixos/types.h>
#include <sys/gdt.h>

@@ -78,7 +77,7 @@ void intNull () -void setTaskVector (uInt8 interrupt, uInt16 controlMajor, uInt8 selector) +void setTaskVector (uInt8 interrupt, uInt16 controlMajor, uInt8 selector) void setVector (void *handler, unsigned char interrupt, unsigned short controlMajor) @@ -300,7 +299,7 @@

Definition at line 281 of file idt.c.

-References _current, _int13(), tssStruct::cs, DEAD, tssStruct::eax, tssStruct::ebp, tssStruct::edx, EFLAG_IF, EFLAG_VM, tssStruct::eflags, tssStruct::eip, tssStruct::esp, FALSE, FP_TO_LINEAR, taskStruct::id, inportByte(), inportWord(), irqDisable(), irqEnable(), kpanic(), kprintf(), taskStruct::oInfo, outportByte(), outportWord(), tssStruct::ss, taskStruct::state, osInfo::timer, TRUE, taskStruct::tss, and osInfo::v86If. +References _current, _int13(), tssStruct::cs, DEAD, tssStruct::eax, tssStruct::ebp, tssStruct::edx, EFLAG_IF, EFLAG_VM, tssStruct::eflags, tssStruct::eip, tssStruct::esp, FALSE, FP_TO_LINEAR, taskStruct::id, inportByte(), inportWord(), irqDisable(), irqEnable(), kpanic(), kprintf(), taskStruct::oInfo, outportByte(), outportWord(), tssStruct::ss, taskStruct::state, osInfo::timer, TRUE, taskStruct::tss, and osInfo::v86If.

Referenced by _int13(), and idt_init(). @@ -556,19 +555,19 @@ void setTaskVector ( - uInt8  + uInt8  interrupt, - uInt16  + uInt16  controlMajor, - uInt8  + uInt8  selector  @@ -650,7 +649,7 @@

-


Generated on Tue Dec 5 23:35:00 2006 for UbixOS V2 by  +
Generated on Tue Dec 12 08:52:11 2006 for UbixOS V2 by  doxygen 1.4.7
diff --git a/doc/html/index.hhc b/doc/html/index.hhc index 68fb18e..9438527 100644 --- a/doc/html/index.hhc +++ b/doc/html/index.hhc @@ -17,13 +17,9 @@
  • -
  • -
  • -
  • -
  • @@ -31,7 +27,6 @@
  • -
  • @@ -39,13 +34,10 @@
  • -
  • -
  • -
  • @@ -66,10 +58,8 @@
  • -
  • -
  • @@ -122,179 +112,7 @@
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • - -
  • -
      -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
        -
      • -
      -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • +
    • @@ -329,7 +147,6 @@
    • -
    • @@ -340,21 +157,12 @@
    • -
    • -
    • -
        -
      • -
  • -
  • -
      -
    • -
    • @@ -425,7 +233,7 @@
    • -
    • +
    • @@ -444,7 +252,7 @@
    • -
    • +
    • @@ -466,14 +274,14 @@
    • -
    • +
    • -
    • +
    • -
    • +
    • @@ -527,7 +335,9 @@
    • +
    • +
    • @@ -562,20 +372,6 @@
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • @@ -709,7 +505,7 @@
    • -
    • +
    • @@ -731,7 +527,7 @@
      • -
      • +
      • @@ -756,7 +552,7 @@
      • -
      • +
      @@ -767,9 +563,9 @@
    • -
    • +
    • -
    • +
    • @@ -846,7 +642,9 @@
    • +
    • +
    • @@ -906,23 +704,6 @@
    -
  • -
      -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • diff --git a/doc/html/index.hhk b/doc/html/index.hhk index 5fe5d4a..53b37a1 100644 --- a/doc/html/index.hhk +++ b/doc/html/index.hhk @@ -34,18 +34,13 @@
    -
  • +
    • -
    • -
    • -
    • -
    • -
  • @@ -279,9 +274,13 @@
    • -
    • +
    -
  • +
  • +
      +
    • +
    • +
    • @@ -309,10 +308,11 @@
      • +
      +
    • -
    • @@ -699,7 +699,6 @@
    • -
      • @@ -713,11 +712,6 @@
      • -
      • -
      • -
      • -
      • -
      • @@ -792,9 +786,9 @@
      • -
      • +
      • -
      • +
        • @@ -818,10 +812,8 @@
        -
      • -
      • -
      • -
      • +
      • +
        • @@ -844,7 +836,6 @@
      • -
      • @@ -889,53 +880,6 @@
    • -
    • -
    • -
    • -
        -
      • -
      • -
      • -
      • -
      • -
      -
    • -
        -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      -
    • -
        -
      • -
      • -
      • -
      • -
      • -
      • -
      • @@ -996,7 +940,7 @@
      -
    • +
      • @@ -1021,7 +965,7 @@
      • -
      • +
        • @@ -1282,7 +1226,6 @@
        -
      • @@ -1349,7 +1292,6 @@
      • -
      • @@ -1369,26 +1311,16 @@
      -
    • +
      • -
      • +
      -
    • +
      • -
      • +
      -
    • -
        -
      • -
      • -
      -
    • -
        -
      • -
      • -
      • @@ -1439,6 +1371,12 @@
      +
    • +
        +
      • +
      • +
      • +
      • @@ -1446,19 +1384,17 @@
      • -
      • -
      • -
      • +
      • -
      • +
      • @@ -1477,7 +1413,7 @@
      • -
      • +
      • @@ -1487,28 +1423,14 @@
        • -
        • +
      • -
      • -
          -
        • -
        • -
        • -
        • -
        • -
        • -
        • -
        • -
        • -
        • -
        • -
      • -
      • +
      • @@ -1678,25 +1600,15 @@
    • -
    • +
    • -
    • -
    • -
        -
      • -
      • -
      • -
      • -
      • -
      -
      • @@ -1882,6 +1794,7 @@
      • +
      @@ -2147,7 +2060,7 @@
  • -
  • +
  • @@ -2279,7 +2192,7 @@
  • -
  • +
    • @@ -2313,13 +2226,13 @@
    -
  • +
    • -
    • +
    • @@ -2341,11 +2254,11 @@
  • -
  • +
    • -
    • +
    • @@ -2373,7 +2286,7 @@
    -
  • +
    • @@ -2473,24 +2386,24 @@
    -
  • -
  • -
  • +
  • +
  • +
    • -
    • +
    • -
    • +
  • -
  • +
  • @@ -2502,7 +2415,7 @@
    • -
    • +
  • @@ -2514,7 +2427,7 @@
  • -
  • +
  • @@ -2529,22 +2442,40 @@
  • +
  • +
      +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    -
  • -
  • -
  • -
      -
    • -
    • -
    • -
    • -
    • -
    • -
    +
  • +
  • +
    • @@ -2572,7 +2503,7 @@
    -
  • +
    • @@ -2587,25 +2518,15 @@
    -
  • -
      -
    • -
    • -
    • -
  • -
  • +
  • -
  • -
  • -
  • -
    • @@ -2641,7 +2562,7 @@
      • -
      • +
      • @@ -2656,17 +2577,16 @@
      • -
      • +
        • -
        • -
        • +
        • +
      • -
        • -
        • +
      • @@ -2681,9 +2601,8 @@
    • -
    • +
      • -
      • @@ -2873,7 +2792,7 @@
        • -
        • +
      • @@ -2912,7 +2831,7 @@
        • -
        • +
      • @@ -2978,6 +2897,7 @@
      • +
    • @@ -2989,10 +2909,8 @@
    • -
  • -
  • @@ -3015,13 +2933,16 @@
  • +
  • +
      +
    • +
    • +
  • -
  • -
    • -
    • +
    • @@ -3043,7 +2964,6 @@
    • -
      • @@ -3087,7 +3007,7 @@
      -
    • +
      • @@ -3193,11 +3113,7 @@
      -
    • -
        -
      • -
      • -
      +
    • @@ -3268,7 +3184,6 @@
    -
  • @@ -3480,121 +3395,6 @@
  • -
  • -
      -
    • -
    • -
    • -
    -
  • -
      -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    -
  • -
      -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    -
  • -
      -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    -
  • -
      -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
  • @@ -3615,12 +3415,10 @@
  • -
    • -
  • @@ -3630,10 +3428,6 @@
  • -
      -
    • -
    • -
  • @@ -3662,21 +3456,12 @@
  • -
  • +
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • @@ -3695,22 +3480,17 @@
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • +
  • +
  • +
  • +
  • +
  • +
  • +
    • @@ -3759,7 +3539,6 @@
      • -
      • @@ -3920,7 +3699,6 @@
      • -
        • @@ -4101,6 +3879,9 @@
      • +
      • +
      • +
      • @@ -4113,6 +3894,7 @@
      • +
    • @@ -4143,6 +3925,7 @@
    • +
    • @@ -4329,6 +4112,7 @@
  • +
  • @@ -4363,6 +4147,7 @@
  • +
  • @@ -4606,7 +4391,6 @@
  • -
  • @@ -4795,13 +4579,7 @@
  • -
  • -
  • -
      -
    • -
    • -
  • @@ -4821,13 +4599,12 @@
  • -
  • -
  • +
  • -
  • +
    • @@ -4992,7 +4769,6 @@
    • -
      • @@ -5103,10 +4879,13 @@
    • +
      • +
      • +
    • @@ -5637,7 +5416,6 @@
    • -
    • @@ -5657,12 +5435,10 @@
    • -
    • -
  • @@ -5693,7 +5469,6 @@
  • -
  • @@ -5721,10 +5496,9 @@
    • -
    • +
  • -
  • @@ -5741,7 +5515,8 @@
  • -
  • +
  • +
  • @@ -5769,13 +5544,8 @@
  • -
  • -
  • -
      -
    • -
    • -
    • -
    +
  • +
  • @@ -5883,6 +5653,9 @@
  • +
  • +
  • +
  • @@ -5892,12 +5665,6 @@
  • -
  • -
      -
    • -
    • -
    • -
    • @@ -6036,7 +5803,6 @@
    • -
    • @@ -6144,8 +5910,9 @@
  • -
  • +
    • +
    @@ -6333,7 +6100,6 @@
  • -
    • @@ -6365,8 +6131,8 @@
    -
  • -
  • +
  • +
  • @@ -6409,7 +6175,6 @@
  • -
  • @@ -6418,26 +6183,20 @@
  • -
  • -
  • -
    -
    -
  • -
    • @@ -6466,7 +6225,7 @@
    • -
    • +
    • @@ -6479,24 +6238,6 @@
    • -
    • -
    • -
    • -
        -
      • -
      • -
      • -
      • -
      • -
      • -
      -
    • -
        -
      • -
      • -
      -
    • -
    • @@ -6508,9 +6249,6 @@
      • -
      • -
      • -
      • @@ -6542,7 +6280,7 @@
      -
    • +
      • @@ -6561,10 +6299,10 @@
      -
    • +
      • -
      • +
    • @@ -6611,7 +6349,6 @@
      • -
      @@ -6620,11 +6357,6 @@
    • -
    • -
        -
      • -
      • -
    • @@ -6646,8 +6378,6 @@
    • -
    • -
    • @@ -6659,9 +6389,9 @@
    • -
    • +
      • -
      • +
    • @@ -6788,13 +6518,12 @@
    • -
      -
    • +
      • @@ -6819,7 +6548,23 @@
      -
    • +
    • +
        +
      • +
      • +
      +
    • +
        +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • @@ -6944,12 +6689,11 @@
      • -
      -
    • +
    • @@ -7120,7 +6864,6 @@
    -
    • @@ -7147,7 +6890,7 @@
  • -
  • +
  • @@ -7170,10 +6913,6 @@
  • -
      -
    • -
    • -
    • @@ -7192,7 +6931,6 @@
      • -
    • @@ -7279,10 +7017,6 @@
  • -
      -
    • -
    • -
    • @@ -7295,18 +7029,27 @@
    +
  • +
      +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • -
    • +
    • +
    • -
    • -
    • @@ -7317,15 +7060,23 @@
    • +
    +
  • +
      +
    • +
    • +
    • +
    • +
    • -
    • +
    • @@ -7377,7 +7128,6 @@
  • -
  • @@ -7387,7 +7137,7 @@
    • -
    • +
    • @@ -7504,6 +7254,11 @@
    • +
    • +
        +
      • +
      • +
      • @@ -7557,8 +7312,7 @@
        • -
        • -
        • +
        • @@ -7671,14 +7425,12 @@
        • -
        • -
        • @@ -7686,7 +7438,7 @@
          • -
          • +
        • @@ -7737,9 +7489,9 @@
        -
      • +
        • -
        • +
      • @@ -7776,7 +7528,7 @@
        • -
        • +
      • @@ -7866,6 +7618,9 @@
      • +
      • +
      • +
      • @@ -7940,7 +7695,6 @@
    • -
    • @@ -8334,9 +8088,10 @@
    +
    • -
    • +
    • @@ -8377,10 +8132,10 @@
    -
  • +
    • -
    • +
  • @@ -8486,11 +8241,7 @@
  • -
  • -
  • -
  • -
  • -
  • +
  • @@ -8632,24 +8383,65 @@
  • -
  • -
  • -
  • -
  • +
  • +
  • +
  • +
  • +
  • +
      +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
  • -
  • -
  • -
  • -
  • -
  • -
  • -
  • +
  • +
  • +
  • +
  • +
  • +
  • +
  • -
  • +
    • @@ -8673,7 +8465,7 @@
    -
  • +
    • @@ -8685,44 +8477,36 @@
    -
  • +
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    • +
    -
  • -
  • +
  • +
    • @@ -8743,29 +8527,23 @@
    -
  • -
  • -
  • +
    • -
    • +
    -
  • +
    • -
    • +
    -
  • -
  • -
  • -
  • -
  • +
    • -
    • +
    • @@ -8774,51 +8552,20 @@
    -
    • -
    • +
    • -
    • +
    -
  • +
    • -
    • -
    -
  • -
      -
    • -
    • -
    • -
    • -
    • -
    • -
    -
  • -
      -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • -
    • +
  • @@ -9161,20 +8908,11 @@
  • -
  • -
  • -
  • -
      -
    • -
    • -
    -
  • -
  • -
      -
    • -
    • -
    -
  • +
  • +
  • +
  • +
  • +
    • @@ -9187,7 +8925,7 @@
      • -
      • +
    • @@ -9201,20 +8939,11 @@
    -
  • -
      -
    • -
    • -
    • -
    • -
    • -
    • -
  • -
  • +
    • @@ -9232,96 +8961,58 @@
    • -
    • +
      • -
      • +
      -
    • +
      • -
      • +
    • -
    • -
    • -
    • +
      • -
      • +
      -
    • +
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • -
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      • +
      -
    • -
        -
      • -
      • -
      -
    • -
        -
      • -
      • -
      -
    • +
      -
    • +
      • -
      • -
      • -
      -
    • -
        -
      • -
      • -
      • -
      -
    • -
        -
      • -
      • -
      -
    • -
        -
      • -
      • +
      • @@ -9340,70 +9031,15 @@
      -
    • -
        -
      • -
      • -
      -
    • -
        -
      • -
      • -
      -
    • -
        -
      • -
      • -
      -
    • -
        -
      • -
      • -
      -
    • -
        -
      • -
      • -
      -
    • -
        -
      • -
      • -
      -
    • -
        -
      • -
      • -
      -
    • -
        -
      • -
      • -
      -
    • -
        -
      • -
      • -
      -
    • -
        -
      • -
      • -
      -
    • -
        -
      • -
      • -
    • -
    • +
      • -
      • +
    • @@ -9467,7 +9103,7 @@
  • -
  • +
  • @@ -9608,7 +9244,6 @@
  • -
    • @@ -9637,6 +9272,9 @@
    +
  • +
  • +
  • @@ -9648,12 +9286,6 @@
  • -
      -
    • -
    • -
    • -
    • -
    • @@ -9681,15 +9313,15 @@
    -
  • +
    • -
    • +
    -
  • +
    • -
    • +
    • @@ -9724,11 +9356,6 @@
    • -
    • -
    • -
    • -
    • -
    diff --git a/doc/html/index.hhp b/doc/html/index.hhp index 1e43c49..fb5552f 100644 --- a/doc/html/index.hhp +++ b/doc/html/index.hhp @@ -83,8 +83,7 @@ __types_8h-source.html buf_8h-source.html cdefs_8h-source.html -include_2sys_2device_8h-source.html -ubixfsv2_2device_8h-source.html +device_8h-source.html device_8old_8h-source.html dma_8h-source.html driver_8h-source.html @@ -103,8 +102,7 @@ tss_8h-source.html video_8h-source.html dirCache_8h-source.html -include_2ubixfs_2ubixfs_8h-source.html -ubixfsv2_2ubixfs_8h-source.html +ubixfs_8h-source.html elf_8h-source.html endtask_8h-source.html exec_8h-source.html @@ -125,17 +123,14 @@ time_8h-source.html times_8h-source.html tty_8h-source.html -include_2ubixos_2types_8h-source.html -ubixfsv2_2types_8h-source.html +types_8h-source.html ubthread_8h-source.html vitals_8h-source.html ffs_8h-source.html ufs_8h-source.html -include_2vfs_2file_8h-source.html -ubixfsv2_2file_8h-source.html +file_8h-source.html mount_8h-source.html -include_2vfs_2vfs_8h-source.html -ubixfsv2_2vfs_8h-source.html +vfs_8h-source.html paging_8h-source.html vmm_8h-source.html main_8c-source.html @@ -189,7 +184,9 @@ net_8c-source.html ogprintf_8cc-source.html sqrt_8c-source.html +strcpy_8S-source.html string_8c-source.html +strlen_8S-source.html strtok_8c-source.html strtol_8c-source.html vsprintf_8c-source.html @@ -225,15 +222,6 @@ directory_8c-source.html thread_8c-source.html ubixfs_8c-source.html -btree_8cpp-source.html -btree_8h-source.html -btreeheader_8h-source.html -fsAbstract_8h-source.html -main_8cpp-source.html -ramdrive_8cpp-source.html -ramdrive_8h-source.html -ubixfs_8cpp-source.html -vfs_8cpp-source.html ffs_8c-source.html ufs_8c-source.html file_8c-source.html @@ -319,8 +307,7 @@ __types_8h.html buf_8h.html cdefs_8h.html -include_2sys_2device_8h.html -ubixfsv2_2device_8h.html +device_8h.html device_8old_8h.html dma_8h.html driver_8h.html @@ -339,8 +326,7 @@ tss_8h.html video_8h.html dirCache_8h.html -include_2ubixfs_2ubixfs_8h.html -ubixfsv2_2ubixfs_8h.html +ubixfs_8h.html elf_8h.html endtask_8h.html exec_8h.html @@ -361,17 +347,14 @@ time_8h.html times_8h.html tty_8h.html -include_2ubixos_2types_8h.html -ubixfsv2_2types_8h.html +types_8h.html ubthread_8h.html vitals_8h.html ffs_8h.html ufs_8h.html -include_2vfs_2file_8h.html -ubixfsv2_2file_8h.html +file_8h.html mount_8h.html -include_2vfs_2vfs_8h.html -ubixfsv2_2vfs_8h.html +vfs_8h.html paging_8h.html vmm_8h.html main_8c.html @@ -425,7 +408,9 @@ net_8c.html ogprintf_8cc.html sqrt_8c.html +strcpy_8S.html string_8c.html +strlen_8S.html strtok_8c.html strtol_8c.html vsprintf_8c.html @@ -461,15 +446,6 @@ directory_8c.html thread_8c.html ubixfs_8c.html -btree_8cpp.html -btree_8h.html -btreeheader_8h.html -fsAbstract_8h.html -main_8cpp.html -ramdrive_8cpp.html -ramdrive_8h.html -ubixfs_8cpp.html -vfs_8cpp.html ffs_8c.html ufs_8c.html file_8c.html @@ -489,7 +465,6 @@ vmm__memory_8c.html annotated.html classes.html -hierarchy.html functions.html functions_0x61.html functions_0x62.html @@ -542,7 +517,6 @@ functions_vars_0x76.html functions_vars_0x77.html functions_vars_0x79.html -functions_rela.html struct____sigset.html struct____timespec.html struct__item__t.html @@ -554,13 +528,9 @@ structarp__hdr.html structarpcom.html structblockAllocationTableEntry.html -structblockRun.html -structbNode.html structbootSect.html structbsd__disklabel.html structbsd__disklabel_1_1partition.html -classbTree.html -structbTreeHeader.html structbuf.html structcacheNode.html structclose__args.html @@ -568,7 +538,6 @@ structcpuinfo__t.html structcsum.html structcsum__total.html -structdataStream.html uniondescriptorTableUnion.html structdevfs__devices.html structdevfs__info.html @@ -576,13 +545,10 @@ structdevice__interface.html structdevice__node.html structdevice__resource.html -structdevice__t.html structdevMethodType.html structdirectoryEntry.html structdirectoryList.html structdirent.html -classDiskFS.html -structdiskSuperBlock.html structdmadat.html structdos__partition.html structdp__rcvhdr.html @@ -603,10 +569,8 @@ structethip__hdr.html structfcntl__args.html structfile.html -structfileDescriptor.html structfileDescriptorStruct.html structfileSystem.html -classFileSystemAbstract.html structfs.html structfstat__args.html structgdt__descr.html @@ -659,6 +623,7 @@ structread__args.html structreadlink__args.html structsdeWindows.html +structsetitimer__args.html structsigaction__args.html structsigprocmask__args.html structsockaddr.html @@ -692,9 +657,7 @@ structTVESA__Rec.html structubixDiskLabel.html structubixDiskLabel_1_1ubixPartitions.html -classUbixFS.html structubixFSInfo.html -structubixfsInode.html structubthread.html structubthread__cond.html structubthread__cond__list.html @@ -705,14 +668,10 @@ structudp__pcb.html structufs1__dinode.html structufs2__dinode.html -unionuPtr.html structuserFileDescriptorStruct.html -classvfs__abstract.html structvfs__mountPoint.html structvitalsStruct.html structwrite__args.html -namespaces.html -namespacestd.html dir_5377d826f41208e35c1e6ec985f139cd.html dir_bdca170688007a80a8e983b8739e5b43.html dir_5ea7b6688944441098902d7716f0cb6a.html @@ -745,7 +704,6 @@ dir_832905b1f7f5feaf61a306b40c0ac817.html dir_74196872fc832845f1a07f1162e5c554.html dir_0da430bc12a622a01803598a1e7c0e05.html -dir_21e0927e9dd41d8ff1206ca4f0555726.html dir_9854bc9d2b9a2a73f32c73e97d31d0f7.html dir_cbd3b6f8ac372a007cdc756f615c76fe.html dir_4d4c8e7174efe8ad5ca8ab494abe072d.html diff --git a/doc/html/init_8c-source.html b/doc/html/init_8c-source.html index 6f86c42..a7a38c5 100644 --- a/doc/html/init_8c-source.html +++ b/doc/html/init_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:07 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/init_8c.html b/doc/html/init_8c.html index 078680e..434d454 100644 --- a/doc/html/init_8c.html +++ b/doc/html/init_8c.html @@ -8,7 +8,6 @@ -

    init.c File Reference

    #include <ubixos/types.h>
    +

    init.c File Reference

    #include <ubixos/types.h>
    #include <ubixos/sched.h>
    #include <ubixos/endtask.h>
    #include <net/sys.h>
    @@ -128,7 +127,7 @@ References sys_sem_signal().

    -


    Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:15 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/io_8c-source.html b/doc/html/io_8c-source.html index 2e4c5be..64c7953 100644 --- a/doc/html/io_8c-source.html +++ b/doc/html/io_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:08 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/io_8c.html b/doc/html/io_8c.html index 31ca449..b5344d8 100644 --- a/doc/html/io_8c.html +++ b/doc/html/io_8c.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:16 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/io_8h-source.html b/doc/html/io_8h-source.html index 65483d7..0e9e54c 100644 --- a/doc/html/io_8h-source.html +++ b/doc/html/io_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/io_8h.html b/doc/html/io_8h.html index 25e089d..0b1c3e1 100644 --- a/doc/html/io_8h.html +++ b/doc/html/io_8h.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:00 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:11 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ipv4_2icmp_8h-source.html b/doc/html/ipv4_2icmp_8h-source.html index cb257be..3849943 100644 --- a/doc/html/ipv4_2icmp_8h-source.html +++ b/doc/html/ipv4_2icmp_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ipv4_2icmp_8h.html b/doc/html/ipv4_2icmp_8h.html index e3360ea..a3f2852 100644 --- a/doc/html/ipv4_2icmp_8h.html +++ b/doc/html/ipv4_2icmp_8h.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:10 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ipv4_2inet_8h-source.html b/doc/html/ipv4_2inet_8h-source.html index ad88f04..2f21fca 100644 --- a/doc/html/ipv4_2inet_8h-source.html +++ b/doc/html/ipv4_2inet_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ipv4_2inet_8h.html b/doc/html/ipv4_2inet_8h.html index 55f933e..63198f1 100644 --- a/doc/html/ipv4_2inet_8h.html +++ b/doc/html/ipv4_2inet_8h.html @@ -8,7 +8,6 @@
    @@ -168,7 +167,7 @@ ipaddr   )  -    ((uInt8)(ntohl((ipaddr)->addr) >> 8) & 0xff) +    ((uInt8)(ntohl((ipaddr)->addr) >> 8) & 0xff) @@ -192,7 +191,7 @@ ipaddr   )  -    ((uInt8)(ntohl((ipaddr)->addr)) & 0xff) +    ((uInt8)(ntohl((ipaddr)->addr)) & 0xff) @@ -287,10 +286,10 @@

    Value:

    kprintf("%d.%d.%d.%d", \
    -                    (uInt8)(ntohl((ipaddr)->addr) >> 24) & 0xff, \
    -                    (uInt8)(ntohl((ipaddr)->addr) >> 16) & 0xff, \
    -                    (uInt8)(ntohl((ipaddr)->addr) >> 8) & 0xff, \
    -                    (uInt8)ntohl((ipaddr)->addr) & 0xff)
    +                    (uInt8)(ntohl((ipaddr)->addr) >> 24) & 0xff, \
    +                    (uInt8)(ntohl((ipaddr)->addr) >> 16) & 0xff, \
    +                    (uInt8)(ntohl((ipaddr)->addr) >> 8) & 0xff, \
    +                    (uInt8)ntohl((ipaddr)->addr) & 0xff)
     

    Definition at line 75 of file ip_addr.h. @@ -470,7 +469,7 @@

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:10 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ipv6_2icmp_8h-source.html b/doc/html/ipv6_2icmp_8h-source.html index 4c36571..f967377 100644 --- a/doc/html/ipv6_2icmp_8h-source.html +++ b/doc/html/ipv6_2icmp_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ipv6_2icmp_8h.html b/doc/html/ipv6_2icmp_8h.html index 437054a..66ad163 100644 --- a/doc/html/ipv6_2icmp_8h.html +++ b/doc/html/ipv6_2icmp_8h.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:10 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ipv6_2inet_8h-source.html b/doc/html/ipv6_2inet_8h-source.html index 04f0ad9..2d4ae44 100644 --- a/doc/html/ipv6_2inet_8h-source.html +++ b/doc/html/ipv6_2inet_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ipv6_2inet_8h.html b/doc/html/ipv6_2inet_8h.html index 77afada..0a6c7ca 100644 --- a/doc/html/ipv6_2inet_8h.html +++ b/doc/html/ipv6_2inet_8h.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:10 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ipv6_2ip_8h-source.html b/doc/html/ipv6_2ip_8h-source.html index 6d31b93..0ae1f2a 100644 --- a/doc/html/ipv6_2ip_8h-source.html +++ b/doc/html/ipv6_2ip_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ipv6_2ip_8h.html b/doc/html/ipv6_2ip_8h.html index 6259ab5..85775b8 100644 --- a/doc/html/ipv6_2ip_8h.html +++ b/doc/html/ipv6_2ip_8h.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:10 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ipv6_2ip__addr_8h-source.html b/doc/html/ipv6_2ip__addr_8h-source.html index b822546..c811e0f 100644 --- a/doc/html/ipv6_2ip__addr_8h-source.html +++ b/doc/html/ipv6_2ip__addr_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ipv6_2ip__addr_8h.html b/doc/html/ipv6_2ip__addr_8h.html index 0085ea5..bb79163 100644 --- a/doc/html/ipv6_2ip__addr_8h.html +++ b/doc/html/ipv6_2ip__addr_8h.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:10 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kern__descrip_8c-source.html b/doc/html/kern__descrip_8c-source.html index 3a3cad3..ad3479b 100644 --- a/doc/html/kern__descrip_8c-source.html +++ b/doc/html/kern__descrip_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +00115 #ifdef DEBUG +00116 kprintf("[%s:%i]",__FILE__,__LINE__); +00117 #endif +00118 +00119 fp = (struct file *)_current->td.o_files[uap->fd]; +00120 uap->sb->st_mode = 0x2180; +00121 uap->sb->st_blksize = 0x1000; +00122 kprintf("fstat: %i",uap->fd); +00123 return(0x0); +00124 } +00125 +00131 int ioctl(struct thread *td, struct ioctl_args *uap) { +00132 td->td_retval[0] = 0x0; +00133 return(0x0); +00134 } +00135 +00141 int getfd(struct thread *td,struct file **fp,int fd) { +00142 int error = 0x0; +00143 +00144 #ifdef DEBUG +00145 kprintf("[%s:%i]",__FILE__,__LINE__); +00146 #endif +00147 +00148 *fp = (struct file *)td->o_files[fd]; +00149 +00150 if (fp == 0x0) +00151 error = -1; +00152 +00153 return(error); +00154 } +00155 +00156 /*** +00157 END +00158 ***/ +00159 +
    Generated on Tue Dec 12 08:52:06 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kern__descrip_8c.html b/doc/html/kern__descrip_8c.html index d6a2626..8ab9e4b 100644 --- a/doc/html/kern__descrip_8c.html +++ b/doc/html/kern__descrip_8c.html @@ -8,7 +8,6 @@

    @@ -124,11 +128,11 @@

    -Definition at line 63 of file kern_descrip.c. +Definition at line 67 of file kern_descrip.c.

    -References kmalloc(), and thread::o_files. +References kmalloc(), kprintf(), and thread::o_files.

    -Referenced by open(), and pipe(). +Referenced by pipe(), and sys_open().

    @@ -161,7 +165,7 @@

    Definition at line 39 of file kern_descrip.c.

    -References fcntl_args::arg, fcntl_args::cmd, file::f_flag, FCNTLFLAGS, fcntl_args::fd, FFLAGS, kprintf(), O_ACCMODE, thread::o_files, and thread::td_retval. +References fcntl_args::arg, fcntl_args::cmd, file::f_flag, FCNTLFLAGS, fcntl_args::fd, FFLAGS, kprintf(), O_ACCMODE, thread::o_files, and thread::td_retval.

    @@ -192,9 +196,9 @@

    -Definition at line 96 of file kern_descrip.c. +Definition at line 112 of file kern_descrip.c.

    -References _current, fstat_args::fd, thread::o_files, fstat_args::sb, stat::st_blksize, stat::st_mode, and taskStruct::td. +References _current, fstat_args::fd, kprintf(), thread::o_files, fstat_args::sb, stat::st_blksize, stat::st_mode, taskStruct::td, and x1000.

    @@ -223,11 +227,57 @@

    +return data table size +

    -Definition at line 90 of file kern_descrip.c. +Definition at line 103 of file kern_descrip.c.

    -References thread::td_retval. +References kprintf(), O_FILES, and thread::td_retval. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    int getfd (struct thread td,
    struct file **  fp,
    int  fd 
    )
    +
    +
    + +

    +get pointer to file fd in specified thread +

    +

    Returns:
    returns fp
    + +

    +Definition at line 141 of file kern_descrip.c. +

    +References kprintf(), and thread::o_files. +

    +Referenced by read().

    @@ -256,14 +306,17 @@

    -HACK +ioctl functionality not implimented yet

    -Definition at line 108 of file kern_descrip.c. +

    Returns:
    NULL for now
    +

    -References thread::td_retval. +Definition at line 131 of file kern_descrip.c. +

    +References thread::td_retval.

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kern__descrip_8h-source.html b/doc/html/kern__descrip_8h-source.html index c6b6c3e..e617e2c 100644 --- a/doc/html/kern__descrip_8h-source.html +++ b/doc/html/kern__descrip_8h-source.html @@ -8,7 +8,6 @@
    • Main Page
    • -
    • Namespaces
    • Data Structures
    • Files
    • Directories
    • @@ -65,133 +64,137 @@ 00033 #include <sys/thread.h> 00034 #include <sys/sysproto.h> 00035 -00036 typedef __mode_t mode_t; -00037 typedef __nlink_t nlink_t; -00038 -00039 /* command values */ -00040 #define F_DUPFD 0 /* duplicate file descriptor */ -00041 #define F_GETFD 1 /* get file descriptor flags */ -00042 #define F_SETFD 2 /* set file descriptor flags */ -00043 #define F_GETFL 3 /* get file status flags */ -00044 #define F_SETFL 4 /* set file status flags */ -00045 #define F_GETOWN 5 /* get SIGIO/SIGURG proc/pgrp */ -00046 #define F_SETOWN 6 /* set SIGIO/SIGURG proc/pgrp */ -00047 #define F_GETLK 7 /* get record locking information */ -00048 #define F_SETLK 8 /* set record locking information */ -00049 #define F_SETLKW 9 /* F_SETLK; wait if blocked */ -00050 -00051 /* Flag Values */ -00052 #define FREAD 0x0001 -00053 #define FWRITE 0x0002 -00054 #define O_NONBLOCK 0x0004 /* no delay */ -00055 #define O_APPEND 0x0008 /* set append mode */ -00056 #define O_SHLOCK 0x0010 /* open with shared file lock */ -00057 #define O_EXLOCK 0x0020 /* open with exclusive file lock */ -00058 #define O_ASYNC 0x0040 /* signal pgrp when data ready */ -00059 #define O_FSYNC 0x0080 /* synchronous writes */ -00060 #define O_SYNC 0x0080 /* POSIX synonym for O_FSYNC */ -00061 #define O_NOFOLLOW 0x0100 /* don't follow symlinks */ -00062 #define O_CREAT 0x0200 /* create if nonexistent */ -00063 #define O_TRUNC 0x0400 /* truncate to zero length */ -00064 #define O_EXCL 0x0800 /* error if already exists */ -00065 #define O_DIRECT 0x00010000 -00066 #define O_RDONLY 0x0000 /* open for reading only */ -00067 #define O_WRONLY 0x0001 /* open for writing only */ -00068 #define O_RDWR 0x0002 /* open for reading and writing */ -00069 #define O_ACCMODE 0x0003 /* mask for above modes */ -00070 -00071 -00072 #define FHASLOCK 0x4000 /* descriptor holds advisory lock */ +00036 #include <vfs/file.h> +00037 +00038 typedef __mode_t mode_t; +00039 typedef __nlink_t nlink_t; +00040 +00041 /* command values */ +00042 #define F_DUPFD 0 /* duplicate file descriptor */ +00043 #define F_GETFD 1 /* get file descriptor flags */ +00044 #define F_SETFD 2 /* set file descriptor flags */ +00045 #define F_GETFL 3 /* get file status flags */ +00046 #define F_SETFL 4 /* set file status flags */ +00047 #define F_GETOWN 5 /* get SIGIO/SIGURG proc/pgrp */ +00048 #define F_SETOWN 6 /* set SIGIO/SIGURG proc/pgrp */ +00049 #define F_GETLK 7 /* get record locking information */ +00050 #define F_SETLK 8 /* set record locking information */ +00051 #define F_SETLKW 9 /* F_SETLK; wait if blocked */ +00052 +00053 /* Flag Values */ +00054 #define FREAD 0x0001 +00055 #define FWRITE 0x0002 +00056 #define O_NONBLOCK 0x0004 /* no delay */ +00057 #define O_APPEND 0x0008 /* set append mode */ +00058 #define O_SHLOCK 0x0010 /* open with shared file lock */ +00059 #define O_EXLOCK 0x0020 /* open with exclusive file lock */ +00060 #define O_ASYNC 0x0040 /* signal pgrp when data ready */ +00061 #define O_FSYNC 0x0080 /* synchronous writes */ +00062 #define O_SYNC 0x0080 /* POSIX synonym for O_FSYNC */ +00063 #define O_NOFOLLOW 0x0100 /* don't follow symlinks */ +00064 #define O_CREAT 0x0200 /* create if nonexistent */ +00065 #define O_TRUNC 0x0400 /* truncate to zero length */ +00066 #define O_EXCL 0x0800 /* error if already exists */ +00067 #define O_DIRECT 0x00010000 +00068 #define O_RDONLY 0x0000 /* open for reading only */ +00069 #define O_WRONLY 0x0001 /* open for writing only */ +00070 #define O_RDWR 0x0002 /* open for reading and writing */ +00071 #define O_ACCMODE 0x0003 /* mask for above modes */ +00072 00073 -00074 -00075 /* F MAPPERS */ -00076 #define FAPPEND O_APPEND /* kernel/compat */ -00077 #define FASYNC O_ASYNC /* kernel/compat */ -00078 #define FFSYNC O_FSYNC /* kernel */ -00079 #define FNONBLOCK O_NONBLOCK /* kernel */ -00080 #define FNDELAY O_NONBLOCK /* compat */ -00081 #define O_NDELAY O_NONBLOCK /* compat */ -00082 #define FPOSIXSHM O_NOFOLLOW -00083 -00084 -00085 -00086 #define FCNTLFLAGS (FAPPEND|FASYNC|FFSYNC|FNONBLOCK|FPOSIXSHM|O_DIRECT) -00087 -00088 #define FFLAGS(oflags) ((oflags) + 1) -00089 #define OFLAGS(fflags) ((fflags) - 1) -00090 -00091 struct file { -00092 int f_flag; -00093 }; -00094 -00095 /* TEMP */ -00096 struct __timespec { -00097 __time_t tv_sec; /* seconds */ -00098 long tv_nsec; /* and nanoseconds */ -00099 }; -00100 -00101 struct stat { -00102 __dev_t st_dev; /* inode's device */ -00103 ino_t st_ino; /* inode's number */ -00104 mode_t st_mode; /* inode protection mode */ -00105 nlink_t st_nlink; /* number of hard links */ -00106 uid_t st_uid; /* user ID of the file's owner */ -00107 gid_t st_gid; /* group ID of the file's group */ -00108 __dev_t st_rdev; /* device type */ -00109 #if __BSD_VISIBLE -00110 struct timespec st_atimespec; /* time of last access */ -00111 struct timespec st_mtimespec; /* time of last data modification */ -00112 struct timespec st_ctimespec; /* time of last file status change */ -00113 #else -00114 time_t st_atime; /* time of last access */ -00115 long __st_atimensec; /* nsec of last access */ -00116 time_t st_mtime; /* time of last data modification */ -00117 long __st_mtimensec; /* nsec of last data modification */ -00118 time_t st_ctime; /* time of last file status change */ -00119 long __st_ctimensec; /* nsec of last file status change */ -00120 #endif -00121 off_t st_size; /* file size, in bytes */ -00122 blkcnt_t st_blocks; /* blocks allocated for file */ -00123 blksize_t st_blksize; /* optimal blocksize for I/O */ -00124 fflags_t st_flags; /* user defined flags for file */ -00125 __uint32_t st_gen; /* file generation number */ -00126 __int32_t st_lspare; -00127 #if __BSD_VISIBLE -00128 struct timespec st_birthtimespec; /* time of file creation */ -00129 /* -00130 * Explicitly pad st_birthtimespec to 16 bytes so that the size of -00131 * struct stat is backwards compatible. We use bitfields instead -00132 * of an array of chars so that this doesn't require a C99 compiler -00133 * to compile if the size of the padding is 0. We use 2 bitfields -00134 * to cover up to 64 bits on 32-bit machines. We assume that -00135 * CHAR_BIT is 8... -00136 */ -00137 unsigned int :(8 / 2) * (16 - (int)sizeof(struct timespec)); -00138 unsigned int :(8 / 2) * (16 - (int)sizeof(struct timespec)); -00139 #else -00140 time_t st_birthtime; /* time of file creation */ -00141 long st_birthtimensec; /* nsec of file creation */ -00142 unsigned int :(8 / 2) * (16 - (int)sizeof(struct __timespec)); -00143 unsigned int :(8 / 2) * (16 - (int)sizeof(struct __timespec)); -00144 #endif -00145 }; -00146 -00147 -00148 int fcntl(struct thread *, struct fcntl_args *); -00149 int close(struct thread *,struct close_args *); -00150 int falloc(struct thread *, struct file **, int *); -00151 int getdtablesize(struct thread *, struct getdtablesize_args *); -00152 int fstat(struct thread *, struct fstat_args *); -00153 int ioctl(struct thread *, struct ioctl_args *); -00154 -00155 -00156 #endif -00157 -00158 /*** -00159 END -00160 ***/ -00161 -

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +00074 #define FHASLOCK 0x4000 /* descriptor holds advisory lock */ +00075 +00076 +00077 /* F MAPPERS */ +00078 #define FAPPEND O_APPEND /* kernel/compat */ +00079 #define FASYNC O_ASYNC /* kernel/compat */ +00080 #define FFSYNC O_FSYNC /* kernel */ +00081 #define FNONBLOCK O_NONBLOCK /* kernel */ +00082 #define FNDELAY O_NONBLOCK /* compat */ +00083 #define O_NDELAY O_NONBLOCK /* compat */ +00084 #define FPOSIXSHM O_NOFOLLOW +00085 +00086 +00087 +00088 #define FCNTLFLAGS (FAPPEND|FASYNC|FFSYNC|FNONBLOCK|FPOSIXSHM|O_DIRECT) +00089 +00090 #define FFLAGS(oflags) ((oflags) + 1) +00091 #define OFLAGS(fflags) ((fflags) - 1) +00092 +00093 struct file { +00094 int f_flag; +00095 char path[1024]; +00096 fileDescriptor *fd; +00097 }; +00098 +00099 /* TEMP */ +00100 struct __timespec { +00101 __time_t tv_sec; /* seconds */ +00102 long tv_nsec; /* and nanoseconds */ +00103 }; +00104 +00105 struct stat { +00106 __dev_t st_dev; /* inode's device */ +00107 ino_t st_ino; /* inode's number */ +00108 mode_t st_mode; /* inode protection mode */ +00109 nlink_t st_nlink; /* number of hard links */ +00110 uid_t st_uid; /* user ID of the file's owner */ +00111 gid_t st_gid; /* group ID of the file's group */ +00112 __dev_t st_rdev; /* device type */ +00113 #if __BSD_VISIBLE +00114 struct timespec st_atimespec; /* time of last access */ +00115 struct timespec st_mtimespec; /* time of last data modification */ +00116 struct timespec st_ctimespec; /* time of last file status change */ +00117 #else +00118 time_t st_atime; /* time of last access */ +00119 long __st_atimensec; /* nsec of last access */ +00120 time_t st_mtime; /* time of last data modification */ +00121 long __st_mtimensec; /* nsec of last data modification */ +00122 time_t st_ctime; /* time of last file status change */ +00123 long __st_ctimensec; /* nsec of last file status change */ +00124 #endif +00125 off_t st_size; /* file size, in bytes */ +00126 blkcnt_t st_blocks; /* blocks allocated for file */ +00127 blksize_t st_blksize; /* optimal blocksize for I/O */ +00128 fflags_t st_flags; /* user defined flags for file */ +00129 __uint32_t st_gen; /* file generation number */ +00130 __int32_t st_lspare; +00131 #if __BSD_VISIBLE +00132 struct timespec st_birthtimespec; /* time of file creation */ +00133 /* +00134 * Explicitly pad st_birthtimespec to 16 bytes so that the size of +00135 * struct stat is backwards compatible. We use bitfields instead +00136 * of an array of chars so that this doesn't require a C99 compiler +00137 * to compile if the size of the padding is 0. We use 2 bitfields +00138 * to cover up to 64 bits on 32-bit machines. We assume that +00139 * CHAR_BIT is 8... +00140 */ +00141 unsigned int :(8 / 2) * (16 - (int)sizeof(struct timespec)); +00142 unsigned int :(8 / 2) * (16 - (int)sizeof(struct timespec)); +00143 #else +00144 time_t st_birthtime; /* time of file creation */ +00145 long st_birthtimensec; /* nsec of file creation */ +00146 unsigned int :(8 / 2) * (16 - (int)sizeof(struct __timespec)); +00147 unsigned int :(8 / 2) * (16 - (int)sizeof(struct __timespec)); +00148 #endif +00149 }; +00150 +00151 +00152 int fcntl(struct thread *, struct fcntl_args *); +00153 int close(struct thread *,struct close_args *); +00154 int falloc(struct thread *, struct file **, int *); +00155 int getdtablesize(struct thread *, struct getdtablesize_args *); +00156 int fstat(struct thread *, struct fstat_args *); +00157 int ioctl(struct thread *, struct ioctl_args *); +00158 int getfd(struct thread *td,struct file **fp,int fd); +00159 +00160 +00161 #endif +00162 +00163 /*** +00164 END +00165 ***/ +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kern__descrip_8h.html b/doc/html/kern__descrip_8h.html index d37d3a2..5de6a4f 100644 --- a/doc/html/kern__descrip_8h.html +++ b/doc/html/kern__descrip_8h.html @@ -8,7 +8,6 @@

    kern_descrip.h File Reference

    #include <sys/thread.h>
    #include <sys/sysproto.h>
    +#include <vfs/file.h>

    Go to the source code of this file. @@ -138,8 +138,13 @@ + + + + +
    int getdtablesize (struct thread *, struct getdtablesize_args *)
     return data table size
    int getfd (struct thread *td, struct file **fp, int fd)
     get pointer to file fd in specified thread
    int ioctl (struct thread *, struct ioctl_args *)
     ioctl functionality not implimented yet


    Define Documentation

    @@ -156,7 +161,7 @@

    -Definition at line 40 of file kern_descrip.h. +Definition at line 42 of file kern_descrip.h.

    @@ -173,7 +178,7 @@

    -Definition at line 41 of file kern_descrip.h. +Definition at line 43 of file kern_descrip.h.

    @@ -190,7 +195,7 @@

    -Definition at line 43 of file kern_descrip.h. +Definition at line 45 of file kern_descrip.h.

    @@ -207,7 +212,7 @@

    -Definition at line 47 of file kern_descrip.h. +Definition at line 49 of file kern_descrip.h.

    @@ -224,7 +229,7 @@

    -Definition at line 45 of file kern_descrip.h. +Definition at line 47 of file kern_descrip.h.

    @@ -241,7 +246,7 @@

    -Definition at line 42 of file kern_descrip.h. +Definition at line 44 of file kern_descrip.h.

    @@ -258,7 +263,7 @@

    -Definition at line 44 of file kern_descrip.h. +Definition at line 46 of file kern_descrip.h.

    @@ -275,7 +280,7 @@

    -Definition at line 48 of file kern_descrip.h. +Definition at line 50 of file kern_descrip.h.

    @@ -292,7 +297,7 @@

    -Definition at line 49 of file kern_descrip.h. +Definition at line 51 of file kern_descrip.h.

    @@ -309,7 +314,7 @@

    -Definition at line 46 of file kern_descrip.h. +Definition at line 48 of file kern_descrip.h.

    @@ -326,7 +331,7 @@

    -Definition at line 76 of file kern_descrip.h. +Definition at line 78 of file kern_descrip.h.

    @@ -343,7 +348,7 @@

    -Definition at line 77 of file kern_descrip.h. +Definition at line 79 of file kern_descrip.h.

    @@ -360,7 +365,7 @@

    -Definition at line 86 of file kern_descrip.h. +Definition at line 88 of file kern_descrip.h.

    Referenced by fcntl(). @@ -384,7 +389,7 @@

    -Definition at line 88 of file kern_descrip.h. +Definition at line 90 of file kern_descrip.h.

    Referenced by fcntl(). @@ -403,7 +408,7 @@

    -Definition at line 78 of file kern_descrip.h. +Definition at line 80 of file kern_descrip.h.

    @@ -420,7 +425,7 @@

    -Definition at line 72 of file kern_descrip.h. +Definition at line 74 of file kern_descrip.h.

    @@ -437,7 +442,7 @@

    -Definition at line 80 of file kern_descrip.h. +Definition at line 82 of file kern_descrip.h.

    @@ -454,7 +459,7 @@

    -Definition at line 79 of file kern_descrip.h. +Definition at line 81 of file kern_descrip.h.

    @@ -471,7 +476,7 @@

    -Definition at line 82 of file kern_descrip.h. +Definition at line 84 of file kern_descrip.h.

    @@ -488,7 +493,7 @@

    -Definition at line 52 of file kern_descrip.h. +Definition at line 54 of file kern_descrip.h.

    Referenced by pipe(). @@ -507,7 +512,7 @@

    -Definition at line 53 of file kern_descrip.h. +Definition at line 55 of file kern_descrip.h.

    Referenced by pipe(). @@ -526,7 +531,7 @@

    -Definition at line 69 of file kern_descrip.h. +Definition at line 71 of file kern_descrip.h.

    Referenced by fcntl(). @@ -545,7 +550,7 @@

    -Definition at line 55 of file kern_descrip.h. +Definition at line 57 of file kern_descrip.h.

    @@ -562,7 +567,7 @@

    -Definition at line 58 of file kern_descrip.h. +Definition at line 60 of file kern_descrip.h.

    @@ -579,7 +584,7 @@

    -Definition at line 62 of file kern_descrip.h. +Definition at line 64 of file kern_descrip.h.

    @@ -596,7 +601,7 @@

    -Definition at line 65 of file kern_descrip.h. +Definition at line 67 of file kern_descrip.h.

    @@ -613,7 +618,7 @@

    -Definition at line 64 of file kern_descrip.h. +Definition at line 66 of file kern_descrip.h.

    @@ -630,7 +635,7 @@

    -Definition at line 57 of file kern_descrip.h. +Definition at line 59 of file kern_descrip.h.

    @@ -647,7 +652,7 @@

    -Definition at line 59 of file kern_descrip.h. +Definition at line 61 of file kern_descrip.h.

    @@ -664,7 +669,7 @@

    -Definition at line 81 of file kern_descrip.h. +Definition at line 83 of file kern_descrip.h.

    @@ -681,7 +686,7 @@

    -Definition at line 61 of file kern_descrip.h. +Definition at line 63 of file kern_descrip.h.

    @@ -698,7 +703,7 @@

    -Definition at line 54 of file kern_descrip.h. +Definition at line 56 of file kern_descrip.h.

    @@ -715,7 +720,7 @@

    -Definition at line 66 of file kern_descrip.h. +Definition at line 68 of file kern_descrip.h.

    @@ -732,7 +737,7 @@

    -Definition at line 68 of file kern_descrip.h. +Definition at line 70 of file kern_descrip.h.

    @@ -749,7 +754,7 @@

    -Definition at line 56 of file kern_descrip.h. +Definition at line 58 of file kern_descrip.h.

    @@ -766,7 +771,7 @@

    -Definition at line 60 of file kern_descrip.h. +Definition at line 62 of file kern_descrip.h.

    @@ -783,7 +788,7 @@

    -Definition at line 63 of file kern_descrip.h. +Definition at line 65 of file kern_descrip.h.

    @@ -800,7 +805,7 @@

    -Definition at line 67 of file kern_descrip.h. +Definition at line 69 of file kern_descrip.h.

    @@ -822,7 +827,7 @@

    -Definition at line 89 of file kern_descrip.h. +Definition at line 91 of file kern_descrip.h.


    Typedef Documentation

    @@ -840,7 +845,7 @@

    -Definition at line 36 of file kern_descrip.h. +Definition at line 38 of file kern_descrip.h.

    @@ -857,7 +862,7 @@

    -Definition at line 37 of file kern_descrip.h. +Definition at line 39 of file kern_descrip.h.


    Function Documentation

    @@ -889,7 +894,7 @@

    -Definition at line 82 of file kern_descrip.c. +Definition at line 90 of file kern_descrip.c.

    @@ -926,11 +931,11 @@

    -Definition at line 63 of file kern_descrip.c. +Definition at line 67 of file kern_descrip.c.

    -References kmalloc(), and thread::o_files. +References kmalloc(), kprintf(), and thread::o_files.

    -Referenced by open(), and pipe(). +Referenced by pipe(), and sys_open().

    @@ -992,7 +997,7 @@

    -Definition at line 96 of file kern_descrip.c. +Definition at line 112 of file kern_descrip.c.

    @@ -1021,9 +1026,55 @@

    +return data table size +

    -Definition at line 90 of file kern_descrip.c. +Definition at line 103 of file kern_descrip.c. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    int getfd (struct thread td,
    struct file **  fp,
    int  fd 
    )
    +
    +
    + +

    +get pointer to file fd in specified thread +

    +

    Returns:
    returns fp
    + +

    +Definition at line 141 of file kern_descrip.c. +

    +References kprintf(), and thread::o_files. +

    +Referenced by read().

    @@ -1052,12 +1103,15 @@

    -HACK +ioctl functionality not implimented yet

    -Definition at line 108 of file kern_descrip.c. +

    Returns:
    NULL for now
    + +

    +Definition at line 131 of file kern_descrip.c.

    -


    Generated on Tue Dec 5 23:35:00 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:11 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kern__sig_8c-source.html b/doc/html/kern__sig_8c-source.html index 2d986fd..5cdfea0 100644 --- a/doc/html/kern__sig_8c-source.html +++ b/doc/html/kern__sig_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:06 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kern__sig_8c.html b/doc/html/kern__sig_8c.html index 0491818..3f7ad1d 100644 --- a/doc/html/kern__sig_8c.html +++ b/doc/html/kern__sig_8c.html @@ -8,7 +8,6 @@ -

    kern_sig.c File Reference

    #include <ubixos/types.h>
    +

    kern_sig.c File Reference

    #include <ubixos/types.h>
    #include <sys/sysproto.h>
    #include <sys/thread.h>
    #include <sys/kern_sig.h>
    @@ -111,7 +110,7 @@ Definition at line 43 of file kern_sig.c.

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kern__sig_8h-source.html b/doc/html/kern__sig_8h-source.html index c7e41e6..052f331 100644 --- a/doc/html/kern__sig_8h-source.html +++ b/doc/html/kern__sig_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kern__sig_8h.html b/doc/html/kern__sig_8h.html index 3a26fb1..f84b945 100644 --- a/doc/html/kern__sig_8h.html +++ b/doc/html/kern__sig_8h.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:00 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:11 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kern__sysctl_8c-source.html b/doc/html/kern__sysctl_8c-source.html index 5f7af0a..f88450e 100644 --- a/doc/html/kern__sysctl_8c-source.html +++ b/doc/html/kern__sysctl_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +00181 return(0x0); +00182 } +00183 +00184 static struct sysctl_entry *sysctl_find(int *name,int namelen) { +00185 int i = 0x0; +00186 struct sysctl_entry *tmpCtl = 0x0; +00187 struct sysctl_entry *lCtl = ctls; +00188 +00189 /* Loop Name Len */ +00190 for (i = 0x0; i < namelen;i++) { +00191 for (tmpCtl = lCtl;tmpCtl != 0x0;tmpCtl = tmpCtl->next) { +00192 //kprintf("ctlName: [%s], ctlId; [%i]\n",tmpCtl->name,tmpCtl->id); +00193 if (tmpCtl->id == name[i]) { +00194 if ((i+1) == namelen) { +00195 return(tmpCtl); +00196 } +00197 lCtl = tmpCtl->children; +00198 break; +00199 } +00200 } +00201 } +00202 return(0x0); +00203 } +00204 +00205 int sysctl_add(int *name,int namelen,char *str_name,void *buf,int buf_size) { +00206 struct sysctl_entry *tmpCtl = 0x0; +00207 struct sysctl_entry *newCtl = 0x0; +00208 +00209 /* Check if it exists */ +00210 tmpCtl = sysctl_find(name,namelen); +00211 if (tmpCtl != 0x0) { +00212 kprintf("Node Exists!\n"); +00213 while (1); +00214 } +00215 +00216 /* Get Parent Node */ +00217 tmpCtl = sysctl_find(name,namelen-1); +00218 if (tmpCtl == 0x0) { +00219 kprintf("Parent Node Non Existant\n"); +00220 return(-1); +00221 } +00222 if (tmpCtl->children == 0x0) { +00223 tmpCtl->children = (struct sysctl_entry *)kmalloc(sizeof(struct sysctl_entry)); +00224 tmpCtl->children->children = 0x0; +00225 tmpCtl->children->prev = 0x0; +00226 tmpCtl->children->next = 0x0; +00227 tmpCtl->children->id = name[namelen-1]; +00228 sprintf(tmpCtl->children->name,str_name); +00229 tmpCtl->children->value = (void *)kmalloc(buf_size); +00230 memcpy(tmpCtl->children->value,buf,buf_size); +00231 tmpCtl->children->val_len = buf_size; +00232 } +00233 else { +00234 newCtl = (struct sysctl_entry *)kmalloc(sizeof(struct sysctl_entry)); +00235 newCtl->prev = 0x0; +00236 newCtl->next = tmpCtl->children; +00237 newCtl->children = 0x0; +00238 newCtl->id = name[namelen-1]; +00239 sprintf(newCtl->name,str_name); +00240 newCtl->value = (void *)kmalloc(buf_size); +00241 memcpy(newCtl->value,buf,buf_size); +00242 newCtl->val_len = buf_size; +00243 tmpCtl->children->prev = newCtl; +00244 tmpCtl->children = newCtl; +00245 } +00246 +00247 return(0x0); +00248 } +00249 +00250 +00251 /*** +00252 END +00253 ***/ +
    Generated on Tue Dec 12 08:52:06 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kern__sysctl_8c.html b/doc/html/kern__sysctl_8c.html index b3c4fe7..a2d6cff 100644 --- a/doc/html/kern__sysctl_8c.html +++ b/doc/html/kern__sysctl_8c.html @@ -8,7 +8,6 @@ -

    kern_sysctl.c File Reference

    #include <ubixos/types.h>
    +

    kern_sysctl.c File Reference

    #include <ubixos/types.h>
    #include <sys/sysproto.h>
    #include <sys/thread.h>
    #include <sys/kern_sysctl.h>
    @@ -90,7 +89,7 @@

    Definition at line 153 of file kern_sysctl.c.

    -References _current, ctls, endTask(), taskStruct::id, K_PANIC, kprintf(), memcpy(), sysctl_args::name, sysctl_args::namelen, sysctl_args::newlen, sysctl_args::old, sysctl_args::oldlenp, sysctl_find(), thread::td_retval, sysctl_entry::val_len, and sysctl_entry::value. +References _current, ctls, endTask(), taskStruct::id, K_PANIC, kprintf(), memcpy(), sysctl_args::name, sysctl_args::namelen, sysctl_args::newlen, sysctl_args::old, sysctl_args::oldlenp, sysctl_find(), thread::td_retval, sysctl_entry::val_len, and sysctl_entry::value.

    @@ -113,7 +112,7 @@

    Definition at line 46 of file kern_sysctl.c.

    -References CTL_MAXNAME, name, and sysctl_add(). +References CTL_MAXNAME, name, and sysctl_add().

    Referenced by sysctl_init(). @@ -164,9 +163,9 @@

    -Definition at line 207 of file kern_sysctl.c. +Definition at line 205 of file kern_sysctl.c.

    -References sysctl_entry::children, sysctl_entry::id, kmalloc(), kprintf(), memcpy(), sysctl_entry::name, sysctl_entry::next, sysctl_entry::prev, sprintf(), sysctl_find(), sysctl_entry::val_len, and sysctl_entry::value. +References sysctl_entry::children, sysctl_entry::id, kmalloc(), kprintf(), memcpy(), sysctl_entry::name, sysctl_entry::next, sysctl_entry::prev, sprintf(), sysctl_find(), sysctl_entry::val_len, and sysctl_entry::value.

    Referenced by def_ctls(). @@ -199,11 +198,11 @@

    -Definition at line 186 of file kern_sysctl.c. +Definition at line 184 of file kern_sysctl.c.

    References sysctl_entry::children, ctls, sysctl_entry::id, and sysctl_entry::next.

    -Referenced by __sysctl(), and sysctl_add(). +Referenced by __sysctl(), and sysctl_add().

    @@ -246,10 +245,10 @@

    Definition at line 41 of file kern_sysctl.c.

    -Referenced by __sysctl(), sysctl_find(), and sysctl_init(). +Referenced by __sysctl(), sysctl_find(), and sysctl_init().

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kern__sysctl_8h-source.html b/doc/html/kern__sysctl_8h-source.html index cfd6828..974055c 100644 --- a/doc/html/kern__sysctl_8h-source.html +++ b/doc/html/kern__sysctl_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kern__sysctl_8h.html b/doc/html/kern__sysctl_8h.html index c553977..f95296f 100644 --- a/doc/html/kern__sysctl_8h.html +++ b/doc/html/kern__sysctl_8h.html @@ -8,7 +8,6 @@
    @@ -490,7 +489,7 @@ @@ -500,7 +499,7 @@

    -


    Generated on Tue Dec 5 23:35:00 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:11 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kmalloc_8c-source.html b/doc/html/kmalloc_8c-source.html index 438c078..5ead84a 100644 --- a/doc/html/kmalloc_8c-source.html +++ b/doc/html/kmalloc_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:07 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kmalloc_8c.html b/doc/html/kmalloc_8c.html index fce9219..e860083 100644 --- a/doc/html/kmalloc_8c.html +++ b/doc/html/kmalloc_8c.html @@ -8,7 +8,6 @@

    @@ -150,7 +149,7 @@ void* kmalloc ( - uInt32  + uInt32  len  )  @@ -166,7 +165,7 @@

    References assert, memDescriptor::baseAddr, freeKernDesc, getEmptyDesc(), insertFreeDesc(), kprintf(), memDescriptor::limit, MALLOC_ALIGN, mallocSpinLock, memDescriptor::next, memDescriptor::prev, spinLock(), spinUnlock(), and usedKernDesc.

    -Referenced by addDirEntry(), biosCall(), devfs_initialize(), devfs_makeNode(), device_add(), execFile(), falloc(), fdc_init(), fopen(), initHardDisk(), initLNC(), kmain(), kmod_add(), kmod_load(), ldEnable(), lncAttach(), low_level_init(), mpi_createMbox(), mpi_postMessage(), mpi_spam(), ne2k_init(), ne2kAllocBuffer(), openFileUbixFS(), operator new(), operator new[](), sched_init(), schedNewTask(), shell_thread(), sys_mbox_new(), sys_sem_new_(), sys_thread_new(), sys_write(), sysctl_add(), sysctl_init(), sysExec(), tty_init(), ubixfs_cacheNew(), ubixfs_initialize(), ubixFSLoadDir(), ubixFSmkDir(), ubixFSUnlink(), ubthread_cond_init(), ubthread_create(), ubthread_mutex_init(), ufs_openFile(), vfs_mount(), vfsRegisterFS(), vitals_init(), and writeUbixFS(). +Referenced by addDirEntry(), biosCall(), devfs_initialize(), devfs_makeNode(), device_add(), execFile(), falloc(), fdc_init(), fopen(), initHardDisk(), initLNC(), kmain(), kmod_add(), kmod_load(), ldEnable(), lncAttach(), low_level_init(), mpi_createMbox(), mpi_postMessage(), mpi_spam(), ne2k_init(), ne2kAllocBuffer(), openFileUbixFS(), operator new(), operator new[](), sched_init(), schedNewTask(), shell_thread(), sys_mbox_new(), sys_sem_new_(), sys_thread_new(), sys_write(), sysctl_add(), sysctl_init(), sysExec(), tty_init(), ubixfs_cacheNew(), ubixfs_initialize(), ubixFSLoadDir(), ubixFSmkDir(), ubixFSUnlink(), ubthread_cond_init(), ubthread_create(), ubthread_mutex_init(), ufs_openFile(), vfs_mount(), vfsRegisterFS(), vitals_init(), and writeUbixFS().

    @@ -288,7 +287,7 @@ Referenced by kfree(), and kmalloc().

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:15 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kmalloc_8h-source.html b/doc/html/kmalloc_8h-source.html index 35655ce..52ae8aa 100644 --- a/doc/html/kmalloc_8h-source.html +++ b/doc/html/kmalloc_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kmalloc_8h.html b/doc/html/kmalloc_8h.html index bdff54d..2604272 100644 --- a/doc/html/kmalloc_8h.html +++ b/doc/html/kmalloc_8h.html @@ -8,7 +8,6 @@ -

    kmalloc.h File Reference

    #include <ubixos/types.h>
    +

    kmalloc.h File Reference

    #include <ubixos/types.h>

    Go to the source code of this file. @@ -48,7 +47,7 @@ - +

    Functions

    void kfree (void *baseAddr)
    void * kmalloc (uInt32 len)
    void * kmalloc (uInt32 len)


    Define Documentation

    @@ -136,7 +135,7 @@

    References assert, memDescriptor::baseAddr, insertFreeDesc(), kprintf(), memDescriptor::limit, mallocSpinLock, memset(), memDescriptor::next, memDescriptor::prev, spinLock(), spinUnlock(), and usedKernDesc.

    -Referenced by close(), device_remove(), execFile(), fclose(), fopen(), kmod_load(), ldEnable(), mpi_destroyMbox(), mpi_fetchMessage(), ne2kFreeBuffer(), operator delete(), operator delete[](), sys_mbox_free(), sys_sem_free_(), sys_write(), sysExec(), systemTask(), ubixfs_cacheDelete(), ubixFSmkDir(), ubthread_cond_destroy(), ubthread_mutex_destroy(), vfs_mount(), and writeUbixFS(). +Referenced by close(), device_remove(), execFile(), fclose(), fopen(), kmod_load(), ldEnable(), mpi_destroyMbox(), mpi_fetchMessage(), ne2kFreeBuffer(), operator delete(), operator delete[](), sys_mbox_free(), sys_sem_free_(), sys_write(), sysExec(), systemTask(), ubixfs_cacheDelete(), ubixFSmkDir(), ubthread_cond_destroy(), ubthread_mutex_destroy(), vfs_mount(), and writeUbixFS().

    @@ -146,7 +145,7 @@ void* kmalloc ( - uInt32  + uInt32  len  )  @@ -162,10 +161,10 @@

    References assert, memDescriptor::baseAddr, freeKernDesc, getEmptyDesc(), insertFreeDesc(), kprintf(), memDescriptor::limit, MALLOC_ALIGN, mallocSpinLock, memDescriptor::next, memDescriptor::prev, spinLock(), spinUnlock(), and usedKernDesc.

    -Referenced by addDirEntry(), biosCall(), devfs_initialize(), devfs_makeNode(), device_add(), execFile(), falloc(), fdc_init(), fopen(), initHardDisk(), initLNC(), kmain(), kmod_add(), kmod_load(), ldEnable(), lncAttach(), low_level_init(), mpi_createMbox(), mpi_postMessage(), mpi_spam(), ne2k_init(), ne2kAllocBuffer(), openFileUbixFS(), operator new(), operator new[](), sched_init(), schedNewTask(), shell_thread(), sys_mbox_new(), sys_sem_new_(), sys_thread_new(), sys_write(), sysctl_add(), sysctl_init(), sysExec(), tty_init(), ubixfs_cacheNew(), ubixfs_initialize(), ubixFSLoadDir(), ubixFSmkDir(), ubixFSUnlink(), ubthread_cond_init(), ubthread_create(), ubthread_mutex_init(), ufs_openFile(), vfs_mount(), vfsRegisterFS(), vitals_init(), and writeUbixFS(). +Referenced by addDirEntry(), biosCall(), devfs_initialize(), devfs_makeNode(), device_add(), execFile(), falloc(), fdc_init(), fopen(), initHardDisk(), initLNC(), kmain(), kmod_add(), kmod_load(), ldEnable(), lncAttach(), low_level_init(), mpi_createMbox(), mpi_postMessage(), mpi_spam(), ne2k_init(), ne2kAllocBuffer(), openFileUbixFS(), operator new(), operator new[](), sched_init(), schedNewTask(), shell_thread(), sys_mbox_new(), sys_sem_new_(), sys_thread_new(), sys_write(), sysctl_add(), sysctl_init(), sysExec(), tty_init(), ubixfs_cacheNew(), ubixfs_initialize(), ubixFSLoadDir(), ubixFSmkDir(), ubixFSUnlink(), ubthread_cond_init(), ubthread_create(), ubthread_mutex_init(), ufs_openFile(), vfs_mount(), vfsRegisterFS(), vitals_init(), and writeUbixFS().

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:09 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kmod_8c-source.html b/doc/html/kmod_8c-source.html index e400ec9..1991d66 100644 --- a/doc/html/kmod_8c-source.html +++ b/doc/html/kmod_8c-source.html @@ -8,7 +8,6 @@
    • Main Page
    • -
    • Namespaces
    • Data Structures
    • Files
    • Directories
    • @@ -59,7 +58,7 @@ 00027 00028 *****************************************************************************************/ 00029 -00030 #include <ubixos/types.h> +00030 #include <ubixos/types.h> 00031 #include <ubixos/kmod.h> 00032 #include <ubixos/sched.h> 00033 #include <ubixos/elf.h> @@ -68,16 +67,16 @@ 00036 #include <ubixos/spinlock.h> 00037 #include <lib/kprintf.h> 00038 #include <lib/kmalloc.h> -00039 #include <vfs/vfs.h> +00039 #include <vfs/vfs.h> 00040 #include <vmm/vmm.h> 00041 #include <string.h> 00042 #include <assert.h> 00043 00044 List_t *List = 0x0; 00045 -00046 uInt32 kmod_add(const char *kmod_file, const char *name) +00046 uInt32 kmod_add(const char *kmod_file, const char *name) 00047 { -00048 uInt32 addr = 0x0; +00048 uInt32 addr = 0x0; 00049 Item_t *tmp; 00050 kmod_t *kmods; 00051 @@ -104,7 +103,7 @@ 00072 return 0x0; 00073 } 00074 -00075 uInt32 kmod_load(const char *kmod_file) { +00075 uInt32 kmod_load(const char *kmod_file) { 00076 int i = 0x0; 00077 int x = 0x0; 00078 int rel = 0x0; @@ -112,8 +111,8 @@ 00080 char *newLoc = 0x0; 00081 char *shStr = 0x0; 00082 char *dynStr = 0x0; -00083 uInt32 *reMap = 0x0; -00084 fileDescriptor *kmod_fd = 0x0; +00083 uInt32 *reMap = 0x0; +00084 fileDescriptor *kmod_fd = 0x0; 00085 elfHeader *binaryHeader = 0x0; 00086 elfProgramHeader *programHeader = 0x0; 00087 elfSectionHeader *sectionHeader = 0x0; @@ -121,14 +120,14 @@ 00089 elfPltInfo *elfRel = 0x0; 00090 00091 /* Open kernel module */ -00092 kmod_fd = fopen(kmod_file,"rb"); +00092 kmod_fd = fopen(kmod_file,"rb"); 00093 if (kmod_fd == 0x0) { 00094 kprintf("Can not open %s\n",kmod_file); 00095 return 0x0; 00096 } 00097 00098 /* load module header */ -00099 fseek(kmod_fd,0x0,0x0); +00099 fseek(kmod_fd,0x0,0x0); 00100 binaryHeader = (elfHeader *)kmalloc(sizeof(elfHeader)); 00101 if(binaryHeader == 0x0) 00102 { @@ -137,21 +136,21 @@ 00105 } 00106 00107 assert(binaryHeader); -00108 fread(binaryHeader,sizeof(elfHeader),1,kmod_fd); +00108 fread(binaryHeader,sizeof(elfHeader),1,kmod_fd); 00109 00110 programHeader = (elfProgramHeader *)kmalloc(sizeof(elfProgramHeader)*binaryHeader->ePhnum); 00111 assert(programHeader); -00112 fseek(kmod_fd,binaryHeader->ePhoff,0); -00113 fread(programHeader,sizeof(elfSectionHeader),binaryHeader->ePhnum,kmod_fd); +00112 fseek(kmod_fd,binaryHeader->ePhoff,0); +00113 fread(programHeader,sizeof(elfSectionHeader),binaryHeader->ePhnum,kmod_fd); 00114 00115 sectionHeader = (elfSectionHeader *)kmalloc(sizeof(elfSectionHeader)*binaryHeader->eShnum); 00116 assert(sectionHeader); -00117 fseek(kmod_fd,binaryHeader->eShoff,0); -00118 fread(sectionHeader,sizeof(elfSectionHeader),binaryHeader->eShnum,kmod_fd); +00117 fseek(kmod_fd,binaryHeader->eShoff,0); +00118 fread(sectionHeader,sizeof(elfSectionHeader),binaryHeader->eShnum,kmod_fd); 00119 00120 shStr = (char *)kmalloc(sectionHeader[binaryHeader->eShstrndx].shSize); -00121 fseek(kmod_fd,sectionHeader[binaryHeader->eShstrndx].shOffset,0); -00122 fread(shStr,sectionHeader[binaryHeader->eShstrndx].shSize,1,kmod_fd); +00121 fseek(kmod_fd,sectionHeader[binaryHeader->eShstrndx].shOffset,0); +00122 fread(shStr,sectionHeader[binaryHeader->eShstrndx].shSize,1,kmod_fd); 00123 00124 for (i=0;i<binaryHeader->ePhnum;i++) { 00125 switch (programHeader[i].phType) { @@ -169,8 +168,8 @@ 00137 memset((void *)((programHeader[i].phVaddr & 0xFFFFF000) + x + LD_START),0x0,0x1000); 00138 } 00139 /* Now Load Section To Memory */ -00140 fseek(kmod_fd,programHeader[i].phOffset,0x0); -00141 fread(newLoc,programHeader[i].phFilesz,1,kmod_fd); +00140 fseek(kmod_fd,programHeader[i].phOffset,0x0); +00141 fread(newLoc,programHeader[i].phFilesz,1,kmod_fd); 00142 break; 00143 case PT_GNU_STACK: 00144 /* Tells us if the stack should be executable. Failsafe to executable @@ -190,27 +189,27 @@ 00158 case 3: 00159 if (!strcmp((shStr + sectionHeader[i].shName),".dynstr")) { 00160 dynStr = (char *)kmalloc(sectionHeader[i].shSize); -00161 fseek(kmod_fd,sectionHeader[i].shOffset,0x0); -00162 fread(dynStr,sectionHeader[i].shSize,1,kmod_fd); +00161 fseek(kmod_fd,sectionHeader[i].shOffset,0x0); +00162 fread(dynStr,sectionHeader[i].shSize,1,kmod_fd); 00163 } 00164 break; 00165 case 9: 00166 elfRel = (elfPltInfo *)kmalloc(sectionHeader[i].shSize); -00167 fseek(kmod_fd,sectionHeader[i].shOffset,0x0); -00168 fread(elfRel,sectionHeader[i].shSize,1,kmod_fd); +00167 fseek(kmod_fd,sectionHeader[i].shOffset,0x0); +00168 fread(elfRel,sectionHeader[i].shSize,1,kmod_fd); 00169 00170 for (x=0x0;x<sectionHeader[i].shSize/sizeof(elfPltInfo);x++) { 00171 rel = ELF32_R_SYM(elfRel[x].pltInfo); -00172 reMap = (uInt32 *)((uInt32)LD_START + elfRel[x].pltOffset); +00172 reMap = (uInt32 *)((uInt32)LD_START + elfRel[x].pltOffset); 00173 switch (ELF32_R_TYPE(elfRel[x].pltInfo)) { 00174 case R_386_32: -00175 *reMap += ((uInt32)LD_START + relSymTab[rel].dynValue); +00175 *reMap += ((uInt32)LD_START + relSymTab[rel].dynValue); 00176 break; 00177 case R_386_PC32: -00178 *reMap += ((uInt32)LD_START + relSymTab[rel].dynValue) - (uInt32)reMap; +00178 *reMap += ((uInt32)LD_START + relSymTab[rel].dynValue) - (uInt32)reMap; 00179 break; 00180 case R_386_RELATIVE: -00181 *reMap += (uInt32)LD_START; +00181 *reMap += (uInt32)LD_START; 00182 break; 00183 default: 00184 kprintf("[0x%X][0x%X](%i)[%s]\n",elfRel[x].pltOffset,elfRel[x].pltInfo,rel,elfGetRelType(ELF32_R_TYPE(elfRel[x].pltInfo))); @@ -222,8 +221,8 @@ 00190 break; 00191 case 11: 00192 relSymTab = (elfDynSym *)kmalloc(sectionHeader[i].shSize); -00193 fseek(kmod_fd,sectionHeader[i].shOffset,0x0); -00194 fread(relSymTab,sectionHeader[i].shSize,1,kmod_fd); +00193 fseek(kmod_fd,sectionHeader[i].shOffset,0x0); +00194 fread(relSymTab,sectionHeader[i].shSize,1,kmod_fd); 00195 sym = i; 00196 break; 00197 } @@ -237,15 +236,15 @@ 00205 kfree(sectionHeader); 00206 kfree(programHeader); 00207 kfree(binaryHeader); -00208 fclose(kmod_fd); +00208 fclose(kmod_fd); 00209 -00210 return((uInt32)i); +00210 return((uInt32)i); 00211 } 00212 00213 /*** 00214 END 00215 ***/ -

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:07 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kmod_8c.html b/doc/html/kmod_8c.html index a8fd9a7..2338c90 100644 --- a/doc/html/kmod_8c.html +++ b/doc/html/kmod_8c.html @@ -8,7 +8,6 @@ -

    kmod.c File Reference

    #include <ubixos/types.h>
    +

    kmod.c File Reference

    #include <ubixos/types.h>
    #include <ubixos/kmod.h>
    #include <ubixos/sched.h>
    #include <ubixos/elf.h>
    @@ -39,7 +38,7 @@ #include <ubixos/spinlock.h>
    #include <lib/kprintf.h>
    #include <lib/kmalloc.h>
    -#include <vfs/vfs.h>
    +#include <vfs/vfs.h>
    #include <vmm/vmm.h>
    #include <string.h>
    #include <assert.h>
    @@ -48,9 +47,9 @@ Go to the source code of this file. - + - + @@ -62,7 +61,7 @@

    Functions

    uInt32 kmod_add (const char *kmod_file, const char *name)
    uInt32 kmod_add (const char *kmod_file, const char *name)
    uInt32 kmod_load (const char *kmod_file)
    uInt32 kmod_load (const char *kmod_file)

    Variables

    List_tList = 0x0
    - + @@ -95,7 +94,7 @@
    uInt32 kmod_add uInt32 kmod_add ( const char *  kmod_file,
    - + @@ -111,7 +110,7 @@

    Definition at line 75 of file kmod.c.

    -References _current, assert, elfHeader::eEntry, ELF32_R_SYM, ELF32_R_TYPE, elfGetRelType(), elfHeader::ePhnum, elfHeader::ePhoff, elfHeader::eShnum, elfHeader::eShoff, elfHeader::eShstrndx, fclose(), fopen(), fread(), fseek(), taskStruct::id, kfree(), kmalloc(), kpanic(), kprintf(), LD_START, memset(), PAGE_DEFAULT, elfProgramHeader::phMemsz, elfProgramHeader::phVaddr, PT_DYNAMIC, PT_GNU_STACK, PT_LOAD, PT_PAX_FLAGS, R_386_32, R_386_PC32, R_386_RELATIVE, elfSectionHeader::shSize, strcmp(), vmm_remapPage(), vmmFindFreePage(), and x1000. +References _current, assert, elfHeader::eEntry, ELF32_R_SYM, ELF32_R_TYPE, elfGetRelType(), elfHeader::ePhnum, elfHeader::ePhoff, elfHeader::eShnum, elfHeader::eShoff, elfHeader::eShstrndx, fclose(), fopen(), fread(), fseek(), taskStruct::id, kfree(), kmalloc(), kpanic(), kprintf(), LD_START, memset(), PAGE_DEFAULT, elfProgramHeader::phMemsz, elfProgramHeader::phVaddr, PT_DYNAMIC, PT_GNU_STACK, PT_LOAD, PT_PAX_FLAGS, R_386_32, R_386_PC32, R_386_RELATIVE, elfSectionHeader::shSize, strcmp(), vmm_remapPage(), vmmFindFreePage(), and x1000.

    Referenced by kmod_add(). @@ -136,7 +135,7 @@ Referenced by kmod_add().

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:15 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kmod_8h-source.html b/doc/html/kmod_8h-source.html index ef85966..a79dfbc 100644 --- a/doc/html/kmod_8h-source.html +++ b/doc/html/kmod_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kmod_8h.html b/doc/html/kmod_8h.html index 1deeafd..2c84da0 100644 --- a/doc/html/kmod_8h.html +++ b/doc/html/kmod_8h.html @@ -8,7 +8,6 @@ -

    kmod.h File Reference

    #include <ubixos/types.h>
    +

    kmod.h File Reference

    #include <ubixos/types.h>

    Go to the source code of this file.

    uInt32 kmod_load uInt32 kmod_load ( const char *  kmod_file
    @@ -45,9 +44,9 @@ - + - +
    typedef kmod_struct kmod_t

    Functions

    uInt32 kmod_add (const char *, const char *name)
    uInt32 kmod_add (const char *, const char *name)
    uInt32 kmod_load (const char *)
    uInt32 kmod_load (const char *)

    Define Documentation

    @@ -92,7 +91,7 @@
    - + @@ -125,7 +124,7 @@
    uInt32 kmod_add uInt32 kmod_add ( const char *  ,
    - + @@ -141,12 +140,12 @@

    Definition at line 75 of file kmod.c.

    -References _current, assert, elfHeader::eEntry, ELF32_R_SYM, ELF32_R_TYPE, elfGetRelType(), elfHeader::ePhnum, elfHeader::ePhoff, elfHeader::eShnum, elfHeader::eShoff, elfHeader::eShstrndx, fclose(), fopen(), fread(), fseek(), taskStruct::id, kfree(), kmalloc(), kpanic(), kprintf(), LD_START, memset(), PAGE_DEFAULT, elfProgramHeader::phMemsz, elfProgramHeader::phVaddr, PT_DYNAMIC, PT_GNU_STACK, PT_LOAD, PT_PAX_FLAGS, R_386_32, R_386_PC32, R_386_RELATIVE, elfSectionHeader::shSize, strcmp(), vmm_remapPage(), vmmFindFreePage(), and x1000. +References _current, assert, elfHeader::eEntry, ELF32_R_SYM, ELF32_R_TYPE, elfGetRelType(), elfHeader::ePhnum, elfHeader::ePhoff, elfHeader::eShnum, elfHeader::eShoff, elfHeader::eShstrndx, fclose(), fopen(), fread(), fseek(), taskStruct::id, kfree(), kmalloc(), kpanic(), kprintf(), LD_START, memset(), PAGE_DEFAULT, elfProgramHeader::phMemsz, elfProgramHeader::phVaddr, PT_DYNAMIC, PT_GNU_STACK, PT_LOAD, PT_PAX_FLAGS, R_386_32, R_386_PC32, R_386_RELATIVE, elfSectionHeader::shSize, strcmp(), vmm_remapPage(), vmmFindFreePage(), and x1000.

    Referenced by kmod_add().

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:12 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kpanic_8c-source.html b/doc/html/kpanic_8c-source.html index 890febb..ff49b75 100644 --- a/doc/html/kpanic_8c-source.html +++ b/doc/html/kpanic_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:06 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kpanic_8c.html b/doc/html/kpanic_8c.html index 77b633b..652a23e 100644 --- a/doc/html/kpanic_8c.html +++ b/doc/html/kpanic_8c.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kpanic_8h-source.html b/doc/html/kpanic_8h-source.html index 6f61733..7cfc96d 100644 --- a/doc/html/kpanic_8h-source.html +++ b/doc/html/kpanic_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kpanic_8h.html b/doc/html/kpanic_8h.html index 4707a13..d4fca92 100644 --- a/doc/html/kpanic_8h.html +++ b/doc/html/kpanic_8h.html @@ -8,7 +8,6 @@


    Function Documentation

    @@ -107,10 +106,10 @@

    References irqDisable(), kprintf(), NULL, tty_foreground, vaEnd, vaStart, and vsprintf().

    -Referenced by __assert(), _int0(), _int1(), _int10(), _int11(), _int12(), _int13(), _int2(), _int3(), _int4(), _int5(), _int6(), _int8(), _int9(), cpuidDetect(), cpuInfo(), dp_recv(), execFile(), execThread(), getEmptyDesc(), insertFreeDesc(), kmain(), kmod_load(), PCtoNIC(), readUbixFS(), sched_init(), schedNewTask(), sys_thread_new(), sysExec(), systemTask(), tcpdump_init(), tty_change(), tty_init(), ubixfs_init(), ubixfs_thread(), ufs_init(), vitals_init(), vmm_pageFault(), vmm_setPageAttributes(), vmmCopyVirtualSpace(), vmmFindFreePage(), vmmGetFreePage(), and vmmGetFreeVirtualPage(). +Referenced by __assert(), _int0(), _int1(), _int10(), _int11(), _int12(), _int13(), _int2(), _int3(), _int4(), _int5(), _int6(), _int8(), _int9(), cpuidDetect(), cpuInfo(), dp_recv(), execFile(), execThread(), getEmptyDesc(), insertFreeDesc(), kmain(), kmod_load(), PCtoNIC(), readUbixFS(), sched_init(), schedNewTask(), sys_thread_new(), sysExec(), systemTask(), tcpdump_init(), tty_change(), tty_init(), ubixfs_init(), ubixfs_thread(), ufs_init(), vitals_init(), vmm_pageFault(), vmm_setPageAttributes(), vmmCopyVirtualSpace(), vmmFindFreePage(), vmmGetFreePage(), and vmmGetFreeVirtualPage().

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:12 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kprint_8h-source.html b/doc/html/kprint_8h-source.html index 6b13ca8..f300550 100644 --- a/doc/html/kprint_8h-source.html +++ b/doc/html/kprint_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kprint_8h.html b/doc/html/kprint_8h.html index 682adef..cb45156 100644 --- a/doc/html/kprint_8h.html +++ b/doc/html/kprint_8h.html @@ -8,7 +8,6 @@ -

    kprint.h File Reference

    #include <ubixos/types.h>
    +

    kprint.h File Reference

    #include <ubixos/types.h>

    Go to the source code of this file.

    uInt32 kmod_load uInt32 kmod_load ( const char * 
    @@ -73,7 +72,7 @@

    Definition at line 38 of file kprintf.c.

    -Referenced by __assert(), __sysctl(), _int13(), addDirEntry(), apicMagic(), arp_arp_input(), atkbd_init(), bot_thread(), devfs_makeNode(), devfs_open(), devfs_read(), device_add(), dp_pkt2user(), dp_recv(), execFile(), fcntl(), fdcRw(), ffs_read(), fopen(), fsread(), hdInit(), hdRead(), hdWrite(), i8259_init(), idt_init(), inet_aton(), initHardDisk(), initLNC(), intNull(), invalidCall(), InvalidSystemCall(), keyboardHandler(), kfree(), kmain(), kmalloc(), kmod_add(), kmod_load(), kpanic(), ldEnable(), lncAttach(), lncInt(), lookup(), low_level_init(), mmap(), mouseHandler(), mouseInit(), munmap(), ne2k_init(), ne2kHandler(), netconn_connect(), netMainThread(), open(), openFileUbixFS(), pci_init(), pciProbe(), pit_init(), readlink(), sched_init(), seek(), shell_main(), shell_thread(), sys_thread_new(), sys_write(), sysAuth(), syscall(), sysctl_add(), sysctl_init(), sysExec(), sysFopen(), sysMkDir(), sysPasswd(), systemTask(), time_init(), tty_init(), ubixfs_initialize(), ubixfs_thread(), ubixFSUnlink(), ubthread_mutex_lock(), udpecho_thread(), ufs_writeFile(), vfs_init(), vfs_mount(), vfsRegisterFS(), vitals_init(), vmm_cleanVirtualSpace(), vmm_pageFault(), vmm_pagingInit(), vmm_remapPage(), vmmGetFreeVirtualPage(), and vmmMemMapInit(). +Referenced by __assert(), __sysctl(), _int13(), addDirEntry(), apicMagic(), arp_arp_input(), atkbd_init(), bot_thread(), close(), devfs_makeNode(), devfs_open(), devfs_read(), device_add(), dp_pkt2user(), dp_recv(), execFile(), falloc(), fcntl(), fdcRw(), ffs_read(), fopen(), fsread(), fstat(), getdtablesize(), getfd(), getgid(), getpid(), gettimeofday_new(), getuid(), hdInit(), hdRead(), hdWrite(), i8259_init(), idt_init(), inet_aton(), initHardDisk(), initLNC(), intNull(), invalidCall(), InvalidSystemCall(), issetugid(), keyboardHandler(), kfree(), kmain(), kmalloc(), kmod_add(), kmod_load(), kpanic(), ldEnable(), lncAttach(), lncInt(), lookup(), low_level_init(), mmap(), mouseHandler(), mouseInit(), munmap(), ne2k_init(), ne2kHandler(), netconn_connect(), netMainThread(), obreak(), openFileUbixFS(), pci_init(), pciProbe(), pit_init(), read(), readlink(), sched_init(), seek(), shell_main(), shell_thread(), sys_thread_new(), sys_write(), sysAuth(), syscall(), sysctl_add(), sysctl_init(), sysExec(), sysFopen(), sysMkDir(), sysPasswd(), systemTask(), time_init(), tty_init(), ubixfs_initialize(), ubixfs_thread(), ubixFSUnlink(), ubthread_mutex_lock(), udpecho_thread(), ufs_writeFile(), vfs_init(), vfs_mount(), vfsRegisterFS(), vitals_init(), vmm_cleanVirtualSpace(), vmm_pageFault(), vmm_pagingInit(), vmm_remapPage(), vmmGetFreeVirtualPage(), and vmmMemMapInit().


    Variable Documentation

    @@ -96,7 +95,7 @@ Referenced by kprintf(), and systemTask().

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:09 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kprintf_8c-source.html b/doc/html/kprintf_8c-source.html index b31dc06..a547f99 100644 --- a/doc/html/kprintf_8c-source.html +++ b/doc/html/kprintf_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:07 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kprintf_8c.html b/doc/html/kprintf_8c.html index fb2ba04..569b272 100644 --- a/doc/html/kprintf_8c.html +++ b/doc/html/kprintf_8c.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:15 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kprintf_8h-source.html b/doc/html/kprintf_8h-source.html index 685f939..efa8472 100644 --- a/doc/html/kprintf_8h-source.html +++ b/doc/html/kprintf_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/kprintf_8h.html b/doc/html/kprintf_8h.html index 53d4f21..2a2db7d 100644 --- a/doc/html/kprintf_8h.html +++ b/doc/html/kprintf_8h.html @@ -8,7 +8,6 @@ -

    kprintf.h File Reference

    #include <ubixos/types.h>
    +

    kprintf.h File Reference

    #include <ubixos/types.h>

    Go to the source code of this file.

    @@ -139,7 +138,7 @@ Definition at line 35 of file kprintf.c.

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:09 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ld_8c-source.html b/doc/html/ld_8c-source.html index db1c672..f2437cc 100644 --- a/doc/html/ld_8c-source.html +++ b/doc/html/ld_8c-source.html @@ -8,7 +8,6 @@
    • Main Page
    • -
    • Namespaces
    • Data Structures
    • Files
    • Directories
    • @@ -59,19 +58,19 @@ 00027 00028 *****************************************************************************************/ 00029 -00030 #include <ubixos/types.h> +00030 #include <ubixos/types.h> 00031 #include <ubixos/ld.h> 00032 #include <ubixos/sched.h> 00033 #include <ubixos/elf.h> 00034 #include <ubixos/kpanic.h> 00035 #include <lib/kprintf.h> 00036 #include <lib/kmalloc.h> -00037 #include <vfs/vfs.h> +00037 #include <vfs/vfs.h> 00038 #include <vmm/vmm.h> 00039 #include <string.h> 00040 #include <assert.h> 00041 -00042 uInt32 ldEnable() { +00042 uInt32 ldEnable() { 00043 int i = 0x0; 00044 int x = 0x0; 00045 int rel = 0x0; @@ -79,8 +78,8 @@ 00047 char *newLoc = 0x0; 00048 char *shStr = 0x0; 00049 char *dynStr = 0x0; -00050 uInt32 *reMap = 0x0; -00051 fileDescriptor *ldFd = 0x0; +00050 uInt32 *reMap = 0x0; +00051 fileDescriptor *ldFd = 0x0; 00052 elfHeader *binaryHeader = 0x0; 00053 elfProgramHeader *programHeader = 0x0; 00054 elfSectionHeader *sectionHeader = 0x0; @@ -88,30 +87,30 @@ 00056 elfPltInfo *elfRel = 0x0; 00057 00058 /* Open our dynamic linker */ -00059 ldFd = fopen("sys:/lib/ld.so","rb"); +00059 ldFd = fopen("sys:/lib/ld.so","rb"); 00060 00061 if (ldFd == 0x0) { 00062 kprintf("Can not open ld.so\n"); 00063 } 00064 -00065 fseek(ldFd,0x0,0x0); +00065 fseek(ldFd,0x0,0x0); 00066 binaryHeader = (elfHeader *)kmalloc(sizeof(elfHeader)); 00067 assert(binaryHeader); -00068 fread(binaryHeader,sizeof(elfHeader),1,ldFd); +00068 fread(binaryHeader,sizeof(elfHeader),1,ldFd); 00069 00070 programHeader = (elfProgramHeader *)kmalloc(sizeof(elfProgramHeader)*binaryHeader->ePhnum); 00071 assert(programHeader); -00072 fseek(ldFd,binaryHeader->ePhoff,0); -00073 fread(programHeader,sizeof(elfSectionHeader),binaryHeader->ePhnum,ldFd); +00072 fseek(ldFd,binaryHeader->ePhoff,0); +00073 fread(programHeader,sizeof(elfSectionHeader),binaryHeader->ePhnum,ldFd); 00074 00075 sectionHeader = (elfSectionHeader *)kmalloc(sizeof(elfSectionHeader)*binaryHeader->eShnum); 00076 assert(sectionHeader); -00077 fseek(ldFd,binaryHeader->eShoff,0); -00078 fread(sectionHeader,sizeof(elfSectionHeader),binaryHeader->eShnum,ldFd); +00077 fseek(ldFd,binaryHeader->eShoff,0); +00078 fread(sectionHeader,sizeof(elfSectionHeader),binaryHeader->eShnum,ldFd); 00079 00080 shStr = (char *)kmalloc(sectionHeader[binaryHeader->eShstrndx].shSize); -00081 fseek(ldFd,sectionHeader[binaryHeader->eShstrndx].shOffset,0); -00082 fread(shStr,sectionHeader[binaryHeader->eShstrndx].shSize,1,ldFd); +00081 fseek(ldFd,sectionHeader[binaryHeader->eShstrndx].shOffset,0); +00082 fread(shStr,sectionHeader[binaryHeader->eShstrndx].shSize,1,ldFd); 00083 00084 for (i = 0x0;i < binaryHeader->ePhnum;i++) { 00085 switch (programHeader[i].phType) { @@ -128,14 +127,14 @@ 00096 memset((void *)((programHeader[i].phVaddr & 0xFFFFF000) + x + LD_START),0x0,0x1000); 00097 } 00098 /* Now Load Section To Memory */ -00099 fseek(ldFd,programHeader[i].phOffset,0x0); -00100 fread(newLoc,programHeader[i].phFilesz,1,ldFd); +00099 fseek(ldFd,programHeader[i].phOffset,0x0); +00100 fread(newLoc,programHeader[i].phFilesz,1,ldFd); 00101 00102 break; 00103 case PT_DYNAMIC: 00104 /* Now Load Section To Memory */ -00105 fseek(ldFd,programHeader[i].phOffset,0x0); -00106 fread(newLoc,programHeader[i].phFilesz,1,ldFd); +00105 fseek(ldFd,programHeader[i].phOffset,0x0); +00106 fread(newLoc,programHeader[i].phFilesz,1,ldFd); 00107 break; 00108 case PT_GNU_STACK: 00109 /* Tells us if the stack should be executable. Failsafe to executable @@ -155,27 +154,27 @@ 00123 case 3: 00124 if (!strcmp((shStr + sectionHeader[i].shName),".dynstr")) { 00125 dynStr = (char *)kmalloc(sectionHeader[i].shSize); -00126 fseek(ldFd,sectionHeader[i].shOffset,0x0); -00127 fread(dynStr,sectionHeader[i].shSize,1,ldFd); +00126 fseek(ldFd,sectionHeader[i].shOffset,0x0); +00127 fread(dynStr,sectionHeader[i].shSize,1,ldFd); 00128 } 00129 break; 00130 case 9: 00131 elfRel = (elfPltInfo *)kmalloc(sectionHeader[i].shSize); -00132 fseek(ldFd,sectionHeader[i].shOffset,0x0); -00133 fread(elfRel,sectionHeader[i].shSize,1,ldFd); +00132 fseek(ldFd,sectionHeader[i].shOffset,0x0); +00133 fread(elfRel,sectionHeader[i].shSize,1,ldFd); 00134 00135 for (x=0x0;x<sectionHeader[i].shSize/sizeof(elfPltInfo);x++) { 00136 rel = ELF32_R_SYM(elfRel[x].pltInfo); -00137 reMap = (uInt32 *)((uInt32)LD_START + elfRel[x].pltOffset); +00137 reMap = (uInt32 *)((uInt32)LD_START + elfRel[x].pltOffset); 00138 switch (ELF32_R_TYPE(elfRel[x].pltInfo)) { 00139 case R_386_32: -00140 *reMap += ((uInt32)LD_START + relSymTab[rel].dynValue); +00140 *reMap += ((uInt32)LD_START + relSymTab[rel].dynValue); 00141 break; 00142 case R_386_PC32: -00143 *reMap += ((uInt32)LD_START + relSymTab[rel].dynValue) - (uInt32)reMap; +00143 *reMap += ((uInt32)LD_START + relSymTab[rel].dynValue) - (uInt32)reMap; 00144 break; 00145 case R_386_RELATIVE: -00146 *reMap += (uInt32)LD_START; +00146 *reMap += (uInt32)LD_START; 00147 break; 00148 default: 00149 kprintf("[0x%X][0x%X](%i)[%s]\n",elfRel[x].pltOffset,elfRel[x].pltInfo,rel,elfGetRelType(ELF32_R_TYPE(elfRel[x].pltInfo))); @@ -187,8 +186,8 @@ 00155 break; 00156 case 11: 00157 relSymTab = (elfDynSym *)kmalloc(sectionHeader[i].shSize); -00158 fseek(ldFd,sectionHeader[i].shOffset,0x0); -00159 fread(relSymTab,sectionHeader[i].shSize,1,ldFd); +00158 fseek(ldFd,sectionHeader[i].shOffset,0x0); +00159 fread(relSymTab,sectionHeader[i].shSize,1,ldFd); 00160 sym = i; 00161 break; 00162 } @@ -202,16 +201,16 @@ 00170 kfree(sectionHeader); 00171 kfree(programHeader); 00172 kfree(binaryHeader); -00173 fclose(ldFd); +00173 fclose(ldFd); 00174 -00175 return((uInt32)i); +00175 return((uInt32)i); 00176 } 00177 00178 /*** 00179 END 00180 ***/ 00181 -

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:06 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ld_8c.html b/doc/html/ld_8c.html index 3f04e58..c5a7111 100644 --- a/doc/html/ld_8c.html +++ b/doc/html/ld_8c.html @@ -8,7 +8,6 @@ -

    ld.c File Reference

    #include <ubixos/types.h>
    +

    ld.c File Reference

    #include <ubixos/types.h>
    #include <ubixos/ld.h>
    #include <ubixos/sched.h>
    #include <ubixos/elf.h>
    #include <ubixos/kpanic.h>
    #include <lib/kprintf.h>
    #include <lib/kmalloc.h>
    -#include <vfs/vfs.h>
    +#include <vfs/vfs.h>
    #include <vmm/vmm.h>
    #include <string.h>
    #include <assert.h>
    @@ -46,7 +45,7 @@ Go to the source code of this file.
    - +

    Functions

    uInt32 ldEnable ()
    uInt32 ldEnable ()

    Function Documentation

    @@ -55,7 +54,7 @@
    - + @@ -70,12 +69,12 @@

    Definition at line 42 of file ld.c.

    -References _current, assert, elfHeader::eEntry, ELF32_R_SYM, ELF32_R_TYPE, elfGetRelType(), elfHeader::ePhnum, elfHeader::ePhoff, elfHeader::eShnum, elfHeader::eShoff, elfHeader::eShstrndx, fclose(), fopen(), fread(), fseek(), taskStruct::id, K_PANIC, kfree(), kmalloc(), kprintf(), LD_START, memset(), PAGE_DEFAULT, elfProgramHeader::phMemsz, elfProgramHeader::phVaddr, PT_DYNAMIC, PT_GNU_STACK, PT_LOAD, PT_PAX_FLAGS, R_386_32, R_386_PC32, R_386_RELATIVE, elfSectionHeader::shSize, strcmp(), vmm_remapPage(), vmmFindFreePage(), and x1000. +References _current, assert, elfHeader::eEntry, ELF32_R_SYM, ELF32_R_TYPE, elfGetRelType(), elfHeader::ePhnum, elfHeader::ePhoff, elfHeader::eShnum, elfHeader::eShoff, elfHeader::eShstrndx, fclose(), fopen(), fread(), fseek(), taskStruct::id, K_PANIC, kfree(), kmalloc(), kprintf(), LD_START, memset(), PAGE_DEFAULT, elfProgramHeader::phMemsz, elfProgramHeader::phVaddr, PT_DYNAMIC, PT_GNU_STACK, PT_LOAD, PT_PAX_FLAGS, R_386_32, R_386_PC32, R_386_RELATIVE, elfSectionHeader::shSize, strcmp(), vmm_remapPage(), vmmFindFreePage(), and x1000.

    Referenced by sysExec().

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ld_8h-source.html b/doc/html/ld_8h-source.html index 6c9c95f..1676f53 100644 --- a/doc/html/ld_8h-source.html +++ b/doc/html/ld_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ld_8h.html b/doc/html/ld_8h.html index 4fe86cf..1905f95 100644 --- a/doc/html/ld_8h.html +++ b/doc/html/ld_8h.html @@ -8,7 +8,6 @@ -

    ld.h File Reference

    #include <ubixos/types.h>
    +

    ld.h File Reference

    #include <ubixos/types.h>

    Go to the source code of this file.

    uInt32 ldEnable uInt32 ldEnable (  ) 
    @@ -39,7 +38,7 @@ - +
    #define LD_START   0x1000000

    Functions

    uInt32 ldEnable ()
    uInt32 ldEnable ()

    Define Documentation

    @@ -66,7 +65,7 @@
    - + @@ -81,12 +80,12 @@

    Definition at line 42 of file ld.c.

    -References _current, assert, elfHeader::eEntry, ELF32_R_SYM, ELF32_R_TYPE, elfGetRelType(), elfHeader::ePhnum, elfHeader::ePhoff, elfHeader::eShnum, elfHeader::eShoff, elfHeader::eShstrndx, fclose(), fopen(), fread(), fseek(), taskStruct::id, K_PANIC, kfree(), kmalloc(), kprintf(), LD_START, memset(), PAGE_DEFAULT, elfProgramHeader::phMemsz, elfProgramHeader::phVaddr, PT_DYNAMIC, PT_GNU_STACK, PT_LOAD, PT_PAX_FLAGS, R_386_32, R_386_PC32, R_386_RELATIVE, elfSectionHeader::shSize, strcmp(), vmm_remapPage(), vmmFindFreePage(), and x1000. +References _current, assert, elfHeader::eEntry, ELF32_R_SYM, ELF32_R_TYPE, elfGetRelType(), elfHeader::ePhnum, elfHeader::ePhoff, elfHeader::eShnum, elfHeader::eShoff, elfHeader::eShstrndx, fclose(), fopen(), fread(), fseek(), taskStruct::id, K_PANIC, kfree(), kmalloc(), kprintf(), LD_START, memset(), PAGE_DEFAULT, elfProgramHeader::phMemsz, elfProgramHeader::phVaddr, PT_DYNAMIC, PT_GNU_STACK, PT_LOAD, PT_PAX_FLAGS, R_386_32, R_386_PC32, R_386_RELATIVE, elfSectionHeader::shSize, strcmp(), vmm_remapPage(), vmmFindFreePage(), and x1000.

    Referenced by sysExec().

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:12 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/lib_2string_8h-source.html b/doc/html/lib_2string_8h-source.html index 8430964..3621d32 100644 --- a/doc/html/lib_2string_8h-source.html +++ b/doc/html/lib_2string_8h-source.html @@ -8,7 +8,6 @@
    • Main Page
    • -
    • Namespaces
    • Data Structures
    • Files
    • Directories
    • @@ -62,20 +61,20 @@ 00030 #ifndef _STRING_H 00031 #define _STRING_H 00032 -00033 #include <ubixos/types.h> +00033 #include <ubixos/types.h> 00034 00035 #ifdef __cplusplus 00036 extern "C" { 00037 #endif 00038 -00039 char * strcpy(char *, const char *); +00039 char * strcpy(char *, const char *); 00040 int strcmp(const char *str1,const char *str2); -00041 int strncmp(const char * a, const char * b, size_t c); -00042 void *memcpy(const void *dst, const void * src, size_t length); -00043 void *memset(void * dst, int c, size_t length); -00044 int strlen(const char * string); -00045 int memcmp(const void * dst, const void * src, size_t length); -00046 void strncpy(char * dest, const char * src, size_t size); +00041 int strncmp(const char * a, const char * b, size_t c); +00042 void *memcpy(const void *dst, const void * src, size_t length); +00043 void *memset(void * dst, int c, size_t length); +00044 int strlen(const char * string); +00045 int memcmp(const void * dst, const void * src, size_t length); +00046 void strncpy(char * dest, const char * src, size_t size); 00047 char *strtok(char *str, const char *sep); 00048 char *strtok_r(char *str, const char *sep, char **last); 00049 char *strstr(const char *s,char *find); @@ -116,7 +115,7 @@ 00084 00085 END 00086 ***/ -

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/lib_2string_8h.html b/doc/html/lib_2string_8h.html index 2223555..2150bf9 100644 --- a/doc/html/lib_2string_8h.html +++ b/doc/html/lib_2string_8h.html @@ -8,7 +8,6 @@ -

    string.h File Reference

    #include <ubixos/types.h>
    +

    string.h File Reference

    #include <ubixos/types.h>

    Go to the source code of this file.

    uInt32 ldEnable uInt32 ldEnable (  ) 
    - + - + - + @@ -50,9 +49,9 @@ - + - + @@ -81,7 +80,7 @@ - + @@ -96,7 +95,7 @@

    -Definition at line 102 of file string.c. +Definition at line 80 of file string.c.

    @@ -118,7 +117,7 @@

    - + @@ -133,7 +132,7 @@

    -Referenced by __sysctl(), addDirEntry(), apicMagic(), bcopy(), fork_copyProcess(), fsread(), initHardDisk(), lookup(), mpi_fetchMessage(), mpi_postMessage(), mpi_spam(), ramDrive_read(), ramDrive_write(), bTree::saveNode(), bTree::splitNode(), sys_write(), syscall(), sysctl_add(), tty_change(), and vfsRegisterFS(). +Referenced by __sysctl(), addDirEntry(), apicMagic(), bcopy(), fork_copyProcess(), fsread(), initHardDisk(), lookup(), mpi_fetchMessage(), mpi_postMessage(), mpi_spam(), sys_write(), syscall(), sysctl_add(), tty_change(), and vfsRegisterFS().

    @@ -155,7 +154,7 @@

    - + @@ -172,7 +171,7 @@

    Definition at line 37 of file memset.c.

    -Referenced by bTree::allocEmptyNode(), bTree::bTree(), bzero(), execFile(), getEmptyDesc(), idt_init(), bTree::Insert(), bTree::insertNode(), kfree(), kmod_load(), ldEnable(), main(), UbixFS::mknod(), bTree::Save(), schedNewTask(), bTree::splitNode(), sysExec(), UbixFS::vfs_format(), UbixFS::vfs_init(), UbixFS::vfs_mkdir(), vitals_init(), vmm_pagingInit(), and vmmCopyVirtualSpace(). +Referenced by bzero(), execFile(), getEmptyDesc(), idt_init(), kfree(), kmod_load(), ldEnable(), schedNewTask(), sysExec(), vitals_init(), vmm_pagingInit(), and vmmCopyVirtualSpace().

    @@ -211,7 +210,7 @@

    Definition at line 51 of file kprintf.c.

    -Referenced by devfs_makeNode(), fopen(), initHardDisk(), mpi_createMbox(), sysChDir(), sysctl_add(), sysctl_init(), sysGetCwd(), sysMkDir(), ubixFSLoadDir(), ubixFSmkDir(), and vfs_mount(). +Referenced by devfs_makeNode(), fopen(), initHardDisk(), mpi_createMbox(), sysChDir(), sysctl_add(), sysctl_init(), sysGetCwd(), sysMkDir(), ubixFSLoadDir(), ubixFSmkDir(), and vfs_mount().

    @@ -242,9 +241,9 @@

    -Definition at line 42 of file string.c. +Definition at line 32 of file string.c.

    -Referenced by devfs_open(), bTree::findLeafNode(), fsfind(), bTree::inodeSearch(), bTree::Insert(), bTree::insertNode(), kmod_load(), ldEnable(), mpi_destroyMbox(), mpi_findMbox(), shell_main(), systemTask(), bTree::treeSearch(), ubixfs_cacheFind(), ubixfs_findName(), ubixFSLoadDir(), ubixFSUnlink(), bTree::Verify(), vfs_findMount(), UbixFS::vfs_init(), and writeUbixFS(). +Referenced by devfs_open(), fsfind(), kmod_load(), ldEnable(), mpi_destroyMbox(), mpi_findMbox(), shell_main(), systemTask(), ubixfs_cacheFind(), ubixfs_findName(), ubixFSLoadDir(), ubixFSUnlink(), vfs_findMount(), and writeUbixFS().

    @@ -274,10 +273,6 @@

    -

    -Definition at line 33 of file string.c. -

    -Referenced by main(), ubixfs_cacheNew(), and UbixFS::vfs_format().

    @@ -298,10 +293,6 @@

    -

    -Definition at line 91 of file string.c. -

    -Referenced by devfs_makeNode(), sendstr(), strstr(), ubixfs_cacheNew(), UbixFS::vfs_mkdir(), and vsprintf().

    @@ -323,7 +314,7 @@

    - + @@ -338,9 +329,9 @@

    -Definition at line 58 of file string.c. +Definition at line 48 of file string.c.

    -Referenced by strstr(). +Referenced by strstr().

    @@ -362,7 +353,7 @@

    - + @@ -377,9 +368,7 @@

    -Definition at line 127 of file string.c. -

    -Referenced by bTree::bTree(), bTree::Insert(), bTree::insertNode(), UbixFS::mknod(), bTree::splitNode(), and UbixFS::vfs_mkdir(). +Definition at line 105 of file string.c.

    @@ -410,11 +399,11 @@

    -Definition at line 140 of file string.c. +Definition at line 118 of file string.c.

    -References NULL, strlen(), and strncmp(). +References NULL, strlen, and strncmp().

    -Referenced by fopen(), sysChDir(), and sysMkDir(). +Referenced by fopen(), sysChDir(), and sysMkDir().

    @@ -449,7 +438,7 @@

    References strtok_r().

    -Referenced by fopen(), sysMkDir(), and unlink(). +Referenced by fopen(), sysMkDir(), and unlink().

    @@ -493,7 +482,7 @@ Referenced by strtok().

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:09 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/lib_8h-source.html b/doc/html/lib_8h-source.html index 29f8238..cf4d81b 100644 --- a/doc/html/lib_8h-source.html +++ b/doc/html/lib_8h-source.html @@ -8,7 +8,6 @@
    • Main Page
    • -
    • Namespaces
    • Data Structures
    • Files
    • Directories
    • @@ -69,7 +68,7 @@ 00037 00038 #ifndef _STRING_H_ 00039 #ifndef _STRING_H -00040 int strlen(const char *str); +00040 int strlen(const char *str); 00041 int strncmp(const char *str1, const char *str2, int len); 00042 void bcopy(const void *src, void *dest, int len); 00043 void bzero(void *data, int n); @@ -77,7 +76,7 @@ 00045 #endif /* _STRING_H_ */ 00046 00047 #endif /* __ARCH_LIB_H__ */ -

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/lib_8h.html b/doc/html/lib_8h.html index fbad7b4..9795bf6 100644 --- a/doc/html/lib_8h.html +++ b/doc/html/lib_8h.html @@ -8,7 +8,6 @@

    @@ -175,10 +172,10 @@

    -Definition at line 58 of file string.c. +Definition at line 48 of file string.c.

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:10 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/libcpp_8cc-source.html b/doc/html/libcpp_8cc-source.html index 02adb76..b30c432 100644 --- a/doc/html/libcpp_8cc-source.html +++ b/doc/html/libcpp_8cc-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:07 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/libcpp_8cc.html b/doc/html/libcpp_8cc.html index bcdd610..308562b 100644 --- a/doc/html/libcpp_8cc.html +++ b/doc/html/libcpp_8cc.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:15 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/libcpp_8h-source.html b/doc/html/libcpp_8h-source.html index 8e150d1..bfefb7c 100644 --- a/doc/html/libcpp_8h-source.html +++ b/doc/html/libcpp_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/libcpp_8h.html b/doc/html/libcpp_8h.html index e046479..66c9d75 100644 --- a/doc/html/libcpp_8h.html +++ b/doc/html/libcpp_8h.html @@ -8,7 +8,6 @@ -

    libcpp.h File Reference

    #include <ubixos/types.h>
    +

    libcpp.h File Reference

    #include <ubixos/types.h>

    Go to the source code of this file.


    Functions

    int memcmp (const void *dst, const void *src, size_t length)
    int memcmp (const void *dst, const void *src, size_t length)
    void * memcpy (const void *dst, const void *src, size_t length)
    void * memcpy (const void *dst, const void *src, size_t length)
    void * memset (void *dst, int c, size_t length)
    void * memset (void *dst, int c, size_t length)
    int sprintf (char *buf, const char *fmt,...)
    int strlen (const char *string)
    int strncmp (const char *a, const char *b, size_t c)
    int strncmp (const char *a, const char *b, size_t c)
    void strncpy (char *dest, const char *src, size_t size)
    void strncpy (char *dest, const char *src, size_t size)
    char * strstr (const char *s, char *find)
    size_t size_t  length 
    size_t size_t  length 
    size_t size_t  length 
    size_t size_t  c 
    size_t size_t  size 
    @@ -142,7 +141,7 @@ References kmalloc().

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:09 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/list_8h-source.html b/doc/html/list_8h-source.html index 39933f0..e03cbcc 100644 --- a/doc/html/list_8h-source.html +++ b/doc/html/list_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/list_8h.html b/doc/html/list_8h.html index 5833450..5313e68 100644 --- a/doc/html/list_8h.html +++ b/doc/html/list_8h.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:10 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/lists_8h-source.html b/doc/html/lists_8h-source.html index eded01c..1d3a18f 100644 --- a/doc/html/lists_8h-source.html +++ b/doc/html/lists_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/lists_8h.html b/doc/html/lists_8h.html index 492898b..3513bbd 100644 --- a/doc/html/lists_8h.html +++ b/doc/html/lists_8h.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:12 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/lnc_8c-source.html b/doc/html/lnc_8c-source.html index 1cc5270..e620d4f 100644 --- a/doc/html/lnc_8c-source.html +++ b/doc/html/lnc_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:08 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/lnc_8c.html b/doc/html/lnc_8c.html index 4f2482e..03e1ce0 100644 --- a/doc/html/lnc_8c.html +++ b/doc/html/lnc_8c.html @@ -8,7 +8,6 @@

    lnc.c File Reference

    #include <pci/lnc.h>
    #include <sys/io.h>
    -#include <ubixos/types.h>
    +#include <ubixos/types.h>
    #include <sys/idt.h>
    #include <sys/gdt.h>
    #include <lib/kmalloc.h>
    @@ -56,13 +55,13 @@
    - + - + - + - + @@ -231,7 +230,7 @@
    int probe (struct lncInfo *lnc)
    uInt16 readBcr (struct lncInfo *sc, uInt16 port)
    uInt16 readBcr (struct lncInfo *sc, uInt16 port)
    uInt16 readCsr (struct lncInfo *lnc, uInt16 port)
    uInt16 readCsr (struct lncInfo *lnc, uInt16 port)
    void writeBcr (struct lncInfo *lnc, uInt16 port, uInt16 val)
    void writeBcr (struct lncInfo *lnc, uInt16 port, uInt16 val)
    void writeCsr (struct lncInfo *lnc, uInt16 port, uInt16 val)
    void writeCsr (struct lncInfo *lnc, uInt16 port, uInt16 val)

    Variables

    static char const *const icIdent []
    - + @@ -239,7 +238,7 @@ - + @@ -264,7 +263,7 @@
    uInt16 readBcr uInt16 readBcr ( struct lncInfo sc,
    uInt16 uInt16  port 
    - + @@ -272,7 +271,7 @@ - + @@ -307,13 +306,13 @@ - + - + @@ -346,13 +345,13 @@ - + - + @@ -453,7 +452,7 @@ Referenced by lncAttach().

    -


    Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:16 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/lnc_8h-source.html b/doc/html/lnc_8h-source.html index 5e598a3..accde48 100644 --- a/doc/html/lnc_8h-source.html +++ b/doc/html/lnc_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/lnc_8h.html b/doc/html/lnc_8h.html index 93a4938..dceebb2 100644 --- a/doc/html/lnc_8h.html +++ b/doc/html/lnc_8h.html @@ -8,7 +8,6 @@ -

    lnc.h File Reference

    #include <ubixos/types.h>
    +

    lnc.h File Reference

    #include <ubixos/types.h>

    Go to the source code of this file.

    uInt16 readCsr uInt16 readCsr ( struct lncInfo lnc,
    uInt16 uInt16  port 
    uInt16 uInt16  port,
    uInt16 uInt16  val 
    uInt16 uInt16  port,
    uInt16 uInt16  val 
    @@ -190,13 +189,13 @@ - + - + - + - + @@ -1558,7 +1557,7 @@
    int probe (struct lncInfo *lnc)
    uInt16 readBcr (struct lncInfo *lnc, uInt16 port)
    uInt16 readBcr (struct lncInfo *lnc, uInt16 port)
    uInt16 readCsr (struct lncInfo *lnc, uInt16 port)
    uInt16 readCsr (struct lncInfo *lnc, uInt16 port)
    void writeBcr (struct lncInfo *lnc, uInt16 port, uInt16 val)
    void writeBcr (struct lncInfo *lnc, uInt16 port, uInt16 val)
    void writeCsr (struct lncInfo *lnc, uInt16 port, uInt16 val)
    void writeCsr (struct lncInfo *lnc, uInt16 port, uInt16 val)

    Variables

    lncInfolnc
    - + @@ -1566,7 +1565,7 @@ - + @@ -1591,7 +1590,7 @@
    uInt16 readBcr uInt16 readBcr ( struct lncInfo lnc,
    uInt16 uInt16  port 
    - + @@ -1599,7 +1598,7 @@ - + @@ -1634,13 +1633,13 @@ - + - + @@ -1673,13 +1672,13 @@ - + - + @@ -1721,7 +1720,7 @@ Referenced by initLNC(), lanceProbe(), lncAttach(), lncInt(), probe(), readCsr(), writeBcr(), and writeCsr().

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:11 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/loopif_8c-source.html b/doc/html/loopif_8c-source.html index 2e81ac3..6e000ea 100644 --- a/doc/html/loopif_8c-source.html +++ b/doc/html/loopif_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:07 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/loopif_8c.html b/doc/html/loopif_8c.html index 5dd9d5a..4626ee0 100644 --- a/doc/html/loopif_8c.html +++ b/doc/html/loopif_8c.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:16 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/loopif_8h-source.html b/doc/html/loopif_8h-source.html index ca6f5ae..fe21911 100644 --- a/doc/html/loopif_8h-source.html +++ b/doc/html/loopif_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/loopif_8h.html b/doc/html/loopif_8h.html index 0859231..5b0c6db 100644 --- a/doc/html/loopif_8h.html +++ b/doc/html/loopif_8h.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:11 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/lwipopts_8h-source.html b/doc/html/lwipopts_8h-source.html index 7080b03..26969fe 100644 --- a/doc/html/lwipopts_8h-source.html +++ b/doc/html/lwipopts_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/lwipopts_8h.html b/doc/html/lwipopts_8h.html index dc699b0..05a3928 100644 --- a/doc/html/lwipopts_8h.html +++ b/doc/html/lwipopts_8h.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:10 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/main.html b/doc/html/main.html index 22d27cd..e43961e 100644 --- a/doc/html/main.html +++ b/doc/html/main.html @@ -8,7 +8,6 @@

    UbixOS V2 Documentation

    -

    2.0


    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +

    2.0


    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/main_8c-source.html b/doc/html/main_8c-source.html index b897e86..dbfbf5e 100644 --- a/doc/html/main_8c-source.html +++ b/doc/html/main_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/main_8c.html b/doc/html/main_8c.html index dde3f9d..ae09ac1 100644 --- a/doc/html/main_8c.html +++ b/doc/html/main_8c.html @@ -8,7 +8,6 @@
    - + @@ -454,7 +453,7 @@ - + @@ -527,7 +526,7 @@

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/math_8h-source.html b/doc/html/math_8h-source.html index 6bf8e30..94dd231 100644 --- a/doc/html/math_8h-source.html +++ b/doc/html/math_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/math_8h.html b/doc/html/math_8h.html index 250bdfa..792c050 100644 --- a/doc/html/math_8h.html +++ b/doc/html/math_8h.html @@ -8,7 +8,6 @@ -

    math.h File Reference

    #include <ubixos/types.h>
    +

    math.h File Reference

    #include <ubixos/types.h>

    Go to the source code of this file.

    uInt16 readCsr uInt16 readCsr ( struct lncInfo lnc,
    uInt16 uInt16  port 
    uInt16 uInt16  port,
    uInt16 uInt16  val 
    uInt16 uInt16  port,
    uInt16 uInt16  val 
    #define B_UNITSHIFT   16

    Functions

    int kmain (uInt32 rootdev)
    int kmain (uInt32 rootdev)
     This is the entry point into the os where all of the kernels sub systems are started up.
     ubixDescriptorTable (ubixGDT, 9)
    int kmain (uInt32 uInt32  rootdev  ) 
    @@ -39,7 +38,7 @@ - + @@ -72,15 +71,15 @@
    typedef unsigned long long int u_quad_t

    Functions

    quad_t __divdi3 (quad_t a, quad_t b)
    quad_t __divdi3 (quad_t a, quad_t b)
    u_quad_t __udivdi3 (u_quad_t a, u_quad_t b)
    - + - + - + @@ -173,7 +172,7 @@ Definition at line 30 of file sqrt.c.

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:09 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/mem_8h-source.html b/doc/html/mem_8h-source.html index b1bc80f..64e8de2 100644 --- a/doc/html/mem_8h-source.html +++ b/doc/html/mem_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/mem_8h.html b/doc/html/mem_8h.html index 5949307..2eb827f 100644 --- a/doc/html/mem_8h.html +++ b/doc/html/mem_8h.html @@ -8,7 +8,6 @@ -

    mem.h File Reference

    #include <ubixos/types.h>
    +

    mem.h File Reference

    #include <ubixos/types.h>
    #include "net/debug.h"
    #include "net/opt.h"
    #include "net/arch.h"
    @@ -39,14 +38,14 @@ Go to the source code of this file.
    quad_t __divdi3 quad_t __divdi3 (quad_t quad_t  a,
    quad_t quad_t  b 
    - + - + @@ -73,7 +72,7 @@ - +

    Defines

    #define MEM_ALIGN(addr)   (void *)MEM_ALIGN_SIZE((uInt32)addr)
    #define MEM_ALIGN(addr)   (void *)MEM_ALIGN_SIZE((uInt32)addr)
    #define MEM_ALIGN_SIZE(size)
    #define mem_register_reclaim(f, arg)

    Typedefs

    typedef uInt16 mem_size_t
    typedef uInt16 mem_size_t

    Functions

    void mem_free (void *mem)
    addr   )    (void *)MEM_ALIGN_SIZE((uInt32)addr)   (void *)MEM_ALIGN_SIZE((uInt32)addr)
    @@ -141,7 +140,7 @@
    - +
    typedef uInt16 mem_size_t typedef uInt16 mem_size_t
    @@ -296,7 +295,7 @@

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:10 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/memcpy_8c-source.html b/doc/html/memcpy_8c-source.html index a955dce..4650c2b 100644 --- a/doc/html/memcpy_8c-source.html +++ b/doc/html/memcpy_8c-source.html @@ -8,7 +8,6 @@

    memcpy.c

    Go to the documentation of this file.
    00001 #define MEMCOPY
     00002 #include "bcopy.c"
    -

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:07 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/memcpy_8c.html b/doc/html/memcpy_8c.html index 0536e21..463bc11 100644 --- a/doc/html/memcpy_8c.html +++ b/doc/html/memcpy_8c.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:15 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/memp_8h-source.html b/doc/html/memp_8h-source.html index c5d6308..f74d983 100644 --- a/doc/html/memp_8h-source.html +++ b/doc/html/memp_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/memp_8h.html b/doc/html/memp_8h.html index 92368bd..07feb5b 100644 --- a/doc/html/memp_8h.html +++ b/doc/html/memp_8h.html @@ -8,7 +8,6 @@ -

    memp.h File Reference

    #include <ubixos/types.h>
    +

    memp.h File Reference

    #include <ubixos/types.h>
    #include "net/debug.h"
    #include "net/arch/cc.h"
    #include "net/lwipopts.h"
    @@ -330,7 +329,7 @@

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:10 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/memset_8c-source.html b/doc/html/memset_8c-source.html index 948cf88..14ebea4 100644 --- a/doc/html/memset_8c-source.html +++ b/doc/html/memset_8c-source.html @@ -8,7 +8,6 @@
    • Main Page
    • -
    • Namespaces
    • Data Structures
    • Files
    • Directories
    • @@ -66,10 +65,10 @@ 00034 #define VAL c0 00035 #define WIDEVAL c 00036 -00037 void *memset(void *dst0, int c0, size_t length) { -00038 size_t t; -00039 uInt c; -00040 uInt8 *dst; +00037 void *memset(void *dst0, int c0, size_t length) { +00038 size_t t; +00039 uInt c; +00040 uInt8 *dst; 00041 00042 dst = dst0; 00043 @@ -81,7 +80,7 @@ 00049 return(dst0); 00050 } 00051 -00052 if ((c = (uInt8)c0) != 0) { /* Fill the word. */ +00052 if ((c = (uInt8)c0) != 0) { /* Fill the word. */ 00053 c = (c << 8) | c; /* u_int is 16 bits. */ 00054 c = (c << 16) | c; /* u_int is 32 bits. */ 00055 } @@ -98,7 +97,7 @@ 00066 /* Fill words. Length was >= 2*words so we know t >= 1 here. */ 00067 t = length / wsize; 00068 do { -00069 *(u_int *)dst = WIDEVAL; +00069 *(u_int *)dst = WIDEVAL; 00070 dst += wsize; 00071 } while (--t != 0); 00072 @@ -129,7 +128,7 @@ 00097 END 00098 ***/ 00099 -

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:07 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/memset_8c.html b/doc/html/memset_8c.html index f67c954..d2e5545 100644 --- a/doc/html/memset_8c.html +++ b/doc/html/memset_8c.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:15 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/message_8c-source.html b/doc/html/message_8c-source.html index 3a9ce87..3559ae3 100644 --- a/doc/html/message_8c-source.html +++ b/doc/html/message_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:07 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/message_8c.html b/doc/html/message_8c.html index c1bf3ef..c9ce2e7 100644 --- a/doc/html/message_8c.html +++ b/doc/html/message_8c.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:15 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/mount_8c-source.html b/doc/html/mount_8c-source.html index 27276f8..19b08e3 100644 --- a/doc/html/mount_8c-source.html +++ b/doc/html/mount_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:08 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/mount_8c.html b/doc/html/mount_8c.html index 7cea8af..e4d7cf2 100644 --- a/doc/html/mount_8c.html +++ b/doc/html/mount_8c.html @@ -8,7 +8,6 @@
    @@ -217,7 +216,7 @@ - uInt32  + uInt32  , @@ -252,7 +251,7 @@ int mpi_spam ( - uInt32  + uInt32  , @@ -280,7 +279,7 @@ Referenced by sysMpiSpam().

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:09 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ne2k_8c-source.html b/doc/html/ne2k_8c-source.html index 2c5e9f6..c7cb2bc 100644 --- a/doc/html/ne2k_8c-source.html +++ b/doc/html/ne2k_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:06 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ne2k_8c.html b/doc/html/ne2k_8c.html index d7c8eca..e29114d 100644 --- a/doc/html/ne2k_8c.html +++ b/doc/html/ne2k_8c.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ne2k_8h-source.html b/doc/html/ne2k_8h-source.html index f5f38da..97af484 100644 --- a/doc/html/ne2k_8h-source.html +++ b/doc/html/ne2k_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ne2k_8h.html b/doc/html/ne2k_8h.html index 0129bd9..bea3b08 100644 --- a/doc/html/ne2k_8h.html +++ b/doc/html/ne2k_8h.html @@ -8,7 +8,6 @@ -

    ne2k.h File Reference

    #include <ubixos/types.h>
    +

    ne2k.h File Reference

    #include <ubixos/types.h>
    #include <sys/device.old.h>

    @@ -229,7 +228,7 @@

    Variables

    char * nicPacket -uInt32 packetLength +uInt32 packetLength

    Define Documentation

    @@ -1985,7 +1984,7 @@ @@ -1995,7 +1994,7 @@

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:09 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/net_2arch_2init_8h-source.html b/doc/html/net_2arch_2init_8h-source.html index 11ce2c8..5be87e4 100644 --- a/doc/html/net_2arch_2init_8h-source.html +++ b/doc/html/net_2arch_2init_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/net_2arch_2init_8h.html b/doc/html/net_2arch_2init_8h.html index 24bc745..4322b48 100644 --- a/doc/html/net_2arch_2init_8h.html +++ b/doc/html/net_2arch_2init_8h.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:10 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/net_8c-source.html b/doc/html/net_8c-source.html index df7b93a..59588a7 100644 --- a/doc/html/net_8c-source.html +++ b/doc/html/net_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:07 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/net_8c.html b/doc/html/net_8c.html index 7335fb0..5cd1095 100644 --- a/doc/html/net_8c.html +++ b/doc/html/net_8c.html @@ -8,7 +8,6 @@ -

    net.c File Reference

    #include <ubixos/types.h>
    +

    net.c File Reference

    #include <ubixos/types.h>
    #include <net/sockets.h>
    #include <string.h>
    #include "lib/kprintf.h"
    @@ -39,16 +38,16 @@ Go to the source code of this file. - + - + - + @@ -59,7 +58,7 @@

    Typedefs

    typedef uInt32 in_addr_t
    typedef uInt32 in_addr_t

    Functions

    void bcopy (const void *src, void *dest, int len)
    void bzero (void *data, int n)
    uInt32 htonl (uInt32 n)
    uInt32 htonl (uInt32 n)
    uInt32 htons (uInt32 n)
    uInt32 htons (uInt32 n)
    int inet_aton (char *cp, struct in_addr *addr) const
    - +
    typedef uInt32 in_addr_t typedef uInt32 in_addr_t
    @@ -151,9 +150,9 @@
    - + - + @@ -173,9 +172,9 @@
    uInt32 htonl uInt32 htonl (uInt32 uInt32  n  ) 
    - + - + @@ -223,7 +222,7 @@ References htonl, kprintf(), NULL, in_addr::s_addr, and strtol().

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:15 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/net_8h-source.html b/doc/html/net_8h-source.html index 78a75ce..4988a97 100644 --- a/doc/html/net_8h-source.html +++ b/doc/html/net_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/net_8h.html b/doc/html/net_8h.html index 6ed08fb..40a6fb8 100644 --- a/doc/html/net_8h.html +++ b/doc/html/net_8h.html @@ -8,7 +8,6 @@ -

    net.h File Reference

    #include <ubixos/types.h>
    +

    net.h File Reference

    #include <ubixos/types.h>

    Go to the source code of this file.

    uInt32 htons uInt32 htons (uInt32 uInt32  n  ) 
    @@ -63,7 +62,7 @@ References mem_init(), memp_init(), netMainThread(), pbuf_init(), sys_init(), and sys_thread_new().

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:10 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/netif_8h-source.html b/doc/html/netif_8h-source.html index 942f3d2..b90d25a 100644 --- a/doc/html/netif_8h-source.html +++ b/doc/html/netif_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/netif_8h.html b/doc/html/netif_8h.html index f1b9997..423e1d8 100644 --- a/doc/html/netif_8h.html +++ b/doc/html/netif_8h.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:10 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/null_8c-source.html b/doc/html/null_8c-source.html index a72c030..0180572 100644 --- a/doc/html/null_8c-source.html +++ b/doc/html/null_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/null_8c.html b/doc/html/null_8c.html index f455ede..5dc7599 100644 --- a/doc/html/null_8c.html +++ b/doc/html/null_8c.html @@ -8,7 +8,6 @@
    -
    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:09 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ogDisplay__UbixOS_8h-source.html b/doc/html/ogDisplay__UbixOS_8h-source.html index 12111e3..e63c3ef 100644 --- a/doc/html/ogDisplay__UbixOS_8h-source.html +++ b/doc/html/ogDisplay__UbixOS_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +

    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ogDisplay__UbixOS_8h.html b/doc/html/ogDisplay__UbixOS_8h.html index 60b2d2f..6bc7f8e 100644 --- a/doc/html/ogDisplay__UbixOS_8h.html +++ b/doc/html/ogDisplay__UbixOS_8h.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ogDisplay__VESA_8h.html b/doc/html/ogDisplay__VESA_8h.html index d492ad1..04d5ee9 100644 --- a/doc/html/ogDisplay__VESA_8h.html +++ b/doc/html/ogDisplay__VESA_8h.html @@ -8,7 +8,6 @@
    • Main Page
    • -
    • Namespaces
    • Data Structures
    • Files
    • Directories
    • @@ -43,7 +42,7 @@ struct  TVESA_Rec -
      Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
      Generated on Tue Dec 12 08:52:11 2006 for UbixOS V2 by  doxygen 1.4.7
      diff --git a/doc/html/ogprintf_8cc-source.html b/doc/html/ogprintf_8cc-source.html index 7b7c222..f2602b4 100644 --- a/doc/html/ogprintf_8cc-source.html +++ b/doc/html/ogprintf_8cc-source.html @@ -8,7 +8,6 @@

      Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +

    Generated on Tue Dec 12 08:52:07 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ogprintf_8cc.html b/doc/html/ogprintf_8cc.html index 6ff5b86..fc97ec6 100644 --- a/doc/html/ogprintf_8cc.html +++ b/doc/html/ogprintf_8cc.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:15 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/opt_8h-source.html b/doc/html/opt_8h-source.html index fc9464d..41b104f 100644 --- a/doc/html/opt_8h-source.html +++ b/doc/html/opt_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/opt_8h.html b/doc/html/opt_8h.html index 34634ec..fad943e 100644 --- a/doc/html/opt_8h.html +++ b/doc/html/opt_8h.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:10 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/page__fault_8S-source.html b/doc/html/page__fault_8S-source.html index a8ffe89..574525d 100644 --- a/doc/html/page__fault_8S-source.html +++ b/doc/html/page__fault_8S-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:08 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/page__fault_8S.html b/doc/html/page__fault_8S.html index 2627097..a4e7980 100644 --- a/doc/html/page__fault_8S.html +++ b/doc/html/page__fault_8S.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/pagefault_8c-source.html b/doc/html/pagefault_8c-source.html index a82f09f..5c2ed94 100644 --- a/doc/html/pagefault_8c-source.html +++ b/doc/html/pagefault_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:08 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/pagefault_8c.html b/doc/html/pagefault_8c.html index ce1ec1c..0cdf23e 100644 --- a/doc/html/pagefault_8c.html +++ b/doc/html/pagefault_8c.html @@ -8,7 +8,6 @@
    @@ -448,7 +447,7 @@ Referenced by vmm_remapPage().

    -


    Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/paging_8h-source.html b/doc/html/paging_8h-source.html index c054b38..36406d0 100644 --- a/doc/html/paging_8h-source.html +++ b/doc/html/paging_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/paging_8h.html b/doc/html/paging_8h.html index c01f365..633dde9 100644 --- a/doc/html/paging_8h.html +++ b/doc/html/paging_8h.html @@ -8,7 +8,6 @@ -

    paging.h File Reference

    #include <ubixos/types.h>
    +

    paging.h File Reference

    #include <ubixos/types.h>
    #include <sys/sysproto.h>
    #include <sys/thread.h>
    @@ -38,7 +37,7 @@ Go to the source code of this file. - + @@ -91,38 +90,38 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +

    Defines

    #define btoc(x)   (((vm_offset_t)(x)+PAGE_MASK)>>PAGE_SHIFT)
    #define btoc(x)   (((vm_offset_t)(x)+PAGE_MASK)>>PAGE_SHIFT)
    #define ctob(x)   ((x)<<PAGE_SHIFT)
    int obreak (struct thread *, struct obreak_args *)
    void * vmm_getFreeMallocPage (uInt16 count)
    void * vmm_getFreeMallocPage (uInt16 count)
    uInt32 vmm_getPhysicalAddr (uInt32)
    uInt32 vmm_getPhysicalAddr (uInt32)
    void vmm_pageFault (uInt32, uInt32, uInt32)
    void vmm_pageFault (uInt32, uInt32, uInt32)
    int vmm_pagingInit ()
    int vmm_remapPage (uInt32, uInt32, uInt16)
    int vmm_remapPage (uInt32, uInt32, uInt16)
    int vmm_setPageAttributes (uInt32, uInt16)
    int vmm_setPageAttributes (uInt32, uInt16)
    int vmmClearVirtualPage (uInt32 pageAddr)
    int vmmClearVirtualPage (uInt32 pageAddr)
    void * vmmCopyVirtualSpace (pidType)
    void * vmmCopyVirtualSpace (pidType)
    void * vmmCreateVirtualSpace (pidType)
    void * vmmCreateVirtualSpace (pidType)
    void * vmmGetFreeKernelPage (pidType pid, uInt16 count)
    void * vmmGetFreeKernelPage (pidType pid, uInt16 count)
    void * vmmGetFreePage (pidType)
    void * vmmGetFreePage (pidType)
    void * vmmGetFreeVirtualPage (pidType, int, int)
    void * vmmGetFreeVirtualPage (pidType, int, int)
    void * vmmMapFromTask (pidType, void *, uInt32)
    void * vmmMapFromTask (pidType, void *, uInt32)
    void vmmUnmapPage (uInt32, int)
    void vmmUnmapPage (uInt32, int)
    void vmmUnmapPages (void *, uInt32)
    void vmmUnmapPages (void *, uInt32)

    Variables

    uInt32kernelPageDirectory
    uInt32kernelPageDirectory

    Define Documentation

    @@ -136,7 +135,7 @@ x   )  -    (((vm_offset_t)(x)+PAGE_MASK)>>PAGE_SHIFT) +    (((vm_offset_t)(x)+PAGE_MASK)>>PAGE_SHIFT) @@ -147,7 +146,7 @@

    Definition at line 62 of file paging.h.

    -Referenced by obreak(), and vmmGetFreeVirtualPage(). +Referenced by obreak(), and vmmGetFreeVirtualPage().

    @@ -171,7 +170,7 @@

    Definition at line 61 of file paging.h.

    -Referenced by obreak(), and vmmGetFreeVirtualPage(). +Referenced by obreak(), and vmmGetFreeVirtualPage().

    @@ -209,7 +208,7 @@

    Definition at line 46 of file paging.h.

    -Referenced by vmm_cleanVirtualSpace(), vmm_pageFault(), vmm_remapPage(), vmmCopyVirtualSpace(), vmmFreeProcessPages(), and vmmGetFreeVirtualPage(). +Referenced by vmm_cleanVirtualSpace(), vmm_pageFault(), vmm_remapPage(), vmmCopyVirtualSpace(), vmmFreeProcessPages(), and vmmGetFreeVirtualPage().

    @@ -228,7 +227,7 @@

    Definition at line 52 of file paging.h.

    -Referenced by execFile(), kmod_load(), ldEnable(), obreak(), sysExec(), vmm_pageFault(), vmm_remapPage(), vmmCopyVirtualSpace(), vmmCreateVirtualSpace(), and vmmGetFreeVirtualPage(). +Referenced by execFile(), kmod_load(), ldEnable(), obreak(), sysExec(), vmm_pageFault(), vmm_remapPage(), vmmCopyVirtualSpace(), vmmCreateVirtualSpace(), and vmmGetFreeVirtualPage().

    @@ -264,7 +263,7 @@

    Definition at line 49 of file paging.h.

    -Referenced by execFile(), sysExec(), vmm_cleanVirtualSpace(), vmm_remapPage(), and vmmGetFreeVirtualPage(). +Referenced by execFile(), sysExec(), vmm_cleanVirtualSpace(), vmm_remapPage(), and vmmGetFreeVirtualPage().

    @@ -321,7 +320,7 @@

    Definition at line 47 of file paging.h.

    -Referenced by execFile(), vmm_cleanVirtualSpace(), vmm_remapPage(), and vmmCopyVirtualSpace(). +Referenced by execFile(), vmm_cleanVirtualSpace(), vmm_remapPage(), and vmmCopyVirtualSpace().

    @@ -446,7 +445,7 @@

    Definition at line 44 of file paging.h.

    -Referenced by vmm_cleanVirtualSpace(), vmm_pageFault(), vmm_remapPage(), vmmCopyVirtualSpace(), vmmCreateVirtualSpace(), vmmFreeProcessPages(), and vmmGetFreeVirtualPage(). +Referenced by vmm_cleanVirtualSpace(), vmm_pageFault(), vmm_remapPage(), vmmCopyVirtualSpace(), vmmCreateVirtualSpace(), vmmFreeProcessPages(), and vmmGetFreeVirtualPage().

    @@ -470,7 +469,7 @@

    Definition at line 60 of file paging.h.

    -Referenced by obreak(), and sysExec(). +Referenced by obreak(), and sysExec().

    @@ -489,7 +488,7 @@

    Definition at line 43 of file paging.h.

    -Referenced by vmm_cleanVirtualSpace(), vmm_getFreeMallocPage(), vmm_getPhysicalAddr(), vmm_pageFault(), vmm_remapPage(), vmm_setPageAttributes(), vmmCopyVirtualSpace(), vmmCreateVirtualSpace(), vmmFreeProcessPages(), vmmGetFreeKernelPage(), vmmGetFreePage(), vmmGetFreeVirtualPage(), vmmMapFromTask(), vmmUnmapPage(), and vmmUnmapPages(). +Referenced by vmm_cleanVirtualSpace(), vmm_getFreeMallocPage(), vmm_getPhysicalAddr(), vmm_pageFault(), vmm_remapPage(), vmm_setPageAttributes(), vmmCopyVirtualSpace(), vmmCreateVirtualSpace(), vmmFreeProcessPages(), vmmGetFreeKernelPage(), vmmGetFreePage(), vmmGetFreeVirtualPage(), vmmMapFromTask(), vmmUnmapPage(), and vmmUnmapPages().

    @@ -532,7 +531,7 @@

    Definition at line 38 of file paging.h.

    -Referenced by mmap(), sysGetFreePage(), and vmmGetFreeVirtualPage(). +Referenced by mmap(), sysExec(), sysGetFreePage(), and vmmGetFreeVirtualPage().

    @@ -604,7 +603,7 @@

    Definition at line 453 of file paging.c.

    -References _current, mmap_args::addr, mmap_args::fd, taskStruct::id, kprintf(), mmap_args::len, thread::td_retval, VM_TASK, vmmGetFreeVirtualPage(), and x1000. +References _current, mmap_args::addr, mmap_args::fd, mmap_args::flags, taskStruct::id, kprintf(), mmap_args::len, mmap_args::pad, mmap_args::pos, mmap_args::prot, thread::td_retval, VM_TASK, vmmGetFreeVirtualPage(), and x1000.

    @@ -635,7 +634,7 @@

    -Definition at line 522 of file paging.c. +Definition at line 516 of file paging.c.

    References kprintf(). @@ -668,9 +667,9 @@

    -Definition at line 477 of file paging.c. +Definition at line 478 of file paging.c.

    -References _current, btoc, ctob, taskStruct::id, K_PANIC, obreak_args::nsize, PAGE_DEFAULT, round_page, thread::vm_daddr, thread::vm_dsize, vmm_remapPage(), and vmmFindFreePage(). +References _current, btoc, ctob, taskStruct::id, K_PANIC, kprintf(), obreak_args::nsize, PAGE_DEFAULT, round_page, thread::vm_daddr, thread::vm_dsize, vmm_remapPage(), and vmmFindFreePage().

    @@ -680,7 +679,7 @@ void* vmm_getFreeMallocPage ( - uInt16  + uInt16  count  )  @@ -704,9 +703,9 @@

    - + - + @@ -732,19 +731,19 @@ - + - + - + @@ -761,7 +760,7 @@

    Definition at line 53 of file pagefault.c.

    -References _current, adjustCowCounter(), endTask(), taskStruct::id, kpanic(), kprintf(), PAGE_COW, PAGE_DEFAULT, pageEntries, pageFaultSpinLock, parentPageDirAddr, spinLock(), spinUnlock(), tablesBaseAddress, taskStruct::td, thread::vm_daddr, thread::vm_dsize, vmm_getPhysicalAddr(), vmmFindFreePage(), vmmGetFreeVirtualPage(), vmmUnmapPage(), x1, and x1000. +References _current, adjustCowCounter(), endTask(), taskStruct::id, kpanic(), kprintf(), PAGE_COW, PAGE_DEFAULT, pageEntries, pageFaultSpinLock, parentPageDirAddr, spinLock(), spinUnlock(), tablesBaseAddress, taskStruct::td, thread::vm_daddr, thread::vm_dsize, vmm_getPhysicalAddr(), vmmFindFreePage(), vmmGetFreeVirtualPage(), vmmUnmapPage(), x1, and x1000.

    @@ -796,19 +795,19 @@

    - + - + - + @@ -827,7 +826,7 @@

    References _current, freePage(), taskStruct::id, K_PANIC, KERNEL_PAGE_DEFAULT, kprintf(), PAGE_COW, PAGE_DEFAULT, PAGE_PRESENT, PAGE_STACK, pageEntries, parentPageDirAddr, rmpSpinLock, spinLock(), spinUnlock(), tablesBaseAddress, vmmFindFreePage(), and x1000.

    -Referenced by execFile(), kmod_load(), ldEnable(), obreak(), sysExec(), vmm_getFreeMallocPage(), vmm_pagingInit(), vmmGetFreeKernelPage(), vmmGetFreePage(), vmmGetFreeVirtualPage(), and vmmMapFromTask(). +Referenced by execFile(), kmod_load(), ldEnable(), obreak(), sysExec(), vmm_getFreeMallocPage(), vmm_pagingInit(), vmmGetFreeKernelPage(), vmmGetFreePage(), vmmGetFreeVirtualPage(), and vmmMapFromTask().

    @@ -837,13 +836,13 @@

    - + - + @@ -872,7 +871,7 @@ - + @@ -898,7 +897,7 @@ - + @@ -924,7 +923,7 @@ - + @@ -950,13 +949,13 @@ - + - + @@ -985,7 +984,7 @@ - + @@ -1011,7 +1010,7 @@ - + @@ -1040,9 +1039,9 @@

    Definition at line 47 of file getfreevirtualpage.c.

    -References _current, btoc, ctob, fvpSpinLock, taskStruct::id, K_PANIC, kpanic(), kprintf(), taskStruct::oInfo, PAGE_COW, PAGE_DEFAULT, PAGE_PRESENT, pageEntries, parentPageDirAddr, spinLock(), spinUnlock(), tablesBaseAddress, taskStruct::td, thread::vm_daddr, thread::vm_dsize, VM_TASK, VM_THRD, vmm_remapPage(), vmmClearVirtualPage(), vmmFindFreePage(), osInfo::vmStart, x1, and x1000. +References _current, btoc, ctob, fvpSpinLock, taskStruct::id, K_PANIC, kpanic(), kprintf(), taskStruct::oInfo, PAGE_COW, PAGE_DEFAULT, PAGE_PRESENT, pageEntries, parentPageDirAddr, spinLock(), spinUnlock(), tablesBaseAddress, taskStruct::td, thread::vm_daddr, thread::vm_dsize, VM_TASK, VM_THRD, vmm_remapPage(), vmmClearVirtualPage(), vmmFindFreePage(), osInfo::vmStart, x1, and x1000.

    -Referenced by mmap(), sysGetFreePage(), and vmm_pageFault(). +Referenced by mmap(), sysExec(), sysGetFreePage(), and vmm_pageFault().

    @@ -1052,7 +1051,7 @@

    - + @@ -1064,7 +1063,7 @@ - + @@ -1091,7 +1090,7 @@ - + @@ -1132,7 +1131,7 @@ - + @@ -1158,7 +1157,7 @@
    uInt32 vmm_getPhysicalAddr uInt32 vmm_getPhysicalAddr (uInt32 uInt32  pageAddr  ) 
    void vmm_pageFault (uInt32 uInt32  ,
    uInt32 uInt32  ,
    uInt32 uInt32   
    int vmm_remapPage (uInt32 uInt32  ,
    uInt32 uInt32  ,
    uInt16 uInt16   
    int vmm_setPageAttributes (uInt32 uInt32  ,
    uInt16 uInt16   
    int vmmClearVirtualPage (uInt32 uInt32  pageAddr  ) 
    void* vmmCopyVirtualSpace (pidType pidType   ) 
    void* vmmCreateVirtualSpace (pidType pidType   ) 
    void* vmmGetFreeKernelPage (pidType pidType  pid,
    uInt16 uInt16  count 
    void* vmmGetFreePage (pidType pidType   ) 
    void* vmmGetFreeVirtualPage (pidType pidType  ,
    void* vmmMapFromTask (pidType pidType  ,
    uInt32 uInt32   
    void vmmUnmapPage (uInt32 uInt32  ,
    uInt32 uInt32   
    - +
    uInt32* kernelPageDirectory uInt32* kernelPageDirectory
    @@ -1172,7 +1171,7 @@ Referenced by _int8(), execFile(), execThread(), idt_init(), and vmm_pagingInit().

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/pbuf_8h-source.html b/doc/html/pbuf_8h-source.html index cc0f470..2cac85b 100644 --- a/doc/html/pbuf_8h-source.html +++ b/doc/html/pbuf_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/pbuf_8h.html b/doc/html/pbuf_8h.html index ad272fa..0d2b667 100644 --- a/doc/html/pbuf_8h.html +++ b/doc/html/pbuf_8h.html @@ -8,7 +8,6 @@

    @@ -320,7 +319,7 @@

    @@ -332,7 +331,7 @@ Definition at line 37 of file pci.c.

    -


    Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:16 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/pci_8h-source.html b/doc/html/pci_8h-source.html index 30ce429..8a86a0b 100644 --- a/doc/html/pci_8h-source.html +++ b/doc/html/pci_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/pci_8h.html b/doc/html/pci_8h.html index e4aaec0..74571b5 100644 --- a/doc/html/pci_8h.html +++ b/doc/html/pci_8h.html @@ -8,7 +8,6 @@ -

    pci.h File Reference

    #include <ubixos/types.h>
    +

    pci.h File Reference

    #include <ubixos/types.h>

    Go to the source code of this file. @@ -46,11 +45,11 @@ - + - + - +

    Functions

    int pci_init ()
    bool pciProbe (int bus, int dev, int func, struct pciConfig *cfg)
    bool pciProbe (int bus, int dev, int func, struct pciConfig *cfg)
    uInt32 pciRead (int bus, int dev, int func, int reg, int bytes)
    uInt32 pciRead (int bus, int dev, int func, int reg, int bytes)
    void pciWrite (int bus, int dev, int func, int reg, uInt32 v, int bytes)
    void pciWrite (int bus, int dev, int func, int reg, uInt32 v, int bytes)


    Define Documentation

    @@ -99,7 +98,7 @@

    Definition at line 292 of file pci.c.

    -References pciConfig::baseClass, confadd::bus, countof, dev, confadd::func, pciConfig::interface, pciConfig::irq, kprintf(), name, pciClasses, pciProbe(), pciConfig::subClass, and TRUE. +References pciConfig::baseClass, confadd::bus, countof, dev, confadd::func, pciConfig::interface, pciConfig::irq, kprintf(), name, pciClasses, pciProbe(), pciConfig::subClass, and TRUE.

    @@ -107,7 +106,7 @@

    - + @@ -144,7 +143,7 @@

    Definition at line 236 of file pci.c.

    -References pciConfig::base, pciConfig::baseClass, pciConfig::bist, pciConfig::bus, pciConfig::cacheLineSize, pciConfig::command, pciConfig::dev, pciConfig::deviceId, FALSE, pciConfig::func, pciConfig::headerType, pciConfig::interface, pciConfig::irq, kprintf(), pciConfig::latencyTimer, pciRead(), pciWrite(), pciConfig::size, pciConfig::status, pciConfig::subClass, pciConfig::subsys, pciConfig::subsysVendor, TRUE, pciConfig::vendorId, and x10. +References pciConfig::base, pciConfig::baseClass, pciConfig::bist, pciConfig::bus, pciConfig::cacheLineSize, pciConfig::command, pciConfig::dev, pciConfig::deviceId, FALSE, pciConfig::func, pciConfig::headerType, pciConfig::interface, pciConfig::irq, kprintf(), pciConfig::latencyTimer, pciRead(), pciWrite(), pciConfig::size, pciConfig::status, pciConfig::subClass, pciConfig::subsys, pciConfig::subsysVendor, TRUE, pciConfig::vendorId, and x10.

    Referenced by pci_init(). @@ -154,7 +153,7 @@

    bool pciProbe bool pciProbe ( int  bus,
    - + @@ -233,7 +232,7 @@ - + @@ -261,7 +260,7 @@ Referenced by pciProbe().

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:11 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/perf_8h-source.html b/doc/html/perf_8h-source.html index 3a6bc11..96c63d1 100644 --- a/doc/html/perf_8h-source.html +++ b/doc/html/perf_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/perf_8h.html b/doc/html/perf_8h.html index 3b567ee..41de635 100644 --- a/doc/html/perf_8h.html +++ b/doc/html/perf_8h.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:10 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/pipe_8c-source.html b/doc/html/pipe_8c-source.html index faa7716..5ebf95c 100644 --- a/doc/html/pipe_8c-source.html +++ b/doc/html/pipe_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:06 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/pipe_8c.html b/doc/html/pipe_8c.html index 57f018e..02d4460 100644 --- a/doc/html/pipe_8c.html +++ b/doc/html/pipe_8c.html @@ -8,7 +8,6 @@ -

    pipe.c File Reference

    #include <ubixos/types.h>
    +

    pipe.c File Reference

    #include <ubixos/types.h>
    #include <sys/sysproto.h>
    #include <sys/thread.h>
    #include <sys/pipe.h>
    @@ -76,10 +75,10 @@

    Definition at line 41 of file pipe.c.

    -References file::f_flag, falloc(), FREAD, FWRITE, and thread::td_retval. +References file::f_flag, falloc(), file::fd, FREAD, FWRITE, and thread::td_retval.

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/pipe_8h-source.html b/doc/html/pipe_8h-source.html index 268e868..15edbb1 100644 --- a/doc/html/pipe_8h-source.html +++ b/doc/html/pipe_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/pipe_8h.html b/doc/html/pipe_8h.html index ee16d91..e572c3b 100644 --- a/doc/html/pipe_8h.html +++ b/doc/html/pipe_8h.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:00 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:11 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/pit_8c-source.html b/doc/html/pit_8c-source.html index 69f5e95..962b6a4 100644 --- a/doc/html/pit_8c-source.html +++ b/doc/html/pit_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:06 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/pit_8c.html b/doc/html/pit_8c.html index 9810fac..97b993b 100644 --- a/doc/html/pit_8c.html +++ b/doc/html/pit_8c.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/pit_8h-source.html b/doc/html/pit_8h-source.html index e7c6833..f203ec6 100644 --- a/doc/html/pit_8h-source.html +++ b/doc/html/pit_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/pit_8h.html b/doc/html/pit_8h.html index e5bad9f..e5cd945 100644 --- a/doc/html/pit_8h.html +++ b/doc/html/pit_8h.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:09 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/rs232_8c-source.html b/doc/html/rs232_8c-source.html index b1c571e..03f700b 100644 --- a/doc/html/rs232_8c-source.html +++ b/doc/html/rs232_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:06 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/rs232_8c.html b/doc/html/rs232_8c.html index d5ebef4..c4253aa 100644 --- a/doc/html/rs232_8c.html +++ b/doc/html/rs232_8c.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/sched_8c-source.html b/doc/html/sched_8c-source.html index 7bb126b..443bc67 100644 --- a/doc/html/sched_8c-source.html +++ b/doc/html/sched_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:06 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/sched_8c.html b/doc/html/sched_8c.html index 3146a79..6351c16 100644 --- a/doc/html/sched_8c.html +++ b/doc/html/sched_8c.html @@ -8,7 +8,6 @@
    - + - + - + - + @@ -76,7 +75,7 @@ - + @@ -142,7 +141,7 @@ - + @@ -216,7 +215,7 @@ - + @@ -276,7 +275,7 @@ - + @@ -300,7 +299,7 @@ - + @@ -339,7 +338,7 @@

    Definition at line 143 of file sched.c.

    -References file::f_flag, taskStruct::id, kmalloc(), kpanic(), memset(), NEW, taskStruct::next, nextID, thread::o_files, taskStruct::prev, schedulerSpinLock, spinLock(), spinUnlock(), taskStruct::state, taskList, taskStruct::td, and taskStruct::usedMath. +References file::f_flag, taskStruct::id, kmalloc(), kpanic(), memset(), NEW, taskStruct::next, nextID, thread::o_files, taskStruct::prev, schedulerSpinLock, spinLock(), spinUnlock(), taskStruct::state, taskList, taskStruct::td, and taskStruct::usedMath.

    Referenced by biosCall(), execFile(), and execThread(). @@ -361,7 +360,7 @@

    Definition at line 51 of file sched.c.

    -Referenced by __sysctl(), _int0(), _int1(), _int10(), _int11(), _int12(), _int13(), _int2(), _int3(), _int4(), _int5(), _int6(), _int8(), _int9(), biosCall(), endTask(), execFile(), fork_copyProcess(), fstat(), getgid(), getpid(), getuid(), intNull(), kmod_load(), ldEnable(), mathStateRestore(), mmap(), mpi_createMbox(), mpi_destroyMbox(), mpi_fetchMessage(), mpi_postMessage(), netMainThread(), obreak(), sched(), schedEndTask(), syscall(), sysChDir(), sysExec(), sysExit(), sysFgetc(), sysFwrite(), sysGetCwd(), sysGetFreePage(), sysGetGid(), sysGetpid(), sysGetUid(), sysMkDir(), sysPasswd(), sysSetGid(), sysSetUid(), ubthread_mutex_lock(), ubthread_mutex_unlock(), ubthread_self(), vmm_pageFault(), vmm_remapPage(), vmmGetFreeVirtualPage(), and vmmMapFromTask(). +Referenced by __sysctl(), _int0(), _int1(), _int10(), _int11(), _int12(), _int13(), _int2(), _int3(), _int4(), _int5(), _int6(), _int8(), _int9(), biosCall(), endTask(), execFile(), fork_copyProcess(), fstat(), getgid(), getpid(), getuid(), intNull(), kmod_load(), ldEnable(), mathStateRestore(), mmap(), mpi_createMbox(), mpi_destroyMbox(), mpi_fetchMessage(), mpi_postMessage(), netMainThread(), obreak(), sched(), schedEndTask(), syscall(), sysChDir(), sysExec(), sysExit(), sysFgetc(), sysFwrite(), sysGetCwd(), sysGetFreePage(), sysGetGid(), sysGetpid(), sysGetUid(), sysMkDir(), sysPasswd(), sysSetGid(), sysSetUid(), ubthread_mutex_lock(), ubthread_mutex_unlock(), ubthread_self(), vmm_pageFault(), vmm_remapPage(), vmmGetFreeVirtualPage(), and vmmMapFromTask().

    @@ -407,7 +406,7 @@

    uInt32 pciRead uInt32 pciRead ( int  bus,
    uInt32 uInt32  v,
    int sched_addDelTask (kTask_t *tmpTask)
    int sched_deleteTask (pidType id)
    int sched_deleteTask (pidType id)
    kTask_tsched_getDelTask ()
    int sched_init ()
    int sched_setStatus (pidType pid, tState state)
    int sched_setStatus (pidType pid, tState state)
    void sched_yield ()
    void schedEndTask (pidType pid)
    void schedEndTask (pidType pid)
    kTask_tschedFindTask (uInt32 id)
    kTask_tschedFindTask (uInt32 id)
    kTask_tschedNewTask ()
    static kTask_tdelList = 0x0
    static uInt32 nextID = -1
    static uInt32 nextID = -1
    static spinLock_t schedulerSpinLock = SPIN_LOCK_INITIALIZER
    int sched_deleteTask (pidType pidType  id  ) 
    int sched_setStatus (pidType pidType  pid,
    void schedEndTask (pidType pidType  pid  ) 
    kTask_t* schedFindTask (uInt32 uInt32  id  ) 
    - +
    uInt32 nextID = -1 [static] uInt32 nextID = -1 [static]
    @@ -459,7 +458,7 @@ Referenced by sched_deleteTask(), sched_init(), schedFindTask(), and schedNewTask().

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/sched_8h-source.html b/doc/html/sched_8h-source.html index 526b864..92c1c52 100644 --- a/doc/html/sched_8h-source.html +++ b/doc/html/sched_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/sched_8h.html b/doc/html/sched_8h.html index 9a505ad..4b8762e 100644 --- a/doc/html/sched_8h.html +++ b/doc/html/sched_8h.html @@ -8,7 +8,6 @@ -

    sched.h File Reference

    #include <ubixos/types.h>
    +

    sched.h File Reference

    #include <ubixos/types.h>
    #include <ubixos/elf.h>
    #include <ubixos/tty.h>
    -#include <vfs/file.h>
    +#include <vfs/file.h>
    #include <sys/tss.h>
    #include <sys/thread.h>
    @@ -67,19 +66,19 @@ int sched_addDelTask (kTask_t *) -int sched_deleteTask (pidType) +int sched_deleteTask (pidType) kTask_tsched_getDelTask () int sched_init () -int sched_setStatus (pidType, tState) +int sched_setStatus (pidType, tState) void sched_yield () -void schedEndTask (pidType pid) +void schedEndTask (pidType pid) -kTask_tschedFindTask (uInt32 id) +kTask_tschedFindTask (uInt32 id) kTask_tschedNewTask () @@ -202,7 +201,7 @@ int sched_deleteTask ( - pidType  + pidType   )  @@ -276,7 +275,7 @@ int sched_setStatus ( - pidType  + pidType  , @@ -336,7 +335,7 @@ void schedEndTask ( - pidType  + pidType  pid  )  @@ -360,7 +359,7 @@ kTask_t* schedFindTask ( - uInt32  + uInt32  id  )  @@ -399,7 +398,7 @@

    Definition at line 143 of file sched.c.

    -References file::f_flag, taskStruct::id, kmalloc(), kpanic(), memset(), NEW, taskStruct::next, nextID, thread::o_files, taskStruct::prev, schedulerSpinLock, spinLock(), spinUnlock(), taskStruct::state, taskList, taskStruct::td, and taskStruct::usedMath. +References file::f_flag, taskStruct::id, kmalloc(), kpanic(), memset(), NEW, taskStruct::next, nextID, thread::o_files, taskStruct::prev, schedulerSpinLock, spinLock(), spinUnlock(), taskStruct::state, taskList, taskStruct::td, and taskStruct::usedMath.

    Referenced by biosCall(), execFile(), and execThread(). @@ -421,7 +420,7 @@

    Definition at line 51 of file sched.c.

    -Referenced by __sysctl(), _int0(), _int1(), _int10(), _int11(), _int12(), _int13(), _int2(), _int3(), _int4(), _int5(), _int6(), _int8(), _int9(), biosCall(), endTask(), execFile(), fork_copyProcess(), fstat(), getgid(), getpid(), getuid(), intNull(), kmod_load(), ldEnable(), mathStateRestore(), mmap(), mpi_createMbox(), mpi_destroyMbox(), mpi_fetchMessage(), mpi_postMessage(), netMainThread(), obreak(), sched(), schedEndTask(), syscall(), sysChDir(), sysExec(), sysExit(), sysFgetc(), sysFwrite(), sysGetCwd(), sysGetFreePage(), sysGetGid(), sysGetpid(), sysGetUid(), sysMkDir(), sysPasswd(), sysSetGid(), sysSetUid(), ubthread_mutex_lock(), ubthread_mutex_unlock(), ubthread_self(), vmm_pageFault(), vmm_remapPage(), vmmGetFreeVirtualPage(), and vmmMapFromTask(). +Referenced by __sysctl(), _int0(), _int1(), _int10(), _int11(), _int12(), _int13(), _int2(), _int3(), _int4(), _int5(), _int6(), _int8(), _int9(), biosCall(), endTask(), execFile(), fork_copyProcess(), fstat(), getgid(), getpid(), getuid(), intNull(), kmod_load(), ldEnable(), mathStateRestore(), mmap(), mpi_createMbox(), mpi_destroyMbox(), mpi_fetchMessage(), mpi_postMessage(), netMainThread(), obreak(), sched(), schedEndTask(), syscall(), sysChDir(), sysExec(), sysExit(), sysFgetc(), sysFwrite(), sysGetCwd(), sysGetFreePage(), sysGetGid(), sysGetpid(), sysGetUid(), sysMkDir(), sysPasswd(), sysSetGid(), sysSetUid(), ubthread_mutex_lock(), ubthread_mutex_unlock(), ubthread_self(), vmm_pageFault(), vmm_remapPage(), vmmGetFreeVirtualPage(), and vmmMapFromTask().

    @@ -443,7 +442,7 @@ Referenced by mathStateRestore().

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:12 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/schedyield_8S-source.html b/doc/html/schedyield_8S-source.html index e9d95ff..33fb6b1 100644 --- a/doc/html/schedyield_8S-source.html +++ b/doc/html/schedyield_8S-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:06 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/schedyield_8S.html b/doc/html/schedyield_8S.html index 88d14c8..82ca690 100644 --- a/doc/html/schedyield_8S.html +++ b/doc/html/schedyield_8S.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/sde_8h-source.html b/doc/html/sde_8h-source.html index c22bffc..12a5dbe 100644 --- a/doc/html/sde_8h-source.html +++ b/doc/html/sde_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/sde_8h.html b/doc/html/sde_8h.html index 4999152..b3f482e 100644 --- a/doc/html/sde_8h.html +++ b/doc/html/sde_8h.html @@ -8,7 +8,6 @@ -

    sde.h File Reference

    #include <ubixos/types.h>
    +

    sde.h File Reference

    #include <ubixos/types.h>

    Go to the source code of this file. @@ -50,7 +49,7 @@ - + @@ -152,7 +151,7 @@ - + @@ -190,7 +189,7 @@

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:11 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/search.idx b/doc/html/search.idx index 85fb091..1bc0375 100644 --- a/doc/html/search.idx +++ b/doc/html/search.idx Binary files differ diff --git a/doc/html/search.php b/doc/html/search.php index 694cefb..4da54d7 100644 --- a/doc/html/search.php +++ b/doc/html/search.php @@ -8,7 +8,6 @@
    • Main Page
    • -
    • Namespaces
    • Data Structures
    • Files
    • Directories
    • @@ -376,7 +375,7 @@ ?> -
      Generated on Tue Dec 5 23:35:11 2006 for UbixOS V2 by  +
      Generated on Tue Dec 12 08:52:28 2006 for UbixOS V2 by  doxygen 1.4.7
      diff --git a/doc/html/sem_8c-source.html b/doc/html/sem_8c-source.html index 67e2a90..dae9dec 100644 --- a/doc/html/sem_8c-source.html +++ b/doc/html/sem_8c-source.html @@ -8,7 +8,6 @@

      Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +

    Generated on Tue Dec 12 08:52:06 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/sem_8c.html b/doc/html/sem_8c.html index c8c4fd3..9aced48 100644 --- a/doc/html/sem_8c.html +++ b/doc/html/sem_8c.html @@ -8,7 +8,6 @@

    Functions

    void sdeThread ()
    void sysSDE (uInt32 cmd, void *ptr)
    void sysSDE (uInt32 cmd, void *ptr)

    Variables

    sdeWindowswindows
    void sysSDE (uInt32 uInt32  cmd,
    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/sem_8h-source.html b/doc/html/sem_8h-source.html index 43ad1e6..46f975d 100644 --- a/doc/html/sem_8h-source.html +++ b/doc/html/sem_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/sem_8h.html b/doc/html/sem_8h.html index 3086c88..a45b73d 100644 --- a/doc/html/sem_8h.html +++ b/doc/html/sem_8h.html @@ -8,7 +8,6 @@
    • Main Page
    • -
    • Namespaces
    • Data Structures
    • Files
    • Directories
    • @@ -35,7 +34,7 @@ Go to the source code of this file.
      -
      Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
      Generated on Tue Dec 12 08:52:12 2006 for UbixOS V2 by  doxygen 1.4.7
      diff --git a/doc/html/setpageattributes_8c-source.html b/doc/html/setpageattributes_8c-source.html index 4ded00c..672fe98 100644 --- a/doc/html/setpageattributes_8c-source.html +++ b/doc/html/setpageattributes_8c-source.html @@ -8,7 +8,6 @@

      Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +

    Generated on Tue Dec 12 08:52:09 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/setpageattributes_8c.html b/doc/html/setpageattributes_8c.html index bfb629e..0dc3fac 100644 --- a/doc/html/setpageattributes_8c.html +++ b/doc/html/setpageattributes_8c.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/shell_8c-source.html b/doc/html/shell_8c-source.html index dfbe6ef..a54adc5 100644 --- a/doc/html/shell_8c-source.html +++ b/doc/html/shell_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:07 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/shell_8c.html b/doc/html/shell_8c.html index bedc706..a9c5d4f 100644 --- a/doc/html/shell_8c.html +++ b/doc/html/shell_8c.html @@ -8,7 +8,6 @@
    @@ -283,7 +282,7 @@

    Definition at line 66 of file shell.c.

    -References buffer, kprintf(), netbuf_copy(), netbuf_delete(), netbuf_len(), netconn_close(), netconn_recv(), prompt(), sendstr(), and strcmp(). +References buffer, kprintf(), netbuf_copy(), netbuf_delete(), netbuf_len(), netconn_close(), netconn_recv(), prompt(), sendstr(), and strcmp().

    Referenced by shell_thread(). @@ -331,10 +330,10 @@

    Definition at line 47 of file shell.c.

    -Referenced by readUbixFS(), shell_main(), shell_thread(), sys_write(), and udpecho_thread(). +Referenced by readUbixFS(), shell_main(), shell_thread(), sys_write(), and udpecho_thread().

    -


    Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:15 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/shell_8h-source.html b/doc/html/shell_8h-source.html index eef8044..3570a1f 100644 --- a/doc/html/shell_8h-source.html +++ b/doc/html/shell_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:07 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/shell_8h.html b/doc/html/shell_8h.html index 5bdfc47..5bfc6bd 100644 --- a/doc/html/shell_8h.html +++ b/doc/html/shell_8h.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:15 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/signal_8h-source.html b/doc/html/signal_8h-source.html index b12574a..4358695 100644 --- a/doc/html/signal_8h-source.html +++ b/doc/html/signal_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/signal_8h.html b/doc/html/signal_8h.html index 5d1dce4..6b0dc22 100644 --- a/doc/html/signal_8h.html +++ b/doc/html/signal_8h.html @@ -8,7 +8,6 @@ -

    signal.h File Reference

    #include <ubixos/types.h>
    +

    signal.h File Reference

    #include <ubixos/types.h>

    Go to the source code of this file. @@ -232,7 +231,7 @@ Definition at line 46 of file signal.h.

    -


    Generated on Tue Dec 5 23:35:00 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:11 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/smp_8c-source.html b/doc/html/smp_8c-source.html index 00b5051..e1a8aa6 100644 --- a/doc/html/smp_8c-source.html +++ b/doc/html/smp_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:06 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/smp_8c.html b/doc/html/smp_8c.html index 8d12882..551c9b0 100644 --- a/doc/html/smp_8c.html +++ b/doc/html/smp_8c.html @@ -8,7 +8,6 @@
    - + @@ -68,19 +67,19 @@ - + - + - + - + - + @@ -91,11 +90,11 @@ - + - +
    static void apicWrite (unsigned int address, unsigned int data)
     asm (".globl cpuid \n""cpuid: \n"" pushl %ebx \n"" pushl %edi \n"" movl 12(%esp),%eax \n"" movl 16(%esp),%edi \n"" cpuid \n"" movl %eax,0(%edi) \n"" movl %ebx,4(%edi) \n"" movl %ecx,8(%edi) \n"" movl %edx,12(%edi) \n"" popl %edi \n"" popl %ebx \n"" ret \n")
     asm (".globl cpuid \n""cpuid: \n"" pushl %ebx \n"" pushl %edi \n"" movl 12(%esp),%eax \n"" movl 16(%esp),%edi \n"" cpuid \n"" movl %eax,0(%edi) \n"" movl %ebx,4(%edi) \n"" movl %ecx,8(%edi) \n"" movl %edx,12(%edi) \n"" popl %edi \n"" popl %ebx \n"" ret \n")
    void c_ap_boot (void)
    void cpuidDetect ()
    uInt8 cpuInfo ()
    uInt8 cpuInfo ()
    static void GDT_fixer ()
    static __inline__ uInt32 getDr3 (void)
    static __inline__ uInt32 getDr3 (void)
    uInt32 getEflags ()
    uInt32 getEflags ()
    uInt8 kernel_function (void)
    uInt8 kernel_function (void)
    static __inline__ void setDr3 (void *dr3)
    void setEflags (uInt32 eflags)
    void setEflags (uInt32 eflags)
    void smpInit ()
    static spinLock_t cpuInfoLock = SPIN_LOCK_INITIALIZER
    static uInt32 cpus = 0
    static uInt32 cpus = 0
    static spinLock_t initSpinLock = SPIN_LOCK_INITIALIZER
    uInt8vram = (uInt8 *)0xB8000
    uInt8vram = (uInt8 *)0xB8000


    Function Documentation

    @@ -235,7 +234,7 @@ - %eax\n""movl   + %eax\n""movl   16(%esp), @@ -437,7 +436,7 @@
    - + @@ -487,7 +486,7 @@
    uInt8 cpuInfo uInt8 cpuInfo (  ) 
    - + @@ -511,7 +510,7 @@
    static __inline__ uInt32 getDr3 static __inline__ uInt32 getDr3 ( void 
    - + @@ -534,7 +533,7 @@
    uInt32 getEflags uInt32 getEflags (  ) 
    - + @@ -586,7 +585,7 @@ - + @@ -687,7 +686,7 @@
    uInt8 kernel_function uInt8 kernel_function ( void 
    void setEflags (uInt32 uInt32  eflags  ) 
    - +
    uInt32 cpus = 0 [static] uInt32 cpus = 0 [static]
    @@ -725,7 +724,7 @@
    - +
    uInt8* vram = (uInt8 *)0xB8000 uInt8* vram = (uInt8 *)0xB8000
    @@ -739,7 +738,7 @@ Referenced by cpu0_thread(), cpu1_thread(), cpu2_thread(), and cpu3_thread().

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/smp_8h-source.html b/doc/html/smp_8h-source.html index 84669a3..52b4f7d 100644 --- a/doc/html/smp_8h-source.html +++ b/doc/html/smp_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/smp_8h.html b/doc/html/smp_8h.html index 3f8b4a7..64563d2 100644 --- a/doc/html/smp_8h.html +++ b/doc/html/smp_8h.html @@ -8,7 +8,6 @@ -

    smp.h File Reference

    #include <ubixos/types.h>
    +

    smp.h File Reference

    #include <ubixos/types.h>

    Go to the source code of this file. @@ -41,15 +40,15 @@ - + - + - + - + @@ -87,13 +86,13 @@ - + - + @@ -141,7 +140,7 @@

    Functions

    void apicMagic ()
    void cpuid (uInt32, uInt32 *)
    void cpuid (uInt32, uInt32 *)
    void cpuidDetect ()
    uInt8 cpuInfo ()
    uInt8 cpuInfo ()
    uInt32 getEflags ()
    uInt32 getEflags ()
    void setEflags (uInt32)
    void setEflags (uInt32)
    void smpInit ()
    void cpuid (uInt32 uInt32  ,
    uInt32uInt32  
    - + @@ -166,7 +165,7 @@
    uInt8 cpuInfo uInt8 cpuInfo (  ) 
    - + @@ -191,7 +190,7 @@ - + @@ -231,7 +230,7 @@ References apicMagic(), cpuidDetect(), cpuInfo(), GDT_fixer(), initSpinLock, spinLock(), and spinUnlock().

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:12 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/sockets_8c-source.html b/doc/html/sockets_8c-source.html index 3fc1c69..6f562e6 100644 --- a/doc/html/sockets_8c-source.html +++ b/doc/html/sockets_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:07 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/sockets_8c.html b/doc/html/sockets_8c.html index 2d8b95d..eb7f01e 100644 --- a/doc/html/sockets_8c.html +++ b/doc/html/sockets_8c.html @@ -8,7 +8,6 @@ -

    sockets.c File Reference

    #include <ubixos/types.h>
    +

    sockets.c File Reference

    #include <ubixos/types.h>
    #include "net/debug.h"
    #include "net/api.h"
    #include "net/sockets.h"
    @@ -671,7 +670,7 @@ Referenced by alloc_socket(), and get_socket().

    -


    Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:15 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/sockets_8h-source.html b/doc/html/sockets_8h-source.html index 4d9ffc5..0cc7452 100644 --- a/doc/html/sockets_8h-source.html +++ b/doc/html/sockets_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/sockets_8h.html b/doc/html/sockets_8h.html index f2ac371..10c2f0d 100644 --- a/doc/html/sockets_8h.html +++ b/doc/html/sockets_8h.html @@ -8,7 +8,6 @@ -

    sockets.h File Reference

    #include <ubixos/types.h>
    +

    sockets.h File Reference

    #include <ubixos/types.h>

    Go to the source code of this file.

    uInt32 getEflags uInt32 getEflags (  ) 
    void setEflags (uInt32 uInt32   ) 
    @@ -728,7 +727,7 @@ References lwip_socket::conn, DEBUGF, ERR_ARG, ERR_OK, get_socket(), lwip_send(), NETCONN_COPY, NETCONN_TCP, netconn_type(), NETCONN_UDP, netconn_write(), NULL, and SOCKETS_DEBUG.

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:10 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/spinlock_8c-source.html b/doc/html/spinlock_8c-source.html index 5fecad2..ada58c4 100644 --- a/doc/html/spinlock_8c-source.html +++ b/doc/html/spinlock_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:06 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/spinlock_8c.html b/doc/html/spinlock_8c.html index baa04b5..ef1d1ea 100644 --- a/doc/html/spinlock_8c.html +++ b/doc/html/spinlock_8c.html @@ -8,7 +8,6 @@

    @@ -194,10 +193,10 @@

    Definition at line 37 of file spinlock.c.

    -Referenced by adjustCowCounter(), cpuInfo(), current_thread(), devfs_makeNode(), devfs_open(), device_add(), device_find(), device_remove(), fclose(), fdcRead(), fopen(), freePage(), getEmptyDesc(), kernel_function(), keyboardHandler(), kfree(), kmalloc(), mpi_createMbox(), mpi_destroyMbox(), mpi_fetchMessage(), mpi_postMessage(), mpi_spam(), ne2kAllocBuffer(), schedNewTask(), smpInit(), sys_thread_new(), tty_print(), ubixfs_cacheAdd(), ubixfs_cacheFind(), vmm_getFreeMallocPage(), vmm_pageFault(), vmm_remapPage(), vmmCopyVirtualSpace(), vmmFindFreePage(), vmmFreeProcessPages(), vmmGetFreeKernelPage(), vmmGetFreePage(), and vmmGetFreeVirtualPage(). +Referenced by adjustCowCounter(), cpuInfo(), current_thread(), devfs_makeNode(), devfs_open(), device_add(), device_find(), device_remove(), fclose(), fdcRead(), fopen(), freePage(), getEmptyDesc(), kernel_function(), keyboardHandler(), kfree(), kmalloc(), mpi_createMbox(), mpi_destroyMbox(), mpi_fetchMessage(), mpi_postMessage(), mpi_spam(), ne2kAllocBuffer(), schedNewTask(), smpInit(), sys_thread_new(), tty_print(), ubixfs_cacheAdd(), ubixfs_cacheFind(), vmm_getFreeMallocPage(), vmm_pageFault(), vmm_remapPage(), vmmCopyVirtualSpace(), vmmFindFreePage(), vmmFreeProcessPages(), vmmGetFreeKernelPage(), vmmGetFreePage(), and vmmGetFreeVirtualPage().

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/spinlock_8h-source.html b/doc/html/spinlock_8h-source.html index a84ebb9..a3ff788 100644 --- a/doc/html/spinlock_8h-source.html +++ b/doc/html/spinlock_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/spinlock_8h.html b/doc/html/spinlock_8h.html index 16be6f9..671d5b0 100644 --- a/doc/html/spinlock_8h.html +++ b/doc/html/spinlock_8h.html @@ -8,7 +8,6 @@ -

    spinlock.h File Reference

    #include <ubixos/types.h>
    +

    spinlock.h File Reference

    #include <ubixos/types.h>

    Go to the source code of this file.

    @@ -120,7 +119,7 @@

    References sched_yield(), and spinTryLock().

    -Referenced by adjustCowCounter(), cpuInfo(), current_thread(), devfs_makeNode(), devfs_open(), device_add(), device_find(), device_remove(), fclose(), fdcRead(), fopen(), freePage(), getEmptyDesc(), kernel_function(), kfree(), kmalloc(), mpi_createMbox(), mpi_destroyMbox(), mpi_fetchMessage(), mpi_postMessage(), mpi_spam(), ne2kAllocBuffer(), schedNewTask(), smpInit(), sys_thread_new(), tty_print(), ubixfs_cacheAdd(), ubixfs_cacheFind(), vmm_getFreeMallocPage(), vmm_pageFault(), vmm_remapPage(), vmmCopyVirtualSpace(), vmmFindFreePage(), vmmFreeProcessPages(), vmmGetFreeKernelPage(), vmmGetFreePage(), and vmmGetFreeVirtualPage(). +Referenced by adjustCowCounter(), cpuInfo(), current_thread(), devfs_makeNode(), devfs_open(), device_add(), device_find(), device_remove(), fclose(), fdcRead(), fopen(), freePage(), getEmptyDesc(), kernel_function(), kfree(), kmalloc(), mpi_createMbox(), mpi_destroyMbox(), mpi_fetchMessage(), mpi_postMessage(), mpi_spam(), ne2kAllocBuffer(), schedNewTask(), smpInit(), sys_thread_new(), tty_print(), ubixfs_cacheAdd(), ubixfs_cacheFind(), vmm_getFreeMallocPage(), vmm_pageFault(), vmm_remapPage(), vmmCopyVirtualSpace(), vmmFindFreePage(), vmmFreeProcessPages(), vmmGetFreeKernelPage(), vmmGetFreePage(), and vmmGetFreeVirtualPage().

    @@ -240,7 +239,7 @@

    Definition at line 37 of file spinlock.c.

    -Referenced by adjustCowCounter(), cpuInfo(), current_thread(), devfs_makeNode(), devfs_open(), device_add(), device_find(), device_remove(), fclose(), fdcRead(), fopen(), freePage(), getEmptyDesc(), kernel_function(), keyboardHandler(), kfree(), kmalloc(), mpi_createMbox(), mpi_destroyMbox(), mpi_fetchMessage(), mpi_postMessage(), mpi_spam(), ne2kAllocBuffer(), schedNewTask(), smpInit(), sys_thread_new(), tty_print(), ubixfs_cacheAdd(), ubixfs_cacheFind(), vmm_getFreeMallocPage(), vmm_pageFault(), vmm_remapPage(), vmmCopyVirtualSpace(), vmmFindFreePage(), vmmFreeProcessPages(), vmmGetFreeKernelPage(), vmmGetFreePage(), and vmmGetFreeVirtualPage(). +Referenced by adjustCowCounter(), cpuInfo(), current_thread(), devfs_makeNode(), devfs_open(), device_add(), device_find(), device_remove(), fclose(), fdcRead(), fopen(), freePage(), getEmptyDesc(), kernel_function(), keyboardHandler(), kfree(), kmalloc(), mpi_createMbox(), mpi_destroyMbox(), mpi_fetchMessage(), mpi_postMessage(), mpi_spam(), ne2kAllocBuffer(), schedNewTask(), smpInit(), sys_thread_new(), tty_print(), ubixfs_cacheAdd(), ubixfs_cacheFind(), vmm_getFreeMallocPage(), vmm_pageFault(), vmm_remapPage(), vmmCopyVirtualSpace(), vmmFindFreePage(), vmmFreeProcessPages(), vmmGetFreeKernelPage(), vmmGetFreePage(), and vmmGetFreeVirtualPage().


    Variable Documentation

    @@ -261,7 +260,7 @@ Definition at line 39 of file syscall_new.c.

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:12 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/sqrt_8c-source.html b/doc/html/sqrt_8c-source.html index 905620a..ec01841 100644 --- a/doc/html/sqrt_8c-source.html +++ b/doc/html/sqrt_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:07 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/sqrt_8c.html b/doc/html/sqrt_8c.html index 30591de..8a820db 100644 --- a/doc/html/sqrt_8c.html +++ b/doc/html/sqrt_8c.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:15 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/start_8S-source.html b/doc/html/start_8S-source.html index 6bd8643..2cd2f4e 100644 --- a/doc/html/start_8S-source.html +++ b/doc/html/start_8S-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/start_8S.html b/doc/html/start_8S.html index 6fe46e9..0e19065 100644 --- a/doc/html/start_8S.html +++ b/doc/html/start_8S.html @@ -8,7 +8,6 @@
    +eax cld rep stosb  @@ -61,47 +60,47 @@ +eax cld rep stosb eax mov  +ss mov eax addl eax mov  @@ -124,44 +123,44 @@ +ss mov eax addl 
    globl _start text code32 x472
    pushl ebp movl ebp pushl x00000002
    popfl ecx edi subl ecx xorl
    -eax cld rep stosb 
    lgdtl (loadGDT) mov $0x10
    lgdtl (loadGDT) mov $0x10
    globl _start text code32 x472
    pushl ebp movl ebp pushl x00000002
    @@ -52,7 +51,7 @@
    globl _start text code32 x472
    pushl ebp movl ebp pushl x00000002
    popfl ecx edi subl ecx xorl
    -eax cld rep stosb eax mov
    +eax cld rep stosb eax mov
    ds mov es mov fs mov gs mov
    ss mov 
    $kStack
    globl _start text code32 x472
    pushl ebp movl ebp pushl x00000002
    popfl ecx edi subl ecx xorl
    -eax cld rep stosb eax mov
    +eax cld rep stosb eax mov
    ds mov es mov fs mov gs mov
    -ss mov eax addl eax mov edx
    +ss mov eax addl eax mov edx
    mov esp mov 
    eax
    globl _start text code32 x472
    pushl ebp movl ebp pushl x00000002
    popfl ecx edi subl ecx xorl
    -eax cld rep stosb eax mov
    +eax cld rep stosb eax mov
    ds mov es mov fs mov gs mov
    -ss mov eax addl eax mov edx
    +ss mov eax addl eax mov edx
    mov 
    eax
    globl _start text code32 x472
    pushl ebp movl ebp pushl x00000002
    popfl ecx edi subl ecx xorl
    -eax cld rep stosb eax mov
    +eax cld rep stosb eax mov
    ds mov es mov fs mov gs mov 
    eax
    globl _start text code32 x472
    pushl ebp movl ebp pushl x00000002
    popfl ecx edi subl ecx xorl
    -eax cld rep stosb eax mov
    +eax cld rep stosb eax mov
    ds mov es mov fs mov 
    eax
    globl _start text code32 x472
    pushl ebp movl ebp pushl x00000002
    popfl ecx edi subl ecx xorl
    -eax cld rep stosb eax mov
    +eax cld rep stosb eax mov
    ds mov es mov 
    eax
    globl _start text code32 x472
    pushl ebp movl ebp pushl x00000002
    popfl ecx edi subl ecx xorl
    -eax cld rep stosb eax mov
    +eax cld rep stosb eax mov
    ds mov 
    eax
    globl _start text code32 x472
    pushl ebp movl ebp pushl x00000002
    popfl ecx edi subl ecx xorl
    -eax cld rep stosb eax mov 
    eax
    eax
    globl _start text code32 x472
    pushl ebp movl ebp pushl x00000002
    @@ -114,9 +113,9 @@
    globl _start text code32 x472
    pushl ebp movl ebp pushl x00000002
    popfl ecx edi subl ecx xorl
    -eax cld rep stosb eax mov
    +eax cld rep stosb eax mov
    ds mov es mov fs mov gs mov
    -ss mov eax addl eax mov 
    esp
    esp
    globl _start text code32 x472
    pushl ebp movl 
    esp
    globl _start text code32 x472
    pushl ebp movl ebp pushl x00000002
    popfl ecx edi subl ecx xorl
    -eax cld rep stosb eax mov
    +eax cld rep stosb eax mov
    ds mov es mov fs mov gs mov
    -ss mov eax addl eax mov edx
    +ss mov eax addl eax mov edx
    mov esp mov ebp mov ax lldt
    ax mov ax ltr ax ljmp $start_next 
    start_next
    globl _start text code32 x472
    pushl ebp movl ebp pushl x00000002
    popfl ecx edi subl ecx xorl
    -eax cld rep stosb eax mov
    +eax cld rep stosb eax mov
    ds mov es mov fs mov gs mov
    -ss mov eax addl eax mov edx
    +ss mov eax addl eax mov edx
    mov esp mov ebp mov ax lldt
    ax mov ax ltr ax ljmp 
    x08
    globl _start text code32 x472
    pushl ebp movl ebp pushl x00000002
    popfl ecx edi subl ecx xorl
    -eax cld rep stosb eax mov
    +eax cld rep stosb eax mov
    ds mov es mov fs mov gs mov
    -ss mov eax addl eax mov edx
    +ss mov eax addl eax mov edx
    mov esp mov ebp mov 
    x18
    globl _start text code32 x472
    pushl ebp movl ebp pushl x00000002
    popfl ecx edi subl ecx xorl
    -eax cld rep stosb eax mov
    +eax cld rep stosb eax mov
    ds mov es mov fs mov gs mov
    -ss mov eax addl eax mov edx
    +ss mov eax addl eax mov edx
    mov esp mov ebp mov ax lldt
    ax mov 
    x20
    globl _start text code32 x472
    pushl ebp movl ebp pushl x00000002
    popfl ecx edi subl ecx xorl
    -eax cld rep stosb eax mov
    +eax cld rep stosb eax mov
    ds mov es mov fs mov gs mov
    -ss mov eax addl 
    x2000
    x2000


    Function Documentation

    @@ -170,7 +169,7 @@
    - + @@ -231,7 +230,7 @@
    globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb lgdtl globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb lgdtl ( loadGDT 
    - +
    globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov $kStack globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov $kStack
    @@ -265,7 +264,7 @@
    - +
    globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov esp mov eax globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov esp mov eax
    @@ -282,7 +281,7 @@
    - +
    globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov eax globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov eax
    @@ -299,7 +298,7 @@
    - +
    globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov eax globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov eax
    @@ -316,7 +315,7 @@
    - +
    globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov eax globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov eax
    @@ -333,7 +332,7 @@
    - +
    globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov eax globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov eax
    @@ -350,7 +349,7 @@
    - +
    globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov eax globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov eax
    @@ -367,7 +366,7 @@
    - +
    globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov eax globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov eax
    @@ -384,7 +383,7 @@
    - +
    globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax
    @@ -418,7 +417,7 @@
    - +
    globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov esp globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov esp
    @@ -452,7 +451,7 @@
    - +
    globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov esp mov ebp mov ax lldt ax mov ax ltr ax ljmp $start_next start_next globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov esp mov ebp mov ax lldt ax mov ax ltr ax ljmp $start_next start_next
    @@ -469,7 +468,7 @@
    - +
    globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov esp mov ebp mov ax lldt ax mov ax ltr ax ljmp x08 globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov esp mov ebp mov ax lldt ax mov ax ltr ax ljmp x08
    @@ -486,7 +485,7 @@
    - +
    globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov esp mov ebp mov x18 globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov esp mov ebp mov x18
    @@ -505,7 +504,7 @@
    - +
    globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov esp mov ebp mov ax lldt ax mov x20 globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov esp mov ebp mov ax lldt ax mov x20
    @@ -524,7 +523,7 @@
    - +
    globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl x2000 globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl x2000
    @@ -538,7 +537,7 @@ Referenced by biosCall(), kmain(), and ubthread_create().

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/static_8c-source.html b/doc/html/static_8c-source.html index 12d0f6f..ea25392 100644 --- a/doc/html/static_8c-source.html +++ b/doc/html/static_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/static_8c.html b/doc/html/static_8c.html index 659848f..8727421 100644 --- a/doc/html/static_8c.html +++ b/doc/html/static_8c.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/static_8h-source.html b/doc/html/static_8h-source.html index cbb32e2..e72f546 100644 --- a/doc/html/static_8h-source.html +++ b/doc/html/static_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/static_8h.html b/doc/html/static_8h.html index 63caf1f..f69f872 100644 --- a/doc/html/static_8h.html +++ b/doc/html/static_8h.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:12 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/stats_8h-source.html b/doc/html/stats_8h-source.html index 6939194..8141a6e 100644 --- a/doc/html/stats_8h-source.html +++ b/doc/html/stats_8h-source.html @@ -8,7 +8,6 @@
    • Main Page
    • -
    • Namespaces
    • Data Structures
    • Files
    • Directories
    • @@ -75,44 +74,44 @@ 00043 #ifdef STATS 00044 00045 struct stats_proto { -00046 uInt16 xmit; /* Transmitted packets. */ -00047 uInt16 rexmit; /* Retransmitted packets. */ -00048 uInt16 recv; /* Received packets. */ -00049 uInt16 fw; /* Forwarded packets. */ -00050 uInt16 drop; /* Dropped packets. */ -00051 uInt16 chkerr; /* Checksum error. */ -00052 uInt16 lenerr; /* Invalid length error. */ -00053 uInt16 memerr; /* Out of memory error. */ -00054 uInt16 rterr; /* Routing error. */ -00055 uInt16 proterr; /* Protocol error. */ -00056 uInt16 opterr; /* Error in options. */ -00057 uInt16 err; /* Misc error. */ -00058 uInt16 cachehit; +00046 uInt16 xmit; /* Transmitted packets. */ +00047 uInt16 rexmit; /* Retransmitted packets. */ +00048 uInt16 recv; /* Received packets. */ +00049 uInt16 fw; /* Forwarded packets. */ +00050 uInt16 drop; /* Dropped packets. */ +00051 uInt16 chkerr; /* Checksum error. */ +00052 uInt16 lenerr; /* Invalid length error. */ +00053 uInt16 memerr; /* Out of memory error. */ +00054 uInt16 rterr; /* Routing error. */ +00055 uInt16 proterr; /* Protocol error. */ +00056 uInt16 opterr; /* Error in options. */ +00057 uInt16 err; /* Misc error. */ +00058 uInt16 cachehit; 00059 }; 00060 00061 struct stats_mem { -00062 uInt16 avail; -00063 uInt16 used; -00064 uInt16 max; -00065 uInt16 err; -00066 uInt16 reclaimed; +00062 uInt16 avail; +00063 uInt16 used; +00064 uInt16 max; +00065 uInt16 err; +00066 uInt16 reclaimed; 00067 }; 00068 00069 struct stats_pbuf { -00070 uInt16 avail; -00071 uInt16 used; -00072 uInt16 max; -00073 uInt16 err; -00074 uInt16 reclaimed; +00070 uInt16 avail; +00071 uInt16 used; +00072 uInt16 max; +00073 uInt16 err; +00074 uInt16 reclaimed; 00075 -00076 uInt16 alloc_locked; -00077 uInt16 refresh_locked; +00076 uInt16 alloc_locked; +00077 uInt16 refresh_locked; 00078 }; 00079 00080 struct stats_syselem { -00081 uInt16 used; -00082 uInt16 max; -00083 uInt16 err; +00081 uInt16 used; +00082 uInt16 max; +00083 uInt16 err; 00084 }; 00085 00086 struct stats_sys { @@ -142,7 +141,7 @@ 00110 00111 00112 -

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/stats_8h.html b/doc/html/stats_8h.html index 03c0b85..2d66bc4 100644 --- a/doc/html/stats_8h.html +++ b/doc/html/stats_8h.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:10 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/stdarg_8h-source.html b/doc/html/stdarg_8h-source.html index 9275ed1..9e3300c 100644 --- a/doc/html/stdarg_8h-source.html +++ b/doc/html/stdarg_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/stdarg_8h.html b/doc/html/stdarg_8h.html index e00b58c..091ce6a 100644 --- a/doc/html/stdarg_8h.html +++ b/doc/html/stdarg_8h.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:11 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/string_8c-source.html b/doc/html/string_8c-source.html index 8ac7ebc..9ded2df 100644 --- a/doc/html/string_8c-source.html +++ b/doc/html/string_8c-source.html @@ -8,7 +8,6 @@
    • Main Page
    • -
    • Namespaces
    • Data Structures
    • Files
    • Directories
    • @@ -61,175 +60,153 @@ 00029 00030 #include <lib/string.h> 00031 -00032 char * -00033 strcpy(char * dst, const char * src) { -00034 char * tmp = dst; -00035 do { -00036 *dst = *src; -00037 dst++; -00038 } while (*src++ != '\0'); -00039 return tmp; -00040 } /* strcpy */ -00041 -00042 int strcmp(const char *str1,const char *str2) { -00043 while ((*str1 == *str2) && (*str1 != 0x0) && (*str2 != 0x0)) { -00044 str1++; -00045 str2++; -00046 } -00047 if (*str1 == *str2) { -00048 return(0); -00049 } -00050 else if (*str1 > *str2) { -00051 return(1); -00052 } -00053 else { -00054 return(-1); -00055 } +00032 int strcmp(const char *str1,const char *str2) { +00033 while ((*str1 == *str2) && (*str1 != 0x0) && (*str2 != 0x0)) { +00034 str1++; +00035 str2++; +00036 } +00037 if (*str1 == *str2) { +00038 return(0); +00039 } +00040 else if (*str1 > *str2) { +00041 return(1); +00042 } +00043 else { +00044 return(-1); +00045 } +00046 } +00047 +00048 int strncmp(const char * a, const char * b, size_t c) { +00049 int i = 0; +00050 while (i < c) { +00051 if ((a[i] != b[i]) || (a[i] == '\0') || (b[i] == '\0')) +00052 return a[i] - b[i]; +00053 i++; +00054 } +00055 return 0; 00056 } 00057 -00058 int strncmp(const char * a, const char * b, size_t c) { -00059 int i = 0; -00060 while (i < c) { -00061 if ((a[i] != b[i]) || (a[i] == '\0') || (b[i] == '\0')) -00062 return a[i] - b[i]; -00063 i++; -00064 } -00065 return 0; -00066 } -00067 -00068 -00069 -00070 void *memcpyold(const void *dst, const void * src, size_t length) { -00071 //size_t x = length >> 2; -00072 //size_t y = length;// & 0xf; -00073 size_t i; -00074 /* -00075 for (i = 0; i < x; i++) { -00076 ((unsigned long *)dst)[i] = ((unsigned long *)src)[i]; -00077 } -00078 */ -00079 /* -00080 for (i = 0; i < y; i++) { -00081 ((char *) dst)[length-y+i] = ((char *) src)[length-y+i]; -00082 } -00083 */ -00084 for (i = 0x0;i < length;i++) -00085 ((char *)dst)[i] = ((char *)src)[i]; -00086 -00087 return((void *)dst); -00088 } -00089 -00090 -00091 int strlen(const char * string) { -00092 int i = 0; +00058 +00059 +00060 void *memcpyold(const void *dst, const void * src, size_t length) { +00061 //size_t x = length >> 2; +00062 //size_t y = length;// & 0xf; +00063 size_t i; +00064 /* +00065 for (i = 0; i < x; i++) { +00066 ((unsigned long *)dst)[i] = ((unsigned long *)src)[i]; +00067 } +00068 */ +00069 /* +00070 for (i = 0; i < y; i++) { +00071 ((char *) dst)[length-y+i] = ((char *) src)[length-y+i]; +00072 } +00073 */ +00074 for (i = 0x0;i < length;i++) +00075 ((char *)dst)[i] = ((char *)src)[i]; +00076 +00077 return((void *)dst); +00078 } +00079 +00080 int memcmp(const void * dst, const void * src, size_t length) +00081 { +00082 size_t x = length >> 2; +00083 size_t y = length & 0xf; +00084 size_t i; +00085 +00086 for (i = 0; i < x; i++) +00087 { +00088 if (((unsigned long *)dst)[i] > ((unsigned long *)src)[i]) +00089 return 1; +00090 if (((unsigned long *)dst)[i] < ((unsigned long *)src)[i]) +00091 return -1; +00092 } 00093 -00094 while (1) { -00095 if (string[i] == '\0') -00096 return i; -00097 i++; -00098 } -00099 return 0; -00100 } +00094 for (i = 0; i < y; i++) +00095 { +00096 if (((char *) dst)[length-y+i] > ((char *) src)[length-y+i]) +00097 return 1; +00098 if (((char *) dst)[length-y+i] < ((char *) src)[length-y+i]) +00099 return -1; +00100 } 00101 -00102 int memcmp(const void * dst, const void * src, size_t length) -00103 { -00104 size_t x = length >> 2; -00105 size_t y = length & 0xf; -00106 size_t i; -00107 -00108 for (i = 0; i < x; i++) -00109 { -00110 if (((unsigned long *)dst)[i] > ((unsigned long *)src)[i]) -00111 return 1; -00112 if (((unsigned long *)dst)[i] < ((unsigned long *)src)[i]) -00113 return -1; +00102 return 0; +00103 } +00104 +00105 void strncpy(char * dest, const char * src, size_t size) +00106 { +00107 if (size == 0) +00108 return; +00109 do +00110 { +00111 *dest = *src; +00112 dest++; src++; +00113 size--; 00114 } -00115 -00116 for (i = 0; i < y; i++) -00117 { -00118 if (((char *) dst)[length-y+i] > ((char *) src)[length-y+i]) -00119 return 1; -00120 if (((char *) dst)[length-y+i] < ((char *) src)[length-y+i]) -00121 return -1; -00122 } -00123 -00124 return 0; -00125 } -00126 -00127 void strncpy(char * dest, const char * src, size_t size) -00128 { -00129 if (size == 0) -00130 return; -00131 do -00132 { -00133 *dest = *src; -00134 dest++; src++; -00135 size--; -00136 } -00137 while(('\0' != *(src-1)) && (size)); -00138 } -00139 -00140 char *strstr(const char *s,char *find) { -00141 char c, sc; -00142 size_t len; -00143 -00144 if ((c = *find++) != 0) { -00145 len = strlen(find); -00146 do { -00147 do { -00148 if ((sc = *s++) == 0) -00149 return (NULL); -00150 } while (sc != c); -00151 } while (strncmp(s, find, len) != 0); -00152 s--; -00153 } -00154 return ((char *)s); -00155 } -00156 -00157 -00158 /*** -00159 $Log$ -00160 Revision 1.2 2006/12/05 14:10:21 reddawg -00161 Workign Distro +00115 while(('\0' != *(src-1)) && (size)); +00116 } +00117 +00118 char *strstr(const char *s,char *find) { +00119 char c, sc; +00120 size_t len; +00121 +00122 if ((c = *find++) != 0) { +00123 len = strlen(find); +00124 do { +00125 do { +00126 if ((sc = *s++) == 0) +00127 return (NULL); +00128 } while (sc != c); +00129 } while (strncmp(s, find, len) != 0); +00130 s--; +00131 } +00132 return ((char *)s); +00133 } +00134 +00135 +00136 /*** +00137 $Log$ +00138 Revision 1.2 2006/12/05 14:10:21 reddawg +00139 Workign Distro +00140 +00141 Revision 1.1.1.1 2006/06/01 12:46:16 reddawg +00142 ubix2 +00143 +00144 Revision 1.2 2005/10/12 00:13:37 reddawg +00145 Removed +00146 +00147 Revision 1.1.1.1 2005/09/26 17:24:13 reddawg +00148 no message +00149 +00150 Revision 1.6 2004/07/28 15:05:43 reddawg +00151 Major: +00152 Pages now have strict security enforcement. +00153 Many null dereferences have been resolved. +00154 When apps loaded permissions set for pages rw and ro +00155 +00156 Revision 1.5 2004/07/20 18:42:41 flameshadow +00157 add: strcpy() +00158 chg: modified dirCache.c to use strcpy() +00159 +00160 Revision 1.4 2004/07/05 23:06:32 reddawg +00161 Fixens 00162 -00163 Revision 1.1.1.1 2006/06/01 12:46:16 reddawg -00164 ubix2 +00163 Revision 1.3 2004/06/28 23:12:58 reddawg +00164 file format now container:/path/to/file 00165 -00166 Revision 1.2 2005/10/12 00:13:37 reddawg -00167 Removed +00166 Revision 1.2 2004/05/19 14:40:58 reddawg +00167 Cleaned up some warning from leaving out typedefs 00168 -00169 Revision 1.1.1.1 2005/09/26 17:24:13 reddawg -00170 no message +00169 Revision 1.1.1.1 2004/04/15 12:07:11 reddawg +00170 UbixOS v1.0 00171 -00172 Revision 1.6 2004/07/28 15:05:43 reddawg -00173 Major: -00174 Pages now have strict security enforcement. -00175 Many null dereferences have been resolved. -00176 When apps loaded permissions set for pages rw and ro -00177 -00178 Revision 1.5 2004/07/20 18:42:41 flameshadow -00179 add: strcpy() -00180 chg: modified dirCache.c to use strcpy() -00181 -00182 Revision 1.4 2004/07/05 23:06:32 reddawg -00183 Fixens -00184 -00185 Revision 1.3 2004/06/28 23:12:58 reddawg -00186 file format now container:/path/to/file -00187 -00188 Revision 1.2 2004/05/19 14:40:58 reddawg -00189 Cleaned up some warning from leaving out typedefs -00190 -00191 Revision 1.1.1.1 2004/04/15 12:07:11 reddawg -00192 UbixOS v1.0 -00193 -00194 Revision 1.5 2004/04/13 16:36:33 reddawg -00195 Changed our copyright, it is all now under a BSD-Style license -00196 -00197 END -00198 ***/ -00199 -

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +00172 Revision 1.5 2004/04/13 16:36:33 reddawg +00173 Changed our copyright, it is all now under a BSD-Style license +00174 +00175 END +00176 ***/ +00177 +
    Generated on Tue Dec 12 08:52:07 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/string_8c.html b/doc/html/string_8c.html index 78adb69..7b9a9bd 100644 --- a/doc/html/string_8c.html +++ b/doc/html/string_8c.html @@ -8,7 +8,6 @@
    -
    - -

    - -

    -Definition at line 33 of file string.c. -

    -Referenced by main(), ubixfs_cacheNew(), and UbixFS::vfs_format(). -

    -

    - -

    -
    - - - - - - - - - -
    int strlen (const char *  string  ) 
    -
    -
    - -

    - -

    -Definition at line 91 of file string.c. +Definition at line 32 of file string.c.

    @@ -233,7 +173,7 @@ - size_t  + size_t  c  @@ -248,7 +188,7 @@

    -Definition at line 58 of file string.c. +Definition at line 48 of file string.c.

    @@ -270,7 +210,7 @@ - size_t  + size_t  size  @@ -285,9 +225,7 @@

    -Definition at line 127 of file string.c. -

    -Referenced by bTree::bTree(), bTree::Insert(), bTree::insertNode(), UbixFS::mknod(), bTree::splitNode(), and UbixFS::vfs_mkdir(). +Definition at line 105 of file string.c.

    @@ -318,14 +256,14 @@

    -Definition at line 140 of file string.c. +Definition at line 118 of file string.c.

    -References NULL, strlen(), and strncmp(). +References NULL, strlen, and strncmp().

    -Referenced by fopen(), sysChDir(), and sysMkDir(). +Referenced by fopen(), sysChDir(), and sysMkDir().

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:15 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/string_8h-source.html b/doc/html/string_8h-source.html index 12c2f26..e089bbd 100644 --- a/doc/html/string_8h-source.html +++ b/doc/html/string_8h-source.html @@ -8,7 +8,6 @@
    • Main Page
    • -
    • Namespaces
    • Data Structures
    • Files
    • Directories
    • @@ -62,58 +61,25 @@ 00030 #ifndef _STRING_H 00031 #define _STRING_H 00032 -00033 #include <ubixos/types.h> +00033 #include <ubixos/types.h> 00034 -00035 void * memcpy(void * dst, const void * src, size_t length); -00036 void *memset(void * dst, int c, size_t length); -00037 int strlen(const char * string); -00038 int strcmp(const char *,const char *); -00039 -00040 int sprintf(char * str, const char * format, ...); +00035 char *strcpy(char *dst,const char *src); +00036 +00037 void *memcpy(void * dst, const void * src, size_t length); +00038 void *memset(void * dst, int c, size_t length); +00039 int strlen(const char * string); +00040 int strcmp(const char *,const char *); 00041 -00042 long strtol(const char * __restrict nptr, char ** __restrict endptr, int base); +00042 int sprintf(char * str, const char * format, ...); 00043 -00044 #endif -00045 -00046 /*** -00047 $Log$ -00048 Revision 1.1.1.1 2006/06/01 12:46:13 reddawg -00049 ubix2 -00050 -00051 Revision 1.2 2005/10/12 00:13:36 reddawg -00052 Removed -00053 -00054 Revision 1.1.1.1 2005/09/26 17:23:38 reddawg -00055 no message -00056 -00057 Revision 1.5 2004/07/21 10:02:09 reddawg -00058 devfs: renamed functions -00059 device system: renamed functions -00060 fdc: fixed a few potential bugs and cleaned up some unused variables -00061 strol: fixed definition -00062 endtask: made it print out freepage debug info -00063 kmalloc: fixed a huge memory leak we had some unhandled descriptor insertion so some descriptors were lost -00064 ld: fixed a pointer conversion -00065 file: cleaned up a few unused variables -00066 sched: broke task deletion -00067 kprintf: fixed ogPrintf definition -00068 -00069 Revision 1.4 2004/07/05 23:06:32 reddawg -00070 Fixens -00071 -00072 Revision 1.3 2004/06/04 13:29:56 reddawg -00073 libc: modified mkdir(); interface -00074 kpanic: kPanic(); now says kPanic: %s -00075 system: now reboots when receives message for reboot -00076 also when command start sde is received by system the STD is started -00077 -00078 Revision 1.2 2004/05/21 15:22:35 reddawg -00079 Cleaned up -00080 -00081 -00082 END -00083 ***/ -

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +00044 long strtol(const char * __restrict nptr, char ** __restrict endptr, int base); +00045 +00046 #endif +00047 +00048 /*** +00049 END +00050 ***/ +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/string_8h.html b/doc/html/string_8h.html index d4f5707..1882656 100644 --- a/doc/html/string_8h.html +++ b/doc/html/string_8h.html @@ -8,7 +8,6 @@ -

    string.h File Reference

    #include <ubixos/types.h>
    +

    string.h File Reference

    #include <ubixos/types.h>

    Go to the source code of this file. - + - + + + @@ -69,7 +70,7 @@ - + @@ -104,7 +105,7 @@ - + @@ -191,7 +192,36 @@

    -Definition at line 42 of file string.c. +Definition at line 32 of file string.c. + +

    + +

    +
    +

    Functions

    void * memcpy (void *dst, const void *src, size_t length)
    void * memcpy (void *dst, const void *src, size_t length)
    void * memset (void *dst, int c, size_t length)
    void * memset (void *dst, int c, size_t length)
    int sprintf (char *str, const char *format,...)
    int strcmp (const char *, const char *)
    char * strcpy (char *dst, const char *src)
    int strlen (const char *string)
    long strtol (const char *__restrict nptr, char **__restrict endptr, int base)
    size_t size_t  length 
    size_t size_t  length 
    + + + + + + + + + + + + + + + + + +
    char* strcpy (char *  dst,
    const char *  src 
    )
    + +

    + +

    +

    @@ -212,8 +242,6 @@

    -

    -Definition at line 91 of file string.c.

    @@ -257,7 +285,7 @@ Referenced by inet_aton().

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:09 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/strtok_8c-source.html b/doc/html/strtok_8c-source.html index 0d7a58a..24c7df6 100644 --- a/doc/html/strtok_8c-source.html +++ b/doc/html/strtok_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:07 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/strtok_8c.html b/doc/html/strtok_8c.html index c2e45e8..57d5e84 100644 --- a/doc/html/strtok_8c.html +++ b/doc/html/strtok_8c.html @@ -8,7 +8,6 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/isa/fdc.h
    -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structTMode__Rec.html b/doc/html/structTMode__Rec.html index a6717ef..1c9fb35 100644 --- a/doc/html/structTMode__Rec.html +++ b/doc/html/structTMode__Rec.html @@ -8,7 +8,6 @@

    TMode_Rec Struct Reference

    #include <ogDisplay_VESA.h> @@ -35,71 +33,71 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +

    Public Member Functions

    uInt8 paddington[461] __attribute__ ((packed))
    uInt8 paddington[461] __attribute__ ((packed))
    uInt16 OffScreenMemSize __attribute__ ((packed))
    uInt16 OffScreenMemSize __attribute__ ((packed))
    void *OffScreenMemOffset __attribute__ ((packed))
    uInt32 physBasePtr __attribute__ ((packed))
    uInt32 physBasePtr __attribute__ ((packed))
    uInt8 DirectColourMode __attribute__ ((packed))
    uInt8 DirectColourMode __attribute__ ((packed))
    uInt8 AlphaFieldPosition __attribute__ ((packed))
    uInt8 AlphaFieldPosition __attribute__ ((packed))
    uInt8 AlphaMaskSize __attribute__ ((packed))
    uInt8 AlphaMaskSize __attribute__ ((packed))
    uInt8 BlueFieldPosition __attribute__ ((packed))
    uInt8 BlueFieldPosition __attribute__ ((packed))
    uInt8 BlueMaskSize __attribute__ ((packed))
    uInt8 BlueMaskSize __attribute__ ((packed))
    uInt8 GreenFieldPosition __attribute__ ((packed))
    uInt8 GreenFieldPosition __attribute__ ((packed))
    uInt8 GreenMaskSize __attribute__ ((packed))
    uInt8 GreenMaskSize __attribute__ ((packed))
    uInt8 RedFieldPosition __attribute__ ((packed))
    uInt8 RedFieldPosition __attribute__ ((packed))
    uInt8 RedMaskSize __attribute__ ((packed))
    uInt8 RedMaskSize __attribute__ ((packed))
    uInt8 Reserved __attribute__ ((packed))
    uInt8 Reserved __attribute__ ((packed))
    uInt8 NumOfImagePages __attribute__ ((packed))
    uInt8 NumOfImagePages __attribute__ ((packed))
    uInt8 BankSize __attribute__ ((packed))
    uInt8 BankSize __attribute__ ((packed))
    uInt8 MemoryModel __attribute__ ((packed))
    uInt8 MemoryModel __attribute__ ((packed))
    uInt8 NumberOfBanks __attribute__ ((packed))
    uInt8 NumberOfBanks __attribute__ ((packed))
    uInt8 BitsPerPixel __attribute__ ((packed))
    uInt8 BitsPerPixel __attribute__ ((packed))
    uInt8 NumBitPlanes __attribute__ ((packed))
    uInt8 NumBitPlanes __attribute__ ((packed))
    uInt8 CharHeight __attribute__ ((packed))
    uInt8 CharHeight __attribute__ ((packed))
    uInt8 CharWidth __attribute__ ((packed))
    uInt8 CharWidth __attribute__ ((packed))
    uInt16 yRes __attribute__ ((packed))
    uInt16 yRes __attribute__ ((packed))
    uInt16 xRes __attribute__ ((packed))
    uInt16 xRes __attribute__ ((packed))
    uInt16 BytesPerLine __attribute__ ((packed))
    uInt16 BytesPerLine __attribute__ ((packed))
    void *BankSwitch __attribute__ ((packed))
    uInt16 WindowBSeg __attribute__ ((packed))
    uInt16 WindowBSeg __attribute__ ((packed))
    uInt16 WindowASeg __attribute__ ((packed))
    uInt16 WindowASeg __attribute__ ((packed))
    uInt16 WindowSize __attribute__ ((packed))
    uInt16 WindowSize __attribute__ ((packed))
    uInt16 Granularity __attribute__ ((packed))
    uInt16 Granularity __attribute__ ((packed))
    uInt8 WindowBFlags __attribute__ ((packed))
    uInt8 WindowBFlags __attribute__ ((packed))
    uInt8 WindowAFlags __attribute__ ((packed))
    uInt8 WindowAFlags __attribute__ ((packed))
    uInt16 ModeAttributes __attribute__ ((packed))
    uInt16 ModeAttributes __attribute__ ((packed))

    Detailed Description

    @@ -113,7 +111,7 @@
    - + @@ -133,7 +131,7 @@
    uInt8 paddington [461] TMode_Rec::__attribute__ uInt8 paddington [461] TMode_Rec::__attribute__ ( (packed
    - + @@ -173,7 +171,7 @@
    uInt16 OffScreenMemSize TMode_Rec::__attribute__ uInt16 OffScreenMemSize TMode_Rec::__attribute__ ( (packed
    - + @@ -193,7 +191,7 @@
    uInt32 physBasePtr TMode_Rec::__attribute__ uInt32 physBasePtr TMode_Rec::__attribute__ ( (packed
    - + @@ -213,7 +211,7 @@
    uInt8 DirectColourMode TMode_Rec::__attribute__ uInt8 DirectColourMode TMode_Rec::__attribute__ ( (packed
    - + @@ -233,7 +231,7 @@
    uInt8 AlphaFieldPosition TMode_Rec::__attribute__ uInt8 AlphaFieldPosition TMode_Rec::__attribute__ ( (packed
    - + @@ -253,7 +251,7 @@
    uInt8 AlphaMaskSize TMode_Rec::__attribute__ uInt8 AlphaMaskSize TMode_Rec::__attribute__ ( (packed
    - + @@ -273,7 +271,7 @@
    uInt8 BlueFieldPosition TMode_Rec::__attribute__ uInt8 BlueFieldPosition TMode_Rec::__attribute__ ( (packed
    - + @@ -293,7 +291,7 @@
    uInt8 BlueMaskSize TMode_Rec::__attribute__ uInt8 BlueMaskSize TMode_Rec::__attribute__ ( (packed
    - + @@ -313,7 +311,7 @@
    uInt8 GreenFieldPosition TMode_Rec::__attribute__ uInt8 GreenFieldPosition TMode_Rec::__attribute__ ( (packed
    - + @@ -333,7 +331,7 @@
    uInt8 GreenMaskSize TMode_Rec::__attribute__ uInt8 GreenMaskSize TMode_Rec::__attribute__ ( (packed
    - + @@ -353,7 +351,7 @@
    uInt8 RedFieldPosition TMode_Rec::__attribute__ uInt8 RedFieldPosition TMode_Rec::__attribute__ ( (packed
    - + @@ -373,7 +371,7 @@
    uInt8 RedMaskSize TMode_Rec::__attribute__ uInt8 RedMaskSize TMode_Rec::__attribute__ ( (packed
    - + @@ -393,7 +391,7 @@
    uInt8 Reserved TMode_Rec::__attribute__ uInt8 Reserved TMode_Rec::__attribute__ ( (packed
    - + @@ -413,7 +411,7 @@
    uInt8 NumOfImagePages TMode_Rec::__attribute__ uInt8 NumOfImagePages TMode_Rec::__attribute__ ( (packed
    - + @@ -433,7 +431,7 @@
    uInt8 BankSize TMode_Rec::__attribute__ uInt8 BankSize TMode_Rec::__attribute__ ( (packed
    - + @@ -453,7 +451,7 @@
    uInt8 MemoryModel TMode_Rec::__attribute__ uInt8 MemoryModel TMode_Rec::__attribute__ ( (packed
    - + @@ -473,7 +471,7 @@
    uInt8 NumberOfBanks TMode_Rec::__attribute__ uInt8 NumberOfBanks TMode_Rec::__attribute__ ( (packed
    - + @@ -493,7 +491,7 @@
    uInt8 BitsPerPixel TMode_Rec::__attribute__ uInt8 BitsPerPixel TMode_Rec::__attribute__ ( (packed
    - + @@ -513,7 +511,7 @@
    uInt8 NumBitPlanes TMode_Rec::__attribute__ uInt8 NumBitPlanes TMode_Rec::__attribute__ ( (packed
    - + @@ -533,7 +531,7 @@
    uInt8 CharHeight TMode_Rec::__attribute__ uInt8 CharHeight TMode_Rec::__attribute__ ( (packed
    - + @@ -553,7 +551,7 @@
    uInt8 CharWidth TMode_Rec::__attribute__ uInt8 CharWidth TMode_Rec::__attribute__ ( (packed
    - + @@ -573,7 +571,7 @@
    uInt16 yRes TMode_Rec::__attribute__ uInt16 yRes TMode_Rec::__attribute__ ( (packed
    - + @@ -593,7 +591,7 @@
    uInt16 xRes TMode_Rec::__attribute__ uInt16 xRes TMode_Rec::__attribute__ ( (packed
    - + @@ -633,7 +631,7 @@
    uInt16 BytesPerLine TMode_Rec::__attribute__ uInt16 BytesPerLine TMode_Rec::__attribute__ ( (packed
    - + @@ -653,7 +651,7 @@
    uInt16 WindowBSeg TMode_Rec::__attribute__ uInt16 WindowBSeg TMode_Rec::__attribute__ ( (packed
    - + @@ -673,7 +671,7 @@
    uInt16 WindowASeg TMode_Rec::__attribute__ uInt16 WindowASeg TMode_Rec::__attribute__ ( (packed
    - + @@ -693,7 +691,7 @@
    uInt16 WindowSize TMode_Rec::__attribute__ uInt16 WindowSize TMode_Rec::__attribute__ ( (packed
    - + @@ -713,7 +711,7 @@
    uInt16 Granularity TMode_Rec::__attribute__ uInt16 Granularity TMode_Rec::__attribute__ ( (packed
    - + @@ -733,7 +731,7 @@
    uInt8 WindowBFlags TMode_Rec::__attribute__ uInt8 WindowBFlags TMode_Rec::__attribute__ ( (packed
    - + @@ -753,7 +751,7 @@
    uInt8 WindowAFlags TMode_Rec::__attribute__ uInt8 WindowAFlags TMode_Rec::__attribute__ ( (packed
    - + @@ -770,7 +768,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:06 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:20 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structTVESA__Rec.html b/doc/html/structTVESA__Rec.html index 196dcbb..1f008c8 100644 --- a/doc/html/structTVESA__Rec.html +++ b/doc/html/structTVESA__Rec.html @@ -8,7 +8,6 @@

    TVESA_Rec Struct Reference

    #include <ogDisplay_VESA.h> @@ -35,27 +33,27 @@
    uInt16 ModeAttributes TMode_Rec::__attribute__ uInt16 ModeAttributes TMode_Rec::__attribute__ ( (packed
    - + - + - + - + - + - + - + - + - + - + - + @@ -71,7 +69,7 @@

    Public Member Functions

    uInt8 paddington[474] __attribute__ ((packed))
    uInt8 paddington[474] __attribute__ ((packed))
    uInt32 OEMProductRevPtr __attribute__ ((packed))
    uInt32 OEMProductRevPtr __attribute__ ((packed))
    uInt32 OEMProductNamePtr __attribute__ ((packed))
    uInt32 OEMProductNamePtr __attribute__ ((packed))
    uInt32 OEMVendorNamePtr __attribute__ ((packed))
    uInt32 OEMVendorNamePtr __attribute__ ((packed))
    uInt16 OEMSoftwareRev __attribute__ ((packed))
    uInt16 OEMSoftwareRev __attribute__ ((packed))
    uInt16 TotalMemory __attribute__ ((packed))
    uInt16 TotalMemory __attribute__ ((packed))
    uInt32 VideoModePtr __attribute__ ((packed))
    uInt32 VideoModePtr __attribute__ ((packed))
    uInt32 Capabilities __attribute__ ((packed))
    uInt32 Capabilities __attribute__ ((packed))
    uInt32 OEMStringPtr __attribute__ ((packed))
    uInt32 OEMStringPtr __attribute__ ((packed))
    uInt8 majVersion __attribute__ ((packed))
    uInt8 majVersion __attribute__ ((packed))
    uInt8 minVersion __attribute__ ((packed))
    uInt8 minVersion __attribute__ ((packed))
    char VBESignature[4] __attribute__ ((packed))
    - + @@ -91,7 +89,7 @@
    uInt8 paddington [474] TVESA_Rec::__attribute__ uInt8 paddington [474] TVESA_Rec::__attribute__ ( (packed
    - + @@ -111,7 +109,7 @@
    uInt32 OEMProductRevPtr TVESA_Rec::__attribute__ uInt32 OEMProductRevPtr TVESA_Rec::__attribute__ ( (packed
    - + @@ -131,7 +129,7 @@
    uInt32 OEMProductNamePtr TVESA_Rec::__attribute__ uInt32 OEMProductNamePtr TVESA_Rec::__attribute__ ( (packed
    - + @@ -151,7 +149,7 @@
    uInt32 OEMVendorNamePtr TVESA_Rec::__attribute__ uInt32 OEMVendorNamePtr TVESA_Rec::__attribute__ ( (packed
    - + @@ -171,7 +169,7 @@
    uInt16 OEMSoftwareRev TVESA_Rec::__attribute__ uInt16 OEMSoftwareRev TVESA_Rec::__attribute__ ( (packed
    - + @@ -191,7 +189,7 @@
    uInt16 TotalMemory TVESA_Rec::__attribute__ uInt16 TotalMemory TVESA_Rec::__attribute__ ( (packed
    - + @@ -211,7 +209,7 @@
    uInt32 VideoModePtr TVESA_Rec::__attribute__ uInt32 VideoModePtr TVESA_Rec::__attribute__ ( (packed
    - + @@ -231,7 +229,7 @@
    uInt32 Capabilities TVESA_Rec::__attribute__ uInt32 Capabilities TVESA_Rec::__attribute__ ( (packed
    - + @@ -251,7 +249,7 @@
    uInt32 OEMStringPtr TVESA_Rec::__attribute__ uInt32 OEMStringPtr TVESA_Rec::__attribute__ ( (packed
    - + @@ -271,7 +269,7 @@
    uInt8 majVersion TVESA_Rec::__attribute__ uInt8 majVersion TVESA_Rec::__attribute__ ( (packed
    - + @@ -308,7 +306,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:06 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:21 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/struct__UbixUser.html b/doc/html/struct__UbixUser.html index 26bd596..e95ffff 100644 --- a/doc/html/struct__UbixUser.html +++ b/doc/html/struct__UbixUser.html @@ -8,7 +8,6 @@

    _UbixUser Struct Reference

    uInt8 minVersion TVESA_Rec::__attribute__ uInt8 minVersion TVESA_Rec::__attribute__ ( (packed
    @@ -164,7 +162,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/struct____sigset.html b/doc/html/struct____sigset.html index b5af3d8..e8e84f2 100644 --- a/doc/html/struct____sigset.html +++ b/doc/html/struct____sigset.html @@ -8,7 +8,6 @@

    __sigset Struct Reference

    #include <signal.h> @@ -63,7 +61,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/struct____timespec.html b/doc/html/struct____timespec.html index abedb5a..2f80a81 100644 --- a/doc/html/struct____timespec.html +++ b/doc/html/struct____timespec.html @@ -8,7 +8,6 @@

    __timespec Struct Reference

    #include <kern_descrip.h> @@ -45,7 +43,7 @@

    -Definition at line 96 of file kern_descrip.h.


    Field Documentation

    +Definition at line 100 of file kern_descrip.h.

    Field Documentation

    @@ -60,7 +58,7 @@

    -Definition at line 98 of file kern_descrip.h. +Definition at line 102 of file kern_descrip.h.

    @@ -77,12 +75,12 @@

    -Definition at line 97 of file kern_descrip.h. +Definition at line 101 of file kern_descrip.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/struct__item__t.html b/doc/html/struct__item__t.html index 3505320..44b1544 100644 --- a/doc/html/struct__item__t.html +++ b/doc/html/struct__item__t.html @@ -8,7 +8,6 @@

    _item_t Struct Reference

    #include <lists.h> @@ -103,7 +101,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/struct__list__t.html b/doc/html/struct__list__t.html index 10fc9fc..a4701d3 100644 --- a/doc/html/struct__list__t.html +++ b/doc/html/struct__list__t.html @@ -8,7 +8,6 @@

    _list_t Struct Reference

    #include <lists.h> @@ -82,7 +80,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structapi__msg.html b/doc/html/structapi__msg.html index 6b018b4..5177a78 100644 --- a/doc/html/structapi__msg.html +++ b/doc/html/structapi__msg.html @@ -8,7 +8,6 @@

    api_msg Struct Reference

    #include <api_msg.h> @@ -86,7 +84,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structapi__msg__msg.html b/doc/html/structapi__msg__msg.html index fb871fd..a95bc93 100644 --- a/doc/html/structapi__msg__msg.html +++ b/doc/html/structapi__msg__msg.html @@ -8,7 +8,6 @@

    api_msg_msg Struct Reference

    #include <api_msg.h> @@ -45,11 +43,11 @@
    - + - + @@ -61,7 +59,7 @@ - + @@ -183,7 +181,7 @@
          ip_addr *   ipaddr
          uInt16   port
          uInt16   port
       }   bc
       uInt16   len
       uInt16   len
       sys_mbox_t   mbox
          void *   dataptr
          uInt16   len
          uInt16   len
       }   w
    - +
    uInt16 api_msg_msg::len uInt16 api_msg_msg::len
    @@ -255,7 +253,7 @@ @@ -286,7 +284,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structarp__entry.html b/doc/html/structarp__entry.html index 82ecce6..dd22984 100644 --- a/doc/html/structarp__entry.html +++ b/doc/html/structarp__entry.html @@ -8,7 +8,6 @@

    arp_entry Struct Reference

    - + @@ -51,7 +49,7 @@

    Data Fields

    uInt8 ctime
    uInt8 ctime
    eth_addr ethaddr
    - +
    uInt8 arp_entry::ctime uInt8 arp_entry::ctime
    @@ -105,7 +103,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structarp__hdr.html b/doc/html/structarp__hdr.html index b2da725..7e44f39 100644 --- a/doc/html/structarp__hdr.html +++ b/doc/html/structarp__hdr.html @@ -8,7 +8,6 @@

    arp_hdr Struct Reference

    @@ -41,13 +39,13 @@ - + - + - + - + @@ -145,7 +143,7 @@ - + @@ -165,7 +163,7 @@ - + @@ -185,7 +183,7 @@ - + @@ -205,7 +203,7 @@ - + @@ -240,7 +238,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structarpcom.html b/doc/html/structarpcom.html index 51fc0cf..27eccb4 100644 --- a/doc/html/structarpcom.html +++ b/doc/html/structarpcom.html @@ -8,7 +8,6 @@

    arpcom Struct Reference

    #include <lnc.h> @@ -35,7 +33,7 @@
     PACK_STRUCT_FIELD (struct eth_addr shwaddr)
     PACK_STRUCT_FIELD (uInt16 opcode)
     PACK_STRUCT_FIELD (uInt16 opcode)
     PACK_STRUCT_FIELD (uInt16 _hwlen_protolen)
     PACK_STRUCT_FIELD (uInt16 _hwlen_protolen)
     PACK_STRUCT_FIELD (uInt16 proto)
     PACK_STRUCT_FIELD (uInt16 proto)
     PACK_STRUCT_FIELD (uInt16 hwtype)
     PACK_STRUCT_FIELD (uInt16 hwtype)
     PACK_STRUCT_FIELD (struct eth_hdr ethhdr)
    arp_hdr::PACK_STRUCT_FIELD (uInt16 uInt16  opcode  ) 
    arp_hdr::PACK_STRUCT_FIELD (uInt16 uInt16  _hwlen_protolen  ) 
    arp_hdr::PACK_STRUCT_FIELD (uInt16 uInt16  proto  ) 
    arp_hdr::PACK_STRUCT_FIELD (uInt16 uInt16  hwtype  ) 
    - + @@ -53,7 +51,7 @@

    Data Fields

    uInt8 ac_enaddr [6]
    uInt8 ac_enaddr [6]
    int ac_multicnt
    - +
    uInt8 arpcom::ac_enaddr[6] uInt8 arpcom::ac_enaddr[6]
    @@ -103,7 +101,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/pci/lnc.h
    -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structblockAllocationTableEntry.html b/doc/html/structblockAllocationTableEntry.html index cfaf7da..815adff 100644 --- a/doc/html/structblockAllocationTableEntry.html +++ b/doc/html/structblockAllocationTableEntry.html @@ -8,7 +8,6 @@ -

    blockAllocationTableEntry Struct Reference

    #include <ubixfs.h> +

    blockAllocationTableEntry Struct Reference

    #include <ubixfs.h>

    @@ -49,7 +47,7 @@

    -Definition at line 95 of file ubixfs.h.


    Field Documentation

    +Definition at line 95 of file ubixfs.h.

    Field Documentation

    @@ -64,7 +62,7 @@

    -Definition at line 96 of file ubixfs.h. +Definition at line 96 of file ubixfs.h.

    Referenced by freeBlocks(), and getFreeBlocks().

    @@ -83,7 +81,7 @@

    -Definition at line 98 of file ubixfs.h. +Definition at line 98 of file ubixfs.h.

    Referenced by freeBlocks(), getFreeBlocks(), ubixfs_loadData(), writeFileByte(), and writeUbixFS().

    @@ -102,7 +100,7 @@

    -Definition at line 97 of file ubixfs.h. +Definition at line 97 of file ubixfs.h.

    Referenced by ubixfs_loadData(), ubixFSmkDir(), and writeUbixFS(). @@ -121,12 +119,12 @@

    -Definition at line 99 of file ubixfs.h. +Definition at line 99 of file ubixfs.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
  • src/sys/include/ubixfs/ubixfs.h +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structbootSect.html b/doc/html/structbootSect.html index 78ead1b..ba3dcdf 100644 --- a/doc/html/structbootSect.html +++ b/doc/html/structbootSect.html @@ -8,7 +8,6 @@ -

    bootSect Struct Reference

    #include <ubixfs.h> +

    bootSect Struct Reference

    #include <ubixfs.h>

  • - + - + - + - + - + - + - + - + - + - + - + - +

    Data Fields

    uInt BytesPerSector
    uInt BytesPerSector
    uInt8 code [479]
    uInt8 code [479]
    uInt16 fsStart
    uInt16 fsStart
    uInt8 id [6]
    uInt8 id [6]
    uInt8 jmp [4]
    uInt8 jmp [4]
    uInt32 krnl_start
    uInt32 krnl_start
    uInt SectersPerTrack
    uInt SectersPerTrack
    uInt16 tmp
    uInt16 tmp
    uInt16 tmp2
    uInt16 tmp2
    uInt TotalHeads
    uInt TotalHeads
    uInt32 TotalSectors
    uInt32 TotalSectors
    uInt16 version
    uInt16 version


    Detailed Description

    @@ -65,13 +63,13 @@

    -Definition at line 115 of file ubixfs.h.


    Field Documentation

    +Definition at line 115 of file ubixfs.h.

    Field Documentation

    @@ -80,7 +78,7 @@

    -Definition at line 123 of file ubixfs.h. +Definition at line 123 of file ubixfs.h.

    @@ -88,7 +86,7 @@

    @@ -97,7 +95,7 @@

    -Definition at line 127 of file ubixfs.h. +Definition at line 127 of file ubixfs.h.

    @@ -105,7 +103,7 @@

    @@ -114,7 +112,7 @@

    -Definition at line 120 of file ubixfs.h. +Definition at line 120 of file ubixfs.h.

    @@ -122,7 +120,7 @@

    @@ -131,7 +129,7 @@

    -Definition at line 117 of file ubixfs.h. +Definition at line 117 of file ubixfs.h.

    @@ -139,7 +137,7 @@

    @@ -148,7 +146,7 @@

    -Definition at line 116 of file ubixfs.h. +Definition at line 116 of file ubixfs.h.

    @@ -156,7 +154,7 @@

    @@ -165,7 +163,7 @@

    -Definition at line 122 of file ubixfs.h. +Definition at line 122 of file ubixfs.h.

    @@ -173,7 +171,7 @@

    @@ -182,7 +180,7 @@

    -Definition at line 124 of file ubixfs.h. +Definition at line 124 of file ubixfs.h.

    @@ -190,7 +188,7 @@

    @@ -199,7 +197,7 @@

    -Definition at line 119 of file ubixfs.h. +Definition at line 119 of file ubixfs.h.

    @@ -207,7 +205,7 @@

    @@ -216,7 +214,7 @@

    -Definition at line 121 of file ubixfs.h. +Definition at line 121 of file ubixfs.h.

    @@ -224,7 +222,7 @@

    @@ -233,7 +231,7 @@

    -Definition at line 125 of file ubixfs.h. +Definition at line 125 of file ubixfs.h.

    @@ -241,7 +239,7 @@

    @@ -250,7 +248,7 @@

    -Definition at line 126 of file ubixfs.h. +Definition at line 126 of file ubixfs.h.

    @@ -258,7 +256,7 @@

    @@ -267,12 +265,12 @@

    -Definition at line 118 of file ubixfs.h. +Definition at line 118 of file ubixfs.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
  • src/sys/include/ubixfs/ubixfs.h +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structbsd__disklabel.html b/doc/html/structbsd__disklabel.html index 319a0ed..a7cab70 100644 --- a/doc/html/structbsd__disklabel.html +++ b/doc/html/structbsd__disklabel.html @@ -8,7 +8,6 @@

    bsd_disklabel Struct Reference

    #include <hd.h> @@ -35,61 +33,61 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -108,7 +106,7 @@

    Data Fields

    u_int32_t d_acylinders
    u_int32_t d_acylinders
    u_int32_t d_bbsize
    u_int32_t d_bbsize
    u_int16_t d_checksum
    u_int16_t d_checksum
    u_int16_t d_cylskew
    u_int16_t d_cylskew
    u_int32_t d_drivedata [NDDATA]
    u_int32_t d_drivedata [NDDATA]
    u_int32_t d_flags
    u_int32_t d_flags
    u_int32_t d_headswitch
    u_int32_t d_headswitch
    u_int16_t d_interleave
    u_int16_t d_interleave
    u_int32_t d_magic
    u_int32_t d_magic
    u_int32_t d_magic2
    u_int32_t d_magic2
    u_int32_t d_ncylinders
    u_int32_t d_ncylinders
    u_int16_t d_npartitions
    u_int16_t d_npartitions
    u_int32_t d_nsectors
    u_int32_t d_nsectors
    u_int32_t d_ntracks
    u_int32_t d_ntracks
    char d_packname [16]
    bsd_disklabel::partition d_partitions [MAXPARTITIONS]
    u_int16_t d_rpm
    u_int16_t d_rpm
    u_int32_t d_sbsize
    u_int32_t d_sbsize
    u_int32_t d_secpercyl
    u_int32_t d_secpercyl
    u_int32_t d_secperunit
    u_int32_t d_secperunit
    u_int32_t d_secsize
    u_int32_t d_secsize
    u_int32_t d_spare [NSPARE]
    u_int32_t d_spare [NSPARE]
    u_int16_t d_sparespercyl
    u_int16_t d_sparespercyl
    u_int16_t d_sparespertrack
    u_int16_t d_sparespertrack
    u_int16_t d_subtype
    u_int16_t d_subtype
    u_int16_t d_trackskew
    u_int16_t d_trackskew
    u_int32_t d_trkseek
    u_int32_t d_trkseek
    u_int16_t d_type
    u_int16_t d_type
    char d_typename [16]
    - +
    u_int32_t bsd_disklabel::d_acylinders u_int32_t bsd_disklabel::d_acylinders
    @@ -125,7 +123,7 @@ @@ -142,7 +140,7 @@ @@ -159,7 +157,7 @@ @@ -176,7 +174,7 @@ @@ -193,7 +191,7 @@ @@ -210,7 +208,7 @@ @@ -227,7 +225,7 @@ @@ -244,7 +242,7 @@ @@ -261,7 +259,7 @@ @@ -278,7 +276,7 @@ @@ -295,7 +293,7 @@ @@ -314,7 +312,7 @@ @@ -331,7 +329,7 @@ @@ -382,7 +380,7 @@ @@ -399,7 +397,7 @@ @@ -416,7 +414,7 @@ @@ -433,7 +431,7 @@ @@ -450,7 +448,7 @@ @@ -467,7 +465,7 @@ @@ -484,7 +482,7 @@ @@ -501,7 +499,7 @@ @@ -518,7 +516,7 @@ @@ -535,7 +533,7 @@ @@ -552,7 +550,7 @@ @@ -569,7 +567,7 @@ @@ -600,7 +598,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/pci/hd.h
    -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structbsd__disklabel_1_1partition.html b/doc/html/structbsd__disklabel_1_1partition.html index c1fbd35..04a9a2a 100644 --- a/doc/html/structbsd__disklabel_1_1partition.html +++ b/doc/html/structbsd__disklabel_1_1partition.html @@ -8,7 +8,6 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/pci/hd.h
    -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structbuf.html b/doc/html/structbuf.html index 8071414..c4421cf 100644 --- a/doc/html/structbuf.html +++ b/doc/html/structbuf.html @@ -8,7 +8,6 @@

    buf Struct Reference

    #include <buf.h> @@ -42,7 +40,7 @@

    Definition at line 37 of file buf.h.


    The documentation for this struct was generated from the following file:
    • src/sys/include/sys/buf.h
    -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structcacheNode.html b/doc/html/structcacheNode.html index ea388b0..7883466 100644 --- a/doc/html/structcacheNode.html +++ b/doc/html/structcacheNode.html @@ -8,7 +8,6 @@

    cacheNode Struct Reference

    #include <dirCache.h> @@ -35,7 +33,7 @@ - + @@ -51,7 +49,7 @@ - + @@ -59,7 +57,7 @@ - +

    Data Fields

    uInt16attributes
    uInt16attributes
    int dirty
    cacheNodeparent
    uInt16permissions
    uInt16permissions
    int present
    int * size
    uInt32startCluster
    uInt32startCluster

    Detailed Description

    @@ -73,7 +71,7 @@ @@ -160,7 +158,7 @@

    Definition at line 14 of file dirCache.h.

    -Referenced by openFileUbixFS(), ubixfs_cacheDelete(), ubixfs_cacheFind(), ubixfs_cacheNew(), and ubixfs_initialize(). +Referenced by openFileUbixFS(), readUbixFS(), ubixfs_cacheDelete(), ubixfs_cacheFind(), ubixfs_cacheNew(), and ubixfs_initialize().

    @@ -225,7 +223,7 @@

    @@ -255,7 +253,7 @@

    Definition at line 16 of file dirCache.h.

    -Referenced by openFileUbixFS(), ubixfs_cacheFind(), ubixfs_cacheNew(), and ubixfs_initialize(). +Referenced by openFileUbixFS(), readUbixFS(), ubixfs_cacheFind(), ubixfs_cacheNew(), and ubixfs_initialize().

    @@ -301,7 +299,7 @@

    @@ -317,7 +315,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structclose__args.html b/doc/html/structclose__args.html index 8a96c48..9cb7b53 100644 --- a/doc/html/structclose__args.html +++ b/doc/html/structclose__args.html @@ -8,7 +8,6 @@

    close_args Struct Reference

    #include <sysproto.h> @@ -47,7 +45,7 @@

    -Definition at line 93 of file sysproto.h.


    Field Documentation

    +Definition at line 108 of file sysproto.h.

    Field Documentation

    @@ -62,9 +60,9 @@

    -Definition at line 94 of file sysproto.h. +Definition at line 109 of file sysproto.h.

    -Referenced by close(). +Referenced by close().

    @@ -81,7 +79,7 @@

    -Definition at line 94 of file sysproto.h. +Definition at line 109 of file sysproto.h.

    @@ -98,12 +96,12 @@

    -Definition at line 94 of file sysproto.h. +Definition at line 109 of file sysproto.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structconfadd.html b/doc/html/structconfadd.html index 75f1884..7af3381 100644 --- a/doc/html/structconfadd.html +++ b/doc/html/structconfadd.html @@ -8,7 +8,6 @@

    confadd Struct Reference

    #include <pci.h> @@ -35,17 +33,17 @@ - + - + - + - + - + - +

    Data Fields

    uInt8 bus:8
    uInt8 bus:8
    uInt8 dev:5
    uInt8 dev:5
    uInt8 enable:1
    uInt8 enable:1
    uInt8 func:3
    uInt8 func:3
    uInt8 reg:8
    uInt8 reg:8
    uInt8 rsvd:7
    uInt8 rsvd:7

    Detailed Description

    @@ -59,7 +57,7 @@ @@ -78,7 +76,7 @@ @@ -95,7 +93,7 @@ @@ -112,7 +110,7 @@ @@ -131,7 +129,7 @@ @@ -148,7 +146,7 @@ @@ -162,7 +160,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/pci/pci.h
    -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structcpuinfo__t.html b/doc/html/structcpuinfo__t.html index 15f6344..3a7c6a1 100644 --- a/doc/html/structcpuinfo__t.html +++ b/doc/html/structcpuinfo__t.html @@ -8,7 +8,6 @@

    cpuinfo_t Struct Reference

    #include <smp.h> @@ -35,23 +33,23 @@ - + - + - + - + - + - + - +

    Data Fields

    uInt8 apic_id
    uInt8 apic_id
    uInt8 apic_ver
    uInt8 apic_ver
    char brand [49]
    uInt32 feature
    uInt32 feature
    uInt8 id
    uInt8 id
    char ident [17]
    uInt32 max
    uInt32 max
    uInt8 ok
    uInt8 ok
    uInt32 signature
    uInt32 signature

    Detailed Description

    @@ -65,7 +63,7 @@ @@ -84,7 +82,7 @@ @@ -122,7 +120,7 @@ @@ -141,7 +139,7 @@ @@ -179,7 +177,7 @@ @@ -198,7 +196,7 @@ @@ -217,7 +215,7 @@ @@ -233,7 +231,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/ubixos/smp.h
    -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structcsum.html b/doc/html/structcsum.html index 24aea66..c4c882e 100644 --- a/doc/html/structcsum.html +++ b/doc/html/structcsum.html @@ -8,7 +8,6 @@

    csum Struct Reference

    #include <ufs.h> @@ -35,13 +33,13 @@ - + - + - + - +

    Data Fields

    int32_t cs_nbfree
    int32_t cs_nbfree
    int32_t cs_ndir
    int32_t cs_ndir
    int32_t cs_nffree
    int32_t cs_nffree
    int32_t cs_nifree
    int32_t cs_nifree

    Detailed Description

    @@ -55,7 +53,7 @@ @@ -72,7 +70,7 @@ @@ -89,7 +87,7 @@ @@ -106,7 +104,7 @@ @@ -120,7 +118,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/ufs/ufs.h
    -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structcsum__total.html b/doc/html/structcsum__total.html index 4884892..0173e00 100644 --- a/doc/html/structcsum__total.html +++ b/doc/html/structcsum__total.html @@ -8,7 +8,6 @@

    csum_total Struct Reference

    #include <ufs.h> @@ -35,17 +33,17 @@ - + - + - + - + - + - +

    Data Fields

    int64_t cs_nbfree
    int64_t cs_nbfree
    int64_t cs_ndir
    int64_t cs_ndir
    int64_t cs_nffree
    int64_t cs_nffree
    int64_t cs_nifree
    int64_t cs_nifree
    int64_t cs_numclusters
    int64_t cs_numclusters
    int64_t cs_spare [3]
    int64_t cs_spare [3]

    Detailed Description

    @@ -59,7 +57,7 @@ @@ -76,7 +74,7 @@ @@ -93,7 +91,7 @@ @@ -110,7 +108,7 @@ @@ -127,7 +125,7 @@ @@ -144,7 +142,7 @@ @@ -158,7 +156,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/ufs/ufs.h
    -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structdevMethodType.html b/doc/html/structdevMethodType.html index eb2cd36..9eeb234 100644 --- a/doc/html/structdevMethodType.html +++ b/doc/html/structdevMethodType.html @@ -8,7 +8,6 @@

    devMethodType Struct Reference

    #include <driver.h> @@ -42,7 +40,7 @@

    Definition at line 38 of file driver.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structdevfs__devices.html b/doc/html/structdevfs__devices.html index 522bc54..f51a956 100644 --- a/doc/html/structdevfs__devices.html +++ b/doc/html/structdevfs__devices.html @@ -8,7 +8,6 @@

    devfs_devices Struct Reference

    #include <devfs.h> @@ -35,13 +33,13 @@ - + - + - + @@ -59,7 +57,7 @@

    Data Fields

    uInt16 devMajor
    uInt16 devMajor
    uInt16 devMinor
    uInt16 devMinor
    char devName [32]
    uInt8 devType
    uInt8 devType
    devfs_devicesnext
    - +
    uInt16 devfs_devices::devMajor uInt16 devfs_devices::devMajor
    @@ -78,7 +76,7 @@ @@ -116,7 +114,7 @@ @@ -170,7 +168,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structdevfs__info.html b/doc/html/structdevfs__info.html index 29b0605..e90f6fe 100644 --- a/doc/html/structdevfs__info.html +++ b/doc/html/structdevfs__info.html @@ -8,7 +8,6 @@

    devfs_info Struct Reference

    #include <devfs.h> @@ -65,7 +63,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structdevice.html b/doc/html/structdevice.html index 7e633e9..1c4177b 100644 --- a/doc/html/structdevice.html +++ b/doc/html/structdevice.html @@ -8,7 +8,6 @@

    device Struct Reference

    #include <device.old.h> @@ -35,11 +33,11 @@ - + - + - + @@ -57,7 +55,7 @@

    Data Fields

    uInt16 ioAddr
    uInt16 ioAddr
    uInt32 irq
    uInt32 irq
    uInt32 mtu
    uInt32 mtu
    netnet
    - +
    uInt16 device::ioAddr uInt16 device::ioAddr
    @@ -76,7 +74,7 @@ @@ -95,7 +93,7 @@ @@ -143,7 +141,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structdevice__interface.html b/doc/html/structdevice__interface.html index 74dee04..431120d 100644 --- a/doc/html/structdevice__interface.html +++ b/doc/html/structdevice__interface.html @@ -8,7 +8,6 @@ -

    device_interface Struct Reference

    #include <device.h> +

    device_interface Struct Reference

    #include <device.h>

    @@ -39,17 +37,17 @@ - + - + - + @@ -57,7 +55,7 @@ - +
    int(* init )(void *)
    uInt8 initialized
    uInt8 initialized
    void(* ioctl )(void *)
    int major
    void(* read )(void *, void *, uInt32, uInt32)
    void(* read )(void *, void *, uInt32, uInt32)
    void(* reset )(void *)
    uInt32 size
    uInt32 size
    void(* standby )(void *)
    void(* stop )(void *)
    void(* write )(void *, void *, uInt32, uInt32)
    void(* write )(void *, void *, uInt32, uInt32)


    Detailed Description

    @@ -65,7 +63,7 @@

    -Definition at line 48 of file device.h.


    Field Documentation

    +Definition at line 48 of file device.h.

    Field Documentation

    @@ -107,7 +105,7 @@

    @@ -116,7 +114,7 @@

    -Definition at line 49 of file device.h. +Definition at line 49 of file device.h.

    Referenced by device_add(). @@ -152,7 +150,7 @@

    -Definition at line 51 of file device.h. +Definition at line 51 of file device.h.

    Referenced by device_find(), fdc_init(), and initHardDisk(). @@ -162,7 +160,7 @@

    - +
    void(* device_interface::read)(void *, void *, uInt32, uInt32) void(* device_interface::read)(void *, void *, uInt32, uInt32)
    @@ -171,7 +169,7 @@

    -Referenced by devfs_read(), devfs_write(), fdc_init(), initHardDisk(), ubixfs_initialize(), and ubixFSUnlink(). +Referenced by devfs_read(), devfs_write(), dskread(), fdc_init(), initHardDisk(), openFileUbixFS(), ubixfs_initialize(), ubixfs_loadData(), ubixFSUnlink(), and writeUbixFS().

    @@ -196,7 +194,7 @@

    @@ -205,7 +203,7 @@

    -Definition at line 50 of file device.h. +Definition at line 50 of file device.h.

    Referenced by devfs_open(). @@ -266,7 +264,7 @@

    - +
    void(* device_interface::write)(void *, void *, uInt32, uInt32) void(* device_interface::write)(void *, void *, uInt32, uInt32)
    @@ -275,12 +273,12 @@

    -Referenced by devfs_write(), fdc_init(), initHardDisk(), syncBat(), and ubixFSUnlink(). +Referenced by devfs_write(), fdc_init(), initHardDisk(), syncBat(), ubixFSmkDir(), ubixFSUnlink(), and writeUbixFS().


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
  • src/sys/include/sys/device.h +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structdevice__node.html b/doc/html/structdevice__node.html index 6c90baa..813a3c1 100644 --- a/doc/html/structdevice__node.html +++ b/doc/html/structdevice__node.html @@ -8,7 +8,6 @@ -

    device_node Struct Reference

    #include <device.h> +

    device_node Struct Reference

    #include <device.h>

    - - - - - - - - @@ -61,24 +51,7 @@

    -Definition at line 35 of file device.h.


    Field Documentation

    - -
    -
    -

    Data Fields

    device_tdevInfo
    device_interfacedevInfo
    device_resourcedevRec
    device_resourcedevRec
    int minor
    device_nodenext
    device_nodenext
    device_nodeprev
    device_nodeprev
    char type
    - - - -
    struct device_t* device_node::devInfo
    - -

    - -

    - -

    -Definition at line 40 of file device.h. -

    -

    +Definition at line 35 of file device.h.


    Field Documentation

    @@ -112,24 +85,7 @@

    -Definition at line 41 of file device.h. - -

    - -

    - -
    - -

    - -

    -Definition at line 39 of file device.h. +Definition at line 39 of file device.h.

    @@ -146,7 +102,7 @@

    -Definition at line 41 of file device.h. +Definition at line 41 of file device.h.

    Referenced by device_add(), and device_find(). @@ -165,24 +121,7 @@

    -Definition at line 39 of file device.h. - -

    - -

    -
    - - - - -
    struct device_node* device_node::next
    -
    -
    - -

    - -

    -Definition at line 37 of file device.h. +Definition at line 37 of file device.h.

    Referenced by device_add(), device_find(), and device_remove().

    @@ -201,24 +140,7 @@

    -Definition at line 38 of file device.h. -

    -

    - -

    -
    - - - - -
    struct device_node* device_node::prev
    -
    -
    - -

    - -

    -Definition at line 36 of file device.h. +Definition at line 36 of file device.h.

    Referenced by device_add().

    @@ -237,14 +159,14 @@

    -Definition at line 40 of file device.h. +Definition at line 40 of file device.h.

    Referenced by device_add().

    -


    The documentation for this struct was generated from the following files: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    The documentation for this struct was generated from the following file: +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structdevice__resource.html b/doc/html/structdevice__resource.html index b44c469..eaf73b6 100644 --- a/doc/html/structdevice__resource.html +++ b/doc/html/structdevice__resource.html @@ -8,7 +8,6 @@ -

    device_resource Struct Reference

    #include <device.h> +

    device_resource Struct Reference

    #include <device.h>

    - +

    Data Fields

    uInt8 irq
    uInt8 irq


    Detailed Description

    @@ -43,13 +41,13 @@

    -Definition at line 44 of file device.h.


    Field Documentation

    +Definition at line 44 of file device.h.

    Field Documentation

    @@ -58,12 +56,12 @@

    -Definition at line 45 of file device.h. +Definition at line 45 of file device.h.

    -


    The documentation for this struct was generated from the following files: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    The documentation for this struct was generated from the following file: +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structdirectoryEntry.html b/doc/html/structdirectoryEntry.html index a57d29e..04ff1fd 100644 --- a/doc/html/structdirectoryEntry.html +++ b/doc/html/structdirectoryEntry.html @@ -8,7 +8,6 @@ -

    directoryEntry Struct Reference

    #include <ubixfs.h> +

    directoryEntry Struct Reference

    #include <ubixfs.h>

    - + - + - + - + - + - + - + - +

    Data Fields

    uInt16 attributes
    uInt16 attributes
    uInt32 creationDate
    uInt32 creationDate
    char fileName [256]
    uInt32 gid
    uInt32 gid
    uInt32 lastModified
    uInt32 lastModified
    uInt16 permissions
    uInt16 permissions
    uInt32 size
    uInt32 size
    uInt32 startCluster
    uInt32 startCluster
    uInt32 uid
    uInt32 uid


    Detailed Description

    @@ -59,13 +57,13 @@

    -Definition at line 103 of file ubixfs.h.


    Field Documentation

    +Definition at line 103 of file ubixfs.h.

    Field Documentation

    @@ -74,7 +72,7 @@

    -Definition at line 110 of file ubixfs.h. +Definition at line 110 of file ubixfs.h.

    Referenced by ubixFSmkDir().

    @@ -84,7 +82,7 @@ @@ -93,7 +91,7 @@

    -Definition at line 106 of file ubixfs.h. +Definition at line 106 of file ubixfs.h.

    @@ -110,7 +108,7 @@

    -Definition at line 112 of file ubixfs.h. +Definition at line 112 of file ubixfs.h.

    Referenced by ubixfs_findName(), ubixFSmkDir(), ubixFSUnlink(), and writeUbixFS(). @@ -120,7 +118,7 @@

    @@ -129,7 +127,7 @@

    -Definition at line 109 of file ubixfs.h. +Definition at line 109 of file ubixfs.h.

    @@ -137,7 +135,7 @@

    @@ -146,7 +144,7 @@

    -Definition at line 107 of file ubixfs.h. +Definition at line 107 of file ubixfs.h.

    @@ -154,7 +152,7 @@

    @@ -163,7 +161,7 @@

    -Definition at line 111 of file ubixfs.h. +Definition at line 111 of file ubixfs.h.

    Referenced by ubixFSmkDir(). @@ -173,7 +171,7 @@

    @@ -182,7 +180,7 @@

    -Definition at line 105 of file ubixfs.h. +Definition at line 105 of file ubixfs.h.

    Referenced by ubixFSmkDir(), and writeUbixFS(). @@ -192,7 +190,7 @@

    @@ -201,7 +199,7 @@

    -Definition at line 104 of file ubixfs.h. +Definition at line 104 of file ubixfs.h.

    Referenced by ubixFSmkDir(), and writeUbixFS(). @@ -211,7 +209,7 @@

    @@ -220,12 +218,12 @@

    -Definition at line 108 of file ubixfs.h. +Definition at line 108 of file ubixfs.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
  • src/sys/include/ubixfs/ubixfs.h +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structdirectoryList.html b/doc/html/structdirectoryList.html index b6dc786..48f1d7b 100644 --- a/doc/html/structdirectoryList.html +++ b/doc/html/structdirectoryList.html @@ -8,7 +8,6 @@ -

    directoryList Struct Reference

    #include <ubixfs.h> +

    directoryList Struct Reference

    #include <ubixfs.h>

    - + @@ -51,13 +49,13 @@

    -Definition at line 57 of file ubixfs.h.


    Field Documentation

    +Definition at line 57 of file ubixfs.h.

    Field Documentation


    Data Fields

    uInt32 dirBlock
    uInt32 dirBlock
    char * dirCache
    - +
    uInt32 directoryList::dirBlock uInt32 directoryList::dirBlock
    @@ -66,7 +64,7 @@

    -Definition at line 60 of file ubixfs.h. +Definition at line 60 of file ubixfs.h.

    @@ -83,7 +81,7 @@

    -Definition at line 59 of file ubixfs.h. +Definition at line 59 of file ubixfs.h.

    Referenced by ubixFSLoadDir(). @@ -102,7 +100,7 @@

    -Definition at line 58 of file ubixfs.h. +Definition at line 58 of file ubixfs.h.

    Referenced by ubixFSLoadDir(). @@ -121,7 +119,7 @@

    -Definition at line 61 of file ubixfs.h. +Definition at line 61 of file ubixfs.h.

    Referenced by ubixFSLoadDir(). @@ -140,14 +138,14 @@

    -Definition at line 62 of file ubixfs.h. +Definition at line 62 of file ubixfs.h.

    Referenced by ubixFSLoadDir().


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
  • src/sys/include/ubixfs/ubixfs.h +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structdirent.html b/doc/html/structdirent.html index 549b787..58744c8 100644 --- a/doc/html/structdirent.html +++ b/doc/html/structdirent.html @@ -8,7 +8,6 @@

    dirent Struct Reference

    #include <ufs.h> @@ -68,7 +66,7 @@

    Definition at line 113 of file ufs.h.

    -Referenced by fsfind(). +Referenced by fsfind().

    @@ -87,7 +85,7 @@

    Definition at line 117 of file ufs.h.

    -Referenced by fsfind(). +Referenced by fsfind().

    @@ -123,7 +121,7 @@

    Definition at line 114 of file ufs.h.

    -Referenced by fsfind(). +Referenced by fsfind().

    @@ -142,12 +140,12 @@

    Definition at line 115 of file ufs.h.

    -Referenced by fsfind(). +Referenced by fsfind().


    The documentation for this struct was generated from the following file:
    • src/sys/include/ufs/ufs.h
    -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structdmadat.html b/doc/html/structdmadat.html index ec5cb18..9632587 100644 --- a/doc/html/structdmadat.html +++ b/doc/html/structdmadat.html @@ -8,7 +8,6 @@ -

    dmadat Struct Reference

    #include <file.h> +

    dmadat Struct Reference

    #include <file.h>

    @@ -49,7 +47,7 @@

    -Definition at line 39 of file file.h.


    Field Documentation

    +Definition at line 39 of file file.h.

    Field Documentation

    @@ -64,7 +62,9 @@

    -Definition at line 40 of file file.h. +Definition at line 40 of file file.h. +

    +Referenced by fsread().

    @@ -81,7 +81,9 @@

    -Definition at line 41 of file file.h. +Definition at line 41 of file file.h. +

    +Referenced by fsread().

    @@ -98,7 +100,9 @@

    -Definition at line 42 of file file.h. +Definition at line 42 of file file.h. +

    +Referenced by ffs_read(), and fsread().

    @@ -115,12 +119,12 @@

    -Definition at line 43 of file file.h. +Definition at line 43 of file file.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
  • src/sys/include/vfs/file.h +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structdos__partition.html b/doc/html/structdos__partition.html index 32647e8..4cf3181 100644 --- a/doc/html/structdos__partition.html +++ b/doc/html/structdos__partition.html @@ -8,7 +8,6 @@

    dos_partition Struct Reference

    #include <hd.h> @@ -47,11 +45,11 @@
  • - + - + @@ -169,7 +167,7 @@
    unsigned char dp_shd
    uInt32 dp_size
    uInt32 dp_size
    unsigned char dp_ssect
    uInt32 dp_start
    uInt32 dp_start
    unsigned char dp_type
    - +
    uInt32 dos_partition::dp_size uInt32 dos_partition::dp_size
    @@ -203,7 +201,7 @@

    @@ -236,7 +234,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/pci/hd.h
    -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structdp__rcvhdr.html b/doc/html/structdp__rcvhdr.html index 67f8857..84b4e3d 100644 --- a/doc/html/structdp__rcvhdr.html +++ b/doc/html/structdp__rcvhdr.html @@ -8,7 +8,6 @@

    dp_rcvhdr Struct Reference

    #include <ne2k.h> @@ -35,13 +33,13 @@ - + - + - + - +

    Data Fields

    uInt8 dr_next
    uInt8 dr_next
    uInt8 dr_rbch
    uInt8 dr_rbch
    uInt8 dr_rbcl
    uInt8 dr_rbcl
    uInt8 dr_status
    uInt8 dr_status

    Detailed Description

    @@ -55,7 +53,7 @@ @@ -72,7 +70,7 @@ @@ -89,7 +87,7 @@ @@ -106,7 +104,7 @@ @@ -120,7 +118,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structdriveInfo.html b/doc/html/structdriveInfo.html index e1a3ba0..31ca8a8 100644 --- a/doc/html/structdriveInfo.html +++ b/doc/html/structdriveInfo.html @@ -8,7 +8,6 @@

    driveInfo Struct Reference

    #include <hd.h> @@ -292,7 +290,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/pci/hd.h
    -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structdriverType.html b/doc/html/structdriverType.html index b2150e0..0445c97 100644 --- a/doc/html/structdriverType.html +++ b/doc/html/structdriverType.html @@ -8,7 +8,6 @@

    driverType Struct Reference

    #include <driver.h> @@ -82,7 +80,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structei__device.html b/doc/html/structei__device.html index 6dfb3eb..00ef4ef 100644 --- a/doc/html/structei__device.html +++ b/doc/html/structei__device.html @@ -8,7 +8,6 @@

    ei_device Struct Reference

    #include <device.old.h> @@ -37,7 +35,7 @@

    Data Fields

    int currentPage -uInt32 pingPong +uInt32 pingPong int rxStartPage @@ -49,7 +47,7 @@ int txStartPage -uInt16 word16 +uInt16 word16

    Detailed Description

    @@ -80,7 +78,7 @@ @@ -182,7 +180,7 @@ @@ -196,7 +194,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structelfDynSym.html b/doc/html/structelfDynSym.html index a29732c..bb30b49 100644 --- a/doc/html/structelfDynSym.html +++ b/doc/html/structelfDynSym.html @@ -8,7 +8,6 @@

    elfDynSym Struct Reference

    #include <elf.h> @@ -35,13 +33,13 @@ - + - + - + - +

    Data Fields

    uInt32 dynInfo
    uInt32 dynInfo
    uInt32 dynName
    uInt32 dynName
    uInt32 dynSize
    uInt32 dynSize
    uInt32 dynValue
    uInt32 dynValue

    Detailed Description

    @@ -55,7 +53,7 @@ @@ -72,7 +70,7 @@ @@ -89,7 +87,7 @@ @@ -106,7 +104,7 @@ @@ -120,7 +118,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/ubixos/elf.h
    -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structelfDynamic.html b/doc/html/structelfDynamic.html index 731bc6f..7f4aecd 100644 --- a/doc/html/structelfDynamic.html +++ b/doc/html/structelfDynamic.html @@ -8,7 +8,6 @@

    elfDynamic Struct Reference

    #include <elf.h> @@ -35,9 +33,9 @@ - + - +

    Data Fields

    uInt32 dynPtr
    uInt32 dynPtr
    uInt32 dynVal
    uInt32 dynVal

    Detailed Description

    @@ -51,7 +49,7 @@ @@ -68,7 +66,7 @@ @@ -82,7 +80,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/ubixos/elf.h
    -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structelfHeader.html b/doc/html/structelfHeader.html index 584d819..04c6cfe 100644 --- a/doc/html/structelfHeader.html +++ b/doc/html/structelfHeader.html @@ -8,7 +8,6 @@

    elfHeader Struct Reference

    #include <elf.h> @@ -35,33 +33,33 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - +

    Data Fields

    uInt16 eEhsize
    uInt16 eEhsize
    uInt32 eEntry
    uInt32 eEntry
    uInt32 eFlags
    uInt32 eFlags
    uInt8 eIdent [16]
    uInt8 eIdent [16]
    uInt16 eMachine
    uInt16 eMachine
    uInt16 ePhentsize
    uInt16 ePhentsize
    uInt16 ePhnum
    uInt16 ePhnum
    uInt32 ePhoff
    uInt32 ePhoff
    uInt16 eShentsize
    uInt16 eShentsize
    uInt16 eShnum
    uInt16 eShnum
    uInt32 eShoff
    uInt32 eShoff
    uInt16 eShstrndx
    uInt16 eShstrndx
    uInt16 eType
    uInt16 eType
    uInt32 eVersion
    uInt32 eVersion

    Detailed Description

    @@ -75,7 +73,7 @@ @@ -92,7 +90,7 @@ @@ -111,7 +109,7 @@ @@ -128,7 +126,7 @@ @@ -147,7 +145,7 @@ @@ -164,7 +162,7 @@ @@ -181,7 +179,7 @@ @@ -200,7 +198,7 @@ @@ -219,7 +217,7 @@ @@ -236,7 +234,7 @@ @@ -255,7 +253,7 @@ @@ -274,7 +272,7 @@ @@ -293,7 +291,7 @@ @@ -312,7 +310,7 @@ @@ -326,7 +324,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/ubixos/elf.h
    -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structelfPltInfo.html b/doc/html/structelfPltInfo.html index 360021e..f022fc3 100644 --- a/doc/html/structelfPltInfo.html +++ b/doc/html/structelfPltInfo.html @@ -8,7 +8,6 @@

    elfPltInfo Struct Reference

    #include <elf.h> @@ -35,9 +33,9 @@ - + - +

    Data Fields

    uInt32 pltInfo
    uInt32 pltInfo
    uInt32 pltOffset
    uInt32 pltOffset

    Detailed Description

    @@ -51,7 +49,7 @@ @@ -68,7 +66,7 @@ @@ -82,7 +80,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/ubixos/elf.h
    -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structelfProgramHeader.html b/doc/html/structelfProgramHeader.html index d63e93b..1c9cbee 100644 --- a/doc/html/structelfProgramHeader.html +++ b/doc/html/structelfProgramHeader.html @@ -8,7 +8,6 @@

    elfProgramHeader Struct Reference

    #include <elf.h> @@ -35,21 +33,21 @@ - + - + - + - + - + - + - + - +

    Data Fields

    uInt32 phAlign
    uInt32 phAlign
    uInt32 phFilesz
    uInt32 phFilesz
    uInt32 phFlags
    uInt32 phFlags
    uInt32 phMemsz
    uInt32 phMemsz
    uInt32 phOffset
    uInt32 phOffset
    uInt32 phPaddr
    uInt32 phPaddr
    uInt32 phType
    uInt32 phType
    uInt32 phVaddr
    uInt32 phVaddr

    Detailed Description

    @@ -63,7 +61,7 @@ @@ -80,7 +78,7 @@ @@ -97,7 +95,7 @@ @@ -114,7 +112,7 @@ @@ -133,7 +131,7 @@ @@ -150,7 +148,7 @@ @@ -167,7 +165,7 @@ @@ -184,7 +182,7 @@ @@ -200,7 +198,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/ubixos/elf.h
    -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structelfSectionHeader.html b/doc/html/structelfSectionHeader.html index c1ab23a..0a44d48 100644 --- a/doc/html/structelfSectionHeader.html +++ b/doc/html/structelfSectionHeader.html @@ -8,7 +8,6 @@

    elfSectionHeader Struct Reference

    #include <elf.h> @@ -35,25 +33,25 @@ - + - + - + - + - + - + - + - + - + - +

    Data Fields

    uInt32 shAddr
    uInt32 shAddr
    uInt32 shAddralign
    uInt32 shAddralign
    uInt32 shEntsize
    uInt32 shEntsize
    uInt32 shFlags
    uInt32 shFlags
    uInt32 shInfo
    uInt32 shInfo
    uInt32 shLink
    uInt32 shLink
    uInt32 shName
    uInt32 shName
    uInt32 shOffset
    uInt32 shOffset
    uInt32 shSize
    uInt32 shSize
    uInt32 shType
    uInt32 shType

    Detailed Description

    @@ -67,7 +65,7 @@ @@ -84,7 +82,7 @@ @@ -101,7 +99,7 @@ @@ -118,7 +116,7 @@ @@ -135,7 +133,7 @@ @@ -152,7 +150,7 @@ @@ -169,7 +167,7 @@ @@ -186,7 +184,7 @@ @@ -203,7 +201,7 @@ @@ -222,7 +220,7 @@ @@ -236,7 +234,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/ubixos/elf.h
    -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structeth__addr.html b/doc/html/structeth__addr.html index a3ffda0..a4b631a 100644 --- a/doc/html/structeth__addr.html +++ b/doc/html/structeth__addr.html @@ -8,7 +8,6 @@

    eth_addr Struct Reference

    #include <arp.h> @@ -35,7 +33,7 @@ - +

    Public Member Functions

     PACK_STRUCT_FIELD (uInt8 addr[6])
     PACK_STRUCT_FIELD (uInt8 addr[6])

    Detailed Description

    @@ -51,7 +49,7 @@ eth_addr::PACK_STRUCT_FIELD ( - uInt8  + uInt8  addr[6]  )  @@ -66,7 +64,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/netif/arp.h
    -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structeth__hdr.html b/doc/html/structeth__hdr.html index 5085cee..385e5c0 100644 --- a/doc/html/structeth__hdr.html +++ b/doc/html/structeth__hdr.html @@ -8,7 +8,6 @@

    eth_hdr Struct Reference

    #include <arp.h> @@ -35,7 +33,7 @@ - + @@ -55,7 +53,7 @@ - + @@ -110,7 +108,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/netif/arp.h
    -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structethernetif.html b/doc/html/structethernetif.html index cac4c4a..7955cfa 100644 --- a/doc/html/structethernetif.html +++ b/doc/html/structethernetif.html @@ -8,7 +8,6 @@

    ethernetif Struct Reference


    Public Member Functions

     PACK_STRUCT_FIELD (uInt16 type)
     PACK_STRUCT_FIELD (uInt16 type)
     PACK_STRUCT_FIELD (struct eth_addr src)
    eth_hdr::PACK_STRUCT_FIELD (uInt16 uInt16  type  ) 
    @@ -63,7 +61,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structethip__hdr.html b/doc/html/structethip__hdr.html index cf2061e..e439dbf 100644 --- a/doc/html/structethip__hdr.html +++ b/doc/html/structethip__hdr.html @@ -8,7 +8,6 @@

    ethip_hdr Struct Reference

    @@ -86,7 +84,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structfcntl__args.html b/doc/html/structfcntl__args.html index 1989fb6..09fe7b5 100644 --- a/doc/html/structfcntl__args.html +++ b/doc/html/structfcntl__args.html @@ -8,7 +8,6 @@

    fcntl_args Struct Reference

    #include <sysproto.h> @@ -59,7 +57,7 @@

    -Definition at line 70 of file sysproto.h.


    Field Documentation

    +Definition at line 85 of file sysproto.h.

    Field Documentation

    @@ -74,7 +72,7 @@

    -Definition at line 73 of file sysproto.h. +Definition at line 88 of file sysproto.h.

    Referenced by fcntl().

    @@ -93,7 +91,7 @@

    -Definition at line 73 of file sysproto.h. +Definition at line 88 of file sysproto.h.

    @@ -110,7 +108,7 @@

    -Definition at line 73 of file sysproto.h. +Definition at line 88 of file sysproto.h.

    @@ -127,7 +125,7 @@

    -Definition at line 72 of file sysproto.h. +Definition at line 87 of file sysproto.h.

    Referenced by fcntl(). @@ -146,7 +144,7 @@

    -Definition at line 72 of file sysproto.h. +Definition at line 87 of file sysproto.h.

    @@ -163,7 +161,7 @@

    -Definition at line 72 of file sysproto.h. +Definition at line 87 of file sysproto.h.

    @@ -180,7 +178,7 @@

    -Definition at line 71 of file sysproto.h. +Definition at line 86 of file sysproto.h.

    Referenced by fcntl(). @@ -199,7 +197,7 @@

    -Definition at line 71 of file sysproto.h. +Definition at line 86 of file sysproto.h.

    @@ -216,12 +214,12 @@

    -Definition at line 71 of file sysproto.h. +Definition at line 86 of file sysproto.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structfile.html b/doc/html/structfile.html index d3e7ac4..33b6973 100644 --- a/doc/html/structfile.html +++ b/doc/html/structfile.html @@ -8,7 +8,6 @@

    file Struct Reference

    #include <kern_descrip.h> @@ -37,13 +35,17 @@
    + + + +

    Data Fields

    int f_flag
    fileDescriptorfd
    char path [1024]

    Detailed Description

    -Definition at line 91 of file kern_descrip.h.


    Field Documentation

    +Definition at line 93 of file kern_descrip.h.

    Field Documentation

    @@ -58,14 +60,52 @@

    -Definition at line 92 of file kern_descrip.h. +Definition at line 94 of file kern_descrip.h.

    Referenced by fcntl(), pipe(), and schedNewTask().

    + +

    +
    + + + + +
    fileDescriptor* file::fd
    +
    +
    + +

    + +

    +Definition at line 96 of file kern_descrip.h. +

    +Referenced by pipe(), read(), and sys_open(). +

    +

    + +

    +
    + + + + +
    char file::path[1024]
    +
    +
    + +

    + +

    +Definition at line 95 of file kern_descrip.h. +

    +Referenced by sys_open(). +

    +


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structfileDescriptorStruct.html b/doc/html/structfileDescriptorStruct.html index c7eaadb..f50d49a 100644 --- a/doc/html/structfileDescriptorStruct.html +++ b/doc/html/structfileDescriptorStruct.html @@ -8,7 +8,6 @@ -

    fileDescriptorStruct Struct Reference

    #include <file.h> +

    fileDescriptorStruct Struct Reference

    #include <file.h>

    @@ -45,29 +43,29 @@ - + - + - + - + - + - + - + - + - +
    char fileName [512]
    uInt32 ino
    uInt32 ino
    uInt16 length
    uInt16 length
    uInt16 mode
    uInt16 mode
    vfs_mountPointmp
    fileDescriptorStructnext
    uInt32 offset
    uInt32 offset
    uInt32 perms
    uInt32 perms
    fileDescriptorStructprev
    uInt32 resid
    uInt32 resid
    uInt32 size
    uInt32 size
    uInt32 start
    uInt32 start
    uInt16 status
    uInt16 status


    Detailed Description

    @@ -75,7 +73,7 @@

    -Definition at line 46 of file file.h.


    Field Documentation

    +Definition at line 46 of file file.h.

    Field Documentation

    @@ -90,7 +88,9 @@

    -Definition at line 57 of file file.h. +Definition at line 57 of file file.h. +

    +Referenced by devfs_read(), devfs_write(), fclose(), fopen(), and writeUbixFS().

    @@ -107,7 +107,9 @@

    -Definition at line 59 of file file.h. +Definition at line 59 of file file.h. +

    +Referenced by openFileUbixFS(), and readUbixFS().

    @@ -124,7 +126,9 @@

    -Definition at line 61 of file file.h. +Definition at line 61 of file file.h. +

    +Referenced by ffs_read(), fsread(), and ufs_openFile().

    @@ -141,7 +145,9 @@

    -Definition at line 62 of file file.h. +Definition at line 62 of file file.h. +

    +Referenced by fsread().

    @@ -158,7 +164,9 @@

    -Definition at line 56 of file file.h. +Definition at line 56 of file file.h. +

    +Referenced by fopen(), and writeUbixFS().

    @@ -166,7 +174,7 @@

    @@ -175,7 +183,9 @@

    -Definition at line 58 of file file.h. +Definition at line 58 of file file.h. +

    +Referenced by ufs_openFile(), and ufs_readFile().

    @@ -183,7 +193,7 @@

    @@ -192,7 +202,7 @@

    -Definition at line 54 of file file.h. +Definition at line 54 of file file.h.

    @@ -200,7 +210,7 @@

    @@ -209,7 +219,9 @@

    -Definition at line 51 of file file.h. +Definition at line 51 of file file.h. +

    +Referenced by devfs_open(), fopen(), and openFileUbixFS().

    @@ -226,7 +238,9 @@

    -Definition at line 49 of file file.h. +Definition at line 49 of file file.h. +

    +Referenced by devfs_open(), dskread(), fgetc(), fopen(), fputc(), fread(), freeBlocks(), fwrite(), getFreeBlocks(), openFileUbixFS(), readUbixFS(), sysMkDir(), ubixfs_loadData(), ubixFSmkDir(), writeFileByte(), and writeUbixFS().

    @@ -243,7 +257,9 @@

    -Definition at line 48 of file file.h. +Definition at line 48 of file file.h. +

    +Referenced by fclose(), and fopen().

    @@ -251,7 +267,7 @@

    @@ -260,9 +276,9 @@

    -Definition at line 52 of file file.h. +Definition at line 52 of file file.h.

    -Referenced by sysFseek(). +Referenced by addDirEntry(), fgetc(), fopen(), fputc(), fread(), fseek(), fsfind(), fsread(), fwrite(), sysFseek(), and ufs_openFile().

    @@ -270,7 +286,7 @@

    @@ -279,7 +295,9 @@

    -Definition at line 60 of file file.h. +Definition at line 60 of file file.h. +

    +Referenced by execFile(), openFileUbixFS(), sysExec(), and ufs_openFile().

    @@ -296,7 +314,9 @@

    -Definition at line 47 of file file.h. +Definition at line 47 of file file.h. +

    +Referenced by fclose(), and fopen().

    @@ -304,7 +324,7 @@

    @@ -313,7 +333,7 @@

    -Definition at line 63 of file file.h. +Definition at line 63 of file file.h.

    @@ -321,7 +341,7 @@

    @@ -330,9 +350,9 @@

    -Definition at line 53 of file file.h. +Definition at line 53 of file file.h.

    -Referenced by sysFopen(). +Referenced by addDirEntry(), devfs_open(), fsread(), openFileUbixFS(), readUbixFS(), sysFopen(), and writeUbixFS().

    @@ -340,7 +360,7 @@

    @@ -349,7 +369,9 @@

    -Definition at line 55 of file file.h. +Definition at line 55 of file file.h. +

    +Referenced by devfs_open(), devfs_read(), devfs_write(), openFileUbixFS(), writeFileByte(), and writeUbixFS().

    @@ -357,7 +379,7 @@

    @@ -366,12 +388,14 @@

    -Definition at line 50 of file file.h. +Definition at line 50 of file file.h. +

    +Referenced by feof(), fopen(), readUbixFS(), and writeFileByte().


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
  • src/sys/include/vfs/file.h +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structfileSystem.html b/doc/html/structfileSystem.html index 77d7467..9393691 100644 --- a/doc/html/structfileSystem.html +++ b/doc/html/structfileSystem.html @@ -8,7 +8,6 @@

    fileSystem Struct Reference

    filesSystem Structure More...

    -#include <vfs.h> +#include <vfs.h>

    @@ -68,7 +66,7 @@

    -Definition at line 56 of file vfs.h.


    Field Documentation

    +Definition at line 56 of file vfs.h.

    Field Documentation

    @@ -83,9 +81,9 @@

    -Definition at line 58 of file vfs.h. +Definition at line 58 of file vfs.h.

    -Referenced by bTree::Verify(), vfsFindFS(), and vfsRegisterFS(). +Referenced by vfsFindFS(), and vfsRegisterFS().

    @@ -102,9 +100,9 @@

    -Definition at line 57 of file vfs.h. +Definition at line 57 of file vfs.h.

    -Referenced by vfsRegisterFS(). +Referenced by vfsRegisterFS().

    @@ -137,6 +135,8 @@

    pointer to makedir routine +

    +Referenced by sysMkDir().

    @@ -152,6 +152,8 @@

    pointer to openfile routine +

    +Referenced by fopen().

    @@ -167,6 +169,8 @@

    pointer to read routine +

    +Referenced by fgetc(), and fread().

    @@ -213,9 +217,9 @@

    vfs type id

    -Definition at line 67 of file vfs.h. +Definition at line 67 of file vfs.h.

    -Referenced by vfsFindFS(), and vfsRegisterFS(). +Referenced by vfsFindFS(), and vfsRegisterFS().

    @@ -232,7 +236,7 @@

    pointer to unlink routine

    -Referenced by unlink(). +Referenced by unlink().

    @@ -248,11 +252,13 @@

    pointer to write routine +

    +Referenced by fputc(), and fwrite().


    The documentation for this struct was generated from the following file:
      -
    • src/sys/include/vfs/vfs.h
    -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
  • src/sys/include/vfs/vfs.h +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structfs.html b/doc/html/structfs.html index 1794a2b..12db136 100644 --- a/doc/html/structfs.html +++ b/doc/html/structfs.html @@ -8,7 +8,6 @@

    fs Struct Reference

    #include <ufs.h> @@ -35,183 +33,183 @@
  • - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +

    Data Fields

    u_intfs_active
    u_intfs_active
    int32_t fs_avgfilesize
    int32_t fs_avgfilesize
    int32_t fs_avgfpdir
    int32_t fs_avgfpdir
    int32_t fs_bmask
    int32_t fs_bmask
    int32_t fs_bshift
    int32_t fs_bshift
    int32_t fs_bsize
    int32_t fs_bsize
    int32_t fs_cblkno
    int32_t fs_cblkno
    int32_t fs_cgrotor
    int32_t fs_cgrotor
    int32_t fs_cgsize
    int32_t fs_cgsize
    int8_t fs_clean
    int8_t fs_clean
    u_int8_tfs_contigdirs
    u_int8_tfs_contigdirs
    int32_t fs_contigsumsize
    int32_t fs_contigsumsize
    ufs2_daddr_t fs_csaddr
    csumfs_csp
    int32_t fs_cssize
    int32_t fs_cssize
    csum_total fs_cstotal
    int32_t fs_dblkno
    int32_t fs_dblkno
    int64_t fs_dsize
    int64_t fs_dsize
    int32_t fs_firstfield
    int32_t fs_firstfield
    int32_t fs_flags
    int32_t fs_flags
    int32_t fs_fmask
    int32_t fs_fmask
    int8_t fs_fmod
    int8_t fs_fmod
    int32_t fs_fpg
    int32_t fs_fpg
    int32_t fs_frag
    int32_t fs_frag
    int32_t fs_fragshift
    int32_t fs_fragshift
    int32_t fs_fsbtodb
    int32_t fs_fsbtodb
    int32_t fs_fshift
    int32_t fs_fshift
    int32_t fs_fsize
    int32_t fs_fsize
    u_char fs_fsmnt [MAXMNTLEN]
    u_char fs_fsmnt [MAXMNTLEN]
    int32_t fs_iblkno
    int32_t fs_iblkno
    int32_t fs_id [2]
    int32_t fs_id [2]
    int32_t fs_inopb
    int32_t fs_inopb
    int32_t fs_ipg
    int32_t fs_ipg
    int32_t fs_magic
    int32_t fs_magic
    int32_t fs_maxbpg
    int32_t fs_maxbpg
    int32_t fs_maxbsize
    int32_t fs_maxbsize
    int32_tfs_maxcluster
    int32_tfs_maxcluster
    int32_t fs_maxcontig
    int32_t fs_maxcontig
    u_int64_t fs_maxfilesize
    u_int64_t fs_maxfilesize
    int32_t fs_maxsymlinklen
    int32_t fs_maxsymlinklen
    int32_t fs_minfree
    int32_t fs_minfree
    int32_t fs_ncg
    int32_t fs_ncg
    int32_t fs_nindir
    int32_t fs_nindir
    void * fs_ocsp [NOCSPTRS]
    int32_t fs_old_cgmask
    int32_t fs_old_cgmask
    int32_t fs_old_cgoffset
    int32_t fs_old_cgoffset
    int32_t fs_old_cpc
    int32_t fs_old_cpc
    int32_t fs_old_cpg
    int32_t fs_old_cpg
    int32_t fs_old_csaddr
    int32_t fs_old_csaddr
    csum fs_old_cstotal
    int32_t fs_old_dsize
    int32_t fs_old_dsize
    int8_t fs_old_flags
    int8_t fs_old_flags
    int32_t fs_old_inodefmt
    int32_t fs_old_inodefmt
    int32_t fs_old_interleave
    int32_t fs_old_interleave
    int32_t fs_old_ncyl
    int32_t fs_old_ncyl
    int32_t fs_old_npsect
    int32_t fs_old_npsect
    int32_t fs_old_nrpos
    int32_t fs_old_nrpos
    int32_t fs_old_nsect
    int32_t fs_old_nsect
    int32_t fs_old_nspf
    int32_t fs_old_nspf
    int32_t fs_old_postblformat
    int32_t fs_old_postblformat
    int32_t fs_old_rotdelay
    int32_t fs_old_rotdelay
    int32_t fs_old_rps
    int32_t fs_old_rps
    int32_t fs_old_size
    int32_t fs_old_size
    int32_t fs_old_spc
    int32_t fs_old_spc
    int32_t fs_old_time
    int32_t fs_old_time
    int32_t fs_old_trackskew
    int32_t fs_old_trackskew
    int32_t fs_optim
    int32_t fs_optim
    int32_t fs_pad
    int32_t fs_pad
    int64_t fs_pendingblocks
    int64_t fs_pendingblocks
    int32_t fs_pendinginodes
    int32_t fs_pendinginodes
    int64_t fs_qbmask
    int64_t fs_qbmask
    int64_t fs_qfmask
    int64_t fs_qfmask
    int8_t fs_ronly
    int8_t fs_ronly
    int32_t fs_save_cgsize
    int32_t fs_save_cgsize
    int32_t fs_sblkno
    int32_t fs_sblkno
    int64_t fs_sblockloc
    int64_t fs_sblockloc
    int32_t fs_sbsize
    int32_t fs_sbsize
    int64_t fs_size
    int64_t fs_size
    int32_t fs_snapinum [FSMAXSNAP]
    int32_t fs_snapinum [FSMAXSNAP]
    int32_t fs_spare1 [2]
    int32_t fs_spare1 [2]
    int32_t fs_spare2
    int32_t fs_spare2
    int32_t fs_spare5 [2]
    int32_t fs_spare5 [2]
    int32_t fs_sparecon32 [26]
    int32_t fs_sparecon32 [26]
    int64_t fs_sparecon64 [17]
    int64_t fs_sparecon64 [17]
    int32_t fs_state
    int32_t fs_state
    u_int64_t fs_swuid
    u_int64_t fs_swuid
    ufs_time_t fs_time
    int32_t fs_unused_1
    int32_t fs_unused_1
    u_char fs_volname [MAXVOLLEN]
    u_char fs_volname [MAXVOLLEN]


    Detailed Description

    @@ -225,7 +223,7 @@ @@ -242,7 +240,7 @@ @@ -259,7 +257,7 @@ @@ -276,7 +274,7 @@ @@ -293,7 +291,7 @@ @@ -310,7 +308,7 @@ @@ -327,7 +325,7 @@ @@ -344,7 +342,7 @@ @@ -361,7 +359,7 @@ @@ -378,7 +376,7 @@ @@ -395,7 +393,7 @@ @@ -412,7 +410,7 @@ @@ -463,7 +461,7 @@ @@ -497,7 +495,7 @@ @@ -514,7 +512,7 @@ @@ -531,7 +529,7 @@ @@ -548,7 +546,7 @@ @@ -565,7 +563,7 @@ @@ -582,7 +580,7 @@ @@ -599,7 +597,7 @@ @@ -616,7 +614,7 @@ @@ -633,7 +631,7 @@ @@ -650,7 +648,7 @@ @@ -667,7 +665,7 @@ @@ -684,7 +682,7 @@ @@ -701,7 +699,7 @@
    - +
    u_char fs::fs_fsmnt[MAXMNTLEN] u_char fs::fs_fsmnt[MAXMNTLEN]
    @@ -718,7 +716,7 @@ @@ -735,7 +733,7 @@ @@ -752,7 +750,7 @@ @@ -769,7 +767,7 @@ @@ -786,7 +784,7 @@ @@ -805,7 +803,7 @@ @@ -822,7 +820,7 @@ @@ -839,7 +837,7 @@ @@ -856,7 +854,7 @@ @@ -873,7 +871,7 @@ @@ -892,7 +890,7 @@ @@ -909,7 +907,7 @@ @@ -926,7 +924,7 @@ @@ -943,7 +941,7 @@ @@ -977,7 +975,7 @@ @@ -994,7 +992,7 @@ @@ -1011,7 +1009,7 @@ @@ -1028,7 +1026,7 @@ @@ -1045,7 +1043,7 @@ @@ -1079,7 +1077,7 @@ @@ -1096,7 +1094,7 @@ @@ -1113,7 +1111,7 @@ @@ -1130,7 +1128,7 @@ @@ -1147,7 +1145,7 @@ @@ -1164,7 +1162,7 @@ @@ -1181,7 +1179,7 @@ @@ -1198,7 +1196,7 @@ @@ -1215,7 +1213,7 @@ @@ -1232,7 +1230,7 @@ @@ -1249,7 +1247,7 @@ @@ -1266,7 +1264,7 @@ @@ -1283,7 +1281,7 @@ @@ -1300,7 +1298,7 @@ @@ -1317,7 +1315,7 @@ @@ -1334,7 +1332,7 @@ @@ -1351,7 +1349,7 @@ @@ -1368,7 +1366,7 @@ @@ -1385,7 +1383,7 @@ @@ -1402,7 +1400,7 @@ @@ -1419,7 +1417,7 @@ @@ -1436,7 +1434,7 @@ @@ -1453,7 +1451,7 @@ @@ -1470,7 +1468,7 @@ @@ -1487,7 +1485,7 @@ @@ -1504,7 +1502,7 @@ @@ -1521,7 +1519,7 @@ @@ -1538,7 +1536,7 @@ @@ -1555,7 +1553,7 @@
    - +
    int32_t fs::fs_snapinum[FSMAXSNAP] int32_t fs::fs_snapinum[FSMAXSNAP]
    @@ -1572,7 +1570,7 @@ @@ -1589,7 +1587,7 @@ @@ -1606,7 +1604,7 @@ @@ -1623,7 +1621,7 @@ @@ -1640,7 +1638,7 @@ @@ -1657,7 +1655,7 @@ @@ -1674,7 +1672,7 @@ @@ -1708,7 +1706,7 @@ @@ -1725,7 +1723,7 @@
    - +
    u_char fs::fs_volname[MAXVOLLEN] u_char fs::fs_volname[MAXVOLLEN]
    @@ -1739,7 +1737,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/ufs/ufs.h
    -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structfstat__args.html b/doc/html/structfstat__args.html index 373b297..f8b138d 100644 --- a/doc/html/structfstat__args.html +++ b/doc/html/structfstat__args.html @@ -8,7 +8,6 @@

    fstat_args Struct Reference

    #include <sysproto.h> @@ -53,7 +51,7 @@

    -Definition at line 135 of file sysproto.h.


    Field Documentation

    +Definition at line 150 of file sysproto.h.

    Field Documentation

    @@ -68,9 +66,9 @@

    -Definition at line 136 of file sysproto.h. +Definition at line 151 of file sysproto.h.

    -Referenced by fstat(). +Referenced by fstat().

    @@ -87,7 +85,7 @@

    -Definition at line 136 of file sysproto.h. +Definition at line 151 of file sysproto.h.

    @@ -104,7 +102,7 @@

    -Definition at line 136 of file sysproto.h. +Definition at line 151 of file sysproto.h.

    @@ -121,9 +119,9 @@

    -Definition at line 137 of file sysproto.h. +Definition at line 152 of file sysproto.h.

    -Referenced by fstat(). +Referenced by fstat().

    @@ -140,7 +138,7 @@

    -Definition at line 137 of file sysproto.h. +Definition at line 152 of file sysproto.h.

    @@ -157,12 +155,12 @@

    -Definition at line 137 of file sysproto.h. +Definition at line 152 of file sysproto.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structgdtDescriptor.html b/doc/html/structgdtDescriptor.html index 6f5f397..88638ca 100644 --- a/doc/html/structgdtDescriptor.html +++ b/doc/html/structgdtDescriptor.html @@ -8,7 +8,6 @@

    gdtDescriptor Struct Reference

    #include <gdt.h> @@ -177,7 +175,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/sys/gdt.h
    -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structgdtGate.html b/doc/html/structgdtGate.html index 935810e..a6acfb1 100644 --- a/doc/html/structgdtGate.html +++ b/doc/html/structgdtGate.html @@ -8,7 +8,6 @@

    gdtGate Struct Reference

    #include <gdt.h> @@ -128,7 +126,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/sys/gdt.h
    -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structgdt__descr.html b/doc/html/structgdt__descr.html index 7d48d38..af0edea 100644 --- a/doc/html/structgdt__descr.html +++ b/doc/html/structgdt__descr.html @@ -8,7 +8,6 @@

    gdt_descr Struct Reference

    - + - +

    Public Member Functions

    uInt32 *base __attribute__ ((packed))
    uInt32 *base __attribute__ ((packed))

    Data Fields

    uInt16 limit
    uInt16 limit

    Detailed Description

    @@ -50,7 +48,7 @@
    - + @@ -71,7 +69,7 @@
    uInt32* base gdt_descr::__attribute__ uInt32* base gdt_descr::__attribute__ ( (packed
    - +
    uInt16 gdt_descr::limit uInt16 gdt_descr::limit
    @@ -87,7 +85,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structgetdtablesize__args.html b/doc/html/structgetdtablesize__args.html index 0969607..d292203 100644 --- a/doc/html/structgetdtablesize__args.html +++ b/doc/html/structgetdtablesize__args.html @@ -8,7 +8,6 @@

    getdtablesize_args Struct Reference

    #include <sysproto.h> @@ -43,7 +41,7 @@

    -Definition at line 117 of file sysproto.h.


    Field Documentation

    +Definition at line 132 of file sysproto.h.

    Field Documentation

    @@ -58,12 +56,12 @@

    -Definition at line 118 of file sysproto.h. +Definition at line 133 of file sysproto.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structgetgid__args.html b/doc/html/structgetgid__args.html index 9c2cf9d..d3b16c9 100644 --- a/doc/html/structgetgid__args.html +++ b/doc/html/structgetgid__args.html @@ -8,7 +8,6 @@

    getgid_args Struct Reference

    #include <sysproto.h> @@ -43,7 +41,7 @@

    -Definition at line 90 of file sysproto.h.


    Field Documentation

    +Definition at line 105 of file sysproto.h.

    Field Documentation

    @@ -58,12 +56,12 @@

    -Definition at line 91 of file sysproto.h. +Definition at line 106 of file sysproto.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structgetpid__args.html b/doc/html/structgetpid__args.html index de092d2..20c6f90 100644 --- a/doc/html/structgetpid__args.html +++ b/doc/html/structgetpid__args.html @@ -8,7 +8,6 @@

    getpid_args Struct Reference

    #include <sysproto.h> @@ -43,7 +41,7 @@

    -Definition at line 64 of file sysproto.h.


    Field Documentation

    +Definition at line 79 of file sysproto.h.

    Field Documentation

    @@ -58,12 +56,12 @@

    -Definition at line 65 of file sysproto.h. +Definition at line 80 of file sysproto.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structgettimeofday__args.html b/doc/html/structgettimeofday__args.html index 960ce6c..8637b4d 100644 --- a/doc/html/structgettimeofday__args.html +++ b/doc/html/structgettimeofday__args.html @@ -8,7 +8,6 @@

    gettimeofday_args Struct Reference

    #include <sysproto.h> @@ -53,7 +51,7 @@

    -Definition at line 131 of file sysproto.h.


    Field Documentation

    +Definition at line 146 of file sysproto.h.

    Field Documentation

    @@ -68,7 +66,7 @@

    -Definition at line 132 of file sysproto.h. +Definition at line 147 of file sysproto.h.

    @@ -85,7 +83,7 @@

    -Definition at line 132 of file sysproto.h. +Definition at line 147 of file sysproto.h.

    @@ -102,7 +100,7 @@

    -Definition at line 132 of file sysproto.h. +Definition at line 147 of file sysproto.h.

    @@ -119,7 +117,7 @@

    -Definition at line 133 of file sysproto.h. +Definition at line 148 of file sysproto.h.

    @@ -136,7 +134,7 @@

    -Definition at line 133 of file sysproto.h. +Definition at line 148 of file sysproto.h.

    @@ -153,12 +151,12 @@

    -Definition at line 133 of file sysproto.h. +Definition at line 148 of file sysproto.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structgetuid__args.html b/doc/html/structgetuid__args.html index b6688d7..ace1c35 100644 --- a/doc/html/structgetuid__args.html +++ b/doc/html/structgetuid__args.html @@ -8,7 +8,6 @@

    getuid_args Struct Reference

    #include <sysproto.h> @@ -43,7 +41,7 @@

    -Definition at line 86 of file sysproto.h.


    Field Documentation

    +Definition at line 101 of file sysproto.h.

    Field Documentation

    @@ -58,12 +56,12 @@

    -Definition at line 87 of file sysproto.h. +Definition at line 102 of file sysproto.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structhostRingEntry.html b/doc/html/structhostRingEntry.html index 22ae2f3..5774189 100644 --- a/doc/html/structhostRingEntry.html +++ b/doc/html/structhostRingEntry.html @@ -8,7 +8,6 @@

    hostRingEntry Struct Reference

    #include <lnc.h> @@ -101,7 +99,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/pci/lnc.h
    -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structi386__frame.html b/doc/html/structi386__frame.html index 6774dd4..916a92f 100644 --- a/doc/html/structi386__frame.html +++ b/doc/html/structi386__frame.html @@ -8,7 +8,6 @@

    i386_frame Struct Reference

    #include <tss.h> @@ -35,41 +33,41 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +

    Data Fields

    uInt32 cs
    uInt32 cs
    uInt32 ds
    uInt32 ds
    uInt32 eax
    uInt32 eax
    uInt32 ebp
    uInt32 ebp
    uInt32 ebx
    uInt32 ebx
    uInt32 ecx
    uInt32 ecx
    uInt32 edi
    uInt32 edi
    uInt32 edx
    uInt32 edx
    uInt32 eip
    uInt32 eip
    uInt32 es
    uInt32 es
    uInt32 esi
    uInt32 esi
    uInt32 esp
    uInt32 esp
    uInt32 flags
    uInt32 flags
    uInt32 fs
    uInt32 fs
    uInt32 gs
    uInt32 gs
    uInt32 ss
    uInt32 ss
    uInt32 user_esp
    uInt32 user_esp
    uInt32 user_ss
    uInt32 user_ss

    Detailed Description

    @@ -83,7 +81,7 @@ @@ -100,7 +98,7 @@ @@ -117,7 +115,7 @@ @@ -134,7 +132,7 @@ @@ -144,6 +142,8 @@

    Definition at line 93 of file tss.h. +

    +Referenced by sysExec().

    @@ -151,7 +151,7 @@

    @@ -168,7 +168,7 @@ @@ -185,7 +185,7 @@ @@ -202,7 +202,7 @@ @@ -219,7 +219,7 @@ @@ -229,6 +229,8 @@

    Definition at line 103 of file tss.h. +

    +Referenced by sysExec().

    @@ -236,7 +238,7 @@

    @@ -253,7 +255,7 @@ @@ -270,7 +272,7 @@ @@ -287,7 +289,7 @@ @@ -304,7 +306,7 @@ @@ -321,7 +323,7 @@ @@ -338,7 +340,7 @@ @@ -355,7 +357,7 @@ @@ -365,6 +367,8 @@

    Definition at line 106 of file tss.h. +

    +Referenced by sysExec().

    @@ -372,7 +376,7 @@

    @@ -386,7 +390,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/sys/tss.h
    -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structi387Struct.html b/doc/html/structi387Struct.html index 3bef110..9254b48 100644 --- a/doc/html/structi387Struct.html +++ b/doc/html/structi387Struct.html @@ -8,7 +8,6 @@

    i387Struct Struct Reference

    #include <tss.h> @@ -196,7 +194,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/sys/tss.h
    -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structicmp__dur__hdr.html b/doc/html/structicmp__dur__hdr.html index f861255..7869b04 100644 --- a/doc/html/structicmp__dur__hdr.html +++ b/doc/html/structicmp__dur__hdr.html @@ -8,7 +8,6 @@

    icmp_dur_hdr Struct Reference

    #include <icmp.h> @@ -35,11 +33,11 @@ - + - + - + @@ -64,7 +62,7 @@ - + @@ -84,7 +82,7 @@ - + @@ -104,7 +102,7 @@ - + @@ -188,7 +186,7 @@


    The documentation for this struct was generated from the following files:
    • src/sys/include/net/ipv4/icmp.h
    • src/sys/include/net/ipv6/icmp.h
    -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structicmp__echo__hdr.html b/doc/html/structicmp__echo__hdr.html index 1f99c34..795123a 100644 --- a/doc/html/structicmp__echo__hdr.html +++ b/doc/html/structicmp__echo__hdr.html @@ -8,7 +8,6 @@

    icmp_echo_hdr Struct Reference

    #include <icmp.h> @@ -35,13 +33,13 @@

    Public Member Functions

     PACK_STRUCT_FIELD (uInt32 unused)
     PACK_STRUCT_FIELD (uInt32 unused)
     PACK_STRUCT_FIELD (uInt16 chksum)
     PACK_STRUCT_FIELD (uInt16 chksum)
     PACK_STRUCT_FIELD (uInt16 _type_code)
     PACK_STRUCT_FIELD (uInt16 _type_code)

    Data Fields

    u16_t chksum
    icmp_dur_hdr::PACK_STRUCT_FIELD (uInt32 uInt32  unused  ) 
    icmp_dur_hdr::PACK_STRUCT_FIELD (uInt16 uInt16  chksum  ) 
    icmp_dur_hdr::PACK_STRUCT_FIELD (uInt16 uInt16  _type_code  ) 
    - + - + - + - + @@ -68,7 +66,7 @@ - + @@ -88,7 +86,7 @@ - + @@ -108,7 +106,7 @@ - + @@ -128,7 +126,7 @@ - + @@ -229,7 +227,7 @@


    The documentation for this struct was generated from the following files:
    • src/sys/include/net/ipv4/icmp.h
    • src/sys/include/net/ipv6/icmp.h
    -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structicmp__te__hdr.html b/doc/html/structicmp__te__hdr.html index c8dcd07..dc059f5 100644 --- a/doc/html/structicmp__te__hdr.html +++ b/doc/html/structicmp__te__hdr.html @@ -8,7 +8,6 @@

    icmp_te_hdr Struct Reference

    #include <icmp.h> @@ -35,11 +33,11 @@

    Public Member Functions

     PACK_STRUCT_FIELD (uInt16 seqno)
     PACK_STRUCT_FIELD (uInt16 seqno)
     PACK_STRUCT_FIELD (uInt16 id)
     PACK_STRUCT_FIELD (uInt16 id)
     PACK_STRUCT_FIELD (uInt16 chksum)
     PACK_STRUCT_FIELD (uInt16 chksum)
     PACK_STRUCT_FIELD (uInt16 _type_code)
     PACK_STRUCT_FIELD (uInt16 _type_code)

    Data Fields

    u16_t chksum
    icmp_echo_hdr::PACK_STRUCT_FIELD (uInt16 uInt16  seqno  ) 
    icmp_echo_hdr::PACK_STRUCT_FIELD (uInt16 uInt16  id  ) 
    icmp_echo_hdr::PACK_STRUCT_FIELD (uInt16 uInt16  chksum  ) 
    icmp_echo_hdr::PACK_STRUCT_FIELD (uInt16 uInt16  _type_code  ) 
    - + - + - + @@ -64,7 +62,7 @@ - + @@ -84,7 +82,7 @@ - + @@ -104,7 +102,7 @@ - + @@ -188,7 +186,7 @@


    The documentation for this struct was generated from the following files:
    • src/sys/include/net/ipv4/icmp.h
    • src/sys/include/net/ipv6/icmp.h
    -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structin__addr.html b/doc/html/structin__addr.html index b7c5ed5..0b4aa38 100644 --- a/doc/html/structin__addr.html +++ b/doc/html/structin__addr.html @@ -8,7 +8,6 @@

    in_addr Struct Reference

    #include <sockets.h> @@ -35,7 +33,7 @@

    Public Member Functions

     PACK_STRUCT_FIELD (uInt32 unused)
     PACK_STRUCT_FIELD (uInt32 unused)
     PACK_STRUCT_FIELD (uInt16 chksum)
     PACK_STRUCT_FIELD (uInt16 chksum)
     PACK_STRUCT_FIELD (uInt16 _type_code)
     PACK_STRUCT_FIELD (uInt16 _type_code)

    Data Fields

    u16_t chksum
    icmp_te_hdr::PACK_STRUCT_FIELD (uInt32 uInt32  unused  ) 
    icmp_te_hdr::PACK_STRUCT_FIELD (uInt16 uInt16  chksum  ) 
    icmp_te_hdr::PACK_STRUCT_FIELD (uInt16 uInt16  _type_code  ) 
    - +

    Data Fields

    uInt32 s_addr
    uInt32 s_addr

    Detailed Description

    @@ -49,7 +47,7 @@ @@ -65,7 +63,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structinitBlock.html b/doc/html/structinitBlock.html index 547a5fe..1efa898 100644 --- a/doc/html/structinitBlock.html +++ b/doc/html/structinitBlock.html @@ -8,7 +8,6 @@

    initBlock Struct Reference

    #include <lnc.h> @@ -35,19 +33,19 @@ - + - + - + - + - + - + - +

    Data Fields

    uInt8 ladrf [8]
    uInt8 ladrf [8]
    uInt16 mode
    uInt16 mode
    uInt8 padr [6]
    uInt8 padr [6]
    uInt16 rdra
    uInt16 rdra
    uInt16 rlen
    uInt16 rlen
    uInt16 tdra
    uInt16 tdra
    uInt16 tlen
    uInt16 tlen

    Detailed Description

    @@ -61,7 +59,7 @@ @@ -78,7 +76,7 @@ @@ -95,7 +93,7 @@ @@ -112,7 +110,7 @@ @@ -129,7 +127,7 @@ @@ -146,7 +144,7 @@ @@ -163,7 +161,7 @@ @@ -177,7 +175,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/pci/lnc.h
    -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structioctl__args.html b/doc/html/structioctl__args.html index be145d6..780db2a 100644 --- a/doc/html/structioctl__args.html +++ b/doc/html/structioctl__args.html @@ -8,7 +8,6 @@

    ioctl_args Struct Reference

    #include <sysproto.h> @@ -35,17 +33,17 @@ - + - + - + - + - + - + @@ -59,13 +57,13 @@

    -Definition at line 139 of file sysproto.h.


    Field Documentation

    +Definition at line 154 of file sysproto.h.

    Field Documentation


    Data Fields

    u_long com
    u_long com
    char com_l_ [PADL_(u_long)]
    char com_l_ [PADL_(u_long)]
    char com_r_ [PADR_(u_long)]
    char com_r_ [PADR_(u_long)]
    caddr_t data
    caddr_t data
    char data_l_ [PADL_(caddr_t)]
    char data_l_ [PADL_(caddr_t)]
    char data_r_ [PADR_(caddr_t)]
    char data_r_ [PADR_(caddr_t)]
    int fd
    - +
    u_long ioctl_args::com u_long ioctl_args::com
    @@ -74,7 +72,7 @@

    -Definition at line 141 of file sysproto.h. +Definition at line 156 of file sysproto.h.

    @@ -82,7 +80,7 @@

    - +
    char ioctl_args::com_l_[PADL_(u_long)] char ioctl_args::com_l_[PADL_(u_long)]
    @@ -91,7 +89,7 @@

    -Definition at line 141 of file sysproto.h. +Definition at line 156 of file sysproto.h.

    @@ -99,7 +97,7 @@

    - +
    char ioctl_args::com_r_[PADR_(u_long)] char ioctl_args::com_r_[PADR_(u_long)]
    @@ -108,7 +106,7 @@

    -Definition at line 141 of file sysproto.h. +Definition at line 156 of file sysproto.h.

    @@ -116,7 +114,7 @@

    @@ -125,7 +123,7 @@

    -Definition at line 142 of file sysproto.h. +Definition at line 157 of file sysproto.h.

    @@ -133,7 +131,7 @@

    - +
    char ioctl_args::data_l_[PADL_(caddr_t)] char ioctl_args::data_l_[PADL_(caddr_t)]
    @@ -142,7 +140,7 @@

    -Definition at line 142 of file sysproto.h. +Definition at line 157 of file sysproto.h.

    @@ -150,7 +148,7 @@

    - +
    char ioctl_args::data_r_[PADR_(caddr_t)] char ioctl_args::data_r_[PADR_(caddr_t)]
    @@ -159,7 +157,7 @@

    -Definition at line 142 of file sysproto.h. +Definition at line 157 of file sysproto.h.

    @@ -176,7 +174,7 @@

    -Definition at line 140 of file sysproto.h. +Definition at line 155 of file sysproto.h.

    @@ -193,7 +191,7 @@

    -Definition at line 140 of file sysproto.h. +Definition at line 155 of file sysproto.h.

    @@ -210,12 +208,12 @@

    -Definition at line 140 of file sysproto.h. +Definition at line 155 of file sysproto.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structip__addr.html b/doc/html/structip__addr.html index 4350c86..eb4cfaf 100644 --- a/doc/html/structip__addr.html +++ b/doc/html/structip__addr.html @@ -8,7 +8,6 @@

    ip_addr Struct Reference

    #include <ip_addr.h> @@ -35,7 +33,7 @@ - + @@ -54,7 +52,7 @@ - + @@ -89,7 +87,7 @@


    The documentation for this struct was generated from the following files: -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structip__hdr.html b/doc/html/structip__hdr.html index ae760e7..edf873a 100644 --- a/doc/html/structip__hdr.html +++ b/doc/html/structip__hdr.html @@ -8,7 +8,6 @@

    ip_hdr Struct Reference

    #include <ip.h> @@ -39,17 +37,17 @@
    - + - + - + - + - + - + @@ -124,7 +122,7 @@ - + @@ -144,7 +142,7 @@ - + @@ -164,7 +162,7 @@ - + @@ -184,7 +182,7 @@ - + @@ -204,7 +202,7 @@ - + @@ -224,7 +222,7 @@ - + @@ -393,7 +391,7 @@


    The documentation for this struct was generated from the following files:
    • src/sys/include/net/ipv4/ip.h
    • src/sys/include/net/ipv6/ip.h
    -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structissetugid__args.html b/doc/html/structissetugid__args.html index eabcef3..40c243b 100644 --- a/doc/html/structissetugid__args.html +++ b/doc/html/structissetugid__args.html @@ -8,7 +8,6 @@

    issetugid_args Struct Reference

    #include <sysproto.h> @@ -43,7 +41,7 @@

    -Definition at line 67 of file sysproto.h.


    Field Documentation

    +Definition at line 82 of file sysproto.h.

    Field Documentation

    @@ -58,12 +56,12 @@

    -Definition at line 68 of file sysproto.h. +Definition at line 83 of file sysproto.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structkmod__struct.html b/doc/html/structkmod__struct.html index 60d1546..805f76d 100644 --- a/doc/html/structkmod__struct.html +++ b/doc/html/structkmod__struct.html @@ -8,7 +8,6 @@

    kmod_struct Struct Reference

    #include <kmod.h> @@ -35,9 +33,9 @@

    Public Member Functions

     PACK_STRUCT_FIELD (uInt32 addr)
     PACK_STRUCT_FIELD (uInt32 addr)

    Data Fields

    u32_t addr [4]
    ip_addr::PACK_STRUCT_FIELD (uInt32 uInt32  addr  ) 
     PACK_STRUCT_FIELD (struct ip_addr src)
     PACK_STRUCT_FIELD (uInt16 _chksum)
     PACK_STRUCT_FIELD (uInt16 _chksum)
     PACK_STRUCT_FIELD (uInt16 _ttl_proto)
     PACK_STRUCT_FIELD (uInt16 _ttl_proto)
     PACK_STRUCT_FIELD (uInt16 _offset)
     PACK_STRUCT_FIELD (uInt16 _offset)
     PACK_STRUCT_FIELD (uInt16 _id)
     PACK_STRUCT_FIELD (uInt16 _id)
     PACK_STRUCT_FIELD (uInt16 _len)
     PACK_STRUCT_FIELD (uInt16 _len)
     PACK_STRUCT_FIELD (uInt16 _v_hl_tos)
     PACK_STRUCT_FIELD (uInt16 _v_hl_tos)

    Data Fields

    ip_addr src dest
    ip_hdr::PACK_STRUCT_FIELD (uInt16 uInt16  _chksum  ) 
    ip_hdr::PACK_STRUCT_FIELD (uInt16 uInt16  _ttl_proto  ) 
    ip_hdr::PACK_STRUCT_FIELD (uInt16 uInt16  _offset  ) 
    ip_hdr::PACK_STRUCT_FIELD (uInt16 uInt16  _id  ) 
    ip_hdr::PACK_STRUCT_FIELD (uInt16 uInt16  _len  ) 
    ip_hdr::PACK_STRUCT_FIELD (uInt16 uInt16  _v_hl_tos  ) 
    - + - + @@ -45,7 +43,7 @@ - +

    Data Fields

    uInt32 address
    uInt32 address
    uInt16 id
    uInt16 id
    char name [128]
    kmod_structprev
    uInt16 refs
    uInt16 refs

    Detailed Description

    @@ -59,7 +57,7 @@ @@ -76,7 +74,7 @@ @@ -144,7 +142,7 @@ @@ -158,7 +156,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/ubixos/kmod.h
    -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structlncInfo.html b/doc/html/structlncInfo.html index 24f2440..0cc7a11 100644 --- a/doc/html/structlncInfo.html +++ b/doc/html/structlncInfo.html @@ -8,7 +8,6 @@

    lncInfo Struct Reference

    #include <lnc.h> @@ -250,7 +248,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/pci/lnc.h
    -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structlwip__socket.html b/doc/html/structlwip__socket.html index a4895de..659b3bc 100644 --- a/doc/html/structlwip__socket.html +++ b/doc/html/structlwip__socket.html @@ -8,7 +8,6 @@

    lwip_socket Struct Reference

    @@ -37,7 +35,7 @@ - +
    netbuflastdata
    uInt16 lastoffset
    uInt16 lastoffset

    Detailed Description

    @@ -89,7 +87,7 @@ @@ -105,7 +103,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structmMap.html b/doc/html/structmMap.html index 6b21b03..c180dec 100644 --- a/doc/html/structmMap.html +++ b/doc/html/structmMap.html @@ -8,7 +8,6 @@

    mMap Struct Reference

    #include <vmm.h> @@ -37,13 +35,13 @@

    Data Fields

    int cowCounter -uInt32 pageAddr +uInt32 pageAddr -pid_t pid +pid_t pid -uInt16 reserved +uInt16 reserved -uInt16 status +uInt16 status

    Detailed Description

    @@ -76,7 +74,7 @@ @@ -95,7 +93,7 @@ @@ -114,7 +112,7 @@ @@ -131,7 +129,7 @@ @@ -147,7 +145,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/vmm/vmm.h
    -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structmds.html b/doc/html/structmds.html index cadcdf3..8479b69 100644 --- a/doc/html/structmds.html +++ b/doc/html/structmds.html @@ -8,7 +8,6 @@

    mds Struct Reference

    #include <lnc.h> @@ -35,13 +33,13 @@ - + - + - +

    Data Fields

    uInt16 md0
    uInt16 md0
    uInt16 md1
    uInt16 md1
    short md2
    uInt16 md3
    uInt16 md3

    Detailed Description

    @@ -55,7 +53,7 @@ @@ -72,7 +70,7 @@ @@ -106,7 +104,7 @@ @@ -120,7 +118,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/pci/lnc.h
    -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structmemDescriptor.html b/doc/html/structmemDescriptor.html index a616056..1d4ce9f 100644 --- a/doc/html/structmemDescriptor.html +++ b/doc/html/structmemDescriptor.html @@ -8,7 +8,6 @@

    memDescriptor Struct Reference

    #include <kmalloc.h> @@ -37,7 +35,7 @@

    Data Fields

    void * baseAddr -uInt32 limit +uInt32 limit memDescriptornext @@ -74,7 +72,7 @@ @@ -128,7 +126,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structmmap__args.html b/doc/html/structmmap__args.html index f4f03f4..b18f7e8 100644 --- a/doc/html/structmmap__args.html +++ b/doc/html/structmmap__args.html @@ -8,7 +8,6 @@

    mmap_args Struct Reference

    #include <sysproto.h> @@ -35,11 +33,11 @@ - + - + - + @@ -53,11 +51,11 @@ - + - + - + @@ -65,11 +63,11 @@ - + - + - + @@ -83,13 +81,13 @@

    -Definition at line 97 of file sysproto.h.


    Field Documentation

    +Definition at line 112 of file sysproto.h.

    Field Documentation


    Data Fields

    caddr_t addr
    caddr_t addr
    char addr_l_ [PADL_(caddr_t)]
    char addr_l_ [PADL_(caddr_t)]
    char addr_r_ [PADR_(caddr_t)]
    char addr_r_ [PADR_(caddr_t)]
    int fd
    char flags_r_ [PADR_(int)]
    size_t len
    size_t len
    char len_l_ [PADL_(size_t)]
    char len_l_ [PADL_(size_t)]
    char len_r_ [PADR_(size_t)]
    char len_r_ [PADR_(size_t)]
    int pad
    char pad_r_ [PADR_(int)]
    off_t pos
    off_t pos
    char pos_l_ [PADL_(off_t)]
    char pos_l_ [PADL_(off_t)]
    char pos_r_ [PADR_(off_t)]
    char pos_r_ [PADR_(off_t)]
    int prot
    - +
    caddr_t mmap_args::addr caddr_t mmap_args::addr
    @@ -98,7 +96,7 @@

    -Definition at line 98 of file sysproto.h. +Definition at line 113 of file sysproto.h.

    Referenced by mmap(). @@ -108,7 +106,7 @@

    - +
    char mmap_args::addr_l_[PADL_(caddr_t)] char mmap_args::addr_l_[PADL_(caddr_t)]
    @@ -117,7 +115,7 @@

    -Definition at line 98 of file sysproto.h. +Definition at line 113 of file sysproto.h.

    @@ -125,7 +123,7 @@

    - +
    char mmap_args::addr_r_[PADR_(caddr_t)] char mmap_args::addr_r_[PADR_(caddr_t)]
    @@ -134,7 +132,7 @@

    -Definition at line 98 of file sysproto.h. +Definition at line 113 of file sysproto.h.

    @@ -151,7 +149,7 @@

    -Definition at line 102 of file sysproto.h. +Definition at line 117 of file sysproto.h.

    Referenced by mmap(). @@ -170,7 +168,7 @@

    -Definition at line 102 of file sysproto.h. +Definition at line 117 of file sysproto.h.

    @@ -187,7 +185,7 @@

    -Definition at line 102 of file sysproto.h. +Definition at line 117 of file sysproto.h.

    @@ -204,7 +202,9 @@

    -Definition at line 101 of file sysproto.h. +Definition at line 116 of file sysproto.h. +

    +Referenced by mmap().

    @@ -221,7 +221,7 @@

    -Definition at line 101 of file sysproto.h. +Definition at line 116 of file sysproto.h.

    @@ -238,7 +238,7 @@

    -Definition at line 101 of file sysproto.h. +Definition at line 116 of file sysproto.h.

    @@ -246,7 +246,7 @@

    @@ -255,7 +255,7 @@

    -Definition at line 99 of file sysproto.h. +Definition at line 114 of file sysproto.h.

    Referenced by mmap(). @@ -265,7 +265,7 @@

    - +
    char mmap_args::len_l_[PADL_(size_t)] char mmap_args::len_l_[PADL_(size_t)]
    @@ -274,7 +274,7 @@

    -Definition at line 99 of file sysproto.h. +Definition at line 114 of file sysproto.h.

    @@ -282,7 +282,7 @@

    - +
    char mmap_args::len_r_[PADR_(size_t)] char mmap_args::len_r_[PADR_(size_t)]
    @@ -291,7 +291,7 @@

    -Definition at line 99 of file sysproto.h. +Definition at line 114 of file sysproto.h.

    @@ -308,7 +308,9 @@

    -Definition at line 103 of file sysproto.h. +Definition at line 118 of file sysproto.h. +

    +Referenced by mmap().

    @@ -325,7 +327,7 @@

    -Definition at line 103 of file sysproto.h. +Definition at line 118 of file sysproto.h.

    @@ -342,7 +344,7 @@

    -Definition at line 103 of file sysproto.h. +Definition at line 118 of file sysproto.h.

    @@ -350,7 +352,7 @@

    @@ -359,7 +361,9 @@

    -Definition at line 104 of file sysproto.h. +Definition at line 119 of file sysproto.h. +

    +Referenced by mmap().

    @@ -367,7 +371,7 @@

    - +
    char mmap_args::pos_l_[PADL_(off_t)] char mmap_args::pos_l_[PADL_(off_t)]
    @@ -376,7 +380,7 @@

    -Definition at line 104 of file sysproto.h. +Definition at line 119 of file sysproto.h.

    @@ -384,7 +388,7 @@

    - +
    char mmap_args::pos_r_[PADR_(off_t)] char mmap_args::pos_r_[PADR_(off_t)]
    @@ -393,7 +397,7 @@

    -Definition at line 104 of file sysproto.h. +Definition at line 119 of file sysproto.h.

    @@ -410,7 +414,9 @@

    -Definition at line 100 of file sysproto.h. +Definition at line 115 of file sysproto.h. +

    +Referenced by mmap().

    @@ -427,7 +433,7 @@

    -Definition at line 100 of file sysproto.h. +Definition at line 115 of file sysproto.h.

    @@ -444,12 +450,12 @@

    -Definition at line 100 of file sysproto.h. +Definition at line 115 of file sysproto.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structmpi__mbox.html b/doc/html/structmpi__mbox.html index 2389ae2..8d4a2a3 100644 --- a/doc/html/structmpi__mbox.html +++ b/doc/html/structmpi__mbox.html @@ -8,7 +8,6 @@

    mpi_mbox Struct Reference

    #include <mpi.h> @@ -43,7 +41,7 @@ mpi_mboxnext -pidType pid +pidType pid mpi_mboxprev @@ -127,7 +125,7 @@ @@ -160,7 +158,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/mpi/mpi.h
    -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structmpi__message.html b/doc/html/structmpi__message.html index 3d137e8..01f4c8f 100644 --- a/doc/html/structmpi__message.html +++ b/doc/html/structmpi__message.html @@ -8,7 +8,6 @@

    mpi_message Struct Reference

    #include <mpi.h> @@ -37,11 +35,11 @@

    Data Fields

    char data [MESSAGE_LENGTH] -uInt32 header +uInt32 header mpi_messagenext -pidType pid +pidType pid

    Detailed Description

    @@ -74,7 +72,7 @@ @@ -112,7 +110,7 @@ @@ -128,7 +126,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/mpi/mpi.h
    -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structmunmap__args.html b/doc/html/structmunmap__args.html index f92b179..eaa684d 100644 --- a/doc/html/structmunmap__args.html +++ b/doc/html/structmunmap__args.html @@ -8,7 +8,6 @@

    munmap_args Struct Reference

    #include <sysproto.h> @@ -41,11 +39,11 @@ char addr_r_ [PADR_(void *)] -size_t len +size_t len -char len_l_ [PADL_(size_t)] +char len_l_ [PADL_(size_t)] -char len_r_ [PADR_(size_t)] +char len_r_ [PADR_(size_t)]

    Detailed Description

    @@ -53,7 +51,7 @@

    -Definition at line 121 of file sysproto.h.


    Field Documentation

    +Definition at line 136 of file sysproto.h.

    Field Documentation

    @@ -68,7 +66,7 @@

    -Definition at line 122 of file sysproto.h. +Definition at line 137 of file sysproto.h.

    @@ -85,7 +83,7 @@

    -Definition at line 122 of file sysproto.h. +Definition at line 137 of file sysproto.h.

    @@ -102,7 +100,7 @@

    -Definition at line 122 of file sysproto.h. +Definition at line 137 of file sysproto.h.

    @@ -110,7 +108,7 @@

    @@ -119,7 +117,7 @@

    -Definition at line 123 of file sysproto.h. +Definition at line 138 of file sysproto.h.

    @@ -127,7 +125,7 @@

    - +
    char munmap_args::len_l_[PADL_(size_t)] char munmap_args::len_l_[PADL_(size_t)]
    @@ -136,7 +134,7 @@

    -Definition at line 123 of file sysproto.h. +Definition at line 138 of file sysproto.h.

    @@ -144,7 +142,7 @@

    - +
    char munmap_args::len_r_[PADR_(size_t)] char munmap_args::len_r_[PADR_(size_t)]
    @@ -153,12 +151,12 @@

    -Definition at line 123 of file sysproto.h. +Definition at line 138 of file sysproto.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structnet.html b/doc/html/structnet.html index d180bbf..13e2387 100644 --- a/doc/html/structnet.html +++ b/doc/html/structnet.html @@ -8,7 +8,6 @@

    net Struct Reference

    #include <device.old.h> @@ -82,7 +80,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structnetbuf.html b/doc/html/structnetbuf.html index f670427..e3d4d77 100644 --- a/doc/html/structnetbuf.html +++ b/doc/html/structnetbuf.html @@ -8,7 +8,6 @@

    netbuf Struct Reference

    #include <api.h> @@ -39,7 +37,7 @@ ip_addrfromaddr -uInt16 fromport +uInt16 fromport pbufp @@ -95,7 +93,7 @@ @@ -149,7 +147,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/net/api.h
    -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structnetconn.html b/doc/html/structnetconn.html index 07cfe82..d95725a 100644 --- a/doc/html/structnetconn.html +++ b/doc/html/structnetconn.html @@ -8,7 +8,6 @@

    netconn Struct Reference

    #include <api.h> @@ -254,7 +252,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/net/api.h
    -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structnetif.html b/doc/html/structnetif.html index e110b59..23d3b16 100644 --- a/doc/html/structnetif.html +++ b/doc/html/structnetif.html @@ -8,7 +8,6 @@

    netif Struct Reference

    #include <netif.h> @@ -51,7 +49,7 @@ netifnext -uInt8 num +uInt8 num err_t(* output )(struct netif *netif, struct pbuf *p, struct ip_addr *ipaddr) @@ -215,7 +213,7 @@ @@ -265,7 +263,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structnicBuffer.html b/doc/html/structnicBuffer.html index 37e448e..cce1d58 100644 --- a/doc/html/structnicBuffer.html +++ b/doc/html/structnicBuffer.html @@ -8,7 +8,6 @@

    nicBuffer Struct Reference

    #include <ne2k.h> @@ -107,7 +105,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structnicInfo.html b/doc/html/structnicInfo.html index 9671bff..3665b46 100644 --- a/doc/html/structnicInfo.html +++ b/doc/html/structnicInfo.html @@ -8,7 +8,6 @@

    nicInfo Struct Reference

    #include <lnc.h> @@ -147,7 +145,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/pci/lnc.h
    -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structobreak__args.html b/doc/html/structobreak__args.html index a5c10e0..5ff1dd9 100644 --- a/doc/html/structobreak__args.html +++ b/doc/html/structobreak__args.html @@ -8,7 +8,6 @@

    obreak_args Struct Reference

    #include <sysproto.h> @@ -47,7 +45,7 @@

    -Definition at line 107 of file sysproto.h.


    Field Documentation

    +Definition at line 122 of file sysproto.h.

    Field Documentation

    @@ -62,9 +60,9 @@

    -Definition at line 108 of file sysproto.h. +Definition at line 123 of file sysproto.h.

    -Referenced by obreak(). +Referenced by obreak().

    @@ -81,7 +79,7 @@

    -Definition at line 108 of file sysproto.h. +Definition at line 123 of file sysproto.h.

    @@ -98,12 +96,12 @@

    -Definition at line 108 of file sysproto.h. +Definition at line 123 of file sysproto.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structogModeInfo.html b/doc/html/structogModeInfo.html index 88fd7d8..cada773 100644 --- a/doc/html/structogModeInfo.html +++ b/doc/html/structogModeInfo.html @@ -8,7 +8,6 @@

    ogModeInfo Struct Reference

    #include <ogDisplay_UbixOS.h> @@ -35,71 +33,71 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +

    Public Member Functions

    uInt8 paddington[461] __attribute__ ((packed))
    uInt8 paddington[461] __attribute__ ((packed))
    uInt16 offScreenMemSize __attribute__ ((packed))
    uInt16 offScreenMemSize __attribute__ ((packed))
    void *offScreenMemOffset __attribute__ ((packed))
    uInt32 physBasePtr __attribute__ ((packed))
    uInt32 physBasePtr __attribute__ ((packed))
    uInt8 directColourMode __attribute__ ((packed))
    uInt8 directColourMode __attribute__ ((packed))
    uInt8 alphaFieldPosition __attribute__ ((packed))
    uInt8 alphaFieldPosition __attribute__ ((packed))
    uInt8 alphaMaskSize __attribute__ ((packed))
    uInt8 alphaMaskSize __attribute__ ((packed))
    uInt8 blueFieldPosition __attribute__ ((packed))
    uInt8 blueFieldPosition __attribute__ ((packed))
    uInt8 blueMaskSize __attribute__ ((packed))
    uInt8 blueMaskSize __attribute__ ((packed))
    uInt8 greenFieldPosition __attribute__ ((packed))
    uInt8 greenFieldPosition __attribute__ ((packed))
    uInt8 greenMaskSize __attribute__ ((packed))
    uInt8 greenMaskSize __attribute__ ((packed))
    uInt8 redFieldPosition __attribute__ ((packed))
    uInt8 redFieldPosition __attribute__ ((packed))
    uInt8 redMaskSize __attribute__ ((packed))
    uInt8 redMaskSize __attribute__ ((packed))
    uInt8 reserved __attribute__ ((packed))
    uInt8 reserved __attribute__ ((packed))
    uInt8 numOfImagePages __attribute__ ((packed))
    uInt8 numOfImagePages __attribute__ ((packed))
    uInt8 bankSize __attribute__ ((packed))
    uInt8 bankSize __attribute__ ((packed))
    uInt8 memoryModel __attribute__ ((packed))
    uInt8 memoryModel __attribute__ ((packed))
    uInt8 numberOfBanks __attribute__ ((packed))
    uInt8 numberOfBanks __attribute__ ((packed))
    uInt8 bitsPerPixel __attribute__ ((packed))
    uInt8 bitsPerPixel __attribute__ ((packed))
    uInt8 numBitPlanes __attribute__ ((packed))
    uInt8 numBitPlanes __attribute__ ((packed))
    uInt8 charHeight __attribute__ ((packed))
    uInt8 charHeight __attribute__ ((packed))
    uInt8 charWidth __attribute__ ((packed))
    uInt8 charWidth __attribute__ ((packed))
    uInt16 yRes __attribute__ ((packed))
    uInt16 yRes __attribute__ ((packed))
    uInt16 xRes __attribute__ ((packed))
    uInt16 xRes __attribute__ ((packed))
    uInt16 bytesPerLine __attribute__ ((packed))
    uInt16 bytesPerLine __attribute__ ((packed))
    void *bankSwitch __attribute__ ((packed))
    uInt16 windowBSeg __attribute__ ((packed))
    uInt16 windowBSeg __attribute__ ((packed))
    uInt16 windowASeg __attribute__ ((packed))
    uInt16 windowASeg __attribute__ ((packed))
    uInt16 windowSize __attribute__ ((packed))
    uInt16 windowSize __attribute__ ((packed))
    uInt16 granularity __attribute__ ((packed))
    uInt16 granularity __attribute__ ((packed))
    uInt8 windowBFlags __attribute__ ((packed))
    uInt8 windowBFlags __attribute__ ((packed))
    uInt8 windowAFlags __attribute__ ((packed))
    uInt8 windowAFlags __attribute__ ((packed))
    uInt16 modeAttributes __attribute__ ((packed))
    uInt16 modeAttributes __attribute__ ((packed))

    Detailed Description

    @@ -113,7 +111,7 @@
    - + @@ -133,7 +131,7 @@
    uInt8 paddington [461] ogModeInfo::__attribute__ uInt8 paddington [461] ogModeInfo::__attribute__ ( (packed
    - + @@ -173,7 +171,7 @@
    uInt16 offScreenMemSize ogModeInfo::__attribute__ uInt16 offScreenMemSize ogModeInfo::__attribute__ ( (packed
    - + @@ -193,7 +191,7 @@
    uInt32 physBasePtr ogModeInfo::__attribute__ uInt32 physBasePtr ogModeInfo::__attribute__ ( (packed
    - + @@ -213,7 +211,7 @@
    uInt8 directColourMode ogModeInfo::__attribute__ uInt8 directColourMode ogModeInfo::__attribute__ ( (packed
    - + @@ -233,7 +231,7 @@
    uInt8 alphaFieldPosition ogModeInfo::__attribute__ uInt8 alphaFieldPosition ogModeInfo::__attribute__ ( (packed
    - + @@ -253,7 +251,7 @@
    uInt8 alphaMaskSize ogModeInfo::__attribute__ uInt8 alphaMaskSize ogModeInfo::__attribute__ ( (packed
    - + @@ -273,7 +271,7 @@
    uInt8 blueFieldPosition ogModeInfo::__attribute__ uInt8 blueFieldPosition ogModeInfo::__attribute__ ( (packed
    - + @@ -293,7 +291,7 @@
    uInt8 blueMaskSize ogModeInfo::__attribute__ uInt8 blueMaskSize ogModeInfo::__attribute__ ( (packed
    - + @@ -313,7 +311,7 @@
    uInt8 greenFieldPosition ogModeInfo::__attribute__ uInt8 greenFieldPosition ogModeInfo::__attribute__ ( (packed
    - + @@ -333,7 +331,7 @@
    uInt8 greenMaskSize ogModeInfo::__attribute__ uInt8 greenMaskSize ogModeInfo::__attribute__ ( (packed
    - + @@ -353,7 +351,7 @@
    uInt8 redFieldPosition ogModeInfo::__attribute__ uInt8 redFieldPosition ogModeInfo::__attribute__ ( (packed
    - + @@ -373,7 +371,7 @@
    uInt8 redMaskSize ogModeInfo::__attribute__ uInt8 redMaskSize ogModeInfo::__attribute__ ( (packed
    - + @@ -393,7 +391,7 @@
    uInt8 reserved ogModeInfo::__attribute__ uInt8 reserved ogModeInfo::__attribute__ ( (packed
    - + @@ -413,7 +411,7 @@
    uInt8 numOfImagePages ogModeInfo::__attribute__ uInt8 numOfImagePages ogModeInfo::__attribute__ ( (packed
    - + @@ -433,7 +431,7 @@
    uInt8 bankSize ogModeInfo::__attribute__ uInt8 bankSize ogModeInfo::__attribute__ ( (packed
    - + @@ -453,7 +451,7 @@
    uInt8 memoryModel ogModeInfo::__attribute__ uInt8 memoryModel ogModeInfo::__attribute__ ( (packed
    - + @@ -473,7 +471,7 @@
    uInt8 numberOfBanks ogModeInfo::__attribute__ uInt8 numberOfBanks ogModeInfo::__attribute__ ( (packed
    - + @@ -493,7 +491,7 @@
    uInt8 bitsPerPixel ogModeInfo::__attribute__ uInt8 bitsPerPixel ogModeInfo::__attribute__ ( (packed
    - + @@ -513,7 +511,7 @@
    uInt8 numBitPlanes ogModeInfo::__attribute__ uInt8 numBitPlanes ogModeInfo::__attribute__ ( (packed
    - + @@ -533,7 +531,7 @@
    uInt8 charHeight ogModeInfo::__attribute__ uInt8 charHeight ogModeInfo::__attribute__ ( (packed
    - + @@ -553,7 +551,7 @@
    uInt8 charWidth ogModeInfo::__attribute__ uInt8 charWidth ogModeInfo::__attribute__ ( (packed
    - + @@ -573,7 +571,7 @@
    uInt16 yRes ogModeInfo::__attribute__ uInt16 yRes ogModeInfo::__attribute__ ( (packed
    - + @@ -593,7 +591,7 @@
    uInt16 xRes ogModeInfo::__attribute__ uInt16 xRes ogModeInfo::__attribute__ ( (packed
    - + @@ -633,7 +631,7 @@
    uInt16 bytesPerLine ogModeInfo::__attribute__ uInt16 bytesPerLine ogModeInfo::__attribute__ ( (packed
    - + @@ -653,7 +651,7 @@
    uInt16 windowBSeg ogModeInfo::__attribute__ uInt16 windowBSeg ogModeInfo::__attribute__ ( (packed
    - + @@ -673,7 +671,7 @@
    uInt16 windowASeg ogModeInfo::__attribute__ uInt16 windowASeg ogModeInfo::__attribute__ ( (packed
    - + @@ -693,7 +691,7 @@
    uInt16 windowSize ogModeInfo::__attribute__ uInt16 windowSize ogModeInfo::__attribute__ ( (packed
    - + @@ -713,7 +711,7 @@
    uInt16 granularity ogModeInfo::__attribute__ uInt16 granularity ogModeInfo::__attribute__ ( (packed
    - + @@ -733,7 +731,7 @@
    uInt8 windowBFlags ogModeInfo::__attribute__ uInt8 windowBFlags ogModeInfo::__attribute__ ( (packed
    - + @@ -753,7 +751,7 @@
    uInt8 windowAFlags ogModeInfo::__attribute__ uInt8 windowAFlags ogModeInfo::__attribute__ ( (packed
    - + @@ -770,7 +768,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structogVESAInfo.html b/doc/html/structogVESAInfo.html index 3146229..ee08379 100644 --- a/doc/html/structogVESAInfo.html +++ b/doc/html/structogVESAInfo.html @@ -8,7 +8,6 @@

    ogVESAInfo Struct Reference

    #include <ogDisplay_UbixOS.h> @@ -35,27 +33,27 @@
    uInt16 modeAttributes ogModeInfo::__attribute__ uInt16 modeAttributes ogModeInfo::__attribute__ ( (packed
    - + - + - + - + - + - + - + - + - + - + - + @@ -71,7 +69,7 @@

    Public Member Functions

    uInt8 paddington[474] __attribute__ ((packed))
    uInt8 paddington[474] __attribute__ ((packed))
    uInt32 OEMProductRevPtr __attribute__ ((packed))
    uInt32 OEMProductRevPtr __attribute__ ((packed))
    uInt32 OEMProductNamePtr __attribute__ ((packed))
    uInt32 OEMProductNamePtr __attribute__ ((packed))
    uInt32 OEMVendorNamePtr __attribute__ ((packed))
    uInt32 OEMVendorNamePtr __attribute__ ((packed))
    uInt16 OEMSoftwareRev __attribute__ ((packed))
    uInt16 OEMSoftwareRev __attribute__ ((packed))
    uInt16 totalMemory __attribute__ ((packed))
    uInt16 totalMemory __attribute__ ((packed))
    uInt32 videoModePtr __attribute__ ((packed))
    uInt32 videoModePtr __attribute__ ((packed))
    uInt32 capabilities __attribute__ ((packed))
    uInt32 capabilities __attribute__ ((packed))
    uInt32 OEMStringPtr __attribute__ ((packed))
    uInt32 OEMStringPtr __attribute__ ((packed))
    uInt8 majVersion __attribute__ ((packed))
    uInt8 majVersion __attribute__ ((packed))
    uInt8 minVersion __attribute__ ((packed))
    uInt8 minVersion __attribute__ ((packed))
    char VBESignature[4] __attribute__ ((packed))
    - + @@ -91,7 +89,7 @@
    uInt8 paddington [474] ogVESAInfo::__attribute__ uInt8 paddington [474] ogVESAInfo::__attribute__ ( (packed
    - + @@ -111,7 +109,7 @@
    uInt32 OEMProductRevPtr ogVESAInfo::__attribute__ uInt32 OEMProductRevPtr ogVESAInfo::__attribute__ ( (packed
    - + @@ -131,7 +129,7 @@
    uInt32 OEMProductNamePtr ogVESAInfo::__attribute__ uInt32 OEMProductNamePtr ogVESAInfo::__attribute__ ( (packed
    - + @@ -151,7 +149,7 @@
    uInt32 OEMVendorNamePtr ogVESAInfo::__attribute__ uInt32 OEMVendorNamePtr ogVESAInfo::__attribute__ ( (packed
    - + @@ -171,7 +169,7 @@
    uInt16 OEMSoftwareRev ogVESAInfo::__attribute__ uInt16 OEMSoftwareRev ogVESAInfo::__attribute__ ( (packed
    - + @@ -191,7 +189,7 @@
    uInt16 totalMemory ogVESAInfo::__attribute__ uInt16 totalMemory ogVESAInfo::__attribute__ ( (packed
    - + @@ -211,7 +209,7 @@
    uInt32 videoModePtr ogVESAInfo::__attribute__ uInt32 videoModePtr ogVESAInfo::__attribute__ ( (packed
    - + @@ -231,7 +229,7 @@
    uInt32 capabilities ogVESAInfo::__attribute__ uInt32 capabilities ogVESAInfo::__attribute__ ( (packed
    - + @@ -251,7 +249,7 @@
    uInt32 OEMStringPtr ogVESAInfo::__attribute__ uInt32 OEMStringPtr ogVESAInfo::__attribute__ ( (packed
    - + @@ -271,7 +269,7 @@
    uInt8 majVersion ogVESAInfo::__attribute__ uInt8 majVersion ogVESAInfo::__attribute__ ( (packed
    - + @@ -308,7 +306,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:04 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structosInfo.html b/doc/html/structosInfo.html index a69680b..6dcb409 100644 --- a/doc/html/structosInfo.html +++ b/doc/html/structosInfo.html @@ -8,7 +8,6 @@

    osInfo Struct Reference

    #include <sched.h> @@ -35,21 +33,21 @@
    uInt8 minVersion ogVESAInfo::__attribute__ uInt8 minVersion ogVESAInfo::__attribute__ ( (packed
    - + - + - + - + - + - +

    Data Fields

    uInt32 controlKeys
    uInt32 controlKeys
    char cwd [1024]
    char * stdin
    uInt32 stdinSize
    uInt32 stdinSize
    uInt8 timer
    uInt8 timer
    bool v86If
    bool v86If
    uInt8 v86Task
    uInt8 v86Task
    uInt32 vmStart
    uInt32 vmStart

    Detailed Description

    @@ -63,7 +61,7 @@ @@ -91,7 +89,7 @@

    Definition at line 51 of file sched.h.

    -Referenced by fork_copyProcess(), sysChDir(), sysGetCwd(), and sysMkDir(). +Referenced by fork_copyProcess(), sysChDir(), sysGetCwd(), and sysMkDir().

    @@ -116,7 +114,7 @@

    @@ -133,7 +131,7 @@ @@ -152,7 +150,7 @@ @@ -171,7 +169,7 @@ @@ -190,7 +188,7 @@ @@ -206,7 +204,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structpartitionInformation.html b/doc/html/structpartitionInformation.html index 2de4fea..c4d56f2 100644 --- a/doc/html/structpartitionInformation.html +++ b/doc/html/structpartitionInformation.html @@ -8,7 +8,6 @@ -

    partitionInformation Struct Reference

    #include <ubixfs.h> +

    partitionInformation Struct Reference

    #include <ubixfs.h>

    - + - + - + - +

    Data Fields

    uInt32 blockAllocationTable
    uInt32 blockAllocationTable
    uInt32 rootDirectory
    uInt32 rootDirectory
    uInt32 size
    uInt32 size
    uInt32 startSector
    uInt32 startSector


    Detailed Description

    @@ -49,13 +47,13 @@

    -Definition at line 87 of file ubixfs.h.


    Field Documentation

    +Definition at line 87 of file ubixfs.h.

    Field Documentation

    @@ -64,7 +62,7 @@

    -Definition at line 90 of file ubixfs.h. +Definition at line 90 of file ubixfs.h.

    @@ -72,7 +70,7 @@

    @@ -81,7 +79,7 @@

    -Definition at line 91 of file ubixfs.h. +Definition at line 91 of file ubixfs.h.

    @@ -89,7 +87,7 @@

    @@ -98,7 +96,7 @@

    -Definition at line 88 of file ubixfs.h. +Definition at line 88 of file ubixfs.h.

    @@ -106,7 +104,7 @@

    @@ -115,12 +113,12 @@

    -Definition at line 89 of file ubixfs.h. +Definition at line 89 of file ubixfs.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
  • src/sys/include/ubixfs/ubixfs.h +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structpbuf.html b/doc/html/structpbuf.html index 1cadff9..20bbe67 100644 --- a/doc/html/structpbuf.html +++ b/doc/html/structpbuf.html @@ -8,7 +8,6 @@

    pbuf Struct Reference

    #include <pbuf.h> @@ -35,17 +33,17 @@ - + - + - + - +

    Data Fields

    uInt8 flags
    uInt8 flags
    uInt16 len
    uInt16 len
    pbufnext
    void * payload
    uInt8 ref
    uInt8 ref
    uInt16 tot_len
    uInt16 tot_len

    Detailed Description

    @@ -59,7 +57,7 @@ @@ -76,7 +74,7 @@ @@ -133,7 +131,7 @@ @@ -150,7 +148,7 @@ @@ -166,7 +164,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structpciConfig.html b/doc/html/structpciConfig.html index 92e63fd..b629736 100644 --- a/doc/html/structpciConfig.html +++ b/doc/html/structpciConfig.html @@ -8,7 +8,6 @@

    pciConfig Struct Reference

    #include <pci.h> @@ -35,45 +33,45 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +

    Data Fields

    uInt32 base [6]
    uInt32 base [6]
    uInt8 baseClass
    uInt8 baseClass
    uInt8 bist
    uInt8 bist
    uInt8 bus
    uInt8 bus
    uInt8 cacheLineSize
    uInt8 cacheLineSize
    uInt16 command
    uInt16 command
    uInt8 dev
    uInt8 dev
    uInt16 deviceId
    uInt16 deviceId
    uInt8 func
    uInt8 func
    uInt8 headerType
    uInt8 headerType
    uInt8 interface
    uInt8 interface
    uInt8 irq
    uInt8 irq
    uInt8 latencyTimer
    uInt8 latencyTimer
    uInt8 revisionId
    uInt8 revisionId
    uInt32 size [6]
    uInt32 size [6]
    uInt16 status
    uInt16 status
    uInt8 subClass
    uInt8 subClass
    uInt16 subsys
    uInt16 subsys
    uInt16 subsysVendor
    uInt16 subsysVendor
    uInt16 vendorId
    uInt16 vendorId

    Detailed Description

    @@ -87,7 +85,7 @@ @@ -106,7 +104,7 @@ @@ -125,7 +123,7 @@ @@ -144,7 +142,7 @@ @@ -163,7 +161,7 @@ @@ -182,7 +180,7 @@ @@ -201,7 +199,7 @@ @@ -220,7 +218,7 @@ @@ -239,7 +237,7 @@ @@ -258,7 +256,7 @@ @@ -277,7 +275,7 @@ @@ -296,7 +294,7 @@ @@ -315,7 +313,7 @@ @@ -334,7 +332,7 @@ @@ -351,7 +349,7 @@ @@ -370,7 +368,7 @@ @@ -389,7 +387,7 @@ @@ -408,7 +406,7 @@ @@ -427,7 +425,7 @@ @@ -446,7 +444,7 @@ @@ -462,7 +460,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/pci/pci.h
    -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structpipe__args.html b/doc/html/structpipe__args.html index 5351a59..16032cb 100644 --- a/doc/html/structpipe__args.html +++ b/doc/html/structpipe__args.html @@ -8,7 +8,6 @@

    pipe_args Struct Reference

    #include <sysproto.h> @@ -43,7 +41,7 @@

    -Definition at line 76 of file sysproto.h.


    Field Documentation

    +Definition at line 91 of file sysproto.h.

    Field Documentation

    @@ -58,12 +56,12 @@

    -Definition at line 77 of file sysproto.h. +Definition at line 92 of file sysproto.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structreadlink__args.html b/doc/html/structreadlink__args.html index 21847f3..53622c3 100644 --- a/doc/html/structreadlink__args.html +++ b/doc/html/structreadlink__args.html @@ -8,7 +8,6 @@

    readlink_args Struct Reference

    #include <sysproto.h> @@ -59,7 +57,7 @@

    -Definition at line 80 of file sysproto.h.


    Field Documentation

    +Definition at line 95 of file sysproto.h.

    Field Documentation

    @@ -74,7 +72,7 @@

    -Definition at line 82 of file sysproto.h. +Definition at line 97 of file sysproto.h.

    @@ -91,7 +89,7 @@

    -Definition at line 82 of file sysproto.h. +Definition at line 97 of file sysproto.h.

    @@ -108,7 +106,7 @@

    -Definition at line 82 of file sysproto.h. +Definition at line 97 of file sysproto.h.

    @@ -125,9 +123,9 @@

    -Definition at line 83 of file sysproto.h. +Definition at line 98 of file sysproto.h.

    -Referenced by readlink(). +Referenced by readlink().

    @@ -144,7 +142,7 @@

    -Definition at line 83 of file sysproto.h. +Definition at line 98 of file sysproto.h.

    @@ -161,7 +159,7 @@

    -Definition at line 83 of file sysproto.h. +Definition at line 98 of file sysproto.h.

    @@ -178,9 +176,9 @@

    -Definition at line 81 of file sysproto.h. +Definition at line 96 of file sysproto.h.

    -Referenced by readlink(). +Referenced by readlink().

    @@ -197,7 +195,7 @@

    -Definition at line 81 of file sysproto.h. +Definition at line 96 of file sysproto.h.

    @@ -214,12 +212,12 @@

    -Definition at line 81 of file sysproto.h. +Definition at line 96 of file sysproto.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structsdeWindows.html b/doc/html/structsdeWindows.html index f6fd7bd..81036aa 100644 --- a/doc/html/structsdeWindows.html +++ b/doc/html/structsdeWindows.html @@ -8,7 +8,6 @@

    sdeWindows Struct Reference

    #include <sde.h> @@ -39,11 +37,11 @@ sdeWindowsnext -pidType pid +pidType pid sdeWindowsprev -uInt8 status +uInt8 status

    Detailed Description

    @@ -91,7 +89,7 @@ @@ -125,7 +123,7 @@ @@ -139,7 +137,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/sde/sde.h
    -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structsigaction__args.html b/doc/html/structsigaction__args.html index eea3158..2e85eb3 100644 --- a/doc/html/structsigaction__args.html +++ b/doc/html/structsigaction__args.html @@ -8,7 +8,6 @@

    sigaction_args Struct Reference

    #include <sysproto.h> @@ -59,7 +57,7 @@

    -Definition at line 111 of file sysproto.h.


    Field Documentation

    +Definition at line 126 of file sysproto.h.

    Field Documentation

    @@ -74,7 +72,7 @@

    -Definition at line 113 of file sysproto.h. +Definition at line 128 of file sysproto.h.

    @@ -91,7 +89,7 @@

    -Definition at line 113 of file sysproto.h. +Definition at line 128 of file sysproto.h.

    @@ -108,7 +106,7 @@

    -Definition at line 113 of file sysproto.h. +Definition at line 128 of file sysproto.h.

    @@ -125,7 +123,7 @@

    -Definition at line 114 of file sysproto.h. +Definition at line 129 of file sysproto.h.

    @@ -142,7 +140,7 @@

    -Definition at line 114 of file sysproto.h. +Definition at line 129 of file sysproto.h.

    @@ -159,7 +157,7 @@

    -Definition at line 114 of file sysproto.h. +Definition at line 129 of file sysproto.h.

    @@ -176,7 +174,7 @@

    -Definition at line 112 of file sysproto.h. +Definition at line 127 of file sysproto.h.

    @@ -193,7 +191,7 @@

    -Definition at line 112 of file sysproto.h. +Definition at line 127 of file sysproto.h.

    @@ -210,12 +208,12 @@

    -Definition at line 112 of file sysproto.h. +Definition at line 127 of file sysproto.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structsigprocmask__args.html b/doc/html/structsigprocmask__args.html index 56eee1e..c6f65fc 100644 --- a/doc/html/structsigprocmask__args.html +++ b/doc/html/structsigprocmask__args.html @@ -8,7 +8,6 @@

    sigprocmask_args Struct Reference

    #include <sysproto.h> @@ -59,7 +57,7 @@

    -Definition at line 126 of file sysproto.h.


    Field Documentation

    +Definition at line 141 of file sysproto.h.

    Field Documentation

    @@ -74,7 +72,7 @@

    -Definition at line 127 of file sysproto.h. +Definition at line 142 of file sysproto.h.

    @@ -91,7 +89,7 @@

    -Definition at line 127 of file sysproto.h. +Definition at line 142 of file sysproto.h.

    @@ -108,7 +106,7 @@

    -Definition at line 127 of file sysproto.h. +Definition at line 142 of file sysproto.h.

    @@ -125,7 +123,7 @@

    -Definition at line 129 of file sysproto.h. +Definition at line 144 of file sysproto.h.

    @@ -142,7 +140,7 @@

    -Definition at line 129 of file sysproto.h. +Definition at line 144 of file sysproto.h.

    @@ -159,7 +157,7 @@

    -Definition at line 129 of file sysproto.h. +Definition at line 144 of file sysproto.h.

    @@ -176,7 +174,7 @@

    -Definition at line 128 of file sysproto.h. +Definition at line 143 of file sysproto.h.

    @@ -193,7 +191,7 @@

    -Definition at line 128 of file sysproto.h. +Definition at line 143 of file sysproto.h.

    @@ -210,12 +208,12 @@

    -Definition at line 128 of file sysproto.h. +Definition at line 143 of file sysproto.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structsockaddr.html b/doc/html/structsockaddr.html index a5f1ebc..38423c4 100644 --- a/doc/html/structsockaddr.html +++ b/doc/html/structsockaddr.html @@ -8,7 +8,6 @@

    sockaddr Struct Reference

    #include <sockets.h> @@ -37,9 +35,9 @@

    Data Fields

    char sa_data [14] -uInt8 sa_family +uInt8 sa_family -uInt8 sa_len +uInt8 sa_len

    Detailed Description

    @@ -70,7 +68,7 @@ @@ -87,7 +85,7 @@ @@ -101,7 +99,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structsockaddr__in.html b/doc/html/structsockaddr__in.html index 68b7458..79cb7ab 100644 --- a/doc/html/structsockaddr__in.html +++ b/doc/html/structsockaddr__in.html @@ -8,7 +8,6 @@

    sockaddr_in Struct Reference

    #include <sockets.h> @@ -37,11 +35,11 @@

    Data Fields

    in_addr sin_addr -uInt8 sin_family +uInt8 sin_family -uInt8 sin_len +uInt8 sin_len -uInt16 sin_port +uInt16 sin_port char sin_zero [8] @@ -74,7 +72,7 @@ @@ -91,7 +89,7 @@ @@ -108,7 +106,7 @@ @@ -139,7 +137,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structstat.html b/doc/html/structstat.html index 52a6e3f..e91a812 100644 --- a/doc/html/structstat.html +++ b/doc/html/structstat.html @@ -8,7 +8,6 @@

    stat Struct Reference

    #include <kern_descrip.h> @@ -43,41 +41,41 @@ unsigned int:(8 / 2) * (16 - (int)sizeof(struct __timespec)) -time_t st_atime +time_t st_atime -time_t st_birthtime +time_t st_birthtime long st_birthtimensec -blksize_t st_blksize +blksize_t st_blksize -blkcnt_t st_blocks +blkcnt_t st_blocks -time_t st_ctime +time_t st_ctime __dev_t st_dev -fflags_t st_flags +fflags_t st_flags __uint32_t st_gen -gid_t st_gid +gid_t st_gid -ino_t st_ino +ino_t st_ino __int32_t st_lspare mode_t st_mode -time_t st_mtime +time_t st_mtime nlink_t st_nlink __dev_t st_rdev -off_t st_size +off_t st_size -uid_t st_uid +uid_t st_uid

    Detailed Description

    @@ -85,7 +83,7 @@

    -Definition at line 101 of file kern_descrip.h.


    Field Documentation

    +Definition at line 105 of file kern_descrip.h.

    Field Documentation

    @@ -100,7 +98,7 @@

    -Definition at line 115 of file kern_descrip.h. +Definition at line 119 of file kern_descrip.h.

    @@ -117,7 +115,7 @@

    -Definition at line 119 of file kern_descrip.h. +Definition at line 123 of file kern_descrip.h.

    @@ -134,7 +132,7 @@

    -Definition at line 117 of file kern_descrip.h. +Definition at line 121 of file kern_descrip.h.

    @@ -151,7 +149,7 @@

    -Definition at line 142 of file kern_descrip.h. +Definition at line 146 of file kern_descrip.h.

    @@ -159,7 +157,7 @@

    @@ -168,7 +166,7 @@

    -Definition at line 114 of file kern_descrip.h. +Definition at line 118 of file kern_descrip.h.

    @@ -176,7 +174,7 @@

    @@ -185,7 +183,7 @@

    -Definition at line 140 of file kern_descrip.h. +Definition at line 144 of file kern_descrip.h.

    @@ -202,7 +200,7 @@

    -Definition at line 141 of file kern_descrip.h. +Definition at line 145 of file kern_descrip.h.

    @@ -210,7 +208,7 @@

    @@ -219,9 +217,9 @@

    -Definition at line 123 of file kern_descrip.h. +Definition at line 127 of file kern_descrip.h.

    -Referenced by fstat(). +Referenced by fstat().

    @@ -229,7 +227,24 @@

    +
    + +

    + +

    +Definition at line 126 of file kern_descrip.h. +

    +

    + +

    + @@ -241,23 +256,6 @@ Definition at line 122 of file kern_descrip.h.

    - -

    -
    - - - - -
    time_t stat::st_ctime
    -
    -
    - -

    - -

    -Definition at line 118 of file kern_descrip.h. -

    -

    @@ -272,7 +270,7 @@

    -Definition at line 102 of file kern_descrip.h. +Definition at line 106 of file kern_descrip.h.

    @@ -280,7 +278,7 @@

    @@ -289,7 +287,7 @@

    -Definition at line 124 of file kern_descrip.h. +Definition at line 128 of file kern_descrip.h.

    @@ -306,7 +304,7 @@

    -Definition at line 125 of file kern_descrip.h. +Definition at line 129 of file kern_descrip.h.

    @@ -314,7 +312,24 @@

    +
    + +

    + +

    +Definition at line 111 of file kern_descrip.h. +

    +

    + +

    + @@ -326,23 +341,6 @@ Definition at line 107 of file kern_descrip.h.

    - -

    -
    - - - - -
    ino_t stat::st_ino
    -
    -
    - -

    - -

    -Definition at line 103 of file kern_descrip.h. -

    -

    @@ -357,7 +355,7 @@

    -Definition at line 126 of file kern_descrip.h. +Definition at line 130 of file kern_descrip.h.

    @@ -374,9 +372,9 @@

    -Definition at line 104 of file kern_descrip.h. +Definition at line 108 of file kern_descrip.h.

    -Referenced by fstat(). +Referenced by fstat().

    @@ -384,7 +382,7 @@

    @@ -393,7 +391,7 @@

    -Definition at line 116 of file kern_descrip.h. +Definition at line 120 of file kern_descrip.h.

    @@ -410,7 +408,7 @@

    -Definition at line 105 of file kern_descrip.h. +Definition at line 109 of file kern_descrip.h.

    @@ -427,7 +425,7 @@

    -Definition at line 108 of file kern_descrip.h. +Definition at line 112 of file kern_descrip.h.

    @@ -435,7 +433,7 @@

    @@ -444,7 +442,7 @@

    -Definition at line 121 of file kern_descrip.h. +Definition at line 125 of file kern_descrip.h.

    @@ -452,7 +450,7 @@

    @@ -461,12 +459,12 @@

    -Definition at line 106 of file kern_descrip.h. +Definition at line 110 of file kern_descrip.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structsys__mbox.html b/doc/html/structsys__mbox.html index 7480451..ab258c5 100644 --- a/doc/html/structsys__mbox.html +++ b/doc/html/structsys__mbox.html @@ -8,7 +8,6 @@

    sys_mbox Struct Reference

    - + - + @@ -55,7 +53,7 @@

    Data Fields

    uInt16 first
    uInt16 first
    uInt16 last
    uInt16 last
    sys_semmail
    - +
    uInt16 sys_mbox::first uInt16 sys_mbox::first
    @@ -74,7 +72,7 @@ @@ -147,7 +145,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structsys__mbox__msg.html b/doc/html/structsys__mbox__msg.html index 20be57f..3baa4ef 100644 --- a/doc/html/structsys__mbox__msg.html +++ b/doc/html/structsys__mbox__msg.html @@ -8,7 +8,6 @@

    sys_mbox_msg Struct Reference

    @@ -80,7 +78,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structsys__sem.html b/doc/html/structsys__sem.html index aedf75b..b038905 100644 --- a/doc/html/structsys__sem.html +++ b/doc/html/structsys__sem.html @@ -8,7 +8,6 @@

    sys_sem Struct Reference

    @@ -105,7 +103,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:19 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structsys__thread.html b/doc/html/structsys__thread.html index 5808c34..fac0bdd 100644 --- a/doc/html/structsys__thread.html +++ b/doc/html/structsys__thread.html @@ -8,7 +8,6 @@

    sys_thread Struct Reference

    @@ -105,7 +103,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:20 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structsys__timeout.html b/doc/html/structsys__timeout.html index 4080185..f3b7f4b 100644 --- a/doc/html/structsys__timeout.html +++ b/doc/html/structsys__timeout.html @@ -8,7 +8,6 @@

    sys_timeout Struct Reference

    #include <sys.h> @@ -41,7 +39,7 @@
    - +
    sys_timeoutnext
    uInt16 time
    uInt16 time

    Detailed Description

    @@ -106,7 +104,7 @@ @@ -120,7 +118,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/net/sys.h
    -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:20 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structsys__timeouts.html b/doc/html/structsys__timeouts.html index 47baec6..9ca6a45 100644 --- a/doc/html/structsys__timeouts.html +++ b/doc/html/structsys__timeouts.html @@ -8,7 +8,6 @@

    sys_timeouts Struct Reference

    #include <sys.h> @@ -65,7 +63,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/net/sys.h
    -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:20 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structsysctl__args.html b/doc/html/structsysctl__args.html index d47e877..cb5b4e9 100644 --- a/doc/html/structsysctl__args.html +++ b/doc/html/structsysctl__args.html @@ -8,7 +8,6 @@

    sysctl_args Struct Reference

    #include <sysproto.h> @@ -41,11 +39,11 @@ char name_r_ [PADR_(int *)] -u_int namelen +u_int namelen -char namelen_l_ [PADL_(u_int)] +char namelen_l_ [PADL_(u_int)] -char namelen_r_ [PADR_(u_int)] +char namelen_r_ [PADR_(u_int)] void * new @@ -53,11 +51,11 @@ char new_r_ [PADR_(void *)] -size_t newlen +size_t newlen -char newlen_l_ [PADL_(size_t)] +char newlen_l_ [PADL_(size_t)] -char newlen_r_ [PADR_(size_t)] +char newlen_r_ [PADR_(size_t)] void * old @@ -65,11 +63,11 @@ char old_r_ [PADR_(void *)] -size_toldlenp +size_toldlenp -char oldlenp_l_ [PADL_(size_t *)] +char oldlenp_l_ [PADL_(size_t *)] -char oldlenp_r_ [PADR_(size_t *)] +char oldlenp_r_ [PADR_(size_t *)]

    Detailed Description

    @@ -77,7 +75,7 @@

    -Definition at line 55 of file sysproto.h.


    Field Documentation

    +Definition at line 70 of file sysproto.h.

    Field Documentation

    @@ -92,7 +90,7 @@

    -Definition at line 56 of file sysproto.h. +Definition at line 71 of file sysproto.h.

    Referenced by __sysctl().

    @@ -111,7 +109,7 @@

    -Definition at line 56 of file sysproto.h. +Definition at line 71 of file sysproto.h.

    @@ -128,7 +126,7 @@

    -Definition at line 56 of file sysproto.h. +Definition at line 71 of file sysproto.h.

    @@ -136,7 +134,7 @@

    @@ -145,7 +143,7 @@

    -Definition at line 57 of file sysproto.h. +Definition at line 72 of file sysproto.h.

    Referenced by __sysctl(). @@ -155,7 +153,7 @@

    @@ -164,7 +162,7 @@

    -Definition at line 57 of file sysproto.h. +Definition at line 72 of file sysproto.h.

    @@ -172,7 +170,7 @@

    @@ -181,7 +179,7 @@

    -Definition at line 57 of file sysproto.h. +Definition at line 72 of file sysproto.h.

    @@ -198,7 +196,7 @@

    -Definition at line 60 of file sysproto.h. +Definition at line 75 of file sysproto.h.

    @@ -215,7 +213,7 @@

    -Definition at line 60 of file sysproto.h. +Definition at line 75 of file sysproto.h.

    @@ -232,7 +230,7 @@

    -Definition at line 60 of file sysproto.h. +Definition at line 75 of file sysproto.h.

    @@ -240,7 +238,7 @@

    @@ -249,7 +247,7 @@

    -Definition at line 61 of file sysproto.h. +Definition at line 76 of file sysproto.h.

    Referenced by __sysctl(). @@ -259,7 +257,7 @@

    @@ -268,7 +266,7 @@

    -Definition at line 61 of file sysproto.h. +Definition at line 76 of file sysproto.h.

    @@ -276,7 +274,7 @@

    @@ -285,7 +283,7 @@

    -Definition at line 61 of file sysproto.h. +Definition at line 76 of file sysproto.h.

    @@ -302,7 +300,7 @@

    -Definition at line 58 of file sysproto.h. +Definition at line 73 of file sysproto.h.

    Referenced by __sysctl(). @@ -321,7 +319,7 @@

    -Definition at line 58 of file sysproto.h. +Definition at line 73 of file sysproto.h.

    @@ -338,7 +336,7 @@

    -Definition at line 58 of file sysproto.h. +Definition at line 73 of file sysproto.h.

    @@ -346,7 +344,7 @@

    @@ -355,7 +353,7 @@

    -Definition at line 59 of file sysproto.h. +Definition at line 74 of file sysproto.h.

    Referenced by __sysctl(). @@ -365,7 +363,7 @@

    - +
    char sysctl_args::oldlenp_l_[PADL_(size_t *)] char sysctl_args::oldlenp_l_[PADL_(size_t *)]
    @@ -374,7 +372,7 @@

    -Definition at line 59 of file sysproto.h. +Definition at line 74 of file sysproto.h.

    @@ -382,7 +380,7 @@

    - +
    char sysctl_args::oldlenp_r_[PADR_(size_t *)] char sysctl_args::oldlenp_r_[PADR_(size_t *)]
    @@ -391,12 +389,12 @@

    -Definition at line 59 of file sysproto.h. +Definition at line 74 of file sysproto.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:20 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structsysctl__entry.html b/doc/html/structsysctl__entry.html index 528fdd2..1918855 100644 --- a/doc/html/structsysctl__entry.html +++ b/doc/html/structsysctl__entry.html @@ -8,7 +8,6 @@

    sysctl_entry Struct Reference

    #include <kern_sysctl.h> @@ -72,7 +70,7 @@

    Definition at line 60 of file kern_sysctl.h.

    -Referenced by sysctl_add(), sysctl_find(), and sysctl_init(). +Referenced by sysctl_add(), sysctl_find(), and sysctl_init().

    @@ -91,7 +89,7 @@

    Definition at line 62 of file kern_sysctl.h.

    -Referenced by sysctl_add(), sysctl_find(), and sysctl_init(). +Referenced by sysctl_add(), sysctl_find(), and sysctl_init().

    @@ -110,7 +108,7 @@

    Definition at line 61 of file kern_sysctl.h.

    -Referenced by sysctl_add(), and sysctl_init(). +Referenced by sysctl_add(), and sysctl_init().

    @@ -129,7 +127,7 @@

    Definition at line 59 of file kern_sysctl.h.

    -Referenced by sysctl_add(), sysctl_find(), and sysctl_init(). +Referenced by sysctl_add(), sysctl_find(), and sysctl_init().

    @@ -148,7 +146,7 @@

    Definition at line 58 of file kern_sysctl.h.

    -Referenced by sysctl_add(), and sysctl_init(). +Referenced by sysctl_add(), and sysctl_init().

    @@ -167,7 +165,7 @@

    Definition at line 64 of file kern_sysctl.h.

    -Referenced by __sysctl(), and sysctl_add(). +Referenced by __sysctl(), and sysctl_add().

    @@ -186,12 +184,12 @@

    Definition at line 63 of file kern_sysctl.h.

    -Referenced by __sysctl(), and sysctl_add(). +Referenced by __sysctl(), and sysctl_add().


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:20 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structtaskStruct.html b/doc/html/structtaskStruct.html index dc3a78c..a01d034 100644 --- a/doc/html/structtaskStruct.html +++ b/doc/html/structtaskStruct.html @@ -8,7 +8,6 @@

    taskStruct Struct Reference

    #include <sched.h> @@ -35,13 +33,13 @@ - + - + - + @@ -57,9 +55,9 @@ - + - +

    Data Fields

    uInt32 gid
    uInt32 gid
    i387Struct i387
    pidType id
    pidType id
    fileDescriptorimageFd
    fileDescriptorimageFd
    taskStructnext
    tssStruct tss
    uInt32 uid
    uInt32 uid
    uInt16 usedMath
    uInt16 usedMath

    Detailed Description

    @@ -73,7 +71,7 @@ @@ -84,7 +82,7 @@

    Definition at line 63 of file sched.h.

    -Referenced by execFile(), fork_copyProcess(), getgid(), sysGetGid(), and sysSetGid(). +Referenced by execFile(), fork_copyProcess(), getgid(), sysGetGid(), and sysSetGid().

    @@ -111,7 +109,7 @@

    @@ -122,7 +120,7 @@

    Definition at line 55 of file sched.h.

    -Referenced by __sysctl(), _int0(), _int1(), _int10(), _int11(), _int12(), _int13(), _int2(), _int3(), _int4(), _int5(), _int6(), _int8(), _int9(), endTask(), execFile(), execThread(), fork_copyProcess(), getpid(), intNull(), kmod_load(), ldEnable(), mmap(), mpi_createMbox(), mpi_destroyMbox(), mpi_fetchMessage(), mpi_postMessage(), netMainThread(), obreak(), sched(), sched_deleteTask(), sched_init(), schedEndTask(), schedFindTask(), schedNewTask(), sysExec(), sysExit(), sysGetFreePage(), sysGetpid(), systemTask(), ubthread_mutex_lock(), ubthread_mutex_unlock(), vmm_pageFault(), vmm_remapPage(), and vmmGetFreeVirtualPage(). +Referenced by __sysctl(), _int0(), _int1(), _int10(), _int11(), _int12(), _int13(), _int2(), _int3(), _int4(), _int5(), _int6(), _int8(), _int9(), endTask(), execFile(), execThread(), fork_copyProcess(), getpid(), intNull(), kmod_load(), ldEnable(), mmap(), mpi_createMbox(), mpi_destroyMbox(), mpi_fetchMessage(), mpi_postMessage(), netMainThread(), obreak(), sched(), sched_deleteTask(), sched_init(), schedEndTask(), schedFindTask(), schedNewTask(), sysExec(), sysExit(), sysGetFreePage(), sysGetpid(), systemTask(), ubthread_mutex_lock(), ubthread_mutex_unlock(), vmm_pageFault(), vmm_remapPage(), and vmmGetFreeVirtualPage().

    @@ -130,7 +128,7 @@

    @@ -179,7 +177,7 @@

    Definition at line 60 of file sched.h.

    -Referenced by _int13(), biosCall(), execFile(), execThread(), fork_copyProcess(), sysChDir(), sysExec(), sysGetCwd(), sysMkDir(), vmmGetFreeVirtualPage(), and vmmMapFromTask(). +Referenced by _int13(), biosCall(), execFile(), execThread(), fork_copyProcess(), sysChDir(), sysExec(), sysGetCwd(), sysMkDir(), vmmGetFreeVirtualPage(), and vmmMapFromTask().

    @@ -236,7 +234,7 @@

    Definition at line 67 of file sched.h.

    -Referenced by execFile(), fstat(), getgid(), getpid(), getuid(), read(), readlink(), schedNewTask(), syscall(), sysExec(), vmm_pageFault(), and vmmGetFreeVirtualPage(). +Referenced by execFile(), fstat(), getgid(), getpid(), getuid(), readlink(), schedNewTask(), sys_write(), syscall(), sysExec(), vmm_pageFault(), and vmmGetFreeVirtualPage().

    @@ -282,7 +280,7 @@

    @@ -293,7 +291,7 @@

    Definition at line 64 of file sched.h.

    -Referenced by execFile(), fork_copyProcess(), getuid(), sysGetUid(), sysPasswd(), and sysSetUid(). +Referenced by execFile(), fork_copyProcess(), getuid(), sysGetUid(), sysPasswd(), and sysSetUid().

    @@ -301,7 +299,7 @@

    @@ -317,7 +315,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:20 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structtcp__hdr.html b/doc/html/structtcp__hdr.html index 9fad701..92d10cf 100644 --- a/doc/html/structtcp__hdr.html +++ b/doc/html/structtcp__hdr.html @@ -8,7 +8,6 @@

    tcp_hdr Struct Reference

    #include <tcp.h> @@ -35,21 +33,21 @@ - + - + - + - + - + - + - + - +

    Public Member Functions

     PACK_STRUCT_FIELD (uInt16 urgp)
     PACK_STRUCT_FIELD (uInt16 urgp)
     PACK_STRUCT_FIELD (uInt16 chksum)
     PACK_STRUCT_FIELD (uInt16 chksum)
     PACK_STRUCT_FIELD (uInt16 wnd)
     PACK_STRUCT_FIELD (uInt16 wnd)
     PACK_STRUCT_FIELD (uInt16 _offset_flags)
     PACK_STRUCT_FIELD (uInt16 _offset_flags)
     PACK_STRUCT_FIELD (uInt32 ackno)
     PACK_STRUCT_FIELD (uInt32 ackno)
     PACK_STRUCT_FIELD (uInt32 seqno)
     PACK_STRUCT_FIELD (uInt32 seqno)
     PACK_STRUCT_FIELD (uInt16 dest)
     PACK_STRUCT_FIELD (uInt16 dest)
     PACK_STRUCT_FIELD (uInt16 src)
     PACK_STRUCT_FIELD (uInt16 src)

    Detailed Description

    @@ -65,7 +63,7 @@ tcp_hdr::PACK_STRUCT_FIELD ( - uInt16  + uInt16  urgp  )  @@ -85,7 +83,7 @@ tcp_hdr::PACK_STRUCT_FIELD ( - uInt16  + uInt16  chksum  )  @@ -105,7 +103,7 @@ tcp_hdr::PACK_STRUCT_FIELD ( - uInt16  + uInt16  wnd  )  @@ -125,7 +123,7 @@ tcp_hdr::PACK_STRUCT_FIELD ( - uInt16  + uInt16  _offset_flags  )  @@ -145,7 +143,7 @@ tcp_hdr::PACK_STRUCT_FIELD ( - uInt32  + uInt32  ackno  )  @@ -165,7 +163,7 @@ tcp_hdr::PACK_STRUCT_FIELD ( - uInt32  + uInt32  seqno  )  @@ -185,7 +183,7 @@ tcp_hdr::PACK_STRUCT_FIELD ( - uInt16  + uInt16  dest  )  @@ -205,7 +203,7 @@ tcp_hdr::PACK_STRUCT_FIELD ( - uInt16  + uInt16  src  )  @@ -220,7 +218,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/net/tcp.h
    -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:20 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structtcp__pcb.html b/doc/html/structtcp__pcb.html index 5b15143..0ac6c2f 100644 --- a/doc/html/structtcp__pcb.html +++ b/doc/html/structtcp__pcb.html @@ -8,7 +8,6 @@

    tcp_pcb Struct Reference

    #include <tcp.h> @@ -37,41 +35,41 @@

    Data Fields

    err_t(* accept )(void *arg, struct tcp_pcb *newpcb, err_t err) -uInt16 acked +uInt16 acked void * callback_arg err_t(* connected )(void *arg, struct tcp_pcb *pcb, err_t err) -uInt16 cwnd +uInt16 cwnd -uInt8 dupacks +uInt8 dupacks void(* errf )(void *arg, err_t err) -uInt8 flags +uInt8 flags -uInt32 lastack +uInt32 lastack ip_addr local_ip -uInt16 local_port +uInt16 local_port -uInt16 mss +uInt16 mss tcp_pcbnext -uInt8 nrtx +uInt8 nrtx err_t(* poll )(void *arg, struct tcp_pcb *pcb) -uInt8 pollinterval +uInt8 pollinterval -uInt8 polltmr +uInt8 polltmr -uInt32 rcv_nxt +uInt32 rcv_nxt -uInt16 rcv_wnd +uInt16 rcv_wnd err_t(* recv )(void *arg, struct tcp_pcb *pcb, struct pbuf *p, err_t err) @@ -79,43 +77,43 @@ ip_addr remote_ip -uInt16 remote_port +uInt16 remote_port -uInt8 rtime +uInt8 rtime -uInt16 rto +uInt16 rto -uInt32 rtseq +uInt32 rtseq -uInt16 rttest +uInt16 rttest -Int32 sa +Int32 sa -err_t(* sent )(void *arg, struct tcp_pcb *pcb, uInt16 space) +err_t(* sent )(void *arg, struct tcp_pcb *pcb, uInt16 space) -uInt16 snd_buf +uInt16 snd_buf -uInt32 snd_lbb +uInt32 snd_lbb -uInt32 snd_max +uInt32 snd_max -uInt32 snd_nxt +uInt32 snd_nxt -uInt8 snd_queuelen +uInt8 snd_queuelen -uInt32 snd_wl1 +uInt32 snd_wl1 -uInt32 snd_wl2 +uInt32 snd_wl2 -uInt32 snd_wnd +uInt32 snd_wnd -uInt16 ssthresh +uInt16 ssthresh enum tcp_state state -Int32 sv +Int32 sv -uInt16 tmr +uInt16 tmr tcp_segunacked @@ -148,7 +146,7 @@ @@ -197,7 +195,7 @@ @@ -214,7 +212,7 @@ @@ -246,7 +244,7 @@ @@ -263,7 +261,7 @@ @@ -299,7 +297,7 @@ @@ -318,7 +316,7 @@ @@ -352,7 +350,7 @@ @@ -384,7 +382,7 @@ @@ -401,7 +399,7 @@ @@ -418,7 +416,7 @@ @@ -435,7 +433,7 @@ @@ -503,7 +501,7 @@ @@ -522,7 +520,7 @@ @@ -539,7 +537,7 @@ @@ -556,7 +554,7 @@ @@ -573,7 +571,7 @@ @@ -590,7 +588,7 @@ @@ -607,7 +605,7 @@
    - +
    err_t(* tcp_pcb::sent)(void *arg, struct tcp_pcb *pcb, uInt16 space) err_t(* tcp_pcb::sent)(void *arg, struct tcp_pcb *pcb, uInt16 space)
    @@ -622,7 +620,7 @@ @@ -639,7 +637,7 @@ @@ -656,7 +654,7 @@ @@ -673,7 +671,7 @@ @@ -690,7 +688,7 @@ @@ -707,7 +705,7 @@ @@ -724,7 +722,7 @@ @@ -741,7 +739,7 @@ @@ -758,7 +756,7 @@ @@ -794,7 +792,7 @@ @@ -811,7 +809,7 @@ @@ -861,7 +859,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/net/tcp.h
    -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:20 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structtcp__pcb__listen.html b/doc/html/structtcp__pcb__listen.html index 6730f63..dbc4674 100644 --- a/doc/html/structtcp__pcb__listen.html +++ b/doc/html/structtcp__pcb__listen.html @@ -8,7 +8,6 @@

    tcp_pcb_listen Struct Reference

    #include <tcp.h> @@ -41,7 +39,7 @@ ip_addr local_ip -uInt16 local_port +uInt16 local_port tcp_pcb_listennext @@ -108,7 +106,7 @@ @@ -156,7 +154,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/net/tcp.h
    -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:20 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structtcp__seg.html b/doc/html/structtcp__seg.html index 9e8b953..af867de 100644 --- a/doc/html/structtcp__seg.html +++ b/doc/html/structtcp__seg.html @@ -8,7 +8,6 @@

    tcp_seg Struct Reference

    #include <tcp.h> @@ -37,7 +35,7 @@

    Data Fields

    void * dataptr -uInt16 len +uInt16 len tcp_segnext @@ -74,7 +72,7 @@ @@ -139,7 +137,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/net/tcp.h
    -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:20 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structtcpip__msg.html b/doc/html/structtcpip__msg.html index 6b8697e..daf6276 100644 --- a/doc/html/structtcpip__msg.html +++ b/doc/html/structtcpip__msg.html @@ -8,7 +8,6 @@

    tcpip_msg Struct Reference

    #include <tcpip.h> @@ -185,7 +183,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:20 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structthread.html b/doc/html/structthread.html index d1e4ef8..bfd8aeb 100644 --- a/doc/html/structthread.html +++ b/doc/html/structthread.html @@ -8,7 +8,6 @@

    thread Struct Reference

    #include <thread.h> @@ -35,13 +33,13 @@ - + - +

    Data Fields

    uInt32 o_files [64]
    u_int32_t o_files [O_FILES]
    int td_retval [2]
    char * vm_daddr
    int32_t vm_dsize
    int32_t vm_dsize

    Detailed Description

    @@ -49,13 +47,13 @@

    -Definition at line 35 of file thread.h.


    Field Documentation

    - +Definition at line 37 of file thread.h.

    Field Documentation

    +
    @@ -64,9 +62,9 @@

    -Definition at line 37 of file thread.h. +Definition at line 39 of file thread.h.

    -Referenced by close(), falloc(), fcntl(), fstat(), and schedNewTask(). +Referenced by close(), falloc(), fcntl(), fstat(), getfd(), and schedNewTask().

    @@ -83,9 +81,9 @@

    -Definition at line 36 of file thread.h. +Definition at line 38 of file thread.h.

    -Referenced by __sysctl(), close(), fcntl(), getdtablesize(), getgid(), getpid(), getuid(), ioctl(), mmap(), pipe(), read(), readlink(), and syscall(). +Referenced by __sysctl(), close(), fcntl(), getdtablesize(), getgid(), getpid(), getuid(), ioctl(), mmap(), pipe(), read(), readlink(), sys_open(), sys_write(), and syscall().

    @@ -102,9 +100,9 @@

    -Definition at line 38 of file thread.h. +Definition at line 40 of file thread.h.

    -Referenced by execFile(), obreak(), sysExec(), vmm_pageFault(), and vmmGetFreeVirtualPage(). +Referenced by execFile(), obreak(), sysExec(), vmm_pageFault(), and vmmGetFreeVirtualPage().

    @@ -112,7 +110,7 @@

    @@ -121,14 +119,14 @@

    -Definition at line 39 of file thread.h. +Definition at line 41 of file thread.h.

    -Referenced by obreak(), sysExec(), vmm_pageFault(), and vmmGetFreeVirtualPage(). +Referenced by obreak(), sysExec(), vmm_pageFault(), and vmmGetFreeVirtualPage().


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:20 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structthread__start__param.html b/doc/html/structthread__start__param.html index b075248..99a97d3 100644 --- a/doc/html/structthread__start__param.html +++ b/doc/html/structthread__start__param.html @@ -8,7 +8,6 @@

    thread_start_param Struct Reference

    @@ -97,7 +95,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:20 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structtimeStruct.html b/doc/html/structtimeStruct.html index 66cde46..99e2e1b 100644 --- a/doc/html/structtimeStruct.html +++ b/doc/html/structtimeStruct.html @@ -8,7 +8,6 @@

    timeStruct Struct Reference

    #include <time.h> @@ -170,7 +168,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/ubixos/time.h
    -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:20 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structtimespec.html b/doc/html/structtimespec.html index 885084e..c7b0bd8 100644 --- a/doc/html/structtimespec.html +++ b/doc/html/structtimespec.html @@ -8,7 +8,6 @@

    timespec Struct Reference

    #include <time.h> @@ -37,7 +35,7 @@
    - +

    Data Fields

    long tv_nsec
    time_t tv_sec
    time_t tv_sec

    Detailed Description

    @@ -70,7 +68,7 @@ @@ -86,7 +84,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/ubixos/time.h
    -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:20 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structtimeval.html b/doc/html/structtimeval.html index 5c7912a..4d95b22 100644 --- a/doc/html/structtimeval.html +++ b/doc/html/structtimeval.html @@ -8,7 +8,6 @@

    timeval Struct Reference

    #include <time.h> @@ -86,7 +84,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/ubixos/time.h
    -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:20 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structtimezone.html b/doc/html/structtimezone.html index 2d6d8e1..6a89e29 100644 --- a/doc/html/structtimezone.html +++ b/doc/html/structtimezone.html @@ -8,7 +8,6 @@

    timezone Struct Reference

    #include <time.h> @@ -82,7 +80,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/ubixos/time.h
    -
    Generated on Tue Dec 5 23:35:05 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:20 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structtms.html b/doc/html/structtms.html index 9b3a709..0644cb8 100644 --- a/doc/html/structtms.html +++ b/doc/html/structtms.html @@ -8,7 +8,6 @@

    tms Struct Reference

    #include <times.h> @@ -120,7 +118,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:06 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:20 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structtrapframe.html b/doc/html/structtrapframe.html index b6093f2..38f9046 100644 --- a/doc/html/structtrapframe.html +++ b/doc/html/structtrapframe.html @@ -8,7 +8,6 @@

    trapframe Struct Reference

    #include <trap.h> @@ -398,7 +396,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:06 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:21 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structtssStruct.html b/doc/html/structtssStruct.html index aab11d0..e5cbd3b 100644 --- a/doc/html/structtssStruct.html +++ b/doc/html/structtssStruct.html @@ -8,7 +8,6 @@

    tssStruct Struct Reference

    #include <tss.h> @@ -839,7 +837,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/sys/tss.h
    -
    Generated on Tue Dec 5 23:35:06 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:21 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structtty__termNode.html b/doc/html/structtty__termNode.html index 239a94f..4abc188 100644 --- a/doc/html/structtty__termNode.html +++ b/doc/html/structtty__termNode.html @@ -8,7 +8,6 @@

    tty_termNode Struct Reference

    #include <tty.h> @@ -35,7 +33,7 @@ - + @@ -43,13 +41,13 @@ - + - + - +

    Data Fields

    pidType owner
    pidType owner
    char stdin [512]
    char * tty_buffer
    uInt8 tty_colour
    uInt8 tty_colour
    char * tty_pointer
    uInt16 tty_x
    uInt16 tty_x
    uInt16 tty_y
    uInt16 tty_y

    Detailed Description

    @@ -63,7 +61,7 @@ @@ -139,7 +137,7 @@ @@ -177,7 +175,7 @@ @@ -196,7 +194,7 @@ @@ -212,7 +210,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/ubixos/tty.h
    -
    Generated on Tue Dec 5 23:35:06 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:21 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structubixDiskLabel.html b/doc/html/structubixDiskLabel.html index 72d505d..74148f3 100644 --- a/doc/html/structubixDiskLabel.html +++ b/doc/html/structubixDiskLabel.html @@ -8,7 +8,6 @@ -

    ubixDiskLabel Struct Reference

    #include <ubixfs.h> +

    ubixDiskLabel Struct Reference

    #include <ubixfs.h>

    - + - + - + - + @@ -54,13 +52,13 @@

    -Definition at line 71 of file ubixfs.h.


    Field Documentation

    +Definition at line 71 of file ubixfs.h.

    Field Documentation


    Data Fields

    uInt16 driveType
    uInt16 driveType
    uInt32 magicNum
    uInt32 magicNum
    uInt32 magicNum2
    uInt32 magicNum2
    uInt16 numPartitions
    uInt16 numPartitions
    ubixDiskLabel::ubixPartitions partitions [MAXUBIXPARTITIONS]
    - +
    uInt16 ubixDiskLabel::driveType uInt16 ubixDiskLabel::driveType
    @@ -69,7 +67,7 @@

    -Definition at line 74 of file ubixfs.h. +Definition at line 74 of file ubixfs.h.

    @@ -77,7 +75,7 @@

    @@ -86,7 +84,7 @@

    -Definition at line 72 of file ubixfs.h. +Definition at line 72 of file ubixfs.h.

    Referenced by ubixfs_initialize(). @@ -96,7 +94,7 @@

    @@ -105,7 +103,7 @@

    -Definition at line 73 of file ubixfs.h. +Definition at line 73 of file ubixfs.h.

    Referenced by ubixfs_initialize(). @@ -115,7 +113,7 @@

    @@ -124,7 +122,7 @@

    -Definition at line 75 of file ubixfs.h. +Definition at line 75 of file ubixfs.h.

    @@ -141,12 +139,12 @@

    -Referenced by syncBat(), ubixfs_initialize(), and ubixFSUnlink(). +Referenced by syncBat(), ubixfs_initialize(), ubixfs_loadData(), ubixFSmkDir(), ubixFSUnlink(), writeFileByte(), and writeUbixFS().


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:06 2006 for UbixOS V2 by  +
  • src/sys/include/ubixfs/ubixfs.h +
    Generated on Tue Dec 12 08:52:21 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structubixDiskLabel_1_1ubixPartitions.html b/doc/html/structubixDiskLabel_1_1ubixPartitions.html index 839b91e..13cd2ab 100644 --- a/doc/html/structubixDiskLabel_1_1ubixPartitions.html +++ b/doc/html/structubixDiskLabel_1_1ubixPartitions.html @@ -8,7 +8,6 @@ -

    ubixDiskLabel::ubixPartitions Struct Reference

    #include <ubixfs.h> +

    ubixDiskLabel::ubixPartitions Struct Reference

    #include <ubixfs.h>

    - + - + - + - + - + - +

    Data Fields

    uInt32 pBatSize
    uInt32 pBatSize
    uInt8 pFrag
    uInt8 pFrag
    uInt32 pFsSize
    uInt32 pFsSize
    uInt8 pFsType
    uInt8 pFsType
    uInt32 pOffset
    uInt32 pOffset
    uInt32 pSize
    uInt32 pSize


    Detailed Description

    @@ -55,13 +53,13 @@

    -Definition at line 76 of file ubixfs.h.


    Field Documentation

    +Definition at line 76 of file ubixfs.h.

    Field Documentation

    @@ -70,9 +68,9 @@

    -Definition at line 80 of file ubixfs.h. +Definition at line 80 of file ubixfs.h.

    -Referenced by ubixfs_initialize(). +Referenced by ubixfs_initialize(), and writeFileByte().

    @@ -80,7 +78,7 @@

    @@ -89,7 +87,7 @@

    -Definition at line 82 of file ubixfs.h. +Definition at line 82 of file ubixfs.h.

    @@ -97,7 +95,7 @@

    @@ -106,7 +104,7 @@

    -Definition at line 79 of file ubixfs.h. +Definition at line 79 of file ubixfs.h.

    @@ -114,7 +112,7 @@

    @@ -123,7 +121,7 @@

    -Definition at line 81 of file ubixfs.h. +Definition at line 81 of file ubixfs.h.

    @@ -131,7 +129,7 @@

    @@ -140,7 +138,7 @@

    -Definition at line 78 of file ubixfs.h. +Definition at line 78 of file ubixfs.h.

    @@ -148,7 +146,7 @@

    @@ -157,12 +155,12 @@

    -Definition at line 77 of file ubixfs.h. +Definition at line 77 of file ubixfs.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:06 2006 for UbixOS V2 by  +
  • src/sys/include/ubixfs/ubixfs.h +
    Generated on Tue Dec 12 08:52:21 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structubixFSInfo.html b/doc/html/structubixFSInfo.html index b16c264..23fdb08 100644 --- a/doc/html/structubixFSInfo.html +++ b/doc/html/structubixFSInfo.html @@ -8,7 +8,6 @@ -

    ubixFSInfo Struct Reference

    #include <ubixfs.h> +

    ubixFSInfo Struct Reference

    #include <ubixfs.h>

    - + - +

    Data Fields

    uInt32 batEntries
    uInt32 batEntries
    blockAllocationTableEntryblockAllocationTable
    cacheNodedirCache
    uInt32 rootDir
    uInt32 rootDir


    Detailed Description

    @@ -49,13 +47,13 @@

    -Definition at line 130 of file ubixfs.h.


    Field Documentation

    +Definition at line 130 of file ubixfs.h.

    Field Documentation

    @@ -64,7 +62,7 @@

    -Definition at line 133 of file ubixfs.h. +Definition at line 133 of file ubixfs.h.

    Referenced by getFreeBlocks(), and ubixfs_initialize().

    @@ -83,7 +81,7 @@

    -Definition at line 131 of file ubixfs.h. +Definition at line 131 of file ubixfs.h.

    Referenced by freeBlocks(), getFreeBlocks(), syncBat(), ubixfs_initialize(), ubixfs_loadData(), ubixFSmkDir(), ubixFSUnlink(), writeFileByte(), and writeUbixFS(). @@ -102,7 +100,7 @@

    -Definition at line 132 of file ubixfs.h. +Definition at line 132 of file ubixfs.h.

    Referenced by openFileUbixFS(), and ubixfs_initialize(). @@ -112,7 +110,7 @@

    @@ -121,14 +119,14 @@

    -Definition at line 134 of file ubixfs.h. +Definition at line 134 of file ubixfs.h.

    Referenced by ubixfs_initialize(), and ubixFSUnlink().


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:06 2006 for UbixOS V2 by  +
  • src/sys/include/ubixfs/ubixfs.h +
    Generated on Tue Dec 12 08:52:21 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structubthread.html b/doc/html/structubthread.html index 6a4698d..c4cd8e8 100644 --- a/doc/html/structubthread.html +++ b/doc/html/structubthread.html @@ -8,7 +8,6 @@

    ubthread Struct Reference

    #include <ubthread.h> @@ -63,7 +61,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:06 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:21 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structubthread__cond.html b/doc/html/structubthread__cond.html index db0b17a..54d4f63 100644 --- a/doc/html/structubthread__cond.html +++ b/doc/html/structubthread__cond.html @@ -8,7 +8,6 @@

    ubthread_cond Struct Reference

    #include <ubthread.h> @@ -37,7 +35,7 @@

    Data Fields

    int id -uInt8 locked +uInt8 locked

    Detailed Description

    @@ -70,7 +68,7 @@ @@ -86,7 +84,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:06 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:21 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structubthread__cond__list.html b/doc/html/structubthread__cond__list.html index e9da179..cac8034 100644 --- a/doc/html/structubthread__cond__list.html +++ b/doc/html/structubthread__cond__list.html @@ -8,7 +8,6 @@

    ubthread_cond_list Struct Reference

    #include <ubthread.h> @@ -82,7 +80,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:06 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:21 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structubthread__list.html b/doc/html/structubthread__list.html index d3222dd..682cda6 100644 --- a/doc/html/structubthread__list.html +++ b/doc/html/structubthread__list.html @@ -8,7 +8,6 @@

    ubthread_list Struct Reference

    #include <ubthread.h> @@ -82,7 +80,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:06 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:21 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structubthread__mutex.html b/doc/html/structubthread__mutex.html index e7a651f..7cc35c5 100644 --- a/doc/html/structubthread__mutex.html +++ b/doc/html/structubthread__mutex.html @@ -8,7 +8,6 @@

    ubthread_mutex Struct Reference

    #include <ubthread.h> @@ -37,9 +35,9 @@

    Data Fields

    int id -uInt8 locked +uInt8 locked -pidType pid +pidType pid

    Detailed Description

    @@ -72,7 +70,7 @@ @@ -91,7 +89,7 @@ @@ -107,7 +105,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:06 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:21 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structubthread__mutex__list.html b/doc/html/structubthread__mutex__list.html index 48a2f82..f2f1055 100644 --- a/doc/html/structubthread__mutex__list.html +++ b/doc/html/structubthread__mutex__list.html @@ -8,7 +8,6 @@

    ubthread_mutex_list Struct Reference

    #include <ubthread.h> @@ -82,7 +80,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:06 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:21 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structudp__hdr.html b/doc/html/structudp__hdr.html index 10ea0d3..736acc7 100644 --- a/doc/html/structudp__hdr.html +++ b/doc/html/structudp__hdr.html @@ -8,7 +8,6 @@

    udp_hdr Struct Reference

    #include <udp.h> @@ -35,13 +33,13 @@ - + - + - + - +

    Public Member Functions

     PACK_STRUCT_FIELD (uInt16 chksum)
     PACK_STRUCT_FIELD (uInt16 chksum)
     PACK_STRUCT_FIELD (uInt16 len)
     PACK_STRUCT_FIELD (uInt16 len)
     PACK_STRUCT_FIELD (uInt16 dest)
     PACK_STRUCT_FIELD (uInt16 dest)
     PACK_STRUCT_FIELD (uInt16 src)
     PACK_STRUCT_FIELD (uInt16 src)

    Detailed Description

    @@ -57,7 +55,7 @@ udp_hdr::PACK_STRUCT_FIELD ( - uInt16  + uInt16  chksum  )  @@ -77,7 +75,7 @@ udp_hdr::PACK_STRUCT_FIELD ( - uInt16  + uInt16  len  )  @@ -97,7 +95,7 @@ udp_hdr::PACK_STRUCT_FIELD ( - uInt16  + uInt16  dest  )  @@ -117,7 +115,7 @@ udp_hdr::PACK_STRUCT_FIELD ( - uInt16  + uInt16  src  )  @@ -132,7 +130,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/net/udp.h
    -
    Generated on Tue Dec 5 23:35:06 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:21 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structudp__pcb.html b/doc/html/structudp__pcb.html index 1094daf..e296290 100644 --- a/doc/html/structudp__pcb.html +++ b/doc/html/structudp__pcb.html @@ -8,7 +8,6 @@

    udp_pcb Struct Reference

    #include <udp.h> @@ -35,21 +33,21 @@ - + - + - + - + - +

    Data Fields

    uInt16 chksum_len
    uInt16 chksum_len
    uInt8 flags
    uInt8 flags
    uInt16 local_port
    uInt16 local_port
    udp_pcbnext
    void(* recv )(void *arg, struct udp_pcb *pcb, struct pbuf *p, struct ip_addr *addr, uInt16 port)
    void(* recv )(void *arg, struct udp_pcb *pcb, struct pbuf *p, struct ip_addr *addr, uInt16 port)
    void * recv_arg
    ip_addr local_ip remote_ip
    uInt16 remote_port
    uInt16 remote_port

    Detailed Description

    @@ -63,7 +61,7 @@ @@ -80,7 +78,7 @@ @@ -97,7 +95,7 @@ @@ -133,7 +131,7 @@
    - +
    void(* udp_pcb::recv)(void *arg, struct udp_pcb *pcb, struct pbuf *p, struct ip_addr *addr, uInt16 port) void(* udp_pcb::recv)(void *arg, struct udp_pcb *pcb, struct pbuf *p, struct ip_addr *addr, uInt16 port)
    @@ -186,7 +184,7 @@ @@ -202,7 +200,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/net/udp.h
    -
    Generated on Tue Dec 5 23:35:06 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:21 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structufs1__dinode.html b/doc/html/structufs1__dinode.html index 326a987..20ef4ff 100644 --- a/doc/html/structufs1__dinode.html +++ b/doc/html/structufs1__dinode.html @@ -8,7 +8,6 @@

    ufs1_dinode Struct Reference

    #include <ufs.h> @@ -35,45 +33,45 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +

    Data Fields

    int32_t di_atime
    int32_t di_atime
    int32_t di_atimensec
    int32_t di_atimensec
    int32_t di_blocks
    int32_t di_blocks
    int32_t di_ctime
    int32_t di_ctime
    int32_t di_ctimensec
    int32_t di_ctimensec
    ufs1_daddr_t di_db [NDADDR]
    u_int32_t di_flags
    u_int32_t di_flags
    int32_t di_gen
    int32_t di_gen
    u_int32_t di_gid
    u_int32_t di_gid
    ufs1_daddr_t di_ib [NIADDR]
    u_int16_t di_mode
    u_int16_t di_mode
    int32_t di_mtime
    int32_t di_mtime
    int32_t di_mtimensec
    int32_t di_mtimensec
    int16_t di_nlink
    int16_t di_nlink
    u_int64_t di_size
    u_int64_t di_size
    int32_t di_spare [2]
    int32_t di_spare [2]
    union {
       u_int16_t   oldids [2]
       u_int16_t   oldids [2]
    di_u
    u_int32_t di_uid
    u_int32_t di_uid

    Detailed Description

    @@ -87,7 +85,7 @@ @@ -104,7 +102,7 @@ @@ -121,7 +119,7 @@ @@ -138,7 +136,7 @@ @@ -155,7 +153,7 @@ @@ -189,7 +187,7 @@ @@ -206,7 +204,7 @@ @@ -223,7 +221,7 @@ @@ -257,7 +255,7 @@ @@ -274,7 +272,7 @@ @@ -291,7 +289,7 @@ @@ -308,7 +306,7 @@ @@ -325,7 +323,7 @@ @@ -342,7 +340,7 @@ @@ -374,7 +372,7 @@ @@ -391,7 +389,7 @@ @@ -405,7 +403,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/ufs/ufs.h
    -
    Generated on Tue Dec 5 23:35:06 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:21 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structufs2__dinode.html b/doc/html/structufs2__dinode.html index 6b1afa9..bd30b64 100644 --- a/doc/html/structufs2__dinode.html +++ b/doc/html/structufs2__dinode.html @@ -8,7 +8,6 @@

    ufs2_dinode Struct Reference

    #include <ufs.h> @@ -37,49 +35,49 @@

    Data Fields

    ufs_time_t di_atime -int32_t di_atimensec +int32_t di_atimensec -int32_t di_birthnsec +int32_t di_birthnsec ufs_time_t di_birthtime -u_int32_t di_blksize +u_int32_t di_blksize -u_int64_t di_blocks +u_int64_t di_blocks ufs_time_t di_ctime -int32_t di_ctimensec +int32_t di_ctimensec ufs2_daddr_t di_db [NDADDR] ufs2_daddr_t di_extb [NXADDR] -int32_t di_extsize +int32_t di_extsize -u_int32_t di_flags +u_int32_t di_flags -int32_t di_gen +int32_t di_gen -u_int32_t di_gid +u_int32_t di_gid ufs2_daddr_t di_ib [NIADDR] -u_int32_t di_kernflags +u_int32_t di_kernflags -u_int16_t di_mode +u_int16_t di_mode ufs_time_t di_mtime -int32_t di_mtimensec +int32_t di_mtimensec -int16_t di_nlink +int16_t di_nlink -u_int64_t di_size +u_int64_t di_size -int64_t di_spare [3] +int64_t di_spare [3] -u_int32_t di_uid +u_int32_t di_uid

    Detailed Description

    @@ -110,7 +108,7 @@ @@ -127,7 +125,7 @@ @@ -161,7 +159,7 @@ @@ -178,7 +176,7 @@ @@ -212,7 +210,7 @@ @@ -265,7 +263,7 @@ @@ -282,7 +280,7 @@ @@ -299,7 +297,7 @@ @@ -316,7 +314,7 @@ @@ -352,7 +350,7 @@ @@ -369,7 +367,7 @@ @@ -403,7 +401,7 @@ @@ -420,7 +418,7 @@ @@ -437,7 +435,7 @@ @@ -456,7 +454,7 @@ @@ -473,7 +471,7 @@ @@ -487,7 +485,7 @@


    The documentation for this struct was generated from the following file:
    • src/sys/include/ufs/ufs.h
    -
    Generated on Tue Dec 5 23:35:06 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:21 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structuserFileDescriptorStruct.html b/doc/html/structuserFileDescriptorStruct.html index 1221ad0..6c752a1 100644 --- a/doc/html/structuserFileDescriptorStruct.html +++ b/doc/html/structuserFileDescriptorStruct.html @@ -8,7 +8,6 @@ -

    userFileDescriptorStruct Struct Reference

    #include <file.h> +

    userFileDescriptorStruct Struct Reference

    #include <file.h>

    - +

    Data Fields

    fileDescriptorStructfd
    uInt32 fdSize
    uInt32 fdSize


    Detailed Description

    @@ -45,7 +43,7 @@

    -Definition at line 67 of file file.h.


    Field Documentation

    +Definition at line 67 of file file.h.

    Field Documentation

    @@ -60,7 +58,7 @@

    -Definition at line 68 of file file.h. +Definition at line 68 of file file.h.

    Referenced by sysFclose(), sysFgetc(), sysFopen(), sysFread(), sysFseek(), and sysFwrite().

    @@ -70,7 +68,7 @@ @@ -79,14 +77,14 @@

    -Definition at line 69 of file file.h. +Definition at line 69 of file file.h.

    Referenced by sysFopen().


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:06 2006 for UbixOS V2 by  +
  • src/sys/include/vfs/file.h +
    Generated on Tue Dec 12 08:52:21 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structvfs__mountPoint.html b/doc/html/structvfs__mountPoint.html index a0c5312..5c4120d 100644 --- a/doc/html/structvfs__mountPoint.html +++ b/doc/html/structvfs__mountPoint.html @@ -8,7 +8,6 @@

    vfs_mountPoint Struct Reference

    #include <mount.h> @@ -76,7 +74,7 @@

    Definition at line 40 of file mount.h.

    -Referenced by syncBat(), ubixfs_initialize(), ubixFSUnlink(), and vfs_mount(). +Referenced by dskread(), openFileUbixFS(), syncBat(), ubixfs_initialize(), ubixfs_loadData(), ubixFSmkDir(), ubixFSUnlink(), vfs_mount(), and writeUbixFS().

    @@ -95,7 +93,7 @@

    Definition at line 41 of file mount.h.

    -Referenced by syncBat(), ubixfs_initialize(), and ubixFSUnlink(). +Referenced by syncBat(), ubixfs_initialize(), ubixfs_loadData(), ubixFSmkDir(), ubixFSUnlink(), writeFileByte(), and writeUbixFS().

    @@ -114,7 +112,7 @@

    Definition at line 39 of file mount.h.

    -Referenced by unlink(), and vfs_mount(). +Referenced by fgetc(), fopen(), fputc(), fread(), fwrite(), sysMkDir(), unlink(), and vfs_mount().

    @@ -133,7 +131,7 @@

    Definition at line 42 of file mount.h.

    -Referenced by devfs_initialize(), devfs_makeNode(), syncBat(), ubixfs_initialize(), and ubixFSUnlink(). +Referenced by devfs_initialize(), devfs_makeNode(), devfs_open(), freeBlocks(), getFreeBlocks(), openFileUbixFS(), readUbixFS(), syncBat(), ubixfs_initialize(), ubixfs_loadData(), ubixFSmkDir(), ubixFSUnlink(), writeFileByte(), and writeUbixFS().

    @@ -152,7 +150,7 @@

    Definition at line 44 of file mount.h.

    -Referenced by unlink(), vfs_findMount(), and vfs_mount(). +Referenced by unlink(), vfs_findMount(), and vfs_mount().

    @@ -190,7 +188,7 @@

    Definition at line 43 of file mount.h.

    -Referenced by syncBat(), ubixfs_initialize(), ubixFSUnlink(), and vfs_mount(). +Referenced by syncBat(), ubixfs_initialize(), ubixfs_loadData(), ubixFSmkDir(), ubixFSUnlink(), vfs_mount(), writeFileByte(), and writeUbixFS().

    @@ -233,7 +231,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:07 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:22 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structvitalsStruct.html b/doc/html/structvitalsStruct.html index 1d000bb..2579814 100644 --- a/doc/html/structvitalsStruct.html +++ b/doc/html/structvitalsStruct.html @@ -8,7 +8,6 @@

    vitalsStruct Struct Reference

    #include <vitals.h> @@ -35,31 +33,31 @@ - + - + - + - + - + - + - + - +

    Data Fields

    uInt32 dQuantum
    uInt32 dQuantum
    fileSystemfileSystems
    void * font
    uInt32 freePages
    uInt32 freePages
    vfs_mountPointmountPoints
    uInt32 openFiles
    uInt32 openFiles
    char * packet
    uInt32 packetLength
    uInt32 packetLength
    uInt32 quantum
    uInt32 quantum
    void * screen
    uInt32 sysTicks
    uInt32 sysTicks
    uInt32 sysUptime
    uInt32 sysUptime
    uInt32 timeStart
    uInt32 timeStart

    Detailed Description

    @@ -73,7 +71,7 @@ @@ -103,7 +101,7 @@

    Definition at line 45 of file vitals.h.

    -Referenced by vfs_init(), vfsFindFS(), and vfsRegisterFS(). +Referenced by vfs_init(), vfsFindFS(), and vfsRegisterFS().

    @@ -130,7 +128,7 @@

    @@ -168,7 +166,7 @@ @@ -179,7 +177,7 @@

    Definition at line 39 of file vitals.h.

    -Referenced by fclose(), and fopen(). +Referenced by fclose(), and fopen().

    @@ -204,7 +202,7 @@

    @@ -221,7 +219,7 @@ @@ -259,7 +257,7 @@ @@ -278,7 +276,7 @@ @@ -297,7 +295,7 @@ @@ -313,7 +311,7 @@


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:07 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:22 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/structwrite__args.html b/doc/html/structwrite__args.html index 2a4e885..4ef9270 100644 --- a/doc/html/structwrite__args.html +++ b/doc/html/structwrite__args.html @@ -8,7 +8,6 @@

    write_args Struct Reference

    #include <sysproto.h> @@ -47,11 +45,11 @@ char fd_r_ [PADR_(int)] -size_t nbyte +size_t nbyte -char nbyte_l_ [PADL_(size_t)] +char nbyte_l_ [PADL_(size_t)] -char nbyte_r_ [PADR_(size_t)] +char nbyte_r_ [PADR_(size_t)]

    Detailed Description

    @@ -59,7 +57,7 @@

    -Definition at line 49 of file sysproto.h.


    Field Documentation

    +Definition at line 50 of file sysproto.h.

    Field Documentation

    @@ -74,9 +72,9 @@

    -Definition at line 51 of file sysproto.h. +Definition at line 52 of file sysproto.h.

    -Referenced by sys_write(). +Referenced by sys_write().

    @@ -93,7 +91,7 @@

    -Definition at line 51 of file sysproto.h. +Definition at line 52 of file sysproto.h.

    @@ -110,7 +108,7 @@

    -Definition at line 51 of file sysproto.h. +Definition at line 52 of file sysproto.h.

    @@ -127,9 +125,9 @@

    -Definition at line 50 of file sysproto.h. +Definition at line 51 of file sysproto.h.

    -Referenced by sys_write(). +Referenced by sys_write().

    @@ -146,7 +144,7 @@

    -Definition at line 50 of file sysproto.h. +Definition at line 51 of file sysproto.h.

    @@ -163,7 +161,7 @@

    -Definition at line 50 of file sysproto.h. +Definition at line 51 of file sysproto.h.

    @@ -171,7 +169,7 @@

    @@ -180,9 +178,9 @@

    -Definition at line 52 of file sysproto.h. +Definition at line 53 of file sysproto.h.

    -Referenced by sys_write(). +Referenced by sys_write().

    @@ -190,7 +188,7 @@

    - +
    char write_args::nbyte_l_[PADL_(size_t)] char write_args::nbyte_l_[PADL_(size_t)]
    @@ -199,7 +197,7 @@

    -Definition at line 52 of file sysproto.h. +Definition at line 53 of file sysproto.h.

    @@ -207,7 +205,7 @@

    - +
    char write_args::nbyte_r_[PADR_(size_t)] char write_args::nbyte_r_[PADR_(size_t)]
    @@ -216,12 +214,12 @@

    -Definition at line 52 of file sysproto.h. +Definition at line 53 of file sysproto.h.


    The documentation for this struct was generated from the following file: -
    Generated on Tue Dec 5 23:35:07 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:22 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/sys_8h-source.html b/doc/html/sys_8h-source.html index 1f10a72..7a5c442 100644 --- a/doc/html/sys_8h-source.html +++ b/doc/html/sys_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/sys_8h.html b/doc/html/sys_8h.html index 0e08560..6324e37 100644 --- a/doc/html/sys_8h.html +++ b/doc/html/sys_8h.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/syscall_8c-source.html b/doc/html/syscall_8c-source.html index 0542901..9bd1d1b 100644 --- a/doc/html/syscall_8c-source.html +++ b/doc/html/syscall_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:06 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/syscall_8c.html b/doc/html/syscall_8c.html index f2b680c..a4e3f88 100644 --- a/doc/html/syscall_8c.html +++ b/doc/html/syscall_8c.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/syscall_8h-source.html b/doc/html/syscall_8h-source.html index fab0ac3..2136422 100644 --- a/doc/html/syscall_8h-source.html +++ b/doc/html/syscall_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/syscall_8h.html b/doc/html/syscall_8h.html index 95555f1..fd3a7e5 100644 --- a/doc/html/syscall_8h.html +++ b/doc/html/syscall_8h.html @@ -8,7 +8,6 @@ -

    syscall.h File Reference

    #include <ubixos/types.h>
    +

    syscall.h File Reference

    #include <ubixos/types.h>

    Go to the source code of this file. @@ -101,7 +100,7 @@

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:12 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/syscall__new_8c-source.html b/doc/html/syscall__new_8c-source.html index 4cada1e..b7e342e 100644 --- a/doc/html/syscall__new_8c-source.html +++ b/doc/html/syscall__new_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:06 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/syscall__new_8c.html b/doc/html/syscall__new_8c.html index 4dd69c5..d2fb1f5 100644 --- a/doc/html/syscall__new_8c.html +++ b/doc/html/syscall__new_8c.html @@ -8,7 +8,6 @@

    syscall_new.c File Reference

    #include <ubixos/syscalls_new.h>
    #include <ubixos/sched.h>
    -#include <ubixos/types.h>
    +#include <ubixos/types.h>
    #include <ubixos/endtask.h>
    #include <ubixos/spinlock.h>
    #include <sys/trap.h>
    @@ -71,7 +70,7 @@

    Definition at line 41 of file syscall_new.c.

    -References _current, EJUSTRETURN, ERESTART, kprintf(), memcpy(), PSL_C, systemCalls_new, taskStruct::td, thread::td_retval, trapframe::tf_eax, trapframe::tf_edx, trapframe::tf_eflags, trapframe::tf_eip, trapframe::tf_err, trapframe::tf_esp, and totalCalls_new. +References _current, EJUSTRETURN, ERESTART, kprintf(), memcpy(), PSL_C, systemCalls_new, taskStruct::td, thread::td_retval, trapframe::tf_eax, trapframe::tf_edx, trapframe::tf_eflags, trapframe::tf_eip, trapframe::tf_err, trapframe::tf_esp, and totalCalls_new.


    Variable Documentation

    @@ -92,7 +91,7 @@ Definition at line 39 of file syscall_new.c.

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/syscalls_8h-source.html b/doc/html/syscalls_8h-source.html index dca35ff..fde355d 100644 --- a/doc/html/syscalls_8h-source.html +++ b/doc/html/syscalls_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/syscalls_8h.html b/doc/html/syscalls_8h.html index c06dcd1..4988eb5 100644 --- a/doc/html/syscalls_8h.html +++ b/doc/html/syscalls_8h.html @@ -8,7 +8,6 @@
    @@ -868,7 +867,7 @@ Definition at line 135 of file syscalls.h.

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:12 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/syscalls__new_8h-source.html b/doc/html/syscalls__new_8h-source.html index e148737..ec51a5a 100644 --- a/doc/html/syscalls__new_8h-source.html +++ b/doc/html/syscalls__new_8h-source.html @@ -8,7 +8,6 @@
    • Main Page
    • -
    • Namespaces
    • Data Structures
    • Files
    • Directories
    • @@ -62,18 +61,18 @@ 00030 #ifndef _SYSCALLS_NEW_H 00031 #define _SYSCALLS_NEW_H 00032 -00033 int sysExit(); -00034 int read(); -00035 int sys_write(); -00036 int getpid(); -00037 int fcntl(); -00038 int issetugid(); -00039 int __sysctl(); -00040 int pipe(); -00041 int readlink(); -00042 int getuid(); -00043 int getgid(); -00044 int open(); +00033 #include <sys/sysproto.h> +00034 +00035 int sysExit(); +00036 int read(); +00037 int getpid(); +00038 int fcntl(); +00039 int issetugid(); +00040 int __sysctl(); +00041 int pipe(); +00042 int readlink(); +00043 int getuid(); +00044 int getgid(); 00045 int close(); 00046 int mmap(); 00047 int obreak(); @@ -92,17 +91,14 @@ 00060 00061 typedef int (*functionPTR)(); 00062 -00063 functionPTR systemCalls_new[] = { -00064 invalid_call, -00065 sysExit, -00066 invalid_call, -00067 read, -00068 sys_write, -00069 open, -00070 close, -00071 invalid_call, -00072 invalid_call, -00073 invalid_call, +00066 functionPTR systemCalls_new[] = { +00067 invalid_call, +00068 sysExit, +00069 invalid_call, +00070 read, +00071 sys_write, +00072 sys_open, +00073 close, 00074 invalid_call, 00075 invalid_call, 00076 invalid_call, @@ -110,17 +106,17 @@ 00078 invalid_call, 00079 invalid_call, 00080 invalid_call, -00081 obreak, +00081 invalid_call, 00082 invalid_call, 00083 invalid_call, -00084 getpid, +00084 obreak, 00085 invalid_call, 00086 invalid_call, -00087 invalid_call, -00088 getuid, +00087 getpid, +00088 invalid_call, 00089 invalid_call, 00090 invalid_call, -00091 invalid_call, +00091 getuid, 00092 invalid_call, 00093 invalid_call, 00094 invalid_call, @@ -135,26 +131,26 @@ 00103 invalid_call, 00104 invalid_call, 00105 invalid_call, -00106 pipe, +00106 invalid_call, 00107 invalid_call, 00108 invalid_call, -00109 invalid_call, +00109 pipe, 00110 invalid_call, -00111 getgid, +00111 invalid_call, 00112 invalid_call, 00113 invalid_call, -00114 invalid_call, +00114 getgid, 00115 invalid_call, 00116 invalid_call, 00117 invalid_call, -00118 ioctl, +00118 invalid_call, 00119 invalid_call, 00120 invalid_call, -00121 invalid_call, -00122 readlink, +00121 ioctl, +00122 invalid_call, 00123 invalid_call, 00124 invalid_call, -00125 invalid_call, +00125 readlink, 00126 invalid_call, 00127 invalid_call, 00128 invalid_call, @@ -166,10 +162,10 @@ 00134 invalid_call, 00135 invalid_call, 00136 invalid_call, -00137 munmap, +00137 invalid_call, 00138 invalid_call, 00139 invalid_call, -00140 invalid_call, +00140 munmap, 00141 invalid_call, 00142 invalid_call, 00143 invalid_call, @@ -179,16 +175,16 @@ 00147 invalid_call, 00148 invalid_call, 00149 invalid_call, -00150 invalid_call, +00150 setitimer, 00151 invalid_call, 00152 invalid_call, -00153 getdtablesize, +00153 invalid_call, 00154 invalid_call, 00155 invalid_call, -00156 fcntl, +00156 getdtablesize, 00157 invalid_call, 00158 invalid_call, -00159 invalid_call, +00159 fcntl, 00160 invalid_call, 00161 invalid_call, 00162 invalid_call, @@ -209,10 +205,10 @@ 00177 invalid_call, 00178 invalid_call, 00179 invalid_call, -00180 gettimeofday_new, +00180 invalid_call, 00181 invalid_call, 00182 invalid_call, -00183 invalid_call, +00183 gettimeofday_new, 00184 invalid_call, 00185 invalid_call, 00186 invalid_call, @@ -282,23 +278,23 @@ 00250 invalid_call, 00251 invalid_call, 00252 invalid_call, -00253 fstat, +00253 invalid_call, 00254 invalid_call, 00255 invalid_call, -00256 invalid_call, +00256 fstat, 00257 invalid_call, 00258 invalid_call, 00259 invalid_call, 00260 invalid_call, -00261 mmap, +00261 invalid_call, 00262 invalid_call, 00263 invalid_call, -00264 invalid_call, +00264 mmap, 00265 invalid_call, -00266 __sysctl, +00266 invalid_call, 00267 invalid_call, 00268 invalid_call, -00269 invalid_call, +00269 __sysctl, 00270 invalid_call, 00271 invalid_call, 00272 invalid_call, @@ -346,10 +342,10 @@ 00314 invalid_call, 00315 invalid_call, 00316 invalid_call, -00317 issetugid, +00317 invalid_call, 00318 invalid_call, 00319 invalid_call, -00320 invalid_call, +00320 issetugid, 00321 invalid_call, 00322 invalid_call, 00323 invalid_call, @@ -433,10 +429,10 @@ 00401 invalid_call, 00402 invalid_call, 00403 invalid_call, -00404 sigprocmask, +00404 invalid_call, 00405 invalid_call, 00406 invalid_call, -00407 invalid_call, +00407 sigprocmask, 00408 invalid_call, 00409 invalid_call, 00410 invalid_call, @@ -509,10 +505,10 @@ 00477 invalid_call, 00478 invalid_call, 00479 invalid_call, -00480 sigaction, +00480 invalid_call, 00481 invalid_call, 00482 invalid_call, -00483 invalid_call, +00483 sigaction, 00484 invalid_call, 00485 invalid_call, 00486 invalid_call, @@ -549,17 +545,20 @@ 00517 invalid_call, 00518 invalid_call, 00519 invalid_call, -00520 }; -00521 -00522 int totalCalls_new = sizeof(systemCalls_new)/sizeof(functionPTR); -00523 -00524 #endif -00525 -00526 /*** -00527 END -00528 ***/ -00529 -

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +00520 invalid_call, +00521 invalid_call, +00522 invalid_call, +00523 }; +00524 +00525 int totalCalls_new = sizeof(systemCalls_new)/sizeof(functionPTR); +00526 +00527 #endif +00528 +00529 /*** +00530 END +00531 ***/ +00532 +
    Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/syscalls__new_8h.html b/doc/html/syscalls__new_8h.html index c7ddd27..24cba0d 100644 --- a/doc/html/syscalls__new_8h.html +++ b/doc/html/syscalls__new_8h.html @@ -8,7 +8,6 @@ -

    syscalls_new.h File Reference

    +

    syscalls_new.h File Reference

    #include <sys/sysproto.h>
    +

    Go to the source code of this file.

    @@ -75,8 +75,6 @@ - - @@ -87,13 +85,12 @@ - - +
    int obreak ()
    int open ()
    int pipe ()
    int read ()
    int sigprocmask ()
    int sys_write ()
    int sysExit ()

    Variables

    functionPTR systemCalls_new []
     Mast System Call List.
    int totalCalls_new = sizeof(systemCalls_new)/sizeof(functionPTR)
    @@ -457,25 +454,6 @@

    - -

    -
    - - - - - - - - -
    int open (  ) 
    -
    -
    - -

    - -

    -

    @@ -571,25 +549,6 @@

    - -

    -
    - - - - - - - - -
    int sys_write (  ) 
    -
    -
    - -

    - -

    -

    @@ -622,9 +581,11 @@

    +Mast System Call List. +

    -Definition at line 63 of file syscalls_new.h. +Definition at line 66 of file syscalls_new.h.

    Referenced by syscall().

    @@ -643,12 +604,12 @@

    -Definition at line 522 of file syscalls_new.h. +Definition at line 525 of file syscalls_new.h.

    Referenced by syscall().

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:13 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/sysproto_8h-source.html b/doc/html/sysproto_8h-source.html index a8edbb9..611e28c 100644 --- a/doc/html/sysproto_8h-source.html +++ b/doc/html/sysproto_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +00154 struct ioctl_args { +00155 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; +00156 char com_l_[PADL_(u_long)]; u_long com; char com_r_[PADR_(u_long)]; +00157 char data_l_[PADL_(caddr_t)]; caddr_t data; char data_r_[PADR_(caddr_t)]; +00158 }; +00159 +00160 struct read_args { +00161 char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; +00162 char buf_l_[PADL_(void *)]; void * buf; char buf_r_[PADR_(void *)]; +00163 char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; +00164 }; +00165 +00166 //Func Defs +00167 int sys_write(struct thread *td, struct write_args *uap); +00168 int sys_open(struct thread *td, struct open_args *uap); +00169 int setitimer(struct thread *td, struct setitimer_args *uap); +00170 +00171 #endif +00172 +00173 /*** +00174 END +00175 ***/ +00176 +
    Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/sysproto_8h.html b/doc/html/sysproto_8h.html index baaddcc..4abf5bd 100644 --- a/doc/html/sysproto_8h.html +++ b/doc/html/sysproto_8h.html @@ -8,7 +8,6 @@

    -Definition at line 37 of file sysproto.h. +Definition at line 38 of file sysproto.h.

    @@ -133,7 +144,7 @@

    -Definition at line 41 of file sysproto.h. +Definition at line 42 of file sysproto.h.

    @@ -155,7 +166,7 @@

    -Definition at line 42 of file sysproto.h. +Definition at line 43 of file sysproto.h.


    Typedef Documentation

    @@ -173,10 +184,119 @@

    -Definition at line 35 of file sysproto.h. +Definition at line 36 of file sysproto.h.

    -


    Generated on Tue Dec 5 23:35:00 2006 for UbixOS V2 by  +

    Function Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    int setitimer (struct thread td,
    struct setitimer_args uap 
    )
    +
    +
    + +

    +place holder for now functionality to be added later +

    + +

    +Definition at line 149 of file gen_calls.c. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    int sys_open (struct thread td,
    struct open_args uap 
    )
    +
    +
    + +

    +entry point for open syscall +

    +

    Parameters:
    + + + +
    *td pointer to callers thread
    *uap pointer to user space arguements for call
    +
    +
    Returns:
    index to file descriptor
    + +

    +Definition at line 148 of file vfs.c. +

    +References falloc(), file::fd, fopen(), file::path, open_args::path, strcpy, and thread::td_retval. +

    +

    + +

    +
    + + + + + + + + + + + + + + + + + + +
    int sys_write (struct thread td,
    struct write_args uap 
    )
    +
    + +

    +


    Generated on Tue Dec 12 08:52:11 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/system_8c-source.html b/doc/html/system_8c-source.html index d6cfa82..098aac3 100644 --- a/doc/html/system_8c-source.html +++ b/doc/html/system_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:07 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/system_8c.html b/doc/html/system_8c.html index e840e59..d0ac016 100644 --- a/doc/html/system_8c.html +++ b/doc/html/system_8c.html @@ -8,7 +8,6 @@
    @@ -166,7 +165,7 @@

    Definition at line 47 of file system.c.

    -References mbox, mboxList, and strcmp(). +References mbox, mboxList, and strcmp().

    Referenced by mpi_createMbox(), mpi_fetchMessage(), and mpi_postMessage(). @@ -184,7 +183,7 @@ - uInt32  + uInt32  type, @@ -219,7 +218,7 @@ int mpi_spam ( - uInt32  + uInt32  type, @@ -286,7 +285,7 @@ Referenced by mpi_createMbox(), mpi_destroyMbox(), mpi_fetchMessage(), mpi_postMessage(), and mpi_spam().

    -


    Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:15 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/systemtask_8c-source.html b/doc/html/systemtask_8c-source.html index 85b0b7e..0a6f1ad 100644 --- a/doc/html/systemtask_8c-source.html +++ b/doc/html/systemtask_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:06 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/systemtask_8c.html b/doc/html/systemtask_8c.html index c6579eb..69794be 100644 --- a/doc/html/systemtask_8c.html +++ b/doc/html/systemtask_8c.html @@ -8,7 +8,6 @@ @@ -101,7 +100,7 @@ Referenced by backSpace(), clearScreen(), kprint(), and systemTask().

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/systemtask_8h-source.html b/doc/html/systemtask_8h-source.html index 11727d0..54696d0 100644 --- a/doc/html/systemtask_8h-source.html +++ b/doc/html/systemtask_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/systemtask_8h.html b/doc/html/systemtask_8h.html index a6f6586..81b0137 100644 --- a/doc/html/systemtask_8h.html +++ b/doc/html/systemtask_8h.html @@ -8,7 +8,6 @@ -

    systemtask.h File Reference

    #include <ubixos/types.h>
    +

    systemtask.h File Reference

    #include <ubixos/types.h>

    Go to the source code of this file. @@ -60,12 +59,12 @@

    Definition at line 48 of file systemtask.c.

    -References biosCall(), mpi_message::data, fclose(), mpi_message::header, taskStruct::id, taskStruct::imageFd, inportByte(), kfree(), kpanic(), kprintf(), mpi_createMbox(), mpi_fetchMessage(), outportByte(), mpi_message::pid, printOff, sched_getDelTask(), sched_yield(), schedFindTask(), strcmp(), systemVitals, vitalsStruct::sysTicks, vitalsStruct::sysUptime, taskStruct::term, tty_find(), videoBuffer, vmmFreeProcessPages(), and x10. +References biosCall(), mpi_message::data, fclose(), mpi_message::header, taskStruct::id, taskStruct::imageFd, inportByte(), kfree(), kpanic(), kprintf(), mpi_createMbox(), mpi_fetchMessage(), outportByte(), mpi_message::pid, printOff, sched_getDelTask(), sched_yield(), schedFindTask(), strcmp(), systemVitals, vitalsStruct::sysTicks, vitalsStruct::sysUptime, taskStruct::term, tty_find(), videoBuffer, vmmFreeProcessPages(), and x10.

    Referenced by kmain().

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:13 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/tcp_8h-source.html b/doc/html/tcp_8h-source.html index c0c53fa..a94ea1b 100644 --- a/doc/html/tcp_8h-source.html +++ b/doc/html/tcp_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/tcp_8h.html b/doc/html/tcp_8h.html index fabcc4e..eadbf5e 100644 --- a/doc/html/tcp_8h.html +++ b/doc/html/tcp_8h.html @@ -8,7 +8,6 @@
    - + - + - + - + @@ -146,13 +145,13 @@ - + - + - + @@ -166,7 +165,7 @@ - + @@ -176,31 +175,31 @@ - + - + - + - + - + - + - + - + @@ -209,7 +208,7 @@ - + @@ -522,7 +521,7 @@ - +
    #define TCP_RST   0x04
    #define TCP_SEQ_GEQ(a, b)   ((Int32)((a)-(b)) >= 0)
    #define TCP_SEQ_GEQ(a, b)   ((Int32)((a)-(b)) >= 0)
    #define TCP_SEQ_GT(a, b)   ((Int32)((a)-(b)) > 0)
    #define TCP_SEQ_GT(a, b)   ((Int32)((a)-(b)) > 0)
    #define TCP_SEQ_LEQ(a, b)   ((Int32)((a)-(b)) <= 0)
    #define TCP_SEQ_LEQ(a, b)   ((Int32)((a)-(b)) <= 0)
    #define TCP_SEQ_LT(a, b)   ((Int32)((a)-(b)) < 0)
    #define TCP_SEQ_LT(a, b)   ((Int32)((a)-(b)) < 0)
    #define TCP_SLOW_INTERVAL   500
    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_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_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)
    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))
    tcp_pcbtcp_new (void)
    uInt32 tcp_next_iss (void)
    uInt32 tcp_next_iss (void)
    err_t tcp_output (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_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_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)
    void tcp_rst (uInt32 seqno, uInt32 ackno, struct ip_addr *local_ip, struct ip_addr *remote_ip, uInt16 local_port, uInt16 remote_port)
    tcp_segtcp_seg_copy (struct tcp_seg *seg)
    uInt8 tcp_seg_free (struct tcp_seg *seg)
    uInt8 tcp_seg_free (struct tcp_seg *seg)
    uInt8 tcp_segs_free (struct tcp_seg *seg)
    uInt8 tcp_segs_free (struct tcp_seg *seg)
    err_t tcp_send_ctrl (struct tcp_pcb *pcb, uInt8 flags)
    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_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)
    err_t tcp_write (struct tcp_pcb *pcb, const void *dataptr, uInt16 len, uInt8 copy)

    Variables

    tcp_hdr PACK_STRUCT_STRUCT
    tcp_pcb_listentcp_listen_pcbs
    uInt32 tcp_ticks
    uInt32 tcp_ticks
    tcp_pcbtcp_tmp_pcb
     )    ((Int32)((a)-(b)) >= 0)   ((Int32)((a)-(b)) >= 0)
    @@ -547,7 +546,7 @@ b   )  -    ((Int32)((a)-(b)) > 0) +    ((Int32)((a)-(b)) > 0) @@ -572,7 +571,7 @@ b   )  -    ((Int32)((a)-(b)) <= 0) +    ((Int32)((a)-(b)) <= 0) @@ -597,7 +596,7 @@ b   )  -    ((Int32)((a)-(b)) < 0) +    ((Int32)((a)-(b)) < 0) @@ -1088,7 +1087,7 @@ - uInt16  + uInt16  port  @@ -1147,7 +1146,7 @@ - uInt16  + uInt16  port, @@ -1190,31 +1189,31 @@ - uInt16  + uInt16  len, - uInt8  + uInt8  flags, - uInt8  + uInt8  copy, - uInt8 *  + uInt8optdata, - uInt8  + uInt8  optlen  @@ -1381,7 +1380,7 @@

    - + @@ -1506,7 +1505,7 @@ - + @@ -1568,7 +1567,7 @@ - + @@ -1622,13 +1621,13 @@ - + - + @@ -1646,13 +1645,13 @@ - + - + @@ -1693,7 +1692,7 @@
    uInt32 tcp_next_iss uInt32 tcp_next_iss ( void 
    uInt8 uInt8  interval 
    uInt16 uInt16  len 
    void tcp_rst (uInt32 uInt32  seqno,
    uInt32 uInt32  ackno,
    uInt16 uInt16  local_port,
    uInt16 uInt16  remote_port 
    - + @@ -1713,7 +1712,7 @@
    uInt8 tcp_seg_free uInt8 tcp_seg_free ( struct tcp_seg seg
    - + @@ -1741,7 +1740,7 @@ - + @@ -1770,7 +1769,7 @@ - + @@ -1849,13 +1848,13 @@ - + - + @@ -1924,7 +1923,7 @@
    uInt8 tcp_segs_free uInt8 tcp_segs_free ( struct tcp_seg seg
    uInt8 uInt8  flags 
    err_t(*)(void *arg, struct tcp_pcb *tpcb, uInt16 len) err_t(*)(void *arg, struct tcp_pcb *tpcb, uInt16 len)  sent 
    uInt16 uInt16  len,
    uInt8 uInt8  copy 
    - +
    uInt32 tcp_ticks uInt32 tcp_ticks
    @@ -1964,7 +1963,7 @@

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:11 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/tcpdump_8c-source.html b/doc/html/tcpdump_8c-source.html index 52ef86c..f522ac1 100644 --- a/doc/html/tcpdump_8c-source.html +++ b/doc/html/tcpdump_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:07 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/tcpdump_8c.html b/doc/html/tcpdump_8c.html index c3614b3..a95887c 100644 --- a/doc/html/tcpdump_8c.html +++ b/doc/html/tcpdump_8c.html @@ -8,7 +8,6 @@ -

    tcpdump.c File Reference

    #include <vfs/file.h>
    +

    tcpdump.c File Reference

    #include <vfs/file.h>
    #include <ubixos/kpanic.h>
    #include "netif/tcpdump.h"
    #include "net/ipv4/ip.h"
    @@ -47,7 +46,7 @@ void tcpdump_init (void)

    Variables

    -fileDescriptorfile = NULL +fileDescriptorfile = NULL

    Function Documentation

    @@ -98,7 +97,7 @@

    Definition at line 47 of file tcpdump.c.

    -References file, fopen(), kpanic(), and NULL. +References file, fopen(), kpanic(), and NULL.


    Variable Documentation

    @@ -107,7 +106,7 @@
    - +
    fileDescriptor* file = NULL fileDescriptor* file = NULL
    @@ -121,7 +120,7 @@ Referenced by tcpdump(), and tcpdump_init().

    -


    Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:16 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/tcpdump_8h-source.html b/doc/html/tcpdump_8h-source.html index b1db498..2d721ab 100644 --- a/doc/html/tcpdump_8h-source.html +++ b/doc/html/tcpdump_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/tcpdump_8h.html b/doc/html/tcpdump_8h.html index 99fe92d..a574e9e 100644 --- a/doc/html/tcpdump_8h.html +++ b/doc/html/tcpdump_8h.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:11 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/tcpip_8c-source.html b/doc/html/tcpip_8c-source.html index 4ef4382..76438ed 100644 --- a/doc/html/tcpip_8c-source.html +++ b/doc/html/tcpip_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:07 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/tcpip_8c.html b/doc/html/tcpip_8c.html index e07ca93..2c7f8e8 100644 --- a/doc/html/tcpip_8c.html +++ b/doc/html/tcpip_8c.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:15 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/tcpip_8h-source.html b/doc/html/tcpip_8h-source.html index 430a082..af84c9f 100644 --- a/doc/html/tcpip_8h-source.html +++ b/doc/html/tcpip_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/tcpip_8h.html b/doc/html/tcpip_8h.html index 91a5a28..21ad2a6 100644 --- a/doc/html/tcpip_8h.html +++ b/doc/html/tcpip_8h.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:11 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/thread_8c-source.html b/doc/html/thread_8c-source.html index 12565be..2029aa2 100644 --- a/doc/html/thread_8c-source.html +++ b/doc/html/thread_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:08 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/thread_8c.html b/doc/html/thread_8c.html index b50d36a..1077f83 100644 --- a/doc/html/thread_8c.html +++ b/doc/html/thread_8c.html @@ -8,7 +8,6 @@ -

    thread.c File Reference

    #include <ubixfs/ubixfs.h>
    +

    thread.c File Reference

    #include <ubixfs/ubixfs.h>
    #include <ubixos/kpanic.h>
    -#include <vfs/vfs.h>
    +#include <vfs/vfs.h>
    #include <lib/kprintf.h>

    @@ -109,7 +108,7 @@ Referenced by ubixfs_thread().

    -


    Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:16 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/thread_8h-source.html b/doc/html/thread_8h-source.html index 66bd08a..bdd1d3b 100644 --- a/doc/html/thread_8h-source.html +++ b/doc/html/thread_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +00035 #define O_FILES 64 +00036 +00037 struct thread { +00038 int td_retval[2]; +00039 u_int32_t o_files[O_FILES]; +00040 char * vm_daddr; +00041 int32_t vm_dsize; +00042 }; +00043 +00044 #endif +00045 +00046 /*** +00047 END +00048 ***/ +00049 +
    Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/thread_8h.html b/doc/html/thread_8h.html index db30b88..2070bb5 100644 --- a/doc/html/thread_8h.html +++ b/doc/html/thread_8h.html @@ -8,7 +8,6 @@ -

    thread.h File Reference

    #include <ubixos/types.h>
    +

    thread.h File Reference

    #include <ubixos/types.h>

    Go to the source code of this file. @@ -38,8 +37,31 @@ + + +

    Data Structures

    struct  thread

    Defines

    #define O_FILES   64
    -


    Generated on Tue Dec 5 23:35:00 2006 for UbixOS V2 by  +

    Define Documentation

    + +
    +
    + + + + +
    #define O_FILES   64
    +
    +
    + +

    + +

    +Definition at line 35 of file thread.h. +

    +Referenced by getdtablesize(). +

    +

    +


    Generated on Tue Dec 12 08:52:11 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/time_8c-source.html b/doc/html/time_8c-source.html index ff40a0d..71cda67 100644 --- a/doc/html/time_8c-source.html +++ b/doc/html/time_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:06 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/time_8c.html b/doc/html/time_8c.html index 6f8c527..7bfef25 100644 --- a/doc/html/time_8c.html +++ b/doc/html/time_8c.html @@ -8,7 +8,6 @@ -

    time.c File Reference

    #include <ubixos/types.h>
    +

    time.c File Reference

    #include <ubixos/types.h>
    #include <ubixos/time.h>
    #include <ubixos/vitals.h>
    #include <lib/kprintf.h>
    @@ -46,7 +45,7 @@ static int timeCmosRead (int addr) -uInt32 timeMake (struct timeStruct *time) +uInt32 timeMake (struct timeStruct *time)

    Variables

    static int month [12] @@ -142,7 +141,7 @@
    - + @@ -197,7 +196,7 @@ Referenced by timeMake().

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:15 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/time_8h-source.html b/doc/html/time_8h-source.html index 90058f5..f9d86a6 100644 --- a/doc/html/time_8h-source.html +++ b/doc/html/time_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/time_8h.html b/doc/html/time_8h.html index e9088cb..2bd66d8 100644 --- a/doc/html/time_8h.html +++ b/doc/html/time_8h.html @@ -8,7 +8,6 @@ -

    time.h File Reference

    #include <ubixos/types.h>
    +

    time.h File Reference

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

    @@ -66,7 +65,7 @@

    - +
    uInt32 timeMake uInt32 timeMake ( struct timeStruct time
    int time_init ()
    uInt32 timeMake (struct timeStruct *time)
    uInt32 timeMake (struct timeStruct *time)

    Define Documentation

    @@ -193,7 +192,7 @@
    - +
    typedef __time_t time_t typedef __time_t time_t
    @@ -269,7 +268,7 @@
    - + @@ -290,7 +289,7 @@ Referenced by time_init().

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:13 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/timer_8S-source.html b/doc/html/timer_8S-source.html index 96e1a10..dd2ebd4 100644 --- a/doc/html/timer_8S-source.html +++ b/doc/html/timer_8S-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:06 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/timer_8S.html b/doc/html/timer_8S.html index f92d785..28d16d4 100644 --- a/doc/html/timer_8S.html +++ b/doc/html/timer_8S.html @@ -8,7 +8,6 @@
    +eax ebx xor edx div ebx test  +eax ebx xor  +eax  @@ -90,7 +89,7 @@
    uInt32 timeMake uInt32 timeMake ( struct timeStruct time
    globl timerInt text code32
    dx mov ax outb dx movl ecx
    -eax ebx xor edx div ebx test 
    edx
    edx
    globl timerInt text code32
    dx mov ax outb dx movl ecx
    -eax ebx xor 
    edx
    edx
    globl timerInt text code32
    dx mov ax outb dx movl ecx
    -eax 
    movl
    movl
    globl timerInt text code32
    dx mov ax outb dx movl 
    systemVitals
    - +
    globl timerInt text code32 dx mov ax outb al globl timerInt text code32 dx mov ax outb al
    @@ -107,7 +106,7 @@
    - +
    globl timerInt text code32 dx mov ax outb dx movl ecx eax ebx xor edx div ebx test edx globl timerInt text code32 dx mov ax outb dx movl ecx eax ebx xor edx div ebx test edx
    @@ -124,7 +123,7 @@
    - +
    globl timerInt text code32 dx mov ax outb dx movl ecx eax ebx xor edx globl timerInt text code32 dx mov ax outb dx movl ecx eax ebx xor edx
    @@ -141,7 +140,7 @@
    - +
    globl _vmm_pageFault text code32 esp eax pushl ebx movl globl _vmm_pageFault text code32 esp eax pushl ebx movl
    @@ -206,7 +205,7 @@ Definition at line 35 of file timer.S.

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:15 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/times_8h-source.html b/doc/html/times_8h-source.html index c5fcd0c..4a900c4 100644 --- a/doc/html/times_8h-source.html +++ b/doc/html/times_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/times_8h.html b/doc/html/times_8h.html index 0f7196c..b5aa515 100644 --- a/doc/html/times_8h.html +++ b/doc/html/times_8h.html @@ -8,7 +8,6 @@ -

    times.h File Reference

    #include <ubixos/types.h>
    +

    times.h File Reference

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

    @@ -61,7 +60,7 @@ Definition at line 37 of file times.h.

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:13 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/trap_8h-source.html b/doc/html/trap_8h-source.html index 4099d86..f98aeaa 100644 --- a/doc/html/trap_8h-source.html +++ b/doc/html/trap_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/trap_8h.html b/doc/html/trap_8h.html index 3b30da2..1be83f3 100644 --- a/doc/html/trap_8h.html +++ b/doc/html/trap_8h.html @@ -8,7 +8,6 @@
    -

    o+Class Hierarchy

    -
    -

    |o*__sigset

    -

    |o*__timespec

    -

    |o*_item_t

    -

    |o*_list_t

    -

    |o*_UbixUser

    -

    |o*api_msg

    -

    |o*api_msg_msg

    -

    |o*arp_entry

    -

    |o*arp_hdr

    -

    |o*arpcom

    -

    |o*blockAllocationTableEntry

    -

    |o*blockRun

    -

    |o*bNode

    -

    |o*bootSect

    -

    |o*bsd_disklabel

    -

    |o*bsd_disklabel::partition

    -

    |o*bTree

    -

    |o*bTreeHeader

    -

    |o*buf

    -

    |o*cacheNode

    -

    |o*close_args

    -

    |o*confadd

    -

    |o*cpuinfo_t

    -

    |o*csum

    -

    |o*csum_total

    -

    |o*dataStream

    -

    |o*descriptorTableUnion

    -

    |o*devfs_devices

    -

    |o*devfs_info

    -

    |o*device

    -

    |o*device_interface

    -

    |o*device_node

    -

    |o*device_resource

    -

    |o*device_t

    -

    |o*devMethodType

    -

    |o*directoryEntry

    -

    |o*directoryList

    -

    |o*dirent

    -

    |o*diskSuperBlock

    -

    |o*dmadat

    -

    |o*dos_partition

    -

    |o*dp_rcvhdr

    -

    |o*driveInfo

    -

    |o*driverType

    -

    |o*DrvGeom

    -

    |o*ei_device

    -

    |o*elfDynamic

    -

    |o*elfDynSym

    -

    |o*elfHeader

    -

    |o*elfPltInfo

    -

    |o*elfProgramHeader

    -

    |o*elfSectionHeader

    -

    |o*eth_addr

    -

    |o*eth_hdr

    -

    |o*etheraddr

    -

    |o*ethernetif

    -

    |o*ethip_hdr

    -

    |o*fcntl_args

    -

    |o*file

    -

    |o*fileDescriptor

    -

    |o*fileDescriptorStruct

    -

    |o*fileSystem

    -

    |o+FileSystemAbstract

    -
    -

    ||\*DiskFS

    -
    -

    |o*fs

    -

    |o*fstat_args

    -

    |o*gdt_descr

    -

    |o*gdtDescriptor

    -

    |o*gdtGate

    -

    |o*getdtablesize_args

    -

    |o*getgid_args

    -

    |o*getpid_args

    -

    |o*gettimeofday_args

    -

    |o*getuid_args

    -

    |o*hostRingEntry

    -

    |o*i386_frame

    -

    |o*i387Struct

    -

    |o*icmp_dur_hdr

    -

    |o*icmp_echo_hdr

    -

    |o*icmp_te_hdr

    -

    |o*in_addr

    -

    |o*initBlock

    -

    |o*ioctl_args

    -

    |o*ip_addr

    -

    |o*ip_hdr

    -

    |o*issetugid_args

    -

    |o*kmod_struct

    -

    |o*lncInfo

    -

    |o*lwip_socket

    -

    |o*mds

    -

    |o*memDescriptor

    -

    |o*mMap

    -

    |o*mmap_args

    -

    |o*mpi_mbox

    -

    |o*mpi_message

    -

    |o*munmap_args

    -

    |o*net

    -

    |o*netbuf

    -

    |o*netconn

    -

    |o*netif

    -

    |o*nicBuffer

    -

    |o*nicInfo

    -

    |o*obreak_args

    -

    |o*ogDisplay_UbixOS

    -

    |o*ogDisplay_VESA

    -

    |o*ogModeInfo

    -

    |o*ogVESAInfo

    -

    |o*open_args

    -

    |o*osInfo

    -

    |o*partitionInformation

    -

    |o*pbuf

    -

    |o*pciConfig

    -

    |o*pipe_args

    -

    |o*read_args

    -

    |o*readlink_args

    -

    |o*sdeWindows

    +

    |o*setitimer_args

    |o*sigaction_args

    |o*sigprocmask_args

    |o*sockaddr

    @@ -388,7 +206,6 @@

    |o*ubixDiskLabel

    |o*ubixDiskLabel::ubixPartitions

    |o*ubixFSInfo

    -

    |o*ubixfsInode

    |o*ubthread

    |o*ubthread_cond

    |o*ubthread_cond_list

    @@ -399,23 +216,14 @@

    |o*udp_pcb

    |o*ufs1_dinode

    |o*ufs2_dinode

    -

    |o*uPtr

    |o*userFileDescriptorStruct

    -

    |o+vfs_abstract

    -
    -

    ||\*UbixFS

    -

    |o*vfs_mountPoint

    |o*vitalsStruct

    |\*write_args

    o*Data Fields

    -

    o+Namespace List

    -
    -

    |\*std

    -
    -

    o+File List

    -
    +

    o+File List

    +

    |o*src/sys/Makefile.inc

    |o*src/sys/compile/null.c

    |o*src/sys/devfs/devfs.c

    @@ -484,7 +292,7 @@

    |o*src/sys/include/sys/_types.h

    |o*src/sys/include/sys/buf.h

    |o*src/sys/include/sys/cdefs.h

    -

    |o*src/sys/include/sys/device.h

    +

    |o*src/sys/include/sys/device.h

    |o*src/sys/include/sys/device.old.h

    |o*src/sys/include/sys/dma.h

    |o*src/sys/include/sys/driver.h

    @@ -503,7 +311,7 @@

    |o*src/sys/include/sys/tss.h

    |o*src/sys/include/sys/video.h

    |o*src/sys/include/ubixfs/dirCache.h

    -

    |o*src/sys/include/ubixfs/ubixfs.h

    +

    |o*src/sys/include/ubixfs/ubixfs.h

    |o*src/sys/include/ubixos/elf.h

    |o*src/sys/include/ubixos/endtask.h

    |o*src/sys/include/ubixos/exec.h

    @@ -525,14 +333,14 @@

    |o*src/sys/include/ubixos/time.h

    |o*src/sys/include/ubixos/times.h

    |o*src/sys/include/ubixos/tty.h

    -

    |o*src/sys/include/ubixos/types.h

    +

    |o*src/sys/include/ubixos/types.h

    |o*src/sys/include/ubixos/ubthread.h

    |o*src/sys/include/ubixos/vitals.h

    |o*src/sys/include/ufs/ffs.h

    |o*src/sys/include/ufs/ufs.h

    -

    |o*src/sys/include/vfs/file.h

    +

    |o*src/sys/include/vfs/file.h

    |o*src/sys/include/vfs/mount.h

    -

    |o*src/sys/include/vfs/vfs.h

    +

    |o*src/sys/include/vfs/vfs.h

    |o*src/sys/include/vmm/paging.h

    |o*src/sys/include/vmm/vmm.h

    |o*src/sys/init/main.c

    @@ -586,7 +394,9 @@

    |o*src/sys/lib/net.c

    |o*src/sys/lib/ogprintf.cc

    |o*src/sys/lib/sqrt.c

    +

    |o*src/sys/lib/strcpy.S

    |o*src/sys/lib/string.c

    +

    |o*src/sys/lib/strlen.S

    |o*src/sys/lib/strtok.c

    |o*src/sys/lib/strtol.c

    |o*src/sys/lib/vsprintf.c

    @@ -621,20 +431,6 @@

    |o*src/sys/ubixfs/directory.c

    |o*src/sys/ubixfs/thread.c

    |o*src/sys/ubixfs/ubixfs.c

    -

    |o*src/sys/ubixfsv2/btree.cpp

    -

    |o*src/sys/ubixfsv2/btree.h

    -

    |o*src/sys/ubixfsv2/btreeheader.h

    -

    |o*src/sys/ubixfsv2/device.h

    -

    |o*src/sys/ubixfsv2/file.h

    -

    |o*src/sys/ubixfsv2/fsAbstract.h

    -

    |o*src/sys/ubixfsv2/main.cpp

    -

    |o*src/sys/ubixfsv2/ramdrive.cpp

    -

    |o*src/sys/ubixfsv2/ramdrive.h

    -

    |o*src/sys/ubixfsv2/types.h

    -

    |o*src/sys/ubixfsv2/ubixfs.cpp

    -

    |o*src/sys/ubixfsv2/ubixfs.h

    -

    |o*src/sys/ubixfsv2/vfs.cpp

    -

    |o*src/sys/ubixfsv2/vfs.h

    |o*src/sys/ufs/ffs.c

    |o*src/sys/ufs/ufs.c

    |o*src/sys/vfs/file.c

    @@ -653,28 +449,28 @@

    |o*src/sys/vmm/vmm_init.c

    |\*src/sys/vmm/vmm_memory.c

    -

    o+Directories

    -
    -

    |\+src

    -
    -

    | \+sys

    -
    -

    |  o+compile

    -
    +

    o+Directories

    +
    +

    |\+src

    +
    +

    | \+sys

    +
    +

    |  o+compile

    + -

    |  o+devfs

    -
    +

    |  o+devfs

    + -

    |  o+include

    -
    -

    |  |o+devfs

    -
    +

    |  o+include

    +
    +

    |  |o+devfs

    + -

    |  |o+isa

    -
    +

    |  |o+isa

    +

    |  ||o*8259.h

    |  ||o*atkbd.h

    |  ||o*fdc.h

    @@ -682,8 +478,8 @@

    |  ||o*ne2k.h

    |  ||\*pit.h

    -

    |  |o+lib

    -
    +

    |  |o+lib

    + -

    |  |o+mpi

    -
    +

    |  |o+mpi

    + -

    |  |o+net

    -
    -

    |  ||o+arch

    -
    +

    |  |o+net

    +
    +

    |  ||o+arch

    +

    |  |||o*cc.h

    |  |||o*cpu.h

    |  |||o*init.h

    @@ -706,15 +502,15 @@

    |  |||o*perf.h

    |  |||\*sys_arch.h

    -

    |  ||o+ipv4

    -
    +

    |  ||o+ipv4

    + -

    |  ||o+ipv6

    -
    +

    |  ||o+ipv6

    +

    |  |||o*icmp.h

    |  |||o*inet.h

    |  |||o*ip.h

    @@ -741,34 +537,34 @@

    |  ||o*tcpip.h

    |  ||\*udp.h

    -

    |  |o+netif

    -
    +

    |  |o+netif

    + -

    |  |o+objgfx

    -
    +

    |  |o+objgfx

    + -

    |  |o+pci

    -
    +

    |  |o+pci

    + -

    |  |o+sde

    -
    +

    |  |o+sde

    + -

    |  |o+sys

    -
    +

    |  |o+sys

    + -

    |  |o+ubixfs

    -
    +

    |  |o+ubixfs

    + -

    |  |o+ubixos

    -
    +

    |  |o+ubixos

    + -

    |  |o+ufs

    -
    +

    |  |o+ufs

    + -

    |  |o+vfs

    -
    -

    |  ||o*file.h

    +

    |  |o+vfs

    + -

    |  |o+vmm

    -
    +

    |  |o+vmm

    + @@ -840,14 +636,14 @@

    |  |o*stdarg.h

    |  |\*string.h

    -

    |  o+init

    -
    +

    |  o+init

    + -

    |  o+isa

    -
    +

    |  o+isa

    +

    |  |o*8259.c

    |  |o*atkbd.c

    |  |o*fdc.c

    @@ -856,8 +652,8 @@

    |  |o*pit.c

    |  |\*rs232.c

    -

    |  o+kernel

    -
    +

    |  o+kernel

    +

    |  |o*ap-boot.S

    |  |o*bioscall.c

    |  |o*elf.c

    @@ -887,12 +683,12 @@

    |  |o*ubthread.c

    |  |\*vitals.c

    -

    |  o+kmods

    -
    +

    |  o+kmods

    + -

    |  o+lib

    -
    +

    |  o+lib

    + -

    |  o+mpi

    -
    +

    |  o+mpi

    + -

    |  o+net

    -
    -

    |  |o+api

    -
    +

    |  o+net

    +
    +

    |  |o+api

    + -

    |  |o+net

    -
    +

    |  |o+net

    +

    |  ||o*bot.c

    |  ||o*init.c

    |  ||o*shell.c

    @@ -935,66 +733,49 @@

    |  ||o*udpecho.c

    |  ||\*udpecho.h

    -

    |  |\+netif

    - -

    |  o+pci

    -
    +

    |  o+pci

    + -

    |  o+sys

    -
    +

    |  o+sys

    + -

    |  o+ubixfs

    -
    +

    |  o+ubixfs

    + -

    |  o+ubixfsv2

    - -

    |  o+ufs

    -
    +

    |  o+ufs

    + -

    |  o+vfs

    -
    +

    |  o+vfs

    + -

    |  o+vmm

    -
    +

    |  o+vmm

    +

    |  |o*copyvirtualspace.c

    |  |o*createvirtualspace.c

    |  |o*getfreepage.c

    diff --git a/doc/html/tss_8h-source.html b/doc/html/tss_8h-source.html index 88c37a3..faf062b 100644 --- a/doc/html/tss_8h-source.html +++ b/doc/html/tss_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +

    Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/tss_8h.html b/doc/html/tss_8h.html index e2194a2..0c70ea0 100644 --- a/doc/html/tss_8h.html +++ b/doc/html/tss_8h.html @@ -8,7 +8,6 @@ -

    tss.h File Reference

    #include <ubixos/types.h>
    +

    tss.h File Reference

    #include <ubixos/types.h>

    Go to the source code of this file. @@ -43,7 +42,7 @@
    struct  tssStruct
    -


    Generated on Tue Dec 5 23:35:00 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:11 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/tty_8c-source.html b/doc/html/tty_8c-source.html index d609f64..e65fe7f 100644 --- a/doc/html/tty_8c-source.html +++ b/doc/html/tty_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +

    Generated on Tue Dec 12 08:52:06 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/tty_8c.html b/doc/html/tty_8c.html index 3f6f1ef..12e8b85 100644 --- a/doc/html/tty_8c.html +++ b/doc/html/tty_8c.html @@ -8,7 +8,6 @@
    @@ -106,7 +105,7 @@ int readUbixFS ( - fileDescriptor *  + fileDescriptorfd, @@ -118,7 +117,7 @@ - uInt32  + uInt32  offset, @@ -141,7 +140,7 @@

    Definition at line 194 of file ubixfs.c.

    -References assert, buffer, fdEof, kpanic(), NULL, and fileDescriptor::size. +References assert, buffer, fileDescriptorStruct::cacheNode, fdEof, vfs_mountPoint::fsInfo, cacheNode::info, kpanic(), fileDescriptorStruct::mp, NULL, cacheNode::present, fileDescriptorStruct::size, and fileDescriptorStruct::status.

    Referenced by addDirEntry(), and ubixfs_init().

    @@ -166,7 +165,7 @@

    Definition at line 456 of file ubixfs.c.

    -References kpanic(), NULL, openFileUbixFS(), readUbixFS(), ubixfs_initialize(), ubixFSmkDir(), ubixFSUnlink(), vfsRegisterFS(), writeUbixFS(), and x1. +References kpanic(), NULL, openFileUbixFS(), readUbixFS(), ubixfs_initialize(), ubixFSmkDir(), ubixFSUnlink(), vfsRegisterFS(), writeUbixFS(), and x1.

    @@ -190,7 +189,7 @@

    Definition at line 376 of file ubixfs.c.

    -References assert, cacheNode::attributes, ubixFSInfo::batEntries, ubixFSInfo::blockAllocationTable, vfs_mountPoint::device, device_node::devInfo, ubixFSInfo::dirCache, vfs_mountPoint::diskLabel, vfs_mountPoint::fsInfo, cacheNode::info, device_interface::info, kmalloc(), kprintf(), ubixDiskLabel::magicNum, ubixDiskLabel::magicNum2, vfs_mountPoint::partition, ubixDiskLabel::partitions, ubixDiskLabel::ubixPartitions::pBatSize, cacheNode::permissions, cacheNode::present, device_interface::read, ubixFSInfo::rootDir, cacheNode::size, cacheNode::startCluster, UBIXDISKMAGIC, ubixfs_cacheNew(), and x1. +References assert, cacheNode::attributes, ubixFSInfo::batEntries, ubixFSInfo::blockAllocationTable, vfs_mountPoint::device, device_node::devInfo, ubixFSInfo::dirCache, vfs_mountPoint::diskLabel, vfs_mountPoint::fsInfo, cacheNode::info, device_interface::info, kmalloc(), kprintf(), ubixDiskLabel::magicNum, ubixDiskLabel::magicNum2, vfs_mountPoint::partition, ubixDiskLabel::partitions, ubixDiskLabel::ubixPartitions::pBatSize, cacheNode::permissions, cacheNode::present, device_interface::read, ubixFSInfo::rootDir, cacheNode::size, cacheNode::startCluster, UBIXDISKMAGIC, ubixfs_cacheNew(), and x1.

    @@ -200,7 +199,7 @@ static int ubixfs_loadData ( - fileDescriptor *  + fileDescriptorfd, @@ -212,13 +211,13 @@ - uInt32  + uInt32  size, - uInt32  + uInt32  batIndex  @@ -235,7 +234,7 @@

    Definition at line 341 of file ubixfs.c.

    -References assert, ubixFSInfo::blockAllocationTable, blockSize, blockAllocationTableEntry::nextBlock, NULL, blockAllocationTableEntry::realSector, UBIXFS_ALIGN, and UBIXFS_BLOCKSIZE_BYTES. +References assert, ubixFSInfo::blockAllocationTable, blockSize, vfs_mountPoint::device, device_node::devInfo, vfs_mountPoint::diskLabel, vfs_mountPoint::fsInfo, device_interface::info, fileDescriptorStruct::mp, blockAllocationTableEntry::nextBlock, NULL, vfs_mountPoint::partition, ubixDiskLabel::partitions, device_interface::read, blockAllocationTableEntry::realSector, UBIXFS_ALIGN, and UBIXFS_BLOCKSIZE_BYTES.

    Referenced by openFileUbixFS().

    @@ -270,7 +269,7 @@

    Definition at line 309 of file ubixfs.c.

    -References ubixFSInfo::blockAllocationTable, vfs_mountPoint::device, device_node::devInfo, vfs_mountPoint::diskLabel, directoryEntry::fileName, vfs_mountPoint::fsInfo, device_interface::info, kmalloc(), kprintf(), vfs_mountPoint::partition, ubixDiskLabel::partitions, device_interface::read, ubixFSInfo::rootDir, strcmp(), typeDeleted, device_interface::write, and x1000. +References ubixFSInfo::blockAllocationTable, vfs_mountPoint::device, device_node::devInfo, vfs_mountPoint::diskLabel, directoryEntry::fileName, vfs_mountPoint::fsInfo, device_interface::info, kmalloc(), kprintf(), vfs_mountPoint::partition, ubixDiskLabel::partitions, device_interface::read, ubixFSInfo::rootDir, strcmp(), typeDeleted, device_interface::write, and x1000.

    Referenced by ubixfs_init().

    @@ -288,7 +287,7 @@ - fileDescriptor *  + fileDescriptorfd, @@ -311,7 +310,7 @@

    Definition at line 118 of file ubixfs.c.

    -References assert, ubixFSInfo::blockAllocationTable, fdOpen, fdRead, blockAllocationTableEntry::nextBlock, and NULL. +References assert, ubixFSInfo::blockAllocationTable, vfs_mountPoint::diskLabel, fdOpen, fdRead, vfs_mountPoint::fsInfo, fileDescriptorStruct::mp, blockAllocationTableEntry::nextBlock, NULL, vfs_mountPoint::partition, ubixDiskLabel::partitions, ubixDiskLabel::ubixPartitions::pBatSize, fileDescriptorStruct::start, and fileDescriptorStruct::status.

    @@ -321,7 +320,7 @@ int writeUbixFS ( - fileDescriptor *  + fileDescriptorfd, @@ -356,12 +355,12 @@

    Definition at line 232 of file ubixfs.c.

    -References assert, ubixFSInfo::blockAllocationTable, blockSize, EOBC, directoryEntry::fileName, getFreeBlocks(), kfree(), kmalloc(), blockAllocationTableEntry::nextBlock, NULL, blockAllocationTableEntry::realSector, directoryEntry::size, fileDescriptor::size, directoryEntry::startCluster, strcmp(), and x1000. +References assert, ubixFSInfo::blockAllocationTable, blockSize, fileDescriptorStruct::buffer, vfs_mountPoint::device, device_node::devInfo, vfs_mountPoint::diskLabel, EOBC, fileDescriptorStruct::fileName, directoryEntry::fileName, vfs_mountPoint::fsInfo, getFreeBlocks(), device_interface::info, kfree(), kmalloc(), fileDescriptorStruct::mp, blockAllocationTableEntry::nextBlock, NULL, vfs_mountPoint::partition, ubixDiskLabel::partitions, device_interface::read, blockAllocationTableEntry::realSector, directoryEntry::size, fileDescriptorStruct::size, fileDescriptorStruct::start, directoryEntry::startCluster, strcmp(), device_interface::write, and x1000.

    Referenced by addDirEntry(), and ubixfs_init().

    -


    Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:16 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ubixos_2init_8h-source.html b/doc/html/ubixos_2init_8h-source.html index 8d1928c..c2d6015 100644 --- a/doc/html/ubixos_2init_8h-source.html +++ b/doc/html/ubixos_2init_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +

    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ubixos_2init_8h.html b/doc/html/ubixos_2init_8h.html index 1f073a1..f600d6e 100644 --- a/doc/html/ubixos_2init_8h.html +++ b/doc/html/ubixos_2init_8h.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:10 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ubthread_8c-source.html b/doc/html/ubthread_8c-source.html index c17d53e..92fcbfe 100644 --- a/doc/html/ubthread_8c-source.html +++ b/doc/html/ubthread_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +

    Generated on Tue Dec 12 08:52:06 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ubthread_8c.html b/doc/html/ubthread_8c.html index 577b319..216f24f 100644 --- a/doc/html/ubthread_8c.html +++ b/doc/html/ubthread_8c.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:15 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ubthread_8h-source.html b/doc/html/ubthread_8h-source.html index 16f7528..fca8ff2 100644 --- a/doc/html/ubthread_8h-source.html +++ b/doc/html/ubthread_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +

    Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/ubthread_8h.html b/doc/html/ubthread_8h.html index 5d2c90e..d10a8ce 100644 --- a/doc/html/ubthread_8h.html +++ b/doc/html/ubthread_8h.html @@ -8,7 +8,6 @@ -

    ubthread.h File Reference

    #include <ubixos/types.h>
    +

    ubthread.h File Reference

    #include <ubixos/types.h>
    #include <ubixos/sched.h>
    #include <ubixos/time.h>
    @@ -67,7 +66,7 @@

    Functions

    int ubthread_cond_destroy (ubthread_cond_t *cond) -int ubthread_cond_init (ubthread_cond_t *cond, const uInt32 attr) +int ubthread_cond_init (ubthread_cond_t *cond, const uInt32 attr) int ubthread_cond_signal (ubthread_cond_t *cond) @@ -75,11 +74,11 @@ int ubthread_cond_wait (ubthread_cond_t *cond, ubthread_mutex_t *mutex) -int ubthread_create (kTask_t **thread, const uInt32 *attr, void(*tproc)(void), void *arg) +int ubthread_create (kTask_t **thread, const uInt32 *attr, void(*tproc)(void), void *arg) int ubthread_mutex_destroy (ubthread_mutex_t *mutex) -int ubthread_mutex_init (ubthread_mutex_t *mutex, const uInt32 attr) +int ubthread_mutex_init (ubthread_mutex_t *mutex, const uInt32 attr) int ubthread_mutex_lock (ubthread_mutex_t *mutex) @@ -238,7 +237,7 @@ - const uInt32  + const uInt32  attr  @@ -375,7 +374,7 @@ - const uInt32 *  + const uInt32attr, @@ -448,7 +447,7 @@ - const uInt32  + const uInt32  attr  @@ -547,7 +546,7 @@ Referenced by current_thread().

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:13 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/udp_8h-source.html b/doc/html/udp_8h-source.html index d02404e..aebba0c 100644 --- a/doc/html/udp_8h-source.html +++ b/doc/html/udp_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:56 2006 for UbixOS V2 by  +

    Generated on Tue Dec 12 08:52:04 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/udp_8h.html b/doc/html/udp_8h.html index 8d6135e..ce270c5 100644 --- a/doc/html/udp_8h.html +++ b/doc/html/udp_8h.html @@ -8,7 +8,6 @@

    @@ -985,7 +984,7 @@

    @@ -1002,7 +1001,7 @@ @@ -1019,7 +1018,7 @@
    - +
    typedef int64_t ufs_lbn_t typedef int64_t ufs_lbn_t
    @@ -1036,7 +1035,7 @@
    - +
    typedef int64_t ufs_time_t typedef int64_t ufs_time_t
    @@ -1067,9 +1066,9 @@

    -Definition at line 308 of file ufs.c. +Definition at line 314 of file ufs.c.

    -References kpanic(), NULL, ufs_initialize(), ufs_openFile(), ufs_readFile(), ufs_writeFile(), vfsRegisterFS(), and x1. +References kpanic(), NULL, ufs_initialize(), ufs_openFile(), ufs_readFile(), ufs_writeFile(), vfsRegisterFS(), and x1.

    @@ -1090,10 +1089,10 @@

    -Referenced by ufs_init(). +Referenced by ufs_init().

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:13 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/uniondescriptorTableUnion.html b/doc/html/uniondescriptorTableUnion.html index d5c909e..f5da7d6 100644 --- a/doc/html/uniondescriptorTableUnion.html +++ b/doc/html/uniondescriptorTableUnion.html @@ -8,7 +8,6 @@

    descriptorTableUnion Union Reference

    #include <gdt.h> @@ -103,7 +101,7 @@


    The documentation for this union was generated from the following file:
    • src/sys/include/sys/gdt.h
    -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/unionetheraddr.html b/doc/html/unionetheraddr.html index 83f4681..6e3c484 100644 --- a/doc/html/unionetheraddr.html +++ b/doc/html/unionetheraddr.html @@ -8,7 +8,6 @@

    etheraddr Union Reference

    #include <ne2k.h> @@ -82,7 +80,7 @@


    The documentation for this union was generated from the following file: -
    Generated on Tue Dec 5 23:35:03 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:18 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/unmappage_8c-source.html b/doc/html/unmappage_8c-source.html index 991a853..b1f3223 100644 --- a/doc/html/unmappage_8c-source.html +++ b/doc/html/unmappage_8c-source.html @@ -8,7 +8,6 @@
    • Main Page
    • -
    • Namespaces
    • Data Structures
    • Files
    • Directories
    • @@ -79,10 +78,10 @@ 00047 00048 ************************************************************************/ 00049 void -00050 vmmUnmapPage(uInt32 pageAddr, int flags) +00050 vmmUnmapPage(uInt32 pageAddr, int flags) 00051 { 00052 int pageDirectoryIndex = 0, pageTableIndex = 0; -00053 uInt32 *pageTable = 0x0; +00053 uInt32 *pageTable = 0x0; 00054 00055 /* Get The Index To The Page Directory */ 00056 pageDirectoryIndex = (pageAddr >> 22); @@ -91,7 +90,7 @@ 00059 pageTableIndex = ((pageAddr >> 12) & 0x3FF); 00060 00061 /* Set pageTable To The Virtual Address Of Table */ -00062 pageTable = (uInt32 *) (tablesBaseAddress + (0x1000 * pageDirectoryIndex)); +00062 pageTable = (uInt32 *) (tablesBaseAddress + (0x1000 * pageDirectoryIndex)); 00063 /* Free The Physical Page If Flags Is 0 */ 00064 if (flags == 0) { 00065 @@ -130,15 +129,15 @@ 00098 To Create A New Virtual Space So Now It Has A Flag 00099 00100 ************************************************************************/ -00101 void vmmUnmapPages(void *ptr,uInt32 size) { -00102 uInt32 baseAddr = (uInt32)ptr & 0xFFFFF000; -00103 uInt32 dI = 0x0,tI = 0x0; -00104 uInt32 y = 0x0; -00105 uInt32 *pageTable = 0x0; +00101 void vmmUnmapPages(void *ptr,uInt32 size) { +00102 uInt32 baseAddr = (uInt32)ptr & 0xFFFFF000; +00103 uInt32 dI = 0x0,tI = 0x0; +00104 uInt32 y = 0x0; +00105 uInt32 *pageTable = 0x0; 00106 00107 dI = (baseAddr/(1024*4096)); 00108 tI = ((baseAddr-(dI*(1024*4096)))/4096); -00109 pageTable = (uInt32 *)(tablesBaseAddress + (4096*dI)); +00109 pageTable = (uInt32 *)(tablesBaseAddress + (4096*dI)); 00110 for (y=tI;y<(tI+((size+4095)/4096));y++) { 00111 pageTable[y] = 0x0; 00112 } @@ -173,7 +172,7 @@ 00141 00142 END 00143 ***/ -

    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +

    Generated on Tue Dec 12 08:52:09 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/unmappage_8c.html b/doc/html/unmappage_8c.html index 721c025..5dd397f 100644 --- a/doc/html/unmappage_8c.html +++ b/doc/html/unmappage_8c.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/vfs_8c-source.html b/doc/html/vfs_8c-source.html index ff7b61d..4222c9f 100644 --- a/doc/html/vfs_8c-source.html +++ b/doc/html/vfs_8c-source.html @@ -8,7 +8,6 @@
    • Main Page
    • -
    • Namespaces
    • Data Structures
    • Files
    • Directories
    • @@ -59,125 +58,135 @@ 00027 00028 *****************************************************************************************/ 00029 -00030 #include <vfs/vfs.h> +00030 #include <vfs/vfs.h> 00031 #include <ubixos/vitals.h> 00032 #include <lib/kmalloc.h> 00033 #include <lib/kprintf.h> 00034 #include <lib/string.h> -00035 -00036 /************************************************************************ -00037 -00038 Function: void vfs_init(); -00039 -00040 Description: This Function Initializes The VFS Layer -00041 -00042 Notes: -00043 -00044 02/20/2004 - Approved for quality -00045 -00046 ************************************************************************/ -00047 int vfs_init() { -00048 /* Set up default fileSystems list */ -00049 systemVitals->fileSystems = 0x0; -00050 -00051 /* Print information */ -00052 kprintf("vfs0: loaded at address: [0x%X]\n",systemVitals->fileSystems); -00053 -00054 /* Return so we know things went well */ -00055 return(0x0); -00056 } -00057 -00058 struct fileSystem *vfsFindFS(int vfsType) { -00059 struct fileSystem *tmp = 0x0; -00060 -00061 /* Search For File System */ -00062 for (tmp=systemVitals->fileSystems;tmp;tmp=tmp->next) { -00063 /* If Found Return File System */ -00064 if (tmp->vfsType == vfsType) { -00065 return(tmp); -00066 } -00067 } -00068 -00069 /* If FS Not Found Return NULL */ -00070 return(0x0); -00071 } -00072 -00080 int vfsRegisterFS(struct fileSystem newFS) { -00081 /* -00082 int vfsType, -00083 void *vfsInitFS, -00084 void *vfsRead, -00085 void *vfsWrite, -00086 void *vfsOpenFile, -00087 void *vfsUnlink, -00088 void *vfsMakeDir, -00089 void *vfsRemDir, -00090 void *vfsSync) { -00091 */ -00092 struct fileSystem *tmpFs = 0x0; -00093 -00094 if (vfsFindFS(newFS.vfsType) != 0x0) { -00095 kprintf("FS Is already Registered\n"); -00096 return(0x1); -00097 } -00098 -00099 /* Allocate Memory */ -00100 tmpFs = (struct fileSystem *)kmalloc(sizeof(struct fileSystem)); -00101 if (tmpFs == NULL) { -00102 kprintf("vfsRegisterFS: memory allocation failed\n"); -00103 /* Memory Allocation Failed */ -00104 return(0x1); -00105 } -00106 -00107 /* Set Up FS Defaults */ -00108 -00109 /* 2004 7-16-2004 mji -00110 * Old method: -00111 * tmpFs->vfsType = newFS.vfsType; -00112 * tmpFs->vfsInitFS = newFS.vfsInitFS; -00113 * tmpFs->vfsRead = newFS.vfsRead; -00114 * tmpFs->vfsWrite = newFS.vfsWrite; -00115 * tmpFs->vfsOpenFile = newFS.vfsOpenFile; -00116 * tmpFs->vfsUnlink = newFS.vfsUnlink; -00117 * tmpFs->vfsMakeDir = newFS.vfsMakeDir; -00118 * tmpFs->vfsRemDir = newFS.vfsRemDir; -00119 * tmpFs->vfsSync = newFS.vfsSync; -00120 */ -00121 /* new method: */ -00122 -00123 memcpy(tmpFs, &newFS, sizeof(struct fileSystem)); -00124 if (!systemVitals->fileSystems) { -00125 tmpFs->prev = 0x0; -00126 tmpFs->next = 0x0; -00127 systemVitals->fileSystems = tmpFs; -00128 } -00129 else { -00130 tmpFs->prev = 0x0; -00131 tmpFs->next = systemVitals->fileSystems; -00132 systemVitals->fileSystems->prev = tmpFs; -00133 systemVitals->fileSystems = tmpFs; -00134 } -00135 -00136 return(0x0); -00137 } -00138 -00139 int open(struct thread *td, struct open_args *uap) { -00140 int error; -00141 int index; -00142 struct file *nfp = 0x0; -00143 error = falloc(td,&nfp,&index); -00144 if (error) -00145 return(error); -00146 kprintf("fd: [%i][%s]\n",index,uap->path); -00147 return (error); -00148 } -00149 -00150 -00151 /*** -00152 END -00153 ***/ +00035 #include <sys/kern_descrip.h> +00036 +00037 /************************************************************************ +00038 +00039 Function: void vfs_init(); +00040 +00041 Description: This Function Initializes The VFS Layer +00042 +00043 Notes: +00044 +00045 02/20/2004 - Approved for quality +00046 +00047 ************************************************************************/ +00048 int vfs_init() { +00049 /* Set up default fileSystems list */ +00050 systemVitals->fileSystems = 0x0; +00051 +00052 /* Print information */ +00053 kprintf("vfs0: loaded at address: [0x%X]\n",systemVitals->fileSystems); +00054 +00055 /* Return so we know things went well */ +00056 return(0x0); +00057 } +00058 +00059 struct fileSystem *vfsFindFS(int vfsType) { +00060 struct fileSystem *tmp = 0x0; +00061 +00062 /* Search For File System */ +00063 for (tmp=systemVitals->fileSystems;tmp;tmp=tmp->next) { +00064 /* If Found Return File System */ +00065 if (tmp->vfsType == vfsType) { +00066 return(tmp); +00067 } +00068 } +00069 +00070 /* If FS Not Found Return NULL */ +00071 return(0x0); +00072 } +00073 +00081 int vfsRegisterFS(struct fileSystem newFS) { +00082 /* +00083 int vfsType, +00084 void *vfsInitFS, +00085 void *vfsRead, +00086 void *vfsWrite, +00087 void *vfsOpenFile, +00088 void *vfsUnlink, +00089 void *vfsMakeDir, +00090 void *vfsRemDir, +00091 void *vfsSync) { +00092 */ +00093 struct fileSystem *tmpFs = 0x0; +00094 +00095 if (vfsFindFS(newFS.vfsType) != 0x0) { +00096 kprintf("FS Is already Registered\n"); +00097 return(0x1); +00098 } +00099 +00100 /* Allocate Memory */ +00101 tmpFs = (struct fileSystem *)kmalloc(sizeof(struct fileSystem)); +00102 if (tmpFs == NULL) { +00103 kprintf("vfsRegisterFS: memory allocation failed\n"); +00104 /* Memory Allocation Failed */ +00105 return(0x1); +00106 } +00107 +00108 /* Set Up FS Defaults */ +00109 +00110 /* 2004 7-16-2004 mji +00111 * Old method: +00112 * tmpFs->vfsType = newFS.vfsType; +00113 * tmpFs->vfsInitFS = newFS.vfsInitFS; +00114 * tmpFs->vfsRead = newFS.vfsRead; +00115 * tmpFs->vfsWrite = newFS.vfsWrite; +00116 * tmpFs->vfsOpenFile = newFS.vfsOpenFile; +00117 * tmpFs->vfsUnlink = newFS.vfsUnlink; +00118 * tmpFs->vfsMakeDir = newFS.vfsMakeDir; +00119 * tmpFs->vfsRemDir = newFS.vfsRemDir; +00120 * tmpFs->vfsSync = newFS.vfsSync; +00121 */ +00122 /* new method: */ +00123 +00124 memcpy(tmpFs, &newFS, sizeof(struct fileSystem)); +00125 if (!systemVitals->fileSystems) { +00126 tmpFs->prev = 0x0; +00127 tmpFs->next = 0x0; +00128 systemVitals->fileSystems = tmpFs; +00129 } +00130 else { +00131 tmpFs->prev = 0x0; +00132 tmpFs->next = systemVitals->fileSystems; +00133 systemVitals->fileSystems->prev = tmpFs; +00134 systemVitals->fileSystems = tmpFs; +00135 } +00136 +00137 return(0x0); +00138 } +00139 +00148 int sys_open(struct thread *td, struct open_args *uap) { +00149 int error = 0x0; +00150 int index = 0x0; +00151 struct file *nfp = 0x0; +00152 +00153 error = falloc(td,&nfp,&index); 00154 -

    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +00155 if (error) +00156 return(error); +00157 +00158 strcpy(nfp->path,uap->path); +00159 +00160 nfp->fd = fopen(uap->path,"r"); +00161 if (nfp->fd == 0x0) +00162 td->td_retval[0] = -1; +00163 else +00164 td->td_retval[0] = index; +00165 return (error); +00166 } +00167 +00168 +00169 /*** +00170 END +00171 ***/ +00172 +

    Generated on Tue Dec 12 08:52:08 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/vfs_8c.html b/doc/html/vfs_8c.html index 6d7e442..feddc10 100644 --- a/doc/html/vfs_8c.html +++ b/doc/html/vfs_8c.html @@ -8,7 +8,6 @@ -

    vfs.c File Reference

    #include <vfs/vfs.h>
    +

    vfs.c File Reference

    #include <vfs/vfs.h>
    #include <ubixos/vitals.h>
    #include <lib/kmalloc.h>
    #include <lib/kprintf.h>
    #include <lib/string.h>
    +#include <sys/kern_descrip.h>

    Go to the source code of this file. - + + @@ -51,12 +52,12 @@

    Functions

    int open (struct thread *td, struct open_args *uap)
    int sys_open (struct thread *td, struct open_args *uap)
     entry point for open syscall
    int vfs_init ()
    fileSystemvfsFindFS (int vfsType)
     register a file system


    Function Documentation

    - +
    - + @@ -77,11 +78,20 @@

    +entry point for open syscall +

    +

    Parameters:
    +
    int open int sys_open ( struct thread td,
    + + +
    *td pointer to callers thread
    *uap pointer to user space arguements for call
    + +
    Returns:
    index to file descriptor

    -Definition at line 139 of file vfs.c. +Definition at line 148 of file vfs.c.

    -References falloc(), kprintf(), and open_args::path. +References falloc(), file::fd, fopen(), open_args::path, file::path, strcpy, and thread::td_retval.

    @@ -102,7 +112,7 @@

    -Definition at line 47 of file vfs.c. +Definition at line 48 of file vfs.c.

    References vitalsStruct::fileSystems, kprintf(), and systemVitals.

    @@ -126,11 +136,11 @@

    -Definition at line 58 of file vfs.c. +Definition at line 59 of file vfs.c.

    -References vitalsStruct::fileSystems, fileSystem::next, systemVitals, and fileSystem::vfsType. +References vitalsStruct::fileSystems, fileSystem::next, systemVitals, and fileSystem::vfsType.

    -Referenced by vfs_mount(), and vfsRegisterFS(). +Referenced by vfs_mount(), and vfsRegisterFS().

    @@ -160,14 +170,14 @@

    -Definition at line 80 of file vfs.c. +Definition at line 81 of file vfs.c.

    -References vitalsStruct::fileSystems, kmalloc(), kprintf(), memcpy(), fileSystem::next, NULL, fileSystem::prev, systemVitals, vfsFindFS(), fileSystem::vfsType, and x1. +References vitalsStruct::fileSystems, kmalloc(), kprintf(), memcpy(), fileSystem::next, NULL, fileSystem::prev, systemVitals, vfsFindFS(), fileSystem::vfsType, and x1.

    -Referenced by devfs_init(), ubixfs_init(), and ufs_init(). +Referenced by devfs_init(), ubixfs_init(), and ufs_init().

    -


    Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/video_8c-source.html b/doc/html/video_8c-source.html index bd73393..1aab5c6 100644 --- a/doc/html/video_8c-source.html +++ b/doc/html/video_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +

    Generated on Tue Dec 12 08:52:08 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/video_8c.html b/doc/html/video_8c.html index 324c7c5..ef0356b 100644 --- a/doc/html/video_8c.html +++ b/doc/html/video_8c.html @@ -8,7 +8,6 @@

    video.c File Reference

    #include <sys/io.h>
    #include <sys/video.h>
    -#include <ubixos/types.h>
    +#include <ubixos/types.h>
    #include <ubixos/spinlock.h>
    #include <ubixos/tty.h>
    @@ -166,7 +165,7 @@ Definition at line 36 of file video.c.

    -


    Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:16 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/video_8h-source.html b/doc/html/video_8h-source.html index bd93f6b..5662ef7 100644 --- a/doc/html/video_8h-source.html +++ b/doc/html/video_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +

    Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/video_8h.html b/doc/html/video_8h.html index 41ce585..90070b9 100644 --- a/doc/html/video_8h.html +++ b/doc/html/video_8h.html @@ -8,7 +8,6 @@ -

    video.h File Reference

    #include <ubixos/types.h>
    +

    video.h File Reference

    #include <ubixos/types.h>

    Go to the source code of this file. @@ -166,7 +165,7 @@ Referenced by backSpace(), and kprint().

    -


    Generated on Tue Dec 5 23:35:00 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:11 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/vitals_8c-source.html b/doc/html/vitals_8c-source.html index 274fc2d..48283a3 100644 --- a/doc/html/vitals_8c-source.html +++ b/doc/html/vitals_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:06 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/vitals_8c.html b/doc/html/vitals_8c.html index 944ad21..9dd0aa2 100644 --- a/doc/html/vitals_8c.html +++ b/doc/html/vitals_8c.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:15 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/vitals_8h-source.html b/doc/html/vitals_8h-source.html index 1693973..a25cf13 100644 --- a/doc/html/vitals_8h-source.html +++ b/doc/html/vitals_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/vitals_8h.html b/doc/html/vitals_8h.html index 013d67e..940c2e0 100644 --- a/doc/html/vitals_8h.html +++ b/doc/html/vitals_8h.html @@ -8,7 +8,6 @@ -

    vitals.h File Reference

    #include <ubixos/types.h>
    +

    vitals.h File Reference

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

    Go to the source code of this file.

    @@ -108,10 +107,10 @@

    Definition at line 35 of file timer.S.

    -Referenced by adjustCowCounter(), fclose(), fopen(), freePage(), keyboardHandler(), kmain(), ogPrintf(), sysGetTime(), sysGetUptime(), systemTask(), time_init(), ubthread_cond_timedwait(), vfs_addMount(), vfs_findMount(), vfs_init(), vfsFindFS(), vfsRegisterFS(), vitals_init(), vmmFindFreePage(), and vmmFreeProcessPages(). +Referenced by adjustCowCounter(), fclose(), fopen(), freePage(), keyboardHandler(), kmain(), ogPrintf(), sysGetTime(), sysGetUptime(), systemTask(), time_init(), ubthread_cond_timedwait(), vfs_addMount(), vfs_findMount(), vfs_init(), vfsFindFS(), vfsRegisterFS(), vitals_init(), vmmFindFreePage(), and vmmFreeProcessPages().

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:13 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/vmm_8h-source.html b/doc/html/vmm_8h-source.html index 3a90f28..f9150bd 100644 --- a/doc/html/vmm_8h-source.html +++ b/doc/html/vmm_8h-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:57 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:05 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/vmm_8h.html b/doc/html/vmm_8h.html index c2ecd1b..125b013 100644 --- a/doc/html/vmm_8h.html +++ b/doc/html/vmm_8h.html @@ -8,7 +8,6 @@
    @@ -49,17 +48,17 @@ - + - + - + - + @@ -154,7 +153,7 @@ - + @@ -214,7 +213,7 @@ - + @@ -263,9 +262,9 @@
    #define vmmMemoryMapAddr   0xE6667000

    Functions

    int adjustCowCounter (uInt32 baseAddr, int adjustment)
    int adjustCowCounter (uInt32 baseAddr, int adjustment)
    int countMemory ()
    int freePage (uInt32 pageAddr)
    int freePage (uInt32 pageAddr)
    int vmm_init ()
    u_int32_t vmmFindFreePage (pidType pid)
    u_int32_t vmmFindFreePage (pidType pid)
    void vmmFreeProcessPages (pidType pid)
    void vmmFreeProcessPages (pidType pid)
    int vmmMemMapInit ()
    int adjustCowCounter (uInt32 uInt32  baseAddr,
    int freePage (uInt32 uInt32  pageAddr  ) 
    - + - + @@ -281,7 +280,7 @@

    References freePages, vitalsStruct::freePages, kpanic(), memAvail, memNotavail, numPages, mMap::pid, spinLock(), spinUnlock(), status, sysID, systemVitals, vmmMemoryMap, and vmmSpinLock.

    -Referenced by execFile(), kmod_load(), ldEnable(), obreak(), sysExec(), vmm_getFreeMallocPage(), vmm_pageFault(), vmm_pagingInit(), vmm_remapPage(), vmmGetFreeKernelPage(), vmmGetFreePage(), and vmmGetFreeVirtualPage(). +Referenced by execFile(), kmod_load(), ldEnable(), obreak(), sysExec(), vmm_getFreeMallocPage(), vmm_pageFault(), vmm_pagingInit(), vmm_remapPage(), vmmGetFreeKernelPage(), vmmGetFreePage(), and vmmGetFreeVirtualPage().

    @@ -291,7 +290,7 @@

    - + @@ -374,7 +373,7 @@ Referenced by adjustCowCounter(), freePage(), kmain(), vmm_pagingInit(), vmmFindFreePage(), vmmFreeProcessPages(), and vmmMemMapInit().

    -


    Generated on Tue Dec 5 23:35:01 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:14 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/vmm__init_8c-source.html b/doc/html/vmm__init_8c-source.html index 2628a65..65af7bc 100644 --- a/doc/html/vmm__init_8c-source.html +++ b/doc/html/vmm__init_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:09 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/vmm__init_8c.html b/doc/html/vmm__init_8c.html index f7997b1..b7f4f23 100644 --- a/doc/html/vmm__init_8c.html +++ b/doc/html/vmm__init_8c.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/vmm__memory_8c-source.html b/doc/html/vmm__memory_8c-source.html index a715c1a..f9daf01 100644 --- a/doc/html/vmm__memory_8c-source.html +++ b/doc/html/vmm__memory_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:59 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:09 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/vmm__memory_8c.html b/doc/html/vmm__memory_8c.html index 521e245..956a0dc 100644 --- a/doc/html/vmm__memory_8c.html +++ b/doc/html/vmm__memory_8c.html @@ -8,7 +8,6 @@
    u_int32_t vmmFindFreePage u_int32_t vmmFindFreePage (pidType pidType  pid  ) 
    void vmmFreeProcessPages (pidType pidType  pid  ) 
    - + - + - + - + - + @@ -75,7 +74,7 @@ - + @@ -135,7 +134,7 @@ - + @@ -159,9 +158,9 @@

    Functions

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

    Variables

    static uInt32 freePages = 0
    static uInt32 freePages = 0
    int numPages = 0x0
    int adjustCowCounter (uInt32 uInt32  baseAddr,
    int freePage (uInt32 uInt32  pageAddr  ) 
    - + - + @@ -177,7 +176,7 @@

    References vitalsStruct::freePages, freePages, kpanic(), memAvail, memNotavail, numPages, mMap::pid, spinLock(), spinUnlock(), status, sysID, systemVitals, vmmMemoryMap, and vmmSpinLock.

    -Referenced by execFile(), kmod_load(), ldEnable(), obreak(), sysExec(), vmm_getFreeMallocPage(), vmm_pageFault(), vmm_pagingInit(), vmm_remapPage(), vmmGetFreeKernelPage(), vmmGetFreePage(), and vmmGetFreeVirtualPage(). +Referenced by execFile(), kmod_load(), ldEnable(), obreak(), sysExec(), vmm_getFreeMallocPage(), vmm_pageFault(), vmm_pagingInit(), vmm_remapPage(), vmmGetFreeKernelPage(), vmmGetFreePage(), and vmmGetFreeVirtualPage().

    @@ -187,7 +186,7 @@

    - + @@ -237,7 +236,7 @@
    uInt32 vmmFindFreePage uInt32 vmmFindFreePage (pidType pidType  pid  ) 
    void vmmFreeProcessPages (pidType pidType  pid  ) 
    - +
    uInt32 freePages = 0 [static] uInt32 freePages = 0 [static]

    @@ -327,7 +326,7 @@ Referenced by freePage(), vmmFindFreePage(), and vmmFreeProcessPages().

    -


    Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:17 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/vsprintf_8c-source.html b/doc/html/vsprintf_8c-source.html index e289b37..8cc3593 100644 --- a/doc/html/vsprintf_8c-source.html +++ b/doc/html/vsprintf_8c-source.html @@ -8,7 +8,6 @@

    Generated on Tue Dec 5 23:34:58 2006 for UbixOS V2 by  +

    Generated on Tue Dec 12 08:52:07 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/html/vsprintf_8c.html b/doc/html/vsprintf_8c.html index f36fe7c..b7ac5c8 100644 --- a/doc/html/vsprintf_8c.html +++ b/doc/html/vsprintf_8c.html @@ -8,7 +8,6 @@

    -


    Generated on Tue Dec 5 23:35:02 2006 for UbixOS V2 by  +
    Generated on Tue Dec 12 08:52:15 2006 for UbixOS V2 by  doxygen 1.4.7
    diff --git a/doc/xml/8259_8c.xml b/doc/xml/8259_8c.xml index f9e522b..3777b23 100644 --- a/doc/xml/8259_8c.xml +++ b/doc/xml/8259_8c.xml @@ -4,45 +4,45 @@ 8259.c sys/io.h isa/8259.h - ubixos/types.h + ubixos/types.h lib/kprintf.h - + - - + + - + - + - + - + - + - + - + - + - + - + - + @@ -76,7 +76,7 @@ (uInt16 irqNo) irqDisable - uInt16 + uInt16 irqNo @@ -100,7 +100,7 @@ (uInt16 irqNo) irqEnable - uInt16 + uInt16 irqNo @@ -177,7 +177,7 @@ #include<sys/io.h> #include<isa/8259.h> -#include<ubixos/types.h> +#include<ubixos/types.h> #include<lib/kprintf.h> staticunsignedintirqMask=0xFFFF; @@ -220,7 +220,7 @@ Notes: ************************************************************************/ -voidirqEnable(uInt16irqNo){ +voidirqEnable(uInt16irqNo){ irqMask&=~(1<<irqNo); if(irqNo>=8){ irqMask&=~(1<<2); @@ -238,7 +238,7 @@ Notes: ************************************************************************/ -voidirqDisable(uInt16irqNo){ +voidirqDisable(uInt16irqNo){ irqMask|=(1<<irqNo); if((irqMask&0xFF00)==0xFF00){ irqMask|=(1<<2); diff --git a/doc/xml/8259_8h.xml b/doc/xml/8259_8h.xml index 729ffbc..b9f786d 100644 --- a/doc/xml/8259_8h.xml +++ b/doc/xml/8259_8h.xml @@ -2,7 +2,7 @@ 8259.h - ubixos/types.h + ubixos/types.h src/sys/include/ubixos/init.h src/sys/isa/8259.c src/sys/isa/atkbd.c @@ -15,71 +15,77 @@ src/sys/pci/lnc.c src/sys/sys/idt.c - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - + + @@ -94,18 +100,12 @@ - - - - - - - + - + @@ -289,7 +289,7 @@ (uInt16 irqNo) irqDisable - uInt16 + uInt16 irqNo @@ -313,7 +313,7 @@ (uInt16 irqNo) irqEnable - uInt16 + uInt16 irqNo @@ -373,7 +373,7 @@ #ifndef_8259_H #define_8259_H -#include<ubixos/types.h> +#include<ubixos/types.h> #definemPic0x20//I/OformasterPIC #definemImr0x21//I/OformasterIMR @@ -388,8 +388,8 @@ #defineocw3Isr0x0B//ReadISR inti8259_init(); -voidirqEnable(uInt16irqNo); -voidirqDisable(uInt16irqNo); +voidirqEnable(uInt16irqNo); +voidirqDisable(uInt16irqNo); #endif diff --git a/doc/xml/__types_8h.xml b/doc/xml/__types_8h.xml index 6627ed2..33d5788 100644 --- a/doc/xml/__types_8h.xml +++ b/doc/xml/__types_8h.xml @@ -3,260 +3,262 @@ _types.h src/sys/include/ubixos/times.h - src/sys/include/ubixos/types.h + src/sys/include/ubixos/types.h - - - - - + - + - + - + - + - + - + - + - + - + - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - - - - - - - - - - - - - - - - - - + - - - + + + - - - - - - - - - - - - + + + + + + + + - + - + - + + + - - - - + + + + - - - + + + - - - + + + - - - - + + + + + + + + - + + + + + + + + + + + - - + + - - - - + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + - + - + + + + + + + + + - + + + + + + + + + + + + + + + + + @@ -264,1648 +266,1648 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - - - - - - - + - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - + + + - + + + + + - + + + + + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + + + + + + + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - + + + - - - - - - + + + + - - + + - - - - + + + + + + + + + + + + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - - - - - - - - - - - - - - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/doc/xml/ap-boot_8S.xml b/doc/xml/ap-boot_8S.xml index 8447eb5..ac1f7e1 100644 --- a/doc/xml/ap-boot_8S.xml +++ b/doc/xml/ap-boot_8S.xml @@ -4,7 +4,7 @@ ap-boot.S - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov dx outb dx eax mov ap_trampoline_spl edi xchgl (%edi) xchgl @@ -23,7 +23,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov dx outb dx eax mov ap_trampoline_spl edi eax mov al mov dx outb + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov dx outb dx eax mov ap_trampoline_spl edi eax mov al mov dx outb globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov dx outb dx eax mov ap_trampoline_spl edi eax mov al mov dx outb al al @@ -36,7 +36,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov dx outb + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov dx outb globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov dx outb al al @@ -49,7 +49,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb al al @@ -62,7 +62,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb al al @@ -75,7 +75,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb al al @@ -88,7 +88,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi ap_spl ap_spl @@ -101,7 +101,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start ap_trampoline_32 ap_trampoline_32 @@ -114,7 +114,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov dx outb dx eax mov ap_trampoline_spl edi eax mov al mov dx outb dx mov + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov dx outb dx eax mov ap_trampoline_spl edi eax mov al mov dx outb dx mov globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov dx outb dx eax mov ap_trampoline_spl edi eax mov al mov dx outb dx mov ap_trampoline_epoint ap_trampoline_epoint @@ -127,7 +127,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov dx outb dx eax mov ap_trampoline_spl + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov dx outb dx eax mov ap_trampoline_spl globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov dx outb dx eax mov ap_trampoline_spl ap_trampoline_start ap_trampoline_start @@ -140,7 +140,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ap_trampoline_start ap_trampoline_start @@ -153,7 +153,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl ap_trampoline_start ap_trampoline_start @@ -193,7 +193,7 @@ apicMagic - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ax ax @@ -206,7 +206,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov ax ax @@ -219,7 +219,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov ax ax @@ -232,7 +232,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov ax ax @@ -245,7 +245,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ax ax @@ -297,7 +297,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax cmp cmp @@ -310,7 +310,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl cr0 cr0 @@ -324,7 +324,7 @@ countMemory - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl eax eax @@ -337,7 +337,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ebx ebx @@ -350,7 +350,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov ebx ebx @@ -363,7 +363,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov dx outb dx + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov dx outb dx globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov dx outb dx mov mov @@ -376,7 +376,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp x08 x08 @@ -389,7 +389,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl x1 x1 @@ -403,7 +403,7 @@ atkbd_init devfs_init devfs_open - fclose + fclose getch getEmptyDesc getFreeBlocks @@ -412,21 +412,22 @@ mpi_postMessage ne2kGetBuffer openFileUbixFS + read sched_setStatus ubixfs_init ubixfs_initialize - ufs_init - ufs_initialize - ufs_openFile + ufs_init + ufs_initialize + ufs_openFile vfs_mount - vfsRegisterFS + vfsRegisterFS vmm_pageFault vmm_pagingInit vmmCopyVirtualSpace vmmGetFreeVirtualPage - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov x10 x10 @@ -441,7 +442,7 @@ systemTask - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add x1000 x1000 @@ -455,13 +456,14 @@ addDirEntry biosCall execFile + fstat initLNC kmod_load ldEnable - mmap - sysExec + mmap + sysExec ubixFSUnlink - vmm_cleanVirtualSpace + vmm_cleanVirtualSpace vmm_getFreeMallocPage vmm_getPhysicalAddr vmm_pageFault @@ -478,7 +480,7 @@ writeUbixFS - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov x30 x30 @@ -494,7 +496,7 @@ hdWrite - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov x31 x31 @@ -520,7 +522,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov dx outb dx eax mov ap_trampoline_spl edi eax mov + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov dx outb dx eax mov ap_trampoline_spl edi eax mov globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov dx outb dx eax mov ap_trampoline_spl edi eax mov x33 x33 @@ -533,7 +535,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov dx outb dx eax mov ap_trampoline_spl edi eax mov al mov + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov dx outb dx eax mov ap_trampoline_spl edi eax mov al mov globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov dx outb dx eax mov ap_trampoline_spl edi eax mov al mov xe9 xe9 @@ -546,7 +548,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov dx outb dx mov ap_trampoline_stackptr ebx mov esp add ebx mov ap_trampoline_stackptr ap_trampoline_start mov al mov xe9 xe9 @@ -559,7 +561,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov dx outb dx mov ax mov ds mov es mov fs mov gs mov ss mov ap_trampoline_spl edi eax eax eax je ap_spl mov al mov xe9 xe9 @@ -572,7 +574,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov dx outb dx lgdt ap_trampoline_gdt_limit ap_trampoline_start movl eax orl eax movl cr0 code32 byte x66 ljmp ap_trampoline_32 ap_trampoline_start al mov xe9 xe9 @@ -585,7 +587,7 @@ - globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov + globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov globl ap_trampoline_end text code16 ax movw ds movw es movw ss mov al mov xe9 xe9 diff --git a/doc/xml/api_8h.xml b/doc/xml/api_8h.xml index fd1a983..99e3f93 100644 --- a/doc/xml/api_8h.xml +++ b/doc/xml/api_8h.xml @@ -16,275 +16,275 @@ src/sys/net/net/shell.c src/sys/net/net/udpecho.c - + - + + + + + + + + + - - - - - - - - - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - + + + - + - + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + - + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + - + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + @@ -421,7 +421,7 @@ buf - uInt16 + uInt16 size @@ -480,7 +480,7 @@ dataptr - uInt16 + uInt16 len @@ -509,11 +509,11 @@ dataptr - uInt16 + uInt16 len - uInt16 + uInt16 offset @@ -545,7 +545,7 @@ dataptr - uInt16 * + uInt16 * len @@ -653,7 +653,7 @@ udpecho_thread - uInt16 + uInt16 uInt16 netbuf_fromport (struct netbuf *buf) netbuf_fromport @@ -673,7 +673,7 @@ udpecho_thread - uInt16 + uInt16 uInt16 netbuf_len (struct netbuf *buf) netbuf_len @@ -717,7 +717,7 @@ lwip_send - Int8 + Int8 Int8 netbuf_next (struct netbuf *buf) netbuf_next @@ -750,7 +750,7 @@ dataptr - uInt16 + uInt16 size @@ -808,7 +808,7 @@ addr - uInt16 * + uInt16 * port @@ -846,7 +846,7 @@ addr - uInt16 + uInt16 port @@ -932,7 +932,7 @@ addr - uInt16 + uInt16 port @@ -1120,7 +1120,7 @@ addr - uInt16 * + uInt16 * port @@ -1280,11 +1280,11 @@ dataptr - uInt16 + uInt16 size - uInt8 + uInt8 copy @@ -1405,7 +1405,7 @@ structnetbuf{ structpbuf*p,*ptr; structip_addr*fromaddr; -uInt16fromport; +uInt16fromport; err_terr; }; @@ -1426,23 +1426,23 @@ /*Networkbufferfunctions:*/ structnetbuf*netbuf_new(void); voidnetbuf_delete(structnetbuf*buf); -void*netbuf_alloc(structnetbuf*buf,uInt16size); +void*netbuf_alloc(structnetbuf*buf,uInt16size); voidnetbuf_free(structnetbuf*buf); voidnetbuf_ref(structnetbuf*buf, -void*dataptr,uInt16size); +void*dataptr,uInt16size); voidnetbuf_chain(structnetbuf*head, structnetbuf*tail); -uInt16netbuf_len(structnetbuf*buf); +uInt16netbuf_len(structnetbuf*buf); err_tnetbuf_data(structnetbuf*buf, -void**dataptr,uInt16*len); -Int8netbuf_next(structnetbuf*buf); +void**dataptr,uInt16*len); +Int8netbuf_next(structnetbuf*buf); voidnetbuf_first(structnetbuf*buf); voidnetbuf_copy(structnetbuf*buf, -void*dataptr,uInt16len); +void*dataptr,uInt16len); structip_addr*netbuf_fromaddr(structnetbuf*buf); -uInt16netbuf_fromport(structnetbuf*buf); +uInt16netbuf_fromport(structnetbuf*buf); /*Networkconnectionfunctions:*/ structnetconn*netconn_new(enumnetconn_typetype); @@ -1450,29 +1450,29 @@ enumnetconn_typenetconn_type(structnetconn*conn); err_tnetconn_peer(structnetconn*conn, structip_addr**addr, -uInt16*port); +uInt16*port); err_tnetconn_addr(structnetconn*conn, structip_addr**addr, -uInt16*port); +uInt16*port); err_tnetconn_bind(structnetconn*conn, structip_addr*addr, -uInt16port); +uInt16port); err_tnetconn_connect(structnetconn*conn, structip_addr*addr, -uInt16port); +uInt16port); err_tnetconn_listen(structnetconn*conn); structnetconn*netconn_accept(structnetconn*conn); structnetbuf*netconn_recv(structnetconn*conn); err_tnetconn_send(structnetconn*conn, structnetbuf*buf); err_tnetconn_write(structnetconn*conn, -void*dataptr,uInt16size, -uInt8copy); +void*dataptr,uInt16size, +uInt8copy); err_tnetconn_close(structnetconn*conn); err_tnetconn_err(structnetconn*conn); -voidnetbuf_copy_partial(structnetbuf*buf,void*dataptr,uInt16len,uInt16offset); +voidnetbuf_copy_partial(structnetbuf*buf,void*dataptr,uInt16len,uInt16offset); #endif/*__LWIP_API_H__*/ diff --git a/doc/xml/api__lib_8c.xml b/doc/xml/api__lib_8c.xml index db0b715..801bb83 100644 --- a/doc/xml/api__lib_8c.xml +++ b/doc/xml/api__lib_8c.xml @@ -2,264 +2,264 @@ api_lib.c - ubixos/types.h + ubixos/types.h net/debug.h net/api.h net/api_msg.h net/memp.h lib/kprintf.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -275,7 +275,7 @@ buf - uInt16 + uInt16 size @@ -334,7 +334,7 @@ dataptr - uInt16 + uInt16 len @@ -363,11 +363,11 @@ dataptr - uInt16 + uInt16 len - uInt16 + uInt16 offset @@ -399,7 +399,7 @@ dataptr - uInt16 * + uInt16 * len @@ -507,7 +507,7 @@ udpecho_thread - uInt16 + uInt16 uInt16 netbuf_fromport (struct netbuf *buf) netbuf_fromport @@ -527,7 +527,7 @@ udpecho_thread - uInt16 + uInt16 uInt16 netbuf_len (struct netbuf *buf) netbuf_len @@ -571,7 +571,7 @@ lwip_send - Int8 + Int8 Int8 netbuf_next (struct netbuf *buf) netbuf_next @@ -604,7 +604,7 @@ dataptr - uInt16 + uInt16 size @@ -662,7 +662,7 @@ addr - uInt16 * + uInt16 * port @@ -700,7 +700,7 @@ addr - uInt16 + uInt16 port @@ -786,7 +786,7 @@ addr - uInt16 + uInt16 port @@ -974,7 +974,7 @@ addr - uInt16 * + uInt16 * port @@ -1134,11 +1134,11 @@ dataptr - uInt16 + uInt16 size - uInt8 + uInt8 copy @@ -1227,7 +1227,7 @@ /*ThisisthepartoftheAPIthatislinkedwith theapplication*/ -#include<ubixos/types.h> +#include<ubixos/types.h> #include"net/debug.h" #include"net/api.h" @@ -1266,7 +1266,7 @@ } /*-----------------------------------------------------------------------------------*/ void* -netbuf_alloc(structnetbuf*buf,uInt16size) +netbuf_alloc(structnetbuf*buf,uInt16size) { /*Deallocateanypreviouslyallocatedmemory.*/ if(buf->p!=NULL){ @@ -1290,7 +1290,7 @@ } /*-----------------------------------------------------------------------------------*/ void -netbuf_ref(structnetbuf*buf,void*dataptr,uInt16size) +netbuf_ref(structnetbuf*buf,void*dataptr,uInt16size) { if(buf->p!=NULL){ pbuf_free(buf->p); @@ -1309,14 +1309,14 @@ memp_freep(MEMP_NETBUF,tail); } /*-----------------------------------------------------------------------------------*/ -uInt16 +uInt16 netbuf_len(structnetbuf*buf) { returnbuf->p->tot_len; } /*-----------------------------------------------------------------------------------*/ err_t -netbuf_data(structnetbuf*buf,void**dataptr,uInt16*len) +netbuf_data(structnetbuf*buf,void**dataptr,uInt16*len) { if(buf->ptr==NULL){ returnERR_BUF; @@ -1326,7 +1326,7 @@ returnERR_OK; } /*-----------------------------------------------------------------------------------*/ -Int8 +Int8 netbuf_next(structnetbuf*buf) { if(buf->ptr->next==NULL){ @@ -1346,10 +1346,10 @@ } /*-----------------------------------------------------------------------------------*/ void -netbuf_copy_partial(structnetbuf*buf,void*dataptr,uInt16len,uInt16offset) +netbuf_copy_partial(structnetbuf*buf,void*dataptr,uInt16len,uInt16offset) { structpbuf*p; -uInt16i,left; +uInt16i,left; left=0; @@ -1374,7 +1374,7 @@ } /*-----------------------------------------------------------------------------------*/ void -netbuf_copy(structnetbuf*buf,void*dataptr,uInt16len) +netbuf_copy(structnetbuf*buf,void*dataptr,uInt16len) { netbuf_copy_partial(buf,dataptr,len,0); } @@ -1385,7 +1385,7 @@ returnbuf->fromaddr; } /*-----------------------------------------------------------------------------------*/ -uInt16 +uInt16 netbuf_fromport(structnetbuf*buf) { returnbuf->fromport; @@ -1476,7 +1476,7 @@ /*-----------------------------------------------------------------------------------*/ err_t netconn_peer(structnetconn*conn,structip_addr**addr, -uInt16*port) +uInt16*port) { switch(conn->type){ caseNETCONN_UDPLITE: @@ -1495,7 +1495,7 @@ /*-----------------------------------------------------------------------------------*/ err_t netconn_addr(structnetconn*conn,structip_addr**addr, -uInt16*port) +uInt16*port) { switch(conn->type){ caseNETCONN_UDPLITE: @@ -1514,7 +1514,7 @@ /*-----------------------------------------------------------------------------------*/ err_t netconn_bind(structnetconn*conn,structip_addr*addr, -uInt16port) +uInt16port) { structapi_msg*msg; @@ -1544,7 +1544,7 @@ /*-----------------------------------------------------------------------------------*/ err_t netconn_connect(structnetconn*conn,structip_addr*addr, -uInt16port) +uInt16port) { structapi_msg*msg; @@ -1725,10 +1725,10 @@ } /*-----------------------------------------------------------------------------------*/ err_t -netconn_write(structnetconn*conn,void*dataptr,uInt16size,uInt8copy) +netconn_write(structnetconn*conn,void*dataptr,uInt16size,uInt8copy) { structapi_msg*msg; -uInt16len; +uInt16len; if(conn==NULL){ returnERR_VAL; diff --git a/doc/xml/api__msg_8c.xml b/doc/xml/api__msg_8c.xml index f00061a..3ba04ce 100644 --- a/doc/xml/api__msg_8c.xml +++ b/doc/xml/api__msg_8c.xml @@ -2,7 +2,7 @@ api_msg.c - ubixos/types.h + ubixos/types.h net/debug.h net/arch.h net/api_msg.h @@ -10,261 +10,261 @@ net/sys.h net/tcpip.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -882,7 +882,7 @@ addr - uInt16 + uInt16 port @@ -920,7 +920,7 @@ pcb - uInt16 + uInt16 len @@ -1038,7 +1038,7 @@ *$Id$ */ -#include<ubixos/types.h> +#include<ubixos/types.h> #include"net/debug.h" #include"net/arch.h" @@ -1069,7 +1069,7 @@ /*-----------------------------------------------------------------------------------*/ staticvoid recv_udp(void*arg,structudp_pcb*pcb,structpbuf*p, -structip_addr*addr,uInt16port) +structip_addr*addr,uInt16port) { structnetbuf*buf; structnetconn*conn; @@ -1112,7 +1112,7 @@ } /*-----------------------------------------------------------------------------------*/ staticerr_t -sent_tcp(void*arg,structtcp_pcb*pcb,uInt16len) +sent_tcp(void*arg,structtcp_pcb*pcb,uInt16len) { structnetconn*conn; diff --git a/doc/xml/api__msg_8h.xml b/doc/xml/api__msg_8h.xml index c56a934..9b40251 100644 --- a/doc/xml/api__msg_8h.xml +++ b/doc/xml/api__msg_8h.xml @@ -13,261 +13,261 @@ src/sys/net/api/api_lib.c src/sys/net/api/api_msg.c - + - + + + + + + + + + - - - - - - - - - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - - - - - + - - - - - + + + - + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + + + - - - + - + - + - + @@ -491,15 +491,15 @@ structpbuf*p; struct{ structip_addr*ipaddr; -uInt16port; +uInt16port; }bc; struct{ void*dataptr; -uInt16len; +uInt16len; unsignedcharcopy; }w; sys_mbox_tmbox; -uInt16len; +uInt16len; }msg; }; diff --git a/doc/xml/arch_8h.xml b/doc/xml/arch_8h.xml index efd6812..9354fa2 100644 --- a/doc/xml/arch_8h.xml +++ b/doc/xml/arch_8h.xml @@ -15,311 +15,311 @@ src/sys/include/net/udp.h src/sys/net/api/api_msg.c - + - + - + - + - + - + - + - + - + - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/xml/arp_8c.xml b/doc/xml/arp_8c.xml index 0c23dab..ed35f2e 100644 --- a/doc/xml/arp_8c.xml +++ b/doc/xml/arp_8c.xml @@ -2,158 +2,158 @@ arp.c - ubixos/types.h + ubixos/types.h lib/kprintf.h net/debug.h net/ipv4/inet.h netif/arp.h net/ipv4/ip.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -503,7 +503,7 @@ arp_tmr - uInt8 + uInt8 uInt8 ctime ctime @@ -572,7 +572,7 @@ * */ -#include<ubixos/types.h> +#include<ubixos/types.h> #include<lib/kprintf.h> #include"net/debug.h" @@ -592,10 +592,10 @@ PACK_STRUCT_BEGIN structarp_hdr{ PACK_STRUCT_FIELD(structeth_hdrethhdr); -PACK_STRUCT_FIELD(uInt16hwtype); -PACK_STRUCT_FIELD(uInt16proto); -PACK_STRUCT_FIELD(uInt16_hwlen_protolen); -PACK_STRUCT_FIELD(uInt16opcode); +PACK_STRUCT_FIELD(uInt16hwtype); +PACK_STRUCT_FIELD(uInt16proto); +PACK_STRUCT_FIELD(uInt16_hwlen_protolen); +PACK_STRUCT_FIELD(uInt16opcode); PACK_STRUCT_FIELD(structeth_addrshwaddr); PACK_STRUCT_FIELD(structip_addrsipaddr); PACK_STRUCT_FIELD(structeth_addrdhwaddr); @@ -620,17 +620,17 @@ structarp_entry{ structip_addripaddr; structeth_addrethaddr; -uInt8ctime; +uInt8ctime; }; staticstructarp_entryarp_table[ARP_TABLE_SIZE]; -staticuInt8ctime; +staticuInt8ctime; /*-----------------------------------------------------------------------------------*/ void arp_init(void) { -uInt8i; +uInt8i; for(i=0;i<ARP_TABLE_SIZE;++i){ ip_addr_set(&(arp_table[i].ipaddr), @@ -641,7 +641,7 @@ void arp_tmr(void) { -uInt8i; +uInt8i; ++ctime; for(i=0;i<ARP_TABLE_SIZE;++i){ @@ -657,8 +657,8 @@ staticvoid add_arp_entry(structip_addr*ipaddr,structeth_addr*ethaddr) { -uInt8i,j,k; -uInt8maxtime; +uInt8i,j,k; +uInt8maxtime; /*WalkthroughtheARPmappingtableandtrytofindanentryto update.Ifnoneisfound,theIP->MACaddressmappingis @@ -735,7 +735,7 @@ arp_arp_input(structnetif*netif,structeth_addr*ethaddr,structpbuf*p) { structarp_hdr*hdr; -uInt8i; +uInt8i; if(p->tot_len<sizeof(structarp_hdr)){ kprintf("arp_arp_input:packettooshort(%d/%d)\n",p->tot_len,sizeof(structarp_hdr)); @@ -790,7 +790,7 @@ structeth_addr* arp_lookup(structip_addr*ipaddr) { -uInt8i; +uInt8i; for(i=0;i<ARP_TABLE_SIZE;++i){ if(ip_addr_cmp(ipaddr,&arp_table[i].ipaddr)){ @@ -805,7 +805,7 @@ { structarp_hdr*hdr; structpbuf*p; -uInt8i; +uInt8i; p=pbuf_alloc(PBUF_LINK,sizeof(structarp_hdr),PBUF_RAM); if(p==NULL){ diff --git a/doc/xml/arp_8h.xml b/doc/xml/arp_8h.xml index ee01806..2d40149 100644 --- a/doc/xml/arp_8h.xml +++ b/doc/xml/arp_8h.xml @@ -8,121 +8,121 @@ src/sys/net/netif/arp.c src/sys/net/netif/ethernetif.c - + - - - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -439,13 +439,13 @@ #include"net/netif.h" structeth_addr{ -PACK_STRUCT_FIELD(uInt8addr[6]); +PACK_STRUCT_FIELD(uInt8addr[6]); }PACK_STRUCT_STRUCT; structeth_hdr{ PACK_STRUCT_FIELD(structeth_addrdest); PACK_STRUCT_FIELD(structeth_addrsrc); -PACK_STRUCT_FIELD(uInt16type); +PACK_STRUCT_FIELD(uInt16type); }PACK_STRUCT_STRUCT; #defineARP_TMR_INTERVAL10000 diff --git a/doc/xml/assert_8c.xml b/doc/xml/assert_8c.xml index 743f588..0fe8b7c 100644 --- a/doc/xml/assert_8c.xml +++ b/doc/xml/assert_8c.xml @@ -6,37 +6,37 @@ lib/kprintf.h ubixos/kpanic.h - + - + - - + + - + - + - + - + - + - + - + - + diff --git a/doc/xml/assert_8h.xml b/doc/xml/assert_8h.xml index ac0673a..b564017 100644 --- a/doc/xml/assert_8h.xml +++ b/doc/xml/assert_8h.xml @@ -20,17 +20,10 @@ src/sys/sys/device.c src/sys/ubixfs/dirCache.c src/sys/ubixfs/ubixfs.c - src/sys/ubixfsv2/btree.cpp - src/sys/ubixfsv2/ramdrive.cpp - src/sys/ubixfsv2/ubixfs.cpp src/sys/vfs/file.c src/sys/vmm/paging.c src/sys/vmm/vmm_memory.c - - - - @@ -47,7 +40,7 @@ - + @@ -132,16 +125,6 @@ - - - - - - - - - - @@ -151,7 +134,7 @@ - + @@ -160,10 +143,6 @@ - - - - @@ -223,42 +202,27 @@ adjustCowCounter biosCall - bTree::bTree execFile execThread - fclose - bTree::findLeafNode + fclose fork_copyProcess - fread + fread freePage - bTree::Info - bTree::Insert insertFreeDesc kfree kmalloc kmod_load ldEnable - UbixFS::mknod NICtoPC openFileUbixFS PCtoNIC - ramDrive_read - ramDrive_write readUbixFS - bTree::Save - bTree::saveNode - bTree::splitNode - sysExec + sysExec ubixfs_cacheAdd ubixfs_cacheFind ubixfs_cacheNew ubixfs_initialize ubixfs_loadData - UbixFS::vfs_format - UbixFS::vfs_init - UbixFS::vfs_mkdir - UbixFS::vfs_read - UbixFS::vfs_write writeFileByte writeUbixFS diff --git a/doc/xml/atan_8c.xml b/doc/xml/atan_8c.xml index 8c4a311..09425cf 100644 --- a/doc/xml/atan_8c.xml +++ b/doc/xml/atan_8c.xml @@ -4,26 +4,26 @@ atan.c math.h - + - + - + - - + + - + - + - + diff --git a/doc/xml/atkbd_8c.xml b/doc/xml/atkbd_8c.xml index ddac1e5..abb617b 100644 --- a/doc/xml/atkbd_8c.xml +++ b/doc/xml/atkbd_8c.xml @@ -10,7 +10,7 @@ sys/io.h lib/kmalloc.h lib/kprintf.h - ubixos/types.h + ubixos/types.h ubixos/sched.h ubixos/endtask.h ubixos/tty.h @@ -18,230 +18,232 @@ ubixos/kpanic.h ubixos/vitals.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + @@ -413,7 +415,7 @@ keyboardHandler - uInt32 + uInt32 uInt32 controlKeys controlKeys @@ -489,7 +491,7 @@ keyboardHandler - uInt16 + uInt16 uInt16 stdinSize stdinSize @@ -546,7 +548,7 @@ #include<sys/io.h> #include<lib/kmalloc.h> #include<lib/kprintf.h> -#include<ubixos/types.h> +#include<ubixos/types.h> #include<ubixos/sched.h> #include<ubixos/endtask.h> #include<ubixos/tty.h> @@ -559,8 +561,8 @@ staticunsignedintkeyMap=0x0; staticunsignedintledStatus=0x0; staticcharstdinBuffer[512]; -staticuInt16stdinSize; -staticuInt32controlKeys=0x0; +staticuInt16stdinSize; +staticuInt32controlKeys=0x0; staticspinLock_tatkbdSpinLock=SPIN_LOCK_INITIALIZER; @@ -777,8 +779,8 @@ elseif(controlKeys==2){keyMap=2;} elseif(controlKeys==4){keyMap=3;} /*IfKeyIsNotNullAddItToHandler*/ -if(((uInt)(keyboardMap[key][keyMap])>0)&&((uInt32)(keyboardMap[key][keyMap])<0xFF)){ -switch((uInt32)keyboardMap[key][keyMap]){ +if(((uInt)(keyboardMap[key][keyMap])>0)&&((uInt32)(keyboardMap[key][keyMap])<0xFF)){ +switch((uInt32)keyboardMap[key][keyMap]){ case8: backSpace(); if(tty_foreground==0x0){ @@ -838,8 +840,8 @@ /*Temp*/ unsignedchargetch(){ -uInt8retKey=0x0; -uInt32i=0x0; +uInt8retKey=0x0; +uInt32i=0x0; /* if((stdinSize<=0)&&(tty_foreground==0x0)){ diff --git a/doc/xml/atkbd_8h.xml b/doc/xml/atkbd_8h.xml index 34e594e..adeec81 100644 --- a/doc/xml/atkbd_8h.xml +++ b/doc/xml/atkbd_8h.xml @@ -5,26 +5,26 @@ src/sys/include/ubixos/init.h src/sys/isa/atkbd.c - + - + - + - + - + - + - + diff --git a/doc/xml/bcopy_8c.xml b/doc/xml/bcopy_8c.xml index 0463411..1498e91 100644 --- a/doc/xml/bcopy_8c.xml +++ b/doc/xml/bcopy_8c.xml @@ -2,50 +2,50 @@ bcopy.c - ubixos/types.h + ubixos/types.h strings.h string.h src/sys/lib/memcpy.c - + - - + + - + - + - + - + - + - + - + - + - + - + - + @@ -105,7 +105,7 @@ - u_int32_t + u_int32_t typedef u_int32_t uintptr_t uintptr_t @@ -146,7 +146,7 @@ dst0 - size_t + size_t length @@ -206,14 +206,14 @@ *$ID:$ */ -#include<ubixos/types.h> +#include<ubixos/types.h> /* *sizeof(word)MUSTBEAPOWEROFTWO *SOTHATwmaskBELOWISALLONES */ typedefintword;/*"word"usedforoptimalcopyspeed*/ -typedefu_int32_tuintptr_t; +typedefu_int32_tuintptr_t; #definewsizesizeof(word) #definewmask(wsize-1) @@ -232,17 +232,17 @@ #else memmove #endif -(void*dst0,constvoid*src0,size_tlength) +(void*dst0,constvoid*src0,size_tlength) #else #include<strings.h> void -bcopy(constvoid*src0,void*dst0,size_tlength) +bcopy(constvoid*src0,void*dst0,size_tlength) #endif { char*dst=dst0; constchar*src=src0; -size_tt; +size_tt; if(length==0||dst==src)/*nothingtodo*/ gotodone; diff --git a/doc/xml/bioscall_8c.xml b/doc/xml/bioscall_8c.xml index eea9cdc..afe0acc 100644 --- a/doc/xml/bioscall_8c.xml +++ b/doc/xml/bioscall_8c.xml @@ -11,170 +11,172 @@ sys/video.h assert.h - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + @@ -343,7 +345,7 @@ voidbiosCall(intbiosInt,inteax,intebx,intecx,intedx,intesi,intedi,intes,intds){ shortsegment=0x0,offset=0x0; -uInt32tmpAddr=(uInt32)&bios16Code; +uInt32tmpAddr=(uInt32)&bios16Code; kTask_t*newProcess=0x0; offset=tmpAddr&0xF;//lower4bits @@ -354,13 +356,13 @@ newProcess->tss.back_link=0x0; -newProcess->tss.esp0=(uInt32)kmalloc(0x2000)+0x2000; +newProcess->tss.esp0=(uInt32)kmalloc(0x2000)+0x2000; newProcess->tss.ss0=0x10; newProcess->tss.esp1=0x0; newProcess->tss.ss1=0x0; newProcess->tss.esp2=0x0; newProcess->tss.ss2=0x0; -newProcess->tss.cr3=(uInt32)_current->tss.cr3;//(uInt32)vmmCreateVirtualSpace(newProcess->id); +newProcess->tss.cr3=(uInt32)_current->tss.cr3;//(uInt32)vmmCreateVirtualSpace(newProcess->id); newProcess->tss.eip=offset&0xFFFF; newProcess->tss.eflags=2|EFLAG_IF|EFLAG_VM; newProcess->tss.eax=eax&0xFFFF; diff --git a/doc/xml/bioscall_8h.xml b/doc/xml/bioscall_8h.xml index 16a9c8d..8d13614 100644 --- a/doc/xml/bioscall_8h.xml +++ b/doc/xml/bioscall_8h.xml @@ -2,41 +2,41 @@ bioscall.h - ubixos/types.h + ubixos/types.h src/sys/kernel/bioscall.c src/sys/kernel/systemtask.c - + - + - + - - + + - + - + - + - + - + - + @@ -235,7 +235,7 @@ #ifndef_BIOSCALL_H #define_BIOSCALL_H -#include<ubixos/types.h> +#include<ubixos/types.h> #defineEFLAG_TF0x100 #defineEFLAG_IF0x200 diff --git a/doc/xml/block_8c.xml b/doc/xml/block_8c.xml index 6ff212f..4cbb998 100644 --- a/doc/xml/block_8c.xml +++ b/doc/xml/block_8c.xml @@ -2,146 +2,148 @@ block.c - ubixfs/ubixfs.h - vfs/file.h + ubixfs/ubixfs.h + vfs/file.h vfs/mount.h - + - + - + - + - + - + - + - + - + - + - - + + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - - + + @@ -156,7 +158,7 @@ block - fileDescriptor * + fileDescriptor * fd @@ -166,10 +168,12 @@ - blockAllocationTableEntry::attributes - ubixFSInfo::blockAllocationTable - blockAllocationTableEntry::nextBlock - syncBat + blockAllocationTableEntry::attributes + ubixFSInfo::blockAllocationTable + vfs_mountPoint::fsInfo + fileDescriptorStruct::mp + blockAllocationTableEntry::nextBlock + syncBat int @@ -181,7 +185,7 @@ count - fileDescriptor * + fileDescriptor * fd @@ -191,11 +195,13 @@ - blockAllocationTableEntry::attributes - ubixFSInfo::batEntries - ubixFSInfo::blockAllocationTable - blockAllocationTableEntry::nextBlock - syncBat + blockAllocationTableEntry::attributes + ubixFSInfo::batEntries + ubixFSInfo::blockAllocationTable + vfs_mountPoint::fsInfo + fileDescriptorStruct::mp + blockAllocationTableEntry::nextBlock + syncBat x1 ubixFSmkDir writeUbixFS @@ -216,12 +222,12 @@ - ubixFSInfo::blockAllocationTable + ubixFSInfo::blockAllocationTable vfs_mountPoint::device - device_node::devInfo + device_node::devInfo vfs_mountPoint::diskLabel vfs_mountPoint::fsInfo - device_interface::info + device_interface::info vfs_mountPoint::partition ubixDiskLabel::partitions device_interface::write @@ -302,20 +308,20 @@ *****************************************************************************************/ -#include<ubixfs/ubixfs.h> -#include<vfs/file.h> +#include<ubixfs/ubixfs.h> +#include<vfs/file.h> #include<vfs/mount.h> -voidsyncBat(structvfs_mountPoint*mp){ +voidsyncBat(structvfs_mountPoint*mp){ structubixFSInfo*fsInfo=mp->fsInfo; mp->device->devInfo->write(mp->device->devInfo->info,fsInfo->blockAllocationTable,mp->diskLabel->partitions[mp->partition].pOffset,mp->diskLabel->partitions[mp->partition].pBatSize); } -intfreeBlocks(intblock,fileDescriptor*fd){ +intfreeBlocks(intblock,fileDescriptor*fd){ inti=block; -structubixFSInfo*fsInfo=fd->mp->fsInfo; +structubixFSInfo*fsInfo=fd->mp->fsInfo; while(i!=0x0){ block=fsInfo->blockAllocationTable[i].nextBlock; @@ -325,20 +331,20 @@ i=block; } -syncBat(fd->mp); +syncBat(fd->mp); return(i); } -intgetFreeBlocks(intcount,fileDescriptor*fd){ -uInt32i=0x0; -uInt32x=0x0; +intgetFreeBlocks(intcount,fileDescriptor*fd){ +uInt32i=0x0; +uInt32x=0x0; -structubixFSInfo*fsInfo=fd->mp->fsInfo; +structubixFSInfo*fsInfo=fd->mp->fsInfo; getBlocks: for(i=1;i<fsInfo->batEntries;i++){ if(fsInfo->blockAllocationTable[i].attributes==0x0){ -for(x=1;x<(uInt32)count;x++){ +for(x=1;x<(uInt32)count;x++){ if(fsInfo->blockAllocationTable[i+x].attributes!=0x0){ gotogetBlocks; } @@ -352,7 +358,7 @@ fsInfo->blockAllocationTable[x].nextBlock=x+1; } } -syncBat(fd->mp); +syncBat(fd->mp); return(i); } } diff --git a/doc/xml/bot_8c.xml b/doc/xml/bot_8c.xml index 4746984..14c6f20 100644 --- a/doc/xml/bot_8c.xml +++ b/doc/xml/bot_8c.xml @@ -11,265 +11,265 @@ net/api.h net/stats.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/doc/xml/btree_8cpp.xml b/doc/xml/btree_8cpp.xml index a9f9717..2cd01b9 100644 --- a/doc/xml/btree_8cpp.xml +++ b/doc/xml/btree_8cpp.xml @@ -11,124 +11,124 @@ btree.h ubixfs.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/doc/xml/btree_8h.xml b/doc/xml/btree_8h.xml index 76da6b7..28cefdd 100644 --- a/doc/xml/btree_8h.xml +++ b/doc/xml/btree_8h.xml @@ -10,101 +10,101 @@ src/sys/ubixfsv2/main.cpp src/sys/ubixfsv2/ubixfs.cpp - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/doc/xml/btreeheader_8h.xml b/doc/xml/btreeheader_8h.xml index 5ab0599..d155a61 100644 --- a/doc/xml/btreeheader_8h.xml +++ b/doc/xml/btreeheader_8h.xml @@ -4,31 +4,31 @@ btreeheader.h src/sys/ubixfsv2/btree.h - + - + - + - + - + - + - + - + - + diff --git a/doc/xml/buf_8h.xml b/doc/xml/buf_8h.xml index 87c5d7d..cc5f0f6 100644 --- a/doc/xml/buf_8h.xml +++ b/doc/xml/buf_8h.xml @@ -2,103 +2,105 @@ buf.h - ubixos/types.h - vfs/vfs.h - sys/device.h + ubixos/types.h + vfs/vfs.h + sys/device.h src/sys/ufs/ffs.c - + - + - + - - + + - + - + - - + + - + - + - + - - + + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - + + + + + - + + + + + + + + + + + - - + + - + - + - + @@ -140,9 +142,9 @@ #ifndef_BUF_H #define_BUF_H -#include<ubixos/types.h> -#include<vfs/vfs.h> -#include<sys/device.h> +#include<ubixos/types.h> +#include<vfs/vfs.h> +#include<sys/device.h> structbuf{ }; diff --git a/doc/xml/cc_8h.xml b/doc/xml/cc_8h.xml index 2debb9e..f82f370 100644 --- a/doc/xml/cc_8h.xml +++ b/doc/xml/cc_8h.xml @@ -8,376 +8,376 @@ src/sys/include/net/stats.h src/sys/include/net/sys.h - + - + - + - + - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + - + + + - - - - + + + + + + + + + + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + - - - + + + + + + + - - - - - - - + + + + + + + + + + + - + - + - + + + + + + + + + + + + + - + - + - + - - - - - - - + - - - - - + - + - + + + + + + + + + - + + + + + + + + + + + + + - + - + - + - + - + diff --git a/doc/xml/cdefs_8h.xml b/doc/xml/cdefs_8h.xml index 9cbb7ed..64c4b1e 100644 --- a/doc/xml/cdefs_8h.xml +++ b/doc/xml/cdefs_8h.xml @@ -2,35 +2,35 @@ cdefs.h - ubixos/types.h + ubixos/types.h src/sys/lib/strtol.c - + - - + + - + - + - + - + - + - + @@ -94,7 +94,7 @@ #ifndef_CDEFS_H #define_CDRES_H -#include<ubixos/types.h> +#include<ubixos/types.h> #define__dead2__attribute__((__noreturn__)) diff --git a/doc/xml/classDiskFS.xml b/doc/xml/classDiskFS.xml index ac3b38a..5d311c5 100644 --- a/doc/xml/classDiskFS.xml +++ b/doc/xml/classDiskFS.xml @@ -22,7 +22,7 @@ diskFile - fopen + fopen int @@ -71,8 +71,8 @@ diskFile - fread - fseek + fread + fseek NULL SEEK_SET @@ -123,8 +123,8 @@ diskFile - fseek - fwrite + fseek + fwrite NULL SEEK_SET diff --git a/doc/xml/classFileSystemAbstract.xml b/doc/xml/classFileSystemAbstract.xml index 68ac59c..210910b 100644 --- a/doc/xml/classFileSystemAbstract.xml +++ b/doc/xml/classFileSystemAbstract.xml @@ -71,13 +71,13 @@ - + - + - + diff --git a/doc/xml/classUbixFS.xml b/doc/xml/classUbixFS.xml index 80b6aea..aa20178 100644 --- a/doc/xml/classUbixFS.xml +++ b/doc/xml/classUbixFS.xml @@ -100,12 +100,12 @@ dev bTreeHeader::firstDeleted bTreeHeader::firstNodeOffset - getgid - getuid + getgid + getuid INODE_DIRECTORY memset NULL - strcpy + strcpy bTreeHeader::treeDepth bTreeHeader::treeLeafCount bTreeHeader::treeWidth @@ -139,7 +139,7 @@ NULL printSuperBlock root - strcmp + strcmp superBlock UBIXFS_CLEAN UBIXFS_MAGIC1 @@ -177,8 +177,8 @@ name NULL root - strlen - strncpy + strlen + strncpy main @@ -602,12 +602,12 @@ assert getFreeBlock - getgid - getuid + getgid + getuid MAX_FILENAME_LENGTH memset NULL - strncpy + strncpy superBlock UBIXFS_INODE_MAGIC vfs_mkdir @@ -799,54 +799,54 @@ - + - + - + - + - + - + superBlock - + root - + - + + + prev +next + + + + + prev next - - - - - - prev -next - - + device - + diff --git a/doc/xml/classbTree.xml b/doc/xml/classbTree.xml index 4822744..7740942 100644 --- a/doc/xml/classbTree.xml +++ b/doc/xml/classbTree.xml @@ -63,7 +63,7 @@ memset NULL root - strncpy + strncpy tag bTreeHeader::treeDepth bTreeHeader::treeLeafCount @@ -222,8 +222,8 @@ memset NULL root - strcmp - strncpy + strcmp + strncpy bTreeHeader::treeDepth bTreeHeader::treeLeafCount bTreeHeader::treeWidth @@ -302,11 +302,11 @@ assert - fclose + fclose bTreeHeader::firstDeleted bTreeHeader::firstNodeOffset - fopen - fwrite + fopen + fwrite header memset NULL @@ -333,7 +333,7 @@ GetFirstNode fileSystem::next NULL - strcmp + strcmp @@ -403,7 +403,7 @@ assert NULL - strcmp + strcmp ubixfsInode * @@ -426,7 +426,7 @@ NULL - strcmp + strcmp treeSearch @@ -458,8 +458,8 @@ memset NULL splitNode - strcmp - strncpy + strcmp + strncpy splitNode @@ -538,7 +538,7 @@ memset NULL root - strncpy + strncpy bTreeHeader::treeDepth insertNode @@ -565,7 +565,7 @@ GetFirstNode inodeSearch NULL - strcmp + strcmp Find diff --git a/doc/xml/classogDisplay__UbixOS.xml b/doc/xml/classogDisplay__UbixOS.xml index 0582669..4e73a06 100644 --- a/doc/xml/classogDisplay__UbixOS.xml +++ b/doc/xml/classogDisplay__UbixOS.xml @@ -5,7 +5,7 @@ ogDisplay_UbixOS.h - bool + bool virtual bool ogDisplay_UbixOS::ogAlias (ogSurface &, uInt32, uInt32, uInt32, uInt32) ogAlias @@ -13,16 +13,16 @@ ogSurface & - uInt32 + uInt32 - uInt32 + uInt32 - uInt32 + uInt32 - uInt32 + uInt32 @@ -33,7 +33,7 @@ - bool + bool virtual bool ogDisplay_UbixOS::ogClone (ogSurface &) ogClone @@ -65,15 +65,15 @@ - bool + bool virtual bool ogDisplay_UbixOS::ogCreate (uInt32, uInt32, ogPixelFmt) ogCreate - uInt32 + uInt32 - uInt32 + uInt32 ogPixelFmt @@ -103,7 +103,7 @@ - bool + bool virtual bool ogDisplay_UbixOS::ogLoadPalette (const char *) ogLoadPalette @@ -124,19 +124,19 @@ (uInt8, uInt8, uInt8, uInt8, uInt8) ogSetPalette - uInt8 + uInt8 - uInt8 + uInt8 - uInt8 + uInt8 - uInt8 + uInt8 - uInt8 + uInt8 @@ -152,16 +152,16 @@ (uInt8, uInt8, uInt8, uInt8) ogSetPalette - uInt8 + uInt8 - uInt8 + uInt8 - uInt8 + uInt8 - uInt8 + uInt8 @@ -208,18 +208,18 @@ - uInt16 + uInt16 uInt16 ogDisplay_UbixOS::FindMode (uInt32, uInt32, uInt32) FindMode - uInt32 + uInt32 - uInt32 + uInt32 - uInt32 + uInt32 @@ -235,7 +235,7 @@ (uInt16) GetModeInfo - uInt16 + uInt16 @@ -267,7 +267,7 @@ (uInt16) SetMode - uInt16 + uInt16 @@ -296,7 +296,7 @@ - uInt32 + uInt32 uInt32 ogDisplay_UbixOS::activePage activePage @@ -348,7 +348,7 @@ - uInt32 + uInt32 uInt32 ogDisplay_UbixOS::visualPage visualPage @@ -366,21 +366,21 @@ - + - + - + VESAInfo - + modeInfo - + diff --git a/doc/xml/classogDisplay__VESA.xml b/doc/xml/classogDisplay__VESA.xml index 5bdabd9..32b15ea 100644 --- a/doc/xml/classogDisplay__VESA.xml +++ b/doc/xml/classogDisplay__VESA.xml @@ -5,7 +5,7 @@ ogDisplay_VESA.h - bool + bool virtual bool ogDisplay_VESA::ogAlias (ogSurface &, uInt32, uInt32, uInt32, uInt32) ogAlias @@ -13,16 +13,16 @@ ogSurface & - uInt32 + uInt32 - uInt32 + uInt32 - uInt32 + uInt32 - uInt32 + uInt32 @@ -33,7 +33,7 @@ - bool + bool virtual bool ogDisplay_VESA::ogAvail (void) ogAvail @@ -54,7 +54,7 @@ (uInt32) ogClear - uInt32 + uInt32 @@ -65,7 +65,7 @@ - bool + bool virtual bool ogDisplay_VESA::ogClone (ogSurface &) ogClone @@ -86,16 +86,16 @@ (uInt32, uInt32, void *, uInt32) ogCopyLineFrom - uInt32 + uInt32 - uInt32 + uInt32 void * - uInt32 + uInt32 @@ -111,16 +111,16 @@ (uInt32, uInt32, const void *, uInt32) ogCopyLineTo - uInt32 + uInt32 - uInt32 + uInt32 const void * - uInt32 + uInt32 @@ -147,15 +147,15 @@ - bool + bool virtual bool ogDisplay_VESA::ogCreate (uInt32, uInt32, ogPixelFmt) ogCreate - uInt32 + uInt32 - uInt32 + uInt32 ogPixelFmt @@ -185,15 +185,15 @@ - uInt32 + uInt32 virtual uInt32 ogDisplay_VESA::ogGetPixel (int32, int32) ogGetPixel - int32 + int32 - int32 + int32 @@ -209,10 +209,10 @@ (uInt32, uInt32) ogGetPtr - uInt32 + uInt32 - uInt32 + uInt32 @@ -228,16 +228,16 @@ (int32, int32, int32, uInt32) ogHLine - int32 + int32 - int32 + int32 - int32 + int32 - uInt32 + uInt32 @@ -248,7 +248,7 @@ - bool + bool virtual bool ogDisplay_VESA::ogLoadPal (const char *) ogLoadPal @@ -269,13 +269,13 @@ (int32, int32, uInt32) ogSetPixel - int32 + int32 - int32 + int32 - uInt32 + uInt32 @@ -291,16 +291,16 @@ (uInt8, uInt8, uInt8, uInt8) ogSetRGBPalette - uInt8 + uInt8 - uInt8 + uInt8 - uInt8 + uInt8 - uInt8 + uInt8 @@ -332,16 +332,16 @@ (int32, int32, int32, uInt32) ogVLine - int32 + int32 - int32 + int32 - int32 + int32 - uInt32 + uInt32 @@ -370,18 +370,18 @@ - uInt16 + uInt16 uInt16 ogDisplay_VESA::findMode (uInt32, uInt32, uInt32) findMode - uInt32 + uInt32 - uInt32 + uInt32 - uInt32 + uInt32 @@ -397,7 +397,7 @@ (uInt16) getModeInfo - uInt16 + uInt16 @@ -424,15 +424,15 @@ - uInt32 + uInt32 virtual uInt32 ogDisplay_VESA::rawGetPixel (uInt32, uInt32) rawGetPixel - uInt32 + uInt32 - uInt32 + uInt32 @@ -448,19 +448,19 @@ (uInt32, uInt32, uInt32, uInt32, uInt32) rawLine - uInt32 + uInt32 - uInt32 + uInt32 - uInt32 + uInt32 - uInt32 + uInt32 - uInt32 + uInt32 @@ -476,13 +476,13 @@ (uInt32, uInt32, uInt32) rawSetPixel - uInt32 + uInt32 - uInt32 + uInt32 - uInt32 + uInt32 @@ -498,7 +498,7 @@ (uInt16) setMode - uInt16 + uInt16 @@ -527,7 +527,7 @@ - bool + bool bool ogDisplay_VESA::InGraphics InGraphics @@ -553,7 +553,7 @@ - uInt16 + uInt16 uInt16 ogDisplay_VESA::ScreenSelector ScreenSelector @@ -584,21 +584,21 @@ - + - + - + - + ModeRec - + VESARec diff --git a/doc/xml/classvfs__abstract.xml b/doc/xml/classvfs__abstract.xml index f350c97..2c12f30 100644 --- a/doc/xml/classvfs__abstract.xml +++ b/doc/xml/classvfs__abstract.xml @@ -392,30 +392,30 @@ - + - + - + - + - + prev next - + device - + diff --git a/doc/xml/copyvirtualspace_8c.xml b/doc/xml/copyvirtualspace_8c.xml index 198e2a9..019d3c6 100644 --- a/doc/xml/copyvirtualspace_8c.xml +++ b/doc/xml/copyvirtualspace_8c.xml @@ -8,88 +8,90 @@ ubixos/kpanic.h string.h - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + @@ -100,7 +102,7 @@ (pidType pid) vmmCopyVirtualSpace - pidType + pidType pid @@ -204,24 +206,24 @@ ************************************************************************/ void* -vmmCopyVirtualSpace(pidTypepid) +vmmCopyVirtualSpace(pidTypepid) { void*newPageDirectoryAddress=0x0; -uInt32*parentPageDirectory=0x0,*newPageDirectory=0x0; -uInt32*parentPageTable=0x0,*newPageTable=0x0; -uInt32*parentStackPage=0x0,*newStackPage=0x0; -uInt16x=0,i=0,s=0; +uInt32*parentPageDirectory=0x0,*newPageDirectory=0x0; +uInt32*parentPageTable=0x0,*newPageTable=0x0; +uInt32*parentStackPage=0x0,*newStackPage=0x0; +uInt16x=0,i=0,s=0; spinLock(&cvsSpinLock); /*SetAddressOfParentPageDirectory*/ -parentPageDirectory=(uInt32*)parentPageDirAddr; +parentPageDirectory=(uInt32*)parentPageDirAddr; /*AllocateANewPageForTheNewPageDirectory*/ -if((newPageDirectory=(uInt32*)vmmGetFreeKernelPage(pid,1))==0x0) +if((newPageDirectory=(uInt32*)vmmGetFreeKernelPage(pid,1))==0x0) kpanic("Error:newPageDirectory==NULL,File:%s,Line:%i\n",__FILE__,__LINE__); /*SetnewPageDirectoryAddressToTheNewlyCreatedPageDirectoriesPage*/ -newPageDirectoryAddress=(void*)vmm_getPhysicalAddr((uInt32)newPageDirectory); +newPageDirectoryAddress=(void*)vmm_getPhysicalAddr((uInt32)newPageDirectory); /*FirstSetUpAFlushedPageDirectory*/ memset(newPageDirectory,0x0,0x1000); @@ -240,9 +242,9 @@ /*IfPageTableExistsMapIt*/ if(parentPageDirectory[x]!=0){ /*SetParentToPropperPageTable*/ -parentPageTable=(uInt32*)(tablesBaseAddress+(0x1000*x)); +parentPageTable=(uInt32*)(tablesBaseAddress+(0x1000*x)); /*AllocateANewPageTable*/ -if((newPageTable=(uInt32*)vmmGetFreeKernelPage(pid,1))==0x0) +if((newPageTable=(uInt32*)vmmGetFreeKernelPage(pid,1))==0x0) kpanic("Error:newPageTable==NULL,File:%s,Line:%i\n",__FILE__,__LINE__); /*SetParentAndNewPagesToCOW*/ @@ -251,7 +253,7 @@ /*IfPageIsMapped*/ if((parentPageTable[i]&0xFFFFF000)!=0x0){ /*CheckToSeeIfItsAStackPage*/ -if(((uInt32)parentPageTable[i]&PAGE_STACK)==PAGE_STACK){ +if(((uInt32)parentPageTable[i]&PAGE_STACK)==PAGE_STACK){ /*AllocANewPageForThisStackPage*/ if((newStackPage=(uInt32*)vmmGetFreeKernelPage(pid,1))==0x0) kpanic("Error:newStackPage==NULL,File:%s,Line:%i\n",__FILE__,__LINE__); @@ -282,32 +284,32 @@ } } else{ -newPageTable[i]=(uInt32)0x0; +newPageTable[i]=(uInt32)0x0; } } /*PutNewPageTableIntoNewPageDirectory*/ -newPageDirectory[x]=(vmm_getPhysicalAddr((uInt32)newPageTable)|PAGE_DEFAULT); +newPageDirectory[x]=(vmm_getPhysicalAddr((uInt32)newPageTable)|PAGE_DEFAULT); /*UnmapPageFromKernelSpaceButKeepItMarkedAsNotAvail*/ -vmmUnmapPage((uInt32)newPageTable,1); +vmmUnmapPage((uInt32)newPageTable,1); }else{ -newPageDirectory[x]=(uInt32)0x0; +newPageDirectory[x]=(uInt32)0x0; } } /* *AllocateANewPageForTheTheFirstPageTableWhereWeWillMapThe *LowerRegion */ -if((newPageTable=(uInt32*)vmmGetFreeKernelPage(pid,1))==0x0) +if((newPageTable=(uInt32*)vmmGetFreeKernelPage(pid,1))==0x0) kpanic("Error:newPageTable==NULL,File:%s,Line:%i\n",__FILE__,__LINE__); /*FlushThePageFromGarbageInMemory*/ memset(newPageTable,0x0,0x1000); /*MapThisIntoThePageDirectory*/ -newPageDirectory[0]=(vmm_getPhysicalAddr((uInt32)newPageTable)|PAGE_DEFAULT); +newPageDirectory[0]=(vmm_getPhysicalAddr((uInt32)newPageTable)|PAGE_DEFAULT); /*SetAddressOfParentsPageTable*/ -parentPageTable=(uInt32*)tablesBaseAddress; +parentPageTable=(uInt32*)tablesBaseAddress; /*MapTheFirst1MBWorthOfPages*/ for(x=0;x<(pageEntries/4);x++){ newPageTable[x]=parentPageTable[x]; @@ -317,20 +319,20 @@ /*IfPageIsAvaiableMapIt*/ if((parentPageTable[x]&0xFFFFF000)!=0x0){ /*SetPagesToCOW*/ -newPageTable[x]=(((uInt32)parentPageTable[x]&0xFFFFF000)|(PAGE_DEFAULT|PAGE_COW)); +newPageTable[x]=(((uInt32)parentPageTable[x]&0xFFFFF000)|(PAGE_DEFAULT|PAGE_COW)); /*IncrementTheCOWCounterForThisPage*/ -if(((uInt32)parentPageTable[x]&PAGE_COW)==PAGE_COW){ +if(((uInt32)parentPageTable[x]&PAGE_COW)==PAGE_COW){ adjustCowCounter(((uInt32)parentPageTable[x]&0xFFFFF000),1); }else{ adjustCowCounter(((uInt32)parentPageTable[x]&0xFFFFF000),2); parentPageTable[x]=newPageTable[x]; } }else{ -newPageTable[x]=(uInt32)0x0; +newPageTable[x]=(uInt32)0x0; } } /*SetVirtualMappingForPageDirectory*/ -newPageTable[256]=(vmm_getPhysicalAddr((uInt32)newPageDirectory)|PAGE_DEFAULT); +newPageTable[256]=(vmm_getPhysicalAddr((uInt32)newPageDirectory)|PAGE_DEFAULT); /* *NowTheFunStuffBuildTheInitialVirtualPageSpaceSoWeDon'tHave @@ -338,18 +340,18 @@ *BecomeASecurityIssue */ /*FirstLetsUnmapThePreviouslyAllocatedPageTable*/ -vmmUnmapPage((uInt32)newPageTable,1); +vmmUnmapPage((uInt32)newPageTable,1); /*AllocateANewPageTable*/ -if((newPageTable=(uInt32*)vmmGetFreeKernelPage(pid,1))==0x0) +if((newPageTable=(uInt32*)vmmGetFreeKernelPage(pid,1))==0x0) kpanic("Error:newPageTable==NULL,File:%s,Line:%i\n",__FILE__,__LINE__); /*FirstSetOurPageDirectoryToContainThis*/ -newPageDirectory[767]=vmm_getPhysicalAddr((uInt32)newPageTable)|PAGE_DEFAULT; +newPageDirectory[767]=vmm_getPhysicalAddr((uInt32)newPageTable)|PAGE_DEFAULT; /*NowLetsBuildThePageTable*/ for(x=0;x<pageEntries;x++){ newPageTable[x]=newPageDirectory[x]; } /*NowWeAreDoneSoLetsUnmapThisPage*/ -vmmUnmapPage((uInt32)newPageTable,1); +vmmUnmapPage((uInt32)newPageTable,1); /*NowWeAreDoneWithThePageDirectorySoLetsUnmapThatToo*/ vmmUnmapPage((uInt32)newPageDirectory,1); diff --git a/doc/xml/cpu_8h.xml b/doc/xml/cpu_8h.xml index ff8ab0e..c53a489 100644 --- a/doc/xml/cpu_8h.xml +++ b/doc/xml/cpu_8h.xml @@ -4,299 +4,299 @@ cpu.h src/sys/include/net/arch.h - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/xml/createvirtualspace_8c.xml b/doc/xml/createvirtualspace_8c.xml index 1f67b96..b33ed35 100644 --- a/doc/xml/createvirtualspace_8c.xml +++ b/doc/xml/createvirtualspace_8c.xml @@ -4,56 +4,58 @@ createvirtualspace.c vmm/vmm.h - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + @@ -64,7 +66,7 @@ (pid_t pid) vmmCreateVirtualSpace - pid_t + pid_t pid @@ -169,22 +171,22 @@ ************************************************************************/ void* -vmmCreateVirtualSpace(pid_tpid) +vmmCreateVirtualSpace(pid_tpid) { void*newPageDirectoryAddress=0x0; -uInt32*parentPageDirectory=0x0,*newPageDirectory=0x0; -uInt32*parentPageTable=0x0,*newPageTable=0x0; +uInt32*parentPageDirectory=0x0,*newPageDirectory=0x0; +uInt32*parentPageTable=0x0,*newPageTable=0x0; intx=0; /*SetAddressOfParentPageDirectory*/ -parentPageDirectory=(uInt32*)parentPageDirAddr; +parentPageDirectory=(uInt32*)parentPageDirAddr; /*AllocateANewPageForTheNewPageDirectory*/ -newPageDirectory=(uInt32*)vmmGetFreePage(pid); +newPageDirectory=(uInt32*)vmmGetFreePage(pid); /*SetnewPageDirectoryAddressToTheNewlyCreatedPageDirectoriesPage*/ -newPageDirectoryAddress=(void*)vmm_getPhysicalAddr((uInt32)newPageDirectory); +newPageDirectoryAddress=(void*)vmm_getPhysicalAddr((uInt32)newPageDirectory); /*FirstSetUpAFlushedPageDirectory*/ for(x=0;x<pageEntries;x++){ -(uInt32)newPageDirectory[x]=(uInt32)0x0; +(uInt32)newPageDirectory[x]=(uInt32)0x0; } /*MapTheTop1GBRegionOfTheVMSpace*/ for(x=768;x<pageEntries;x++){ @@ -194,21 +196,21 @@ *AllocateANewPageForTheTheFirstPageTableWhereWeWillMapThe *LowerRegion */ -newPageTable=(uInt32*)vmmGetFreePage(pid); +newPageTable=(uInt32*)vmmGetFreePage(pid); /*FlushThePageFromGarbageInMemory*/ for(x=0;x<pageEntries;x++){ -(uInt32)newPageTable[x]=(uInt32)0x0; +(uInt32)newPageTable[x]=(uInt32)0x0; } /*MapThisIntoThePageDirectory*/ -newPageDirectory[0]=(vmm_getPhysicalAddr((uInt32)newPageTable)|PAGE_DEFAULT); +newPageDirectory[0]=(vmm_getPhysicalAddr((uInt32)newPageTable)|PAGE_DEFAULT); /*SetAddressOfParentsPageTable*/ -parentPageTable=(uInt32*)tablesBaseAddress; +parentPageTable=(uInt32*)tablesBaseAddress; /*MapTheFirst1MBWorthOfPages*/ for(x=0;x<(pageEntries/4);x++){ newPageTable[x]=parentPageTable[x]; } /*SetVirtualMappingForPageDirectory*/ -newPageTable[256]=(vmm_getPhysicalAddr((uInt32)newPageDirectory)|PAGE_DEFAULT); +newPageTable[256]=(vmm_getPhysicalAddr((uInt32)newPageDirectory)|PAGE_DEFAULT); /* *NowTheFunStuffBuildTheInitialVirtualPageSpaceSoWeDon'tHave @@ -216,17 +218,17 @@ *BecomeASecurityIssue */ /*FirstLetsUnmapThePreviouslyAllocatedPageTable*/ -vmmUnmapPage((uInt32)newPageTable,1); +vmmUnmapPage((uInt32)newPageTable,1); /*AllocateANewPageTable*/ -newPageTable=(uInt32*)vmmGetFreePage(pid); +newPageTable=(uInt32*)vmmGetFreePage(pid); /*FirstSetOurPageDirectoryToContainThis*/ -newPageDirectory[767]=vmm_getPhysicalAddr((uInt32)newPageTable)|PAGE_DEFAULT; +newPageDirectory[767]=vmm_getPhysicalAddr((uInt32)newPageTable)|PAGE_DEFAULT; /*NowLetsBuildThePageTable*/ for(x=0;x<pageEntries;x++){ newPageTable[x]=newPageDirectory[x]; } /*NowWeAreDoneSoLetsUnmapThisPage*/ -vmmUnmapPage((uInt32)newPageTable,1); +vmmUnmapPage((uInt32)newPageTable,1); /*NowWeAreDoneWithThePageDirectorySoLetsUnmapThatToo*/ vmmUnmapPage((uInt32)newPageDirectory,1); /*ReturnPhysicalAddressOfPageDirectory*/ diff --git a/doc/xml/debug_8h.xml b/doc/xml/debug_8h.xml index 5f56ccd..1772742 100644 --- a/doc/xml/debug_8h.xml +++ b/doc/xml/debug_8h.xml @@ -17,330 +17,330 @@ src/sys/net/netif/ethernetif.c src/sys/net/netif/loopif.c - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - + - - - + + + - - - + + + + + + + + + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - + + + + + - - - - - - - - - - - - - - - + + + + + - - - - - - - - - + + + + + + + + + + + + + - + + + + + - + + + + + + + + + - + - + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/xml/def_8h.xml b/doc/xml/def_8h.xml index 6dd78f2..74e7cc9 100644 --- a/doc/xml/def_8h.xml +++ b/doc/xml/def_8h.xml @@ -8,157 +8,157 @@ src/sys/net/net/shell.c src/sys/net/netif/ethernetif.c - + - + - + - + - + - + - + + + + + + + - + - - - - - - - + - + - + - + + + + + - - - - - + - + + + + + - + - - - - - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + @@ -177,16 +177,13 @@ __assert accept_function alloc_socket - bTree::allocEmptyNode arp_arp_input arp_lookup arp_query arp_timer bot_init bot_thread - bTree::bTree current_thread - bTree::Delete devfs_init device_add device_remove @@ -204,23 +201,14 @@ ethernetif_init ethernetif_input ethernetif_output - fclose - bTree::findLeafNode - fopen - UbixFS::get8FreeBlocks + fclose + fopen get_socket - bTree::GetFirstNode - UbixFS::getFreeBlock inet_aton - bTree::Info - bTree::inodeSearch - bTree::Insert - bTree::insertNode kmain kmod_add kpanic kprint - bTree::Load loopif_output low_level_input low_level_output @@ -235,8 +223,6 @@ lwip_sendto lwip_socket lwip_write - main - UbixFS::mknod netbuf_alloc netbuf_copy_partial netbuf_data @@ -257,20 +243,13 @@ netconn_write openFileUbixFS poll_tcp - bTree::Print - UbixFS::printFreeBlockList - DiskFS::read readUbixFS recv_tcp recv_udp - bTree::Save - bTree::saveNode sent_tcp - UbixFS::setFreeBlock shell_init shell_thread - bTree::splitNode - strstr + strstr strtok_r strtol sys_arch_mbox_fetch @@ -281,7 +260,7 @@ sysFopen sysFread sysFseek - sysMkDir + sysMkDir tcpdump tcpdump_init tcpip_apimsg @@ -289,8 +268,6 @@ tcpip_input tcpip_tcp_timer tcpip_thread - bTree::treeSearch - UbixFS::UbixFS ubixfs_cacheAdd ubixfs_cacheDelete ubixfs_cacheFind @@ -300,22 +277,11 @@ ubixfs_loadData udpecho_init udpecho_thread - ufs_init - unlink - bTree::Verify + ufs_init + unlink vfs_findMount - UbixFS::vfs_format - UbixFS::vfs_init - UbixFS::vfs_mkdir - vfs_abstract::vfs_mknod vfs_mount - UbixFS::vfs_open - UbixFS::vfs_read - UbixFS::vfs_stop - UbixFS::vfs_sync - UbixFS::vfs_write - vfsRegisterFS - DiskFS::write + vfsRegisterFS writeFileByte writeUbixFS diff --git a/doc/xml/devfs_8c.xml b/doc/xml/devfs_8c.xml index 3f23a92..6e20670 100644 --- a/doc/xml/devfs_8c.xml +++ b/doc/xml/devfs_8c.xml @@ -3,9 +3,9 @@ devfs.c devfs/devfs.h - vfs/vfs.h - sys/device.h - ubixos/types.h + vfs/vfs.h + sys/device.h + ubixos/types.h ubixos/spinlock.h ubixos/kpanic.h lib/kmalloc.h @@ -38,7 +38,7 @@ - + @@ -54,7 +54,7 @@ - + @@ -70,7 +70,7 @@ - + @@ -129,6 +129,8 @@ + + @@ -138,7 +140,7 @@ - + @@ -162,7 +164,7 @@ devfs_write NULL vfs_mount - vfsRegisterFS + vfsRegisterFS x1 @@ -197,15 +199,15 @@ name - uInt8 + uInt8 type - uInt16 + uInt16 major - uInt16 + uInt16 minor @@ -230,7 +232,7 @@ spinLock spinUnlock sprintf - strlen + strlen vfs_findMount fdc_init initHardDisk @@ -245,7 +247,7 @@ file - fileDescriptor * + fileDescriptor * fd @@ -257,19 +259,23 @@ devfs_len devfsSpinLock - device_find + device_find devfs_info::deviceList - device_node::devInfo + device_node::devInfo devfs_devices::devMajor devfs_devices::devMinor devfs_devices::devName + vfs_mountPoint::fsInfo kprintf + fileDescriptorStruct::mode + fileDescriptorStruct::mp devfs_devices::next - device_interface::size - fileDescriptor::size + device_interface::size + fileDescriptorStruct::size spinLock spinUnlock - strcmp + fileDescriptorStruct::start + strcmp x1 devfs_init @@ -279,7 +285,7 @@ (fileDescriptor *fd, char *data, long offset, long size) devfs_read - fileDescriptor * + fileDescriptor * fd @@ -301,13 +307,15 @@ - device_find - device_node::devInfo + fileDescriptorStruct::buffer + device_find + device_node::devInfo devfs_devices::devMajor devfs_devices::devMinor - device_interface::info + device_interface::info kprintf device_interface::read + fileDescriptorStruct::start devfs_init @@ -316,7 +324,7 @@ (fileDescriptor *fd, char *data, long offset, long size) devfs_write - fileDescriptor * + fileDescriptor * fd @@ -338,12 +346,14 @@ - device_find - device_node::devInfo + fileDescriptorStruct::buffer + device_find + device_node::devInfo devfs_devices::devMajor devfs_devices::devMinor - device_interface::info + device_interface::info device_interface::read + fileDescriptorStruct::start device_interface::write devfs_init @@ -417,9 +427,9 @@ *****************************************************************************************/ #include<devfs/devfs.h> -#include<vfs/vfs.h> -#include<sys/device.h> -#include<ubixos/types.h> +#include<vfs/vfs.h> +#include<sys/device.h> +#include<ubixos/types.h> #include<ubixos/spinlock.h> #include<ubixos/kpanic.h> #include<lib/kmalloc.h> @@ -446,16 +456,16 @@ return; } -staticintdevfs_open(char*file,fileDescriptor*fd){ -structdevfs_info*fsInfo=fd->mp->fsInfo; +staticintdevfs_open(char*file,fileDescriptor*fd){ +structdevfs_info*fsInfo=fd->mp->fsInfo; structdevfs_devices*tmpDev=0x0; structdevice_node*device=0x0; spinLock(&devfsSpinLock); if(strcmp(file,"/")==0x0){ -fd->start=-1; -fd->size=devfs_len; +fd->start=-1; +fd->size=devfs_len; spinUnlock(&devfsSpinLock); return(0x1); } @@ -463,12 +473,12 @@ file++; for(tmpDev=fsInfo->deviceList;tmpDev!=0x0;tmpDev=tmpDev->next){ if(strcmp(tmpDev->devName,file)==0x0){ -switch((fd->mode&0x3)){ +switch((fd->mode&0x3)){ case0: case1: -device=device_find(tmpDev->devMajor,tmpDev->devMinor); -(void*)fd->start=tmpDev; -fd->size=device->devInfo->size; +device=device_find(tmpDev->devMajor,tmpDev->devMinor); +(void*)fd->start=tmpDev; +fd->size=device->devInfo->size; break; default: kprintf("InvalidFileMode\n"); @@ -484,36 +494,36 @@ return(0x0); } -staticintdevfs_read(fileDescriptor*fd,char*data,longoffset,longsize){ +staticintdevfs_read(fileDescriptor*fd,char*data,longoffset,longsize){ inti=0x0,x=0x0; -uInt32sectors=0x0; -uInt16diff=0x0; +uInt32sectors=0x0; +uInt16diff=0x0; structdevice_node*device=0x0; -structdevfs_devices*tmpDev=(void*)fd->start; +structdevfs_devices*tmpDev=(void*)fd->start; if(tmpDev==-1){ kprintf("HiUbie[%i]!!!\n",size); for(i=0;i<size;i++){ data[i]='a'; -fd->buffer[i]='a'; +fd->buffer[i]='a'; } data[size-1]='\n'; return(size); } -device=device_find(tmpDev->devMajor,tmpDev->devMinor); +device=device_find(tmpDev->devMajor,tmpDev->devMinor); sectors=((size+511)/512); diff=(offset-((offset/512)*512)); for(i=0x0;i<sectors;i++){ -device->devInfo->read(device->devInfo->info,fd->buffer,i+(offset/512),1); +device->devInfo->read(device->devInfo->info,fd->buffer,i+(offset/512),1); for(x=0x0;x<(size-(i*512));x++){ if(diff>0){ -data[x]=fd->buffer[x+diff]; +data[x]=fd->buffer[x+diff]; } else{ -data[x]=fd->buffer[x]; +data[x]=fd->buffer[x]; } } diff=0x0; @@ -530,25 +540,25 @@ Notes: ************************************************************************/ -staticintdevfs_write(fileDescriptor*fd,char*data,longoffset,longsize){ +staticintdevfs_write(fileDescriptor*fd,char*data,longoffset,longsize){ inti=0x0,x=0x0; structdevice_node*device=0x0; -structdevfs_devices*tmpDev=(void*)fd->start; +structdevfs_devices*tmpDev=(void*)fd->start; -device=device_find(tmpDev->devMajor,tmpDev->devMinor); +device=device_find(tmpDev->devMajor,tmpDev->devMinor); for(i=0x0;i<((size+511)/512);i++){ -device->devInfo->read(device->devInfo->info,fd->buffer,i+(offset/512),1); +device->devInfo->read(device->devInfo->info,fd->buffer,i+(offset/512),1); for(x=0x0;((x<512)&&((x+(i*512))<size));x++){ -fd->buffer[x]=data[x]; +fd->buffer[x]=data[x]; } -device->devInfo->write(device->devInfo->info,fd->buffer,i+(offset/512),1); +device->devInfo->write(device->devInfo->info,fd->buffer,i+(offset/512),1); data+=512; } return(size); } -intdevfs_makeNode(char*name,uInt8type,uInt16major,uInt16minor){ +intdevfs_makeNode(char*name,uInt8type,uInt16major,uInt16minor){ structvfs_mountPoint*mp=0x0; structdevfs_info*fsInfo=0x0; structdevfs_devices*tmpDev=0x0; @@ -571,7 +581,7 @@ tmpDev->devMajor=major; tmpDev->devMinor=minor; sprintf(tmpDev->devName,name); -devfs_len+=strlen(name)+1; +devfs_len+=strlen(name)+1; tmpDev->next=fsInfo->deviceList; tmpDev->prev=0x0; @@ -601,7 +611,7 @@ 1/*vfsType*/ };/*devFS*/ -if(vfsRegisterFS(devFS)!=0x0){ +if(vfsRegisterFS(devFS)!=0x0){ //sysErr(systemErr,"UnableToEnableDevFS"); return(0x1); } diff --git a/doc/xml/devfs_8h.xml b/doc/xml/devfs_8h.xml index 7c0e859..96dc663 100644 --- a/doc/xml/devfs_8h.xml +++ b/doc/xml/devfs_8h.xml @@ -2,120 +2,122 @@ devfs.h - ubixos/types.h - vfs/file.h + ubixos/types.h + vfs/file.h src/sys/devfs/devfs.c src/sys/include/ubixos/init.h src/sys/isa/fdc.c src/sys/pci/hd.c - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - - - - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + + + + + - - - - - + - + - + - + - + @@ -141,7 +143,7 @@ devfs_write NULL vfs_mount - vfsRegisterFS + vfsRegisterFS x1 @@ -154,15 +156,15 @@ name - uInt8 + uInt8 type - uInt16 + uInt16 major - uInt16 + uInt16 minor @@ -187,7 +189,7 @@ spinLock spinUnlock sprintf - strlen + strlen vfs_findMount fdc_init initHardDisk @@ -230,15 +232,15 @@ #ifndef_DEVFS_H #define_DEVFS_H -#include<ubixos/types.h> -#include<vfs/file.h> +#include<ubixos/types.h> +#include<vfs/file.h> structdevfs_devices{ structdevfs_devices*next; structdevfs_devices*prev; -uInt8devType; -uInt16devMajor; -uInt16devMinor; +uInt8devType; +uInt16devMajor; +uInt16devMinor; chardevName[32]; }; @@ -247,7 +249,7 @@ }; intdevfs_init(); -intdevfs_makeNode(char*name,uInt8type,uInt16major,uInt16minor); +intdevfs_makeNode(char*name,uInt8type,uInt16major,uInt16minor); /* intdevfs_open(char*file,fileDescriptor*fd); voiddevFSInit(structmountPoints*mp); diff --git a/doc/xml/device_8c.xml b/doc/xml/device_8c.xml index b1e7336..2fdc146 100644 --- a/doc/xml/device_8c.xml +++ b/doc/xml/device_8c.xml @@ -2,62 +2,62 @@ device.c - sys/device.h + sys/device.h ubixos/spinlock.h lib/kmalloc.h lib/kprintf.h assert.h - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + @@ -88,18 +88,18 @@ devices deviceSpinLock - device_node::devInfo + device_node::devInfo device_interface::init - device_interface::initialized + device_interface::initialized kmalloc kprintf - device_node::minor - device_node::next + device_node::minor + device_node::next NULL - device_node::prev + device_node::prev spinLock spinUnlock - device_node::type + device_node::type fdc_init initHardDisk @@ -125,10 +125,10 @@ devices deviceSpinLock - device_node::devInfo - device_interface::major - device_node::minor - device_node::next + device_node::devInfo + device_interface::major + device_node::minor + device_node::next spinLock spinUnlock devfs_open @@ -155,7 +155,7 @@ devices deviceSpinLock kfree - device_node::next + device_node::next NULL spinLock spinUnlock @@ -231,7 +231,7 @@ *****************************************************************************************/ -#include<sys/device.h> +#include<sys/device.h> #include<ubixos/spinlock.h> #include<lib/kmalloc.h> #include<lib/kprintf.h> @@ -252,7 +252,7 @@ 05/19/2004-ImprovingUponthespec *****************************************************************************************/ -intdevice_add(intminor,chartype,structdevice_interface*devInfo){ +intdevice_add(intminor,chartype,structdevice_interface*devInfo){ structdevice_node*tmpDev=0x0; @@ -287,7 +287,7 @@ 05/19/2004-ImprovingUponthespec *****************************************************************************************/ -structdevice_node*device_find(intmajor,intminor){ +structdevice_node*device_find(intmajor,intminor){ structdevice_node*tmpDev=0x0; spinLock(&deviceSpinLock); @@ -311,7 +311,7 @@ Description:Thiswillremoveadevicebasedonit'spointer *********************************************************************************************/ -intdevice_remove(structdevice_node*deviceToDelete) +intdevice_remove(structdevice_node*deviceToDelete) { structdevice_node*current,*previous; diff --git a/doc/xml/device_8old_8h.xml b/doc/xml/device_8old_8h.xml index 47e7159..504328a 100644 --- a/doc/xml/device_8old_8h.xml +++ b/doc/xml/device_8old_8h.xml @@ -2,65 +2,65 @@ device.old.h - ubixos/types.h + ubixos/types.h src/sys/include/isa/ne2k.h src/sys/isa/ne2k.c src/sys/net/netif/ethernetif.c - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -98,14 +98,14 @@ #ifndef_DEVICE_H #define_DEVICE_H -#include<ubixos/types.h> +#include<ubixos/types.h> structdevice{ structnet*net; -uInt16ioAddr; -uInt32irq; +uInt16ioAddr; +uInt32irq; structei_device*priv; -uInt32mtu; +uInt32mtu; }; structnet{ @@ -118,8 +118,8 @@ intrxStartPage; intstopPage; intcurrentPage; -uInt16word16; -uInt32pingPong; +uInt16word16; +uInt32pingPong; inttx1; inttx2; }; diff --git a/doc/xml/dirCache_8c.xml b/doc/xml/dirCache_8c.xml index 28182c8..59ceb64 100644 --- a/doc/xml/dirCache_8c.xml +++ b/doc/xml/dirCache_8c.xml @@ -4,184 +4,186 @@ dirCache.c assert.h ubixfs/dirCache.h - ubixfs/ubixfs.h + ubixfs/ubixfs.h lib/kmalloc.h lib/kprintf.h lib/string.h ubixos/spinlock.h - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - - + + @@ -281,8 +283,8 @@ spinLock spinUnlock cacheNode::startCluster - strcmp - typeFile + strcmp + typeFile ubixfs_cacheAdd ubixfs_cacheFind ubixfs_cacheNew @@ -322,8 +324,8 @@ cacheNode::prev cacheNode::size cacheNode::startCluster - strcpy - strlen + strcpy + strlen ubixfs_cacheFind ubixfs_initialize @@ -337,7 +339,7 @@ dirList - uInt32 + uInt32 size @@ -352,9 +354,9 @@ dirList - directoryEntry::fileName + directoryEntry::fileName NULL - strcmp + strcmp ubixfs_cacheFind @@ -412,7 +414,7 @@ #include<assert.h> #include<ubixfs/dirCache.h> -#include<ubixfs/ubixfs.h> +#include<ubixfs/ubixfs.h> #include<lib/kmalloc.h> #include<lib/kprintf.h> #include<lib/string.h> @@ -423,7 +425,7 @@ static structdirectoryEntry* -ubixfs_findName(structdirectoryEntry*dirList,uInt32size,char*name){ +ubixfs_findName(structdirectoryEntry*dirList,uInt32size,char*name){ unsignedinti; if(dirList==NULL||name==NULL)returnNULL; @@ -480,7 +482,7 @@ //UBUkprintf("tmp->name:[0x%X],dirName:[0x%X]\n",tmp->name,dirName); if(strcmp(tmp->name,dirName)==0){ -if((*tmp->attributes&typeFile)==typeFile +if((*tmp->attributes&typeFile)==typeFile ||tmp->fileListHead==NULL){ /*ifwe'rehere,thentherearenosubdirscachedtolookthrough*/ @@ -576,8 +578,8 @@ tmp->startCluster=NULL; tmp->attributes=NULL; tmp->permissions=NULL; -tmp->name=(char*)kmalloc(strlen(name)+1); -strcpy(tmp->name,name); +tmp->name=(char*)kmalloc(strlen(name)+1); +strcpy(tmp->name,name); returntmp; }/*ubixfs_cacheNew*/ diff --git a/doc/xml/dirCache_8h.xml b/doc/xml/dirCache_8h.xml index c57e4bc..9a2f4d5 100644 --- a/doc/xml/dirCache_8h.xml +++ b/doc/xml/dirCache_8h.xml @@ -2,565 +2,585 @@ dirCache.h - ubixos/types.h - src/sys/include/ubixfs/ubixfs.h - src/sys/include/vfs/file.h + ubixos/types.h + src/sys/include/ubixfs/ubixfs.h + src/sys/include/vfs/file.h src/sys/ubixfs/dirCache.c src/sys/ubixfs/ubixfs.c - + - - + + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + - + - + - + - + - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + + + + + + + + + + + - - - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + - - - - - - - + - - - - - - - - - - - + + + + + - + - + - + - + - + - + - + - + - + - + - - + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - - - + - - - - + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - + - + - - - - - - - - - - - + + + + + - + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - + - + + + + + - + - + - + - + - + - + @@ -657,8 +677,8 @@ spinLock spinUnlock cacheNode::startCluster - strcmp - typeFile + strcmp + typeFile ubixfs_cacheAdd ubixfs_cacheFind ubixfs_cacheNew @@ -697,8 +717,8 @@ cacheNode::prev cacheNode::size cacheNode::startCluster - strcpy - strlen + strcpy + strlen ubixfs_cacheFind ubixfs_initialize @@ -712,7 +732,7 @@ #defineDIRCACHE_H /*#include"ubixfs.h"*/ -#include<ubixos/types.h> +#include<ubixos/types.h> structcacheNode{ char*name; @@ -725,9 +745,9 @@ int*size; intpresent; intdirty; -uInt32*startCluster; -uInt16*attributes; -uInt16*permissions; +uInt32*startCluster; +uInt16*attributes; +uInt16*permissions; };/*cacheNode*/ structcacheNode*ubixfs_cacheFind(structcacheNode*,char*); diff --git a/doc/xml/dir_0da430bc12a622a01803598a1e7c0e05.xml b/doc/xml/dir_0da430bc12a622a01803598a1e7c0e05.xml index 9a3c828..24ed52a 100644 --- a/doc/xml/dir_0da430bc12a622a01803598a1e7c0e05.xml +++ b/doc/xml/dir_0da430bc12a622a01803598a1e7c0e05.xml @@ -3,7 +3,7 @@ src/sys/include/ubixfs/ dirCache.h - ubixfs.h + ubixfs.h diff --git a/doc/xml/dir_77bb06880a0e48020cb00f59405a6b13.xml b/doc/xml/dir_77bb06880a0e48020cb00f59405a6b13.xml index 78cde66..6ba9037 100644 --- a/doc/xml/dir_77bb06880a0e48020cb00f59405a6b13.xml +++ b/doc/xml/dir_77bb06880a0e48020cb00f59405a6b13.xml @@ -2,9 +2,9 @@ src/sys/include/vfs/ - file.h + file.h mount.h - vfs.h + vfs.h diff --git a/doc/xml/dir_832905b1f7f5feaf61a306b40c0ac817.xml b/doc/xml/dir_832905b1f7f5feaf61a306b40c0ac817.xml index dede87d..1c25511 100644 --- a/doc/xml/dir_832905b1f7f5feaf61a306b40c0ac817.xml +++ b/doc/xml/dir_832905b1f7f5feaf61a306b40c0ac817.xml @@ -15,7 +15,6 @@ src/sys/pci/ src/sys/sys/ src/sys/ubixfs/ - src/sys/ubixfsv2/ src/sys/ufs/ src/sys/vfs/ src/sys/vmm/ diff --git a/doc/xml/dir_9854bc9d2b9a2a73f32c73e97d31d0f7.xml b/doc/xml/dir_9854bc9d2b9a2a73f32c73e97d31d0f7.xml index 0494f12..a2df7d5 100644 --- a/doc/xml/dir_9854bc9d2b9a2a73f32c73e97d31d0f7.xml +++ b/doc/xml/dir_9854bc9d2b9a2a73f32c73e97d31d0f7.xml @@ -23,7 +23,7 @@ time.h times.h tty.h - types.h + types.h ubthread.h vitals.h diff --git a/doc/xml/dir_d26f37d6397a53073c964316867e8d67.xml b/doc/xml/dir_d26f37d6397a53073c964316867e8d67.xml index e6b2154..8a379a7 100644 --- a/doc/xml/dir_d26f37d6397a53073c964316867e8d67.xml +++ b/doc/xml/dir_d26f37d6397a53073c964316867e8d67.xml @@ -5,7 +5,7 @@ _types.h buf.h cdefs.h - device.h + device.h device.old.h dma.h driver.h diff --git a/doc/xml/dir_d9dcf62a8e8b4cc91cbf2445d76a799b.xml b/doc/xml/dir_d9dcf62a8e8b4cc91cbf2445d76a799b.xml index f2e36d3..4c9524e 100644 --- a/doc/xml/dir_d9dcf62a8e8b4cc91cbf2445d76a799b.xml +++ b/doc/xml/dir_d9dcf62a8e8b4cc91cbf2445d76a799b.xml @@ -14,7 +14,9 @@ net.c ogprintf.cc sqrt.c + strcpy.S string.c + strlen.S strtok.c strtol.c vsprintf.c diff --git a/doc/xml/directory_8c.xml b/doc/xml/directory_8c.xml index cbf4b9c..f049c10 100644 --- a/doc/xml/directory_8c.xml +++ b/doc/xml/directory_8c.xml @@ -2,176 +2,178 @@ directory.c - ubixfs/ubixfs.h - vfs/file.h + ubixfs/ubixfs.h + vfs/file.h vfs/mount.h - ubixos/types.h + ubixos/types.h lib/kmalloc.h lib/kprintf.h lib/string.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - - + + @@ -186,7 +188,7 @@ dir - fileDescriptor * + fileDescriptor * fd @@ -199,10 +201,10 @@ kmalloc kprintf memcpy - fileDescriptor::offset - readUbixFS - fileDescriptor::size - writeUbixFS + fileDescriptorStruct::offset + readUbixFS + fileDescriptorStruct::size + writeUbixFS x1000 ubixFSmkDir @@ -222,14 +224,14 @@ - directoryList::dirCache + directoryList::dirCache dirList - directoryList::dirName + directoryList::dirName kmalloc - directoryList::next - directoryList::prev + directoryList::next + directoryList::prev sprintf - strcmp + strcmp int @@ -241,7 +243,7 @@ directory - fileDescriptor * + fileDescriptor * fd @@ -251,21 +253,30 @@ - addDirEntry - directoryEntry::attributes - ubixFSInfo::blockAllocationTable - blockSize - directoryEntry::fileName - getFreeBlocks + addDirEntry + directoryEntry::attributes + ubixFSInfo::blockAllocationTable + blockSize + vfs_mountPoint::device + device_node::devInfo + vfs_mountPoint::diskLabel + directoryEntry::fileName + vfs_mountPoint::fsInfo + getFreeBlocks + device_interface::info kfree kmalloc - directoryEntry::permissions - blockAllocationTableEntry::realSector - directoryEntry::size + fileDescriptorStruct::mp + vfs_mountPoint::partition + ubixDiskLabel::partitions + directoryEntry::permissions + blockAllocationTableEntry::realSector + directoryEntry::size sprintf - directoryEntry::startCluster - typeDirectory - UBIXFS_BLOCKSIZE_BYTES + directoryEntry::startCluster + typeDirectory + UBIXFS_BLOCKSIZE_BYTES + device_interface::write ubixfs_init @@ -322,10 +333,10 @@ *****************************************************************************************/ -#include<ubixfs/ubixfs.h> -#include<vfs/file.h> +#include<ubixfs/ubixfs.h> +#include<vfs/file.h> #include<vfs/mount.h> -#include<ubixos/types.h> +#include<ubixos/types.h> #include<lib/kmalloc.h> #include<lib/kprintf.h> #include<lib/string.h> @@ -333,7 +344,7 @@ staticdirList_tdirList=0x0; dirList_t -ubixFSLoadDir(char*data){ +ubixFSLoadDir(char*data){ dirList_ttmpDir=0x0; tmpDir=(dirList_t)kmalloc(sizeof(structdirectoryList)); @@ -358,15 +369,15 @@ } int -addDirEntry(structdirectoryEntry*dir,fileDescriptor*fd){ -uInt32i=0x0; -uInt32entries=0x0; +addDirEntry(structdirectoryEntry*dir,fileDescriptor*fd){ +uInt32i=0x0; +uInt32entries=0x0; structdirectoryEntry*tmp=0x0; -tmp=(structdirectoryEntry*)kmalloc(fd->size); +tmp=(structdirectoryEntry*)kmalloc(fd->size); -readUbixFS(fd,(char*)tmp,fd->offset,fd->size); -entries=fd->size/sizeof(structdirectoryEntry); +readUbixFS(fd,(char*)tmp,fd->offset,fd->size); +entries=fd->size/sizeof(structdirectoryEntry); for(i=0;(tmp[i].attributes!=0x0)&&(i<entries);i++); if(i==entries){ @@ -374,11 +385,11 @@ i=0x0; } else{ -fd->offset=0x0; +fd->offset=0x0; } memcpy(&tmp[i],dir,sizeof(structdirectoryEntry)); -if(writeUbixFS(fd,(char*)tmp,fd->offset,fd->size)==0x0){ +if(writeUbixFS(fd,(char*)tmp,fd->offset,fd->size)==0x0){ kprintf("ErrorCreatingDirectory\n"); } @@ -386,34 +397,34 @@ } int -ubixFSmkDir(char*directory,fileDescriptor*fd){ +ubixFSmkDir(char*directory,fileDescriptor*fd){ intblock=0x0; structdirectoryEntry*dir=0x0; structdirectoryEntry*entry=0x0; -structubixFSInfo*fsInfo=fd->mp->fsInfo; +structubixFSInfo*fsInfo=fd->mp->fsInfo; //kprintf("CreatingDirectory:%s",directory); -block=getFreeBlocks(1,fd); +block=getFreeBlocks(1,fd); if(block!=0x0){ -dir=(structdirectoryEntry*)kmalloc(UBIXFS_BLOCKSIZE_BYTES); +dir=(structdirectoryEntry*)kmalloc(UBIXFS_BLOCKSIZE_BYTES); entry=(structdirectoryEntry*)kmalloc(sizeof(structdirectoryEntry)); entry->startCluster=block; -entry->size=UBIXFS_BLOCKSIZE_BYTES; -entry->attributes=typeDirectory; +entry->size=UBIXFS_BLOCKSIZE_BYTES; +entry->attributes=typeDirectory; entry->permissions=0xEAA; sprintf(entry->fileName,directory); //dir->attributes=typeDirectory; //sprintf(dir->fileName,"TestEntry"); -fd->mp->device->devInfo->write(fd->mp->device->devInfo->info, +fd->mp->device->devInfo->write(fd->mp->device->devInfo->info, dir, -fd->mp->diskLabel->partitions[fd->mp->partition].pOffset+fsInfo->blockAllocationTable[block].realSector, -blockSize); -addDirEntry(entry,fd); +fd->mp->diskLabel->partitions[fd->mp->partition].pOffset+fsInfo->blockAllocationTable[block].realSector, +blockSize); +addDirEntry(entry,fd); kfree(dir); kfree(entry); } diff --git a/doc/xml/divdi3_8c.xml b/doc/xml/divdi3_8c.xml index d27a1df..6f87a4c 100644 --- a/doc/xml/divdi3_8c.xml +++ b/doc/xml/divdi3_8c.xml @@ -4,41 +4,41 @@ divdi3.c math.h - + - + - + - - + + - + - + - + - quad_t + quad_t quad_t __divdi3 (quad_t a, quad_t b) __divdi3 - quad_t + quad_t a - quad_t + quad_t b @@ -111,7 +111,7 @@ return(0);/*QuickHack*/ } -quad_t__divdi3(quad_ta,quad_tb){ +quad_t__divdi3(quad_ta,quad_tb){ return(0);/*QuickHack*/ } diff --git a/doc/xml/dma_8c.xml b/doc/xml/dma_8c.xml index 1860ad9..e7d7c08 100644 --- a/doc/xml/dma_8c.xml +++ b/doc/xml/dma_8c.xml @@ -4,35 +4,35 @@ dma.c sys/dma.h sys/io.h - ubixos/types.h + ubixos/types.h - + - + - + - - + + - + - + - + - + - + - + @@ -72,23 +72,23 @@ (uInt8 dmaChannel, uInt8 page, uInt offset, uInt length, uInt8 mode) _dmaXfer - uInt8 + uInt8 dmaChannel - uInt8 + uInt8 page - uInt + uInt offset - uInt + uInt length - uInt8 + uInt8 mode @@ -115,19 +115,19 @@ (uInt8 channel, uInt32 address, uInt length, uInt8 read) dmaXfer - uInt8 + uInt8 channel - uInt32 + uInt32 address - uInt + uInt length - uInt8 + uInt8 read @@ -143,7 +143,7 @@ - uInt8 + uInt8 uInt8 addrPort[8] [8] addrPort @@ -158,7 +158,7 @@ _dmaXfer - uInt8 + uInt8 uInt8 clearReg[8] [8] clearReg @@ -173,7 +173,7 @@ _dmaXfer - uInt8 + uInt8 uInt8 countPort[8] [8] countPort @@ -188,7 +188,7 @@ _dmaXfer - uInt8 + uInt8 uInt8 maskReg[8] [8] maskReg @@ -203,7 +203,7 @@ _dmaXfer - uInt8 + uInt8 uInt8 modeReg[8] [8] modeReg @@ -218,7 +218,7 @@ _dmaXfer - uInt8 + uInt8 uInt8 pagePort[8] [8] pagePort @@ -269,19 +269,19 @@ #include<sys/dma.h> #include<sys/io.h> -#include<ubixos/types.h> +#include<ubixos/types.h> #definelowByte(x)(x&0x00FF) #definehighByte(x)((x&0xFF00)>>8) -staticuInt8maskReg[8]={0x0A,0x0A,0x0A,0x0A,0xD4,0xD4,0xD4,0xD4}; -staticuInt8clearReg[8]={0x0C,0x0C,0x0C,0x0C,0xD8,0xD8,0xD8,0xD8}; -staticuInt8modeReg[8]={0x0B,0x0B,0x0B,0x0B,0xD6,0xD6,0xD6,0xD6}; -staticuInt8addrPort[8]={0x00,0x02,0x04,0x06,0xC0,0xC4,0xC8,0xCC}; -staticuInt8pagePort[8]={0x87,0x83,0x81,0x82,0x8F,0x8B,0x89,0x8A}; -staticuInt8countPort[8]={0x01,0x03,0x05,0x07,0xC2,0xC6,0xCA,0xCE}; +staticuInt8maskReg[8]={0x0A,0x0A,0x0A,0x0A,0xD4,0xD4,0xD4,0xD4}; +staticuInt8clearReg[8]={0x0C,0x0C,0x0C,0x0C,0xD8,0xD8,0xD8,0xD8}; +staticuInt8modeReg[8]={0x0B,0x0B,0x0B,0x0B,0xD6,0xD6,0xD6,0xD6}; +staticuInt8addrPort[8]={0x00,0x02,0x04,0x06,0xC0,0xC4,0xC8,0xCC}; +staticuInt8pagePort[8]={0x87,0x83,0x81,0x82,0x8F,0x8B,0x89,0x8A}; +staticuInt8countPort[8]={0x01,0x03,0x05,0x07,0xC2,0xC6,0xCA,0xCE}; -voiddmaXfer(uInt8channel,uInt32address,uIntlength,uInt8read){ +voiddmaXfer(uInt8channel,uInt32address,uIntlength,uInt8read){ unsignedcharpage=0,mode=0; unsignedintoffset=0; if(read){ @@ -296,7 +296,7 @@ _dmaXfer(channel,page,offset,length,mode); } -void_dmaXfer(uInt8dmaChannel,uInt8page,uIntoffset,uIntlength,uInt8mode){ +void_dmaXfer(uInt8dmaChannel,uInt8page,uIntoffset,uIntlength,uInt8mode){ //asm("cli"); outportByte(maskReg[dmaChannel],0x04|dmaChannel); outportByte(clearReg[dmaChannel],0x00); diff --git a/doc/xml/dma_8h.xml b/doc/xml/dma_8h.xml index c19de51..7f345db 100644 --- a/doc/xml/dma_8h.xml +++ b/doc/xml/dma_8h.xml @@ -2,41 +2,41 @@ dma.h - ubixos/types.h + ubixos/types.h src/sys/isa/fdc.c src/sys/sys/dma.c - + - + - + - - + + - + - + - + - + - + - + @@ -48,23 +48,23 @@ (uInt8 dmaChannel, uInt8 page, uInt offset, uInt length, uInt8 mode) _dmaXfer - uInt8 + uInt8 dmaChannel - uInt8 + uInt8 page - uInt + uInt offset - uInt + uInt length - uInt8 + uInt8 mode @@ -91,19 +91,19 @@ (uInt8 channel, uInt32 address, uInt length, uInt8 read) dmaXfer - uInt8 + uInt8 channel - uInt32 + uInt32 address - uInt + uInt length - uInt8 + uInt8 read @@ -154,10 +154,10 @@ #ifndef_DMA_H #define_DMA_H -#include<ubixos/types.h> +#include<ubixos/types.h> -voiddmaXfer(uInt8channel,uInt32address,uIntlength,uInt8read); -void_dmaXfer(uInt8dmaChannel,uInt8page,uIntoffset,uIntlength,uInt8mode); +voiddmaXfer(uInt8channel,uInt32address,uIntlength,uInt8read); +void_dmaXfer(uInt8dmaChannel,uInt8page,uIntoffset,uIntlength,uInt8mode); #endif diff --git a/doc/xml/driver_8h.xml b/doc/xml/driver_8h.xml index ccbbd49..a28d07f 100644 --- a/doc/xml/driver_8h.xml +++ b/doc/xml/driver_8h.xml @@ -2,22 +2,22 @@ driver.h - ubixos/types.h + ubixos/types.h - + - - + + - + - + - + @@ -75,7 +75,7 @@ #ifndef_DRIVER_H #define_DRIVER_H -#include<ubixos/types.h> +#include<ubixos/types.h> typedefstructdevMethodTypedevMethod; diff --git a/doc/xml/elf_8c.xml b/doc/xml/elf_8c.xml index 881b9c1..75a3995 100644 --- a/doc/xml/elf_8c.xml +++ b/doc/xml/elf_8c.xml @@ -4,26 +4,26 @@ elf.c ubixos/elf.h - + - + - + - - + + - + - + - + @@ -158,7 +158,7 @@ - uInt32 + uInt32 uInt32 id id @@ -171,7 +171,7 @@ - uInt32 + uInt32 uInt32 id id @@ -184,7 +184,7 @@ - uInt32 + uInt32 uInt32 id id @@ -197,7 +197,7 @@ - uInt32 + uInt32 uInt32 id id @@ -290,7 +290,7 @@ conststruct{ char*elfTypeName; -uInt32id; +uInt32id; }elfType[]={ {"ET_NONE",0}, {"ET_REL",1}, @@ -303,7 +303,7 @@ conststruct{ char*phTypeName; -uInt32id; +uInt32id; }elfPhType[]={ {"PT_NULL",0}, {"PT_LOAD",1}, @@ -318,7 +318,7 @@ conststruct{ char*shTypeName; -uInt32id; +uInt32id; }elfShType[]={ {"SHT_NULL",0}, {"SHT_PROGBITS",1}, @@ -336,7 +336,7 @@ conststruct{ char*relTypeName; -uInt32id; +uInt32id; }elfRelType[]={ {"R_386_NONE",0}, {"R_386_32",1}, diff --git a/doc/xml/elf_8h.xml b/doc/xml/elf_8h.xml index 878f93b..eb92ae7 100644 --- a/doc/xml/elf_8h.xml +++ b/doc/xml/elf_8h.xml @@ -2,104 +2,176 @@ elf.h - ubixos/types.h + ubixos/types.h src/sys/include/ubixos/sched.h src/sys/kernel/elf.c src/sys/kernel/ld.c src/sys/kernel/syscall.c src/sys/kmods/kmod.c - + - - + + - + - + - + - + - + - - - - - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -110,330 +182,258 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - + - + + + + + + + + + + + - + - + - + - + - + - + - + - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - + + + + + + + + + + + + + + + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + @@ -707,7 +707,7 @@ kmod_load ldEnable - sysExec + sysExec PT_GNU_EH_FRAME @@ -776,7 +776,7 @@ - sysExec + sysExec PT_LOAD @@ -790,7 +790,7 @@ kmod_load ldEnable - sysExec + sysExec PT_LOOS @@ -1094,7 +1094,7 @@ #ifndef_ELF_H #define_ELF_H -#include<ubixos/types.h> +#include<ubixos/types.h> #defineelfExecutable0x002 #defineelfLibrary0x003 @@ -1158,61 +1158,61 @@ /*EndElfProgramHeaderTypes*/ typedefstruct{ -uInt8eIdent[16];/*Fileidentification.*/ -uInt16eType;/*Filetype.*/ -uInt16eMachine;/*Machinearchitecture.*/ -uInt32eVersion;/*ELFformatversion.*/ -uInt32eEntry;/*Entrypoint.*/ -uInt32ePhoff;/*Programheaderfileoffset.*/ -uInt32eShoff;/*Sectionheaderfileoffset.*/ -uInt32eFlags;/*Architecture-specificflags.*/ -uInt16eEhsize;/*SizeofELFheaderinbytes.*/ -uInt16ePhentsize;/*Sizeofprogramheaderentry.*/ -uInt16ePhnum;/*Numberofprogramheaderentries.*/ -uInt16eShentsize;/*Sizeofsectionheaderentry.*/ -uInt16eShnum;/*Numberofsectionheaderentries.*/ -uInt16eShstrndx;/*Sectionnamestringssection.*/ +uInt8eIdent[16];/*Fileidentification.*/ +uInt16eType;/*Filetype.*/ +uInt16eMachine;/*Machinearchitecture.*/ +uInt32eVersion;/*ELFformatversion.*/ +uInt32eEntry;/*Entrypoint.*/ +uInt32ePhoff;/*Programheaderfileoffset.*/ +uInt32eShoff;/*Sectionheaderfileoffset.*/ +uInt32eFlags;/*Architecture-specificflags.*/ +uInt16eEhsize;/*SizeofELFheaderinbytes.*/ +uInt16ePhentsize;/*Sizeofprogramheaderentry.*/ +uInt16ePhnum;/*Numberofprogramheaderentries.*/ +uInt16eShentsize;/*Sizeofsectionheaderentry.*/ +uInt16eShnum;/*Numberofsectionheaderentries.*/ +uInt16eShstrndx;/*Sectionnamestringssection.*/ }elfHeader; typedefstruct{ -uInt32phType;/*Entrytype.*/ -uInt32phOffset;/*Fileoffsetofcontents.*/ -uInt32phVaddr;/*Virtualaddressinmemoryimage.*/ -uInt32phPaddr;/*Physicaladdress(notused).*/ -uInt32phFilesz;/*Sizeofcontentsinfile.*/ -uInt32phMemsz;/*Sizeofcontentsinmemory.*/ -uInt32phFlags;/*Accesspermissionflags.*/ -uInt32phAlign;/*Alignmentinmemoryandfile.*/ +uInt32phType;/*Entrytype.*/ +uInt32phOffset;/*Fileoffsetofcontents.*/ +uInt32phVaddr;/*Virtualaddressinmemoryimage.*/ +uInt32phPaddr;/*Physicaladdress(notused).*/ +uInt32phFilesz;/*Sizeofcontentsinfile.*/ +uInt32phMemsz;/*Sizeofcontentsinmemory.*/ +uInt32phFlags;/*Accesspermissionflags.*/ +uInt32phAlign;/*Alignmentinmemoryandfile.*/ }elfProgramHeader; typedefstruct{ -uInt32shName;/*Sectionname(indexintothesectionheaderstringtable).*/ -uInt32shType;/*Sectiontype.*/ -uInt32shFlags;/*Sectionflags.*/ -uInt32shAddr;/*Addressinmemoryimage.*/ -uInt32shOffset;/*Offsetinfile.*/ -uInt32shSize;/*Sizeinbytes.*/ -uInt32shLink;/*Indexofarelatedsection.*/ -uInt32shInfo;/*Dependsonsectiontype.*/ -uInt32shAddralign;/*Alignmentinbytes.*/ -uInt32shEntsize;/*Sizeofeachentryinsection.*/ +uInt32shName;/*Sectionname(indexintothesectionheaderstringtable).*/ +uInt32shType;/*Sectiontype.*/ +uInt32shFlags;/*Sectionflags.*/ +uInt32shAddr;/*Addressinmemoryimage.*/ +uInt32shOffset;/*Offsetinfile.*/ +uInt32shSize;/*Sizeinbytes.*/ +uInt32shLink;/*Indexofarelatedsection.*/ +uInt32shInfo;/*Dependsonsectiontype.*/ +uInt32shAddralign;/*Alignmentinbytes.*/ +uInt32shEntsize;/*Sizeofeachentryinsection.*/ }elfSectionHeader; typedefstruct{ -uInt32pltOffset; -uInt32pltInfo; +uInt32pltOffset; +uInt32pltInfo; }elfPltInfo; typedefstruct{ -uInt32dynName; -uInt32dynValue; -uInt32dynSize; -uInt32dynInfo; +uInt32dynName; +uInt32dynValue; +uInt32dynSize; +uInt32dynInfo; }elfDynSym; typedefstruct{ -uInt32dynVal; -uInt32dynPtr; +uInt32dynVal; +uInt32dynPtr; }elfDynamic; char*elfGetShType(int); diff --git a/doc/xml/endtask_8c.xml b/doc/xml/endtask_8c.xml index 5cafea2..3ea3dac 100644 --- a/doc/xml/endtask_8c.xml +++ b/doc/xml/endtask_8c.xml @@ -2,191 +2,193 @@ endtask.c - ubixos/types.h + ubixos/types.h ubixos/sched.h ubixos/vitals.h vmm/vmm.h lib/kprintf.h isa/8259.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -197,7 +199,7 @@ (pidType pid) endTask - pidType + pidType pid @@ -212,7 +214,7 @@ taskStruct::id sched_setStatus sched_yield - __sysctl + __sysctl _int0 _int1 _int10 @@ -226,7 +228,7 @@ _int9 netMainThread schedEndTask - sysExec + sysExec sysExit vmm_pageFault @@ -265,7 +267,7 @@ *****************************************************************************************/ -#include<ubixos/types.h> +#include<ubixos/types.h> #include<ubixos/sched.h> #include<ubixos/vitals.h> #include<vmm/vmm.h> @@ -281,7 +283,7 @@ Notes: ************************************************************************/ -voidendTask(pidTypepid){ +voidendTask(pidTypepid){ //kTask_t*tmpTask=0x0; /*Don'tmesswithschedulerstructuresfromoutsidethescheduler!*/ diff --git a/doc/xml/endtask_8h.xml b/doc/xml/endtask_8h.xml index 9e3b4f6..f891d45 100644 --- a/doc/xml/endtask_8h.xml +++ b/doc/xml/endtask_8h.xml @@ -2,7 +2,7 @@ endtask.h - ubixos/types.h + ubixos/types.h ubixos/sched.h src/sys/isa/atkbd.c src/sys/kernel/exec.c @@ -15,177 +15,179 @@ src/sys/net/net/init.c src/sys/sys/idt.c - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - - + + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -197,7 +199,7 @@ (pidType) endTask - pidType + pidType @@ -211,7 +213,7 @@ taskStruct::id sched_setStatus sched_yield - __sysctl + __sysctl _int0 _int1 _int10 @@ -225,7 +227,7 @@ _int9 netMainThread schedEndTask - sysExec + sysExec sysExit vmm_pageFault @@ -267,10 +269,10 @@ #ifndef_ENDTASK_H #define_ENDTASK_H -#include<ubixos/types.h> +#include<ubixos/types.h> #include<ubixos/sched.h> -voidendTask(pidType); +voidendTask(pidType); #endif diff --git a/doc/xml/err_8c.xml b/doc/xml/err_8c.xml index b9c3cc0..86f608b 100644 --- a/doc/xml/err_8c.xml +++ b/doc/xml/err_8c.xml @@ -4,37 +4,37 @@ err.c net/err.h - + - - + + - + - + - + - + - + - + - + - + - + diff --git a/doc/xml/err_8h.xml b/doc/xml/err_8h.xml index e186418..e3d4869 100644 --- a/doc/xml/err_8h.xml +++ b/doc/xml/err_8h.xml @@ -2,7 +2,7 @@ err.h - ubixos/types.h + ubixos/types.h net/debug.h net/arch/cc.h src/sys/include/net/api.h @@ -12,225 +12,225 @@ src/sys/include/net/udp.h src/sys/net/api/err.c - + - - + + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -421,7 +421,7 @@ - Int8 + Int8 typedef Int8 err_t err_t @@ -476,13 +476,13 @@ #ifndef__LWIP_ERR_H__ #define__LWIP_ERR_H__ -#include<ubixos/types.h> +#include<ubixos/types.h> #include"net/debug.h" #include"net/arch/cc.h" -typedefInt8err_t; +typedefInt8err_t; /*Definitionsforerrorconstants.*/ diff --git a/doc/xml/ethernetif_8c.xml b/doc/xml/ethernetif_8c.xml index fcf2193..65aa192 100644 --- a/doc/xml/ethernetif_8c.xml +++ b/doc/xml/ethernetif_8c.xml @@ -2,7 +2,7 @@ ethernetif.c - ubixos/types.h + ubixos/types.h ubixos/sched.h lib/kmalloc.h lib/kprintf.h @@ -16,283 +16,285 @@ net/sys.h netif/arp.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -618,8 +620,6 @@ NICtoPC pci_init PCtoNIC - UbixFS::UbixFS - UbixFS::vfs_format struct eth_addr @@ -703,7 +703,7 @@ *somethingthatbetterdescribesyournetworkinterface. */ -#include<ubixos/types.h> +#include<ubixos/types.h> #include<ubixos/sched.h> #include<lib/kmalloc.h> #include<lib/kprintf.h> @@ -804,7 +804,7 @@ /*-----------------------------------------------------------------------------------*/ staticstructpbuf*low_level_input(structethernetif*ethernetif){ structpbuf*p,*q; -uInt16len; +uInt16len; char*bufptr; char*buf; @@ -853,7 +853,7 @@ structeth_addr*dest,mcastaddr; structip_addr*queryaddr; err_terr; -uInt8i; +uInt8i; ethernetif=netif->state; diff --git a/doc/xml/ethernetif_8h.xml b/doc/xml/ethernetif_8h.xml index e9d4022..0f761b5 100644 --- a/doc/xml/ethernetif_8h.xml +++ b/doc/xml/ethernetif_8h.xml @@ -5,111 +5,111 @@ net/netif.h src/sys/net/net/init.c - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - - + + + - + - + - + - + diff --git a/doc/xml/exec_8c.xml b/doc/xml/exec_8c.xml index 9562ff6..127d540 100644 --- a/doc/xml/exec_8c.xml +++ b/doc/xml/exec_8c.xml @@ -13,194 +13,196 @@ lib/string.h assert.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -216,7 +218,7 @@ execFile - sysExec + sysExec @@ -269,11 +271,11 @@ tssStruct::esp1 tssStruct::esp2 elfHeader::eType - fclose - fopen - fread + fclose + fopen + fread tssStruct::fs - fseek + fseek taskStruct::gid tssStruct::gs taskStruct::id @@ -293,6 +295,7 @@ PAGE_PRESENT PAGE_STACK PAGE_USER + fileDescriptorStruct::perms elfProgramHeader::phMemsz elfProgramHeader::phVaddr READY @@ -309,7 +312,7 @@ taskStruct::tss tty_find taskStruct::uid - thread::vm_daddr + thread::vm_daddr vmm_remapPage vmm_setPageAttributes vmmCreateVirtualSpace @@ -321,7 +324,7 @@ kmain - uInt32 + uInt32 uInt32 execThread (void(*tproc)(void), uInt32 stack, char *arg) execThread @@ -330,7 +333,7 @@ tproc - uInt32 + uInt32 stack @@ -381,34 +384,32 @@ kmain ubthread_create - + void void sysExec - (char *file, int argc, char **argv) + (char *file, char *ap) sysExec char * file - int - argc - - - char ** - argv + char * + ap - - +Clean the virtual of COW pages left over from the forkAdjust iframebuild argc and argv[] + _current assert + i386_frame::ebp elfHeader::eEntry elfHeader::eIdent + i386_frame::eip endTask elfHeader::ePhnum elfHeader::ePhoff @@ -416,10 +417,10 @@ elfHeader::eShoff tssStruct::esp0 elfHeader::eType - fclose - fopen - fread - fseek + fclose + fopen + fread + fseek taskStruct::id taskStruct::imageFd K_PANIC @@ -435,6 +436,7 @@ PAGE_SHIFT PAGE_SIZE PAGE_USER + fileDescriptorStruct::perms elfProgramHeader::phMemsz elfProgramHeader::phVaddr PT_DYNAMIC @@ -442,15 +444,20 @@ PT_LOAD round_page STACK_ADDR + strcpy + strlen taskStruct::td trunc_page taskStruct::tss - thread::vm_daddr - thread::vm_dsize - vmm_cleanVirtualSpace + i386_frame::user_esp + thread::vm_daddr + thread::vm_dsize + VM_TASK + vmm_cleanVirtualSpace vmm_remapPage vmm_setPageAttributes vmmFindFreePage + vmmGetFreeVirtualPage osInfo::vmStart x1000 @@ -513,7 +520,7 @@ sodonotuseoutsideofkernelspace *****************************************************************************************/ -uInt32execThread(void(*tproc)(void),uInt32stack,char*arg){ +uInt32execThread(void(*tproc)(void),uInt32stack,char*arg){ kTask_t*newProcess=0x0; /*FindANewThread*/ newProcess=schedNewTask(); @@ -582,7 +589,7 @@ sched_setStatus(newProcess->id,READY); /*ReturnwiththenewprocessID*/ -return((uInt32)newProcess); +return((uInt32)newProcess); } /***************************************************************************************** @@ -605,9 +612,9 @@ inti=0x0; intx=0x0; -u_int32_t*tmp=0x0; +u_int32_t*tmp=0x0; -fileDescriptor*tmpFd=0x0; +fileDescriptor*tmpFd=0x0; elfHeader*binaryHeader=0x0; elfProgramHeader*programHeader=0x0; @@ -624,27 +631,27 @@ _current->term->owner=_current->id; /*NowWeMustCreateAVirtualSpaceForThisProccessToRunIn*/ -_current->tss.cr3=(uInt32)vmmCreateVirtualSpace(_current->id); +_current->tss.cr3=(uInt32)vmmCreateVirtualSpace(_current->id); /*ToBetterLoadThisApplicationWeWillSwitchOverToItsVMSpace*/ asmvolatile( "movl%0,%%eax\n" "movl%%eax,%%cr3\n" -::"d"((uInt32*)(_current->tss.cr3)) +::"d"((uInt32*)(_current->tss.cr3)) ); /*LetsFindTheFile*/ -tmpFd=fopen(file,"r"); +tmpFd=fopen(file,"r"); /*IfWeDontFindtheFileReturn*/ if(tmpFd==0x0){ kprintf("ExecFormatError:BinaryFileNotExecutable.\n"); -fclose(tmpFd); +fclose(tmpFd); return; } -if(tmpFd->perms==0x0){ +if(tmpFd->perms==0x0){ kprintf("ExecFormatError:BinaryFileNotExecutable.\n"); -fclose(tmpFd); +fclose(tmpFd); return; } @@ -653,35 +660,35 @@ //kprintf(">a:%i:0x%X:0x%X<",sizeof(elfHeader),binaryHeader,tmpFd); -fread(binaryHeader,sizeof(elfHeader),1,tmpFd); +fread(binaryHeader,sizeof(elfHeader),1,tmpFd); /*CheckIfAppIsARealApplication*/ if((binaryHeader->eIdent[1]!='E')&&(binaryHeader->eIdent[2]!='L')&&(binaryHeader->eIdent[3]!='F')){ kprintf("ExecFormatError:BinaryFileNotExecutable.\n"); kfree(binaryHeader); -fclose(tmpFd); +fclose(tmpFd); return; } elseif(binaryHeader->eType!=2){ kprintf("ExecFormatError:BinaryFileNotExecutable.\n"); kfree(binaryHeader); -fclose(tmpFd); +fclose(tmpFd); return; } elseif(binaryHeader->eEntry==0x300000){ kprintf("ExecFormatError:BinaryFileNotExecutable.\n"); kfree(binaryHeader); -fclose(tmpFd); +fclose(tmpFd); return; } /*LoadTheProgramHeader(s)*/ programHeader=(elfProgramHeader*)kmalloc(sizeof(elfProgramHeader)*binaryHeader->ePhnum); -fseek(tmpFd,binaryHeader->ePhoff,0); +fseek(tmpFd,binaryHeader->ePhoff,0); //kprintf(">c:%i:0x%X:0x%X<",sizeof(elfProgramHeader)*binaryHeader->ePhnum,programHeader,tmpFd); -fread(programHeader,(sizeof(elfProgramHeader)*binaryHeader->ePhnum),1,tmpFd); +fread(programHeader,(sizeof(elfProgramHeader)*binaryHeader->ePhnum),1,tmpFd); //kprintf(">d<"); /*LoopThroughTheHeaderAndLoadSectionsWhichNeedToBeLoaded*/ @@ -701,8 +708,8 @@ _current->oInfo.vmStart=0x80000000; _current->td.vm_daddr=(char*)(programHeader[i].phVaddr&0xFFFFF000); /*NowLoadSectionToMemory*/ -fseek(tmpFd,programHeader[i].phOffset,0); -fread((void*)programHeader[i].phVaddr,programHeader[i].phFilesz,1,tmpFd); +fseek(tmpFd,programHeader[i].phOffset,0); +fread((void*)programHeader[i].phVaddr,programHeader[i].phFilesz,1,tmpFd); if((programHeader[i].phFlags&0x2)!=0x2){ kprintf("pH:[0x%X]\n",programHeader[i].phMemsz); for(x=0x0;x<(programHeader[i].phMemsz);x+=0x1000){ @@ -757,26 +764,26 @@ kfree(binaryHeader); kfree(programHeader); -fclose(tmpFd); +fclose(tmpFd); -tmp=(uInt32*)_current->tss.esp0-5; +tmp=(uInt32*)_current->tss.esp0-5; tmp[0]=binaryHeader->eEntry; tmp[3]=STACK_ADDR-12; -tmp=(uInt32*)STACK_ADDR-2; +tmp=(uInt32*)STACK_ADDR-2; if(_current->id>4) kprintf("argv[0]:[%s]\n",argv[0]); kprintf("argv:[0x%X]\n",argv); -tmp[0]=(u_int32_t)argv; -tmp[1]=(u_int32_t)argv; +tmp[0]=(u_int32_t)argv; +tmp[1]=(u_int32_t)argv; /*SwitchBackToTheKernelsVMSpace*/ asmvolatile( "movl%0,%%eax\n" "movl%%eax,%%cr3\n" -::"d"((uInt32*)(kernelPageDirectory)) +::"d"((uInt32*)(kernelPageDirectory)) ); /*FinallyReturn*/ @@ -792,170 +799,211 @@ 04-22-03-ItNowLoadsSectionsNotTheFullFile *****************************************************************************************/ -voidsysExec(char*file,intargc,char**argv){ -inti=0x0; -intx=0x0; -uInt32*tmp=0x0; -uInt32ldAddr=0x0; -uInt32seg_size=0x0; -uInt32seg_addr=0x0; -char*interp=0x0; - -fileDescriptor*tmpFd=0x0; -elfHeader*binaryHeader=0x0; -elfProgramHeader*programHeader=0x0; -elfSectionHeader*sectionHeader=0x0; -elfDynamic*elfDynamicS=0x0; - -tmpFd=fopen(file,"r"); -_current->imageFd=tmpFd; -/*IfWeDontFindtheFileReturn*/ -if(tmpFd==0x0){ -return; -} -if(tmpFd->perms==0){ -kprintf("ExecFormatError:BinaryFileNotExecutable.\n"); -fclose(tmpFd); +voidsysExec(char*file,char*ap){ +inti=0x0; +intx=0x0; +intargc=0x0; +uInt32*tmp=0x0; +uInt32ldAddr=0x0; +uInt32seg_size=0x0; +uInt32seg_addr=0x0; +char*interp=0x0; +char**argv=0x0; +char**argvNew=0x0; +char*args=0x0; + +fileDescriptor*tmpFd=0x0; +elfHeader*binaryHeader=0x0; +elfProgramHeader*programHeader=0x0; +elfSectionHeader*sectionHeader=0x0; +elfDynamic*elfDynamicS=0x0; +structi386_frame*iFrame=0x0; + +tmpFd=fopen(file,"r"); +_current->imageFd=tmpFd; +/*IfWeDontFindtheFileReturn*/ +if(tmpFd==0x0){ return; } - -/*LoadELFHeader*/ - -if((binaryHeader=(elfHeader*)kmalloc(sizeof(elfHeader)))==0x0) -endTask(_current->id); -fread(binaryHeader,sizeof(elfHeader),1,tmpFd); -/*SetsectionHeaderToPointToLoadedBinaryToWeCanGatherInfo*/ +if(tmpFd->perms==0){ +kprintf("ExecFormatError:BinaryFileNotExecutable.\n"); +fclose(tmpFd); +return; +} + +/*LoadELFHeader*/ -/*CheckIfAppIsARealApplication*/ -if((binaryHeader->eIdent[1]!='E')&&(binaryHeader->eIdent[2]!='L')&&(binaryHeader->eIdent[3]!='F')){ -kprintf("ExecFormatError:BinaryFileNotExecutable.\n"); -kfree(binaryHeader); -fclose(tmpFd); - -return; -} -elseif(binaryHeader->eType!=2){ -kprintf("ExecFormatError:BinaryFileNotExecutable.\n"); -kfree(binaryHeader); -fclose(tmpFd); -return; -} -elseif(binaryHeader->eEntry==0x300000){ -kprintf("ExecFormatError:BinaryFileNotExecutable.\n"); -kfree(binaryHeader); -fclose(tmpFd); -return; -} - -/*LoadTheProgramHeader(s)*/ -if((programHeader=(elfProgramHeader*)kmalloc(sizeof(elfProgramHeader)*binaryHeader->ePhnum))==0x0) -endTask(_current->id); - -assert(programHeader); -fseek(tmpFd,binaryHeader->ePhoff,0); -fread(programHeader,(sizeof(elfProgramHeader)*binaryHeader->ePhnum),1,tmpFd); - -if((sectionHeader=(elfSectionHeader*)kmalloc(sizeof(elfSectionHeader)*binaryHeader->eShnum))==0x0) -endTask(_current->id); - -assert(sectionHeader); -fseek(tmpFd,binaryHeader->eShoff,0); -fread(sectionHeader,sizeof(elfSectionHeader)*binaryHeader->eShnum,1,tmpFd); - -/*LoopThroughTheHeaderAndLoadSectionsWhichNeedToBeLoaded*/ -for(i=0;i<binaryHeader->ePhnum;i++){ -switch(programHeader[i].phType){ -casePT_LOAD: -seg_addr=trunc_page(programHeader[i].phVaddr); -seg_size=round_page(programHeader[i].phMemsz+programHeader[i].phVaddr-seg_addr); - -/* -AllocateMemoryImGoingToHaveToMakeThisLoadMemoryWithCorrect -Settingssoithelpsusinthefuture -*/ -for(x=0x0;x<(programHeader[i].phMemsz);x+=0x1000){ -/*Makereadonlyandread/write!!!*/ -if(vmm_remapPage(vmmFindFreePage(_current->id),((programHeader[i].phVaddr&0xFFFFF000)+x),PAGE_DEFAULT)==0x0) -K_PANIC("Error:RemapPageFailed"); -memset((void*)((programHeader[i].phVaddr&0xFFFFF000)+x),0x0,0x1000); -} - -/*NowLoadSectionToMemory*/ -fseek(tmpFd,programHeader[i].phOffset,0); -fread((void*)programHeader[i].phVaddr,programHeader[i].phFilesz,1,tmpFd); -if((programHeader[i].phFlags&0x2)!=0x2){ -for(x=0x0;x<(programHeader[i].phMemsz);x+=0x1000){ -if((vmm_setPageAttributes((programHeader[i].phVaddr&0xFFFFF000)+x,PAGE_PRESENT|PAGE_USER))!=0x0) -kpanic("Error:vmm_setPageAttributesfailed,File:%s,Line:%i\n",__FILE__,__LINE__); -} -} -kprintf("settingdaddr\n"); -if(binaryHeader->eEntry>=programHeader[i].phVaddr&&binaryHeader->eEntry<(programHeader[i].phVaddr+programHeader[i].phMemsz)){ -/*We'resuposedtodosomethinghere?*/ -} -else{ -_current->td.vm_dsize=seg_size>>PAGE_SHIFT; -_current->td.vm_daddr=(char*)seg_addr; -} - -_current->oInfo.vmStart=((programHeader[i].phVaddr&0xFFFFF000)+0xA900000); -break; -casePT_DYNAMIC: -//newLoc=(char*)programHeader[i].phVaddr; -elfDynamicS=(elfDynamic*)programHeader[i].phVaddr; -fseek(tmpFd,programHeader[i].phOffset,0); -fread((void*)programHeader[i].phVaddr,programHeader[i].phFilesz,1,tmpFd); -break; -casePT_INTERP: -interp=(char*)kmalloc(programHeader[i].phFilesz); -fseek(tmpFd,programHeader[i].phOffset,0); -fread((void*)interp,programHeader[i].phFilesz,1,tmpFd); -kprintf("Interp:[%s]\n",interp); -ldAddr=ldEnable(); -break; -default: -break; -} -} - -/*Whatisthisdoing?11/23/06*/ -if(elfDynamicS!=0x0){ -for(i=0;i<12;i++){ -if(elfDynamicS[i].dynVal==0x3){ -tmp=(uInt32*)elfDynamicS[i].dynPtr; -if(tmp==0x0) -kpanic("tmp:NULL\n"); -tmp[2]=(uInt32)ldAddr; -tmp[1]=(uInt32)tmpFd; -break; -} -} -} -_current->td.vm_dsize=seg_size>>PAGE_SHIFT; -_current->td.vm_daddr=(char*)seg_addr; - -vmm_cleanVirtualSpace(_current->td.vm_daddr+(_current->td.vm_dsize<<PAGE_SIZE)); - -/*Adjustiframe*/ -tmp=(uInt32*)_current->tss.esp0-5; -tmp[0]=binaryHeader->eEntry; -tmp[3]=STACK_ADDR-12; - -tmp=(uInt32*)STACK_ADDR-2; -kprintf("argv:[0x%X]\n",argv); -tmp[0]=(u_int32_t)argv; -tmp[1]=(u_int32_t)argv; +if((binaryHeader=(elfHeader*)kmalloc(sizeof(elfHeader)))==0x0) +endTask(_current->id); +fread(binaryHeader,sizeof(elfHeader),1,tmpFd); +/*SetsectionHeaderToPointToLoadedBinaryToWeCanGatherInfo*/ + +/*CheckIfAppIsARealApplication*/ +if((binaryHeader->eIdent[1]!='E')&&(binaryHeader->eIdent[2]!='L')&&(binaryHeader->eIdent[3]!='F')){ +kprintf("ExecFormatError:BinaryFileNotExecutable.\n"); +kfree(binaryHeader); +fclose(tmpFd); + +return; +} +elseif(binaryHeader->eType!=2){ +kprintf("ExecFormatError:BinaryFileNotExecutable.\n"); +kfree(binaryHeader); +fclose(tmpFd); +return; +} +elseif(binaryHeader->eEntry==0x300000){ +kprintf("ExecFormatError:BinaryFileNotExecutable.\n"); +kfree(binaryHeader); +fclose(tmpFd); +return; +} + +/*LoadTheProgramHeader(s)*/ +if((programHeader=(elfProgramHeader*)kmalloc(sizeof(elfProgramHeader)*binaryHeader->ePhnum))==0x0) +endTask(_current->id); + +assert(programHeader); +fseek(tmpFd,binaryHeader->ePhoff,0); +fread(programHeader,(sizeof(elfProgramHeader)*binaryHeader->ePhnum),1,tmpFd); + +if((sectionHeader=(elfSectionHeader*)kmalloc(sizeof(elfSectionHeader)*binaryHeader->eShnum))==0x0) +endTask(_current->id); + +assert(sectionHeader); +fseek(tmpFd,binaryHeader->eShoff,0); +fread(sectionHeader,sizeof(elfSectionHeader)*binaryHeader->eShnum,1,tmpFd); + +/*LoopThroughTheHeaderAndLoadSectionsWhichNeedToBeLoaded*/ +for(i=0;i<binaryHeader->ePhnum;i++){ +switch(programHeader[i].phType){ +casePT_LOAD: +seg_addr=trunc_page(programHeader[i].phVaddr); +seg_size=round_page(programHeader[i].phMemsz+programHeader[i].phVaddr-seg_addr); + +/* +AllocateMemoryImGoingToHaveToMakeThisLoadMemoryWithCorrect +Settingssoithelpsusinthefuture +*/ +for(x=0x0;x<(programHeader[i].phMemsz);x+=0x1000){ +/*Makereadonlyandread/write!!!*/ +if(vmm_remapPage(vmmFindFreePage(_current->id),((programHeader[i].phVaddr&0xFFFFF000)+x),PAGE_DEFAULT)==0x0) +K_PANIC("Error:RemapPageFailed"); +memset((void*)((programHeader[i].phVaddr&0xFFFFF000)+x),0x0,0x1000); +} + +/*NowLoadSectionToMemory*/ +fseek(tmpFd,programHeader[i].phOffset,0); +fread((void*)programHeader[i].phVaddr,programHeader[i].phFilesz,1,tmpFd); +if((programHeader[i].phFlags&0x2)!=0x2){ +for(x=0x0;x<(programHeader[i].phMemsz);x+=0x1000){ +if((vmm_setPageAttributes((programHeader[i].phVaddr&0xFFFFF000)+x,PAGE_PRESENT|PAGE_USER))!=0x0) +kpanic("Error:vmm_setPageAttributesfailed,File:%s,Line:%i\n",__FILE__,__LINE__); +} +} +kprintf("settingdaddr\n"); +if(binaryHeader->eEntry>=programHeader[i].phVaddr&&binaryHeader->eEntry<(programHeader[i].phVaddr+programHeader[i].phMemsz)){ +/*We'resuposedtodosomethinghere?*/ +} +else{ +_current->td.vm_dsize=seg_size>>PAGE_SHIFT; +_current->td.vm_daddr=(char*)seg_addr; +} + +_current->oInfo.vmStart=((programHeader[i].phVaddr&0xFFFFF000)+0xA900000); +break; +casePT_DYNAMIC: +//newLoc=(char*)programHeader[i].phVaddr; +elfDynamicS=(elfDynamic*)programHeader[i].phVaddr; +fseek(tmpFd,programHeader[i].phOffset,0); +fread((void*)programHeader[i].phVaddr,programHeader[i].phFilesz,1,tmpFd); +break; +casePT_INTERP: +interp=(char*)kmalloc(programHeader[i].phFilesz); +fseek(tmpFd,programHeader[i].phOffset,0); +fread((void*)interp,programHeader[i].phFilesz,1,tmpFd); +kprintf("Interp:[%s]\n",interp); +ldAddr=ldEnable(); +break; +default: +break; +} +} + +/*Whatisthisdoing?11/23/06*/ +if(elfDynamicS!=0x0){ +for(i=0;i<12;i++){ +if(elfDynamicS[i].dynVal==0x3){ +tmp=(uInt32*)elfDynamicS[i].dynPtr; +if(tmp==0x0) +kpanic("tmp:NULL\n"); +tmp[2]=(uInt32)ldAddr; +tmp[1]=(uInt32)tmpFd; +break; +} +/* +else{ +kprintf("dyn_val:%i",elfDynamicS[i].dynVal); +} +*/ +} +} +_current->td.vm_dsize=seg_size>>PAGE_SHIFT; +_current->td.vm_daddr=(char*)seg_addr; + +argv=ap; -/*NowThatWeRelocatedTheBinaryWeCanUnmapAndFreeHeaderInfo*/ -kfree(binaryHeader); -kfree(programHeader); - -return; -} - -/*** -END -***/ +if(argv[1]!=0x0){ +argc=argv[0]; +args=(char*)vmmGetFreeVirtualPage(_current->id,1,VM_TASK); +memset(args,0x0,0x1000); +x=0x0; +argvNew=(char**)kmalloc(sizeof(char*)*argc); +for(i=0x0;i<argc;i++){ +strcpy(args+x,argv[i+1]); +argvNew[i]=args+x; +x+=strlen(argv[i+1])+1; +//args[x]='\0'; +//x++; +} +argv=argvNew; +} + +vmm_cleanVirtualSpace(_current->td.vm_daddr+(_current->td.vm_dsize<<PAGE_SIZE)); + + +iFrame=_current->tss.esp0-sizeof(structi386_frame); +iFrame->ebp=STACK_ADDR; +iFrame->eip=binaryHeader->eEntry; +iFrame->user_esp=STACK_ADDR-12; + +//if(_current->id>3){ + +iFrame->user_esp=((u_int32_t)STACK_ADDR)-(sizeof(u_int32_t)*(x+1)); +tmp=iFrame->user_esp; + +tmp[0]=argc; +for(i=0;i<argc;i++){ +tmp[i+1]=argv[i]; +} +//} +//else{ +//tmp=(u_int32_t*)STACK_ADDR-2; +//tmp[0]=0x1; +//tmp[1]=0x0; +//tmp[1]=(u_int32_t)argv; +//} +kfree(argvNew); +/*NowThatWeRelocatedTheBinaryWeCanUnmapAndFreeHeaderInfo*/ +kfree(binaryHeader); +kfree(programHeader); + +return; +} + +/*** +END +***/ diff --git a/doc/xml/exec_8h.xml b/doc/xml/exec_8h.xml index b19dbdb..c5dfe30 100644 --- a/doc/xml/exec_8h.xml +++ b/doc/xml/exec_8h.xml @@ -2,7 +2,7 @@ exec.h - ubixos/types.h + ubixos/types.h ubixos/sched.h src/sys/init/main.c src/sys/kernel/exec.c @@ -13,165 +13,167 @@ src/sys/net/net/init.c src/sys/ubixfs/ubixfs.c - + - + - + - + - + - + - + - + - + - + - - + + - + - + - - + + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -226,11 +228,11 @@ tssStruct::esp1 tssStruct::esp2 elfHeader::eType - fclose - fopen - fread + fclose + fopen + fread tssStruct::fs - fseek + fseek taskStruct::gid tssStruct::gs taskStruct::id @@ -250,6 +252,7 @@ PAGE_PRESENT PAGE_STACK PAGE_USER + fileDescriptorStruct::perms elfProgramHeader::phMemsz elfProgramHeader::phVaddr READY @@ -266,7 +269,7 @@ taskStruct::tss tty_find taskStruct::uid - thread::vm_daddr + thread::vm_daddr vmm_remapPage vmm_setPageAttributes vmmCreateVirtualSpace @@ -278,7 +281,7 @@ kmain - uInt32 + uInt32 uInt32 execThread (void(*tproc)(void), uInt32, char *) execThread @@ -287,7 +290,7 @@ tproc - uInt32 + uInt32 char * @@ -374,10 +377,10 @@ #ifndef_EXEC_H #define_EXEC_H -#include<ubixos/types.h> +#include<ubixos/types.h> #include<ubixos/sched.h> -uInt32execThread(void(*tproc)(void),uInt32,char*); +uInt32execThread(void(*tproc)(void),uInt32,char*); voidexecFile(char*file,intargc,char**argv,intconsole); #endif diff --git a/doc/xml/fdc_8c.xml b/doc/xml/fdc_8c.xml index d90021f..ccd06d0 100644 --- a/doc/xml/fdc_8c.xml +++ b/doc/xml/fdc_8c.xml @@ -7,181 +7,183 @@ sys/video.h sys/gdt.h sys/idt.h - ubixos/types.h + ubixos/types.h ubixos/spinlock.h sys/io.h sys/dma.h - sys/device.h + sys/device.h lib/kprintf.h lib/kmalloc.h devfs/devfs.h - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + @@ -248,7 +250,7 @@ devfs_makeNode - device_add + device_add dInt dPresent fdcInit2 @@ -258,7 +260,7 @@ device_interface::init irqEnable kmalloc - device_interface::major + device_interface::major mVec device_interface::read device_interface::reset @@ -299,11 +301,11 @@ baseAddr - uInt32 + uInt32 startSector - uInt32 + uInt32 sectorCount @@ -320,7 +322,7 @@ fdc_init - bool + bool bool fdcRw (int block, Int8 *blockBuffer, bool read, unsigned long numSectors) fdcRw @@ -329,11 +331,11 @@ block - Int8 * + Int8 * blockBuffer - bool + bool read @@ -355,7 +357,7 @@ dg168Gap3rw diskChange dmaXfer - FALSE + FALSE fdcCcr fdcDir fdcRw @@ -373,7 +375,7 @@ DrvGeom::spt status tbaddr - TRUE + TRUE waitFdc fdcRw readBlock @@ -393,11 +395,11 @@ baseAddr - uInt32 + uInt32 startSector - uInt32 + uInt32 sectorCount @@ -424,7 +426,7 @@ done outportByte - TRUE + TRUE x20 @@ -459,9 +461,9 @@ - FALSE + FALSE motor - TRUE + TRUE fdcRw recalibrate @@ -480,16 +482,16 @@ - FALSE + FALSE fdcDor motor outportByte - TRUE + TRUE fdcRw recalibrate - bool + bool bool readBlock (int block, Int8 *blockBuffer, unsigned long numSectors) readBlock @@ -498,7 +500,7 @@ block - Int8 * + Int8 * blockBuffer @@ -513,7 +515,7 @@ fdcRw - TRUE + TRUE fdcRead @@ -535,7 +537,7 @@ motorOff motorOn sendByte - TRUE + TRUE waitFdc fdcRw reset @@ -558,20 +560,20 @@ cmdSpecify diskChange done - FALSE + FALSE fdcDor motor outportByte recalibrate seek sendByte - TRUE + TRUE waitFdc fdc_init fdcRw - bool + bool bool seek (int track) seek @@ -587,12 +589,12 @@ cmdSeek - FALSE + FALSE fdcTrack kprintf sendByte sr0 - TRUE + TRUE waitFdc x20 fdcRw @@ -625,12 +627,12 @@ waitFdc - bool + bool bool waitFdc (bool sensei) waitFdc - bool + bool sensei @@ -643,7 +645,7 @@ cmdSensei diskChange done - FALSE + FALSE fdcDir fdcMsr fdcTrack @@ -654,14 +656,14 @@ statSize status timeOut - TRUE + TRUE fdcRw recalibrate reset seek - bool + bool bool writeBlock (int block, Int8 *blockBuffer, unsigned long numSectors) writeBlock @@ -670,7 +672,7 @@ block - Int8 * + Int8 * blockBuffer @@ -684,14 +686,14 @@ - FALSE + FALSE fdcRw fdcWrite - bool + bool bool diskChange diskChange @@ -708,7 +710,7 @@ waitFdc - bool + bool volatile bool done done @@ -741,7 +743,7 @@ fdcRead - Int8 + Int8 volatile Int8 fdcTrack fdcTrack @@ -773,7 +775,7 @@ fdcRw - bool + bool bool motor motor @@ -790,7 +792,7 @@ reset - Int8 + Int8 Int8 sr0 sr0 @@ -806,7 +808,7 @@ waitFdc - Int8 + Int8 Int8 statSize statSize @@ -821,7 +823,7 @@ waitFdc - Int8 + Int8 Int8 status[7] [7] status @@ -910,26 +912,26 @@ #include<sys/video.h> #include<sys/gdt.h> #include<sys/idt.h> -#include<ubixos/types.h> +#include<ubixos/types.h> #include<ubixos/spinlock.h> #include<sys/io.h> #include<sys/dma.h> -#include<sys/device.h> +#include<sys/device.h> #include<lib/kprintf.h> #include<lib/kmalloc.h> #include<devfs/devfs.h> staticspinLock_tfdcSpinLock=SPIN_LOCK_INITIALIZER; -staticvolatilebooldone=FALSE; +staticvolatilebooldone=FALSE; staticdrvGeomgeometry={dg144Heads,dg144Tracks,dg144Spt}; -staticbooldiskChange=FALSE; -staticboolmotor=FALSE; -staticvolatileInt8fdcTrack=0xff; -staticInt8sr0=0; +staticbooldiskChange=FALSE; +staticboolmotor=FALSE; +staticvolatileInt8fdcTrack=0xff; +staticInt8sr0=0; staticvolatileinttimeOut=0; -staticInt8statSize=0; -staticInt8status[7]={0}; +staticInt8statSize=0; +staticInt8status[7]={0}; unsignedlongtbaddr=0x80000L; @@ -949,7 +951,7 @@ devInfo->write=fdcWrite; devInfo->reset=(void*)reset; -device_add(0,'c',devInfo); +device_add(0,'c',devInfo); devfs_makeNode("fd0",'b',0x0,0x0); return(0x0); } @@ -974,11 +976,11 @@ ); voidfloppyIsrhndlr(){ -done=TRUE; +done=TRUE; outportByte(0x20,0x20); } -voidsendByte(intInt8){ +voidsendByte(intInt8){ volatileintmsr; inttmo; for(tmo=0;tmo<128;tmo++){ @@ -1004,7 +1006,7 @@ return(-1); } -boolfdcRw(intblock,Int8*blockBuffer,boolread,unsignedlongnumSectors){ +boolfdcRw(intblock,Int8*blockBuffer,boolread,unsignedlongnumSectors){ inthead=0x0,track=0x0,sector=0x0,tries=0x0,copyCount=0x0; unsignedchar*p_tbaddr=(char*)0x80000; unsignedchar*p_blockbuff=blockBuffer; @@ -1021,7 +1023,7 @@ } for(tries=0;tries<3;tries++){ if(inportByte(fdcDir)&0x80){ -diskChange=TRUE; +diskChange=TRUE; seek(1);/*clear"diskchange"status*/ recalibrate(); motorOff(); @@ -1031,15 +1033,15 @@ if(!seek(track)){ motorOff(); kprintf("FDC:Errorseekingtotrack[%i]\n",block); -returnFALSE; +returnFALSE; } outportByte(fdcCcr,0); if(read){ -dmaXfer(2,tbaddr,numSectors*512,FALSE); +dmaXfer(2,tbaddr,numSectors*512,FALSE); sendByte(cmdRead); } else{ -dmaXfer(2,tbaddr,numSectors*512,TRUE); +dmaXfer(2,tbaddr,numSectors*512,TRUE); sendByte(cmdWrite); } sendByte(head<<2); @@ -1055,7 +1057,7 @@ sendByte(dg168Gap3rw);/*gap3sizefor1.68Mread/write*/ } sendByte(0xff);/*DTL=unused*/ -if(!waitFdc(TRUE)){ +if(!waitFdc(TRUE)){ kprint("Timedout,tryingoperationagainafterreset()\n"); reset(); returnfdcRw(block,blockBuffer,read,numSectors); @@ -1083,52 +1085,52 @@ } voidmotorOn(void){ -if(motor==FALSE){ +if(motor==FALSE){ outportByte(fdcDor,0x1c); -motor=TRUE; +motor=TRUE; } } voidmotorOff(void){ -if(motor==TRUE){ +if(motor==TRUE){ //outportByte(fdcDor,0x0); //outportByte(fdcDor,0x0C); -motor=FALSE; +motor=FALSE; } } boolseek(inttrack){ if(fdcTrack==track){ -return(TRUE); +return(TRUE); } sendByte(cmdSeek); sendByte(0); sendByte(track); -if(!waitFdc(TRUE)){ +if(!waitFdc(TRUE)){ kprintf("waitfdcfailed\n"); -return(FALSE); +return(FALSE); } if((sr0!=0x20)||(fdcTrack!=track)){ -return(FALSE); +return(FALSE); } else{ -return(TRUE); +return(TRUE); } } -boolreadBlock(intblock,Int8*blockBuffer,unsignedlongnumSectors){ +boolreadBlock(intblock,Int8*blockBuffer,unsignedlongnumSectors){ intresult=0x0,loop=0x0; if(numSectors>1){ for(loop=0;loop<numSectors;loop++){ -result=fdcRw(block+loop,blockBuffer+(loop*512),TRUE,1); +result=fdcRw(block+loop,blockBuffer+(loop*512),TRUE,1); } returnresult; } -returnfdcRw(block,blockBuffer,TRUE,numSectors); +returnfdcRw(block,blockBuffer,TRUE,numSectors); } -boolwriteBlock(intblock,Int8*blockBuffer,unsignedlongnumSectors){ -returnfdcRw(block,blockBuffer,FALSE,numSectors); +boolwriteBlock(intblock,Int8*blockBuffer,unsignedlongnumSectors){ +returnfdcRw(block,blockBuffer,FALSE,numSectors); } boolwaitFdc(boolsensei){ @@ -1143,15 +1145,15 @@ sr0=getByte(); fdcTrack=getByte(); } -done=FALSE; +done=FALSE; if(!timeOut){ if(inportByte(fdcDir)&0x80){ -diskChange=TRUE; +diskChange=TRUE; } -return(FALSE); +return(FALSE); } else{ -return(TRUE); +return(TRUE); } } @@ -1159,32 +1161,32 @@ motorOn(); sendByte(cmdRecal); sendByte(0); -waitFdc(TRUE); +waitFdc(TRUE); motorOff(); } voidreset(void){ outportByte(fdcDor,0); -motor=FALSE; +motor=FALSE; outportByte(fdcDor,0x0c); -done=TRUE; -waitFdc(TRUE); +done=TRUE; +waitFdc(TRUE); sendByte(cmdSpecify); sendByte(0xdf); sendByte(0x02); seek(1); recalibrate(); -diskChange=FALSE; +diskChange=FALSE; return; } -voidfdcRead(void*info,void*baseAddr,uInt32startSector,uInt32sectorCount){ +voidfdcRead(void*info,void*baseAddr,uInt32startSector,uInt32sectorCount){ spinLock(&fdcSpinLock); readBlock(startSector,baseAddr,sectorCount); spinUnlock(&fdcSpinLock); return; } -voidfdcWrite(void*info,void*baseAddr,uInt32startSector,uInt32sectorCount){ +voidfdcWrite(void*info,void*baseAddr,uInt32startSector,uInt32sectorCount){ writeBlock(startSector,baseAddr,sectorCount); return; } diff --git a/doc/xml/fdc_8h.xml b/doc/xml/fdc_8h.xml index f4add82..7108519 100644 --- a/doc/xml/fdc_8h.xml +++ b/doc/xml/fdc_8h.xml @@ -2,47 +2,47 @@ fdc.h - ubixos/types.h + ubixos/types.h src/sys/include/ubixos/init.h src/sys/isa/fdc.c - + - - + + - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - + - - - - - - - - @@ -318,7 +318,7 @@ devfs_makeNode - device_add + device_add dInt dPresent fdcInit2 @@ -328,7 +328,7 @@ device_interface::init irqEnable kmalloc - device_interface::major + device_interface::major mVec device_interface::read reset @@ -349,11 +349,11 @@ void * - uInt32 + uInt32 startSector - uInt32 + uInt32 sectorCount @@ -370,7 +370,7 @@ fdc_init - bool + bool bool fdcRw (int block, Int8 *blockBuffer, bool read, unsigned long numSectors) fdcRw @@ -379,11 +379,11 @@ block - Int8 * + Int8 * blockBuffer - bool + bool read @@ -405,7 +405,7 @@ dg168Gap3rw diskChange dmaXfer - FALSE + FALSE fdcCcr fdcDir fdcRw @@ -423,7 +423,7 @@ DrvGeom::spt status tbaddr - TRUE + TRUE waitFdc fdcRw readBlock @@ -442,11 +442,11 @@ void * - uInt32 + uInt32 startSector - uInt32 + uInt32 sectorCount @@ -487,7 +487,7 @@ done outportByte - TRUE + TRUE x20 @@ -522,9 +522,9 @@ - FALSE + FALSE motor - TRUE + TRUE fdcRw recalibrate @@ -543,16 +543,16 @@ - FALSE + FALSE fdcDor motor outportByte - TRUE + TRUE fdcRw recalibrate - bool + bool bool readBlock (int block, Int8 *blockBuffer, unsigned long numSectors) readBlock @@ -561,7 +561,7 @@ block - Int8 * + Int8 * blockBuffer @@ -576,7 +576,7 @@ fdcRw - TRUE + TRUE fdcRead @@ -598,7 +598,7 @@ motorOff motorOn sendByte - TRUE + TRUE waitFdc fdcRw reset @@ -621,20 +621,20 @@ cmdSpecify diskChange done - FALSE + FALSE fdcDor motor outportByte recalibrate seek sendByte - TRUE + TRUE waitFdc fdc_init fdcRw - bool + bool bool seek (int track) seek @@ -650,12 +650,12 @@ cmdSeek - FALSE + FALSE fdcTrack kprintf sendByte sr0 - TRUE + TRUE waitFdc x20 fdcRw @@ -688,12 +688,12 @@ waitFdc - bool + bool bool waitFdc (bool sensei) waitFdc - bool + bool sensei @@ -706,7 +706,7 @@ cmdSensei diskChange done - FALSE + FALSE fdcDir fdcMsr fdcTrack @@ -717,14 +717,14 @@ statSize status timeOut - TRUE + TRUE fdcRw recalibrate reset seek - bool + bool bool writeBlock (int block, Int8 *blockBuffer, unsigned long numSectors) writeBlock @@ -733,7 +733,7 @@ block - Int8 * + Int8 * blockBuffer @@ -747,7 +747,7 @@ - FALSE + FALSE fdcRw fdcWrite @@ -789,12 +789,12 @@ #ifndef_FDC_H #define_FDC_H -#include<ubixos/types.h> +#include<ubixos/types.h> typedefstructDrvGeom{ -Int8heads; -Int8tracks; -Int8spt; +Int8heads; +Int8tracks; +Int8spt; }drvGeom; @@ -823,22 +823,22 @@ intfdc_init(); voidfloppyIsr(); voidfloppyIsrhndlr(); -voidsendByte(intInt8); +voidsendByte(intInt8); intgetByte(); -boolfdcRw(intblock,Int8*blockBuffer,boolread,unsignedlongnumSectors); +boolfdcRw(intblock,Int8*blockBuffer,boolread,unsignedlongnumSectors); voidblock2Hts(intblock,int*head,int*track,int*sector); voidmotorOn(void); voidmotorOff(void); boolseek(inttrack); boolwaitFdc(boolsensei); intgetByte(); -voidsendByte(intInt8); +voidsendByte(intInt8); voidrecalibrate(void); voidreset(void); -boolwriteBlock(intblock,Int8*blockBuffer,unsignedlongnumSectors); -boolreadBlock(intblock,Int8*blockBuffer,unsignedlongnumSectors); -voidfdcWrite(void*info,void*,uInt32startSector,uInt32sectorCount); -voidfdcRead(void*info,void*,uInt32startSector,uInt32sectorCount); +boolwriteBlock(intblock,Int8*blockBuffer,unsignedlongnumSectors); +boolreadBlock(intblock,Int8*blockBuffer,unsignedlongnumSectors); +voidfdcWrite(void*info,void*,uInt32startSector,uInt32sectorCount); +voidfdcRead(void*info,void*,uInt32startSector,uInt32sectorCount); #endif diff --git a/doc/xml/ffs_8c.xml b/doc/xml/ffs_8c.xml index 1aa788b..5757f48 100644 --- a/doc/xml/ffs_8c.xml +++ b/doc/xml/ffs_8c.xml @@ -2,7 +2,7 @@ ffs.c - vfs/vfs.h + vfs/vfs.h ufs/ufs.h ufs/ffs.h lib/kprintf.h @@ -11,148 +11,150 @@ lib/string.h sys/buf.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - - + + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - - + + @@ -163,7 +165,7 @@ (fileDescriptor *fd, char *data, uInt32 offset, long size) ffs_read - fileDescriptor * + fileDescriptor * fd @@ -171,7 +173,7 @@ data - uInt32 + uInt32 offset @@ -185,8 +187,10 @@ + fileDescriptorStruct::dmadat fs::fs_maxfilesize kprintf + dmadat::sbbuf @@ -194,7 +198,7 @@ -#include<vfs/vfs.h> +#include<vfs/vfs.h> #include<ufs/ufs.h> #include<ufs/ffs.h> #include<lib/kprintf.h> @@ -204,10 +208,10 @@ #include<sys/buf.h> -intffs_read(fileDescriptor*fd,char*data,uInt32offset,longsize){ +intffs_read(fileDescriptor*fd,char*data,uInt32offset,longsize){ structfs*fs; -fs=(structfs*)fd->dmadat->sbbuf; +fs=(structfs*)fd->dmadat->sbbuf; if(offset<fd->size&&offset>=fs->fs_maxfilesize){ //return(EOVERFLOW); diff --git a/doc/xml/ffs_8h.xml b/doc/xml/ffs_8h.xml index 36bb934..b90f9cc 100644 --- a/doc/xml/ffs_8h.xml +++ b/doc/xml/ffs_8h.xml @@ -2,109 +2,111 @@ ffs.h - ubixos/types.h - vfs/vfs.h - sys/device.h + ubixos/types.h + vfs/vfs.h + sys/device.h src/sys/ufs/ffs.c src/sys/ufs/ufs.c - + - + - + - + - + - + - + - - + + - + - + - - + + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - - + + - + - + - + - + - + @@ -116,13 +118,13 @@ (fileDescriptor *, char *, uInt32, long) ffs_read - fileDescriptor * + fileDescriptor * char * - uInt32 + uInt32 long @@ -134,8 +136,10 @@ + fileDescriptorStruct::dmadat fs::fs_maxfilesize kprintf + dmadat::sbbuf @@ -175,11 +179,11 @@ #ifndef_FFS_H #define_FFS_H -#include<ubixos/types.h> -#include<vfs/vfs.h> -#include<sys/device.h> +#include<ubixos/types.h> +#include<vfs/vfs.h> +#include<sys/device.h> -intffs_read(fileDescriptor*,char*,uInt32,long); +intffs_read(fileDescriptor*,char*,uInt32,long); #endif diff --git a/doc/xml/file_8c.xml b/doc/xml/file_8c.xml index 592752c..57a1eff 100644 --- a/doc/xml/file_8c.xml +++ b/doc/xml/file_8c.xml @@ -2,8 +2,8 @@ file.c - vfs/vfs.h - vfs/file.h + vfs/vfs.h + vfs/file.h ubixos/sched.h ubixos/vitals.h ubixos/kpanic.h @@ -14,206 +14,208 @@ lib/kprintf.h assert.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -224,7 +226,7 @@ (fileDescriptor *fd) fclose - fileDescriptor * + fileDescriptor * fd @@ -233,28 +235,26 @@ - + assert - fdTable + fileDescriptorStruct::buffer + fdTable fdTable_lock kfree - fileDescriptor::next + fileDescriptorStruct::next NULL vitalsStruct::openFiles - fileDescriptor::prev + fileDescriptorStruct::prev spinLock spinUnlock systemVitals x1 - dev_ramDestroy - dev_ramDrive execFile kmod_load ldEnable - bTree::Save - sysExec + sysExec sysFclose - sysMkDir + sysMkDir systemTask @@ -263,7 +263,7 @@ (fileDescriptor *fd) feof - fileDescriptor * + fileDescriptor * fd @@ -272,8 +272,9 @@ - - fdEof + + fdEof + fileDescriptorStruct::status int @@ -281,7 +282,7 @@ (fileDescriptor *fd) fgetc - fileDescriptor * + fileDescriptor * fd @@ -290,12 +291,15 @@ - - fileDescriptor::offset + + vfs_mountPoint::fs + fileDescriptorStruct::mp + fileDescriptorStruct::offset + fileSystem::vfsRead sysFgetc - fileDescriptor * + fileDescriptor * fileDescriptor* fopen (const char *file, const char *flags) fopen @@ -313,39 +317,44 @@ - - fdOpen - fdTable + + fileDescriptorStruct::buffer + fdOpen + fdTable fdTable_lock - fileAppend - fileBinary - fileRead - fileWrite + fileAppend + fileBinary + fileDescriptorStruct::fileName + fileRead + fileWrite + vfs_mountPoint::fs kfree kmalloc kprintf - fileDescriptor::next + fileDescriptorStruct::mode + fileDescriptorStruct::mp + fileDescriptorStruct::next NULL - fileDescriptor::offset + fileDescriptorStruct::offset vitalsStruct::openFiles - fileDescriptor::prev + fileDescriptorStruct::prev spinLock spinUnlock sprintf - strstr + fileDescriptorStruct::status + strcpy + strstr strtok systemVitals vfs_findMount - dev_ramDestroy - dev_ramDrive - DiskFS::DiskFS + fileSystem::vfsOpenFile execFile kmod_load ldEnable - bTree::Save - sysExec + sys_open + sysExec sysFopen - sysMkDir + sysMkDir tcpdump_init @@ -358,7 +367,7 @@ ch - fileDescriptor * + fileDescriptor * fd @@ -367,28 +376,31 @@ - - fileDescriptor::offset + + vfs_mountPoint::fs + fileDescriptorStruct::mp + fileDescriptorStruct::offset + fileSystem::vfsWrite - - size_t + + size_t size_t fread - (void *ptr, int size, int nmemb, fileDescriptor *fd) + (void *ptr, size_t size, size_t nmemb, fileDescriptor *fd) fread void * ptr - int + size_t size - int + size_t nmemb - fileDescriptor * + fileDescriptor * fd @@ -397,15 +409,17 @@ - + assert - fileDescriptor::offset - dev_ramDrive + vfs_mountPoint::fs + fileDescriptorStruct::mp + fileDescriptorStruct::offset + fileSystem::vfsRead execFile kmod_load ldEnable - DiskFS::read - sysExec + read + sysExec sysFread @@ -414,7 +428,7 @@ (fileDescriptor *tmpFd, long offset, int whence) fseek - fileDescriptor * + fileDescriptor * tmpFd @@ -431,17 +445,15 @@ - - fileDescriptor::offset + + fileDescriptorStruct::offset execFile kmod_load ldEnable - DiskFS::read - sysExec - DiskFS::write + sysExec - size_t + size_t size_t fwrite (void *ptr, int size, int nmemb, fileDescriptor *fd) fwrite @@ -458,7 +470,7 @@ nmemb - fileDescriptor * + fileDescriptor * fd @@ -467,12 +479,12 @@ - - fileDescriptor::offset - dev_ramDestroy - bTree::Save + + vfs_mountPoint::fs + fileDescriptorStruct::mp + fileDescriptorStruct::offset + fileSystem::vfsWrite sysFwrite - DiskFS::write void @@ -494,7 +506,7 @@ osInfo::cwd taskStruct::oInfo sprintf - strstr + strstr void @@ -516,8 +528,8 @@ - fclose - userFileDescriptorStruct::fd + fclose + userFileDescriptorStruct::fd NULL @@ -541,8 +553,8 @@ _current - userFileDescriptorStruct::fd - fgetc + userFileDescriptorStruct::fd + fgetc getch sched_yield taskStruct::term @@ -572,12 +584,12 @@ - userFileDescriptorStruct::fd - userFileDescriptorStruct::fdSize - fopen + userFileDescriptorStruct::fd + userFileDescriptorStruct::fdSize + fopen kprintf NULL - fileDescriptorStruct::size + fileDescriptorStruct::size void @@ -603,8 +615,8 @@ - userFileDescriptorStruct::fd - fread + userFileDescriptorStruct::fd + fread NULL @@ -631,9 +643,9 @@ - userFileDescriptorStruct::fd + userFileDescriptorStruct::fd NULL - fileDescriptorStruct::offset + fileDescriptorStruct::offset void @@ -660,8 +672,8 @@ _current - userFileDescriptorStruct::fd - fwrite + userFileDescriptorStruct::fd + fwrite taskStruct::term tty_print @@ -680,17 +692,20 @@ - + _current osInfo::cwd - fclose - fopen + fclose + fopen + vfs_mountPoint::fs kprintf + fileDescriptorStruct::mp NULL taskStruct::oInfo sprintf - strstr + strstr strtok + fileSystem::vfsMakeDir void @@ -725,7 +740,7 @@ - unlink + unlink int @@ -742,7 +757,7 @@ - + vfs_mountPoint::fs vfs_mountPoint::mountPoint NULL @@ -754,7 +769,7 @@ - fileDescriptor * + fileDescriptor * fileDescriptor* fdTable fdTable @@ -766,8 +781,8 @@ - fclose - fopen + fclose + fopen spinLock_t @@ -782,8 +797,8 @@ - fclose - fopen + fclose + fopen @@ -820,8 +835,8 @@ *****************************************************************************************/ -#include<vfs/vfs.h> -#include<vfs/file.h> +#include<vfs/vfs.h> +#include<vfs/file.h> #include<ubixos/sched.h> #include<ubixos/vitals.h> #include<ubixos/kpanic.h> @@ -835,7 +850,7 @@ staticspinLock_tfdTable_lock=SPIN_LOCK_INITIALIZER; -fileDescriptor*fdTable=0x0; +fileDescriptor*fdTable=0x0; /*USER*/ @@ -844,13 +859,13 @@ tty_print(ptr,_current->term); } else{ -fwrite(ptr,size,1,userFd->fd); +fwrite(ptr,size,1,userFd->fd); } return; } voidsysFgetc(int*ptr,userFileDescriptor*userFd){ -fileDescriptor*tmpFd=0x0; +fileDescriptor*tmpFd=0x0; tmpFd=userFd->fd; if(userFd->fd==0x0){ while(1){ @@ -874,7 +889,7 @@ } } else{ -ptr[0]=(int)fgetc(tmpFd); +ptr[0]=(int)fgetc(tmpFd); } } @@ -902,7 +917,7 @@ } voidsysUnlink(constchar*path,int*retVal){ -*retVal=unlink(path); +*retVal=unlink(path); } /************************************************************************ @@ -915,7 +930,7 @@ voidsysFopen(constchar*file,char*flags,userFileDescriptor*userFd){ if(userFd==NULL) kprintf("Error:userFd==NULL,File:%s,Line:%i\n",__FILE__,__LINE__); -userFd->fd=fopen(file,flags); +userFd->fd=fopen(file,flags); if(userFd->fd!=0x0){ userFd->fdSize=userFd->fd->size; } @@ -936,7 +951,7 @@ return; if(userFd->fd==NULL) return; -fread(data,size,1,userFd->fd); +fread(data,size,1,userFd->fd); return; } @@ -958,7 +973,7 @@ *status=-1; return; } -*status=fclose(userFd->fd); +*status=fclose(userFd->fd); /*Return*/ return; } @@ -968,331 +983,333 @@ /*KERNEL*/ -size_tfread(void*ptr,intsize,intnmemb,fileDescriptor*fd){ - -if(fd==0x0) -return(0x0); - -if(nmemb==0x0)nmemb=1;//TempFix -assert(fd); -//kprintf("fd->fileName:%s:%i\n",fd->fileName,_current->id); -assert(fd->mp); -assert(fd->mp->fs); -fd->mp->fs->vfsRead(fd,ptr,fd->offset,size*nmemb); -fd->offset+=size*nmemb; -return(size*nmemb); -} +size_tfread(void*ptr,size_tsize,size_tnmemb,fileDescriptor*fd){ +size_ti=0x0; + +if(fd==0x0) +return(0x0); + +if(nmemb==0x0) +nmemb=1;//TempFix + +assert(fd); +assert(fd->mp); +assert(fd->mp->fs); + +i=fd->mp->fs->vfsRead(fd,ptr,fd->offset,size*nmemb); -size_tfwrite(void*ptr,intsize,intnmemb,fileDescriptor*fd){ -if(fd!=0x0){ -fd->mp->fs->vfsWrite(fd,ptr,fd->offset,size*nmemb); -fd->offset+=size*nmemb; -} -return(0x0); -} - -intfseek(fileDescriptor*tmpFd,longoffset,intwhence){ -tmpFd->offset=offset+whence; -return(tmpFd->offset); -} - -/************************************************************************ - -Function:intfeof(fileDescriptor*fd) -Description:CheckAFileDescriptorForEOFAndReturnResult -Notes: - -************************************************************************/ -intfeof(fileDescriptor*fd){ -if(fd->status==fdEof){ -return(-1); -} -return(0); -} - -/************************************************************************ - -Function:intfputc(intch,fileDescriptor*fd) -Description:ThisWillWriteCharacterToFD -Notes: - -************************************************************************/ -intfputc(intch,fileDescriptor*fd){ -if(fd!=0x0){ -ch=fd->mp->fs->vfsWrite(fd,(char*)ch,fd->offset,1); -fd->offset++; -return(ch); -} -/*ReturnNULLIfFDIsNotFound*/ -return(0x0); -} - -/************************************************************************ - -Function:intfgetc(fileDescriptor*fd) -Description:ThisWillReturnTheNextCharacterInAFDStream -Notes: - -************************************************************************/ -intfgetc(fileDescriptor*fd){ -intch=0x0; -/*IfFoundReturnNextChar*/ -if(fd!=0x0){ -fd->mp->fs->vfsRead(fd,(char*)&ch,fd->offset,1); -fd->offset++; -return(ch); -} - -/*ReturnNULLIfFDIsNotFound*/ -return(0x0); -} - -/************************************************************************ - -Function:fileDescriptor*fopen(constchar*file,contchar*flags) -Description:ThisWillOpenAFileAndReturnAFileDescriptor -Notes: - -08/05/02-JustStartedARewriteOfThisFunctionShouldWorkOutWell - -************************************************************************/ - -fileDescriptor*fopen(constchar*file,constchar*flags){ -inti=0x0; -char*path=0x0; -char*mountPoint=0x0; -charfileName[1024]; -fileDescriptor*tmpFd=0x0; - -/*AllocateMemoryForFileDescriptor*/ -if((tmpFd=(fileDescriptor*)kmalloc(sizeof(fileDescriptor)))==0x0){ -kprintf("Error:tmpFd==NULL,File:%s,Line:%i\n",__FILE__,__LINE__); -return(NULL); -} - -sprintf(fileName,"%s",file); -if(strstr(fileName,":")){ -mountPoint=(char*)strtok((char*)&fileName,":"); -path=strtok(NULL,"\n"); -} -else{ -path=fileName; -//path=&fileName; -} - -if(path[0]=='/'){ -sprintf(tmpFd->fileName,"%s",path); +fd->offset+=size*nmemb; + +//kprintf("fread:%i:%i",i,size*nmemb); + +return(i); +} + +size_tfwrite(void*ptr,intsize,intnmemb,fileDescriptor*fd){ +if(fd!=0x0){ +fd->mp->fs->vfsWrite(fd,ptr,fd->offset,size*nmemb); +fd->offset+=size*nmemb; +} +return(0x0); +} + +intfseek(fileDescriptor*tmpFd,longoffset,intwhence){ +tmpFd->offset=offset+whence; +return(tmpFd->offset); +} + +/************************************************************************ + +Function:intfeof(fileDescriptor*fd) +Description:CheckAFileDescriptorForEOFAndReturnResult +Notes: + +************************************************************************/ +intfeof(fileDescriptor*fd){ +if(fd->status==fdEof){ +return(-1); +} +return(0); +} + +/************************************************************************ + +Function:intfputc(intch,fileDescriptor*fd) +Description:ThisWillWriteCharacterToFD +Notes: + +************************************************************************/ +intfputc(intch,fileDescriptor*fd){ +if(fd!=0x0){ +ch=fd->mp->fs->vfsWrite(fd,(char*)ch,fd->offset,1); +fd->offset++; +return(ch); +} +/*ReturnNULLIfFDIsNotFound*/ +return(0x0); +} + +/************************************************************************ + +Function:intfgetc(fileDescriptor*fd) +Description:ThisWillReturnTheNextCharacterInAFDStream +Notes: + +************************************************************************/ +intfgetc(fileDescriptor*fd){ +intch=0x0; +/*IfFoundReturnNextChar*/ +if(fd!=0x0){ +fd->mp->fs->vfsRead(fd,(char*)&ch,fd->offset,1); +fd->offset++; +return(ch); +} + +/*ReturnNULLIfFDIsNotFound*/ +return(0x0); +} + +/************************************************************************ + +Function:fileDescriptor*fopen(constchar*file,contchar*flags) +Description:ThisWillOpenAFileAndReturnAFileDescriptor +Notes: + +08/05/02-JustStartedARewriteOfThisFunctionShouldWorkOutWell + +************************************************************************/ + +fileDescriptor*fopen(constchar*file,constchar*flags){ +inti=0x0; +char*path=0x0; +char*mountPoint=0x0; +charfileName[1024]; +fileDescriptor*tmpFd=0x0; + +/*AllocateMemoryForFileDescriptor*/ +if((tmpFd=(fileDescriptor*)kmalloc(sizeof(fileDescriptor)))==0x0){ +kprintf("Error:tmpFd==NULL,File:%s,Line:%i\n",__FILE__,__LINE__); +return(NULL); +} + +strcpy(fileName,file); + +if(strstr(fileName,":")){ +mountPoint=(char*)strtok((char*)&fileName,":"); +path=strtok(NULL,"\n"); } -else{ -sprintf(tmpFd->fileName,"/%s",path); -} - -/*Findourmountpointorsetdefaulttosys*/ -if(mountPoint==0x0){ -tmpFd->mp=vfs_findMount("sys"); -} -else{ -tmpFd->mp=vfs_findMount(mountPoint); -} - -if(tmpFd->mp==0x0){ -kprintf("MountPointBad\n"); -return(0x0); -} - -/*ThisWillSetUpTheDescriptorModes*/ -tmpFd->mode=0; -for(i=0;'\0'!=flags[i];i++){ -switch(flags[i]){ -case'w': -case'W': -tmpFd->mode|=fileWrite; -break; -case'r': -case'R': -tmpFd->mode|=fileRead; -break; -case'b': -case'B': -tmpFd->mode|=fileBinary; -break; -case'a': -case'A': -tmpFd->mode|=fileAppend; -break; -default: -kprintf("Invalidmode'%c'forfopen\n",flags[i]); +else{ +path=fileName; +} + +if(path[0]=='/') +strcpy(tmpFd->fileName,path); +else +sprintf(tmpFd->fileName,"/%s",path); + +/*Findourmountpointorsetdefaulttosys*/ +if(mountPoint==0x0) +tmpFd->mp=vfs_findMount("sys"); +else +tmpFd->mp=vfs_findMount(mountPoint); + +if(tmpFd->mp==0x0){ +kprintf("MountPointBad\n"); +return(0x0); +} + +/*ThisWillSetUpTheDescriptorModes*/ +tmpFd->mode=0; +for(i=0;'\0'!=flags[i];i++){ +switch(flags[i]){ +case'w': +case'W': +tmpFd->mode|=fileWrite; +break; +case'r': +case'R': +tmpFd->mode|=fileRead; +break; +case'b': +case'B': +tmpFd->mode|=fileBinary; +break; +case'a': +case'A': +tmpFd->mode|=fileAppend; break; -} -} -/*SearchForTheFile*/ -if(tmpFd->mp->fs->vfsOpenFile(tmpFd->fileName,tmpFd)==0x1){ -/*IfTheFileIsFoundThenSetUpTheDescriptor*/ - - -/*inordertosaveresourceswewillallocatethebufferlaterwhenitisneeded*/ +default: +kprintf("Invalidmode'%c'forfopen\n",flags[i]); +break; +} +} +/*SearchForTheFile*/ +if(tmpFd->mp->fs->vfsOpenFile(tmpFd->fileName,tmpFd)==0x1){ +/*IfTheFileIsFoundThenSetUpTheDescriptor*/ -tmpFd->buffer=(char*)kmalloc(4096); -if(tmpFd->buffer==0x0) -{ -kfree(tmpFd); -kprintf("Error:tmpFd->buffer==NULL,File:%s,Line:%i\n",__FILE__,__LINE__); -spinUnlock(&fdTable_lock); -return0x1; -} -/*SetItsStatusToOpen*/ -tmpFd->status=fdOpen; - -/*InitialFileOffsetIsZero*/ -tmpFd->offset=0; -tmpFd->prev=0x0; - -/*wedonotwanttobeinaspinlocklongerthanweneedto,so -ithasbeenmovedtohere.*/ -spinLock(&fdTable_lock); - -/*IncrementNumberOfOpenFiles*/ -systemVitals->openFiles++; - -tmpFd->next=fdTable; - -if(fdTable!=0x0) -fdTable->prev=tmpFd; + +/*inordertosaveresourceswewillallocatethebufferlaterwhenitisneeded*/ + +tmpFd->buffer=(char*)kmalloc(4096); +if(tmpFd->buffer==0x0) +{ +kfree(tmpFd); +kprintf("Error:tmpFd->buffer==NULL,File:%s,Line:%i\n",__FILE__,__LINE__); +spinUnlock(&fdTable_lock); +return0x1; +} +/*SetItsStatusToOpen*/ +tmpFd->status=fdOpen; + +/*InitialFileOffsetIsZero*/ +tmpFd->offset=0; +tmpFd->prev=0x0; + +/*wedonotwanttobeinaspinlocklongerthanweneedto,so +ithasbeenmovedtohere.*/ +spinLock(&fdTable_lock); + +/*IncrementNumberOfOpenFiles*/ +systemVitals->openFiles++; + +tmpFd->next=fdTable; -fdTable=tmpFd; - -spinUnlock(&fdTable_lock); - - -/*ReturnTheFD*/ -return(tmpFd); -} -else{ -kfree(tmpFd->buffer); -kfree(tmpFd); -spinUnlock(&fdTable_lock); -kprintf("FileNotFound?\n"); -return(NULL); -} - -/*ReturnNULL*/ -return(0x0); -} - -/************************************************************************ - -Function:intfclose(fileDescriptor*fd); -Description:ThisWillCloseAndFreeAFileDescriptor -Notes: - -************************************************************************/ -intfclose(fileDescriptor*fd){ -fileDescriptor*tmpFd=0x0; -assert(fd); - -spinLock(&fdTable_lock); +if(fdTable!=0x0) +fdTable->prev=tmpFd; + +fdTable=tmpFd; + +spinUnlock(&fdTable_lock); + +/*ReturnTheFD*/ +return(tmpFd); +} +else{ +kfree(tmpFd->buffer); +kfree(tmpFd); +spinUnlock(&fdTable_lock); +kprintf("FileNotFound?%s\n",file); +return(NULL); +} + +/*ReturnNULL*/ +return(0x0); +} + +/************************************************************************ + +Function:intfclose(fileDescriptor*fd); +Description:ThisWillCloseAndFreeAFileDescriptor +Notes: + +************************************************************************/ +intfclose(fileDescriptor*fd){ +fileDescriptor*tmpFd=0x0; +assert(fd); -for(tmpFd=fdTable;tmpFd!=0x0;tmpFd=tmpFd->next){ -if(tmpFd==fd){ -if(tmpFd->prev) -tmpFd->prev->next=tmpFd->next; -if(tmpFd->next) -tmpFd->next->prev=tmpFd->prev; - -if(tmpFd==fdTable) -fdTable=tmpFd->next; - -systemVitals->openFiles--; -spinUnlock(&fdTable_lock); -if(tmpFd->buffer!=NULL) -kfree(tmpFd->buffer); -kfree(tmpFd); -return(0x0); -} -} - -spinUnlock(&fdTable_lock); -return(0x1); -} - -/*UBU*/ +spinLock(&fdTable_lock); + +for(tmpFd=fdTable;tmpFd!=0x0;tmpFd=tmpFd->next){ +if(tmpFd==fd){ +if(tmpFd->prev) +tmpFd->prev->next=tmpFd->next; +if(tmpFd->next) +tmpFd->next->prev=tmpFd->prev; + +if(tmpFd==fdTable) +fdTable=tmpFd->next; + +systemVitals->openFiles--; +spinUnlock(&fdTable_lock); +if(tmpFd->buffer!=NULL) +kfree(tmpFd->buffer); +kfree(tmpFd); +return(0x0); +} +} + +spinUnlock(&fdTable_lock); +return(0x1); +} -/************************************************************************ - -Function:voidsysMkDir(constchar*path) -Description:ThisWillCreateANewDirectory -Notes: - -************************************************************************/ -voidsysMkDir(constchar*path){ -fileDescriptor*tmpFD=0x0; -chartmpDir[1024]; -charrootPath[256]; -char*dir=0x0;//UBU*mountPoint=0x0; -char*tmp=0x0; -rootPath[0]='\0'; -dir=(char*)path; - -if(strstr(path,":")==0x0){ -sprintf(tmpDir,"%s%s",_current->oInfo.cwd,path); -dir=(char*)&tmpDir; -} -while(strstr(dir,"/")){ -if(rootPath[0]==0x0) -sprintf(rootPath,"%s/",strtok(dir,"/")); -else -sprintf(rootPath,"%s%s/",rootPath,strtok(dir,"/")); -tmp=strtok(NULL,"\n"); -dir=tmp; -} - -//kprintf("rootPath:[%s]\n",rootPath); -tmpFD=fopen(rootPath,"rb"); - -if(tmpFD->mp==0x0){ -kprintf("InvalidMountPoint\n"); -} -tmpFD->mp->fs->vfsMakeDir(dir,tmpFD); - -fclose(tmpFD); +/*UBU*/ + +/************************************************************************ + +Function:voidsysMkDir(constchar*path) +Description:ThisWillCreateANewDirectory +Notes: + +************************************************************************/ +voidsysMkDir(constchar*path){ +fileDescriptor*tmpFD=0x0; +chartmpDir[1024]; +charrootPath[256]; +char*dir=0x0;//UBU*mountPoint=0x0; +char*tmp=0x0; +rootPath[0]='\0'; +dir=(char*)path; + +if(strstr(path,":")==0x0){ +sprintf(tmpDir,"%s%s",_current->oInfo.cwd,path); +dir=(char*)&tmpDir; +} +while(strstr(dir,"/")){ +if(rootPath[0]==0x0) +sprintf(rootPath,"%s/",strtok(dir,"/")); +else +sprintf(rootPath,"%s%s/",rootPath,strtok(dir,"/")); +tmp=strtok(NULL,"\n"); +dir=tmp; +} + +//kprintf("rootPath:[%s]\n",rootPath); +tmpFD=fopen(rootPath,"rb"); + +if(tmpFD->mp==0x0){ +kprintf("InvalidMountPoint\n"); +} +tmpFD->mp->fs->vfsMakeDir(dir,tmpFD); -return; -} - - -/************************************************************************ - -Function:intunlink(constchar*node) -Description:Thiswillunlinkafile -Notes: - -************************************************************************/ - -intunlink(constchar*node){ -char*path=0x0,*mountPoint=0x0; -structvfs_mountPoint*mp=0x0; - -path=(char*)strtok((char*)node,"@"); -mountPoint=strtok(NULL,"\n"); -if(mountPoint==0x0){ -mp=vfs_findMount("sys");/*_current->oInfo.container;*/ -} -else{ -mp=vfs_findMount(mountPoint); -} -if(mp==0x0){ -//kpanic("MountPointBad"); -return(0x0); -} -mp->fs->vfsUnlink(path,mp); -return(0x0); -} - - -/*** -END -***/ - +fclose(tmpFD); + +return; +} + + +/************************************************************************ + +Function:intunlink(constchar*node) +Description:Thiswillunlinkafile +Notes: + +************************************************************************/ + +intunlink(constchar*node){ +char*path=0x0,*mountPoint=0x0; +structvfs_mountPoint*mp=0x0; + +path=(char*)strtok((char*)node,"@"); +mountPoint=strtok(NULL,"\n"); +if(mountPoint==0x0){ +mp=vfs_findMount("sys");/*_current->oInfo.container;*/ +} +else{ +mp=vfs_findMount(mountPoint); +} +if(mp==0x0){ +//kpanic("MountPointBad"); +return(0x0); +} +mp->fs->vfsUnlink(path,mp); +return(0x0); +} + + +/*** +END +***/ + diff --git a/doc/xml/fork_8c.xml b/doc/xml/fork_8c.xml index d0a7bf6..55695a7 100644 --- a/doc/xml/fork_8c.xml +++ b/doc/xml/fork_8c.xml @@ -3,7 +3,7 @@ fork.c ubixos/fork.h - ubixos/types.h + ubixos/types.h ubixos/sched.h ubixos/tty.h ubixos/vitals.h @@ -11,193 +11,195 @@ string.h assert.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + @@ -213,15 +215,15 @@ eax - %eax\n""call schedNewTask\n""testl% + %eax\n""call schedNewTask\n""testl% eax - %eax\n""je fork_ret\n""pushl%esi\n""pushl%edi\n""pushl%ebp\n""pushl%eax\n""call fork_copyProcess\n""movl% + %eax\n""je fork_ret\n""pushl%esi\n""pushl%edi\n""pushl%ebp\n""pushl%eax\n""call fork_copyProcess\n""movl% eax - (%ebx)\n""addl $ + (%ebx)\n""addl $ 16 @@ -379,7 +381,7 @@ *****************************************************************************************/ #include<ubixos/fork.h> -#include<ubixos/types.h> +#include<ubixos/types.h> #include<ubixos/sched.h> #include<ubixos/tty.h> #include<ubixos/vitals.h> @@ -398,7 +400,7 @@ *****************************************************************************************/ /*Hadtoremovestaticthoughtihsfunctionisonlyusedinthisfile*/ -intfork_copyProcess(structtaskStruct*newProcess,longebp,longedi,longesi,longnone,longebx,longecx,longedx,longeip,longcs,longeflags,longesp,longss){ +intfork_copyProcess(structtaskStruct*newProcess,longebp,longedi,longesi,longnone,longebx,longecx,longedx,longeip,longcs,longeflags,longesp,longss){ volatilestructtaskStruct*tmpProcPtr=newProcess; assert(newProcess); assert(_current); @@ -438,7 +440,7 @@ newProcess->tss.trace_bitmap=0x0000; newProcess->tss.io_map=0x8000; /*CreateACopyOfTheVMSpaceForNewTask*/ -newProcess->tss.cr3=(uInt32)vmmCopyVirtualSpace(newProcess->id); +newProcess->tss.cr3=(uInt32)vmmCopyVirtualSpace(newProcess->id); newProcess->state=FORK; /*Fixgccoptimizationproblems*/ diff --git a/doc/xml/fork_8h.xml b/doc/xml/fork_8h.xml index 741bd50..ea8fbe6 100644 --- a/doc/xml/fork_8h.xml +++ b/doc/xml/fork_8h.xml @@ -2,135 +2,137 @@ fork.h - ubixos/types.h + ubixos/types.h ubixos/sched.h src/sys/kernel/fork.c src/sys/net/net/shell.c - + - + - + - + - + - + - + - + - + - + - - + + - + - + - - + + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + @@ -186,7 +188,7 @@ #ifndef_FORK_H #define_FORK_H -#include<ubixos/types.h> +#include<ubixos/types.h> #include<ubixos/sched.h> voidsysFork(); diff --git a/doc/xml/fsAbstract_8h.xml b/doc/xml/fsAbstract_8h.xml index ae70d7f..1af34b6 100644 --- a/doc/xml/fsAbstract_8h.xml +++ b/doc/xml/fsAbstract_8h.xml @@ -9,115 +9,115 @@ file.h src/sys/ubixfsv2/ubixfs.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/doc/xml/gdt_8h.xml b/doc/xml/gdt_8h.xml index c6c648f..710bd10 100644 --- a/doc/xml/gdt_8h.xml +++ b/doc/xml/gdt_8h.xml @@ -11,81 +11,81 @@ src/sys/pci/lnc.c src/sys/sys/idt.c - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/doc/xml/gen__calls_8c.xml b/doc/xml/gen__calls_8c.xml index 0697e96..5f8bd84 100644 --- a/doc/xml/gen__calls_8c.xml +++ b/doc/xml/gen__calls_8c.xml @@ -2,145 +2,178 @@ gen_calls.c - ubixos/types.h + ubixos/types.h sys/thread.h sys/gen_calls.h + sys/kern_descrip.h ubixos/sched.h lib/kprintf.h + lib/kmalloc.h + string.h assert.h - + - + - + - + - + - + - + - + - + - + - - + + - + - - - - - - - - + + + + - + + + + + + + + + + + - + - + + + + + + + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + @@ -164,11 +197,12 @@ - + _current taskStruct::gid + kprintf taskStruct::td - thread::td_retval + thread::td_retval int @@ -189,11 +223,12 @@ - + _current taskStruct::id + kprintf taskStruct::td - thread::td_retval + thread::td_retval int @@ -214,7 +249,8 @@ - + + kprintf int @@ -235,10 +271,11 @@ - + _current + kprintf taskStruct::td - thread::td_retval + thread::td_retval taskStruct::uid @@ -260,7 +297,8 @@ - + + kprintf int @@ -281,10 +319,16 @@ - - read_args::buf - taskStruct::td - thread::td_retval + + read_args::buf + read_args::fd + file::fd + fread + getfd + kprintf + read_args::nbyte + thread::td_retval + x1 int @@ -305,12 +349,33 @@ - - readlink_args::count + + readlink_args::count kprintf - readlink_args::path + readlink_args::path taskStruct::td - thread::td_retval + thread::td_retval + + + int + int setitimer + (struct thread *td, struct setitimer_args *uap) + setitimer + + struct thread * + td + + + struct setitimer_args * + uap + + +place holder for now functionality to be added later + + + + + int @@ -331,15 +396,17 @@ - - write_args::buf + + write_args::buf buffer - write_args::fd + write_args::fd kfree kmalloc kprintf memcpy - write_args::nbyte + write_args::nbyte + taskStruct::td + thread::td_retval @@ -376,84 +443,131 @@ *****************************************************************************************/ -#include<ubixos/types.h> +#include<ubixos/types.h> #include<sys/thread.h> #include<sys/gen_calls.h> -#include<ubixos/sched.h> -#include<lib/kprintf.h> -#include<assert.h> - -/*returntheprocessid*/ -intgetpid(structthread*td,structgetpid_args*uap){ -td->td_retval[0]=_current->id; -return(0); -} - -/*returntheprocessuserid*/ -intgetuid(structthread*td,structgetuid_args*uap){ -td->td_retval[0]=_current->uid; +#include<sys/kern_descrip.h> +#include<ubixos/sched.h> +#include<lib/kprintf.h> +#include<lib/kmalloc.h> +#include<string.h> +#include<assert.h> + +/*returntheprocessid*/ +intgetpid(structthread*td,structgetpid_args*uap){ +#ifdefDEBUG +kprintf("[%s:%i]",__FILE__,__LINE__); +#endif +td->td_retval[0]=_current->id; return(0); } -/*returntheprocessgroupid*/ -intgetgid(structthread*td,structgetgid_args*uap){ -td->td_retval[0]=_current->gid; -return(0); -} - -intsys_write(structthread*td,structwrite_args*uap){ -char*buffer=0x0; -char*in=0x0; - -if(uap->fd==2){ -kprintf("stderr:%s",uap->buf); -} - -if(uap->fd==1){ -in=uap->buf; -buffer=kmalloc(1024); -memcpy(buffer,uap->buf,uap->nbyte); -kprintf("%s",buffer); -kfree(buffer); -} -else{ -kprintf("(%i)%s",uap->fd,uap->buf); -} -return(0x0); -} +/*returntheprocessuserid*/ +intgetuid(structthread*td,structgetuid_args*uap){ +#ifdefDEBUG +kprintf("[%s:%i]",__FILE__,__LINE__); +#endif +td->td_retval[0]=_current->uid; +return(0); +} + +/*returntheprocessgroupid*/ +intgetgid(structthread*td,structgetgid_args*uap){ +#ifdefDEBUG +kprintf("[%s:%i]",__FILE__,__LINE__); +#endif +td->td_retval[0]=_current->gid; +return(0); +} + +intsys_write(structthread*td,structwrite_args*uap){ +char*buffer=0x0; +char*in=0x0; + +#ifdefDEBUG +kprintf("[%s:%i]",__FILE__,__LINE__); +#endif +kprintf("sw[%i]",uap->fd); -intissetugid(registerstructthread*td,structissetugid_args*uap){ -td->td_retval[0]=0; -return(0); -} - -intreadlink(structthread*td,structreadlink_args*uap){ -kprintf("readlink:[%s:%i]\n",uap->path,uap->count); -td->td_retval[0]=-1; -td->td_retval[1]=0x0; -return(0x0); -} - -intgettimeofday_new(structthread*td,structgettimeofday_args*uap){ -return(0x0); -} - -intread(structthread*td,structread_args*uap){ -interror=0x0; -inti=0x0; - -for(i=0x0;i<20;i++){ -((char*)uap->buf)[i]='a'; -} -((char*)uap->buf)[i]='\0'; -td->td_retval[0]=20; -return(error); -} - - -/*** -END -***/ +if(uap->fd==2){ +kprintf("stderr:%s",uap->buf); +} + +if(uap->fd==1){ +in=(char*)uap->buf; +buffer=kmalloc(1024); +memcpy(buffer,uap->buf,uap->nbyte); +kprintf("%s",buffer); +kfree(buffer); +td->td_retval[0]=uap->nbyte; +} +else{ +kprintf("[%i]",uap->nbyte); +buffer=kmalloc(uap->nbyte); +memcpy(buffer,uap->buf,uap->nbyte); +//kprint(buffer); +kfree(buffer); +kprintf("(%i)%s",uap->fd,uap->buf); +td->td_retval[0]=uap->nbyte; +} +return(0x0); +} + +intissetugid(registerstructthread*td,structissetugid_args*uap){ +#ifdefDEBUG +kprintf("[%s:%i]",__FILE__,__LINE__); +#endif +td->td_retval[0]=0; +return(0); +} + +intreadlink(structthread*td,structreadlink_args*uap){ +#ifdefDEBUG +kprintf("[%s:%i]",__FILE__,__LINE__); +#endif +kprintf("readlink:[%s:%i]\n",uap->path,uap->count); +td->td_retval[0]=-1; +td->td_retval[1]=0x0; +return(0x0); +} + +intgettimeofday_new(structthread*td,structgettimeofday_args*uap){ +#ifdefDEBUG +kprintf("[%s:%i]",__FILE__,__LINE__); +#endif +return(0x0); +} + +intread(structthread*td,structread_args*uap){ +interror=0x0; +size_tcount=0x0; +structfile*fd=0x0; + +#ifdefDEBUG +kprintf("[%s:%i]",__FILE__,__LINE__); +#endif + +error=getfd(td,&fd,uap->fd); + +if(error) +return(error); + +count=fread(uap->buf,uap->nbyte,0x1,fd->fd); +kprintf("count:%i\n",count); +td->td_retval[0]=count; + +return(error); +} + +intsetitimer(structthread*td,structsetitimer_args*uap){ +interror=0x0; + +return(error); +} + +/*** +END +***/ diff --git a/doc/xml/gen__calls_8h.xml b/doc/xml/gen__calls_8h.xml index 28cb4bc..7869c0b 100644 --- a/doc/xml/gen__calls_8h.xml +++ b/doc/xml/gen__calls_8h.xml @@ -6,51 +6,53 @@ sys/sysproto.h src/sys/kernel/gen_calls.c - + - + - + - - + + - + - + - + - + - + - + + + - + - + - + - + - + @@ -73,9 +75,7 @@ - - UbixFS::mknod - UbixFS::vfs_format + int @@ -94,7 +94,7 @@ - + int @@ -113,7 +113,7 @@ - + int @@ -132,9 +132,7 @@ - - UbixFS::mknod - UbixFS::vfs_format + int @@ -153,7 +151,7 @@ - + int @@ -174,7 +172,7 @@ - + int @@ -193,26 +191,7 @@ - - - - int - int sys_write - (struct thread *, struct write_args *) - sys_write - - struct thread * - - - struct write_args * - - - - - - - - + @@ -256,7 +235,7 @@ #include<sys/sysproto.h> intread(structthread*td,structread_args*uap); -intsys_write(structthread*,structwrite_args*); + intgetpid(structthread*,structgetpid_args*); intissetugid(registerstructthread*,structissetugid_args*); intreadlink(structthread*,structreadlink_args*); diff --git a/doc/xml/getfreepage_8c.xml b/doc/xml/getfreepage_8c.xml index 65a9691..a8c7631 100644 --- a/doc/xml/getfreepage_8c.xml +++ b/doc/xml/getfreepage_8c.xml @@ -6,70 +6,72 @@ ubixos/kpanic.h ubixos/spinlock.h - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + @@ -80,7 +82,7 @@ (pidType pid) vmmGetFreePage - pidType + pidType pid @@ -172,10 +174,10 @@ ************************************************************************/ void* -vmmGetFreePage(pidTypepid) +vmmGetFreePage(pidTypepid) { -uInt16x=0x0,y=0x0; -uInt32*pageTableSrc=0x0; +uInt16x=0x0,y=0x0; +uInt32*pageTableSrc=0x0; spinLock(&vmmGFPlock); @@ -183,10 +185,10 @@ for(x=768;x<1024;x++){ /*SetPageTableAddress*/ -pageTableSrc=(uInt32*)(tablesBaseAddress+(0x1000*x)); +pageTableSrc=(uInt32*)(tablesBaseAddress+(0x1000*x)); for(y=0x0;y<1024;y++){ /*LoopThroughThePageTableFindAnUnAllocatedPage*/ -if((uInt32)pageTableSrc[y]==(uInt32)0x0){ +if((uInt32)pageTableSrc[y]==(uInt32)0x0){ /*MapAPhysicalPageToTheVirtualPage*/ if((vmm_remapPage(vmmFindFreePage(pid),((x*0x400000)+(y*0x1000)),KERNEL_PAGE_DEFAULT))==0x0) kpanic("vmmRemapPage:vmmGetFreePage\n"); diff --git a/doc/xml/getfreevirtualpage_8c.xml b/doc/xml/getfreevirtualpage_8c.xml index 8910de3..e0c149b 100644 --- a/doc/xml/getfreevirtualpage_8c.xml +++ b/doc/xml/getfreevirtualpage_8c.xml @@ -8,152 +8,154 @@ ubixos/spinlock.h lib/kprint.h - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + - + @@ -164,7 +166,7 @@ (pidType pid, int count, int type) vmmGetFreeVirtualPage - pidType + pidType pid @@ -200,8 +202,8 @@ spinUnlock tablesBaseAddress taskStruct::td - thread::vm_daddr - thread::vm_dsize + thread::vm_daddr + thread::vm_dsize VM_TASK VM_THRD vmm_remapPage @@ -210,7 +212,8 @@ osInfo::vmStart x1 x1000 - mmap + mmap + sysExec sysGetFreePage vmm_pageFault @@ -283,23 +286,23 @@ 08/11/02-ThisWillReturnNextAvilableFreePageOfTasksVMSpace ************************************************************************/ -void*vmmGetFreeVirtualPage(pidTypepid,intcount,inttype){ +void*vmmGetFreeVirtualPage(pidTypepid,intcount,inttype){ intx=0,y=0,c=0; -uInt32*pageTableSrc=0x0; -uInt32*pageDir=0x0; -uInt32start_page=0x0; +uInt32*pageTableSrc=0x0; +uInt32*pageDir=0x0; +uInt32start_page=0x0; spinLock(&fvpSpinLock); -pageDir=(uInt32*)parentPageDirAddr; +pageDir=(uInt32*)parentPageDirAddr; /*LetsSearchForAFreePage*/ if(_current->oInfo.vmStart<=0x100000) kpanic("InvalidvmStart\n"); if(type==VM_THRD){ -start_page=(u_int32_t)(_current->td.vm_daddr+ctob(_current->td.vm_dsize)); +start_page=(u_int32_t)(_current->td.vm_daddr+ctob(_current->td.vm_dsize)); } elseif(type==VM_TASK){ //kprintf("vmStart"); @@ -313,9 +316,9 @@ /*SetPageTableAddress*/ if((pageDir[x]&PAGE_PRESENT)!=PAGE_PRESENT){ /*IfPageTableIsNonExistantThenSetItUp*/ -pageDir[x]=(uInt32)vmmFindFreePage(_current->id)|PAGE_DEFAULT; +pageDir[x]=(uInt32)vmmFindFreePage(_current->id)|PAGE_DEFAULT; /*AlsoAddItToVirtualSpaceSoWeCanMakeChangesLater*/ -pageTableSrc=(uInt32*)(tablesBaseAddress+(4096*767)); +pageTableSrc=(uInt32*)(tablesBaseAddress+(4096*767)); pageTableSrc[x]=pageDir[x]; y=1; /*ReloadPageDirectory*/ @@ -324,26 +327,26 @@ "movl%eax,%cr3\n" ); } -pageTableSrc=(uInt32*)(tablesBaseAddress+(0x1000*x)); +pageTableSrc=(uInt32*)(tablesBaseAddress+(0x1000*x)); if(y!=0x0){ for(y=0x0;y<pageEntries;y++){ -pageTableSrc[y]=(uInt32)0x0; +pageTableSrc[y]=(uInt32)0x0; } } for(y=0;y<1024;y++){ /*LoopThroughThePageTableFindAnUnAllocatedPage*/ if((pageTableSrc[y]&PAGE_COW)==PAGE_COW){ -kprintf("COW"); +kprintf("PAGE_COW"); //_current->td.vm_dsize+=btoc(0x1000); /*HACKMEMORYLEAK*/ //pageTableSrc[y]=0x0; } -if((uInt32)pageTableSrc[y]==(uInt32)0x0){ +if((uInt32)pageTableSrc[y]==(uInt32)0x0){ if(count>0x1){ for(c=0;c<count;c++){ if(y+c<1024){ if((pageTableSrc[y+c]&PAGE_COW)==PAGE_COW){ -kprintf("COW"); +kprintf("PAGE-COW"); //_current->td.vm_dsize+=btoc(0x1000); /*HACKMEMORYLEAK*/ //pageTableSrc[y+c]=0x0; diff --git a/doc/xml/getphysicaladdr_8c.xml b/doc/xml/getphysicaladdr_8c.xml index 57b4ee8..72916af 100644 --- a/doc/xml/getphysicaladdr_8c.xml +++ b/doc/xml/getphysicaladdr_8c.xml @@ -4,67 +4,69 @@ getphysicaladdr.c vmm/vmm.h - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - u_int32_t + u_int32_t u_int32_t vmm_getPhysicalAddr (uInt32 pageAddr) vmm_getPhysicalAddr - uInt32 + uInt32 pageAddr @@ -117,9 +119,9 @@ #include<vmm/vmm.h> -u_int32_tvmm_getPhysicalAddr(uInt32pageAddr){ +u_int32_tvmm_getPhysicalAddr(uInt32pageAddr){ intpageDirectoryIndex=0x0,pageTableIndex=0x0; -uInt32*pageTable=0x0; +uInt32*pageTable=0x0; //CalculateThePageDirectoryIndex pageDirectoryIndex=(pageAddr>>22); @@ -128,9 +130,9 @@ pageTableIndex=((pageAddr>>12)&0x3FF); /*SetpageTableToTheVirtualAddressOfTable*/ -pageTable=(uInt32*)(tablesBaseAddress+(0x1000*pageDirectoryIndex)); +pageTable=(uInt32*)(tablesBaseAddress+(0x1000*pageDirectoryIndex)); /*ReturnThePhysicalAddressOfThePage*/ -return((uInt32)(pageTable[pageTableIndex]&0xFFFFF000)); +return((uInt32)(pageTable[pageTableIndex]&0xFFFFF000)); } /*** diff --git a/doc/xml/hd_8c.xml b/doc/xml/hd_8c.xml index 620f634..227ca5a 100644 --- a/doc/xml/hd_8c.xml +++ b/doc/xml/hd_8c.xml @@ -4,201 +4,203 @@ hd.c pci/hd.h sys/video.h - sys/device.h + sys/device.h sys/io.h lib/kmalloc.h lib/kprintf.h devfs/devfs.h string.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - - + + @@ -267,11 +269,11 @@ baseAddr - uInt32 + uInt32 startSector - uInt32 + uInt32 sectorCount @@ -373,11 +375,11 @@ baseAddr - uInt32 + uInt32 startSector - uInt32 + uInt32 sectorCount @@ -424,7 +426,7 @@ bsd_disklabel::d_npartitions bsd_disklabel::d_partitions devfs_makeNode - device_add + device_add dos_partition::dp_start fstypenames driveInfo::hdDev @@ -438,12 +440,12 @@ hdStart hdStop hdWrite - device_interface::info + device_interface::info device_interface::init device_interface::ioctl kmalloc kprintf - device_interface::major + device_interface::major memcpy name bsd_disklabel::partition::p_fstype @@ -496,7 +498,7 @@ #include<pci/hd.h> #include<sys/video.h> -#include<sys/device.h> +#include<sys/device.h> #include<sys/io.h> #include<lib/kmalloc.h> #include<lib/kprintf.h> @@ -543,7 +545,7 @@ data2=(char*)kmalloc(512); bsdd=(structbsd_disklabel*)data2; -if(device_add(0,'c',devInfo)==0x0){ +if(device_add(0,'c',devInfo)==0x0){ kprintf("ad0-Start:[0x0],Size:[0x%x/0x%X]\n",hdd->hdSize,hdd->hdSize*512); devfs_makeNode("ad0",'b',0x1,0x0); hdRead(devInfo->info,data,0x0,0x1); @@ -556,7 +558,7 @@ hdd2->parOffset=d[i].dp_start; devInfo2->info=hdd2; minor++; -if(device_add(minor,'c',devInfo2)==0x0){ +if(device_add(minor,'c',devInfo2)==0x0){ sprintf(name,"ad0s%i",i+1); kprintf("%s-Type:[0x%X],Start:[0x%X],Size:[0x%X]\n",name,d[i].dp_type,d[i].dp_start,d[i].dp_size); devfs_makeNode(name,'c',0x1,minor); @@ -575,7 +577,7 @@ hdd2->parOffset=bsdd->d_partitions[x].p_offset; devInfo2->info=hdd2; minor++; -device_add(minor,'c',devInfo2); +device_add(minor,'c',devInfo2); devfs_makeNode(name,'c',0x1,minor); kprintf("%s-Type:[%s],Start:[0x%X],Size:[0x%X],MM:[%i:%i]\n",name,fstypenames[bsdd->d_partitions[x].p_fstype],bsdd->d_partitions[x].p_offset,bsdd->d_partitions[x].p_size,devInfo->major,minor); } @@ -686,7 +688,7 @@ return(0x0); } -voidhdWrite(structdriveInfo*hdd,void*baseAddr,uInt32startSector,uInt32sectorCount){ +voidhdWrite(structdriveInfo*hdd,void*baseAddr,uInt32startSector,uInt32sectorCount){ longcounter=0x0; longretVal=0x0; shorttransactionCount=0x0; @@ -748,7 +750,7 @@ return; } -voidhdRead(structdriveInfo*hdd,void*baseAddr,uInt32startSector,uInt32sectorCount){ +voidhdRead(structdriveInfo*hdd,void*baseAddr,uInt32startSector,uInt32sectorCount){ longcounter=0x0; longretVal=0x0; shorttransactionCount=0x0; @@ -793,7 +795,7 @@ for(counter=1000000;counter>=0;counter--){ retVal=inportByte(hdd->hdPort+hdStat); if((retVal&1)!=0x0){ -kprintf("HDReadError:[%i:0x%X:%i]\n",counter,(uInt32)baseAddr,startSector); +kprintf("HDReadError:[%i:0x%X:%i]\n",counter,(uInt32)baseAddr,startSector); return; } if((retVal&8)!=0x0){ diff --git a/doc/xml/hd_8h.xml b/doc/xml/hd_8h.xml index 522b2f5..7da2454 100644 --- a/doc/xml/hd_8h.xml +++ b/doc/xml/hd_8h.xml @@ -2,166 +2,168 @@ hd.h - ubixfs/ubixfs.h + ubixfs/ubixfs.h src/sys/include/ubixos/init.h src/sys/pci/hd.c - + - + - + - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - + + + + - - - - + + + + + + + + + + + + + + + + + + - - + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - - - - - - + + + + + + + - - + + - + - + - + - + - + - + - + @@ -388,10 +390,10 @@ void * - uInt32 + uInt32 - uInt32 + uInt32 @@ -491,10 +493,10 @@ void * - uInt32 + uInt32 - uInt32 + uInt32 @@ -540,7 +542,7 @@ bsd_disklabel::d_npartitions bsd_disklabel::d_partitions devfs_makeNode - device_add + device_add dos_partition::dp_start fstypenames driveInfo::hdDev @@ -554,12 +556,12 @@ hdStart hdStop hdWrite - device_interface::info + device_interface::info device_interface::init device_interface::ioctl kmalloc kprintf - device_interface::major + device_interface::major memcpy name bsd_disklabel::partition::p_fstype @@ -653,7 +655,7 @@ #ifndef_HD_H #define_HD_H -#include<ubixfs/ubixfs.h> +#include<ubixfs/ubixfs.h> #definehdData0x0 #definehdError0x1 @@ -682,8 +684,8 @@ }; intinitHardDisk(); -voidhdWrite(structdriveInfo*hdd,void*,uInt32,uInt32); -voidhdRead(structdriveInfo*hdd,void*,uInt32,uInt32); +voidhdWrite(structdriveInfo*hdd,void*,uInt32,uInt32); +voidhdRead(structdriveInfo*hdd,void*,uInt32,uInt32); inthdReset(); inthdIoctl(); inthdStart(); @@ -700,27 +702,27 @@ unsignedchardp_ehd;/*endhead*/ unsignedchardp_esect;/*endsector*/ unsignedchardp_ecyl;/*endcylinder*/ -uInt32dp_start;/*absolutestartingsectornumber*/ -uInt32dp_size;/*partitionsizeinsectors*/ +uInt32dp_start;/*absolutestartingsectornumber*/ +uInt32dp_size;/*partitionsizeinsectors*/ }; #defineMAXPARTITIONS8 structbsd_disklabel{ -u_int32_td_magic;/*themagicnumber*/ -u_int16_td_type;/*drivetype*/ -u_int16_td_subtype;/*controller/d_typespecific*/ +u_int32_td_magic;/*themagicnumber*/ +u_int16_td_type;/*drivetype*/ +u_int16_td_subtype;/*controller/d_typespecific*/ chard_typename[16];/*typename,e.g."eagle"*/ chard_packname[16];/*packidentifier*/ /*diskgeometry:*/ -u_int32_td_secsize;/*#ofbytespersector*/ -u_int32_td_nsectors;/*#ofdatasectorspertrack*/ -u_int32_td_ntracks;/*#oftrackspercylinder*/ -u_int32_td_ncylinders;/*#ofdatacylindersperunit*/ -u_int32_td_secpercyl;/*#ofdatasectorspercylinder*/ -u_int32_td_secperunit;/*#ofdatasectorsperunit*/ +u_int32_td_secsize;/*#ofbytespersector*/ +u_int32_td_nsectors;/*#ofdatasectorspertrack*/ +u_int32_td_ntracks;/*#oftrackspercylinder*/ +u_int32_td_ncylinders;/*#ofdatacylindersperunit*/ +u_int32_td_secpercyl;/*#ofdatasectorspercylinder*/ +u_int32_td_secperunit;/*#ofdatasectorsperunit*/ /* *Spares(badsectorreplacements)belowarenotcountedin @@ -728,13 +730,13 @@ *bephysicalsectorswhichoccupyspaceattheendofeach *trackand/orcylinder. */ -u_int16_td_sparespertrack;/*#ofsparesectorspertrack*/ -u_int16_td_sparespercyl;/*#ofsparesectorspercylinder*/ +u_int16_td_sparespertrack;/*#ofsparesectorspertrack*/ +u_int16_td_sparespercyl;/*#ofsparesectorspercylinder*/ /* *Alternatecylindersincludemaintenance,replacement,configuration *descriptionareas,etc. */ -u_int32_td_acylinders;/*#ofalt.cylindersperunit*/ +u_int32_td_acylinders;/*#ofalt.cylindersperunit*/ /*hardwarecharacteristics:*/ /* @@ -753,31 +755,31 @@ *istheoffsetofsector0oncylinderNrelativetosector0 *oncylinderN-1. */ -u_int16_td_rpm;/*rotationalspeed*/ -u_int16_td_interleave;/*hardwaresectorinterleave*/ -u_int16_td_trackskew;/*sector0skew,pertrack*/ -u_int16_td_cylskew;/*sector0skew,percylinder*/ -u_int32_td_headswitch;/*headswitchtime,usec*/ -u_int32_td_trkseek;/*track-to-trackseek,usec*/ -u_int32_td_flags;/*genericflags*/ +u_int16_td_rpm;/*rotationalspeed*/ +u_int16_td_interleave;/*hardwaresectorinterleave*/ +u_int16_td_trackskew;/*sector0skew,pertrack*/ +u_int16_td_cylskew;/*sector0skew,percylinder*/ +u_int32_td_headswitch;/*headswitchtime,usec*/ +u_int32_td_trkseek;/*track-to-trackseek,usec*/ +u_int32_td_flags;/*genericflags*/ #defineNDDATA5 -u_int32_td_drivedata[NDDATA];/*drive-typespecificinformation*/ +u_int32_td_drivedata[NDDATA];/*drive-typespecificinformation*/ #defineNSPARE5 -u_int32_td_spare[NSPARE];/*reservedforfutureuse*/ -u_int32_td_magic2;/*themagicnumber(again)*/ -u_int16_td_checksum;/*xorofdataincl.partitions*/ +u_int32_td_spare[NSPARE];/*reservedforfutureuse*/ +u_int32_td_magic2;/*themagicnumber(again)*/ +u_int16_td_checksum;/*xorofdataincl.partitions*/ /*filesystemandpartitioninformation:*/ -u_int16_td_npartitions;/*numberofpartitionsinfollowing*/ -u_int32_td_bbsize;/*sizeofbootareaatsn0,bytes*/ -u_int32_td_sbsize;/*maxsizeoffssuperblock,bytes*/ +u_int16_td_npartitions;/*numberofpartitionsinfollowing*/ +u_int32_td_bbsize;/*sizeofbootareaatsn0,bytes*/ +u_int32_td_sbsize;/*maxsizeoffssuperblock,bytes*/ structpartition{/*thepartitiontable*/ -u_int32_tp_size;/*numberofsectorsinpartition*/ -u_int32_tp_offset;/*startingsector*/ -u_int32_tp_fsize;/*filesystembasicfragmentsize*/ -u_int8_tp_fstype;/*filesystemtype,seebelow*/ -u_int8_tp_frag;/*filesystemfragmentsperblock*/ -u_int16_tp_cpg;/*filesystemcylinderspergroup*/ +u_int32_tp_size;/*numberofsectorsinpartition*/ +u_int32_tp_offset;/*startingsector*/ +u_int32_tp_fsize;/*filesystembasicfragmentsize*/ +u_int8_tp_fstype;/*filesystemtype,seebelow*/ +u_int8_tp_frag;/*filesystemfragmentsperblock*/ +u_int16_tp_cpg;/*filesystemcylinderspergroup*/ }d_partitions[MAXPARTITIONS];/*actuallymaybemore*/ }; diff --git a/doc/xml/idt_8c.xml b/doc/xml/idt_8c.xml index 11341ac..ee904f6 100644 --- a/doc/xml/idt_8c.xml +++ b/doc/xml/idt_8c.xml @@ -15,208 +15,210 @@ ubixos/endtask.h string.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -225,7 +227,7 @@ FP_TO_LINEAR seg off - ((void*) ((((uInt16) (seg)) << 4) + ((uInt16) (off)))) + ((void*) ((((uInt16) (seg)) << 4) + ((uInt16) (off)))) @@ -356,7 +358,7 @@ tssStruct::eflags tssStruct::eip tssStruct::esp - FALSE + FALSE FP_TO_LINEAR taskStruct::id inportByte @@ -371,7 +373,7 @@ tssStruct::ss taskStruct::state osInfo::timer - TRUE + TRUE taskStruct::tss osInfo::v86If _int13 @@ -542,15 +544,15 @@ (".globl _int7 \n""_int7: \n"" pushl %eax \n"" clts \n"" movl _current,%eax \n"" cmpl _usedMath,%eax \n"" je mathDone \n"" call mathStateRestore \n""mathDone: \n"" popl %eax \n"" iret \n") asm - ".globl _int7 \n""_int7: \n"" pushl %eax \n"" clts \n"" movl + ".globl _int7 \n""_int7: \n"" pushl %eax \n"" clts \n"" movl _current - %eax\n""cmpl + %eax\n""cmpl _usedMath - %eax\n""je mathDone\n""call mathStateRestore\n""mathDone:\n""popl%eax\n""iret\n" + %eax\n""je mathDone\n""call mathStateRestore\n""mathDone:\n""popl%eax\n""iret\n" @@ -667,15 +669,15 @@ (uInt8 interrupt, uInt16 controlMajor, uInt8 selector) setTaskVector - uInt8 + uInt8 interrupt - uInt16 + uInt16 controlMajor - uInt8 + uInt8 selector @@ -942,9 +944,9 @@ ************************************************************************/ void -setTaskVector(uInt8interrupt,uInt16controlMajor,uInt8selector) +setTaskVector(uInt8interrupt,uInt16controlMajor,uInt8selector) { -uInt16codesegment=0x08; +uInt16codesegment=0x08; asmvolatile("movw%%cs,%0":"=g"(codesegment)); ubixIDT[interrupt].gate.offsetLow=0x0; @@ -1050,10 +1052,10 @@ } void_int13(){ -uInt8*ip=0x0; -uInt16*stack=0x0,*ivt=0x0; -uInt32*stack32=0x0; -boolisOperand32=FALSE,isAddress32=FALSE; +uInt8*ip=0x0; +uInt16*stack=0x0,*ivt=0x0; +uInt32*stack32=0x0; +boolisOperand32=FALSE,isAddress32=FALSE; structtssStruct*gpfTSS=(structtssStruct*)0x4200; irqDisable(0x0); @@ -1064,9 +1066,9 @@ gpfTSS->eflags=0x206; ip=FP_TO_LINEAR(_current->tss.cs,_current->tss.eip); -ivt=(uInt16*)0x0; -stack=(uInt16*)FP_TO_LINEAR(_current->tss.ss,_current->tss.esp); -stack32=(uInt32*)stack; +ivt=(uInt16*)0x0; +stack=(uInt16*)FP_TO_LINEAR(_current->tss.ss,_current->tss.esp); +stack32=(uInt32*)stack; gpfStart: switch(ip[0]){ @@ -1083,8 +1085,8 @@ default: stack-=3; _current->tss.esp=((_current->tss.esp&0xffff)-6)&0xffff; -stack[0]=(uInt16)(_current->tss.eip+2); -stack[1]=_current->tss.cs;stack[2]=(uInt16)_current->tss.eflags; +stack[0]=(uInt16)(_current->tss.eip+2); +stack[1]=_current->tss.cs;stack[2]=(uInt16)_current->tss.eflags; if(_current->oInfo.v86If) stack[2]|=EFLAG_IF; else @@ -1095,42 +1097,42 @@ } break; case0x66: -isOperand32=TRUE; +isOperand32=TRUE; ip++; -_current->tss.eip=(uInt16)(_current->tss.eip+1); +_current->tss.eip=(uInt16)(_current->tss.eip+1); gotogpfStart; break; case0x67: -isAddress32=TRUE; +isAddress32=TRUE; ip++; -_current->tss.eip=(uInt16)(_current->tss.eip+1); +_current->tss.eip=(uInt16)(_current->tss.eip+1); gotogpfStart; break; case0xF0: -_current->tss.eip=(uInt16)(_current->tss.eip+1); +_current->tss.eip=(uInt16)(_current->tss.eip+1); kpanic("GPFOP0xF0\n"); break; case0x9C: -if(isOperand32==TRUE){ +if(isOperand32==TRUE){ _current->tss.esp=((_current->tss.esp&0xffff)-4)&0xffff; stack32--; stack32[0]=_current->tss.eflags&0xDFF; -if(_current->oInfo.v86If==TRUE) +if(_current->oInfo.v86If==TRUE) stack32[0]|=EFLAG_IF; elsestack32[0]&=~EFLAG_IF; }else{ _current->tss.esp=((_current->tss.esp&0xffff)-2)&0xffff; stack--; -stack[0]=(uInt16)_current->tss.eflags; -if(_current->oInfo.v86If==TRUE)stack[0]|=EFLAG_IF; +stack[0]=(uInt16)_current->tss.eflags; +if(_current->oInfo.v86If==TRUE)stack[0]|=EFLAG_IF; elsestack[0]&=~EFLAG_IF; -_current->tss.eip=(uInt16)(_current->tss.eip+1); +_current->tss.eip=(uInt16)(_current->tss.eip+1); } break; case0x9D: -if(isOperand32==TRUE){ +if(isOperand32==TRUE){ _current->tss.eflags=EFLAG_IF|EFLAG_VM|(stack32[0]&0xDFF); _current->oInfo.v86If=(stack32[0]&EFLAG_IF)!=0; _current->tss.esp=((_current->tss.esp&0xffff)+4)&0xffff; @@ -1139,19 +1141,19 @@ _current->oInfo.v86If=(stack[0]&EFLAG_IF)!=0; _current->tss.esp=((_current->tss.esp&0xffff)+2)&0xffff; } -_current->tss.eip=(uInt16)(_current->tss.eip+1); +_current->tss.eip=(uInt16)(_current->tss.eip+1); /*kprintf("popf[0x%X]\n",_current->id);*/ break; case0xFA: -_current->oInfo.v86If=FALSE; +_current->oInfo.v86If=FALSE; _current->tss.eflags&=~EFLAG_IF; -_current->tss.eip=(uInt16)(_current->tss.eip+1); +_current->tss.eip=(uInt16)(_current->tss.eip+1); _current->oInfo.timer=0x1; break; case0xFB: -_current->oInfo.v86If=TRUE; +_current->oInfo.v86If=TRUE; _current->tss.eflags|=EFLAG_IF; -_current->tss.eip=(uInt16)(_current->tss.eip+1); +_current->tss.eip=(uInt16)(_current->tss.eip+1); _current->oInfo.timer=0x0; /*kprintf("sti[0x%X]\n",_current->id);*/ break; @@ -1165,22 +1167,22 @@ break; case0xEC:/*INAL,DX*/ _current->tss.eax=(_current->tss.eax&~0xFF)|inportByte(_current->tss.edx); -_current->tss.eip=(uInt16)(_current->tss.eip+1); +_current->tss.eip=(uInt16)(_current->tss.eip+1); break; case0xED:/*INAX,DX*/ _current->tss.eax=(_current->tss.eax&~0xFFFF)|inportWord(_current->tss.edx); -_current->tss.eip=(uInt16)(_current->tss.eip+1); +_current->tss.eip=(uInt16)(_current->tss.eip+1); break; case0xEE:/*OUTDX,AL*/ outportByte(_current->tss.edx,_current->tss.eax&0xFF); -_current->tss.eip=(uInt16)(_current->tss.eip+1); +_current->tss.eip=(uInt16)(_current->tss.eip+1); break; case0xEF: outportWord(_current->tss.edx,_current->tss.eax); -_current->tss.eip=(uInt16)(_current->tss.eip+1); +_current->tss.eip=(uInt16)(_current->tss.eip+1); break; case0xF4: -_current->tss.eip=(uInt16)(_current->tss.eip+1); +_current->tss.eip=(uInt16)(_current->tss.eip+1); break; default:/*somethingwrong*/ kprintf("NonHandledOpCode[0x%X:0x%X]\n",_current->id,ip[0]); diff --git a/doc/xml/idt_8h.xml b/doc/xml/idt_8h.xml index 1f6411b..e494121 100644 --- a/doc/xml/idt_8h.xml +++ b/doc/xml/idt_8h.xml @@ -2,7 +2,7 @@ idt.h - ubixos/types.h + ubixos/types.h sys/gdt.h src/sys/include/ubixos/init.h src/sys/isa/atkbd.c @@ -13,85 +13,85 @@ src/sys/pci/lnc.c src/sys/sys/idt.c - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -262,7 +262,7 @@ tssStruct::eflags tssStruct::eip tssStruct::esp - FALSE + FALSE FP_TO_LINEAR taskStruct::id inportByte @@ -277,7 +277,7 @@ tssStruct::ss taskStruct::state osInfo::timer - TRUE + TRUE taskStruct::tss osInfo::v86If _int13 @@ -533,15 +533,15 @@ (uInt8 interrupt, uInt16 controlMajor, uInt8 selector) setTaskVector - uInt8 + uInt8 interrupt - uInt16 + uInt16 controlMajor - uInt8 + uInt8 selector @@ -645,7 +645,7 @@ #ifndef_IDT_H #define_IDT_H -#include<ubixos/types.h> +#include<ubixos/types.h> #include<sys/gdt.h> #defineEFLAG_TF0x100 @@ -655,7 +655,7 @@ intidt_init(); voidsetVector(void*handler,unsignedcharinterrupt,unsignedshortcontrolMajor); -voidsetTaskVector(uInt8interrupt,uInt16controlMajor,uInt8selector); +voidsetTaskVector(uInt8interrupt,uInt16controlMajor,uInt8selector); voidintNull(); void_int0(); diff --git a/doc/xml/include_2sys_2device_8h.xml b/doc/xml/include_2sys_2device_8h.xml index 772d189..dfcd34e 100644 --- a/doc/xml/include_2sys_2device_8h.xml +++ b/doc/xml/include_2sys_2device_8h.xml @@ -13,159 +13,159 @@ src/sys/sys/device.c src/sys/vfs/mount.c - + - + - + - + - + - + - + + + - - - + - + - + - + - + - + - + - + - + - + - + - + - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + device_interface diff --git a/doc/xml/include_2ubixfs_2ubixfs_8h.xml b/doc/xml/include_2ubixfs_2ubixfs_8h.xml index 9a089d3..b0609c4 100644 --- a/doc/xml/include_2ubixfs_2ubixfs_8h.xml +++ b/doc/xml/include_2ubixfs_2ubixfs_8h.xml @@ -16,200 +16,202 @@ src/sys/ubixfs/thread.c src/sys/ubixfs/ubixfs.c - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - + + + + + - + + + + + - - + + + + - + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + @@ -546,7 +548,7 @@ ubixfs_initialize ubixFSmkDir ubixFSUnlink - vfsRegisterFS + vfsRegisterFS writeUbixFS x1 @@ -599,7 +601,7 @@ directoryList::next directoryList::prev sprintf - strcmp + strcmp int @@ -671,7 +673,7 @@ ubixDiskLabel::partitions device_interface::read ubixFSInfo::rootDir - strcmp + strcmp typeDeleted device_interface::write x1000 @@ -750,7 +752,7 @@ fileDescriptor::size directoryEntry::size directoryEntry::startCluster - strcmp + strcmp x1000 addDirEntry ubixfs_init diff --git a/doc/xml/include_2ubixos_2types_8h.xml b/doc/xml/include_2ubixos_2types_8h.xml index 315c367..765c700 100644 --- a/doc/xml/include_2ubixos_2types_8h.xml +++ b/doc/xml/include_2ubixos_2types_8h.xml @@ -96,1293 +96,985 @@ src/sys/ubixfs/ubixfs.c src/sys/vmm/paging.c - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - - + + + + + + + + + + + + + + + + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - - - - - - + + + + - - - - - - - - - - - - - + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + + + + + - - - - - - - - - + - + - + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1391,616 +1083,944 @@ - - - - - - - - - - - - - - - - - - - - - - - - - + - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - + + + + + - - - - + + + + - - - - - - - + + + - - - - - - - + + + - - - + + + - - - - - - - - - - - - + + + + - - - - - - - - - + - + - - - - - - - - - + - - - - - - - - - - - - - + - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + diff --git a/doc/xml/include_2vfs_2file_8h.xml b/doc/xml/include_2vfs_2file_8h.xml index cca8aa1..4dcda88 100644 --- a/doc/xml/include_2vfs_2file_8h.xml +++ b/doc/xml/include_2vfs_2file_8h.xml @@ -6,6 +6,7 @@ ubixfs/dirCache.h vfs/mount.h src/sys/include/devfs/devfs.h + src/sys/include/sys/kern_descrip.h src/sys/include/ubixos/sched.h src/sys/include/ubixos/syscalls.h src/sys/include/vfs/vfs.h @@ -15,256 +16,360 @@ src/sys/ubixfs/directory.c src/sys/vfs/file.c - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + - - - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - + - - - - - - - - - - - - - - - - - - - + + + - - - + + + - - - - - - - - - - - - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - + + + + + + + - + + + + + + + + + + + + + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + + + + + + + + + + + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -273,339 +378,257 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - + - + + + + + - + - + - + - + - + - + @@ -670,7 +693,7 @@ - fsread + fsread VBLKSIZE @@ -682,7 +705,7 @@ - fsread + fsread @@ -745,7 +768,7 @@ - + assert fdTable fdTable_lock @@ -764,9 +787,9 @@ kmod_load ldEnable bTree::Save - sysExec + sysExec sysFclose - sysMkDir + sysMkDir systemTask @@ -784,7 +807,7 @@ - + fdEof @@ -802,7 +825,7 @@ - + fileDescriptor::offset sysFgetc @@ -823,7 +846,7 @@ - + fdOpen fdTable fdTable_lock @@ -842,7 +865,8 @@ spinLock spinUnlock sprintf - strstr + strcpy + strstr strtok systemVitals vfs_findMount @@ -853,9 +877,10 @@ kmod_load ldEnable bTree::Save - sysExec + sys_open + sysExec sysFopen - sysMkDir + sysMkDir tcpdump_init @@ -885,7 +910,7 @@ - + assert fileDescriptor::offset dev_ramDrive @@ -893,7 +918,8 @@ kmod_load ldEnable DiskFS::read - sysExec + read + sysExec sysFread @@ -916,13 +942,13 @@ - + fileDescriptor::offset execFile kmod_load ldEnable DiskFS::read - sysExec + sysExec DiskFS::write @@ -952,7 +978,7 @@ - + fileDescriptor::offset dev_ramDestroy bTree::Save @@ -979,7 +1005,7 @@ osInfo::cwd taskStruct::oInfo sprintf - strstr + strstr void @@ -1021,7 +1047,7 @@ - + vfs_mountPoint::fs vfs_mountPoint::mountPoint NULL @@ -1061,8 +1087,8 @@ - fclose - fopen + fclose + fopen @@ -1135,7 +1161,7 @@ uInt32resid; }fileDescriptor; - + typedefstructuserFileDescriptorStruct{ structfileDescriptorStruct*fd; uInt32fdSize; @@ -1152,7 +1178,7 @@ intunlink(constchar*path); intfeof(fileDescriptor*fd); intfgetc(fileDescriptor*fd); -size_tfread(void*ptr,size_tsize,size_tnmemb,fileDescriptor*fd); +size_tfread(void*ptr,size_tsize,size_tnmemb,fileDescriptor*fd); size_tfwrite(void*ptr,intsize,intnmemb,fileDescriptor*fd); intfseek(fileDescriptor*,long,int); diff --git a/doc/xml/include_2vfs_2vfs_8h.xml b/doc/xml/include_2vfs_2vfs_8h.xml index 847c73a..5a3da2e 100644 --- a/doc/xml/include_2vfs_2vfs_8h.xml +++ b/doc/xml/include_2vfs_2vfs_8h.xml @@ -24,176 +24,236 @@ src/sys/vfs/file.c src/sys/vfs/vfs.c - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - - - - - - - - - - + + + + + - - - - - - - - - - - - - + - + + + + + - - - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -203,7 +263,7 @@ - + @@ -211,410 +271,372 @@ + + + + + + + + + + + + - - - + + + - - - + + + - - - - - - - - - - - + + + - - + + - - - + + + - - - + + + - - - + + + - - - - + + + + + + + + + + + + + + + + + + + + - + - + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + + + + + + + + + + + + + + + + + + + + + + + - + + + + + - + + + + + - + - + - + - - - + + + - - - - - - - - - - - - - - - - - - - - + + + + - + - + + + + + - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + @@ -642,7 +664,7 @@ - feof + feof readUbixFS @@ -655,7 +677,7 @@ - fopen + fopen writeFileByte @@ -680,7 +702,7 @@ - fopen + fopen fileBinary @@ -692,7 +714,7 @@ - fopen + fopen fileRead @@ -704,7 +726,7 @@ - fopen + fopen openFileUbixFS @@ -717,7 +739,7 @@ - fopen + fopen openFileUbixFS @@ -733,30 +755,6 @@ - - int - int open - (struct thread *td, struct open_args *uap) - open - - struct thread * - td - - - struct open_args * - uap - - - - - - - - - falloc - kprintf - open_args::path - fileSystem * struct fileSystem* vfs_findFS @@ -771,7 +769,7 @@ - + int @@ -784,7 +782,7 @@ - + vitalsStruct::fileSystems kprintf systemVitals @@ -813,7 +811,7 @@ - + vitalsStruct::fileSystems kmalloc kprintf @@ -822,12 +820,12 @@ NULL fileSystem::prev systemVitals - vfsFindFS + vfsFindFS fileSystem::vfsType x1 devfs_init ubixfs_init - ufs_init + ufs_init @@ -903,14 +901,13 @@ /*VFSFunctions*/ intvfs_init(); intvfsRegisterFS(structfileSystem); -intopen(structthread*td,structopen_args*uap); -structfileSystem*vfs_findFS(int); - -#endif - -/*** -END -***/ +structfileSystem*vfs_findFS(int); + +#endif + +/*** +END +***/ diff --git a/doc/xml/index.xml b/doc/xml/index.xml index aa2046d..577f473 100644 --- a/doc/xml/index.xml +++ b/doc/xml/index.xml @@ -69,25 +69,6 @@ realSector reserved - blockRun - __attribute__ - __attribute__ - __attribute__ - - bNode - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - bootSect BytesPerSector code @@ -141,45 +122,6 @@ p_offset p_size - bTree - bTree - bTree - Delete - Find - GetFirstNode - GetFirstNode - Info - Info - Insert - Load - Print - PrintWholeTree - Save - Verify - ~bTree - allocEmptyNode - findLeafNode - inodeSearch - insertNode - Print - saveNode - splitNode - treeSearch - fd - fs - header - root - tag - UbixFS - - bTreeHeader - firstDeleted - firstNodeOffset - paddington - treeDepth - treeLeafCount - treeWidth - buf cacheNode @@ -235,15 +177,6 @@ cs_numclusters cs_spare - dataStream - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - descriptorTableUnion descriptor dummy @@ -282,33 +215,16 @@ write device_node - devInfo devInfo devRec - devRec minor next - next - prev prev type device_resource irq - device_t - info - init - ioctl - major - read - reset - sectors - standby - start - stop - write - devMethodType directoryEntry @@ -336,40 +252,6 @@ d_reclen d_type - DiskFS - DiskFS - read - read - write - write - ~DiskFS - diskFile - - diskSuperBlock - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - dmadat blkbuf indbuf @@ -511,13 +393,8 @@ file f_flag - - fileDescriptor - inode - next - offset - prev - size + fd + path fileDescriptorStruct buffer @@ -551,11 +428,6 @@ vfsUnlink vfsWrite - FileSystemAbstract - read - write - ~FileSystemAbstract - fs fs_active fs_avgfilesize @@ -1141,6 +1013,17 @@ prev status + setitimer_args + itv + itv_l_ + itv_r_ + oitv + oitv_l_ + oitv_r_ + which + which_l_ + which_r_ + sigaction_args act act_l_ @@ -1353,7 +1236,7 @@ type thread - o_files + o_files td_retval vm_daddr vm_dsize @@ -1524,69 +1407,12 @@ pOffset pSize - UbixFS - UbixFS - UbixFS - vfs_close - vfs_closedir - vfs_format - vfs_init - vfs_mkdir - vfs_mknod - vfs_open - vfs_opendir - vfs_purge - vfs_read - vfs_readdir - vfs_rename - vfs_rmdir - vfs_stop - vfs_sync - vfs_unlink - vfs_write - ~UbixFS - get8FreeBlocks - getFreeBlock - getFreeBlock - getFreeBlock - getNextAG - mknod - printFreeBlockList - printSuperBlock - setFreeBlock - device - freeBlockList - next - prev - root - superBlock - bTree - ubixFSInfo batEntries blockAllocationTable dirCache rootDir - ubixfsInode - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - __attribute__ - ubthread task @@ -1673,41 +1499,10 @@ di_spare di_uid - uPtr - bPtr - btPtr - iAddr - iPtr - offset - vPtr - userFileDescriptorStruct fd fdSize - vfs_abstract - vfs_close - vfs_closedir - vfs_format - vfs_init - vfs_mkdir - vfs_mknod - vfs_open - vfs_opendir - vfs_purge - vfs_read - vfs_readdir - vfs_rename - vfs_rmdir - vfs_stop - vfs_sync - vfs_unlink - vfs_write - ~vfs_abstract - device - next - prev - vfs_mountPoint device diskLabel @@ -1745,8 +1540,6 @@ nbyte_l_ nbyte_r_ - std - null.c devfs.c @@ -1989,6 +1782,7 @@ memset sprintf strcmp + strcpy strlen strtol @@ -2793,12 +2587,10 @@ __dead2 _CDRES_H - device.h - device_add - device_find - device_remove - - device.h + device.h + device_add + device_find + device_remove device.old.h @@ -2847,7 +2639,6 @@ issetugid read readlink - sys_write idt.h EFLAG_IF @@ -2930,6 +2721,7 @@ fcntl fstat getdtablesize + getfd ioctl kern_sig.h @@ -2975,8 +2767,12 @@ PADL_ PADR_ register_t + setitimer + sys_open + sys_write thread.h + O_FILES trap.h @@ -2995,52 +2791,32 @@ ubixfs_cacheFind ubixfs_cacheNew - ubixfs.h - blockSize - EOBC - MAXUBIXPARTITIONS - typeContainer - typeDeleted - typeDirectory - typeFile - UBIXDISKMAGIC - UBIXFS_ALIGN - UBIXFS_BLOCKSIZE_BYTES - dirList_t - addDirEntry - freeBlocks - getFreeBlocks - readFile - readUbixFS - syncBat - ubixfs_init - ubixfs_initialize - ubixfs_thread - ubixFSLoadDir - ubixFSmkDir - ubixFSUnlink - writeFileByte - writeUbixFS - - ubixfs.h - ATTR_INODE - INODE_DELETED - INODE_DIRECTORY - INODE_IN_USE - INODE_LOGGED - INODE_NO_CACHE - INODE_WAS_WRITTEN - MAX_FILENAME_LENGTH - NO_TRANSACTION - NUM_DIRECT_BLOCKS - PERMANENT_FLAGS - UBIXFS_CLEAN - UBIXFS_DIRTY - UBIXFS_INODE_MAGIC - UBIXFS_MAGIC1 - UBIXFS_MAGIC2 - UBIXFS_MAGIC3 - inodeAddr + ubixfs.h + blockSize + EOBC + MAXUBIXPARTITIONS + typeContainer + typeDeleted + typeDirectory + typeFile + UBIXDISKMAGIC + UBIXFS_ALIGN + UBIXFS_BLOCKSIZE_BYTES + dirList_t + addDirEntry + freeBlocks + getFreeBlocks + readFile + readUbixFS + syncBat + ubixfs_init + ubixfs_initialize + ubixfs_thread + ubixFSLoadDir + ubixFSmkDir + ubixFSUnlink + writeFileByte + writeUbixFS elf.h ELF32_R_INFO @@ -3252,13 +3028,11 @@ mmap munmap obreak - open pipe read readlink sigaction sigprocmask - sys_write sysExit systemCalls_new totalCalls_new @@ -3290,53 +3064,45 @@ tty_print tty_foreground - types.h - NULL - blkcnt_t - blksize_t - caddr_t - fflags_t - gid_t - ino_t - Int16 - int16_t - Int32 - int32_t - int64_t - Int8 - int8_t - off_t - pid_t - pidType - quad_t - size_t - ssize_t - time_t - u_char - u_int - u_int16_t - u_int32_t - u_int64_t - u_int8_t - u_long - u_short - uid_t - uInt - uInt16 - uInt32 - uInt8 - vm_offset_t - bool - FALSE - TRUE - - types.h - int32 - int64 - int8 - uInt32 - uInt64 - uInt8 + types.h + NULL + blkcnt_t + blksize_t + caddr_t + fflags_t + gid_t + ino_t + Int16 + int16_t + Int32 + int32_t + int64_t + Int8 + int8_t + off_t + pid_t + pidType + quad_t + size_t + ssize_t + time_t + u_char + u_int + u_int16_t + u_int32_t + u_int64_t + u_int8_t + u_long + u_short + uid_t + uInt + uInt16 + uInt32 + uInt8 + vm_offset_t + bool + FALSE + TRUE ubthread.h ETIMEDOUT @@ -3412,52 +3178,47 @@ ufs_init ufs_initialize - file.h - DEV_BSHIFT - DEV_BSIZE - SBLOCKSIZE - SEEK_SET - VBLKSHIFT - VBLKSIZE - fileDescriptor - userFileDescriptor - chDir - fclose - feof - fgetc - fopen - fread - fseek - fwrite - sysChDir - sysFseek - unlink - verifyDir - fdTable - - file.h + file.h + DEV_BSHIFT + DEV_BSIZE + SBLOCKSIZE + SEEK_SET + VBLKSHIFT + VBLKSIZE + fileDescriptor + userFileDescriptor + chDir + fclose + feof + fgetc + fopen + fread + fseek + fwrite + sysChDir + sysFseek + unlink + verifyDir + fdTable mount.h vfs_addMount vfs_findMount vfs_mount - vfs.h - fdAvail - fdEof - fdOpen - fdRead - fileAppend - fileBinary - fileRead - fileWrite - maxFd - open - vfs_findFS - vfs_init - vfsRegisterFS - - vfs.h + vfs.h + fdAvail + fdEof + fdOpen + fdRead + fileAppend + fileBinary + fileRead + fileWrite + maxFd + vfs_findFS + vfs_init + vfsRegisterFS paging.h btoc @@ -3720,7 +3481,7 @@ STACK_ADDR execFile execThread - sysExec + sysExec fork.c asm @@ -3734,6 +3495,7 @@ issetugid read readlink + setitimer sys_write kern_descrip.c @@ -3742,6 +3504,7 @@ fcntl fstat getdtablesize + getfd ioctl kern_sig.c @@ -3994,16 +3757,45 @@ sqrt.c sqrt + strcpy.S + movb + movl + addl + addl + al + al + al + al + al + al + al + al + al + al + al + al + al + al + al + al + align + L1 + strcpy + string.c memcmp memcpyold strcmp - strcpy - strlen strncmp strncpy strstr + strlen.S + leal + eax + movl + strlen + strtok.c strtok strtok_r @@ -4362,39 +4154,6 @@ writeFileByte writeUbixFS - btree.cpp - VERIFY - - btree.h - B_MAX_CHILD_COUNT - B_MAX_KEYS - B_MAX_NAME_LENGTH - B_NODE_MAGIC_1 - B_NODE_MAGIC_2 - - btreeheader.h - - fsAbstract.h - - main.cpp - main - - ramdrive.cpp - RAM_DRIVE_SIZE - dev_ramDestroy - dev_ramDrive - ramDrive_read - ramDrive_write - ram_data - - ramdrive.h - dev_ramDestroy - dev_ramDrive - - ubixfs.cpp - - vfs.cpp - ffs.c ffs_read @@ -4426,7 +4185,7 @@ fgetc fopen fputc - fread + fread fseek fwrite sysChDir @@ -4449,7 +4208,7 @@ vfs_mount vfs.c - open + sys_open vfs_init vfsFindFS vfsRegisterFS @@ -4584,8 +4343,6 @@ src/sys/include/ubixfs/ - src/sys/ubixfsv2/ - src/sys/include/ubixos/ src/sys/ufs/ diff --git a/doc/xml/init_8c.xml b/doc/xml/init_8c.xml index e7b9e72..44112d2 100644 --- a/doc/xml/init_8c.xml +++ b/doc/xml/init_8c.xml @@ -2,7 +2,7 @@ init.c - ubixos/types.h + ubixos/types.h ubixos/sched.h ubixos/endtask.h net/sys.h @@ -16,409 +16,411 @@ lib/kmalloc.h lib/kprintf.h - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - - + + - + - + - + - + + + + + + + + + - - - - - - - - - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -527,7 +529,7 @@ *****************************************************************************************/ -#include<ubixos/types.h> +#include<ubixos/types.h> #include<ubixos/sched.h> #include<ubixos/endtask.h> diff --git a/doc/xml/io_8c.xml b/doc/xml/io_8c.xml index 99f3d8d..aaaa78f 100644 --- a/doc/xml/io_8c.xml +++ b/doc/xml/io_8c.xml @@ -4,13 +4,13 @@ io.c sys/io.h - + - + - + diff --git a/doc/xml/io_8h.xml b/doc/xml/io_8h.xml index 670b320..8eecce9 100644 --- a/doc/xml/io_8h.xml +++ b/doc/xml/io_8h.xml @@ -21,37 +21,187 @@ src/sys/sys/video.c src/sys/vmm/vmm_memory.c - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -68,176 +218,26 @@ - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + diff --git a/doc/xml/ipv4_2icmp_8h.xml b/doc/xml/ipv4_2icmp_8h.xml index aad2fab..99352d3 100644 --- a/doc/xml/ipv4_2icmp_8h.xml +++ b/doc/xml/ipv4_2icmp_8h.xml @@ -8,203 +8,203 @@ net/netif.h src/sys/include/net/tcp.h - + - + + + + + - - - - - + - + - + - - + + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + - - - - - - - + + + - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + @@ -658,24 +658,24 @@ voidicmp_time_exceeded(structpbuf*p,enumicmp_te_typet); structicmp_echo_hdr{ -PACK_STRUCT_FIELD(uInt16_type_code); -PACK_STRUCT_FIELD(uInt16chksum); -PACK_STRUCT_FIELD(uInt16id); -PACK_STRUCT_FIELD(uInt16seqno); +PACK_STRUCT_FIELD(uInt16_type_code); +PACK_STRUCT_FIELD(uInt16chksum); +PACK_STRUCT_FIELD(uInt16id); +PACK_STRUCT_FIELD(uInt16seqno); }PACK_STRUCT_STRUCT; structicmp_dur_hdr{ -PACK_STRUCT_FIELD(uInt16_type_code); -PACK_STRUCT_FIELD(uInt16chksum); -PACK_STRUCT_FIELD(uInt32unused); +PACK_STRUCT_FIELD(uInt16_type_code); +PACK_STRUCT_FIELD(uInt16chksum); +PACK_STRUCT_FIELD(uInt32unused); }PACK_STRUCT_STRUCT; structicmp_te_hdr{ -PACK_STRUCT_FIELD(uInt16_type_code); -PACK_STRUCT_FIELD(uInt16chksum); -PACK_STRUCT_FIELD(uInt32unused); +PACK_STRUCT_FIELD(uInt16_type_code); +PACK_STRUCT_FIELD(uInt16chksum); +PACK_STRUCT_FIELD(uInt32unused); }PACK_STRUCT_STRUCT; #defineICMPH_TYPE(hdr)(NTOHS((hdr)->_type_code)>>8) diff --git a/doc/xml/ipv4_2inet_8h.xml b/doc/xml/ipv4_2inet_8h.xml index 2ecec8b..38e3427 100644 --- a/doc/xml/ipv4_2inet_8h.xml +++ b/doc/xml/ipv4_2inet_8h.xml @@ -11,246 +11,246 @@ src/sys/net/netif/arp.c src/sys/net/netif/tcpdump.c - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - + + - + + + + + - - - + + + + + + + + + + + + + + + + + - + - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -358,12 +358,12 @@ - uInt32 + uInt32 uInt32 htonl (uInt32 n) htonl - uInt32 + uInt32 n @@ -375,12 +375,12 @@ - uInt16 + uInt16 uInt16 htons (uInt16 n) htons - uInt16 + uInt16 n @@ -392,7 +392,7 @@ - uInt16 + uInt16 uInt16 inet_chksum (void *dataptr, uInt16 len) inet_chksum @@ -401,7 +401,7 @@ dataptr - uInt16 + uInt16 len @@ -413,7 +413,7 @@ - uInt16 + uInt16 uInt16 inet_chksum_pbuf (struct pbuf *p) inet_chksum_pbuf @@ -430,7 +430,7 @@ - uInt16 + uInt16 uInt16 inet_chksum_pseudo (struct pbuf *p, struct ip_addr *src, struct ip_addr *dest, uInt8 proto, uInt16 proto_len) inet_chksum_pseudo @@ -447,11 +447,11 @@ dest - uInt8 + uInt8 proto - uInt16 + uInt16 proto_len @@ -511,11 +511,11 @@ #include"net/pbuf.h" #include"net/ipv4/ip_addr.h" -uInt16inet_chksum(void*dataptr,uInt16len); -uInt16inet_chksum_pbuf(structpbuf*p); -uInt16inet_chksum_pseudo(structpbuf*p, +uInt16inet_chksum(void*dataptr,uInt16len); +uInt16inet_chksum_pbuf(structpbuf*p); +uInt16inet_chksum_pseudo(structpbuf*p, structip_addr*src,structip_addr*dest, -uInt8proto,uInt16proto_len); +uInt8proto,uInt16proto_len); #ifdefHTONS #undefHTONS @@ -579,8 +579,8 @@ #ifndef_LINUX_BYTEORDER_GENERIC_H #ifBYTE_ORDER==LITTLE_ENDIAN -uInt16htons(uInt16n); -uInt32htonl(uInt32n); +uInt16htons(uInt16n); +uInt32htonl(uInt32n); #else #endif/*BYTE_ORDER==LITTLE_ENDIAN*/ diff --git a/doc/xml/ipv4_2ip_8h.xml b/doc/xml/ipv4_2ip_8h.xml index caecb55..0b35339 100644 --- a/doc/xml/ipv4_2ip_8h.xml +++ b/doc/xml/ipv4_2ip_8h.xml @@ -17,247 +17,247 @@ src/sys/net/netif/loopif.c src/sys/net/netif/tcpdump.c - + - + + + + + - + - - - - - + - + - - - + - + - + + + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - + + - - - - + + + + - + - - + + - - - + + + - + + + + + - + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + + + + + + + - + - - - - - - - + - + - + - + + + + + - + - + + + + + - + + + + + + + - - + + + + + + + + + + + + + + + + - + + + + + - + - + - - - - - - - - - - - + + + - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + @@ -617,7 +617,7 @@ tcpip_thread - uInt8 + uInt8 uInt8 ip_lookup (void *header, struct netif *inp) ip_lookup @@ -655,11 +655,11 @@ dest - uInt8 + uInt8 ttl - uInt8 + uInt8 proto @@ -688,11 +688,11 @@ dest - uInt8 + uInt8 ttl - uInt8 + uInt8 proto @@ -792,13 +792,13 @@ #include"net/err.h" voidip_init(void); -uInt8ip_lookup(void*header,structnetif*inp); +uInt8ip_lookup(void*header,structnetif*inp); structnetif*ip_route(structip_addr*dest); err_tip_input(structpbuf*p,structnetif*inp); err_tip_output(structpbuf*p,structip_addr*src,structip_addr*dest, -uInt8ttl,uInt8proto); +uInt8ttl,uInt8proto); err_tip_output_if(structpbuf*p,structip_addr*src,structip_addr*dest, -uInt8ttl,uInt8proto, +uInt8ttl,uInt8proto, structnetif*netif); #defineIP_HLEN20 @@ -818,21 +818,21 @@ structip_hdr{ /*version/headerlength/typeofservice*/ -PACK_STRUCT_FIELD(uInt16_v_hl_tos); +PACK_STRUCT_FIELD(uInt16_v_hl_tos); /*totallength*/ -PACK_STRUCT_FIELD(uInt16_len); +PACK_STRUCT_FIELD(uInt16_len); /*identification*/ -PACK_STRUCT_FIELD(uInt16_id); +PACK_STRUCT_FIELD(uInt16_id); /*fragmentoffsetfield*/ -PACK_STRUCT_FIELD(uInt16_offset); +PACK_STRUCT_FIELD(uInt16_offset); #defineIP_RF0x8000/*reservedfragmentflag*/ #defineIP_DF0x4000/*dontfragmentflag*/ #defineIP_MF0x2000/*morefragmentsflag*/ #defineIP_OFFMASK0x1fff/*maskforfragmentingbits*/ /*timetolive/protocol*/ -PACK_STRUCT_FIELD(uInt16_ttl_proto); +PACK_STRUCT_FIELD(uInt16_ttl_proto); /*checksum*/ -PACK_STRUCT_FIELD(uInt16_chksum); +PACK_STRUCT_FIELD(uInt16_chksum); /*sourceanddestinationIPaddresses*/ PACK_STRUCT_FIELD(structip_addrsrc); PACK_STRUCT_FIELD(structip_addrdest); diff --git a/doc/xml/ipv4_2ip__addr_8h.xml b/doc/xml/ipv4_2ip__addr_8h.xml index 538dd5b..3cce0e5 100644 --- a/doc/xml/ipv4_2ip__addr_8h.xml +++ b/doc/xml/ipv4_2ip__addr_8h.xml @@ -8,224 +8,224 @@ src/sys/include/net/netif.h src/sys/include/netif/arp.h - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + - + - + - + - + - + - + @@ -238,7 +238,7 @@ b c d - (ipaddr)->addr = htonl(((uInt32)(a & 0xff) << 24) | ((uInt32)(b & 0xff) << 16) | \ + (ipaddr)->addr = htonl(((uInt32)(a & 0xff) << 24) | ((uInt32)(b & 0xff) << 16) | \ ((uInt32)(c & 0xff) << 8) | (uInt32)(d & 0xff)) @@ -253,7 +253,7 @@ ip4_addr1 ipaddr - ((uInt8)(ntohl((ipaddr)->addr) >> 24) & 0xff) + ((uInt8)(ntohl((ipaddr)->addr) >> 24) & 0xff) @@ -265,7 +265,7 @@ ip4_addr2 ipaddr - ((uInt8)(ntohl((ipaddr)->addr) >> 16) & 0xff) + ((uInt8)(ntohl((ipaddr)->addr) >> 16) & 0xff) @@ -278,7 +278,7 @@ ip4_addr3 ipaddr - ((uInt8)(ntohl((ipaddr)->addr) >> 8) & 0xff) + ((uInt8)(ntohl((ipaddr)->addr) >> 8) & 0xff) @@ -291,7 +291,7 @@ ip4_addr4 ipaddr - ((uInt8)(ntohl((ipaddr)->addr)) & 0xff) + ((uInt8)(ntohl((ipaddr)->addr)) & 0xff) @@ -520,7 +520,7 @@ PACK_STRUCT_BEGIN structip_addr{ -PACK_STRUCT_FIELD(uInt32addr); +PACK_STRUCT_FIELD(uInt32addr); }PACK_STRUCT_STRUCT; PACK_STRUCT_END diff --git a/doc/xml/ipv6_2icmp_8h.xml b/doc/xml/ipv6_2icmp_8h.xml index 1a2c659..6846778 100644 --- a/doc/xml/ipv6_2icmp_8h.xml +++ b/doc/xml/ipv6_2icmp_8h.xml @@ -7,28 +7,28 @@ lwip/pbuf.h lwip/netif.h - + - + - + - + - + - + - + - + - + diff --git a/doc/xml/ipv6_2inet_8h.xml b/doc/xml/ipv6_2inet_8h.xml index 4b94f48..2b498a8 100644 --- a/doc/xml/ipv6_2inet_8h.xml +++ b/doc/xml/ipv6_2inet_8h.xml @@ -7,59 +7,59 @@ net/pbuf.h net/ipv6/ip_addr.h - + - + + + + + - - - - - + - + - + - + - + - + - + - + - - - - - - - - - + + + + + + + + + - + diff --git a/doc/xml/ipv6_2ip_8h.xml b/doc/xml/ipv6_2ip_8h.xml index d90b5f6..b7bee02 100644 --- a/doc/xml/ipv6_2ip_8h.xml +++ b/doc/xml/ipv6_2ip_8h.xml @@ -9,38 +9,38 @@ lwip/err.h lwip/netif.h - + + + + + + + + + - - - - - - - - - + - + - + - + - + - + diff --git a/doc/xml/ipv6_2ip__addr_8h.xml b/doc/xml/ipv6_2ip__addr_8h.xml index 3ce5ef5..f8117e0 100644 --- a/doc/xml/ipv6_2ip__addr_8h.xml +++ b/doc/xml/ipv6_2ip__addr_8h.xml @@ -5,38 +5,38 @@ net/arch.h src/sys/include/net/ipv6/inet.h - + - + - + - + - + - + - + - + - + - + diff --git a/doc/xml/kern__descrip_8c.xml b/doc/xml/kern__descrip_8c.xml index e62c8af..42630a5 100644 --- a/doc/xml/kern__descrip_8c.xml +++ b/doc/xml/kern__descrip_8c.xml @@ -3,7 +3,7 @@ kern_descrip.c sys/kern_descrip.h - ubixos/types.h + ubixos/types.h sys/sysproto.h sys/thread.h lib/kprintf.h @@ -11,156 +11,160 @@ lib/kmalloc.h assert.h - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - - + + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -184,11 +188,12 @@ - - close_args::fd + + close_args::fd kfree - thread::o_files - thread::td_retval + kprintf + thread::o_files + thread::td_retval int @@ -213,11 +218,12 @@ - + kmalloc - thread::o_files - open + kprintf + thread::o_files pipe + sys_open int @@ -238,17 +244,17 @@ - - fcntl_args::arg - fcntl_args::cmd - file::f_flag - FCNTLFLAGS - fcntl_args::fd - FFLAGS + + fcntl_args::arg + fcntl_args::cmd + file::f_flag + FCNTLFLAGS + fcntl_args::fd + FFLAGS kprintf - O_ACCMODE - thread::o_files - thread::td_retval + O_ACCMODE + thread::o_files + thread::td_retval int @@ -269,14 +275,16 @@ - + _current - fstat_args::fd - thread::o_files - fstat_args::sb - stat::st_blksize - stat::st_mode + fstat_args::fd + kprintf + thread::o_files + fstat_args::sb + stat::st_blksize + stat::st_mode taskStruct::td + x1000 int @@ -292,13 +300,44 @@ uap - +return data table size - - thread::td_retval + + kprintf + O_FILES + thread::td_retval + + + int + int getfd + (struct thread *td, struct file **fp, int fd) + getfd + + struct thread * + td + + + struct file ** + fp + + + int + fd + + +get pointer to file fd in specified thread + +returns fp + + + + + kprintf + thread::o_files + read int @@ -314,13 +353,14 @@ uap - +ioctl functionality not implimented yet -HACK +NULL for now + - - thread::td_retval + + thread::td_retval @@ -358,7 +398,7 @@ *****************************************************************************************/ #include<sys/kern_descrip.h> -#include<ubixos/types.h> +#include<ubixos/types.h> #include<sys/sysproto.h> #include<sys/thread.h> #include<lib/kprintf.h> @@ -366,83 +406,114 @@ #include<lib/kmalloc.h> #include<assert.h> -intfcntl(structthread*td,structfcntl_args*uap){ +intfcntl(structthread*td,structfcntl_args*uap){ structfile*fp=0x0; -if(td->o_files[uap->fd]==0x0){ -kprintf("ERROR!!!\n"); -return(-1); -} - -fp=(structfile*)td->o_files[uap->fd]; -switch(uap->cmd){ -case3: -td->td_retval[0]=fp->f_flag; -break; -case4: -fp->f_flag&=~FCNTLFLAGS; -fp->f_flag|=FFLAGS(uap->arg&~O_ACCMODE)&FCNTLFLAGS; -break; -default: -kprintf("ERRORDEFAULT"); -} - -return(0x0); -} - -intfalloc(structthread*td,structfile**resultfp,int*resultfd){ -structfile*fp=0x0; -inti=0; +#ifdefDEBUG +kprintf("[%s:%i]",__FILE__,__LINE__); +#endif + +if(td->o_files[uap->fd]==0x0){ +kprintf("ERROR!!!\n"); +return(-1); +} + +fp=(structfile*)td->o_files[uap->fd]; +switch(uap->cmd){ +case3: +td->td_retval[0]=fp->f_flag; +break; +case4: +fp->f_flag&=~FCNTLFLAGS; +fp->f_flag|=FFLAGS(uap->arg&~O_ACCMODE)&FCNTLFLAGS; +break; +default: +kprintf("ERRORDEFAULT"); +} + +return(0x0); +} -fp=(structfile*)kmalloc(sizeof(structfile)); -/*First5DescriptorsAreReserved*/ -for(i=5;i<1024;i++){ -if(td->o_files[i]==0x0){ -td->o_files[i]=(uInt32)fp; -if(resultfd) -*resultfd=i; -if(resultfp) -*resultfp=fp; -break; -} -} -return(0x0); -} - -intclose(structthread*td,structclose_args*uap){ -kfree((void*)td->o_files[uap->fd]); -td->o_files[uap->fd]=0x0; -td->td_retval[0]=0x0; -return(0x0); -} - -/*HACK*/ -intgetdtablesize(structthread*td,structgetdtablesize_args*uap){ -td->td_retval[0]=20; -return(0); -} - -/*HACK*/ -intfstat(structthread*td,structfstat_args*uap){ -structfile*fp=0x0; - -fp=_current->td.o_files[uap->fd]; -uap->sb->st_mode=0x2180; -uap->sb->st_blksize=0x1000; -return(0x0); -} - -intioctl(structthread*td,structioctl_args*uap){ -td->td_retval[0]=0x0; -return(0x0); -} - - +intfalloc(structthread*td,structfile**resultfp,int*resultfd){ +structfile*fp=0x0; +inti=0; + +#ifdefDEBUG +kprintf("[%s:%i]",__FILE__,__LINE__); +#endif + +fp=(structfile*)kmalloc(sizeof(structfile)); +/*First5DescriptorsAreReserved*/ +for(i=5;i<1024;i++){ +if(td->o_files[i]==0x0){ +td->o_files[i]=(uInt32)fp; +if(resultfd) +*resultfd=i; +if(resultfp) +*resultfp=fp; +break; +} +} +return(0x0); +} + +intclose(structthread*td,structclose_args*uap){ +#ifdefDEBUG +kprintf("[%s:%i]",__FILE__,__LINE__); +#endif +kfree((void*)td->o_files[uap->fd]); +td->o_files[uap->fd]=0x0; +td->td_retval[0]=0x0; +return(0x0); +} + +intgetdtablesize(structthread*td,structgetdtablesize_args*uap){ +#ifdefDEBUG +kprintf("[%s:%i]",__FILE__,__LINE__); +#endif +td->td_retval[0]=O_FILES; +return(0); +} + +/*HACK*/ +intfstat(structthread*td,structfstat_args*uap){ +structfile*fp=0x0; -/*** -END -***/ - +#ifdefDEBUG +kprintf("[%s:%i]",__FILE__,__LINE__); +#endif + +fp=(structfile*)_current->td.o_files[uap->fd]; +uap->sb->st_mode=0x2180; +uap->sb->st_blksize=0x1000; +kprintf("fstat:%i",uap->fd); +return(0x0); +} + +intioctl(structthread*td,structioctl_args*uap){ +td->td_retval[0]=0x0; +return(0x0); +} + +intgetfd(structthread*td,structfile**fp,intfd){ +interror=0x0; + +#ifdefDEBUG +kprintf("[%s:%i]",__FILE__,__LINE__); +#endif + +*fp=(structfile*)td->o_files[fd]; + +if(fp==0x0) +error=-1; + +return(error); +} + +/*** +END +***/ + diff --git a/doc/xml/kern__descrip_8h.xml b/doc/xml/kern__descrip_8h.xml index 6a54259..37f218a 100644 --- a/doc/xml/kern__descrip_8h.xml +++ b/doc/xml/kern__descrip_8h.xml @@ -4,70 +4,127 @@ kern_descrip.h sys/thread.h sys/sysproto.h + vfs/file.h + src/sys/kernel/gen_calls.c src/sys/kernel/kern_descrip.c src/sys/kernel/pipe.c src/sys/kernel/sched.c + src/sys/vfs/vfs.c - + - + - + - - + + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + + + - + + + + + + + - + + + - + - + - + - + - + - + - + - + + + + + - + + + + + + + + + __timespec file @@ -82,7 +139,7 @@ - + F_GETFD @@ -93,7 +150,7 @@ - + F_GETFL @@ -104,7 +161,7 @@ - + F_GETLK @@ -115,7 +172,7 @@ - + F_GETOWN @@ -126,7 +183,7 @@ - + F_SETFD @@ -137,7 +194,7 @@ - + F_SETFL @@ -148,7 +205,7 @@ - + F_SETLK @@ -159,7 +216,7 @@ - + F_SETLKW @@ -170,7 +227,7 @@ - + F_SETOWN @@ -181,7 +238,7 @@ - + FAPPEND @@ -192,7 +249,7 @@ - + FASYNC @@ -203,7 +260,7 @@ - + FCNTLFLAGS @@ -214,8 +271,8 @@ - - fcntl + + fcntl FFLAGS @@ -227,8 +284,8 @@ - - fcntl + + fcntl FFSYNC @@ -239,7 +296,7 @@ - + FHASLOCK @@ -250,7 +307,7 @@ - + FNDELAY @@ -261,7 +318,7 @@ - + FNONBLOCK @@ -272,7 +329,7 @@ - + FPOSIXSHM @@ -283,7 +340,7 @@ - + FREAD @@ -294,7 +351,7 @@ - + pipe @@ -306,7 +363,7 @@ - + pipe @@ -318,8 +375,8 @@ - - fcntl + + fcntl O_APPEND @@ -330,7 +387,7 @@ - + O_ASYNC @@ -341,7 +398,7 @@ - + O_CREAT @@ -352,7 +409,7 @@ - + O_DIRECT @@ -363,7 +420,7 @@ - + O_EXCL @@ -374,7 +431,7 @@ - + O_EXLOCK @@ -385,7 +442,7 @@ - + O_FSYNC @@ -396,7 +453,7 @@ - + O_NDELAY @@ -407,7 +464,7 @@ - + O_NOFOLLOW @@ -418,7 +475,7 @@ - + O_NONBLOCK @@ -429,7 +486,7 @@ - + O_RDONLY @@ -440,7 +497,7 @@ - + O_RDWR @@ -451,7 +508,7 @@ - + O_SHLOCK @@ -462,7 +519,7 @@ - + O_SYNC @@ -473,7 +530,7 @@ - + O_TRUNC @@ -484,7 +541,7 @@ - + O_WRONLY @@ -495,7 +552,7 @@ - + OFLAGS @@ -507,7 +564,7 @@ - + @@ -522,7 +579,7 @@ - + __nlink_t @@ -535,7 +592,7 @@ - + @@ -556,7 +613,7 @@ - + int @@ -578,11 +635,12 @@ - + kmalloc - thread::o_files - open + kprintf + thread::o_files pipe + sys_open int @@ -601,7 +659,7 @@ - + int @@ -620,7 +678,7 @@ - + int @@ -634,12 +692,41 @@ struct getdtablesize_args * - +return data table size - + + + + int + int getfd + (struct thread *td, struct file **fp, int fd) + getfd + + struct thread * + td + + + struct file ** + fp + + + int + fd + + +get pointer to file fd in specified thread + +returns fp + + + + + kprintf + thread::o_files + read int @@ -655,12 +742,13 @@ uap - +ioctl functionality not implimented yet -HACK +NULL for now + - + @@ -703,132 +791,136 @@ #include<sys/thread.h> #include<sys/sysproto.h> -typedef__mode_tmode_t; -typedef__nlink_tnlink_t; - -/*commandvalues*/ -#defineF_DUPFD0/*duplicatefiledescriptor*/ -#defineF_GETFD1/*getfiledescriptorflags*/ -#defineF_SETFD2/*setfiledescriptorflags*/ -#defineF_GETFL3/*getfilestatusflags*/ -#defineF_SETFL4/*setfilestatusflags*/ -#defineF_GETOWN5/*getSIGIO/SIGURGproc/pgrp*/ -#defineF_SETOWN6/*setSIGIO/SIGURGproc/pgrp*/ -#defineF_GETLK7/*getrecordlockinginformation*/ -#defineF_SETLK8/*setrecordlockinginformation*/ -#defineF_SETLKW9/*F_SETLK;waitifblocked*/ - -/*FlagValues*/ -#defineFREAD0x0001 -#defineFWRITE0x0002 -#defineO_NONBLOCK0x0004/*nodelay*/ -#defineO_APPEND0x0008/*setappendmode*/ -#defineO_SHLOCK0x0010/*openwithsharedfilelock*/ -#defineO_EXLOCK0x0020/*openwithexclusivefilelock*/ -#defineO_ASYNC0x0040/*signalpgrpwhendataready*/ -#defineO_FSYNC0x0080/*synchronouswrites*/ -#defineO_SYNC0x0080/*POSIXsynonymforO_FSYNC*/ -#defineO_NOFOLLOW0x0100/*don'tfollowsymlinks*/ -#defineO_CREAT0x0200/*createifnonexistent*/ -#defineO_TRUNC0x0400/*truncatetozerolength*/ -#defineO_EXCL0x0800/*errorifalreadyexists*/ -#defineO_DIRECT0x00010000 -#defineO_RDONLY0x0000/*openforreadingonly*/ -#defineO_WRONLY0x0001/*openforwritingonly*/ -#defineO_RDWR0x0002/*openforreadingandwriting*/ -#defineO_ACCMODE0x0003/*maskforabovemodes*/ - - -#defineFHASLOCK0x4000/*descriptorholdsadvisorylock*/ +#include<vfs/file.h> + +typedef__mode_tmode_t; +typedef__nlink_tnlink_t; + +/*commandvalues*/ +#defineF_DUPFD0/*duplicatefiledescriptor*/ +#defineF_GETFD1/*getfiledescriptorflags*/ +#defineF_SETFD2/*setfiledescriptorflags*/ +#defineF_GETFL3/*getfilestatusflags*/ +#defineF_SETFL4/*setfilestatusflags*/ +#defineF_GETOWN5/*getSIGIO/SIGURGproc/pgrp*/ +#defineF_SETOWN6/*setSIGIO/SIGURGproc/pgrp*/ +#defineF_GETLK7/*getrecordlockinginformation*/ +#defineF_SETLK8/*setrecordlockinginformation*/ +#defineF_SETLKW9/*F_SETLK;waitifblocked*/ + +/*FlagValues*/ +#defineFREAD0x0001 +#defineFWRITE0x0002 +#defineO_NONBLOCK0x0004/*nodelay*/ +#defineO_APPEND0x0008/*setappendmode*/ +#defineO_SHLOCK0x0010/*openwithsharedfilelock*/ +#defineO_EXLOCK0x0020/*openwithexclusivefilelock*/ +#defineO_ASYNC0x0040/*signalpgrpwhendataready*/ +#defineO_FSYNC0x0080/*synchronouswrites*/ +#defineO_SYNC0x0080/*POSIXsynonymforO_FSYNC*/ +#defineO_NOFOLLOW0x0100/*don'tfollowsymlinks*/ +#defineO_CREAT0x0200/*createifnonexistent*/ +#defineO_TRUNC0x0400/*truncatetozerolength*/ +#defineO_EXCL0x0800/*errorifalreadyexists*/ +#defineO_DIRECT0x00010000 +#defineO_RDONLY0x0000/*openforreadingonly*/ +#defineO_WRONLY0x0001/*openforwritingonly*/ +#defineO_RDWR0x0002/*openforreadingandwriting*/ +#defineO_ACCMODE0x0003/*maskforabovemodes*/ + - -/*FMAPPERS*/ -#defineFAPPENDO_APPEND/*kernel/compat*/ -#defineFASYNCO_ASYNC/*kernel/compat*/ -#defineFFSYNCO_FSYNC/*kernel*/ -#defineFNONBLOCKO_NONBLOCK/*kernel*/ -#defineFNDELAYO_NONBLOCK/*compat*/ -#defineO_NDELAYO_NONBLOCK/*compat*/ -#defineFPOSIXSHMO_NOFOLLOW - - - -#defineFCNTLFLAGS(FAPPEND|FASYNC|FFSYNC|FNONBLOCK|FPOSIXSHM|O_DIRECT) - -#defineFFLAGS(oflags)((oflags)+1) -#defineOFLAGS(fflags)((fflags)-1) - -structfile{ -intf_flag; -}; - -/*TEMP*/ -struct__timespec{ -__time_ttv_sec;/*seconds*/ -longtv_nsec;/*andnanoseconds*/ -}; - -structstat{ -__dev_tst_dev;/*inode'sdevice*/ -ino_tst_ino;/*inode'snumber*/ -mode_tst_mode;/*inodeprotectionmode*/ -nlink_tst_nlink;/*numberofhardlinks*/ -uid_tst_uid;/*userIDofthefile'sowner*/ -gid_tst_gid;/*groupIDofthefile'sgroup*/ -__dev_tst_rdev;/*devicetype*/ -#if__BSD_VISIBLE -structtimespecst_atimespec;/*timeoflastaccess*/ -structtimespecst_mtimespec;/*timeoflastdatamodification*/ -structtimespecst_ctimespec;/*timeoflastfilestatuschange*/ -#else -time_tst_atime;/*timeoflastaccess*/ -long__st_atimensec;/*nsecoflastaccess*/ -time_tst_mtime;/*timeoflastdatamodification*/ -long__st_mtimensec;/*nsecoflastdatamodification*/ -time_tst_ctime;/*timeoflastfilestatuschange*/ -long__st_ctimensec;/*nsecoflastfilestatuschange*/ -#endif -off_tst_size;/*filesize,inbytes*/ -blkcnt_tst_blocks;/*blocksallocatedforfile*/ -blksize_tst_blksize;/*optimalblocksizeforI/O*/ -fflags_tst_flags;/*userdefinedflagsforfile*/ -__uint32_tst_gen;/*filegenerationnumber*/ -__int32_tst_lspare; -#if__BSD_VISIBLE -structtimespecst_birthtimespec;/*timeoffilecreation*/ -/* -*Explicitlypadst_birthtimespecto16bytessothatthesizeof -*structstatisbackwardscompatible.Weusebitfieldsinstead -*ofanarrayofcharssothatthisdoesn'trequireaC99compiler -*tocompileifthesizeofthepaddingis0.Weuse2bitfields -*tocoverupto64bitson32-bitmachines.Weassumethat -*CHAR_BITis8... -*/ -unsignedint:(8/2)*(16-(int)sizeof(structtimespec)); -unsignedint:(8/2)*(16-(int)sizeof(structtimespec)); -#else -time_tst_birthtime;/*timeoffilecreation*/ -longst_birthtimensec;/*nsecoffilecreation*/ -unsignedint:(8/2)*(16-(int)sizeof(struct__timespec)); -unsignedint:(8/2)*(16-(int)sizeof(struct__timespec)); -#endif -}; - - -intfcntl(structthread*,structfcntl_args*); -intclose(structthread*,structclose_args*); -intfalloc(structthread*,structfile**,int*); -intgetdtablesize(structthread*,structgetdtablesize_args*); -intfstat(structthread*,structfstat_args*); -intioctl(structthread*,structioctl_args*); - - -#endif - -/*** -END -***/ - +#defineFHASLOCK0x4000/*descriptorholdsadvisorylock*/ + + +/*FMAPPERS*/ +#defineFAPPENDO_APPEND/*kernel/compat*/ +#defineFASYNCO_ASYNC/*kernel/compat*/ +#defineFFSYNCO_FSYNC/*kernel*/ +#defineFNONBLOCKO_NONBLOCK/*kernel*/ +#defineFNDELAYO_NONBLOCK/*compat*/ +#defineO_NDELAYO_NONBLOCK/*compat*/ +#defineFPOSIXSHMO_NOFOLLOW + + + +#defineFCNTLFLAGS(FAPPEND|FASYNC|FFSYNC|FNONBLOCK|FPOSIXSHM|O_DIRECT) + +#defineFFLAGS(oflags)((oflags)+1) +#defineOFLAGS(fflags)((fflags)-1) + +structfile{ +intf_flag; +charpath[1024]; +fileDescriptor*fd; +}; + +/*TEMP*/ +struct__timespec{ +__time_ttv_sec;/*seconds*/ +longtv_nsec;/*andnanoseconds*/ +}; + +structstat{ +__dev_tst_dev;/*inode'sdevice*/ +ino_tst_ino;/*inode'snumber*/ +mode_tst_mode;/*inodeprotectionmode*/ +nlink_tst_nlink;/*numberofhardlinks*/ +uid_tst_uid;/*userIDofthefile'sowner*/ +gid_tst_gid;/*groupIDofthefile'sgroup*/ +__dev_tst_rdev;/*devicetype*/ +#if__BSD_VISIBLE +structtimespecst_atimespec;/*timeoflastaccess*/ +structtimespecst_mtimespec;/*timeoflastdatamodification*/ +structtimespecst_ctimespec;/*timeoflastfilestatuschange*/ +#else +time_tst_atime;/*timeoflastaccess*/ +long__st_atimensec;/*nsecoflastaccess*/ +time_tst_mtime;/*timeoflastdatamodification*/ +long__st_mtimensec;/*nsecoflastdatamodification*/ +time_tst_ctime;/*timeoflastfilestatuschange*/ +long__st_ctimensec;/*nsecoflastfilestatuschange*/ +#endif +off_tst_size;/*filesize,inbytes*/ +blkcnt_tst_blocks;/*blocksallocatedforfile*/ +blksize_tst_blksize;/*optimalblocksizeforI/O*/ +fflags_tst_flags;/*userdefinedflagsforfile*/ +__uint32_tst_gen;/*filegenerationnumber*/ +__int32_tst_lspare; +#if__BSD_VISIBLE +structtimespecst_birthtimespec;/*timeoffilecreation*/ +/* +*Explicitlypadst_birthtimespecto16bytessothatthesizeof +*structstatisbackwardscompatible.Weusebitfieldsinstead +*ofanarrayofcharssothatthisdoesn'trequireaC99compiler +*tocompileifthesizeofthepaddingis0.Weuse2bitfields +*tocoverupto64bitson32-bitmachines.Weassumethat +*CHAR_BITis8... +*/ +unsignedint:(8/2)*(16-(int)sizeof(structtimespec)); +unsignedint:(8/2)*(16-(int)sizeof(structtimespec)); +#else +time_tst_birthtime;/*timeoffilecreation*/ +longst_birthtimensec;/*nsecoffilecreation*/ +unsignedint:(8/2)*(16-(int)sizeof(struct__timespec)); +unsignedint:(8/2)*(16-(int)sizeof(struct__timespec)); +#endif +}; + + +intfcntl(structthread*,structfcntl_args*); +intclose(structthread*,structclose_args*); +intfalloc(structthread*,structfile**,int*); +intgetdtablesize(structthread*,structgetdtablesize_args*); +intfstat(structthread*,structfstat_args*); +intioctl(structthread*,structioctl_args*); +intgetfd(structthread*td,structfile**fp,intfd); + + +#endif + +/*** +END +***/ diff --git a/doc/xml/kern__sig_8c.xml b/doc/xml/kern__sig_8c.xml index 45c8f2d..2df3673 100644 --- a/doc/xml/kern__sig_8c.xml +++ b/doc/xml/kern__sig_8c.xml @@ -2,7 +2,7 @@ kern_sig.c - ubixos/types.h + ubixos/types.h sys/sysproto.h sys/thread.h sys/kern_sig.h @@ -11,156 +11,158 @@ lib/kmalloc.h assert.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - - + + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + @@ -242,7 +244,7 @@ *****************************************************************************************/ -#include<ubixos/types.h> +#include<ubixos/types.h> #include<sys/sysproto.h> #include<sys/thread.h> #include<sys/kern_sig.h> diff --git a/doc/xml/kern__sig_8h.xml b/doc/xml/kern__sig_8h.xml index cc35d85..dfd202a 100644 --- a/doc/xml/kern__sig_8h.xml +++ b/doc/xml/kern__sig_8h.xml @@ -6,52 +6,54 @@ sys/sysproto.h src/sys/kernel/kern_sig.c - + - + - + - - + + - + - + - + - + - + - + + + - + - + - + - + - + diff --git a/doc/xml/kern__sysctl_8c.xml b/doc/xml/kern__sysctl_8c.xml index 77b3e09..7bb145a 100644 --- a/doc/xml/kern__sysctl_8c.xml +++ b/doc/xml/kern__sysctl_8c.xml @@ -2,7 +2,7 @@ kern_sysctl.c - ubixos/types.h + ubixos/types.h sys/sysproto.h sys/thread.h sys/kern_sysctl.h @@ -13,170 +13,172 @@ assert.h string.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + @@ -200,7 +202,7 @@ - + _current ctls endTask @@ -208,13 +210,13 @@ K_PANIC kprintf memcpy - sysctl_args::name - sysctl_args::namelen - sysctl_args::newlen - sysctl_args::old - sysctl_args::oldlenp - sysctl_find - thread::td_retval + sysctl_args::name + sysctl_args::namelen + sysctl_args::newlen + sysctl_args::old + sysctl_args::oldlenp + sysctl_find + thread::td_retval sysctl_entry::val_len sysctl_entry::value @@ -232,7 +234,7 @@ CTL_MAXNAME name - sysctl_add + sysctl_add sysctl_init @@ -266,7 +268,7 @@ - + sysctl_entry::children sysctl_entry::id kmalloc @@ -276,7 +278,7 @@ sysctl_entry::next sysctl_entry::prev sprintf - sysctl_find + sysctl_find sysctl_entry::val_len sysctl_entry::value def_ctls @@ -300,13 +302,13 @@ - + sysctl_entry::children ctls sysctl_entry::id sysctl_entry::next - __sysctl - sysctl_add + __sysctl + sysctl_add int @@ -357,8 +359,8 @@ - __sysctl - sysctl_find + __sysctl + sysctl_find sysctl_init @@ -396,7 +398,7 @@ *****************************************************************************************/ -#include<ubixos/types.h> +#include<ubixos/types.h> #include<sys/sysproto.h> #include<sys/thread.h> #include<sys/kern_sysctl.h> @@ -414,11 +416,11 @@ /*Thisisacheatfornow*/ staticvoiddef_ctls(){ intname[CTL_MAXNAME],name_len; -uInt32page_val=0x1000; +uInt32page_val=0x1000; name[0]=6; name[1]=7; name_len=2; -sysctl_add(name,name_len,"page_size",&page_val,sizeof(uInt32)); +sysctl_add(name,name_len,"page_size",&page_val,sizeof(uInt32)); /*ClockRate*/ name[0]=1; name[1]=12; @@ -526,102 +528,100 @@ if(ctls==0x0) K_PANIC("sysctlnotinitialized"); -kprintf("ASD"); - -if(uap->newlen<0){ -kprintf("ChangingNotsupportedyet.\n"); -endTask(_current->id); -} - -tmpCtl=sysctl_find(uap->name,uap->namelen); -if(tmpCtl==0x0){ -kprintf("InvalidCTL\n"); -for(i=0x0;i<uap->namelen;i++) -kprintf("(%i)",uap->name[i]); -kprintf("\n"); -endTask(_current->id); -} - -if((u_int32_t)uap->oldlenp<tmpCtl->val_len) -memcpy(uap->old,tmpCtl->value,(uInt32)uap->oldlenp); -else -memcpy(uap->old,tmpCtl->value,tmpCtl->val_len); +if(uap->newlen<0){ +kprintf("ChangingNotsupportedyet.\n"); +endTask(_current->id); +} + +tmpCtl=sysctl_find(uap->name,uap->namelen); +if(tmpCtl==0x0){ +kprintf("InvalidCTL\n"); +for(i=0x0;i<uap->namelen;i++) +kprintf("(%i)",uap->name[i]); +kprintf("\n"); +endTask(_current->id); +} + +if((u_int32_t)uap->oldlenp<tmpCtl->val_len) +memcpy(uap->old,tmpCtl->value,(uInt32)uap->oldlenp); +else +memcpy(uap->old,tmpCtl->value,tmpCtl->val_len); + +td->td_retval[0]=0x0; -td->td_retval[0]=0x0; - -return(0x0); -} - -staticstructsysctl_entry*sysctl_find(int*name,intnamelen){ -inti=0x0; -structsysctl_entry*tmpCtl=0x0; -structsysctl_entry*lCtl=ctls; - -/*LoopNameLen*/ -for(i=0x0;i<namelen;i++){ -for(tmpCtl=lCtl;tmpCtl!=0x0;tmpCtl=tmpCtl->next){ -//kprintf("ctlName:[%s],ctlId;[%i]\n",tmpCtl->name,tmpCtl->id); -if(tmpCtl->id==name[i]){ -if((i+1)==namelen){ -return(tmpCtl); -} -lCtl=tmpCtl->children; -break; -} -} -} -return(0x0); -} - -intsysctl_add(int*name,intnamelen,char*str_name,void*buf,intbuf_size){ -structsysctl_entry*tmpCtl=0x0; -structsysctl_entry*newCtl=0x0; - -/*Checkifitexists*/ -tmpCtl=sysctl_find(name,namelen); -if(tmpCtl!=0x0){ -kprintf("NodeExists!\n"); -while(1); -} - -/*GetParentNode*/ -tmpCtl=sysctl_find(name,namelen-1); -if(tmpCtl==0x0){ -kprintf("ParentNodeNonExistant\n"); -return(-1); -} -if(tmpCtl->children==0x0){ -tmpCtl->children=(structsysctl_entry*)kmalloc(sizeof(structsysctl_entry)); -tmpCtl->children->children=0x0; -tmpCtl->children->prev=0x0; -tmpCtl->children->next=0x0; -tmpCtl->children->id=name[namelen-1]; -sprintf(tmpCtl->children->name,str_name); -tmpCtl->children->value=(void*)kmalloc(buf_size); -memcpy(tmpCtl->children->value,buf,buf_size); -tmpCtl->children->val_len=buf_size; -} -else{ -newCtl=(structsysctl_entry*)kmalloc(sizeof(structsysctl_entry)); -newCtl->prev=0x0; -newCtl->next=tmpCtl->children; -newCtl->children=0x0; -newCtl->id=name[namelen-1]; -sprintf(newCtl->name,str_name); -newCtl->value=(void*)kmalloc(buf_size); -memcpy(newCtl->value,buf,buf_size); -newCtl->val_len=buf_size; -tmpCtl->children->prev=newCtl; -tmpCtl->children=newCtl; -} - -return(0x0); -} - - -/*** -END -***/ +return(0x0); +} + +staticstructsysctl_entry*sysctl_find(int*name,intnamelen){ +inti=0x0; +structsysctl_entry*tmpCtl=0x0; +structsysctl_entry*lCtl=ctls; + +/*LoopNameLen*/ +for(i=0x0;i<namelen;i++){ +for(tmpCtl=lCtl;tmpCtl!=0x0;tmpCtl=tmpCtl->next){ +//kprintf("ctlName:[%s],ctlId;[%i]\n",tmpCtl->name,tmpCtl->id); +if(tmpCtl->id==name[i]){ +if((i+1)==namelen){ +return(tmpCtl); +} +lCtl=tmpCtl->children; +break; +} +} +} +return(0x0); +} + +intsysctl_add(int*name,intnamelen,char*str_name,void*buf,intbuf_size){ +structsysctl_entry*tmpCtl=0x0; +structsysctl_entry*newCtl=0x0; + +/*Checkifitexists*/ +tmpCtl=sysctl_find(name,namelen); +if(tmpCtl!=0x0){ +kprintf("NodeExists!\n"); +while(1); +} + +/*GetParentNode*/ +tmpCtl=sysctl_find(name,namelen-1); +if(tmpCtl==0x0){ +kprintf("ParentNodeNonExistant\n"); +return(-1); +} +if(tmpCtl->children==0x0){ +tmpCtl->children=(structsysctl_entry*)kmalloc(sizeof(structsysctl_entry)); +tmpCtl->children->children=0x0; +tmpCtl->children->prev=0x0; +tmpCtl->children->next=0x0; +tmpCtl->children->id=name[namelen-1]; +sprintf(tmpCtl->children->name,str_name); +tmpCtl->children->value=(void*)kmalloc(buf_size); +memcpy(tmpCtl->children->value,buf,buf_size); +tmpCtl->children->val_len=buf_size; +} +else{ +newCtl=(structsysctl_entry*)kmalloc(sizeof(structsysctl_entry)); +newCtl->prev=0x0; +newCtl->next=tmpCtl->children; +newCtl->children=0x0; +newCtl->id=name[namelen-1]; +sprintf(newCtl->name,str_name); +newCtl->value=(void*)kmalloc(buf_size); +memcpy(newCtl->value,buf,buf_size); +newCtl->val_len=buf_size; +tmpCtl->children->prev=newCtl; +tmpCtl->children=newCtl; +} + +return(0x0); +} + + +/*** +END +***/ diff --git a/doc/xml/kern__sysctl_8h.xml b/doc/xml/kern__sysctl_8h.xml index 62590e5..f785e16 100644 --- a/doc/xml/kern__sysctl_8h.xml +++ b/doc/xml/kern__sysctl_8h.xml @@ -8,69 +8,71 @@ src/sys/kernel/kern_sysctl.c src/sys/vmm/copyvirtualspace.c - + - + - + - - + + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + @@ -255,7 +257,7 @@ name - u_int + u_int namelen @@ -263,7 +265,7 @@ old - size_t * + size_t * oldlenp @@ -271,11 +273,11 @@ new - size_t + size_t newlen - size_t * + size_t * retval @@ -316,7 +318,7 @@ - + sysctl_entry::children sysctl_entry::id kmalloc @@ -326,7 +328,7 @@ sysctl_entry::next sysctl_entry::prev sprintf - sysctl_find + sysctl_find sysctl_entry::val_len sysctl_entry::value def_ctls @@ -368,7 +370,7 @@ - bool + bool bool sysctl_enabled sysctl_enabled @@ -452,7 +454,7 @@ intval_len; }; -intkern_sysctl(int*name,u_intnamelen,void*old,size_t*oldlenp,void*new,size_tnewlen,size_t*retval,intflags); +intkern_sysctl(int*name,u_intnamelen,void*old,size_t*oldlenp,void*new,size_tnewlen,size_t*retval,intflags); intsysctl_add(int*,int,char*,void*,int); intsysctl_init(); diff --git a/doc/xml/kmalloc_8c.xml b/doc/xml/kmalloc_8c.xml index c25ef6d..627e18b 100644 --- a/doc/xml/kmalloc_8c.xml +++ b/doc/xml/kmalloc_8c.xml @@ -11,174 +11,176 @@ string.h assert.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + @@ -260,11 +262,11 @@ spinLock spinUnlock usedKernDesc - close + close device_remove execFile - fclose - fopen + fclose + fopen kmod_load ldEnable mpi_destroyMbox @@ -274,8 +276,8 @@ operator delete[] sys_mbox_free sys_sem_free_ - sys_write - sysExec + sys_write + sysExec systemTask ubixfs_cacheDelete ubixFSmkDir @@ -290,7 +292,7 @@ (uInt32 len) kmalloc - uInt32 + uInt32 len @@ -320,9 +322,9 @@ devfs_makeNode device_add execFile - falloc + falloc fdc_init - fopen + fopen initHardDisk initLNC kmain @@ -345,10 +347,10 @@ sys_mbox_new sys_sem_new_ sys_thread_new - sys_write - sysctl_add + sys_write + sysctl_add sysctl_init - sysExec + sysExec tty_init ubixfs_cacheNew ubixfs_initialize @@ -358,9 +360,9 @@ ubthread_cond_init ubthread_create ubthread_mutex_init - ufs_openFile + ufs_openFile vfs_mount - vfsRegisterFS + vfsRegisterFS vitals_init writeUbixFS @@ -658,7 +660,7 @@ staticvoidmergeMemBlocks(){ structmemDescriptor*tmpDesc1=0x0; structmemDescriptor*tmpDesc2=0x0; -uInt32baseAddr=0x0; +uInt32baseAddr=0x0; return; @@ -670,9 +672,9 @@ ThatYouAreLookingForLetsMergeThem */ if(tmpDesc1->limit!=0x0){ -baseAddr=(uInt32)tmpDesc1->baseAddr+(uInt32)tmpDesc1->limit; +baseAddr=(uInt32)tmpDesc1->baseAddr+(uInt32)tmpDesc1->limit; for(tmpDesc2=freeKernDesc;tmpDesc2;tmpDesc2=tmpDesc2->next){ -if((uInt32)tmpDesc2->baseAddr==baseAddr){ +if((uInt32)tmpDesc2->baseAddr==baseAddr){ tmpDesc1->limit+=tmpDesc2->limit; tmpDesc2->baseAddr=0x0; tmpDesc2->limit=0x0; @@ -717,12 +719,12 @@ 02/17/03-DoIStillNeedToPassInThePid? ************************************************************************/ -void*kmalloc(uInt32len){ +void*kmalloc(uInt32len){ structmemDescriptor*tmpDesc1=0x0; structmemDescriptor*tmpDesc2=0x0; char*buf=0x0; inti=0x0; -uInt16pages=0x0; +uInt16pages=0x0; spinLock(&mallocSpinLock); @@ -859,7 +861,7 @@ } } spinUnlock(&mallocSpinLock); -kprintf("Kernel:ErrorFreeingDescriptor![0x%X]\n",(uInt32)baseAddr); +kprintf("Kernel:ErrorFreeingDescriptor![0x%X]\n",(uInt32)baseAddr); return; } diff --git a/doc/xml/kmalloc_8h.xml b/doc/xml/kmalloc_8h.xml index 966734c..dabfc98 100644 --- a/doc/xml/kmalloc_8h.xml +++ b/doc/xml/kmalloc_8h.xml @@ -2,7 +2,7 @@ kmalloc.h - ubixos/types.h + ubixos/types.h src/sys/devfs/devfs.c src/sys/init/main.c src/sys/isa/atkbd.c @@ -10,6 +10,7 @@ src/sys/isa/ne2k.c src/sys/kernel/bioscall.c src/sys/kernel/exec.c + src/sys/kernel/gen_calls.c src/sys/kernel/kern_descrip.c src/sys/kernel/kern_sig.c src/sys/kernel/kern_sysctl.c @@ -45,103 +46,109 @@ src/sys/vmm/paging.c src/sys/vmm/vmm_memory.c - + - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + @@ -220,96 +227,96 @@ - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + - + - + @@ -384,11 +391,11 @@ spinLock spinUnlock usedKernDesc - close + close device_remove execFile - fclose - fopen + fclose + fopen kmod_load ldEnable mpi_destroyMbox @@ -398,8 +405,8 @@ operator delete[] sys_mbox_free sys_sem_free_ - sys_write - sysExec + sys_write + sysExec systemTask ubixfs_cacheDelete ubixFSmkDir @@ -414,7 +421,7 @@ (uInt32 len) kmalloc - uInt32 + uInt32 len @@ -444,9 +451,9 @@ devfs_makeNode device_add execFile - falloc + falloc fdc_init - fopen + fopen initHardDisk initLNC kmain @@ -469,10 +476,10 @@ sys_mbox_new sys_sem_new_ sys_thread_new - sys_write - sysctl_add + sys_write + sysctl_add sysctl_init - sysExec + sysExec tty_init ubixfs_cacheNew ubixfs_initialize @@ -482,9 +489,9 @@ ubthread_cond_init ubthread_create ubthread_mutex_init - ufs_openFile + ufs_openFile vfs_mount - vfsRegisterFS + vfsRegisterFS vitals_init writeUbixFS @@ -526,7 +533,7 @@ #ifndef_KMALLOC_H #define_KMALLOC_H -#include<ubixos/types.h> +#include<ubixos/types.h> #ifdef__cplusplus extern"C"{ @@ -540,13 +547,13 @@ structmemDescriptor*prev;//4 structmemDescriptor*next;//4 void*baseAddr;//4 -uInt32limit;//4 +uInt32limit;//4 /*uInt8status;//1*/ /*charreserved[11];//11*/ }; voidkfree(void*baseAddr); -void*kmalloc(uInt32len); +void*kmalloc(uInt32len); #ifdef__cplusplus } diff --git a/doc/xml/kmod_8c.xml b/doc/xml/kmod_8c.xml index 2de22bf..cad25ef 100644 --- a/doc/xml/kmod_8c.xml +++ b/doc/xml/kmod_8c.xml @@ -2,7 +2,7 @@ kmod.c - ubixos/types.h + ubixos/types.h ubixos/kmod.h ubixos/sched.h ubixos/elf.h @@ -11,205 +11,207 @@ ubixos/spinlock.h lib/kprintf.h lib/kmalloc.h - vfs/vfs.h + vfs/vfs.h vmm/vmm.h string.h assert.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - uInt32 + uInt32 uInt32 kmod_add (const char *kmod_file, const char *name) kmod_add @@ -239,7 +241,7 @@ NULL - uInt32 + uInt32 uInt32 kmod_load (const char *kmod_file) kmod_load @@ -265,10 +267,10 @@ elfHeader::eShnum elfHeader::eShoff elfHeader::eShstrndx - fclose - fopen - fread - fseek + fclose + fopen + fread + fseek taskStruct::id kfree kmalloc @@ -287,7 +289,7 @@ R_386_PC32 R_386_RELATIVE elfSectionHeader::shSize - strcmp + strcmp vmm_remapPage vmmFindFreePage x1000 @@ -345,7 +347,7 @@ *****************************************************************************************/ -#include<ubixos/types.h> +#include<ubixos/types.h> #include<ubixos/kmod.h> #include<ubixos/sched.h> #include<ubixos/elf.h> @@ -354,16 +356,16 @@ #include<ubixos/spinlock.h> #include<lib/kprintf.h> #include<lib/kmalloc.h> -#include<vfs/vfs.h> +#include<vfs/vfs.h> #include<vmm/vmm.h> #include<string.h> #include<assert.h> List_t*List=0x0; -uInt32kmod_add(constchar*kmod_file,constchar*name) +uInt32kmod_add(constchar*kmod_file,constchar*name) { -uInt32addr=0x0; +uInt32addr=0x0; Item_t*tmp; kmod_t*kmods; @@ -390,7 +392,7 @@ return0x0; } -uInt32kmod_load(constchar*kmod_file){ +uInt32kmod_load(constchar*kmod_file){ inti=0x0; intx=0x0; intrel=0x0; @@ -398,8 +400,8 @@ char*newLoc=0x0; char*shStr=0x0; char*dynStr=0x0; -uInt32*reMap=0x0; -fileDescriptor*kmod_fd=0x0; +uInt32*reMap=0x0; +fileDescriptor*kmod_fd=0x0; elfHeader*binaryHeader=0x0; elfProgramHeader*programHeader=0x0; elfSectionHeader*sectionHeader=0x0; @@ -407,14 +409,14 @@ elfPltInfo*elfRel=0x0; /*Openkernelmodule*/ -kmod_fd=fopen(kmod_file,"rb"); +kmod_fd=fopen(kmod_file,"rb"); if(kmod_fd==0x0){ kprintf("Cannotopen%s\n",kmod_file); return0x0; } /*loadmoduleheader*/ -fseek(kmod_fd,0x0,0x0); +fseek(kmod_fd,0x0,0x0); binaryHeader=(elfHeader*)kmalloc(sizeof(elfHeader)); if(binaryHeader==0x0) { @@ -423,21 +425,21 @@ } assert(binaryHeader); -fread(binaryHeader,sizeof(elfHeader),1,kmod_fd); +fread(binaryHeader,sizeof(elfHeader),1,kmod_fd); programHeader=(elfProgramHeader*)kmalloc(sizeof(elfProgramHeader)*binaryHeader->ePhnum); assert(programHeader); -fseek(kmod_fd,binaryHeader->ePhoff,0); -fread(programHeader,sizeof(elfSectionHeader),binaryHeader->ePhnum,kmod_fd); +fseek(kmod_fd,binaryHeader->ePhoff,0); +fread(programHeader,sizeof(elfSectionHeader),binaryHeader->ePhnum,kmod_fd); sectionHeader=(elfSectionHeader*)kmalloc(sizeof(elfSectionHeader)*binaryHeader->eShnum); assert(sectionHeader); -fseek(kmod_fd,binaryHeader->eShoff,0); -fread(sectionHeader,sizeof(elfSectionHeader),binaryHeader->eShnum,kmod_fd); +fseek(kmod_fd,binaryHeader->eShoff,0); +fread(sectionHeader,sizeof(elfSectionHeader),binaryHeader->eShnum,kmod_fd); shStr=(char*)kmalloc(sectionHeader[binaryHeader->eShstrndx].shSize); -fseek(kmod_fd,sectionHeader[binaryHeader->eShstrndx].shOffset,0); -fread(shStr,sectionHeader[binaryHeader->eShstrndx].shSize,1,kmod_fd); +fseek(kmod_fd,sectionHeader[binaryHeader->eShstrndx].shOffset,0); +fread(shStr,sectionHeader[binaryHeader->eShstrndx].shSize,1,kmod_fd); for(i=0;i<binaryHeader->ePhnum;i++){ switch(programHeader[i].phType){ @@ -455,8 +457,8 @@ memset((void*)((programHeader[i].phVaddr&0xFFFFF000)+x+LD_START),0x0,0x1000); } /*NowLoadSectionToMemory*/ -fseek(kmod_fd,programHeader[i].phOffset,0x0); -fread(newLoc,programHeader[i].phFilesz,1,kmod_fd); +fseek(kmod_fd,programHeader[i].phOffset,0x0); +fread(newLoc,programHeader[i].phFilesz,1,kmod_fd); break; casePT_GNU_STACK: /*Tellsusifthestackshouldbeexecutable.Failsafetoexecutable @@ -476,27 +478,27 @@ case3: if(!strcmp((shStr+sectionHeader[i].shName),".dynstr")){ dynStr=(char*)kmalloc(sectionHeader[i].shSize); -fseek(kmod_fd,sectionHeader[i].shOffset,0x0); -fread(dynStr,sectionHeader[i].shSize,1,kmod_fd); +fseek(kmod_fd,sectionHeader[i].shOffset,0x0); +fread(dynStr,sectionHeader[i].shSize,1,kmod_fd); } break; case9: elfRel=(elfPltInfo*)kmalloc(sectionHeader[i].shSize); -fseek(kmod_fd,sectionHeader[i].shOffset,0x0); -fread(elfRel,sectionHeader[i].shSize,1,kmod_fd); +fseek(kmod_fd,sectionHeader[i].shOffset,0x0); +fread(elfRel,sectionHeader[i].shSize,1,kmod_fd); for(x=0x0;x<sectionHeader[i].shSize/sizeof(elfPltInfo);x++){ rel=ELF32_R_SYM(elfRel[x].pltInfo); -reMap=(uInt32*)((uInt32)LD_START+elfRel[x].pltOffset); +reMap=(uInt32*)((uInt32)LD_START+elfRel[x].pltOffset); switch(ELF32_R_TYPE(elfRel[x].pltInfo)){ caseR_386_32: -*reMap+=((uInt32)LD_START+relSymTab[rel].dynValue); +*reMap+=((uInt32)LD_START+relSymTab[rel].dynValue); break; caseR_386_PC32: -*reMap+=((uInt32)LD_START+relSymTab[rel].dynValue)-(uInt32)reMap; +*reMap+=((uInt32)LD_START+relSymTab[rel].dynValue)-(uInt32)reMap; break; caseR_386_RELATIVE: -*reMap+=(uInt32)LD_START; +*reMap+=(uInt32)LD_START; break; default: kprintf("[0x%X][0x%X](%i)[%s]\n",elfRel[x].pltOffset,elfRel[x].pltInfo,rel,elfGetRelType(ELF32_R_TYPE(elfRel[x].pltInfo))); @@ -508,8 +510,8 @@ break; case11: relSymTab=(elfDynSym*)kmalloc(sectionHeader[i].shSize); -fseek(kmod_fd,sectionHeader[i].shOffset,0x0); -fread(relSymTab,sectionHeader[i].shSize,1,kmod_fd); +fseek(kmod_fd,sectionHeader[i].shOffset,0x0); +fread(relSymTab,sectionHeader[i].shSize,1,kmod_fd); sym=i; break; } @@ -523,9 +525,9 @@ kfree(sectionHeader); kfree(programHeader); kfree(binaryHeader); -fclose(kmod_fd); +fclose(kmod_fd); -return((uInt32)i); +return((uInt32)i); } /*** diff --git a/doc/xml/kmod_8h.xml b/doc/xml/kmod_8h.xml index 133c9e3..ca2adc6 100644 --- a/doc/xml/kmod_8h.xml +++ b/doc/xml/kmod_8h.xml @@ -2,35 +2,35 @@ kmod.h - ubixos/types.h + ubixos/types.h src/sys/kmods/kmod.c - + - - + + - + - + - + - + - + - + @@ -67,7 +67,7 @@ - uInt32 + uInt32 uInt32 kmod_add (const char *, const char *name) kmod_add @@ -96,7 +96,7 @@ NULL - uInt32 + uInt32 uInt32 kmod_load (const char *) kmod_load @@ -121,10 +121,10 @@ elfHeader::eShnum elfHeader::eShoff elfHeader::eShstrndx - fclose - fopen - fread - fseek + fclose + fopen + fread + fseek taskStruct::id kfree kmalloc @@ -143,7 +143,7 @@ R_386_PC32 R_386_RELATIVE elfSectionHeader::shSize - strcmp + strcmp vmm_remapPage vmmFindFreePage x1000 @@ -187,22 +187,22 @@ #ifndef_KMOD_H #define_KMOD_H -#include<ubixos/types.h> +#include<ubixos/types.h> #defineLD_START0x1000000 typedefstructkmod_struct{ structkmod_struct*next; structkmod_struct*prev; -uInt16id; -uInt16refs; -uInt32address; +uInt16id; +uInt16refs; +uInt32address; charname[128]; }kmod_t; -uInt32kmod_load(constchar*); -uInt32kmod_add(constchar*,constchar*name); +uInt32kmod_load(constchar*); +uInt32kmod_add(constchar*,constchar*name); #endif diff --git a/doc/xml/kpanic_8c.xml b/doc/xml/kpanic_8c.xml index 2e09d38..ef7a81d 100644 --- a/doc/xml/kpanic_8c.xml +++ b/doc/xml/kpanic_8c.xml @@ -9,62 +9,62 @@ stdarg.h ubixos/tty.h - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -131,14 +131,14 @@ sched_init schedNewTask sys_thread_new - sysExec + sysExec systemTask tcpdump_init tty_change tty_init ubixfs_init ubixfs_thread - ufs_init + ufs_init vitals_init vmm_pageFault vmm_setPageAttributes diff --git a/doc/xml/kpanic_8h.xml b/doc/xml/kpanic_8h.xml index 260f160..8ca8d47 100644 --- a/doc/xml/kpanic_8h.xml +++ b/doc/xml/kpanic_8h.xml @@ -37,13 +37,57 @@ src/sys/vmm/vmm_init.c src/sys/vmm/vmm_memory.c - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -68,180 +112,136 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -258,13 +258,13 @@ - __sysctl + __sysctl devfs_initialize execFile keyboardHandler ldEnable - obreak - sysExec + obreak + sysExec vmm_getFreeMallocPage vmm_init vmm_pagingInit @@ -337,14 +337,14 @@ sched_init schedNewTask sys_thread_new - sysExec + sysExec systemTask tcpdump_init tty_change tty_init ubixfs_init ubixfs_thread - ufs_init + ufs_init vitals_init vmm_pageFault vmm_setPageAttributes diff --git a/doc/xml/kprint_8h.xml b/doc/xml/kprint_8h.xml index be43fd1..9f7b3af 100644 --- a/doc/xml/kprint_8h.xml +++ b/doc/xml/kprint_8h.xml @@ -2,34 +2,34 @@ kprint.h - ubixos/types.h + ubixos/types.h src/sys/vmm/getfreevirtualpage.c - + - - + + - + - + - + - + - + - + @@ -55,13 +55,14 @@ __assert - __sysctl + __sysctl _int13 addDirEntry apicMagic arp_arp_input atkbd_init bot_thread + close devfs_makeNode devfs_open devfs_read @@ -69,11 +70,19 @@ dp_pkt2user dp_recv execFile - fcntl + falloc + fcntl fdcRw ffs_read - fopen - fsread + fopen + fsread + fstat + getdtablesize + getfd + getgid + getpid + gettimeofday_new + getuid hdInit hdRead hdWrite @@ -85,6 +94,7 @@ intNull invalidCall InvalidSystemCall + issetugid keyboardHandler kfree kmain @@ -95,35 +105,36 @@ ldEnable lncAttach lncInt - lookup + lookup low_level_init - mmap + mmap mouseHandler mouseInit - munmap + munmap ne2k_init ne2kHandler netconn_connect netMainThread - open + obreak openFileUbixFS pci_init pciProbe pit_init - readlink + read + readlink sched_init seek shell_main shell_thread sys_thread_new - sys_write + sys_write sysAuth syscall - sysctl_add + sysctl_add sysctl_init - sysExec + sysExec sysFopen - sysMkDir + sysMkDir sysPasswd systemTask time_init @@ -133,12 +144,12 @@ ubixFSUnlink ubthread_mutex_lock udpecho_thread - ufs_writeFile - vfs_init + ufs_writeFile + vfs_init vfs_mount - vfsRegisterFS + vfsRegisterFS vitals_init - vmm_cleanVirtualSpace + vmm_cleanVirtualSpace vmm_pageFault vmm_pagingInit vmm_remapPage @@ -200,7 +211,7 @@ #ifndef_KPRINT_H #define_KPRINT_H -#include<ubixos/types.h> +#include<ubixos/types.h> intkprintf(constchar*fmt,...); diff --git a/doc/xml/kprintf_8c.xml b/doc/xml/kprintf_8c.xml index 0896769..86e69a6 100644 --- a/doc/xml/kprintf_8c.xml +++ b/doc/xml/kprintf_8c.xml @@ -7,46 +7,46 @@ ubixos/kpanic.h stdarg.h - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + diff --git a/doc/xml/kprintf_8h.xml b/doc/xml/kprintf_8h.xml index f8412ca..31914e0 100644 --- a/doc/xml/kprintf_8h.xml +++ b/doc/xml/kprintf_8h.xml @@ -2,7 +2,7 @@ kprintf.h - ubixos/types.h + ubixos/types.h src/sys/devfs/devfs.c src/sys/init/main.c src/sys/init/static.c @@ -61,155 +61,159 @@ src/sys/vmm/paging.c src/sys/vmm/vmm_memory.c - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + @@ -320,108 +324,104 @@ - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -537,7 +537,7 @@ #ifndef_KPRINTF_H #define_KPRINTF_H -#include<ubixos/types.h> +#include<ubixos/types.h> intkprintf(constchar*fmt,...); intogPrintf(char*); diff --git a/doc/xml/ld_8c.xml b/doc/xml/ld_8c.xml index bab5752..4bc7d3c 100644 --- a/doc/xml/ld_8c.xml +++ b/doc/xml/ld_8c.xml @@ -2,198 +2,200 @@ ld.c - ubixos/types.h + ubixos/types.h ubixos/ld.h ubixos/sched.h ubixos/elf.h ubixos/kpanic.h lib/kprintf.h lib/kmalloc.h - vfs/vfs.h + vfs/vfs.h vmm/vmm.h string.h assert.h - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - uInt32 + uInt32 uInt32 ldEnable () ldEnable @@ -215,10 +217,10 @@ elfHeader::eShnum elfHeader::eShoff elfHeader::eShstrndx - fclose - fopen - fread - fseek + fclose + fopen + fread + fseek taskStruct::id K_PANIC kfree @@ -237,11 +239,11 @@ R_386_PC32 R_386_RELATIVE elfSectionHeader::shSize - strcmp + strcmp vmm_remapPage vmmFindFreePage x1000 - sysExec + sysExec @@ -278,19 +280,19 @@ *****************************************************************************************/ -#include<ubixos/types.h> +#include<ubixos/types.h> #include<ubixos/ld.h> #include<ubixos/sched.h> #include<ubixos/elf.h> #include<ubixos/kpanic.h> #include<lib/kprintf.h> #include<lib/kmalloc.h> -#include<vfs/vfs.h> +#include<vfs/vfs.h> #include<vmm/vmm.h> #include<string.h> #include<assert.h> -uInt32ldEnable(){ +uInt32ldEnable(){ inti=0x0; intx=0x0; intrel=0x0; @@ -298,8 +300,8 @@ char*newLoc=0x0; char*shStr=0x0; char*dynStr=0x0; -uInt32*reMap=0x0; -fileDescriptor*ldFd=0x0; +uInt32*reMap=0x0; +fileDescriptor*ldFd=0x0; elfHeader*binaryHeader=0x0; elfProgramHeader*programHeader=0x0; elfSectionHeader*sectionHeader=0x0; @@ -307,30 +309,30 @@ elfPltInfo*elfRel=0x0; /*Openourdynamiclinker*/ -ldFd=fopen("sys:/lib/ld.so","rb"); +ldFd=fopen("sys:/lib/ld.so","rb"); if(ldFd==0x0){ kprintf("Cannotopenld.so\n"); } -fseek(ldFd,0x0,0x0); +fseek(ldFd,0x0,0x0); binaryHeader=(elfHeader*)kmalloc(sizeof(elfHeader)); assert(binaryHeader); -fread(binaryHeader,sizeof(elfHeader),1,ldFd); +fread(binaryHeader,sizeof(elfHeader),1,ldFd); programHeader=(elfProgramHeader*)kmalloc(sizeof(elfProgramHeader)*binaryHeader->ePhnum); assert(programHeader); -fseek(ldFd,binaryHeader->ePhoff,0); -fread(programHeader,sizeof(elfSectionHeader),binaryHeader->ePhnum,ldFd); +fseek(ldFd,binaryHeader->ePhoff,0); +fread(programHeader,sizeof(elfSectionHeader),binaryHeader->ePhnum,ldFd); sectionHeader=(elfSectionHeader*)kmalloc(sizeof(elfSectionHeader)*binaryHeader->eShnum); assert(sectionHeader); -fseek(ldFd,binaryHeader->eShoff,0); -fread(sectionHeader,sizeof(elfSectionHeader),binaryHeader->eShnum,ldFd); +fseek(ldFd,binaryHeader->eShoff,0); +fread(sectionHeader,sizeof(elfSectionHeader),binaryHeader->eShnum,ldFd); shStr=(char*)kmalloc(sectionHeader[binaryHeader->eShstrndx].shSize); -fseek(ldFd,sectionHeader[binaryHeader->eShstrndx].shOffset,0); -fread(shStr,sectionHeader[binaryHeader->eShstrndx].shSize,1,ldFd); +fseek(ldFd,sectionHeader[binaryHeader->eShstrndx].shOffset,0); +fread(shStr,sectionHeader[binaryHeader->eShstrndx].shSize,1,ldFd); for(i=0x0;i<binaryHeader->ePhnum;i++){ switch(programHeader[i].phType){ @@ -347,14 +349,14 @@ memset((void*)((programHeader[i].phVaddr&0xFFFFF000)+x+LD_START),0x0,0x1000); } /*NowLoadSectionToMemory*/ -fseek(ldFd,programHeader[i].phOffset,0x0); -fread(newLoc,programHeader[i].phFilesz,1,ldFd); +fseek(ldFd,programHeader[i].phOffset,0x0); +fread(newLoc,programHeader[i].phFilesz,1,ldFd); break; casePT_DYNAMIC: /*NowLoadSectionToMemory*/ -fseek(ldFd,programHeader[i].phOffset,0x0); -fread(newLoc,programHeader[i].phFilesz,1,ldFd); +fseek(ldFd,programHeader[i].phOffset,0x0); +fread(newLoc,programHeader[i].phFilesz,1,ldFd); break; casePT_GNU_STACK: /*Tellsusifthestackshouldbeexecutable.Failsafetoexecutable @@ -374,27 +376,27 @@ case3: if(!strcmp((shStr+sectionHeader[i].shName),".dynstr")){ dynStr=(char*)kmalloc(sectionHeader[i].shSize); -fseek(ldFd,sectionHeader[i].shOffset,0x0); -fread(dynStr,sectionHeader[i].shSize,1,ldFd); +fseek(ldFd,sectionHeader[i].shOffset,0x0); +fread(dynStr,sectionHeader[i].shSize,1,ldFd); } break; case9: elfRel=(elfPltInfo*)kmalloc(sectionHeader[i].shSize); -fseek(ldFd,sectionHeader[i].shOffset,0x0); -fread(elfRel,sectionHeader[i].shSize,1,ldFd); +fseek(ldFd,sectionHeader[i].shOffset,0x0); +fread(elfRel,sectionHeader[i].shSize,1,ldFd); for(x=0x0;x<sectionHeader[i].shSize/sizeof(elfPltInfo);x++){ rel=ELF32_R_SYM(elfRel[x].pltInfo); -reMap=(uInt32*)((uInt32)LD_START+elfRel[x].pltOffset); +reMap=(uInt32*)((uInt32)LD_START+elfRel[x].pltOffset); switch(ELF32_R_TYPE(elfRel[x].pltInfo)){ caseR_386_32: -*reMap+=((uInt32)LD_START+relSymTab[rel].dynValue); +*reMap+=((uInt32)LD_START+relSymTab[rel].dynValue); break; caseR_386_PC32: -*reMap+=((uInt32)LD_START+relSymTab[rel].dynValue)-(uInt32)reMap; +*reMap+=((uInt32)LD_START+relSymTab[rel].dynValue)-(uInt32)reMap; break; caseR_386_RELATIVE: -*reMap+=(uInt32)LD_START; +*reMap+=(uInt32)LD_START; break; default: kprintf("[0x%X][0x%X](%i)[%s]\n",elfRel[x].pltOffset,elfRel[x].pltInfo,rel,elfGetRelType(ELF32_R_TYPE(elfRel[x].pltInfo))); @@ -406,8 +408,8 @@ break; case11: relSymTab=(elfDynSym*)kmalloc(sectionHeader[i].shSize); -fseek(ldFd,sectionHeader[i].shOffset,0x0); -fread(relSymTab,sectionHeader[i].shSize,1,ldFd); +fseek(ldFd,sectionHeader[i].shOffset,0x0); +fread(relSymTab,sectionHeader[i].shSize,1,ldFd); sym=i; break; } @@ -421,9 +423,9 @@ kfree(sectionHeader); kfree(programHeader); kfree(binaryHeader); -fclose(ldFd); +fclose(ldFd); -return((uInt32)i); +return((uInt32)i); } /*** diff --git a/doc/xml/ld_8h.xml b/doc/xml/ld_8h.xml index d106000..9b52354 100644 --- a/doc/xml/ld_8h.xml +++ b/doc/xml/ld_8h.xml @@ -2,41 +2,41 @@ ld.h - ubixos/types.h + ubixos/types.h src/sys/kernel/exec.c src/sys/kernel/ld.c - + - - + + - + - + - + - + - + - + - + - + @@ -56,7 +56,7 @@ - uInt32 + uInt32 uInt32 ldEnable () ldEnable @@ -78,10 +78,10 @@ elfHeader::eShnum elfHeader::eShoff elfHeader::eShstrndx - fclose - fopen - fread - fseek + fclose + fopen + fread + fseek taskStruct::id K_PANIC kfree @@ -100,11 +100,11 @@ R_386_PC32 R_386_RELATIVE elfSectionHeader::shSize - strcmp + strcmp vmm_remapPage vmmFindFreePage x1000 - sysExec + sysExec @@ -144,11 +144,11 @@ #ifndef_LD_H #define_LD_H -#include<ubixos/types.h> +#include<ubixos/types.h> #defineLD_START0x1000000 -uInt32ldEnable(); +uInt32ldEnable(); #endif diff --git a/doc/xml/lib_2string_8h.xml b/doc/xml/lib_2string_8h.xml index bc0b5e7..eb092e1 100644 --- a/doc/xml/lib_2string_8h.xml +++ b/doc/xml/lib_2string_8h.xml @@ -2,7 +2,7 @@ string.h - ubixos/types.h + ubixos/types.h src/sys/devfs/devfs.c src/sys/kernel/bioscall.c src/sys/kernel/exec.c @@ -22,51 +22,55 @@ src/sys/vfs/mount.c src/sys/vfs/vfs.c - + - - + + - + - + - + - + - + - + - + - + - + - + + + + + @@ -99,56 +103,52 @@ - - - - - + - + - + - + - + - + - + - + - + - + - + - + @@ -168,7 +168,7 @@ src - size_t + size_t length @@ -177,7 +177,7 @@ - + void * @@ -193,7 +193,7 @@ src - size_t + size_t length @@ -203,26 +203,22 @@ - __sysctl + __sysctl addDirEntry apicMagic bcopy fork_copyProcess - fsread + fsread initHardDisk - lookup + lookup mpi_fetchMessage mpi_postMessage mpi_spam - ramDrive_read - ramDrive_write - bTree::saveNode - bTree::splitNode - sys_write + sys_write syscall - sysctl_add + sysctl_add tty_change - vfsRegisterFS + vfsRegisterFS void * @@ -238,7 +234,7 @@ c - size_t + size_t length @@ -248,26 +244,15 @@ - bTree::allocEmptyNode - bTree::bTree bzero execFile getEmptyDesc idt_init - bTree::Insert - bTree::insertNode kfree kmod_load ldEnable - main - UbixFS::mknod - bTree::Save schedNewTask - bTree::splitNode - sysExec - UbixFS::vfs_format - UbixFS::vfs_init - UbixFS::vfs_mkdir + sysExec vitals_init vmm_pagingInit vmmCopyVirtualSpace @@ -296,14 +281,14 @@ devfs_makeNode - fopen + fopen initHardDisk mpi_createMbox sysChDir - sysctl_add + sysctl_add sysctl_init sysGetCwd - sysMkDir + sysMkDir ubixFSLoadDir ubixFSmkDir vfs_mount @@ -327,27 +312,20 @@ - + devfs_open - bTree::findLeafNode - fsfind - bTree::inodeSearch - bTree::Insert - bTree::insertNode + fsfind kmod_load ldEnable mpi_destroyMbox mpi_findMbox shell_main systemTask - bTree::treeSearch ubixfs_cacheFind ubixfs_findName ubixFSLoadDir ubixFSUnlink - bTree::Verify vfs_findMount - UbixFS::vfs_init writeUbixFS @@ -367,10 +345,7 @@ - - main - ubixfs_cacheNew - UbixFS::vfs_format + int @@ -387,13 +362,7 @@ - - devfs_makeNode - sendstr - strstr - ubixfs_cacheNew - UbixFS::vfs_mkdir - vsprintf + int @@ -409,7 +378,7 @@ b - size_t + size_t c @@ -418,8 +387,8 @@ - - strstr + + strstr void @@ -435,7 +404,7 @@ src - size_t + size_t size @@ -444,13 +413,7 @@ - - bTree::bTree - bTree::Insert - bTree::insertNode - UbixFS::mknod - bTree::splitNode - UbixFS::vfs_mkdir + char * @@ -471,13 +434,13 @@ - + NULL - strlen - strncmp - fopen + strlen + strncmp + fopen sysChDir - sysMkDir + sysMkDir char * @@ -500,9 +463,9 @@ strtok_r - fopen - sysMkDir - unlink + fopen + sysMkDir + unlink char * @@ -569,20 +532,20 @@ #ifndef_STRING_H #define_STRING_H -#include<ubixos/types.h> +#include<ubixos/types.h> #ifdef__cplusplus extern"C"{ #endif -char*strcpy(char*,constchar*); +char*strcpy(char*,constchar*); intstrcmp(constchar*str1,constchar*str2); -intstrncmp(constchar*a,constchar*b,size_tc); -void*memcpy(constvoid*dst,constvoid*src,size_tlength); -void*memset(void*dst,intc,size_tlength); -intstrlen(constchar*string); -intmemcmp(constvoid*dst,constvoid*src,size_tlength); -voidstrncpy(char*dest,constchar*src,size_tsize); +intstrncmp(constchar*a,constchar*b,size_tc); +void*memcpy(constvoid*dst,constvoid*src,size_tlength); +void*memset(void*dst,intc,size_tlength); +intstrlen(constchar*string); +intmemcmp(constvoid*dst,constvoid*src,size_tlength); +voidstrncpy(char*dest,constchar*src,size_tsize); char*strtok(char*str,constchar*sep); char*strtok_r(char*str,constchar*sep,char**last); char*strstr(constchar*s,char*find); diff --git a/doc/xml/lib_8h.xml b/doc/xml/lib_8h.xml index 7507f74..45c14f2 100644 --- a/doc/xml/lib_8h.xml +++ b/doc/xml/lib_8h.xml @@ -4,151 +4,151 @@ lib.h src/sys/include/net/def.h - + - + - + - + + + + + + + - + - - - - - - - + - + - + - + - + - + + + + + - - - - - + - + + + + + - + - - - - - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + @@ -220,7 +220,7 @@ - + int @@ -245,7 +245,7 @@ - + @@ -292,7 +292,7 @@ #ifndef_STRING_H_ #ifndef_STRING_H -intstrlen(constchar*str); +intstrlen(constchar*str); intstrncmp(constchar*str1,constchar*str2,intlen); voidbcopy(constvoid*src,void*dest,intlen); voidbzero(void*data,intn); diff --git a/doc/xml/libcpp_8cc.xml b/doc/xml/libcpp_8cc.xml index 86721b1..9e7df48 100644 --- a/doc/xml/libcpp_8cc.xml +++ b/doc/xml/libcpp_8cc.xml @@ -6,42 +6,42 @@ sys/video.h lib/libcpp.h - + - + - + - - + + - + - + - + - + - + - + - + - + - + diff --git a/doc/xml/libcpp_8h.xml b/doc/xml/libcpp_8h.xml index c508a0a..f545bd0 100644 --- a/doc/xml/libcpp_8h.xml +++ b/doc/xml/libcpp_8h.xml @@ -2,34 +2,34 @@ libcpp.h - ubixos/types.h + ubixos/types.h src/sys/lib/libcpp.cc - + - + - + - - + + - + - + - + - + @@ -145,7 +145,7 @@ #ifndef__LIBCPP_H #define__LIBCPP_H -#include<ubixos/types.h> +#include<ubixos/types.h> void*operator new(unsignedsize); voidoperator delete(void*ptr); diff --git a/doc/xml/lists_8h.xml b/doc/xml/lists_8h.xml index 9066602..2898fbb 100644 --- a/doc/xml/lists_8h.xml +++ b/doc/xml/lists_8h.xml @@ -4,14 +4,14 @@ lists.h src/sys/kmods/kmod.c - + - + - + diff --git a/doc/xml/lnc_8c.xml b/doc/xml/lnc_8c.xml index 8a6d3d2..f8218c3 100644 --- a/doc/xml/lnc_8c.xml +++ b/doc/xml/lnc_8c.xml @@ -4,7 +4,7 @@ lnc.c pci/lnc.h sys/io.h - ubixos/types.h + ubixos/types.h sys/idt.h sys/gdt.h lib/kmalloc.h @@ -12,82 +12,82 @@ sys/video.h isa/8259.h - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -308,7 +308,7 @@ initLNC - uInt16 + uInt16 uInt16 readBcr (struct lncInfo *sc, uInt16 port) readBcr @@ -317,7 +317,7 @@ sc - uInt16 + uInt16 port @@ -333,7 +333,7 @@ lncInfo::rap - uInt16 + uInt16 uInt16 readCsr (struct lncInfo *lnc, uInt16 port) readCsr @@ -342,7 +342,7 @@ lnc - uInt16 + uInt16 port @@ -371,11 +371,11 @@ lnc - uInt16 + uInt16 port - uInt16 + uInt16 val @@ -400,11 +400,11 @@ lnc - uInt16 + uInt16 port - uInt16 + uInt16 val @@ -549,7 +549,7 @@ #include<pci/lnc.h> #include<sys/io.h> -#include<ubixos/types.h> +#include<ubixos/types.h> #include<sys/idt.h> #include<sys/gdt.h> #include<lib/kmalloc.h> @@ -582,22 +582,22 @@ "PCnet-Home", }; -voidwriteCsr(structlncInfo*lnc,uInt16port,uInt16val){ +voidwriteCsr(structlncInfo*lnc,uInt16port,uInt16val){ outportWord(lnc->rap,port); outportWord(lnc->rdp,val); } -uInt16readCsr(structlncInfo*lnc,uInt16port){ +uInt16readCsr(structlncInfo*lnc,uInt16port){ outportWord(lnc->rap,port); return(inportWord(lnc->rdp)); } -voidwriteBcr(structlncInfo*lnc,uInt16port,uInt16val){ +voidwriteBcr(structlncInfo*lnc,uInt16port,uInt16val){ outportWord(lnc->rap,port); outportWord(lnc->bdp,val); } -uInt16readBcr(structlncInfo*sc,uInt16port){ +uInt16readBcr(structlncInfo*sc,uInt16port){ outportWord(sc->rap,port); return(inportWord(sc->bdp)); } @@ -654,7 +654,7 @@ } intprobe(structlncInfo*lnc){ -uInt32chipId=0x0; +uInt32chipId=0x0; inttype=0x0; if((type=lanceProbe(lnc))){ @@ -708,7 +708,7 @@ } voidlncInt(){ -uInt16csr0=0x0; +uInt16csr0=0x0; while((csr0=inportWord(lnc->rdp))&INTR){ outportWord(lnc->rdp,csr0); kprintf("CSR0:[0x%X]\n",csr0); diff --git a/doc/xml/lnc_8h.xml b/doc/xml/lnc_8h.xml index d3e64c4..9aa7465 100644 --- a/doc/xml/lnc_8h.xml +++ b/doc/xml/lnc_8h.xml @@ -2,35 +2,35 @@ lnc.h - ubixos/types.h + ubixos/types.h src/sys/pci/lnc.c - + - + - + - - + + - + - + - + - + @@ -1021,7 +1021,7 @@ initLNC - uInt16 + uInt16 uInt16 readBcr (struct lncInfo *lnc, uInt16 port) readBcr @@ -1030,7 +1030,7 @@ lnc - uInt16 + uInt16 port @@ -1046,7 +1046,7 @@ lncInfo::rap - uInt16 + uInt16 uInt16 readCsr (struct lncInfo *lnc, uInt16 port) readCsr @@ -1055,7 +1055,7 @@ lnc - uInt16 + uInt16 port @@ -1084,11 +1084,11 @@ lnc - uInt16 + uInt16 port - uInt16 + uInt16 val @@ -1113,11 +1113,11 @@ lnc - uInt16 + uInt16 port - uInt16 + uInt16 val @@ -1195,7 +1195,7 @@ #ifndef_LNC_H #define_LNC_H -#include<ubixos/types.h> +#include<ubixos/types.h> #defineNDESC(len2)(1<<len2) #defineNORMAL0 @@ -1279,20 +1279,20 @@ structinitBlock{ -uInt16mode;/*Moderegister*/ -uInt8padr[6];/*Ethernetaddress*/ -uInt8ladrf[8];/*Logicaladdressfilter(multicast)*/ -uInt16rdra;/*Loworderpointertoreceivering*/ -uInt16rlen;/*Highorderpointerandno.rings*/ -uInt16tdra;/*Loworderpointertotransmitring*/ -uInt16tlen;/*Highorderpointerandnorings*/ +uInt16mode;/*Moderegister*/ +uInt8padr[6];/*Ethernetaddress*/ +uInt8ladrf[8];/*Logicaladdressfilter(multicast)*/ +uInt16rdra;/*Loworderpointertoreceivering*/ +uInt16rlen;/*Highorderpointerandno.rings*/ +uInt16tdra;/*Loworderpointertotransmitring*/ +uInt16tlen;/*Highorderpointerandnorings*/ }; structmds{ -uInt16md0; -uInt16md1; +uInt16md0; +uInt16md1; shortmd2; -uInt16md3; +uInt16md3; }; structhostRingEntry{ @@ -1305,7 +1305,7 @@ structarpcom{ //structifnetac_if;/*network-visibleinterface*/ -uInt8ac_enaddr[6];/*ethernethardwareaddress*/ +uInt8ac_enaddr[6];/*ethernethardwareaddress*/ intac_multicnt;/*lengthofac_multiaddrslist*/ void*ac_netgraph;/*ng_ether(4)netgraphnodeinfo*/ }; @@ -1333,10 +1333,10 @@ externstructlncInfo*lnc; -voidwriteCsr(structlncInfo*lnc,uInt16port,uInt16val); -uInt16readCsr(structlncInfo*lnc,uInt16port); -voidwriteBcr(structlncInfo*lnc,uInt16port,uInt16val); -uInt16readBcr(structlncInfo*lnc,uInt16port); +voidwriteCsr(structlncInfo*lnc,uInt16port,uInt16val); +uInt16readCsr(structlncInfo*lnc,uInt16port); +voidwriteBcr(structlncInfo*lnc,uInt16port,uInt16val); +uInt16readBcr(structlncInfo*lnc,uInt16port); voidinitLNC(); intprobe(structlncInfo*lnc); diff --git a/doc/xml/loopif_8c.xml b/doc/xml/loopif_8c.xml index 4bf8245..2ec6934 100644 --- a/doc/xml/loopif_8c.xml +++ b/doc/xml/loopif_8c.xml @@ -10,203 +10,203 @@ net/tcp.h net/ipv4/ip.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/doc/xml/loopif_8h.xml b/doc/xml/loopif_8h.xml index af6f8d7..cd18428 100644 --- a/doc/xml/loopif_8h.xml +++ b/doc/xml/loopif_8h.xml @@ -6,118 +6,118 @@ src/sys/net/net/init.c src/sys/net/netif/loopif.c - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - - + + + - + - + - + - + - + - + diff --git a/doc/xml/lwipopts_8h.xml b/doc/xml/lwipopts_8h.xml index 70e3039..e1df43d 100644 --- a/doc/xml/lwipopts_8h.xml +++ b/doc/xml/lwipopts_8h.xml @@ -5,275 +5,275 @@ src/sys/include/net/memp.h src/sys/include/net/opt.h - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + - - - - - - - - - - - - - - - + - + + + + + + + + + + + + + - + - + - + - - - - - + + + + + diff --git a/doc/xml/main_8c.xml b/doc/xml/main_8c.xml index aa1d707..53c01e6 100644 --- a/doc/xml/main_8c.xml +++ b/doc/xml/main_8c.xml @@ -13,382 +13,384 @@ lib/kprintf.h lib/kmalloc.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + - - + + @@ -611,7 +613,7 @@ (uInt32 rootdev) kmain - uInt32 + uInt32 rootdev @@ -795,10 +797,10 @@ uniondescriptorTableUnion*gdt__attribute__((packed)); }loadGDT={(9*sizeof(uniondescriptorTableUnion)-1),ubixGDT}; -intkmain(uInt32rootdev){ +intkmain(uInt32rootdev){ /*Setupcounterforstartuproutine*/ inti=0x0; -uInt32*sysTask=0x0; +uInt32*sysTask=0x0; /*DoAClearScreenJustToMakeTheTEXTBufferNiceAndEmpty*/ clearScreen(); @@ -839,7 +841,7 @@ if(sysTask==NULL) kprintf("OS:Unabletoallocatememory\n"); -execThread(systemTask,(uInt32)sysTask+0x2000,0x0); +execThread(systemTask,(uInt32)sysTask+0x2000,0x0); execFile("sys:/bin/init",0x0,0x0,0x0);/*OSInitializer*/ diff --git a/doc/xml/main_8cpp.xml b/doc/xml/main_8cpp.xml index 4f3de01..a08cf94 100644 --- a/doc/xml/main_8cpp.xml +++ b/doc/xml/main_8cpp.xml @@ -11,121 +11,121 @@ device.h ramdrive.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -153,7 +153,7 @@ name NULL bTree::Save - strcpy + strcpy UbixFS::vfs_format UbixFS::vfs_init UbixFS::vfs_mkdir @@ -190,7 +190,7 @@ inti=0; ubixfsInode*inode=(ubixfsInode*)malloc(sizeof(ubixfsInode)); memset(inode,0,sizeof(ubixfsInode)); -strcpy(inode->name,"50"); +strcpy(inode->name,"50"); bTree*tree=newbTree(".",inode); for(i=0;i<100;i++){ diff --git a/doc/xml/math_8h.xml b/doc/xml/math_8h.xml index d190c50..2d8139a 100644 --- a/doc/xml/math_8h.xml +++ b/doc/xml/math_8h.xml @@ -2,42 +2,42 @@ math.h - ubixos/types.h + ubixos/types.h src/sys/lib/atan.c src/sys/lib/divdi3.c - + - - + + - + - + - + - + - + - + - + - + @@ -58,16 +58,16 @@ - quad_t + quad_t quad_t __divdi3 (quad_t a, quad_t b) __divdi3 - quad_t + quad_t a - quad_t + quad_t b @@ -171,7 +171,7 @@ #ifndef__MATH_H #define__MATH_H -#include<ubixos/types.h> +#include<ubixos/types.h> //typedeflonglongintquad_t; typedefunsignedlonglongintu_quad_t; @@ -179,7 +179,7 @@ doubleatan(doublex); doublesqrt(doublex); u_quad_t__udivdi3(u_quad_ta,u_quad_tb); -quad_t__divdi3(quad_ta,quad_tb); +quad_t__divdi3(quad_ta,quad_tb); #endif diff --git a/doc/xml/mem_8h.xml b/doc/xml/mem_8h.xml index a79e37b..9475184 100644 --- a/doc/xml/mem_8h.xml +++ b/doc/xml/mem_8h.xml @@ -2,7 +2,7 @@ mem.h - ubixos/types.h + ubixos/types.h net/debug.h net/opt.h net/arch.h @@ -13,167 +13,167 @@ src/sys/net/netif/ethernetif.c src/sys/net/netif/loopif.c - + - + - - + + - + - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -182,7 +182,7 @@ MEM_ALIGN addr - (void *)MEM_ALIGN_SIZE((uInt32)addr) + (void *)MEM_ALIGN_SIZE((uInt32)addr) @@ -220,7 +220,7 @@ - uInt16 + uInt16 typedef uInt16 mem_size_t mem_size_t @@ -388,16 +388,16 @@ #ifndef__LWIP_MEM_H__ #define__LWIP_MEM_H__ -#include<ubixos/types.h> +#include<ubixos/types.h> #include"net/debug.h" #include"net/opt.h" #include"net/arch.h" #ifMEM_SIZE>64000l -typedefuInt32mem_size_t; +typedefuInt32mem_size_t; #else -typedefuInt16mem_size_t; +typedefuInt16mem_size_t; #endif/*MEM_SIZE>64000*/ diff --git a/doc/xml/memcpy_8c.xml b/doc/xml/memcpy_8c.xml index 926d3d4..3f6cc89 100644 --- a/doc/xml/memcpy_8c.xml +++ b/doc/xml/memcpy_8c.xml @@ -4,39 +4,39 @@ memcpy.c bcopy.c - + - + - + - - + + - + - + - + - + - + - + - + - + diff --git a/doc/xml/memp_8h.xml b/doc/xml/memp_8h.xml index 109cbc4..231bf09 100644 --- a/doc/xml/memp_8h.xml +++ b/doc/xml/memp_8h.xml @@ -2,7 +2,7 @@ memp.h - ubixos/types.h + ubixos/types.h net/debug.h net/arch/cc.h net/lwipopts.h @@ -12,45 +12,83 @@ src/sys/net/api/tcpip.c src/sys/net/net/init.c - + - - + + - + - + - + + + + + + + - - - - - - - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -58,45 +96,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -414,7 +414,7 @@ #ifndef__LWIP_MEMP_H__ #define__LWIP_MEMP_H__ -#include<ubixos/types.h> +#include<ubixos/types.h> #include"net/debug.h" #include"net/arch/cc.h" @@ -447,7 +447,7 @@ voidmemp_freep(memp_ttype,void*mem); #ifMEMP_RECLAIM -typedefuInt8(*memp_reclaim_func)(void*arg,memp_ttype); +typedefuInt8(*memp_reclaim_func)(void*arg,memp_ttype); voidmemp_register_reclaim(memp_ttype,memp_reclaim_funcf,void*arg); #else #definememp_register_reclaim(t,f,arg) diff --git a/doc/xml/memset_8c.xml b/doc/xml/memset_8c.xml index b2bf762..1aa3ac6 100644 --- a/doc/xml/memset_8c.xml +++ b/doc/xml/memset_8c.xml @@ -4,26 +4,26 @@ memset.c string.h - + - - + + - + - + - + - + - + @@ -65,7 +65,7 @@ wsize - sizeof(uInt) + sizeof(uInt) @@ -90,7 +90,7 @@ c0 - size_t + size_t length @@ -147,10 +147,10 @@ #defineVALc0 #defineWIDEVALc -void*memset(void*dst0,intc0,size_tlength){ -size_tt; -uIntc; -uInt8*dst; +void*memset(void*dst0,intc0,size_tlength){ +size_tt; +uIntc; +uInt8*dst; dst=dst0; @@ -162,7 +162,7 @@ return(dst0); } -if((c=(uInt8)c0)!=0){/*Filltheword.*/ +if((c=(uInt8)c0)!=0){/*Filltheword.*/ c=(c<<8)|c;/*u_intis16bits.*/ c=(c<<16)|c;/*u_intis32bits.*/ } @@ -179,7 +179,7 @@ /*Fillwords.Lengthwas>=2*wordssoweknowt>=1here.*/ t=length/wsize; do{ -*(u_int*)dst=WIDEVAL; +*(u_int*)dst=WIDEVAL; dst+=wsize; }while(--t!=0); diff --git a/doc/xml/message_8c.xml b/doc/xml/message_8c.xml index 15b3305..c7465cd 100644 --- a/doc/xml/message_8c.xml +++ b/doc/xml/message_8c.xml @@ -4,118 +4,120 @@ message.c mpi/mpi.h - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - - + + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + @@ -126,7 +128,7 @@ (uInt32 *status, char *name) sysMpiCreateMbox - uInt32 * + uInt32 * status @@ -148,7 +150,7 @@ (uInt32 *status, char *name) sysMpiDestroyMbox - uInt32 * + uInt32 * status @@ -178,7 +180,7 @@ msg - uInt32 * + uInt32 * status @@ -200,7 +202,7 @@ name - uInt32 * + uInt32 * type @@ -222,7 +224,7 @@ (uInt32 type, void *data, uInt32 *status) sysMpiSpam - uInt32 + uInt32 type @@ -230,7 +232,7 @@ data - uInt32 * + uInt32 * status @@ -279,31 +281,31 @@ #include<mpi/mpi.h> -voidsysMpiCreateMbox(uInt32*status,char*name){ +voidsysMpiCreateMbox(uInt32*status,char*name){ if(status&&name) *status=mpi_createMbox(name); return; } -voidsysMpiDestroyMbox(uInt32*status,char*name){ +voidsysMpiDestroyMbox(uInt32*status,char*name){ if(status&&name) *status=mpi_destroyMbox(name); return; } -voidsysMpiPostMessage(char*name,uInt32*type,mpi_message_t*data){ +voidsysMpiPostMessage(char*name,uInt32*type,mpi_message_t*data){ if(type&&name&&data) *type=mpi_postMessage(name,*type,data); return; } -voidsysMpiFetchMessage(char*name,mpi_message_t*msg,uInt32*status){ +voidsysMpiFetchMessage(char*name,mpi_message_t*msg,uInt32*status){ if(status&&name&&msg) *status=mpi_fetchMessage(name,msg); return; } -voidsysMpiSpam(uInt32type,void*data,uInt32*status){ +voidsysMpiSpam(uInt32type,void*data,uInt32*status){ if(status&&data) *status=mpi_spam(type,data); return; diff --git a/doc/xml/mount_8c.xml b/doc/xml/mount_8c.xml index 0b93e2d..ce2b80c 100644 --- a/doc/xml/mount_8c.xml +++ b/doc/xml/mount_8c.xml @@ -8,186 +8,188 @@ lib/kmalloc.h lib/kprintf.h lib/string.h - sys/device.h + sys/device.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - - + + @@ -234,11 +236,11 @@ vitalsStruct::mountPoints vfs_mountPoint::next NULL - strcmp + strcmp systemVitals devfs_makeNode - fopen - unlink + fopen + unlink int @@ -277,7 +279,7 @@ vfs_mountPoint::device - device_find + device_find vfs_mountPoint::fs kfree kmalloc @@ -288,7 +290,7 @@ vfs_mountPoint::perms sprintf vfs_addMount - vfsFindFS + vfsFindFS fileSystem::vfsInitFS x1 devfs_init @@ -335,7 +337,7 @@ #include<lib/kmalloc.h> #include<lib/kprintf.h> #include<lib/string.h> -#include<sys/device.h> +#include<sys/device.h> /************************************************************************ @@ -358,7 +360,7 @@ sprintf(mp->mountPoint,mountPoint); /*SetPointerToPhysicalDrive*/ -device=device_find(major,minor); +device=device_find(major,minor); /*SetUpMpDefaults*/ mp->device=device; diff --git a/doc/xml/mount_8h.xml b/doc/xml/mount_8h.xml index de86103..3ae9898 100644 --- a/doc/xml/mount_8h.xml +++ b/doc/xml/mount_8h.xml @@ -2,608 +2,630 @@ mount.h - ubixos/types.h - vfs/vfs.h + ubixos/types.h + vfs/vfs.h src/sys/include/ubixos/vitals.h - src/sys/include/vfs/file.h - src/sys/include/vfs/vfs.h + src/sys/include/vfs/file.h + src/sys/include/vfs/vfs.h src/sys/init/main.c src/sys/kernel/sched.c src/sys/ubixfs/block.c src/sys/ubixfs/directory.c src/sys/vfs/mount.c - + - + - + - - + + - + - + - - + + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + + + + + - - - - - - - - - - - - - - - - - - - - - + - + + + + + - + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - - - - - - - - + + + - - - - + + + + + + + + + + + + - + - + + + + + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + + + - - - - - - - - - - - - - + - - - + + + - - - - - - - - - + + + - - - + + + - - - - - - - - + + + + - + - + + + + + + + + + + + - + - + - + + + + + + + - - - - + + + + + + + + + + + + + + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + - + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - + - + + + + + - + - + - + - + - + - + @@ -652,11 +674,11 @@ vitalsStruct::mountPoints vfs_mountPoint::next NULL - strcmp + strcmp systemVitals devfs_makeNode - fopen - unlink + fopen + unlink int @@ -695,7 +717,7 @@ vfs_mountPoint::device - device_find + device_find vfs_mountPoint::fs kfree kmalloc @@ -706,7 +728,7 @@ vfs_mountPoint::perms sprintf vfs_addMount - vfsFindFS + vfsFindFS fileSystem::vfsInitFS x1 devfs_init @@ -750,8 +772,8 @@ #ifndef_MOUNT_H #define_MOUNT_H -#include<ubixos/types.h> -#include<vfs/vfs.h> +#include<ubixos/types.h> +#include<vfs/vfs.h> structvfs_mountPoint{ structvfs_mountPoint*prev; diff --git a/doc/xml/mouse_8c.xml b/doc/xml/mouse_8c.xml index ca97ef0..8c3b266 100644 --- a/doc/xml/mouse_8c.xml +++ b/doc/xml/mouse_8c.xml @@ -8,66 +8,66 @@ sys/gdt.h sys/io.h lib/kprintf.h - ubixos/types.h + ubixos/types.h - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -89,7 +89,7 @@ - uInt8 + uInt8 static uInt8 kbdRead () kbdRead @@ -110,11 +110,11 @@ (uInt16 port, uInt8 data) kbdWrite - uInt16 + uInt16 port - uInt8 + uInt8 data @@ -130,16 +130,16 @@ mouseInit - uInt8 + uInt8 static uInt8 kbdWriteRead (uInt16 port, uInt8 data, const char *expect) kbdWriteRead - uInt16 + uInt16 port - uInt8 + uInt8 data @@ -244,11 +244,11 @@ #include<sys/gdt.h> #include<sys/io.h> #include<lib/kprintf.h> -#include<ubixos/types.h> +#include<ubixos/types.h> -staticuInt8kbdRead(){ +staticuInt8kbdRead(){ unsignedlongTimeout; -uInt8Stat,Data; +uInt8Stat,Data; for(Timeout=50000L;Timeout!=0;Timeout--){ Stat=inportByte(0x64); @@ -267,9 +267,9 @@ return-1; } -staticvoidkbdWrite(uInt16port,uInt8data){ -uInt32timeout; -uInt8stat; +staticvoidkbdWrite(uInt16port,uInt8data){ +uInt32timeout; +uInt8stat; for(timeout=500000L;timeout!=0;timeout--) { @@ -283,7 +283,7 @@ outportByte(port,data); } -staticuInt8kbdWriteRead(uInt16port,uInt8data,constchar*expect) +staticuInt8kbdWriteRead(uInt16port,uInt8data,constchar*expect) { intRetVal; @@ -291,7 +291,7 @@ for(;*expect;expect++) { RetVal=kbdRead(); -if((uInt8)*expect!=RetVal) +if((uInt8)*expect!=RetVal) { returnRetVal; } @@ -303,10 +303,10 @@ intmouseInit(){ -staticuInt8s1[]={0xF3,0xC8,0xF3,0x64,0xF3,0x50,0}; -staticuInt8s2[]={0xF6,0xE6,0xF4,0xF3,0x64,0xE8,0x03,0}; -constuInt8*ch; -Int8cmd=0x0; +staticuInt8s1[]={0xF3,0xC8,0xF3,0x64,0xF3,0x50,0}; +staticuInt8s2[]={0xF6,0xE6,0xF4,0xF3,0x64,0xE8,0x03,0}; +constuInt8*ch; +Int8cmd=0x0; kbdWrite(0x64,0xA8); for(ch=s1;*ch;ch++){ diff --git a/doc/xml/mouse_8h.xml b/doc/xml/mouse_8h.xml index d177cd8..f01ed01 100644 --- a/doc/xml/mouse_8h.xml +++ b/doc/xml/mouse_8h.xml @@ -4,13 +4,13 @@ mouse.h src/sys/isa/mouse.c - + - + - + diff --git a/doc/xml/mpi_8h.xml b/doc/xml/mpi_8h.xml index 91acac1..32080b1 100644 --- a/doc/xml/mpi_8h.xml +++ b/doc/xml/mpi_8h.xml @@ -2,214 +2,216 @@ mpi.h - ubixos/types.h + ubixos/types.h ubixos/sched.h - src/sys/include/ubixfs/ubixfs.h + src/sys/include/ubixfs/ubixfs.h src/sys/kernel/syscall.c src/sys/kernel/systemtask.c src/sys/mpi/message.c src/sys/mpi/system.c - + - + - + + + + + - - - - - - - - - - - - - - + + + + - + + + + + + + - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + + + - + + + + + + + + + + + + + - + - + @@ -313,7 +315,7 @@ mpiSpinLock spinLock spinUnlock - strcmp + strcmp sysMpiDestroyMbox @@ -360,7 +362,7 @@ char * - uInt32 + uInt32 mpi_message_t * @@ -395,7 +397,7 @@ (uInt32, void *) mpi_spam - uInt32 + uInt32 void * @@ -458,15 +460,15 @@ #ifndef_MPI_H #define_MPI_H -#include<ubixos/types.h> +#include<ubixos/types.h> #include<ubixos/sched.h> #defineMESSAGE_LENGTH248 structmpi_message{ chardata[MESSAGE_LENGTH]; -uInt32header; -pidTypepid; +uInt32header; +pidTypepid; structmpi_message*next; }; @@ -476,7 +478,7 @@ structmpi_message*msg; structmpi_message*msgLast; charname[64]; -pidTypepid; +pidTypepid; }; typedefstructmpi_mboxmpi_mbox_t; @@ -485,9 +487,9 @@ intmpi_createMbox(char*); intmpi_destroyMbox(char*); -intmpi_postMessage(char*,uInt32,mpi_message_t*); +intmpi_postMessage(char*,uInt32,mpi_message_t*); intmpi_fetchMessage(char*,mpi_message_t*); -intmpi_spam(uInt32,void*); +intmpi_spam(uInt32,void*); #endif diff --git a/doc/xml/ne2k_8c.xml b/doc/xml/ne2k_8c.xml index d204fcc..a839bfc 100644 --- a/doc/xml/ne2k_8c.xml +++ b/doc/xml/ne2k_8c.xml @@ -15,230 +15,232 @@ ubixos/spinlock.h assert.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + @@ -342,11 +344,11 @@ page - size_t + size_t offset - size_t + size_t size @@ -707,7 +709,7 @@ staticspinLock_tne2k_spinLock=SPIN_LOCK_INITIALIZER; staticintdp_pkt2user(structdevice*dev,intpage,intlength); -staticvoidgetblock(structdevice*dev,intpage,size_toffset,size_tsize,void*dst); +staticvoidgetblock(structdevice*dev,intpage,size_toffset,size_tsize,void*dst); staticintdp_recv(structdevice*); staticstructnicBuffer*ne2kBuffer=0x0; @@ -777,9 +779,9 @@ intPCtoNIC(structdevice*dev,void*packet,intlength){ inti=0x0; -uInt16*packet16=(uInt16*)packet; -uInt8*packet8=(uInt8*)packet; -uInt8word16=0x1; +uInt16*packet16=(uInt16*)packet; +uInt8*packet8=(uInt8*)packet; +uInt8word16=0x1; if((inportByte(dev->ioAddr)&0x04)==0x04){ kpanic("DeviceNotReady\n"); @@ -826,7 +828,7 @@ intNICtoPC(structdevice*dev,void*packet,intlength,intnic_addr){ inti=0x0; -uInt16*packet16=(uInt16*)packet; +uInt16*packet16=(uInt16*)packet; assert(length); @@ -852,8 +854,8 @@ } voidne2kHandler(){ -uInt16isr=0x0; -uInt16status=0x0; +uInt16isr=0x0; +uInt16status=0x0; irqDisable(10); outportByte(mPic,eoi); @@ -887,9 +889,9 @@ dp_rcvhdr_theader; unsignedintpageno=0x0,curr=0x0,next=0x0; intpacket_processed=0x0,r=0x0; -uInt16eth_type=0x0; +uInt16eth_type=0x0; -uInt32length=0x0; +uInt32length=0x0; pageno=inportByte(dev->ioAddr+NE_BNRY)+1; if(pageno==stopPage)pageno=startPage; @@ -899,7 +901,7 @@ curr=inportByte(dev->ioAddr+NE_CURRENT); outportByte(dev->ioAddr,0x0); if(curr==pageno)break; -getblock(dev,pageno,(size_t)0,sizeof(header),&header); +getblock(dev,pageno,(size_t)0,sizeof(header),&header); getblock(dev,pageno,sizeof(header)+2*sizeof(ether_addr_t),sizeof(eth_type),&eth_type); length=(header.dr_rbcl|(header.dr_rbch<<8))-sizeof(dp_rcvhdr_t); @@ -939,11 +941,11 @@ return(0x0); } -staticvoidgetblock(structdevice*dev,intpage,size_toffset,size_tsize,void*dst){ -uInt16*ha=0x0; +staticvoidgetblock(structdevice*dev,intpage,size_toffset,size_tsize,void*dst){ +uInt16*ha=0x0; inti=0x0; -ha=(uInt16*)dst; +ha=(uInt16*)dst; offset=page*DP_PAGESIZE+offset; outportByte(dev->ioAddr+NE_RBCR0,size&0xFF); outportByte(dev->ioAddr+NE_RBCR1,size>>8); diff --git a/doc/xml/ne2k_8h.xml b/doc/xml/ne2k_8h.xml index d30c419..32d8eec 100644 --- a/doc/xml/ne2k_8h.xml +++ b/doc/xml/ne2k_8h.xml @@ -2,64 +2,64 @@ ne2k.h - ubixos/types.h + ubixos/types.h sys/device.old.h src/sys/include/ubixos/init.h src/sys/isa/ne2k.c src/sys/net/netif/ethernetif.c - + - + - + - + - + - + - - + + - + - + + + + + - - - - - + - + - + - + - + @@ -1320,7 +1320,7 @@ - uInt32 + uInt32 uInt32 packetLength packetLength @@ -1370,16 +1370,16 @@ #ifndef_NE2K_H #define_NE2K_H -#include<ubixos/types.h> +#include<ubixos/types.h> #include<sys/device.old.h> #defineether_addrether_addr_t typedefstructdp_rcvhdr { -uInt8dr_status;/*Copyofrsr*/ -uInt8dr_next;/*Pointertonextpacket*/ -uInt8dr_rbcl;/*ReceiveByteCountLow*/ -uInt8dr_rbch;/*ReceiveByteCountHigh*/ +uInt8dr_status;/*Copyofrsr*/ +uInt8dr_next;/*Pointertonextpacket*/ +uInt8dr_rbcl;/*ReceiveByteCountLow*/ +uInt8dr_rbch;/*ReceiveByteCountHigh*/ }dp_rcvhdr_t; typedefunionetheraddr{ @@ -1494,7 +1494,7 @@ #defineDP_PAGESIZE256 externchar*nicPacket; -externuInt32packetLength; +externuInt32packetLength; intne2k_init(); diff --git a/doc/xml/net_8c.xml b/doc/xml/net_8c.xml index 89fe442..ac32b53 100644 --- a/doc/xml/net_8c.xml +++ b/doc/xml/net_8c.xml @@ -2,55 +2,55 @@ net.c - ubixos/types.h + ubixos/types.h net/sockets.h string.h lib/kprintf.h - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - uInt32 + uInt32 typedef uInt32 in_addr_t in_addr_t @@ -116,12 +116,12 @@ memset - uInt32 + uInt32 uInt32 htonl (uInt32 n) htonl - uInt32 + uInt32 n @@ -133,12 +133,12 @@ - uInt32 + uInt32 uInt32 htons (uInt32 n) htons - uInt32 + uInt32 n @@ -257,19 +257,19 @@ *****************************************************************************************/ -#include<ubixos/types.h> +#include<ubixos/types.h> #include<net/sockets.h> #include<string.h> #include"lib/kprintf.h" #ifndef_IN_ADDR_T_DECLARED -typedefuInt32in_addr_t; +typedefuInt32in_addr_t; #define_IN_ADDR_T_DECLARED #endif -uInt32htonl(uInt32n){ -uInt32retVal=0x0; +uInt32htonl(uInt32n){ +uInt32retVal=0x0; retVal+=((n&0xff)<<24); retVal+=((n&0xff00)<<8); retVal+=((n&0xff0000)>>8); @@ -277,8 +277,8 @@ return(retVal); } -uInt32htons(uInt32n){ -uInt32retVal=0x0; +uInt32htons(uInt32n){ +uInt32retVal=0x0; retVal=(((n&0xff)<<8)|((n&0xff00)>>8)); return(retVal); } @@ -296,7 +296,7 @@ constchar*cp; structin_addr*addr; { -uInt32parts[4]; +uInt32parts[4]; in_addr_tval; char*c; char*endptr; diff --git a/doc/xml/net_8h.xml b/doc/xml/net_8h.xml index 4e18902..eebf3bf 100644 --- a/doc/xml/net_8h.xml +++ b/doc/xml/net_8h.xml @@ -2,41 +2,41 @@ net.h - ubixos/types.h + ubixos/types.h src/sys/include/ubixos/init.h - + - - + + - + - + - + - + - + - + - + - + @@ -92,7 +92,7 @@ #ifndef_NET_H #define_NET_H -#include<ubixos/types.h> +#include<ubixos/types.h> intnet_init(); diff --git a/doc/xml/netif_8h.xml b/doc/xml/netif_8h.xml index 3afb895..3a1d32e 100644 --- a/doc/xml/netif_8h.xml +++ b/doc/xml/netif_8h.xml @@ -13,267 +13,267 @@ src/sys/include/netif/ethernetif.h src/sys/include/netif/loopif.h - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - - + + + - + - + - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + - + - - - - - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -509,7 +509,7 @@ structnetif{ structnetif*next; -uInt8num; +uInt8num; structip_addrip_addr; structip_addrnetmask;/*netmaskinnetworkbyteorder*/ structip_addrgw; diff --git a/doc/xml/null_8c.xml b/doc/xml/null_8c.xml index be70981..b5232df 100644 --- a/doc/xml/null_8c.xml +++ b/doc/xml/null_8c.xml @@ -8,7 +8,7 @@ /* -TueDec523:35:06EST2006 +TueDec1208:43:17EST2006 ser */ diff --git a/doc/xml/ogDisplay__UbixOS_8h.xml b/doc/xml/ogDisplay__UbixOS_8h.xml index 4cb6be1..35cccff 100644 --- a/doc/xml/ogDisplay__UbixOS_8h.xml +++ b/doc/xml/ogDisplay__UbixOS_8h.xml @@ -5,25 +5,25 @@ objgfx40/objgfx40.h src/sys/lib/ogprintf.cc - + - + - + - + - + - + @@ -41,83 +41,83 @@ #include<objgfx40/objgfx40.h> structogModeInfo{ -uInt16modeAttributes__attribute__((packed)); -uInt8windowAFlags__attribute__((packed)); -uInt8windowBFlags__attribute__((packed)); -uInt16granularity__attribute__((packed)); -uInt16windowSize__attribute__((packed)); -uInt16windowASeg__attribute__((packed)); -uInt16windowBSeg__attribute__((packed)); +uInt16modeAttributes__attribute__((packed)); +uInt8windowAFlags__attribute__((packed)); +uInt8windowBFlags__attribute__((packed)); +uInt16granularity__attribute__((packed)); +uInt16windowSize__attribute__((packed)); +uInt16windowASeg__attribute__((packed)); +uInt16windowBSeg__attribute__((packed)); void*bankSwitch__attribute__((packed)); -uInt16bytesPerLine__attribute__((packed)); -uInt16xRes__attribute__((packed)); -uInt16yRes__attribute__((packed)); -uInt8charWidth__attribute__((packed)); -uInt8charHeight__attribute__((packed)); -uInt8numBitPlanes__attribute__((packed)); -uInt8bitsPerPixel__attribute__((packed)); -uInt8numberOfBanks__attribute__((packed)); -uInt8memoryModel__attribute__((packed)); -uInt8bankSize__attribute__((packed)); -uInt8numOfImagePages__attribute__((packed)); -uInt8reserved__attribute__((packed)); +uInt16bytesPerLine__attribute__((packed)); +uInt16xRes__attribute__((packed)); +uInt16yRes__attribute__((packed)); +uInt8charWidth__attribute__((packed)); +uInt8charHeight__attribute__((packed)); +uInt8numBitPlanes__attribute__((packed)); +uInt8bitsPerPixel__attribute__((packed)); +uInt8numberOfBanks__attribute__((packed)); +uInt8memoryModel__attribute__((packed)); +uInt8bankSize__attribute__((packed)); +uInt8numOfImagePages__attribute__((packed)); +uInt8reserved__attribute__((packed)); //Directcolourfields(requiredforDirect/6andYUV/7memorymodels -uInt8redMaskSize__attribute__((packed)); -uInt8redFieldPosition__attribute__((packed)); -uInt8greenMaskSize__attribute__((packed)); -uInt8greenFieldPosition__attribute__((packed)); -uInt8blueMaskSize__attribute__((packed)); -uInt8blueFieldPosition__attribute__((packed)); -uInt8alphaMaskSize__attribute__((packed)); -uInt8alphaFieldPosition__attribute__((packed)); -uInt8directColourMode__attribute__((packed)); +uInt8redMaskSize__attribute__((packed)); +uInt8redFieldPosition__attribute__((packed)); +uInt8greenMaskSize__attribute__((packed)); +uInt8greenFieldPosition__attribute__((packed)); +uInt8blueMaskSize__attribute__((packed)); +uInt8blueFieldPosition__attribute__((packed)); +uInt8alphaMaskSize__attribute__((packed)); +uInt8alphaFieldPosition__attribute__((packed)); +uInt8directColourMode__attribute__((packed)); //VESA2.0specificfields -uInt32physBasePtr__attribute__((packed)); +uInt32physBasePtr__attribute__((packed)); void*offScreenMemOffset__attribute__((packed)); -uInt16offScreenMemSize__attribute__((packed)); -uInt8paddington[461]__attribute__((packed)); +uInt16offScreenMemSize__attribute__((packed)); +uInt8paddington[461]__attribute__((packed)); }; structogVESAInfo{ charVBESignature[4]__attribute__((packed)); -uInt8minVersion__attribute__((packed)); -uInt8majVersion__attribute__((packed)); -uInt32OEMStringPtr__attribute__((packed)); -uInt32capabilities__attribute__((packed)); -uInt32videoModePtr__attribute__((packed)); -uInt16totalMemory__attribute__((packed)); +uInt8minVersion__attribute__((packed)); +uInt8majVersion__attribute__((packed)); +uInt32OEMStringPtr__attribute__((packed)); +uInt32capabilities__attribute__((packed)); +uInt32videoModePtr__attribute__((packed)); +uInt16totalMemory__attribute__((packed)); //VESA2.0specificfields -uInt16OEMSoftwareRev__attribute__((packed)); -uInt32OEMVendorNamePtr__attribute__((packed)); -uInt32OEMProductNamePtr__attribute__((packed)); -uInt32OEMProductRevPtr__attribute__((packed)); -uInt8paddington[474]__attribute__((packed)); +uInt16OEMSoftwareRev__attribute__((packed)); +uInt32OEMVendorNamePtr__attribute__((packed)); +uInt32OEMProductNamePtr__attribute__((packed)); +uInt32OEMProductRevPtr__attribute__((packed)); +uInt8paddington[474]__attribute__((packed)); }; classogDisplay_UbixOS:publicogSurface{ protected: void*pages[2]; -uInt32activePage; -uInt32visualPage; +uInt32activePage; +uInt32visualPage; ogVESAInfo*VESAInfo; ogModeInfo*modeInfo; -uInt16FindMode(uInt32,uInt32,uInt32); -voidGetModeInfo(uInt16); +uInt16FindMode(uInt32,uInt32,uInt32); +voidGetModeInfo(uInt16); voidGetVESAInfo(void); -voidSetMode(uInt16); +voidSetMode(uInt16); voidSetPal(void); public: ogDisplay_UbixOS(void); -virtualboologAlias(ogSurface&,uInt32,uInt32,uInt32,uInt32); +virtualboologAlias(ogSurface&,uInt32,uInt32,uInt32,uInt32); virtualboologClone(ogSurface&); virtualvoidogCopyPalette(ogSurface&); -virtualboologCreate(uInt32,uInt32,ogPixelFmt); +virtualboologCreate(uInt32,uInt32,ogPixelFmt); virtualboologLoadPalette(constchar*); virtualvoidogSetPalette(constogRGBA8[]); -virtualvoidogSetPalette(uInt8,uInt8,uInt8,uInt8); -virtualvoidogSetPalette(uInt8,uInt8,uInt8,uInt8,uInt8); +virtualvoidogSetPalette(uInt8,uInt8,uInt8,uInt8); +virtualvoidogSetPalette(uInt8,uInt8,uInt8,uInt8,uInt8); virtual~ogDisplay_UbixOS(void); };//ogDisplay_UbixOS diff --git a/doc/xml/ogDisplay__VESA_8h.xml b/doc/xml/ogDisplay__VESA_8h.xml index cdad337..27e7048 100644 --- a/doc/xml/ogDisplay__VESA_8h.xml +++ b/doc/xml/ogDisplay__VESA_8h.xml @@ -4,13 +4,13 @@ ogDisplay_VESA.h objgfx30.h - + - + - + @@ -28,91 +28,91 @@ #include"objgfx30.h" structTMode_Rec{ -uInt16ModeAttributes__attribute__((packed)); -uInt8WindowAFlags__attribute__((packed)); -uInt8WindowBFlags__attribute__((packed)); -uInt16Granularity__attribute__((packed)); -uInt16WindowSize__attribute__((packed)); -uInt16WindowASeg__attribute__((packed)); -uInt16WindowBSeg__attribute__((packed)); +uInt16ModeAttributes__attribute__((packed)); +uInt8WindowAFlags__attribute__((packed)); +uInt8WindowBFlags__attribute__((packed)); +uInt16Granularity__attribute__((packed)); +uInt16WindowSize__attribute__((packed)); +uInt16WindowASeg__attribute__((packed)); +uInt16WindowBSeg__attribute__((packed)); void*BankSwitch__attribute__((packed)); -uInt16BytesPerLine__attribute__((packed)); -uInt16xRes__attribute__((packed)); -uInt16yRes__attribute__((packed)); -uInt8CharWidth__attribute__((packed)); -uInt8CharHeight__attribute__((packed)); -uInt8NumBitPlanes__attribute__((packed)); -uInt8BitsPerPixel__attribute__((packed)); -uInt8NumberOfBanks__attribute__((packed)); -uInt8MemoryModel__attribute__((packed)); -uInt8BankSize__attribute__((packed)); -uInt8NumOfImagePages__attribute__((packed)); -uInt8Reserved__attribute__((packed)); +uInt16BytesPerLine__attribute__((packed)); +uInt16xRes__attribute__((packed)); +uInt16yRes__attribute__((packed)); +uInt8CharWidth__attribute__((packed)); +uInt8CharHeight__attribute__((packed)); +uInt8NumBitPlanes__attribute__((packed)); +uInt8BitsPerPixel__attribute__((packed)); +uInt8NumberOfBanks__attribute__((packed)); +uInt8MemoryModel__attribute__((packed)); +uInt8BankSize__attribute__((packed)); +uInt8NumOfImagePages__attribute__((packed)); +uInt8Reserved__attribute__((packed)); //Directcolourfields(requiredforDirect/6andYUV/7memorymodels -uInt8RedMaskSize__attribute__((packed)); -uInt8RedFieldPosition__attribute__((packed)); -uInt8GreenMaskSize__attribute__((packed)); -uInt8GreenFieldPosition__attribute__((packed)); -uInt8BlueMaskSize__attribute__((packed)); -uInt8BlueFieldPosition__attribute__((packed)); -uInt8AlphaMaskSize__attribute__((packed)); -uInt8AlphaFieldPosition__attribute__((packed)); -uInt8DirectColourMode__attribute__((packed)); +uInt8RedMaskSize__attribute__((packed)); +uInt8RedFieldPosition__attribute__((packed)); +uInt8GreenMaskSize__attribute__((packed)); +uInt8GreenFieldPosition__attribute__((packed)); +uInt8BlueMaskSize__attribute__((packed)); +uInt8BlueFieldPosition__attribute__((packed)); +uInt8AlphaMaskSize__attribute__((packed)); +uInt8AlphaFieldPosition__attribute__((packed)); +uInt8DirectColourMode__attribute__((packed)); //VESA2.0specificfields -uInt32physBasePtr__attribute__((packed)); +uInt32physBasePtr__attribute__((packed)); void*OffScreenMemOffset__attribute__((packed)); -uInt16OffScreenMemSize__attribute__((packed)); -uInt8paddington[461]__attribute__((packed)); +uInt16OffScreenMemSize__attribute__((packed)); +uInt8paddington[461]__attribute__((packed)); }; structTVESA_Rec{ charVBESignature[4]__attribute__((packed)); -uInt8minVersion__attribute__((packed)); -uInt8majVersion__attribute__((packed)); -uInt32OEMStringPtr__attribute__((packed)); -uInt32Capabilities__attribute__((packed)); -uInt32VideoModePtr__attribute__((packed)); -uInt16TotalMemory__attribute__((packed)); +uInt8minVersion__attribute__((packed)); +uInt8majVersion__attribute__((packed)); +uInt32OEMStringPtr__attribute__((packed)); +uInt32Capabilities__attribute__((packed)); +uInt32VideoModePtr__attribute__((packed)); +uInt16TotalMemory__attribute__((packed)); //VESA2.0specificfields -uInt16OEMSoftwareRev__attribute__((packed)); -uInt32OEMVendorNamePtr__attribute__((packed)); -uInt32OEMProductNamePtr__attribute__((packed)); -uInt32OEMProductRevPtr__attribute__((packed)); -uInt8paddington[474]__attribute__((packed)); +uInt16OEMSoftwareRev__attribute__((packed)); +uInt32OEMVendorNamePtr__attribute__((packed)); +uInt32OEMProductNamePtr__attribute__((packed)); +uInt32OEMProductRevPtr__attribute__((packed)); +uInt8paddington[474]__attribute__((packed)); }; classogDisplay_VESA:publicogSurface{ protected: -uInt16ScreenSelector; +uInt16ScreenSelector; TVESA_Rec*VESARec; TMode_Rec*ModeRec; boolInGraphics; -uInt16findMode(uInt32,uInt32,uInt32); -voidgetModeInfo(uInt16); +uInt16findMode(uInt32,uInt32,uInt32); +voidgetModeInfo(uInt16); voidgetVESAInfo(void); -voidsetMode(uInt16); -virtualuInt32rawGetPixel(uInt32,uInt32); -virtualvoidrawSetPixel(uInt32,uInt32,uInt32); -virtualvoidrawLine(uInt32,uInt32,uInt32,uInt32,uInt32); +voidsetMode(uInt16); +virtualuInt32rawGetPixel(uInt32,uInt32); +virtualvoidrawSetPixel(uInt32,uInt32,uInt32); +virtualvoidrawLine(uInt32,uInt32,uInt32,uInt32,uInt32); voidsetPal(void); public: ogDisplay_VESA(void); virtualboologAvail(void); -virtualboologAlias(ogSurface&,uInt32,uInt32,uInt32,uInt32); -virtualvoidogClear(uInt32); +virtualboologAlias(ogSurface&,uInt32,uInt32,uInt32,uInt32); +virtualvoidogClear(uInt32); virtualboologClone(ogSurface&); -virtualvoidogCopyLineTo(uInt32,uInt32,constvoid*,uInt32); -virtualvoidogCopyLineFrom(uInt32,uInt32,void*,uInt32); +virtualvoidogCopyLineTo(uInt32,uInt32,constvoid*,uInt32); +virtualvoidogCopyLineFrom(uInt32,uInt32,void*,uInt32); virtualvoidogCopyPal(ogSurface&); -virtualboologCreate(uInt32,uInt32,ogPixelFmt); -virtualuInt32ogGetPixel(int32,int32); -virtualvoid*ogGetPtr(uInt32,uInt32); -virtualvoidogHLine(int32,int32,int32,uInt32); +virtualboologCreate(uInt32,uInt32,ogPixelFmt); +virtualuInt32ogGetPixel(int32,int32); +virtualvoid*ogGetPtr(uInt32,uInt32); +virtualvoidogHLine(int32,int32,int32,uInt32); virtualboologLoadPal(constchar*); -virtualvoidogSetPixel(int32,int32,uInt32); -virtualvoidogSetRGBPalette(uInt8,uInt8,uInt8,uInt8); +virtualvoidogSetPixel(int32,int32,uInt32); +virtualvoidogSetRGBPalette(uInt8,uInt8,uInt8,uInt8); virtualvoidogVFlip(void); -virtualvoidogVLine(int32,int32,int32,uInt32); +virtualvoidogVLine(int32,int32,int32,uInt32); virtual~ogDisplay_VESA(void); };//ogDisplay_VESA diff --git a/doc/xml/ogprintf_8cc.xml b/doc/xml/ogprintf_8cc.xml index 6f61205..dbda76a 100644 --- a/doc/xml/ogprintf_8cc.xml +++ b/doc/xml/ogprintf_8cc.xml @@ -7,161 +7,163 @@ sde/ogDisplay_UbixOS.h ubixos/vitals.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + diff --git a/doc/xml/opt_8h.xml b/doc/xml/opt_8h.xml index d3928af..63255a7 100644 --- a/doc/xml/opt_8h.xml +++ b/doc/xml/opt_8h.xml @@ -17,265 +17,265 @@ src/sys/net/netif/ethernetif.c src/sys/net/netif/loopif.c - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - + - + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/xml/page__fault_8S.xml b/doc/xml/page__fault_8S.xml index fe394bc..6bead34 100644 --- a/doc/xml/page__fault_8S.xml +++ b/doc/xml/page__fault_8S.xml @@ -38,7 +38,7 @@ vmm_pagingInit - globl _vmm_pageFault text code32 esp eax pushl ebx ebx pushl ecx pushl edx push ebx push eax movl + globl _vmm_pageFault text code32 esp eax pushl ebx ebx pushl ecx pushl edx push ebx push eax movl globl _vmm_pageFault text code32 esp eax pushl ebx ebx pushl ecx pushl edx push ebx push eax movl cr2 cr2 @@ -51,7 +51,7 @@ - globl _vmm_pageFault text code32 esp eax pushl ebx ebx pushl ecx pushl edx push ebx push eax movl eax pushl eax sti call vmm_pageFault addl + globl _vmm_pageFault text code32 esp eax pushl ebx ebx pushl ecx pushl edx push ebx push eax movl eax pushl eax sti call vmm_pageFault addl globl _vmm_pageFault text code32 esp eax pushl ebx ebx pushl ecx pushl edx push ebx push eax movl eax pushl eax sti call vmm_pageFault addl xC xC diff --git a/doc/xml/pagefault_8c.xml b/doc/xml/pagefault_8c.xml index 1d52ddc..e03f7ca 100644 --- a/doc/xml/pagefault_8c.xml +++ b/doc/xml/pagefault_8c.xml @@ -8,152 +8,154 @@ ubixos/spinlock.h lib/kprintf.h - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + @@ -164,15 +166,15 @@ (uInt32 memAddr, uInt32 eip, uInt32 esp) vmm_pageFault - uInt32 + uInt32 memAddr - uInt32 + uInt32 eip - uInt32 + uInt32 esp @@ -197,8 +199,8 @@ spinUnlock tablesBaseAddress taskStruct::td - thread::vm_daddr - thread::vm_dsize + thread::vm_daddr + thread::vm_dsize vmm_getPhysicalAddr vmmFindFreePage vmmGetFreeVirtualPage @@ -281,16 +283,16 @@ cpuisawasteofresourcesbutfornowitpreventserrors. *****************************************************************************************/ -voidvmm_pageFault(uInt32memAddr,uInt32eip,uInt32esp){ -uInt32i=0x0,pageTableIndex=0x0,pageDirectoryIndex=0x0; -uInt32*pageDir=0x0,*pageTable=0x0; -uInt32*src=0x0,*dst=0x0; +voidvmm_pageFault(uInt32memAddr,uInt32eip,uInt32esp){ +uInt32i=0x0,pageTableIndex=0x0,pageDirectoryIndex=0x0; +uInt32*pageDir=0x0,*pageTable=0x0; +uInt32*src=0x0,*dst=0x0; /*Trytoaquirelockotherwisespintillwedo*/ spinLock(&pageFaultSpinLock); /*Setpagedirpointertotheaddressofthevisablepagedirectory*/ -pageDir=(uInt32*)parentPageDirAddr; +pageDir=(uInt32*)parentPageDirAddr; /*UBU-Thisisatemppanicfor0x0readwritelateronIwillhandlethisdifferently*/ if(memAddr==0x0){ @@ -312,21 +314,21 @@ } else{ /*SetpageTableToPointToVirtualAddressOfPageTable*/ -pageTable=(uInt32*)(tablesBaseAddress+(0x1000*pageDirectoryIndex)); +pageTable=(uInt32*)(tablesBaseAddress+(0x1000*pageDirectoryIndex)); /*TestifthisisaCOWonpage*/ -if(((uInt32)pageTable[pageTableIndex]&PAGE_COW)==PAGE_COW){ +if(((uInt32)pageTable[pageTableIndex]&PAGE_COW)==PAGE_COW){ /*SetSrcToBaseAddressOfPageToCopy*/ -src=(uInt32*)(memAddr&0xFFFFF000); +src=(uInt32*)(memAddr&0xFFFFF000); /*AllocateAFreePageForDestination*/ /*USEvmInfo*/ -dst=(uInt32*)vmmGetFreeVirtualPage(_current->id,1,0x1); +dst=(uInt32*)vmmGetFreeVirtualPage(_current->id,1,0x1); /*CopyMemory*/ for(i=0;i<pageEntries;i++){ dst[i]=src[i]; } /*AdjustTheCOWCounterForPhysicalPage*/ -adjustCowCounter(((uInt32)pageTable[pageTableIndex]&0xFFFFF000),-1); +adjustCowCounter(((uInt32)pageTable[pageTableIndex]&0xFFFFF000),-1); /*RemapInNewPage*/ pageTable[pageTableIndex]=(uInt32)(vmm_getPhysicalAddr((uInt32)dst)|(memAddr&0xFFF)); /*UnlinkFromMemoryMapAllocatedPage*/ @@ -340,7 +342,7 @@ endTask(_current->id); } elseif(memAddr<(_current->td.vm_dsize+_current->td.vm_daddr)){ -pageTable[pageTableIndex]=(uInt32)vmmFindFreePage(_current->id)|PAGE_DEFAULT; +pageTable[pageTableIndex]=(uInt32)vmmFindFreePage(_current->id)|PAGE_DEFAULT; } else{ spinUnlock(&pageFaultSpinLock); diff --git a/doc/xml/paging_8c.xml b/doc/xml/paging_8c.xml index 708826e..23b4f80 100644 --- a/doc/xml/paging_8c.xml +++ b/doc/xml/paging_8c.xml @@ -5,183 +5,185 @@ vmm/vmm.h lib/kprintf.h lib/kmalloc.h - ubixos/types.h + ubixos/types.h ubixos/kpanic.h ubixos/sched.h ubixos/spinlock.h string.h assert.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + @@ -205,14 +207,18 @@ - + _current - mmap_args::addr - mmap_args::fd + mmap_args::addr + mmap_args::fd + mmap_args::flags taskStruct::id kprintf - mmap_args::len - thread::td_retval + mmap_args::len + mmap_args::pad + mmap_args::pos + mmap_args::prot + thread::td_retval VM_TASK vmmGetFreeVirtualPage x1000 @@ -236,7 +242,7 @@ - + kprintf @@ -258,17 +264,18 @@ - + _current btoc ctob taskStruct::id K_PANIC - obreak_args::nsize + kprintf + obreak_args::nsize PAGE_DEFAULT round_page - thread::vm_daddr - thread::vm_dsize + thread::vm_daddr + thread::vm_dsize vmm_remapPage vmmFindFreePage @@ -278,7 +285,7 @@ (u_int32_t addr) vmm_cleanVirtualSpace - u_int32_t + u_int32_t addr @@ -287,7 +294,7 @@ - + kprintf PAGE_COW PAGE_PRESENT @@ -295,7 +302,7 @@ parentPageDirAddr tablesBaseAddress x1000 - sysExec + sysExec void * @@ -303,7 +310,7 @@ (uInt16 count) vmm_getFreeMallocPage - uInt16 + uInt16 count @@ -361,15 +368,15 @@ (uInt32 source, uInt32 dest, uInt16 perms) vmm_remapPage - uInt32 + uInt32 source - uInt32 + uInt32 dest - uInt16 + uInt16 perms @@ -400,8 +407,8 @@ execFile kmod_load ldEnable - obreak - sysExec + obreak + sysExec vmm_getFreeMallocPage vmm_pagingInit vmmGetFreeKernelPage @@ -415,7 +422,7 @@ (uInt32 pageAddr) vmmClearVirtualPage - uInt32 + uInt32 pageAddr @@ -437,11 +444,11 @@ (pidType pid, uInt16 count) vmmGetFreeKernelPage - pidType + pidType pid - uInt16 + uInt16 count @@ -468,7 +475,7 @@ (pidType pid, void *ptr, uInt32 size) vmmMapFromTask - pidType + pidType pid @@ -476,7 +483,7 @@ ptr - uInt32 + uInt32 size @@ -518,7 +525,7 @@ vmmGetFreeKernelPage - uInt32 * + uInt32 * uInt32* kernelPageDirectory kernelPageDirectory @@ -589,14 +596,14 @@ #include<vmm/vmm.h> #include<lib/kprintf.h> #include<lib/kmalloc.h> -#include<ubixos/types.h> +#include<ubixos/types.h> #include<ubixos/kpanic.h> #include<ubixos/sched.h> #include<ubixos/spinlock.h> #include<string.h> #include<assert.h> -uInt32*kernelPageDirectory=0x0; +uInt32*kernelPageDirectory=0x0; staticspinLock_tfkpSpinLock=SPIN_LOCK_INITIALIZER; @@ -616,11 +623,11 @@ *****************************************************************************************/ intvmm_pagingInit(){ -uInt32i=0x0; -uInt32*pageTable=0x0; +uInt32i=0x0; +uInt32*pageTable=0x0; /*AllocateAPageOfMemoryForKernelsPageDirectory*/ -kernelPageDirectory=(uInt32*)vmmFindFreePage(sysID); +kernelPageDirectory=(uInt32*)vmmFindFreePage(sysID); if(kernelPageDirectory==0x0){ K_PANIC("Error:vmmFindFreePageFailed"); return(0x1); @@ -628,13 +635,13 @@ /*ClearTheMemoryToEnsureThereIsNoGarbage*/ for(i=0;i<pageEntries;i++){ -(uInt32)kernelPageDirectory[i]=(uInt32)0x0; +(uInt32)kernelPageDirectory[i]=(uInt32)0x0; }/*endfor*/ /*Allocateapageforthefirst4MBofmemory*/ -if((pageTable=(uInt32*)vmmFindFreePage(sysID))==0x0) +if((pageTable=(uInt32*)vmmFindFreePage(sysID))==0x0) K_PANIC("Error:vmmFindFreePageFailed"); -kernelPageDirectory[0]=(uInt32)((uInt32)(pageTable)|KERNEL_PAGE_DEFAULT); +kernelPageDirectory[0]=(uInt32)((uInt32)(pageTable)|KERNEL_PAGE_DEFAULT); /*MakeSureThePageTableIsClean*/ memset(pageTable,0x0,0x1000); @@ -645,7 +652,7 @@ *Donotmappageataddress0x0thisisreservedfornull... */ for(i=0x1;i<(pageEntries/0x4);i++){ -pageTable[i]=(uInt32)((i*0x1000)|KERNEL_PAGE_DEFAULT); +pageTable[i]=(uInt32)((i*0x1000)|KERNEL_PAGE_DEFAULT); }/*endfor*/ /* @@ -653,31 +660,31 @@ *forkernelspaceandwillbesharedwitheachprocess */ for(i=768;i<pageEntries;i++){ -if((pageTable=(uInt32*)vmmFindFreePage(sysID))==0x0) +if((pageTable=(uInt32*)vmmFindFreePage(sysID))==0x0) K_PANIC("Error:vmmFindFreePageFailed"); /*MakeSureThePageTableIsClean*/ memset(pageTable,0x0,0x1000); /*MapInThePageDirectory*/ -kernelPageDirectory[i]=(uInt32)((uInt32)(pageTable)|KERNEL_PAGE_DEFAULT); +kernelPageDirectory[i]=(uInt32)((uInt32)(pageTable)|KERNEL_PAGE_DEFAULT); }/*endfor*/ /*SetUpMemoryToBeAllTheAllocatedPageDirectories*/ -if((pageTable=(uInt32*)vmmFindFreePage(sysID))==0x0) +if((pageTable=(uInt32*)vmmFindFreePage(sysID))==0x0) K_PANIC("Error:vmmFindFreePageFailed"); /*CleanPageTable*/ memset(pageTable,0x0,0x1000); -kernelPageDirectory[767]=((uInt32)pageTable|KERNEL_PAGE_DEFAULT); +kernelPageDirectory[767]=((uInt32)pageTable|KERNEL_PAGE_DEFAULT); for(i=0;i<pageEntries;i++){ pageTable[i]=kernelPageDirectory[i]; }/*endfor*/ /*AlsoSetUpPageDirectoryToBeTheTheFirstPageIn0xE0400000*/ -pageTable=(uInt32*)(kernelPageDirectory[0]&0xFFFFF000); -pageTable[256]=(uInt32)((uInt32)(kernelPageDirectory)|KERNEL_PAGE_DEFAULT); +pageTable=(uInt32*)(kernelPageDirectory[0]&0xFFFFF000); +pageTable[256]=(uInt32)((uInt32)(kernelPageDirectory)|KERNEL_PAGE_DEFAULT); /*NowLetsTurnOnPagingWithThisInitialPageTable*/ asmvolatile( @@ -687,7 +694,7 @@ "orl$0x80010000,%%eax\n"/*Turnonmemoryprotection*/ "movl%%eax,%%cr0\n" : -:"d"((uInt32*)(kernelPageDirectory)) +:"d"((uInt32*)(kernelPageDirectory)) ); /*RemapTheMemoryList*/ @@ -716,10 +723,10 @@ 07/28/04-Ifperms==0x0settoPAGE_DEFAULT *****************************************************************************************/ -intvmm_remapPage(uInt32source,uInt32dest,uInt16perms) +intvmm_remapPage(uInt32source,uInt32dest,uInt16perms) { -uInt16destPageDirectoryIndex=0x0,destPageTableIndex=0x0; -uInt32*pageDir=0x0,*pageTable=0x0; +uInt16destPageDirectoryIndex=0x0,destPageTableIndex=0x0; +uInt32*pageDir=0x0,*pageTable=0x0; shorti=0x0; if(source==0x0) @@ -735,7 +742,7 @@ *SetPointerpageDirectoryToPointToTheVirtualMappingOfThePage *Directory */ -pageDir=(uInt32*)parentPageDirAddr; +pageDir=(uInt32*)parentPageDirAddr; /*CheckToSeeIfPageTableExists*/ if(dest==0x0) return(0x0); @@ -746,10 +753,10 @@ if((pageDir[destPageDirectoryIndex]&PAGE_PRESENT)!=PAGE_PRESENT){ /*IfPageTableIsNonExistantThenSetItUp*/ /*UBUWhydoesthepagetableneedtobeuserwritable?*/ -pageDir[destPageDirectoryIndex]=(uInt32)vmmFindFreePage(_current->id)|PAGE_DEFAULT; +pageDir[destPageDirectoryIndex]=(uInt32)vmmFindFreePage(_current->id)|PAGE_DEFAULT; /*AlsoAddItToVirtualSpaceSoWeCanMakeChangesLater*/ -pageTable=(uInt32*)(tablesBaseAddress+0x2FF000); +pageTable=(uInt32*)(tablesBaseAddress+0x2FF000); pageTable[destPageDirectoryIndex]=pageDir[destPageDirectoryIndex]; /*ReloadPageDirectory*/ asmvolatile( @@ -758,12 +765,12 @@ "mov%eax,%cr3\n" "pop%eax\n" ); -pageTable=(uInt32*)(tablesBaseAddress+(0x1000*destPageDirectoryIndex)); +pageTable=(uInt32*)(tablesBaseAddress+(0x1000*destPageDirectoryIndex)); for(i=0x0;i<pageEntries;i++) pageTable[i]=0x0; } /*SetAddressToPageTable*/ -pageTable=(uInt32*)(tablesBaseAddress+(0x1000*destPageDirectoryIndex)); +pageTable=(uInt32*)(tablesBaseAddress+(0x1000*destPageDirectoryIndex)); /*GetTheIndexToThePageTable*/ destPageTableIndex=((dest-(destPageDirectoryIndex*0x400000))/0x1000); @@ -781,10 +788,10 @@ gotormDone; } /*ClearThePageFirstForSecurityReasons*/ -freePage(((uInt32)pageTable[destPageTableIndex]&0xFFFFF000)); +freePage(((uInt32)pageTable[destPageTableIndex]&0xFFFFF000)); } /*SetTheSourceAddressInTheDestination*/ -pageTable[destPageTableIndex]=(uInt32)(source|perms); +pageTable[destPageTableIndex]=(uInt32)(source|perms); /*ReloadThePageTable;*/ asmvolatile( "push%eax\n" @@ -809,19 +816,19 @@ ************************************************************************/ void* -vmmGetFreeKernelPage(pidTypepid,uInt16count) +vmmGetFreeKernelPage(pidTypepid,uInt16count) { intx=0,y=0,c=0; -uInt32*pageTableSrc=0x0; +uInt32*pageTableSrc=0x0; spinLock(&fkpSpinLock); /*LetsSearchForAFreePage*/ for(x=768;x<1024;x++){ /*SetPageTableAddress*/ -pageTableSrc=(uInt32*)(tablesBaseAddress+(4096*x)); +pageTableSrc=(uInt32*)(tablesBaseAddress+(4096*x)); for(y=0;y<1024;y++){ /*LoopThroughThePageTableFindAnUnAllocatedPage*/ -if((uInt32)pageTableSrc[y]==(uInt32)0x0){ +if((uInt32)pageTableSrc[y]==(uInt32)0x0){ if(count>1){ for(c=0;c<count;c++){ if(y+c<1024){ @@ -870,17 +877,17 @@ ************************************************************************/ int -vmmClearVirtualPage(uInt32pageAddr) +vmmClearVirtualPage(uInt32pageAddr) { -uInt32*src=0x0; +uInt32*src=0x0; intcounter=0x0; /*SetSourcePointerToVirtualPageAddress*/ -src=(uInt32*)pageAddr; +src=(uInt32*)pageAddr; /*ClearOutThePage*/ for(counter=0x0;counter<pageEntries;counter++){ -(uInt32)src[counter]=(uInt32)0x0; +(uInt32)src[counter]=(uInt32)0x0; } /*Return*/ @@ -888,16 +895,16 @@ } -void*vmmMapFromTask(pidTypepid,void*ptr,uInt32size){ +void*vmmMapFromTask(pidTypepid,void*ptr,uInt32size){ kTask_t*child=0x0; -uInt32i=0x0,x=0x0,y=0x0,count=((size+4095)/0x1000),c=0x0; -uInt16dI=0x0,tI=0x0; -uInt32baseAddr=0x0,offset=0x0; -uInt32*childPageDir=(uInt32*)0x5A00000; -uInt32*childPageTable=0x0; -uInt32*pageTableSrc=0x0; -offset=(uInt32)ptr&0xFFF; -baseAddr=(uInt32)ptr&0xFFFFF000; +uInt32i=0x0,x=0x0,y=0x0,count=((size+4095)/0x1000),c=0x0; +uInt16dI=0x0,tI=0x0; +uInt32baseAddr=0x0,offset=0x0; +uInt32*childPageDir=(uInt32*)0x5A00000; +uInt32*childPageTable=0x0; +uInt32*pageTableSrc=0x0; +offset=(uInt32)ptr&0xFFF; +baseAddr=(uInt32)ptr&0xFFFFF000; child=schedFindTask(pid); //CalculateThePageTableIndexAndPageDirectoryIndex dI=(baseAddr/(1024*4096)); @@ -910,10 +917,10 @@ K_PANIC("ReturnedNULL"); } for(x=(_current->oInfo.vmStart/(1024*4096));x<1024;x++){ -pageTableSrc=(uInt32*)(tablesBaseAddress+(4096*x)); +pageTableSrc=(uInt32*)(tablesBaseAddress+(4096*x)); for(y=0;y<1024;y++){ //LoopThroughThePageTableFindAnUnAllocatedPage -if((uInt32)pageTableSrc[y]==(uInt32)0x0){ +if((uInt32)pageTableSrc[y]==(uInt32)0x0){ if(count>1){ for(c=0;((c<count)&&(y+c<1024));c++){ if((uInt32)pageTableSrc[y+c]!=(uInt32)0x0){ @@ -957,19 +964,19 @@ return(0x0); } -void*vmm_getFreeMallocPage(uInt16count){ -uInt16x=0x0,y=0x0; +void*vmm_getFreeMallocPage(uInt16count){ +uInt16x=0x0,y=0x0; intc=0x0; -uInt32*pageTableSrc=0x0; +uInt32*pageTableSrc=0x0; spinLock(&fkpSpinLock); /*LetsSearchForAFreePage*/ for(x=960;x<1024;x++){ /*SetPageTableAddress*/ -pageTableSrc=(uInt32*)(tablesBaseAddress+(0x1000*x)); +pageTableSrc=(uInt32*)(tablesBaseAddress+(0x1000*x)); for(y=0;y<1024;y++){ /*LoopThroughThePageTableFindAnUnAllocatedPage*/ -if((uInt32)pageTableSrc[y]==(uInt32)0x0){ +if((uInt32)pageTableSrc[y]==(uInt32)0x0){ if(count>1){ for(c=0;c<count;c++){ if(y+c<1024){ @@ -1010,119 +1017,117 @@ } intmmap(structthread*td,structmmap_args*uap){ -vm_offset_taddr=0x0; +vm_offset_taddr=0x0; -addr=(vm_offset_t)uap->addr; +addr=(vm_offset_t)uap->addr; -if(uap->addr!=0x0){ -kprintf("Addresshintsarenotsupportedyet.\n"); -} -/* -kprintf("uap->flags:[0x%X]\n",uap->flags); -kprintf("uap->addr:[0x%X]\n",uap->addr); -kprintf("uap->len:[0x%X]\n",uap->len); -kprintf("uap->prot:[0x%X]\n",uap->prot); -kprintf("uap->fd:[%i]\n",uap->fd); -kprintf("uap->pad:[0x%X]\n",uap->pad); -kprintf("uap->pos:[0x%X]\n",uap->pos); -*/ -if(uap->fd==-1) -td->td_retval[0]=vmmGetFreeVirtualPage(_current->id,uap->len/0x1000,VM_TASK); -else -td->td_retval[0]=0x0; -return(0x0); -} - -intobreak(structthread*td,structobreak_args*uap){ -u_int32_ti=0x0; -vm_offset_told=0x0; -vm_offset_tbase=0x0; -vm_offset_tnew=0x0; - -/* -kprintf("vm_offset_t:[%i]\n",sizeof(vm_offset_t)); -kprintf("nsize:[0x%X]\n",uap->nsize); -kprintf("vm_daddr:[0x%X]\n",td->vm_daddr); -kprintf("vm_dsize:[0x%X]\n",td->vm_dsize); -kprintf("total:[0x%X]\n",td->vm_daddr+td->vm_dsize); -*/ - -new=round_page((vm_offset_t)uap->nsize); - -base=round_page((vm_offset_t)td->vm_daddr); - -old=base+ctob(td->vm_dsize); -//kprintf("ctob:[0x%X]\n",ctob(td->vm_dsize)); -//kprintf("Base:[0x%x],Old:[0x%x],New:[0x%x]\n",base,old,new); - -if(new<base) -K_PANIC("EINVAL"); - -//kprintf("obreak:[0x%X:0x%X]",new,old); -if(new>old){ -for(i=old;i<new;i+=0x1000){ -if(vmm_remapPage(vmmFindFreePage(_current->id),i,PAGE_DEFAULT)==0x0) -K_PANIC("remapFailed"); -} -td->vm_dsize+=btoc(new-old); -} -elseif(new<old){ -/* -for(i=old;i>new;i-=0x1000){ -kprintf("[0x%X]",i); -} -*/ -K_PANIC("new<old"); -td->vm_dsize-=btoc(old-new); -} +#ifdefDEBUG +if(uap->addr!=0x0){ +kprintf("Addresshintsarenotsupportedyet.\n"); +} +kprintf("uap->flags:[0x%X]\n",uap->flags); +kprintf("uap->addr:[0x%X]\n",uap->addr); +kprintf("uap->len:[0x%X]\n",uap->len); +kprintf("uap->prot:[0x%X]\n",uap->prot); +kprintf("uap->fd:[%i]\n",uap->fd); +kprintf("uap->pad:[0x%X]\n",uap->pad); +kprintf("uap->pos:[0x%X]\n",uap->pos); +#endif + +if(uap->fd==-1) +td->td_retval[0]=vmmGetFreeVirtualPage(_current->id,uap->len/0x1000,VM_TASK); +else +td->td_retval[0]=0x0; +return(0x0); +} + +intobreak(structthread*td,structobreak_args*uap){ +u_int32_ti=0x0; +vm_offset_told=0x0; +vm_offset_tbase=0x0; +vm_offset_tnew=0x0; + +#ifdefDEBUG +kprintf("vm_offset_t:[%i]\n",sizeof(vm_offset_t)); +kprintf("nsize:[0x%X]\n",uap->nsize); +kprintf("vm_daddr:[0x%X]\n",td->vm_daddr); +kprintf("vm_dsize:[0x%X]\n",td->vm_dsize); +kprintf("total:[0x%X]\n",td->vm_daddr+td->vm_dsize); +#endif + +new=round_page((vm_offset_t)uap->nsize); + +base=round_page((vm_offset_t)td->vm_daddr); + +old=base+ctob(td->vm_dsize); + +if(new<base) +K_PANIC("EINVAL"); + +if(new>old){ +for(i=old;i<new;i+=0x1000){ +if(vmm_remapPage(vmmFindFreePage(_current->id),i,PAGE_DEFAULT)==0x0) +K_PANIC("remapFailed"); +} +td->vm_dsize+=btoc(new-old); +} +elseif(new<old){ +K_PANIC("new<old"); +td->vm_dsize-=btoc(old-new); +} + +return(0x0); +} + +intmunmap(structthread*td,structmunmap_args*uap){ +/*HACK*/ +kprintf("munmap"); return(0x0); } -intmunmap(structthread*td,structmunmap_args*uap){ -/*HACK*/ -kprintf("munmap"); -return(0x0); -} +intvmm_cleanVirtualSpace(u_int32_taddr){ +intx=0x0; +inty=0x0; +u_int32_t*pageTableSrc=0x0; +u_int32_t*pageDir=0x0; -intvmm_cleanVirtualSpace(u_int32_taddr){ -intx=0x0; -inty=0x0; -u_int32_t*pageTableSrc=0x0; -u_int32_t*pageDir=0x0; - -pageDir=(uInt32*)parentPageDirAddr; - -kprintf("CVS:[0x%X]\n",addr); - -for(x=(addr/(1024*4096));x<770;x++){ -if((pageDir[x]&PAGE_PRESENT)==PAGE_PRESENT){ -pageTableSrc=(uInt32*)(tablesBaseAddress+(0x1000*x)); -for(y=0;y<1024;y++){ -if(pageTableSrc[y]!=0x0){ -if((pageTableSrc[y]&PAGE_COW)==PAGE_COW){ -//kprintf("COWi*"); -pageTableSrc[y]=0x0; +pageDir=(uInt32*)parentPageDirAddr; + +#ifdefDEBUG +kprintf("CVS:[0x%X]\n",addr); +#endif + +for(x=(addr/(1024*4096));x<770;x++){ +if((pageDir[x]&PAGE_PRESENT)==PAGE_PRESENT){ +pageTableSrc=(uInt32*)(tablesBaseAddress+(0x1000*x)); +for(y=0;y<1024;y++){ +if(pageTableSrc[y]!=0x0){ +if((pageTableSrc[y]&PAGE_COW)==PAGE_COW){ +//kprintf("COWi*"); +pageTableSrc[y]=0x0; +} +elseif((pageTableSrc[y]&PAGE_STACK)==PAGE_STACK){ +//pageTableSrc[y]=0x0; +//kprintf("STACK:(%i:%i)",x,y); } -elseif((pageTableSrc[y]&PAGE_STACK)==PAGE_STACK){ -//pageTableSrc[y]=0x0; -//kprintf("STACK:(%i:%i)",x,y); -} -else{ -kprintf("+"); -} -} -} -} -} - -return(0x0); -} - - -/*** -END -***/ - +else{ +//kprintf("+"); +} +} +} +} +} +asm( +"movl%cr3,%eax\n" +"movl%eax,%cr3\n" +); +return(0x0); +} + +/*** +END +***/ + diff --git a/doc/xml/paging_8h.xml b/doc/xml/paging_8h.xml index 0100602..4508ee2 100644 --- a/doc/xml/paging_8h.xml +++ b/doc/xml/paging_8h.xml @@ -2,209 +2,211 @@ paging.h - ubixos/types.h + ubixos/types.h sys/sysproto.h sys/thread.h src/sys/include/vmm/vmm.h src/sys/vfs/file.c - + - + - + - - + + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -213,7 +215,7 @@ btoc x - (((vm_offset_t)(x)+PAGE_MASK)>>PAGE_SHIFT) + (((vm_offset_t)(x)+PAGE_MASK)>>PAGE_SHIFT) @@ -221,7 +223,7 @@ - obreak + obreak vmmGetFreeVirtualPage @@ -235,7 +237,7 @@ - obreak + obreak vmmGetFreeVirtualPage @@ -266,7 +268,7 @@ - vmm_cleanVirtualSpace + vmm_cleanVirtualSpace vmm_pageFault vmm_remapPage vmmCopyVirtualSpace @@ -286,8 +288,8 @@ execFile kmod_load ldEnable - obreak - sysExec + obreak + sysExec vmm_pageFault vmm_remapPage vmmCopyVirtualSpace @@ -316,8 +318,8 @@ execFile - sysExec - vmm_cleanVirtualSpace + sysExec + vmm_cleanVirtualSpace vmm_remapPage vmmGetFreeVirtualPage @@ -331,7 +333,7 @@ - sysExec + sysExec PAGE_SIZE @@ -343,7 +345,7 @@ - sysExec + sysExec PAGE_STACK @@ -356,7 +358,7 @@ execFile - vmm_cleanVirtualSpace + vmm_cleanVirtualSpace vmm_remapPage vmmCopyVirtualSpace @@ -371,7 +373,7 @@ execFile - sysExec + sysExec PAGE_WIRED @@ -446,7 +448,7 @@ - vmm_cleanVirtualSpace + vmm_cleanVirtualSpace vmm_pageFault vmm_remapPage vmmCopyVirtualSpace @@ -465,8 +467,8 @@ - obreak - sysExec + obreak + sysExec tablesBaseAddress @@ -478,7 +480,7 @@ - vmm_cleanVirtualSpace + vmm_cleanVirtualSpace vmm_getFreeMallocPage vmm_getPhysicalAddr vmm_pageFault @@ -505,7 +507,7 @@ - sysExec + sysExec VM_TASK @@ -517,7 +519,8 @@ - mmap + mmap + sysExec sysGetFreePage vmmGetFreeVirtualPage @@ -566,14 +569,18 @@ - + _current - mmap_args::addr - mmap_args::fd + mmap_args::addr + mmap_args::fd + mmap_args::flags taskStruct::id kprintf - mmap_args::len - thread::td_retval + mmap_args::len + mmap_args::pad + mmap_args::pos + mmap_args::prot + thread::td_retval VM_TASK vmmGetFreeVirtualPage x1000 @@ -595,7 +602,7 @@ - + kprintf @@ -615,17 +622,18 @@ - + _current btoc ctob taskStruct::id K_PANIC - obreak_args::nsize + kprintf + obreak_args::nsize PAGE_DEFAULT round_page - thread::vm_daddr - thread::vm_dsize + thread::vm_daddr + thread::vm_dsize vmm_remapPage vmmFindFreePage @@ -635,7 +643,7 @@ (uInt16 count) vmm_getFreeMallocPage - uInt16 + uInt16 count @@ -659,12 +667,12 @@ getEmptyDesc - uInt32 + uInt32 uInt32 vmm_getPhysicalAddr (uInt32) vmm_getPhysicalAddr - uInt32 + uInt32 pageAddr @@ -686,13 +694,13 @@ (uInt32, uInt32, uInt32) vmm_pageFault - uInt32 + uInt32 - uInt32 + uInt32 - uInt32 + uInt32 @@ -716,8 +724,8 @@ spinUnlock tablesBaseAddress taskStruct::td - thread::vm_daddr - thread::vm_dsize + thread::vm_daddr + thread::vm_dsize vmm_getPhysicalAddr vmmFindFreePage vmmGetFreeVirtualPage @@ -760,13 +768,13 @@ (uInt32, uInt32, uInt16) vmm_remapPage - uInt32 + uInt32 - uInt32 + uInt32 - uInt16 + uInt16 @@ -796,8 +804,8 @@ execFile kmod_load ldEnable - obreak - sysExec + obreak + sysExec vmm_getFreeMallocPage vmm_pagingInit vmmGetFreeKernelPage @@ -811,10 +819,10 @@ (uInt32, uInt16) vmm_setPageAttributes - uInt32 + uInt32 - uInt16 + uInt16 @@ -827,7 +835,7 @@ tablesBaseAddress x1000 execFile - sysExec + sysExec int @@ -835,7 +843,7 @@ (uInt32 pageAddr) vmmClearVirtualPage - uInt32 + uInt32 pageAddr @@ -857,7 +865,7 @@ (pidType) vmmCopyVirtualSpace - pidType + pidType @@ -891,7 +899,7 @@ (pidType) vmmCreateVirtualSpace - pidType + pidType @@ -915,11 +923,11 @@ (pidType pid, uInt16 count) vmmGetFreeKernelPage - pidType + pidType pid - uInt16 + uInt16 count @@ -946,7 +954,7 @@ (pidType) vmmGetFreePage - pidType + pidType @@ -973,7 +981,7 @@ (pidType, int, int) vmmGetFreeVirtualPage - pidType + pidType int @@ -1006,8 +1014,8 @@ spinUnlock tablesBaseAddress taskStruct::td - thread::vm_daddr - thread::vm_dsize + thread::vm_daddr + thread::vm_dsize VM_TASK VM_THRD vmm_remapPage @@ -1016,7 +1024,8 @@ osInfo::vmStart x1 x1000 - mmap + mmap + sysExec sysGetFreePage vmm_pageFault @@ -1026,13 +1035,13 @@ (pidType, void *, uInt32) vmmMapFromTask - pidType + pidType void * - uInt32 + uInt32 @@ -1060,7 +1069,7 @@ (uInt32, int) vmmUnmapPage - uInt32 + uInt32 int @@ -1088,7 +1097,7 @@ void * - uInt32 + uInt32 @@ -1102,7 +1111,7 @@ - uInt32 * + uInt32 * uInt32* kernelPageDirectory kernelPageDirectory @@ -1157,7 +1166,7 @@ #ifndef_PAGING_H #define_PAGING_H -#include<ubixos/types.h> +#include<ubixos/types.h> #include<sys/sysproto.h> #include<sys/thread.h> @@ -1189,30 +1198,30 @@ #definebtoc(x)(((vm_offset_t)(x)+PAGE_MASK)>>PAGE_SHIFT) -intvmmClearVirtualPage(uInt32pageAddr); +intvmmClearVirtualPage(uInt32pageAddr); -voidvmmUnmapPage(uInt32,int); -voidvmmUnmapPages(void*,uInt32); -void*vmmMapFromTask(pidType,void*,uInt32); -void*vmmCopyVirtualSpace(pidType); -void*vmmGetFreePage(pidType); -void*vmmGetFreeKernelPage(pidTypepid,uInt16count); -void*vmmCreateVirtualSpace(pidType); -void*vmmGetFreeVirtualPage(pidType,int,int); +voidvmmUnmapPage(uInt32,int); +voidvmmUnmapPages(void*,uInt32); +void*vmmMapFromTask(pidType,void*,uInt32); +void*vmmCopyVirtualSpace(pidType); +void*vmmGetFreePage(pidType); +void*vmmGetFreeKernelPage(pidTypepid,uInt16count); +void*vmmCreateVirtualSpace(pidType); +void*vmmGetFreeVirtualPage(pidType,int,int); -uInt32vmm_getPhysicalAddr(uInt32); -intvmm_setPageAttributes(uInt32,uInt16); -intvmm_remapPage(uInt32,uInt32,uInt16); +uInt32vmm_getPhysicalAddr(uInt32); +intvmm_setPageAttributes(uInt32,uInt16); +intvmm_remapPage(uInt32,uInt32,uInt16); intvmm_pagingInit(); -void*vmm_getFreeMallocPage(uInt16count); -voidvmm_pageFault(uInt32,uInt32,uInt32); +void*vmm_getFreeMallocPage(uInt16count); +voidvmm_pageFault(uInt32,uInt32,uInt32); void_vmm_pageFault(); intmmap(structthread*,structmmap_args*); intobreak(structthread*,structobreak_args*); intmunmap(structthread*,structmunmap_args*); -externuInt32*kernelPageDirectory; +externuInt32*kernelPageDirectory; #endif diff --git a/doc/xml/pbuf_8h.xml b/doc/xml/pbuf_8h.xml index 6f1cb72..88f8fa1 100644 --- a/doc/xml/pbuf_8h.xml +++ b/doc/xml/pbuf_8h.xml @@ -19,265 +19,265 @@ src/sys/net/api/tcpip.c src/sys/net/netif/ethernetif.c - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + - - - - + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + pbuf @@ -420,7 +420,7 @@ l - uInt16 + uInt16 size @@ -465,7 +465,7 @@ netbuf_chain - uInt8 + uInt8 uInt8 pbuf_clen (struct pbuf *p) pbuf_clen @@ -499,7 +499,7 @@ - uInt8 + uInt8 uInt8 pbuf_free (struct pbuf *p) pbuf_free @@ -527,7 +527,7 @@ tcpip_input - uInt8 + uInt8 uInt8 pbuf_header (struct pbuf *p, Int16 header_size) pbuf_header @@ -536,7 +536,7 @@ p - Int16 + Int16 header_size @@ -576,7 +576,7 @@ p - uInt16 + uInt16 size @@ -679,13 +679,13 @@ structpbuf*next; /*high4bits,flags,low4bitsreferencecount*/ -uInt8flags,ref; +uInt8flags,ref; void*payload; /*Totallengthofbuffer+additionallychainedbuffers.*/ -uInt16tot_len; +uInt16tot_len; /*Lengthofthisbuffer.*/ -uInt16len; +uInt16len; }; @@ -714,13 +714,13 @@ *PBUF_ROOL:thepbufisallocatedasapbufchain,withpbufsfrom thepbufpoolthatisallocatedduringpbuf_init().*/ -structpbuf*pbuf_alloc(pbuf_layerl,uInt16size,pbuf_flagflag); +structpbuf*pbuf_alloc(pbuf_layerl,uInt16size,pbuf_flagflag); /*pbuf_realloc(): Shrinksthepbuftothesizegivenbythesizeparameter. */ -voidpbuf_realloc(structpbuf*p,uInt16size); +voidpbuf_realloc(structpbuf*p,uInt16size); /*pbuf_header(): @@ -728,7 +728,7 @@ upwardwithinthepbuf.Thereturnvalueisnon-zeroifit fails.Ifso,anadditionalpbufshouldbeallocatedfortheheader anditshouldbechainedtothefront.*/ -uInt8pbuf_header(structpbuf*p,Int16header_size); +uInt8pbuf_header(structpbuf*p,Int16header_size); /*pbuf_ref(): @@ -741,12 +741,12 @@ Decrementsthereferencecountanddeallocatesthepbufifthe referencecountiszero.Ifthepbufisachainallpbufsinthe chainaredeallocated.*/ -uInt8pbuf_free(structpbuf*p); +uInt8pbuf_free(structpbuf*p); /*pbuf_clen(): Returnsthelengthofthepbufchain.*/ -uInt8pbuf_clen(structpbuf*p); +uInt8pbuf_clen(structpbuf*p); /*pbuf_chain(): diff --git a/doc/xml/pci_8c.xml b/doc/xml/pci_8c.xml index 12cda60..5682fbf 100644 --- a/doc/xml/pci_8c.xml +++ b/doc/xml/pci_8c.xml @@ -4,44 +4,44 @@ pci.c pci/pci.h sys/io.h - ubixos/types.h + ubixos/types.h lib/kprintf.h - + - + - + - + - + - + - + - + - - + + - + - + - + - + @@ -71,10 +71,10 @@ pciClasses pciProbe pciConfig::subClass - TRUE + TRUE - bool + bool bool pciProbe (int bus, int dev, int func, struct pciConfig *cfg) pciProbe @@ -109,7 +109,7 @@ pciConfig::command pciConfig::dev pciConfig::deviceId - FALSE + FALSE pciConfig::func pciConfig::headerType pciConfig::interface @@ -123,13 +123,13 @@ pciConfig::subClass pciConfig::subsys pciConfig::subsysVendor - TRUE + TRUE pciConfig::vendorId x10 pci_init - uInt32 + uInt32 uInt32 pciRead (int bus, int dev, int func, int reg, int bytes) pciRead @@ -188,7 +188,7 @@ reg - uInt32 + uInt32 v @@ -210,7 +210,7 @@ - uInt8 + uInt8 uInt8 baseClass baseClass @@ -223,7 +223,7 @@ - uInt8 + uInt8 uInt8 interface interface @@ -249,12 +249,10 @@ def_ctls initHardDisk - lookup + lookup lwip_bind lwip_connect - main pci_init - UbixFS::vfs_mkdir @13 @@ -271,7 +269,7 @@ pci_init - uInt8 + uInt8 uInt8 subClass subClass @@ -320,13 +318,13 @@ #include<pci/pci.h> #include<sys/io.h> -#include<ubixos/types.h> +#include<ubixos/types.h> #include<lib/kprintf.h> conststruct{ -uInt8baseClass; -uInt8subClass; -uInt8interface; +uInt8baseClass; +uInt8subClass; +uInt8interface; constchar*name; }pciClasses[]={ {0x00,0x00,0x00,"Undefined"}, @@ -470,12 +468,12 @@ }; -uInt32pciRead(intbus,intdev,intfunc,intreg,intbytes){ -uInt16base; +uInt32pciRead(intbus,intdev,intfunc,intreg,intbytes){ +uInt16base; union{ structconfaddc; -uInt32n; +uInt32n; }u; u.n=0; @@ -498,12 +496,12 @@ } } -voidpciWrite(intbus,intdev,intfunc,intreg,uInt32v,intbytes){ -uInt16base; +voidpciWrite(intbus,intdev,intfunc,intreg,uInt32v,intbytes){ +uInt16base; union{ structconfaddc; -uInt32n; +uInt32n; }u; u.n=0; @@ -517,22 +515,22 @@ base=0xCFC+(reg&0x03); outportDWord(0xCF8,u.n); switch(bytes){ -case1:outportByte(base,(uInt8)v);break; -case2:outportWord(base,(uInt16)v);break; +case1:outportByte(base,(uInt8)v);break; +case2:outportWord(base,(uInt16)v);break; case4:outportDWord(base,v);break; } } boolpciProbe(intbus,intdev,intfunc,structpciConfig*cfg){ -uInt32*word=(uInt32*)cfg; -uInt32v; +uInt32*word=(uInt32*)cfg; +uInt32v; inti; for(i=0;i<4;i++){ word[i]=pciRead(bus,dev,func,4*i,4); } -if(cfg->vendorId==0xffff)returnFALSE; -if(cfg->vendorId==0x0)returnFALSE;/*QuickHack*/ +if(cfg->vendorId==0xffff)returnFALSE; +if(cfg->vendorId==0x0)returnFALSE;/*QuickHack*/ cfg->bus=bus; cfg->dev=dev; @@ -577,17 +575,17 @@ break; } -return(TRUE); +return(TRUE); } intpci_init(){ -uInt16bus,dev,func; +uInt16bus,dev,func; inti=0x0; structpciConfigpcfg; for(bus=0x0;bus<0x2;bus++){/*255*/ for(dev=0;dev<32;dev++){ for(func=0;func<8;func++){ -if(pciProbe(bus,dev,func,&pcfg)==TRUE){ +if(pciProbe(bus,dev,func,&pcfg)==TRUE){ /*kprintf("*Vendor:%XDevice:%XClass/SubClass/Interface%X/%X/%X\n",pcfg.vendorId,pcfg.deviceId,pcfg.baseClass,pcfg.subClass,pcfg.interface);*/ for(i=0x0;i<countof(pciClasses);i++){ if(pcfg.baseClass==pciClasses[i].baseClass&&pcfg.subClass==pciClasses[i].subClass&&pcfg.interface==pciClasses[i].interface){ diff --git a/doc/xml/pci_8h.xml b/doc/xml/pci_8h.xml index 5605c77..63204d6 100644 --- a/doc/xml/pci_8h.xml +++ b/doc/xml/pci_8h.xml @@ -2,48 +2,48 @@ pci.h - ubixos/types.h + ubixos/types.h src/sys/include/ubixos/init.h src/sys/pci/pci.c - + - + - + - - + + - + - + - + - + - + - + - + - + @@ -89,10 +89,10 @@ pciClasses pciProbe pciConfig::subClass - TRUE + TRUE - bool + bool bool pciProbe (int bus, int dev, int func, struct pciConfig *cfg) pciProbe @@ -127,7 +127,7 @@ pciConfig::command pciConfig::dev pciConfig::deviceId - FALSE + FALSE pciConfig::func pciConfig::headerType pciConfig::interface @@ -141,13 +141,13 @@ pciConfig::subClass pciConfig::subsys pciConfig::subsysVendor - TRUE + TRUE pciConfig::vendorId x10 pci_init - uInt32 + uInt32 uInt32 pciRead (int bus, int dev, int func, int reg, int bytes) pciRead @@ -206,7 +206,7 @@ reg - uInt32 + uInt32 v @@ -263,48 +263,48 @@ #ifndef_PCI_H #define_PCI_H -#include<ubixos/types.h> +#include<ubixos/types.h> structpciConfig{ -uInt16vendorId; -uInt16deviceId; +uInt16vendorId; +uInt16deviceId; -uInt16command; -uInt16status; +uInt16command; +uInt16status; -uInt8revisionId; -uInt8interface; -uInt8subClass; -uInt8baseClass; +uInt8revisionId; +uInt8interface; +uInt8subClass; +uInt8baseClass; -uInt8cacheLineSize; -uInt8latencyTimer; -uInt8headerType; -uInt8bist; +uInt8cacheLineSize; +uInt8latencyTimer; +uInt8headerType; +uInt8bist; /*deviceinfo*/ -uInt8bus; -uInt8dev; -uInt8func; -uInt8irq; +uInt8bus; +uInt8dev; +uInt8func; +uInt8irq; /*baseregisters*/ -uInt32base[6]; -uInt32size[6]; +uInt32base[6]; +uInt32size[6]; -uInt16subsysVendor; -uInt16subsys; +uInt16subsysVendor; +uInt16subsys; }; structconfadd{ -uInt8reg:8; -uInt8func:3; -uInt8dev:5; -uInt8bus:8; -uInt8rsvd:7; -uInt8enable:1; +uInt8reg:8; +uInt8func:3; +uInt8dev:5; +uInt8bus:8; +uInt8rsvd:7; +uInt8enable:1; }; #definecountof(a)(sizeof(a)/sizeof(a[0])) @@ -313,8 +313,8 @@ boolpciProbe(intbus,intdev,intfunc,structpciConfig*cfg); -uInt32pciRead(intbus,intdev,intfunc,intreg,intbytes); -voidpciWrite(intbus,intdev,intfunc,intreg,uInt32v,intbytes); +uInt32pciRead(intbus,intdev,intfunc,intreg,intbytes); +voidpciWrite(intbus,intdev,intfunc,intreg,uInt32v,intbytes); #endif diff --git a/doc/xml/perf_8h.xml b/doc/xml/perf_8h.xml index b9c1d23..10cb548 100644 --- a/doc/xml/perf_8h.xml +++ b/doc/xml/perf_8h.xml @@ -4,28 +4,28 @@ perf.h ubixos/times.h - + - - + + - + - + - + - + - + - + diff --git a/doc/xml/pipe_8c.xml b/doc/xml/pipe_8c.xml index c786b82..29be49f 100644 --- a/doc/xml/pipe_8c.xml +++ b/doc/xml/pipe_8c.xml @@ -2,7 +2,7 @@ pipe.c - ubixos/types.h + ubixos/types.h sys/sysproto.h sys/thread.h sys/pipe.h @@ -10,76 +10,118 @@ lib/kprintf.h assert.h - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + + + + + + + + + + + - + - + - + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + + + - + - - - - + + + + - + + + + + + + + + - + @@ -104,11 +146,12 @@ - file::f_flag - falloc - FREAD - FWRITE - thread::td_retval + file::f_flag + falloc + file::fd + FREAD + FWRITE + thread::td_retval @@ -145,7 +188,7 @@ *****************************************************************************************/ -#include<ubixos/types.h> +#include<ubixos/types.h> #include<sys/sysproto.h> #include<sys/thread.h> #include<sys/pipe.h> @@ -155,7 +198,7 @@ intpipe(structthread*td,structpipe_args*uap){ structfile*rf,*wf; -intfd=0x0; +intfd=0x0; falloc(td,&rf,&fd); rf->f_flag=FREAD|FWRITE; td->td_retval[0]=fd; diff --git a/doc/xml/pipe_8h.xml b/doc/xml/pipe_8h.xml index 3601862..2aa14e2 100644 --- a/doc/xml/pipe_8h.xml +++ b/doc/xml/pipe_8h.xml @@ -6,52 +6,54 @@ sys/sysproto.h src/sys/kernel/pipe.c - + - + - + - - + + - + - + - + - + - + - + + + - + - + - + - + - + diff --git a/doc/xml/pit_8c.xml b/doc/xml/pit_8c.xml index a09f70a..b712ea1 100644 --- a/doc/xml/pit_8c.xml +++ b/doc/xml/pit_8c.xml @@ -6,37 +6,37 @@ sys/io.h lib/kprintf.h - + - - + + - + - + - + - + - + - + - + - + - + diff --git a/doc/xml/pit_8h.xml b/doc/xml/pit_8h.xml index 1b49ecc..1d58f3a 100644 --- a/doc/xml/pit_8h.xml +++ b/doc/xml/pit_8h.xml @@ -5,26 +5,26 @@ src/sys/include/ubixos/init.h src/sys/isa/pit.c - + - + - + - + - + - + - + diff --git a/doc/xml/ramdrive_8cpp.xml b/doc/xml/ramdrive_8cpp.xml index 92e1aac..4d5d705 100644 --- a/doc/xml/ramdrive_8cpp.xml +++ b/doc/xml/ramdrive_8cpp.xml @@ -8,59 +8,59 @@ assert.h device.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -95,9 +95,9 @@ - fclose - fopen - fwrite + fclose + fopen + fwrite ram_data RAM_DRIVE_SIZE main @@ -117,9 +117,9 @@ - fclose - fopen - fread + fclose + fopen + fread device_t::major ram_data RAM_DRIVE_SIZE diff --git a/doc/xml/ramdrive_8h.xml b/doc/xml/ramdrive_8h.xml index 33b113b..f41e159 100644 --- a/doc/xml/ramdrive_8h.xml +++ b/doc/xml/ramdrive_8h.xml @@ -5,37 +5,37 @@ device.h src/sys/ubixfsv2/main.cpp - + - + - + - + - + - + - + - + - + - + @@ -52,9 +52,9 @@ - fclose - fopen - fwrite + fclose + fopen + fwrite ram_data RAM_DRIVE_SIZE main @@ -71,9 +71,9 @@ - fclose - fopen - fread + fclose + fopen + fread device_t::major ram_data RAM_DRIVE_SIZE diff --git a/doc/xml/sched_8c.xml b/doc/xml/sched_8c.xml index b9dafef..643a94e 100644 --- a/doc/xml/sched_8c.xml +++ b/doc/xml/sched_8c.xml @@ -17,220 +17,224 @@ string.h assert.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + @@ -287,7 +291,7 @@ (pidType id) sched_deleteTask - pidType + pidType id @@ -344,7 +348,7 @@ (pidType pid, tState state) sched_setStatus - pidType + pidType pid @@ -405,7 +409,7 @@ (pidType pid) schedEndTask - pidType + pidType pid @@ -426,7 +430,7 @@ (uInt32 id) schedFindTask - uInt32 + uInt32 id @@ -456,7 +460,7 @@ - file::f_flag + file::f_flag taskStruct::id kmalloc kpanic @@ -464,7 +468,7 @@ NEW taskStruct::next nextID - thread::o_files + thread::o_files taskStruct::prev schedulerSpinLock spinLock @@ -492,7 +496,7 @@ - __sysctl + __sysctl _int0 _int1 _int10 @@ -510,26 +514,26 @@ endTask execFile fork_copyProcess - fstat - getgid - getpid - getuid + fstat + getgid + getpid + getuid intNull kmod_load ldEnable mathStateRestore - mmap + mmap mpi_createMbox mpi_destroyMbox mpi_fetchMessage mpi_postMessage netMainThread - obreak + obreak sched schedEndTask syscall sysChDir - sysExec + sysExec sysExit sysFgetc sysFwrite @@ -538,7 +542,7 @@ sysGetGid sysGetpid sysGetUid - sysMkDir + sysMkDir sysPasswd sysSetGid sysSetUid @@ -582,7 +586,7 @@ sched_getDelTask - uInt32 + uInt32 uInt32 nextID nextID @@ -685,7 +689,7 @@ statickTask_t*taskList=0x0; statickTask_t*delList=0x0; -staticuInt32nextID=-1; +staticuInt32nextID=-1; kTask_t*_current=0x0; kTask_t*_usedMath=0x0; @@ -721,7 +725,7 @@ voidsched(){ -uInt32memAddr=0x0; +uInt32memAddr=0x0; kTask_t*tmpTask=0x0; kTask_t*delTask=0x0; @@ -761,7 +765,7 @@ if(_current->oInfo.v86Task==0x1) irqDisable(0x0); asm("cli"); -memAddr=(uInt32)&(_current->tss); +memAddr=(uInt32)&(_current->tss); ubixGDT[4].descriptor.baseLow=(memAddr&0xFFFF); ubixGDT[4].descriptor.baseMed=((memAddr>>16)&0xFF); ubixGDT[4].descriptor.baseHigh=(memAddr>>24); @@ -794,7 +798,7 @@ /*HACK*/ for(i=0;i<3;i++){ fp=kmalloc(sizeof(structfile)); -tmpTask->td.o_files[i]=fp; +tmpTask->td.o_files[i]=(u_int32_t)fp; fp->f_flag=0x4; } @@ -811,7 +815,7 @@ } -intsched_deleteTask(pidTypeid){ +intsched_deleteTask(pidTypeid){ kTask_t*tmpTask=0x0; /*Checkingeachtaskfromtheprioqueue*/ @@ -852,7 +856,7 @@ kTask_t* -schedFindTask(uInt32id) +schedFindTask(uInt32id) { kTask_t*tmpTask=0x0; @@ -877,7 +881,7 @@ ************************************************************************/ void -schedEndTask(pidTypepid){ +schedEndTask(pidTypepid){ endTask(_current->id); sched_yield(); } @@ -917,7 +921,7 @@ Notes: ************************************************************************/ -intsched_setStatus(pidTypepid,tStatestate){ +intsched_setStatus(pidTypepid,tStatestate){ kTask_t*tmpTask=schedFindTask(pid); if(tmpTask==0x0) return(0x1); diff --git a/doc/xml/sched_8h.xml b/doc/xml/sched_8h.xml index a092dcf..70ac833 100644 --- a/doc/xml/sched_8h.xml +++ b/doc/xml/sched_8h.xml @@ -2,10 +2,10 @@ sched.h - ubixos/types.h + ubixos/types.h ubixos/elf.h ubixos/tty.h - vfs/file.h + vfs/file.h sys/tss.h sys/thread.h src/sys/include/mpi/mpi.h @@ -40,181 +40,251 @@ src/sys/vmm/pagefault.c src/sys/vmm/paging.c - + - + - + - + - + - + - + - + - + - + - - + + - + - + - - + + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - - - - - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -225,312 +295,244 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - + - + + + + + + + + + + + - + - + - + - + - + - + - + - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -680,7 +682,7 @@ (pidType) sched_deleteTask - pidType + pidType @@ -736,7 +738,7 @@ (pidType, tState) sched_setStatus - pidType + pidType tState @@ -795,7 +797,7 @@ (pidType pid) schedEndTask - pidType + pidType pid @@ -816,7 +818,7 @@ (uInt32 id) schedFindTask - uInt32 + uInt32 id @@ -846,7 +848,7 @@ - file::f_flag + file::f_flag taskStruct::id kmalloc kpanic @@ -854,7 +856,7 @@ NEW taskStruct::next nextID - thread::o_files + thread::o_files taskStruct::prev schedulerSpinLock spinLock @@ -881,7 +883,7 @@ - __sysctl + __sysctl _int0 _int1 _int10 @@ -899,26 +901,26 @@ endTask execFile fork_copyProcess - fstat - getgid - getpid - getuid + fstat + getgid + getpid + getuid intNull kmod_load ldEnable mathStateRestore - mmap + mmap mpi_createMbox mpi_destroyMbox mpi_fetchMessage mpi_postMessage netMainThread - obreak + obreak sched schedEndTask syscall sysChDir - sysExec + sysExec sysExit sysFgetc sysFwrite @@ -927,7 +929,7 @@ sysGetGid sysGetpid sysGetUid - sysMkDir + sysMkDir sysPasswd sysSetGid sysSetUid @@ -991,10 +993,10 @@ #ifndef_SCHED_H #define_SCHED_H -#include<ubixos/types.h> +#include<ubixos/types.h> #include<ubixos/elf.h> #include<ubixos/tty.h> -#include<vfs/file.h> +#include<vfs/file.h> #include<sys/tss.h> #include<sys/thread.h> @@ -1002,44 +1004,44 @@ typedefenum{PLACEHOLDER=-2,DEAD=-1,NEW=0,READY=1,RUNNING=2,IDLE=3,FORK=4,WAIT=5}tState; structosInfo{ -uInt8timer; -uInt8v86Task; +uInt8timer; +uInt8v86Task; boolv86If; -uInt32vmStart; -uInt32stdinSize; -uInt32controlKeys; +uInt32vmStart; +uInt32stdinSize; +uInt32controlKeys; char*stdin; charcwd[1024];/*currentworkingdir*/ }; typedefstructtaskStruct{ -pidTypeid; +pidTypeid; structtaskStruct*prev; structtaskStruct*next; structtssStructtss; structi387Structi387; structosInfooInfo; -fileDescriptor*imageFd; +fileDescriptor*imageFd; tStatestate; -uInt32gid; -uInt32uid; -uInt16usedMath; +uInt32gid; +uInt32uid; +uInt16usedMath; tty_term*term; structthreadtd; }kTask_t; intsched_init(); -intsched_setStatus(pidType,tState); -intsched_deleteTask(pidType); +intsched_setStatus(pidType,tState); +intsched_deleteTask(pidType); intsched_addDelTask(kTask_t*); kTask_t*sched_getDelTask(); voidsched_yield(); voidsched(); -voidschedEndTask(pidTypepid); +voidschedEndTask(pidTypepid); kTask_t*schedNewTask(); -kTask_t*schedFindTask(uInt32id); +kTask_t*schedFindTask(uInt32id); externkTask_t*_current; externkTask_t*_usedMath; diff --git a/doc/xml/sde_8h.xml b/doc/xml/sde_8h.xml index e996906..b66e5f4 100644 --- a/doc/xml/sde_8h.xml +++ b/doc/xml/sde_8h.xml @@ -2,35 +2,35 @@ sde.h - ubixos/types.h + ubixos/types.h src/sys/kernel/systemtask.c - + - - + + - + - + - + - + - + - + @@ -101,7 +101,7 @@ (uInt32 cmd, void *ptr) sysSDE - uInt32 + uInt32 cmd @@ -163,7 +163,7 @@ #ifndef_SDE_H #define_SDE_H -#include<ubixos/types.h> +#include<ubixos/types.h> #defineregisterWindow1 #definewindowReady2 @@ -178,14 +178,14 @@ #ifdef__cplusplus extern"C" #endif -voidsysSDE(uInt32cmd,void*ptr); +voidsysSDE(uInt32cmd,void*ptr); structsdeWindows{ structsdeWindows*next; structsdeWindows*prev; void*buf; -pidTypepid; -uInt8status; +pidTypepid; +uInt8status; }; externstructsdeWindows*windows; diff --git a/doc/xml/sem_8c.xml b/doc/xml/sem_8c.xml index df73dd8..98533d5 100644 --- a/doc/xml/sem_8c.xml +++ b/doc/xml/sem_8c.xml @@ -4,13 +4,13 @@ sem.c ubixos/sem.h - + - + - + diff --git a/doc/xml/sem_8h.xml b/doc/xml/sem_8h.xml index a86d002..d7f3536 100644 --- a/doc/xml/sem_8h.xml +++ b/doc/xml/sem_8h.xml @@ -4,14 +4,14 @@ sem.h src/sys/kernel/sem.c - + - + - + diff --git a/doc/xml/setpageattributes_8c.xml b/doc/xml/setpageattributes_8c.xml index baad047..1d83bbf 100644 --- a/doc/xml/setpageattributes_8c.xml +++ b/doc/xml/setpageattributes_8c.xml @@ -5,62 +5,64 @@ vmm/vmm.h ubixos/kpanic.h - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + @@ -71,11 +73,11 @@ (uInt32 memAddr, uInt16 attributes) vmm_setPageAttributes - uInt32 + uInt32 memAddr - uInt16 + uInt16 attributes @@ -89,7 +91,7 @@ tablesBaseAddress x1000 execFile - sysExec + sysExec @@ -137,9 +139,9 @@ Notes: ************************************************************************/ -intvmm_setPageAttributes(uInt32memAddr,uInt16attributes){ -uInt16directoryIndex=0x0,tableIndex=0x0; -uInt32*pageTable=0x0; +intvmm_setPageAttributes(uInt32memAddr,uInt16attributes){ +uInt16directoryIndex=0x0,tableIndex=0x0; +uInt32*pageTable=0x0; /*CalculateThePageDirectoryIndex*/ directoryIndex=(memAddr>>22); @@ -148,7 +150,7 @@ tableIndex=((memAddr>>12)&0x3FF); /*SetTablePointer*/ -if((pageTable=(uInt32*)(tablesBaseAddress+(0x1000*directoryIndex)))==0x0) +if((pageTable=(uInt32*)(tablesBaseAddress+(0x1000*directoryIndex)))==0x0) kpanic("Error:pageTable==NULL,File:%s,Line:%i\n",__FILE__,__LINE__); /*SetAttributeIfPageIsMapped*/ diff --git a/doc/xml/shell_8c.xml b/doc/xml/shell_8c.xml index f21aaf2..074d5f2 100644 --- a/doc/xml/shell_8c.xml +++ b/doc/xml/shell_8c.xml @@ -12,365 +12,367 @@ net/stats.h lib/kprintf.h - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -485,7 +487,7 @@ NETCONN_NOCOPY netconn_write - strlen + strlen prompt shell_main @@ -534,7 +536,7 @@ netconn_recv prompt sendstr - strcmp + strcmp shell_thread @@ -583,7 +585,7 @@ readUbixFS shell_main shell_thread - sys_write + sys_write udpecho_thread @@ -650,7 +652,7 @@ //UBUstaticstructnetconn*conns[NCONNS]; staticvoidsendstr(constchar*str,structnetconn*conn){ -netconn_write(conn,(void*)str,strlen(str),NETCONN_NOCOPY); +netconn_write(conn,(void*)str,strlen(str),NETCONN_NOCOPY); } staticvoidprompt(structnetconn*conn){ @@ -659,7 +661,7 @@ staticvoidshell_main(structnetconn*conn){ structnetbuf*buf=0x0; -uInt32len; +uInt32len; //UBUinti; //UBUcharbufr[1500]; prompt(conn); diff --git a/doc/xml/signal_8h.xml b/doc/xml/signal_8h.xml index 35bb2d8..48766c4 100644 --- a/doc/xml/signal_8h.xml +++ b/doc/xml/signal_8h.xml @@ -2,502 +2,198 @@ signal.h - ubixos/types.h + ubixos/types.h src/sys/include/sys/sysproto.h - + - - + + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - + - - - - - - - - - - - - + + + + - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - + - - - - - - - - - + + + + + + + + + - - - + + + - - - + + + - - - - - - - - + + + + - + + + + + - + - + - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + - + - + - - - - - - - - - - - + + + - - - + + + + + + + + + + + + + + + + + + + - + + + @@ -508,207 +204,525 @@ + + + + + + + + - - - + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - + + + + + + - - - + + + + + - - + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - + + + + - + + + + + + + - + - - - - - + + + + + __sigset @@ -858,7 +872,7 @@ #ifndef_SIGNAL_H #define_SIGNALL_H -#include<ubixos/types.h> +#include<ubixos/types.h> #define_SIG_WORDS4 #define_SIG_MAXSIG128 diff --git a/doc/xml/smp_8c.xml b/doc/xml/smp_8c.xml index 609558d..0af9d89 100644 --- a/doc/xml/smp_8c.xml +++ b/doc/xml/smp_8c.xml @@ -9,61 +9,61 @@ lib/string.h sys/io.h - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -171,7 +171,7 @@ (%esp) - %eax\n""movl + %eax\n""movl 16 (%esp) @@ -319,7 +319,7 @@ smpInit - uInt8 + uInt8 uInt8 cpuInfo () cpuInfo @@ -371,7 +371,7 @@ smpInit - __inline__ uInt32 + __inline__ uInt32 static __inline__ uInt32 getDr3 (void) getDr3 @@ -388,7 +388,7 @@ kernel_function - uInt32 + uInt32 uInt32 getEflags () getEflags @@ -403,7 +403,7 @@ cpuInfo - uInt8 + uInt8 uInt8 kernel_function (void) kernel_function @@ -450,7 +450,7 @@ (uInt32 eflags) setEflags - uInt32 + uInt32 eflags @@ -529,7 +529,7 @@ cpuInfo - uInt32 + uInt32 uInt32 cpus cpus @@ -560,11 +560,11 @@ smpInit - uInt8 * + uInt8 * uInt8* vram vram - (uInt8 *)0xB8000 + (uInt8 *)0xB8000 @@ -621,11 +621,11 @@ staticspinLock_tinitSpinLock=SPIN_LOCK_INITIALIZER; staticspinLock_tcpuInfoLock=SPIN_LOCK_INITIALIZER; -staticuInt32cpus=0; +staticuInt32cpus=0; structcpuinfo_tcpuinfo[8]; -uInt8kernel_function(void); -uInt8*vram=(uInt8*)0xB8000; +uInt8kernel_function(void); +uInt8*vram=(uInt8*)0xB8000; staticinlineunsignedintapicRead(address){ return*(volatileunsignedint*)(0xFEE00000+address); @@ -636,24 +636,24 @@ } static__inline__voidsetDr3(void*dr3){ -registeruInt32value=(uInt32)dr3; +registeruInt32value=(uInt32)dr3; __asm____volatile__("mov%0,%%dr3"::"r"(value)); } -static__inline__uInt32getDr3(void){ -registeruInt32value; +static__inline__uInt32getDr3(void){ +registeruInt32value; __asm____volatile__("mov%%dr3,%0":"=r"(value)); returnvalue; } structgdt_descr{ -uInt16limit; -uInt32*base__attribute__((packed)); +uInt16limit; +uInt32*base__attribute__((packed)); }; staticvoidGDT_fixer(){ structgdt_descrgdt_descr; -uInt32*gdt=(uInt32*)0x20000;//128KB +uInt32*gdt=(uInt32*)0x20000;//128KB gdt[0]=0; gdt[1]=0; @@ -705,7 +705,7 @@ } staticspinLock_tbkl=SPIN_LOCK_INITIALIZER; -uInt8kernel_function(void){ +uInt8kernel_function(void){ structcpuinfo_t*cpu; spinLock(&bkl); @@ -764,8 +764,8 @@ } } -uInt8cpuInfo(){ -uInt32data[4],i; +uInt8cpuInfo(){ +uInt32data[4],i; if(!(getEflags()&(1<<21))){//Ifthecpuidbitineflagsnotset.. setEflags(getEflags()|(1<<21));//..tryandsetittoseeifitcomeson.. @@ -780,9 +780,9 @@ cpuinfo[cpus].apic_ver=apicRead(0x30)&0xFF; cpuid(0,data); -*(uInt32*)&cpuinfo[cpus].ident[0]=data[1]; -*(uInt32*)&cpuinfo[cpus].ident[4]=data[3]; -*(uInt32*)&cpuinfo[cpus].ident[8]=data[2]; +*(uInt32*)&cpuinfo[cpus].ident[0]=data[1]; +*(uInt32*)&cpuinfo[cpus].ident[4]=data[3]; +*(uInt32*)&cpuinfo[cpus].ident[8]=data[2]; cpuinfo[cpus].ident[17]=0; cpuinfo[cpus].max=data[0]; @@ -817,7 +817,7 @@ externvoidap_trampoline_start(),ap_trampoline_end(); voidapicMagic(void){ -uInt32tmp; +uInt32tmp; kprintf("Copying%ubytesfrom0x%xto0x00\n",ap_trampoline_end-ap_trampoline_start,ap_trampoline_start); memcpy(0x0,(char*)ap_trampoline_start,ap_trampoline_end-ap_trampoline_start); @@ -834,8 +834,8 @@ -uInt32getEflags(){ -uInt32eflags=0x0; +uInt32getEflags(){ +uInt32eflags=0x0; asm( "pushfl\n" "popl%%eax\n" @@ -844,7 +844,7 @@ return(eflags); } -voidsetEflags(uInt32eflags){ +voidsetEflags(uInt32eflags){ asm( "pushl%%eax\n" "popfl\n" diff --git a/doc/xml/smp_8h.xml b/doc/xml/smp_8h.xml index bd0fdf5..6a35693 100644 --- a/doc/xml/smp_8h.xml +++ b/doc/xml/smp_8h.xml @@ -2,34 +2,34 @@ smp.h - ubixos/types.h + ubixos/types.h src/sys/kernel/smp.c - + - + - + - - + + - + - + - + - + @@ -62,10 +62,10 @@ (uInt32, uInt32 *) cpuid - uInt32 + uInt32 - uInt32 * + uInt32 * @@ -94,7 +94,7 @@ smpInit - uInt8 + uInt8 uInt8 cpuInfo () cpuInfo @@ -131,7 +131,7 @@ smpInit - uInt32 + uInt32 uInt32 getEflags () getEflags @@ -151,7 +151,7 @@ (uInt32) setEflags - uInt32 + uInt32 @@ -221,15 +221,15 @@ #ifndef_SMP_H #define_SMP_H -#include<ubixos/types.h> +#include<ubixos/types.h> structcpuinfo_t{ -uInt8id; -uInt8ok;//1=Ok,0=Bad -uInt8apic_id,apic_ver; -uInt32signature;//Family,Model,Stepping -uInt32feature; -uInt32max; +uInt8id; +uInt8ok;//1=Ok,0=Bad +uInt8apic_id,apic_ver; +uInt32signature;//Family,Model,Stepping +uInt32feature; +uInt32max; charbrand[49];//Brandname charident[17]; }; @@ -237,10 +237,10 @@ voidsmpInit(); voidcpuidDetect(); -uInt8cpuInfo(); -uInt32getEflags(); -voidsetEflags(uInt32); -voidcpuid(uInt32,uInt32*); +uInt8cpuInfo(); +uInt32getEflags(); +voidsetEflags(uInt32); +voidcpuid(uInt32,uInt32*); voidapicMagic(); #endif diff --git a/doc/xml/sockets_8c.xml b/doc/xml/sockets_8c.xml index c0e6f38..d2aa0f3 100644 --- a/doc/xml/sockets_8c.xml +++ b/doc/xml/sockets_8c.xml @@ -2,228 +2,228 @@ sockets.c - ubixos/types.h + ubixos/types.h net/debug.h net/api.h net/sockets.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -785,7 +785,7 @@ *$Id$ */ -#include<ubixos/types.h> +#include<ubixos/types.h> #include"net/debug.h" #include"net/api.h" @@ -797,7 +797,7 @@ structlwip_socket{ structnetconn*conn; structnetbuf*lastdata; -uInt16lastoffset; +uInt16lastoffset; }; staticstructlwip_socketsockets[NUM_SOCKETS]; @@ -845,7 +845,7 @@ structlwip_socket*sock; structnetconn*newconn; structip_addr*naddr; -uInt16port; +uInt16port; intnewsock; sock=get_socket(s); @@ -874,7 +874,7 @@ { structlwip_socket*sock; structip_addrremote_addr; -uInt16remote_port; +uInt16remote_port; err_terr; sock=get_socket(s); @@ -922,7 +922,7 @@ { structlwip_socket*sock; structip_addrremote_addr; -uInt16remote_port; +uInt16remote_port; err_terr; sock=get_socket(s); @@ -970,9 +970,9 @@ { structlwip_socket*sock; structnetbuf*buf; -uInt16buflen,copylen; +uInt16buflen,copylen; structip_addr*addr; -uInt16port; +uInt16port; sock=get_socket(s); @@ -1108,7 +1108,7 @@ { structlwip_socket*sock; structip_addrremote_addr,*addr; -uInt16remote_port,port; +uInt16remote_port,port; intret; sock=get_socket(s); diff --git a/doc/xml/sockets_8h.xml b/doc/xml/sockets_8h.xml index 5a33256..2e609e3 100644 --- a/doc/xml/sockets_8h.xml +++ b/doc/xml/sockets_8h.xml @@ -2,41 +2,41 @@ sockets.h - ubixos/types.h + ubixos/types.h src/sys/lib/net.c src/sys/net/api/sockets.c - + - - + + - + - + - + - + - + - + - + - + @@ -609,24 +609,24 @@ #ifndef__LWIP_SOCKETS_H__ #define__LWIP_SOCKETS_H__ -#include<ubixos/types.h> +#include<ubixos/types.h> structin_addr{ -uInt32s_addr; +uInt32s_addr; }; structsockaddr_in{ -uInt8sin_len; -uInt8sin_family; -uInt16sin_port; +uInt8sin_len; +uInt8sin_family; +uInt16sin_port; structin_addrsin_addr; charsin_zero[8]; }; structsockaddr{ -uInt8sa_len; -uInt8sa_family; +uInt8sa_len; +uInt8sa_family; charsa_data[14]; }; diff --git a/doc/xml/spinlock_8c.xml b/doc/xml/spinlock_8c.xml index 4f06cdd..030e6aa 100644 --- a/doc/xml/spinlock_8c.xml +++ b/doc/xml/spinlock_8c.xml @@ -5,118 +5,120 @@ ubixos/spinlock.h ubixos/sched.h - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - - + + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + @@ -147,9 +149,9 @@ device_add device_find device_remove - fclose + fclose fdcRead - fopen + fopen freePage getEmptyDesc kernel_function @@ -276,9 +278,9 @@ device_add device_find device_remove - fclose + fclose fdcRead - fopen + fopen freePage getEmptyDesc kernel_function diff --git a/doc/xml/spinlock_8h.xml b/doc/xml/spinlock_8h.xml index d26ed8b..2cdbddf 100644 --- a/doc/xml/spinlock_8h.xml +++ b/doc/xml/spinlock_8h.xml @@ -2,7 +2,7 @@ spinlock.h - ubixos/types.h + ubixos/types.h src/sys/devfs/devfs.c src/sys/isa/atkbd.c src/sys/isa/fdc.c @@ -28,169 +28,169 @@ src/sys/vmm/paging.c src/sys/vmm/vmm_memory.c - + - + - + - - + + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -250,9 +250,9 @@ device_add device_find device_remove - fclose + fclose fdcRead - fopen + fopen freePage getEmptyDesc kernel_function @@ -374,9 +374,9 @@ device_add device_find device_remove - fclose + fclose fdcRead - fopen + fopen freePage getEmptyDesc kernel_function @@ -458,7 +458,7 @@ #ifndef_SPINLOCK_H #define_SPINLOCK_H -#include<ubixos/types.h> +#include<ubixos/types.h> #defineSPIN_LOCK_INITIALIZER0 diff --git a/doc/xml/start_8S.xml b/doc/xml/start_8S.xml index fdf9d1a..72340b8 100644 --- a/doc/xml/start_8S.xml +++ b/doc/xml/start_8S.xml @@ -4,7 +4,7 @@ start.S - globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb + globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb lgdtl (loadGDT) mov $0x10 lgdtl @@ -54,7 +54,7 @@ - globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov + globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov $kStack $kStack @@ -80,7 +80,7 @@ - globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov esp mov + globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov esp mov globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov esp mov eax eax @@ -93,7 +93,7 @@ - globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov + globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov eax eax @@ -106,7 +106,7 @@ - globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov + globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov eax eax @@ -119,7 +119,7 @@ - globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov + globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov eax eax @@ -132,7 +132,7 @@ - globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov + globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov eax eax @@ -145,7 +145,7 @@ - globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov + globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov eax eax @@ -158,7 +158,7 @@ - globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov + globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov eax eax @@ -197,7 +197,7 @@ - globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov + globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov esp esp @@ -223,7 +223,7 @@ - globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov esp mov ebp mov ax lldt ax mov ax ltr ax ljmp $start_next + globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov esp mov ebp mov ax lldt ax mov ax ltr ax ljmp $start_next globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov esp mov ebp mov ax lldt ax mov ax ltr ax ljmp $start_next start_next start_next @@ -236,7 +236,7 @@ - globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov esp mov ebp mov ax lldt ax mov ax ltr ax ljmp + globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov esp mov ebp mov ax lldt ax mov ax ltr ax ljmp globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov esp mov ebp mov ax lldt ax mov ax ltr ax ljmp x08 x08 @@ -249,7 +249,7 @@ - globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov esp mov ebp mov + globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov esp mov ebp mov globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov esp mov ebp mov x18 x18 @@ -263,7 +263,7 @@ execFile - globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov esp mov ebp mov ax lldt ax mov + globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov esp mov ebp mov ax lldt ax mov globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl eax mov edx mov esp mov ebp mov ax lldt ax mov x20 x20 @@ -285,7 +285,7 @@ tty_print - globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl + globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl globl _start text code32 x472 pushl ebp movl ebp pushl x00000002 popfl ecx edi subl ecx xorl eax cld rep stosb eax mov ds mov es mov fs mov gs mov ss mov eax addl x2000 x2000 diff --git a/doc/xml/static_8c.xml b/doc/xml/static_8c.xml index 815afe6..5ffe91c 100644 --- a/doc/xml/static_8c.xml +++ b/doc/xml/static_8c.xml @@ -4,26 +4,26 @@ static.c lib/kprintf.h - + - - + + - + - + - + - + - + diff --git a/doc/xml/static_8h.xml b/doc/xml/static_8h.xml index 2bb34f3..79a00dc 100644 --- a/doc/xml/static_8h.xml +++ b/doc/xml/static_8h.xml @@ -4,20 +4,20 @@ static.h src/sys/include/ubixos/init.h - + - + - + - + - + diff --git a/doc/xml/stats_8h.xml b/doc/xml/stats_8h.xml index 00c9fcb..b2e3cba 100644 --- a/doc/xml/stats_8h.xml +++ b/doc/xml/stats_8h.xml @@ -9,77 +9,77 @@ src/sys/net/net/shell.c src/sys/net/net/sys_arch.c - + + + + + + + + + + + + + + + + + + + + + + + + + - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + @@ -152,44 +152,44 @@ #ifdefSTATS structstats_proto{ -uInt16xmit;/*Transmittedpackets.*/ -uInt16rexmit;/*Retransmittedpackets.*/ -uInt16recv;/*Receivedpackets.*/ -uInt16fw;/*Forwardedpackets.*/ -uInt16drop;/*Droppedpackets.*/ -uInt16chkerr;/*Checksumerror.*/ -uInt16lenerr;/*Invalidlengtherror.*/ -uInt16memerr;/*Outofmemoryerror.*/ -uInt16rterr;/*Routingerror.*/ -uInt16proterr;/*Protocolerror.*/ -uInt16opterr;/*Errorinoptions.*/ -uInt16err;/*Miscerror.*/ -uInt16cachehit; +uInt16xmit;/*Transmittedpackets.*/ +uInt16rexmit;/*Retransmittedpackets.*/ +uInt16recv;/*Receivedpackets.*/ +uInt16fw;/*Forwardedpackets.*/ +uInt16drop;/*Droppedpackets.*/ +uInt16chkerr;/*Checksumerror.*/ +uInt16lenerr;/*Invalidlengtherror.*/ +uInt16memerr;/*Outofmemoryerror.*/ +uInt16rterr;/*Routingerror.*/ +uInt16proterr;/*Protocolerror.*/ +uInt16opterr;/*Errorinoptions.*/ +uInt16err;/*Miscerror.*/ +uInt16cachehit; }; structstats_mem{ -uInt16avail; -uInt16used; -uInt16max; -uInt16err; -uInt16reclaimed; +uInt16avail; +uInt16used; +uInt16max; +uInt16err; +uInt16reclaimed; }; structstats_pbuf{ -uInt16avail; -uInt16used; -uInt16max; -uInt16err; -uInt16reclaimed; +uInt16avail; +uInt16used; +uInt16max; +uInt16err; +uInt16reclaimed; -uInt16alloc_locked; -uInt16refresh_locked; +uInt16alloc_locked; +uInt16refresh_locked; }; structstats_syselem{ -uInt16used; -uInt16max; -uInt16err; +uInt16used; +uInt16max; +uInt16err; }; structstats_sys{ diff --git a/doc/xml/stdarg_8h.xml b/doc/xml/stdarg_8h.xml index 8075575..42a429f 100644 --- a/doc/xml/stdarg_8h.xml +++ b/doc/xml/stdarg_8h.xml @@ -6,25 +6,25 @@ src/sys/lib/kprintf.c src/sys/lib/vsprintf.c - + - + - + - + - + - + - + @@ -129,7 +129,7 @@ SMALL SPACE SPECIAL - strlen + strlen vaArg ZEROPAD kpanic diff --git a/doc/xml/string_8c.xml b/doc/xml/string_8c.xml index 815209e..64e6971 100644 --- a/doc/xml/string_8c.xml +++ b/doc/xml/string_8c.xml @@ -4,26 +4,26 @@ string.c lib/string.h - + - + - + - - + + - + - + - + @@ -42,7 +42,7 @@ src - size_t + size_t length @@ -51,7 +51,7 @@ - + void * @@ -67,7 +67,7 @@ src - size_t + size_t length @@ -76,7 +76,7 @@ - + int @@ -97,48 +97,7 @@ - - - - char * - char* strcpy - (char *dst, const char *src) - strcpy - - char * - dst - - - const char * - src - - - - - - - - - main - ubixfs_cacheNew - UbixFS::vfs_format - - - int - int strlen - (const char *string) - strlen - - const char * - string - - - - - - - - + int @@ -154,7 +113,7 @@ b - size_t + size_t c @@ -163,7 +122,7 @@ - + void @@ -179,7 +138,7 @@ src - size_t + size_t size @@ -188,13 +147,7 @@ - - bTree::bTree - bTree::Insert - bTree::insertNode - UbixFS::mknod - bTree::splitNode - UbixFS::vfs_mkdir + char * @@ -215,13 +168,13 @@ - + NULL - strlen - strncmp - fopen + strlen + strncmp + fopen sysChDir - sysMkDir + sysMkDir @@ -260,174 +213,152 @@ #include<lib/string.h> -char* -strcpy(char*dst,constchar*src){ -char*tmp=dst; -do{ -*dst=*src; -dst++; -}while(*src++!='\0'); -returntmp; -}/*strcpy*/ - -intstrcmp(constchar*str1,constchar*str2){ -while((*str1==*str2)&&(*str1!=0x0)&&(*str2!=0x0)){ -str1++; -str2++; -} -if(*str1==*str2){ -return(0); -} -elseif(*str1>*str2){ -return(1); -} -else{ -return(-1); -} +intstrcmp(constchar*str1,constchar*str2){ +while((*str1==*str2)&&(*str1!=0x0)&&(*str2!=0x0)){ +str1++; +str2++; +} +if(*str1==*str2){ +return(0); +} +elseif(*str1>*str2){ +return(1); +} +else{ +return(-1); +} +} + +intstrncmp(constchar*a,constchar*b,size_tc){ +inti=0; +while(i<c){ +if((a[i]!=b[i])||(a[i]=='\0')||(b[i]=='\0')) +returna[i]-b[i]; +i++; +} +return0; } -intstrncmp(constchar*a,constchar*b,size_tc){ -inti=0; -while(i<c){ -if((a[i]!=b[i])||(a[i]=='\0')||(b[i]=='\0')) -returna[i]-b[i]; -i++; -} -return0; -} - - - -void*memcpyold(constvoid*dst,constvoid*src,size_tlength){ -//size_tx=length>>2; -//size_ty=length;//&0xf; -size_ti; -/* -for(i=0;i<x;i++){ -((unsignedlong*)dst)[i]=((unsignedlong*)src)[i]; -} -*/ -/* -for(i=0;i<y;i++){ -((char*)dst)[length-y+i]=((char*)src)[length-y+i]; -} -*/ -for(i=0x0;i<length;i++) -((char*)dst)[i]=((char*)src)[i]; - -return((void*)dst); -} - - -intstrlen(constchar*string){ -inti=0; + + +void*memcpyold(constvoid*dst,constvoid*src,size_tlength){ +//size_tx=length>>2; +//size_ty=length;//&0xf; +size_ti; +/* +for(i=0;i<x;i++){ +((unsignedlong*)dst)[i]=((unsignedlong*)src)[i]; +} +*/ +/* +for(i=0;i<y;i++){ +((char*)dst)[length-y+i]=((char*)src)[length-y+i]; +} +*/ +for(i=0x0;i<length;i++) +((char*)dst)[i]=((char*)src)[i]; + +return((void*)dst); +} + +intmemcmp(constvoid*dst,constvoid*src,size_tlength) +{ +size_tx=length>>2; +size_ty=length&0xf; +size_ti; + +for(i=0;i<x;i++) +{ +if(((unsignedlong*)dst)[i]>((unsignedlong*)src)[i]) +return1; +if(((unsignedlong*)dst)[i]<((unsignedlong*)src)[i]) +return-1; +} -while(1){ -if(string[i]=='\0') -returni; -i++; -} -return0; -} +for(i=0;i<y;i++) +{ +if(((char*)dst)[length-y+i]>((char*)src)[length-y+i]) +return1; +if(((char*)dst)[length-y+i]<((char*)src)[length-y+i]) +return-1; +} -intmemcmp(constvoid*dst,constvoid*src,size_tlength) -{ -size_tx=length>>2; -size_ty=length&0xf; -size_ti; - -for(i=0;i<x;i++) -{ -if(((unsignedlong*)dst)[i]>((unsignedlong*)src)[i]) -return1; -if(((unsignedlong*)dst)[i]<((unsignedlong*)src)[i]) -return-1; +return0; +} + +voidstrncpy(char*dest,constchar*src,size_tsize) +{ +if(size==0) +return; +do +{ +*dest=*src; +dest++;src++; +size--; } - -for(i=0;i<y;i++) -{ -if(((char*)dst)[length-y+i]>((char*)src)[length-y+i]) -return1; -if(((char*)dst)[length-y+i]<((char*)src)[length-y+i]) -return-1; -} - -return0; -} - -voidstrncpy(char*dest,constchar*src,size_tsize) -{ -if(size==0) -return; -do -{ -*dest=*src; -dest++;src++; -size--; -} -while(('\0'!=*(src-1))&&(size)); -} - -char*strstr(constchar*s,char*find){ -charc,sc; -size_tlen; - -if((c=*find++)!=0){ -len=strlen(find); -do{ -do{ -if((sc=*s++)==0) -return(NULL); -}while(sc!=c); -}while(strncmp(s,find,len)!=0); -s--; -} -return((char*)s); -} - - -/*** -$Log$ -Revision1.22006/12/0514:10:21reddawg -WorkignDistro +while(('\0'!=*(src-1))&&(size)); +} + +char*strstr(constchar*s,char*find){ +charc,sc; +size_tlen; + +if((c=*find++)!=0){ +len=strlen(find); +do{ +do{ +if((sc=*s++)==0) +return(NULL); +}while(sc!=c); +}while(strncmp(s,find,len)!=0); +s--; +} +return((char*)s); +} + + +/*** +$Log$ +Revision1.22006/12/0514:10:21reddawg +WorkignDistro + +Revision1.1.1.12006/06/0112:46:16reddawg +ubix2 + +Revision1.22005/10/1200:13:37reddawg +Removed + +Revision1.1.1.12005/09/2617:24:13reddawg +nomessage + +Revision1.62004/07/2815:05:43reddawg +Major: +Pagesnowhavestrictsecurityenforcement. +Manynulldereferenceshavebeenresolved. +Whenappsloadedpermissionssetforpagesrwandro + +Revision1.52004/07/2018:42:41flameshadow +add:strcpy() +chg:modifieddirCache.ctousestrcpy() + +Revision1.42004/07/0523:06:32reddawg +Fixens -Revision1.1.1.12006/06/0112:46:16reddawg -ubix2 +Revision1.32004/06/2823:12:58reddawg +fileformatnowcontainer:/path/to/file -Revision1.22005/10/1200:13:37reddawg -Removed +Revision1.22004/05/1914:40:58reddawg +Cleanedupsomewarningfromleavingouttypedefs -Revision1.1.1.12005/09/2617:24:13reddawg -nomessage +Revision1.1.1.12004/04/1512:07:11reddawg +UbixOSv1.0 -Revision1.62004/07/2815:05:43reddawg -Major: -Pagesnowhavestrictsecurityenforcement. -Manynulldereferenceshavebeenresolved. -Whenappsloadedpermissionssetforpagesrwandro - -Revision1.52004/07/2018:42:41flameshadow -add:strcpy() -chg:modifieddirCache.ctousestrcpy() - -Revision1.42004/07/0523:06:32reddawg -Fixens - -Revision1.32004/06/2823:12:58reddawg -fileformatnowcontainer:/path/to/file - -Revision1.22004/05/1914:40:58reddawg -Cleanedupsomewarningfromleavingouttypedefs - -Revision1.1.1.12004/04/1512:07:11reddawg -UbixOSv1.0 - -Revision1.52004/04/1316:36:33reddawg -Changedourcopyright,itisallnowunderaBSD-Stylelicense - -END -***/ - +Revision1.52004/04/1316:36:33reddawg +Changedourcopyright,itisallnowunderaBSD-Stylelicense + +END +***/ + diff --git a/doc/xml/string_8h.xml b/doc/xml/string_8h.xml index 0eb4d70..63c7acc 100644 --- a/doc/xml/string_8h.xml +++ b/doc/xml/string_8h.xml @@ -2,9 +2,10 @@ string.h - ubixos/types.h + ubixos/types.h src/sys/isa/ne2k.c src/sys/kernel/fork.c + src/sys/kernel/gen_calls.c src/sys/kernel/kern_sysctl.c src/sys/kernel/ld.c src/sys/kernel/sched.c @@ -20,81 +21,78 @@ src/sys/net/net/shell.c src/sys/pci/hd.c src/sys/sys/idt.c - src/sys/ubixfsv2/btree.cpp - src/sys/ubixfsv2/ramdrive.cpp - src/sys/ubixfsv2/ubixfs.cpp src/sys/vmm/copyvirtualspace.c src/sys/vmm/paging.c - + - - + + - + - + - + - - - - - + - + - + - + - + - + - + - + - + - + - + - + + + + + @@ -115,7 +113,7 @@ - + @@ -131,58 +129,46 @@ - - - - - - - - - + - + - + - + - + - - - - - + - + - + - - - - - + - + + + + + @@ -202,7 +188,7 @@ src - size_t + size_t length @@ -211,7 +197,7 @@ - + void * @@ -227,7 +213,7 @@ c - size_t + size_t length @@ -236,7 +222,7 @@ - + VAL WIDEVAL wmask @@ -264,7 +250,7 @@ - + vaEnd vaStart vsprintf @@ -286,7 +272,28 @@ - + + + + char * + char* strcpy + (char *dst, const char *src) + strcpy + + char * + dst + + + const char * + src + + + + + + + + int @@ -303,7 +310,7 @@ - + long @@ -328,7 +335,7 @@ - + LONG_MAX LONG_MIN NULL @@ -372,57 +379,24 @@ #ifndef_STRING_H #define_STRING_H -#include<ubixos/types.h> +#include<ubixos/types.h> -void*memcpy(void*dst,constvoid*src,size_tlength); -void*memset(void*dst,intc,size_tlength); -intstrlen(constchar*string); -intstrcmp(constchar*,constchar*); - -intsprintf(char*str,constchar*format,...); +char*strcpy(char*dst,constchar*src); + +void*memcpy(void*dst,constvoid*src,size_tlength); +void*memset(void*dst,intc,size_tlength); +intstrlen(constchar*string); +intstrcmp(constchar*,constchar*); -longstrtol(constchar*__restrictnptr,char**__restrictendptr,intbase); +intsprintf(char*str,constchar*format,...); -#endif - -/*** -$Log$ -Revision1.1.1.12006/06/0112:46:13reddawg -ubix2 - -Revision1.22005/10/1200:13:36reddawg -Removed - -Revision1.1.1.12005/09/2617:23:38reddawg -nomessage - -Revision1.52004/07/2110:02:09reddawg -devfs:renamedfunctions -devicesystem:renamedfunctions -fdc:fixedafewpotentialbugsandcleanedupsomeunusedvariables -strol:fixeddefinition -endtask:madeitprintoutfreepagedebuginfo -kmalloc:fixedahugememoryleakwehadsomeunhandleddescriptorinsertionsosomedescriptorswerelost -ld:fixedapointerconversion -file:cleanedupafewunusedvariables -sched:broketaskdeletion -kprintf:fixedogPrintfdefinition - -Revision1.42004/07/0523:06:32reddawg -Fixens - -Revision1.32004/06/0413:29:56reddawg -libc:modifiedmkdir();interface -kpanic:kPanic();nowsayskPanic:%s -system:nowrebootswhenreceivesmessageforreboot -alsowhencommandstartsdeisreceivedbysystemtheSTDisstarted - -Revision1.22004/05/2115:22:35reddawg -Cleanedup - - -END -***/ +longstrtol(constchar*__restrictnptr,char**__restrictendptr,intbase); + +#endif + +/*** +END +***/ diff --git a/doc/xml/strtok_8c.xml b/doc/xml/strtok_8c.xml index 75954ec..0491fa4 100644 --- a/doc/xml/strtok_8c.xml +++ b/doc/xml/strtok_8c.xml @@ -3,30 +3,30 @@ strtok.c lib/string.h - ubixos/types.h + ubixos/types.h - + - + - + - + - - + + - + - + - + @@ -52,9 +52,9 @@ strtok_r - fopen - sysMkDir - unlink + fopen + sysMkDir + unlink char * @@ -119,7 +119,7 @@ *****************************************************************************************/ #include<lib/string.h> -#include<ubixos/types.h> +#include<ubixos/types.h> char*strtok_r(char*s,constchar*delim,char**last){ char*spanp; diff --git a/doc/xml/strtol_8c.xml b/doc/xml/strtol_8c.xml index e3c3d56..f09609d 100644 --- a/doc/xml/strtol_8c.xml +++ b/doc/xml/strtol_8c.xml @@ -4,26 +4,26 @@ strtol.c sys/cdefs.h - + - - + + - + - + - + - + - + diff --git a/doc/xml/structDrvGeom.xml b/doc/xml/structDrvGeom.xml index a15cda2..9167ecb 100644 --- a/doc/xml/structDrvGeom.xml +++ b/doc/xml/structDrvGeom.xml @@ -5,7 +5,7 @@ fdc.h - Int8 + Int8 Int8 DrvGeom::heads heads @@ -19,7 +19,7 @@ block2Hts - Int8 + Int8 Int8 DrvGeom::spt spt @@ -34,7 +34,7 @@ fdcRw - Int8 + Int8 Int8 DrvGeom::tracks tracks diff --git a/doc/xml/structTMode__Rec.xml b/doc/xml/structTMode__Rec.xml index 52e64f5..2df567b 100644 --- a/doc/xml/structTMode__Rec.xml +++ b/doc/xml/structTMode__Rec.xml @@ -5,7 +5,7 @@ ogDisplay_VESA.h - uInt8 paddington[461] + uInt8 paddington[461] uInt8 paddington [461] TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -21,7 +21,7 @@ - uInt16 OffScreenMemSize + uInt16 OffScreenMemSize uInt16 OffScreenMemSize TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -53,7 +53,7 @@ - uInt32 physBasePtr + uInt32 physBasePtr uInt32 physBasePtr TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -69,7 +69,7 @@ - uInt8 DirectColourMode + uInt8 DirectColourMode uInt8 DirectColourMode TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -85,7 +85,7 @@ - uInt8 AlphaFieldPosition + uInt8 AlphaFieldPosition uInt8 AlphaFieldPosition TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -101,7 +101,7 @@ - uInt8 AlphaMaskSize + uInt8 AlphaMaskSize uInt8 AlphaMaskSize TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -117,7 +117,7 @@ - uInt8 BlueFieldPosition + uInt8 BlueFieldPosition uInt8 BlueFieldPosition TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -133,7 +133,7 @@ - uInt8 BlueMaskSize + uInt8 BlueMaskSize uInt8 BlueMaskSize TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -149,7 +149,7 @@ - uInt8 GreenFieldPosition + uInt8 GreenFieldPosition uInt8 GreenFieldPosition TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -165,7 +165,7 @@ - uInt8 GreenMaskSize + uInt8 GreenMaskSize uInt8 GreenMaskSize TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -181,7 +181,7 @@ - uInt8 RedFieldPosition + uInt8 RedFieldPosition uInt8 RedFieldPosition TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -197,7 +197,7 @@ - uInt8 RedMaskSize + uInt8 RedMaskSize uInt8 RedMaskSize TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -213,7 +213,7 @@ - uInt8 Reserved + uInt8 Reserved uInt8 Reserved TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -229,7 +229,7 @@ - uInt8 NumOfImagePages + uInt8 NumOfImagePages uInt8 NumOfImagePages TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -245,7 +245,7 @@ - uInt8 BankSize + uInt8 BankSize uInt8 BankSize TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -261,7 +261,7 @@ - uInt8 MemoryModel + uInt8 MemoryModel uInt8 MemoryModel TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -277,7 +277,7 @@ - uInt8 NumberOfBanks + uInt8 NumberOfBanks uInt8 NumberOfBanks TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -293,7 +293,7 @@ - uInt8 BitsPerPixel + uInt8 BitsPerPixel uInt8 BitsPerPixel TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -309,7 +309,7 @@ - uInt8 NumBitPlanes + uInt8 NumBitPlanes uInt8 NumBitPlanes TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -325,7 +325,7 @@ - uInt8 CharHeight + uInt8 CharHeight uInt8 CharHeight TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -341,7 +341,7 @@ - uInt8 CharWidth + uInt8 CharWidth uInt8 CharWidth TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -357,7 +357,7 @@ - uInt16 yRes + uInt16 yRes uInt16 yRes TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -373,7 +373,7 @@ - uInt16 xRes + uInt16 xRes uInt16 xRes TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -389,7 +389,7 @@ - uInt16 BytesPerLine + uInt16 BytesPerLine uInt16 BytesPerLine TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -421,7 +421,7 @@ - uInt16 WindowBSeg + uInt16 WindowBSeg uInt16 WindowBSeg TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -437,7 +437,7 @@ - uInt16 WindowASeg + uInt16 WindowASeg uInt16 WindowASeg TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -453,7 +453,7 @@ - uInt16 WindowSize + uInt16 WindowSize uInt16 WindowSize TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -469,7 +469,7 @@ - uInt16 Granularity + uInt16 Granularity uInt16 Granularity TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -485,7 +485,7 @@ - uInt8 WindowBFlags + uInt8 WindowBFlags uInt8 WindowBFlags TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -501,7 +501,7 @@ - uInt8 WindowAFlags + uInt8 WindowAFlags uInt8 WindowAFlags TMode_Rec::__attribute__ ((packed)) __attribute__ @@ -517,7 +517,7 @@ - uInt16 ModeAttributes + uInt16 ModeAttributes uInt16 ModeAttributes TMode_Rec::__attribute__ ((packed)) __attribute__ diff --git a/doc/xml/structTVESA__Rec.xml b/doc/xml/structTVESA__Rec.xml index b9119e2..a70be7d 100644 --- a/doc/xml/structTVESA__Rec.xml +++ b/doc/xml/structTVESA__Rec.xml @@ -5,7 +5,7 @@ ogDisplay_VESA.h - uInt8 paddington[474] + uInt8 paddington[474] uInt8 paddington [474] TVESA_Rec::__attribute__ ((packed)) __attribute__ @@ -21,7 +21,7 @@ - uInt32 OEMProductRevPtr + uInt32 OEMProductRevPtr uInt32 OEMProductRevPtr TVESA_Rec::__attribute__ ((packed)) __attribute__ @@ -37,7 +37,7 @@ - uInt32 OEMProductNamePtr + uInt32 OEMProductNamePtr uInt32 OEMProductNamePtr TVESA_Rec::__attribute__ ((packed)) __attribute__ @@ -53,7 +53,7 @@ - uInt32 OEMVendorNamePtr + uInt32 OEMVendorNamePtr uInt32 OEMVendorNamePtr TVESA_Rec::__attribute__ ((packed)) __attribute__ @@ -69,7 +69,7 @@ - uInt16 OEMSoftwareRev + uInt16 OEMSoftwareRev uInt16 OEMSoftwareRev TVESA_Rec::__attribute__ ((packed)) __attribute__ @@ -85,7 +85,7 @@ - uInt16 TotalMemory + uInt16 TotalMemory uInt16 TotalMemory TVESA_Rec::__attribute__ ((packed)) __attribute__ @@ -101,7 +101,7 @@ - uInt32 VideoModePtr + uInt32 VideoModePtr uInt32 VideoModePtr TVESA_Rec::__attribute__ ((packed)) __attribute__ @@ -117,7 +117,7 @@ - uInt32 Capabilities + uInt32 Capabilities uInt32 Capabilities TVESA_Rec::__attribute__ ((packed)) __attribute__ @@ -133,7 +133,7 @@ - uInt32 OEMStringPtr + uInt32 OEMStringPtr uInt32 OEMStringPtr TVESA_Rec::__attribute__ ((packed)) __attribute__ @@ -149,7 +149,7 @@ - uInt8 majVersion + uInt8 majVersion uInt8 majVersion TVESA_Rec::__attribute__ ((packed)) __attribute__ @@ -165,7 +165,7 @@ - uInt8 minVersion + uInt8 minVersion uInt8 minVersion TVESA_Rec::__attribute__ ((packed)) __attribute__ diff --git a/doc/xml/struct____timespec.xml b/doc/xml/struct____timespec.xml index 65f1524..7af9dbf 100644 --- a/doc/xml/struct____timespec.xml +++ b/doc/xml/struct____timespec.xml @@ -15,7 +15,7 @@ - + __time_t @@ -28,14 +28,14 @@ - + - + __timespectv_nsec __timespectv_sec diff --git a/doc/xml/structapi__msg__msg.xml b/doc/xml/structapi__msg__msg.xml index 859c3a5..d625252 100644 --- a/doc/xml/structapi__msg__msg.xml +++ b/doc/xml/structapi__msg__msg.xml @@ -104,7 +104,7 @@ - uInt16 + uInt16 uInt16 api_msg_msg::len len @@ -175,7 +175,7 @@ netconn_send - uInt16 + uInt16 uInt16 api_msg_msg::port port diff --git a/doc/xml/structarp__entry.xml b/doc/xml/structarp__entry.xml index 13c01e6..b969c4a 100644 --- a/doc/xml/structarp__entry.xml +++ b/doc/xml/structarp__entry.xml @@ -4,7 +4,7 @@ arp_entry - uInt8 + uInt8 uInt8 arp_entry::ctime ctime diff --git a/doc/xml/structarp__hdr.xml b/doc/xml/structarp__hdr.xml index e7a8d5a..fc442a0 100644 --- a/doc/xml/structarp__hdr.xml +++ b/doc/xml/structarp__hdr.xml @@ -77,7 +77,7 @@ (uInt16 opcode) PACK_STRUCT_FIELD - uInt16 + uInt16 opcode @@ -94,7 +94,7 @@ (uInt16 _hwlen_protolen) PACK_STRUCT_FIELD - uInt16 + uInt16 _hwlen_protolen @@ -111,7 +111,7 @@ (uInt16 proto) PACK_STRUCT_FIELD - uInt16 + uInt16 proto @@ -128,7 +128,7 @@ (uInt16 hwtype) PACK_STRUCT_FIELD - uInt16 + uInt16 hwtype diff --git a/doc/xml/structarpcom.xml b/doc/xml/structarpcom.xml index 500962c..a6ea75c 100644 --- a/doc/xml/structarpcom.xml +++ b/doc/xml/structarpcom.xml @@ -5,7 +5,7 @@ lnc.h - uInt8 + uInt8 uInt8 arpcom::ac_enaddr[6] [6] ac_enaddr diff --git a/doc/xml/structblockAllocationTableEntry.xml b/doc/xml/structblockAllocationTableEntry.xml index 543a324..1ad1643 100644 --- a/doc/xml/structblockAllocationTableEntry.xml +++ b/doc/xml/structblockAllocationTableEntry.xml @@ -2,7 +2,7 @@ blockAllocationTableEntry - ubixfs.h + ubixfs.h long diff --git a/doc/xml/structbootSect.xml b/doc/xml/structbootSect.xml index 6cc29b7..8b45ad9 100644 --- a/doc/xml/structbootSect.xml +++ b/doc/xml/structbootSect.xml @@ -2,10 +2,10 @@ bootSect - ubixfs.h + ubixfs.h - uInt + uInt uInt bootSect::BytesPerSector BytesPerSector @@ -18,7 +18,7 @@ - uInt8 + uInt8 uInt8 bootSect::code[479] [479] code @@ -31,7 +31,7 @@ - uInt16 + uInt16 uInt16 bootSect::fsStart fsStart @@ -44,7 +44,7 @@ - uInt8 + uInt8 uInt8 bootSect::id[6] [6] id @@ -57,7 +57,7 @@ - uInt8 + uInt8 uInt8 bootSect::jmp[4] [4] jmp @@ -70,7 +70,7 @@ - uInt32 + uInt32 uInt32 bootSect::krnl_start krnl_start @@ -83,7 +83,7 @@ - uInt + uInt uInt bootSect::SectersPerTrack SectersPerTrack @@ -96,7 +96,7 @@ - uInt16 + uInt16 uInt16 bootSect::tmp tmp @@ -109,7 +109,7 @@ - uInt16 + uInt16 uInt16 bootSect::tmp2 tmp2 @@ -122,7 +122,7 @@ - uInt + uInt uInt bootSect::TotalHeads TotalHeads @@ -135,7 +135,7 @@ - uInt32 + uInt32 uInt32 bootSect::TotalSectors TotalSectors @@ -148,7 +148,7 @@ - uInt16 + uInt16 uInt16 bootSect::version version diff --git a/doc/xml/structbsd__disklabel.xml b/doc/xml/structbsd__disklabel.xml index 51cb1ff..75ea078 100644 --- a/doc/xml/structbsd__disklabel.xml +++ b/doc/xml/structbsd__disklabel.xml @@ -6,7 +6,7 @@ bsd_disklabel::partition - u_int32_t + u_int32_t u_int32_t bsd_disklabel::d_acylinders d_acylinders @@ -19,7 +19,7 @@ - u_int32_t + u_int32_t u_int32_t bsd_disklabel::d_bbsize d_bbsize @@ -32,7 +32,7 @@ - u_int16_t + u_int16_t u_int16_t bsd_disklabel::d_checksum d_checksum @@ -45,7 +45,7 @@ - u_int16_t + u_int16_t u_int16_t bsd_disklabel::d_cylskew d_cylskew @@ -58,7 +58,7 @@ - u_int32_t + u_int32_t u_int32_t bsd_disklabel::d_drivedata[NDDATA] [NDDATA] d_drivedata @@ -71,7 +71,7 @@ - u_int32_t + u_int32_t u_int32_t bsd_disklabel::d_flags d_flags @@ -84,7 +84,7 @@ - u_int32_t + u_int32_t u_int32_t bsd_disklabel::d_headswitch d_headswitch @@ -97,7 +97,7 @@ - u_int16_t + u_int16_t u_int16_t bsd_disklabel::d_interleave d_interleave @@ -110,7 +110,7 @@ - u_int32_t + u_int32_t u_int32_t bsd_disklabel::d_magic d_magic @@ -123,7 +123,7 @@ - u_int32_t + u_int32_t u_int32_t bsd_disklabel::d_magic2 d_magic2 @@ -136,7 +136,7 @@ - u_int32_t + u_int32_t u_int32_t bsd_disklabel::d_ncylinders d_ncylinders @@ -149,7 +149,7 @@ - u_int16_t + u_int16_t u_int16_t bsd_disklabel::d_npartitions d_npartitions @@ -163,7 +163,7 @@ initHardDisk - u_int32_t + u_int32_t u_int32_t bsd_disklabel::d_nsectors d_nsectors @@ -176,7 +176,7 @@ - u_int32_t + u_int32_t u_int32_t bsd_disklabel::d_ntracks d_ntracks @@ -216,7 +216,7 @@ initHardDisk - u_int16_t + u_int16_t u_int16_t bsd_disklabel::d_rpm d_rpm @@ -229,7 +229,7 @@ - u_int32_t + u_int32_t u_int32_t bsd_disklabel::d_sbsize d_sbsize @@ -242,7 +242,7 @@ - u_int32_t + u_int32_t u_int32_t bsd_disklabel::d_secpercyl d_secpercyl @@ -255,7 +255,7 @@ - u_int32_t + u_int32_t u_int32_t bsd_disklabel::d_secperunit d_secperunit @@ -268,7 +268,7 @@ - u_int32_t + u_int32_t u_int32_t bsd_disklabel::d_secsize d_secsize @@ -281,7 +281,7 @@ - u_int32_t + u_int32_t u_int32_t bsd_disklabel::d_spare[NSPARE] [NSPARE] d_spare @@ -294,7 +294,7 @@ - u_int16_t + u_int16_t u_int16_t bsd_disklabel::d_sparespercyl d_sparespercyl @@ -307,7 +307,7 @@ - u_int16_t + u_int16_t u_int16_t bsd_disklabel::d_sparespertrack d_sparespertrack @@ -320,7 +320,7 @@ - u_int16_t + u_int16_t u_int16_t bsd_disklabel::d_subtype d_subtype @@ -333,7 +333,7 @@ - u_int16_t + u_int16_t u_int16_t bsd_disklabel::d_trackskew d_trackskew @@ -346,7 +346,7 @@ - u_int32_t + u_int32_t u_int32_t bsd_disklabel::d_trkseek d_trkseek @@ -359,7 +359,7 @@ - u_int16_t + u_int16_t u_int16_t bsd_disklabel::d_type d_type @@ -390,14 +390,14 @@ - + - + d_partitions - + diff --git a/doc/xml/structbsd__disklabel_1_1partition.xml b/doc/xml/structbsd__disklabel_1_1partition.xml index ab15a9f..1ad3fa3 100644 --- a/doc/xml/structbsd__disklabel_1_1partition.xml +++ b/doc/xml/structbsd__disklabel_1_1partition.xml @@ -5,7 +5,7 @@ hd.h - u_int16_t + u_int16_t u_int16_t bsd_disklabel::partition::p_cpg p_cpg @@ -18,7 +18,7 @@ - u_int8_t + u_int8_t u_int8_t bsd_disklabel::partition::p_frag p_frag @@ -31,7 +31,7 @@ - u_int32_t + u_int32_t u_int32_t bsd_disklabel::partition::p_fsize p_fsize @@ -44,7 +44,7 @@ - u_int8_t + u_int8_t u_int8_t bsd_disklabel::partition::p_fstype p_fstype @@ -58,7 +58,7 @@ initHardDisk - u_int32_t + u_int32_t u_int32_t bsd_disklabel::partition::p_offset p_offset @@ -72,7 +72,7 @@ initHardDisk - u_int32_t + u_int32_t u_int32_t bsd_disklabel::partition::p_size p_size diff --git a/doc/xml/structcacheNode.xml b/doc/xml/structcacheNode.xml index c3eb025..177f380 100644 --- a/doc/xml/structcacheNode.xml +++ b/doc/xml/structcacheNode.xml @@ -5,7 +5,7 @@ dirCache.h - uInt16 * + uInt16 * uInt16* cacheNode::attributes attributes @@ -80,6 +80,7 @@ openFileUbixFS + readUbixFS ubixfs_cacheDelete ubixfs_cacheFind ubixfs_cacheNew @@ -135,7 +136,7 @@ ubixfs_cacheNew - uInt16 * + uInt16 * uInt16* cacheNode::permissions permissions @@ -164,6 +165,7 @@ openFileUbixFS + readUbixFS ubixfs_cacheFind ubixfs_cacheNew ubixfs_initialize @@ -202,7 +204,7 @@ ubixfs_initialize - uInt32 * + uInt32 * uInt32* cacheNode::startCluster startCluster @@ -224,10 +226,10 @@ - + - + prev next parent diff --git a/doc/xml/structclose__args.xml b/doc/xml/structclose__args.xml index aec2eb6..ac541e0 100644 --- a/doc/xml/structclose__args.xml +++ b/doc/xml/structclose__args.xml @@ -15,8 +15,8 @@ - - close + + close char @@ -29,7 +29,7 @@ - + char @@ -42,14 +42,14 @@ - + - + close_argsfd close_argsfd_l_ diff --git a/doc/xml/structconfadd.xml b/doc/xml/structconfadd.xml index eeed9ed..9f5d51a 100644 --- a/doc/xml/structconfadd.xml +++ b/doc/xml/structconfadd.xml @@ -5,7 +5,7 @@ pci.h - uInt8 + uInt8 uInt8 confadd::bus bus @@ -20,7 +20,7 @@ pci_init - uInt8 + uInt8 uInt8 confadd::dev dev @@ -34,7 +34,7 @@ - uInt8 + uInt8 uInt8 confadd::enable enable @@ -48,7 +48,7 @@ - uInt8 + uInt8 uInt8 confadd::func func @@ -63,7 +63,7 @@ pci_init - uInt8 + uInt8 uInt8 confadd::reg reg @@ -77,7 +77,7 @@ - uInt8 + uInt8 uInt8 confadd::rsvd rsvd diff --git a/doc/xml/structcpuinfo__t.xml b/doc/xml/structcpuinfo__t.xml index fb9c25a..7b932f3 100644 --- a/doc/xml/structcpuinfo__t.xml +++ b/doc/xml/structcpuinfo__t.xml @@ -5,7 +5,7 @@ smp.h - uInt8 + uInt8 uInt8 cpuinfo_t::apic_id apic_id @@ -19,7 +19,7 @@ cpuInfo - uInt8 + uInt8 uInt8 cpuinfo_t::apic_ver apic_ver @@ -47,7 +47,7 @@ cpuInfo - uInt32 + uInt32 uInt32 cpuinfo_t::feature feature @@ -61,7 +61,7 @@ cpuInfo - uInt8 + uInt8 uInt8 cpuinfo_t::id id @@ -90,7 +90,7 @@ cpuInfo - uInt32 + uInt32 uInt32 cpuinfo_t::max max @@ -104,7 +104,7 @@ cpuInfo - uInt8 + uInt8 uInt8 cpuinfo_t::ok ok @@ -118,7 +118,7 @@ cpuInfo - uInt32 + uInt32 uInt32 cpuinfo_t::signature signature diff --git a/doc/xml/structcsum.xml b/doc/xml/structcsum.xml index 8220c0b..317abf2 100644 --- a/doc/xml/structcsum.xml +++ b/doc/xml/structcsum.xml @@ -5,7 +5,7 @@ ufs.h - int32_t + int32_t int32_t csum::cs_nbfree cs_nbfree @@ -18,7 +18,7 @@ - int32_t + int32_t int32_t csum::cs_ndir cs_ndir @@ -31,7 +31,7 @@ - int32_t + int32_t int32_t csum::cs_nffree cs_nffree @@ -44,7 +44,7 @@ - int32_t + int32_t int32_t csum::cs_nifree cs_nifree diff --git a/doc/xml/structcsum__total.xml b/doc/xml/structcsum__total.xml index 14a11c9..854cd11 100644 --- a/doc/xml/structcsum__total.xml +++ b/doc/xml/structcsum__total.xml @@ -5,7 +5,7 @@ ufs.h - int64_t + int64_t int64_t csum_total::cs_nbfree cs_nbfree @@ -18,7 +18,7 @@ - int64_t + int64_t int64_t csum_total::cs_ndir cs_ndir @@ -31,7 +31,7 @@ - int64_t + int64_t int64_t csum_total::cs_nffree cs_nffree @@ -44,7 +44,7 @@ - int64_t + int64_t int64_t csum_total::cs_nifree cs_nifree @@ -57,7 +57,7 @@ - int64_t + int64_t int64_t csum_total::cs_numclusters cs_numclusters @@ -70,7 +70,7 @@ - int64_t + int64_t int64_t csum_total::cs_spare[3] [3] cs_spare diff --git a/doc/xml/structdevfs__devices.xml b/doc/xml/structdevfs__devices.xml index 8ca65cf..1bebd89 100644 --- a/doc/xml/structdevfs__devices.xml +++ b/doc/xml/structdevfs__devices.xml @@ -5,7 +5,7 @@ devfs.h - uInt16 + uInt16 uInt16 devfs_devices::devMajor devMajor @@ -22,7 +22,7 @@ devfs_write - uInt16 + uInt16 uInt16 devfs_devices::devMinor devMinor @@ -54,7 +54,7 @@ devfs_open - uInt8 + uInt8 uInt8 devfs_devices::devType devType @@ -102,10 +102,10 @@ - + - + prev next diff --git a/doc/xml/structdevfs__info.xml b/doc/xml/structdevfs__info.xml index ef5e1bb..017853d 100644 --- a/doc/xml/structdevfs__info.xml +++ b/doc/xml/structdevfs__info.xml @@ -26,18 +26,18 @@ - + - + prev next - + - + deviceList diff --git a/doc/xml/structdevice.xml b/doc/xml/structdevice.xml index 71ed6d9..ccf907f 100644 --- a/doc/xml/structdevice.xml +++ b/doc/xml/structdevice.xml @@ -5,7 +5,7 @@ device.old.h - uInt16 + uInt16 uInt16 device::ioAddr ioAddr @@ -26,7 +26,7 @@ PCtoNIC - uInt32 + uInt32 uInt32 device::irq irq @@ -42,7 +42,7 @@ ne2k_init - uInt32 + uInt32 uInt32 device::mtu mtu @@ -86,21 +86,21 @@ - + - + - + - + priv - + net diff --git a/doc/xml/structdevice__interface.xml b/doc/xml/structdevice__interface.xml index 528c228..5daebbf 100644 --- a/doc/xml/structdevice__interface.xml +++ b/doc/xml/structdevice__interface.xml @@ -2,7 +2,7 @@ device_interface - device.h + device.h void * @@ -18,10 +18,14 @@ devfs_read devfs_write + dskread initHardDisk syncBat ubixfs_initialize + ubixfs_loadData + ubixFSmkDir ubixFSUnlink + writeUbixFS int(* @@ -40,7 +44,7 @@ initHardDisk - uInt8 + uInt8 uInt8 device_interface::initialized initialized @@ -97,10 +101,14 @@ devfs_read devfs_write + dskread fdc_init initHardDisk + openFileUbixFS ubixfs_initialize + ubixfs_loadData ubixFSUnlink + writeUbixFS void(* @@ -118,7 +126,7 @@ initHardDisk - uInt32 + uInt32 uInt32 device_interface::size size @@ -189,7 +197,9 @@ fdc_init initHardDisk syncBat + ubixFSmkDir ubixFSUnlink + writeUbixFS diff --git a/doc/xml/structdevice__node.xml b/doc/xml/structdevice__node.xml index 02331fd..5e22c58 100644 --- a/doc/xml/structdevice__node.xml +++ b/doc/xml/structdevice__node.xml @@ -2,21 +2,8 @@ device_node - device.h + device.h - - device_t * - struct device_t* device_node::devInfo - - devInfo - - - - - - - - device_interface * struct device_interface* device_node::devInfo @@ -34,22 +21,14 @@ devfs_write device_add device_find + dskread + openFileUbixFS syncBat ubixfs_initialize + ubixfs_loadData + ubixFSmkDir ubixFSUnlink - - - device_resource * - struct device_resource* device_node::devRec - - devRec - - - - - - - + writeUbixFS device_resource * @@ -90,19 +69,6 @@ - - - - device_node * - struct device_node* device_node::next - - next - - - - - - device_add device_find @@ -119,19 +85,6 @@ - - - - device_node * - struct device_node* device_node::prev - - prev - - - - - - device_add @@ -155,46 +108,35 @@ - + - + - + devRec - + devInfo - - devInfo - - + prev next - + - - - - device_nodedevInfo - device_nodedevInfo - device_nodedevRec device_nodedevRec device_nodeminor device_nodenext - device_nodenext - device_nodeprev device_nodeprev device_nodetype diff --git a/doc/xml/structdevice__resource.xml b/doc/xml/structdevice__resource.xml index c7eec5b..73b0557 100644 --- a/doc/xml/structdevice__resource.xml +++ b/doc/xml/structdevice__resource.xml @@ -2,10 +2,10 @@ device_resource - device.h + device.h - uInt8 + uInt8 uInt8 device_resource::irq irq diff --git a/doc/xml/structdirectoryEntry.xml b/doc/xml/structdirectoryEntry.xml index d8f578b..c56655a 100644 --- a/doc/xml/structdirectoryEntry.xml +++ b/doc/xml/structdirectoryEntry.xml @@ -2,10 +2,10 @@ directoryEntry - ubixfs.h + ubixfs.h - uInt16 + uInt16 uInt16 directoryEntry::attributes attributes @@ -19,7 +19,7 @@ ubixFSmkDir - uInt32 + uInt32 uInt32 directoryEntry::creationDate creationDate @@ -49,7 +49,7 @@ writeUbixFS - uInt32 + uInt32 uInt32 directoryEntry::gid gid @@ -62,7 +62,7 @@ - uInt32 + uInt32 uInt32 directoryEntry::lastModified lastModified @@ -75,7 +75,7 @@ - uInt16 + uInt16 uInt16 directoryEntry::permissions permissions @@ -89,7 +89,7 @@ ubixFSmkDir - uInt32 + uInt32 uInt32 directoryEntry::size size @@ -104,7 +104,7 @@ writeUbixFS - uInt32 + uInt32 uInt32 directoryEntry::startCluster startCluster @@ -119,7 +119,7 @@ writeUbixFS - uInt32 + uInt32 uInt32 directoryEntry::uid uid diff --git a/doc/xml/structdirectoryList.xml b/doc/xml/structdirectoryList.xml index a8ecf57..d96eed8 100644 --- a/doc/xml/structdirectoryList.xml +++ b/doc/xml/structdirectoryList.xml @@ -2,10 +2,10 @@ directoryList - ubixfs.h + ubixfs.h - uInt32 + uInt32 uInt32 directoryList::dirBlock dirBlock @@ -79,10 +79,10 @@ - + - + prev next diff --git a/doc/xml/structdirent.xml b/doc/xml/structdirent.xml index 619d2ad..950bf4a 100644 --- a/doc/xml/structdirent.xml +++ b/doc/xml/structdirent.xml @@ -16,7 +16,7 @@ - fsfind + fsfind char @@ -30,7 +30,7 @@ - fsfind + fsfind __uint8_t @@ -57,7 +57,7 @@ - fsfind + fsfind __uint8_t @@ -71,7 +71,7 @@ - fsfind + fsfind diff --git a/doc/xml/structdmadat.xml b/doc/xml/structdmadat.xml index 90ce970..c6a8b3e 100644 --- a/doc/xml/structdmadat.xml +++ b/doc/xml/structdmadat.xml @@ -2,7 +2,7 @@ dmadat - file.h + file.h char @@ -16,6 +16,7 @@ + fsread char @@ -29,6 +30,7 @@ + fsread char @@ -42,6 +44,8 @@ + ffs_read + fsread char diff --git a/doc/xml/structdos__partition.xml b/doc/xml/structdos__partition.xml index a135145..0c2829f 100644 --- a/doc/xml/structdos__partition.xml +++ b/doc/xml/structdos__partition.xml @@ -83,7 +83,7 @@ - uInt32 + uInt32 uInt32 dos_partition::dp_size dp_size @@ -109,7 +109,7 @@ - uInt32 + uInt32 uInt32 dos_partition::dp_start dp_start diff --git a/doc/xml/structdp__rcvhdr.xml b/doc/xml/structdp__rcvhdr.xml index 48d797d..1e352ea 100644 --- a/doc/xml/structdp__rcvhdr.xml +++ b/doc/xml/structdp__rcvhdr.xml @@ -5,7 +5,7 @@ ne2k.h - uInt8 + uInt8 uInt8 dp_rcvhdr::dr_next dr_next @@ -18,7 +18,7 @@ - uInt8 + uInt8 uInt8 dp_rcvhdr::dr_rbch dr_rbch @@ -31,7 +31,7 @@ - uInt8 + uInt8 uInt8 dp_rcvhdr::dr_rbcl dr_rbcl @@ -44,7 +44,7 @@ - uInt8 + uInt8 uInt8 dp_rcvhdr::dr_status dr_status diff --git a/doc/xml/structdriverType.xml b/doc/xml/structdriverType.xml index a31563a..de756d1 100644 --- a/doc/xml/structdriverType.xml +++ b/doc/xml/structdriverType.xml @@ -36,14 +36,14 @@ - + - + - + methods diff --git a/doc/xml/structei__device.xml b/doc/xml/structei__device.xml index b650ebf..1f19580 100644 --- a/doc/xml/structei__device.xml +++ b/doc/xml/structei__device.xml @@ -18,7 +18,7 @@ - uInt32 + uInt32 uInt32 ei_device::pingPong pingPong @@ -96,7 +96,7 @@ - uInt16 + uInt16 uInt16 ei_device::word16 word16 diff --git a/doc/xml/structelfDynSym.xml b/doc/xml/structelfDynSym.xml index 85ab58e..cab0ad6 100644 --- a/doc/xml/structelfDynSym.xml +++ b/doc/xml/structelfDynSym.xml @@ -5,7 +5,7 @@ elf.h - uInt32 + uInt32 uInt32 elfDynSym::dynInfo dynInfo @@ -18,7 +18,7 @@ - uInt32 + uInt32 uInt32 elfDynSym::dynName dynName @@ -31,7 +31,7 @@ - uInt32 + uInt32 uInt32 elfDynSym::dynSize dynSize @@ -44,7 +44,7 @@ - uInt32 + uInt32 uInt32 elfDynSym::dynValue dynValue diff --git a/doc/xml/structelfDynamic.xml b/doc/xml/structelfDynamic.xml index cc5d946..8b862ba 100644 --- a/doc/xml/structelfDynamic.xml +++ b/doc/xml/structelfDynamic.xml @@ -5,7 +5,7 @@ elf.h - uInt32 + uInt32 uInt32 elfDynamic::dynPtr dynPtr @@ -18,7 +18,7 @@ - uInt32 + uInt32 uInt32 elfDynamic::dynVal dynVal diff --git a/doc/xml/structelfHeader.xml b/doc/xml/structelfHeader.xml index e486fbd..8e046b4 100644 --- a/doc/xml/structelfHeader.xml +++ b/doc/xml/structelfHeader.xml @@ -5,7 +5,7 @@ elf.h - uInt16 + uInt16 uInt16 elfHeader::eEhsize eEhsize @@ -18,7 +18,7 @@ - uInt32 + uInt32 uInt32 elfHeader::eEntry eEntry @@ -32,10 +32,10 @@ execFile kmod_load ldEnable - sysExec + sysExec - uInt32 + uInt32 uInt32 elfHeader::eFlags eFlags @@ -48,7 +48,7 @@ - uInt8 + uInt8 uInt8 elfHeader::eIdent[16] [16] eIdent @@ -60,10 +60,10 @@ execFile - sysExec + sysExec - uInt16 + uInt16 uInt16 elfHeader::eMachine eMachine @@ -76,7 +76,7 @@ - uInt16 + uInt16 uInt16 elfHeader::ePhentsize ePhentsize @@ -89,7 +89,7 @@ - uInt16 + uInt16 uInt16 elfHeader::ePhnum ePhnum @@ -103,10 +103,10 @@ execFile kmod_load ldEnable - sysExec + sysExec - uInt32 + uInt32 uInt32 elfHeader::ePhoff ePhoff @@ -120,10 +120,10 @@ execFile kmod_load ldEnable - sysExec + sysExec - uInt16 + uInt16 uInt16 elfHeader::eShentsize eShentsize @@ -136,7 +136,7 @@ - uInt16 + uInt16 uInt16 elfHeader::eShnum eShnum @@ -149,10 +149,10 @@ kmod_load ldEnable - sysExec + sysExec - uInt32 + uInt32 uInt32 elfHeader::eShoff eShoff @@ -165,10 +165,10 @@ kmod_load ldEnable - sysExec + sysExec - uInt16 + uInt16 uInt16 elfHeader::eShstrndx eShstrndx @@ -183,7 +183,7 @@ ldEnable - uInt16 + uInt16 uInt16 elfHeader::eType eType @@ -195,10 +195,10 @@ execFile - sysExec + sysExec - uInt32 + uInt32 uInt32 elfHeader::eVersion eVersion diff --git a/doc/xml/structelfPltInfo.xml b/doc/xml/structelfPltInfo.xml index c1846a4..e87b4a7 100644 --- a/doc/xml/structelfPltInfo.xml +++ b/doc/xml/structelfPltInfo.xml @@ -5,7 +5,7 @@ elf.h - uInt32 + uInt32 uInt32 elfPltInfo::pltInfo pltInfo @@ -18,7 +18,7 @@ - uInt32 + uInt32 uInt32 elfPltInfo::pltOffset pltOffset diff --git a/doc/xml/structelfProgramHeader.xml b/doc/xml/structelfProgramHeader.xml index cd92818..b466d9c 100644 --- a/doc/xml/structelfProgramHeader.xml +++ b/doc/xml/structelfProgramHeader.xml @@ -5,7 +5,7 @@ elf.h - uInt32 + uInt32 uInt32 elfProgramHeader::phAlign phAlign @@ -18,7 +18,7 @@ - uInt32 + uInt32 uInt32 elfProgramHeader::phFilesz phFilesz @@ -31,7 +31,7 @@ - uInt32 + uInt32 uInt32 elfProgramHeader::phFlags phFlags @@ -44,7 +44,7 @@ - uInt32 + uInt32 uInt32 elfProgramHeader::phMemsz phMemsz @@ -58,10 +58,10 @@ execFile kmod_load ldEnable - sysExec + sysExec - uInt32 + uInt32 uInt32 elfProgramHeader::phOffset phOffset @@ -74,7 +74,7 @@ - uInt32 + uInt32 uInt32 elfProgramHeader::phPaddr phPaddr @@ -87,7 +87,7 @@ - uInt32 + uInt32 uInt32 elfProgramHeader::phType phType @@ -100,7 +100,7 @@ - uInt32 + uInt32 uInt32 elfProgramHeader::phVaddr phVaddr @@ -114,7 +114,7 @@ execFile kmod_load ldEnable - sysExec + sysExec diff --git a/doc/xml/structelfSectionHeader.xml b/doc/xml/structelfSectionHeader.xml index b21464b..1b8cd6b 100644 --- a/doc/xml/structelfSectionHeader.xml +++ b/doc/xml/structelfSectionHeader.xml @@ -5,7 +5,7 @@ elf.h - uInt32 + uInt32 uInt32 elfSectionHeader::shAddr shAddr @@ -18,7 +18,7 @@ - uInt32 + uInt32 uInt32 elfSectionHeader::shAddralign shAddralign @@ -31,7 +31,7 @@ - uInt32 + uInt32 uInt32 elfSectionHeader::shEntsize shEntsize @@ -44,7 +44,7 @@ - uInt32 + uInt32 uInt32 elfSectionHeader::shFlags shFlags @@ -57,7 +57,7 @@ - uInt32 + uInt32 uInt32 elfSectionHeader::shInfo shInfo @@ -70,7 +70,7 @@ - uInt32 + uInt32 uInt32 elfSectionHeader::shLink shLink @@ -83,7 +83,7 @@ - uInt32 + uInt32 uInt32 elfSectionHeader::shName shName @@ -96,7 +96,7 @@ - uInt32 + uInt32 uInt32 elfSectionHeader::shOffset shOffset @@ -109,7 +109,7 @@ - uInt32 + uInt32 uInt32 elfSectionHeader::shSize shSize @@ -124,7 +124,7 @@ ldEnable - uInt32 + uInt32 uInt32 elfSectionHeader::shType shType diff --git a/doc/xml/structeth__addr.xml b/doc/xml/structeth__addr.xml index 0b081c9..799e3fd 100644 --- a/doc/xml/structeth__addr.xml +++ b/doc/xml/structeth__addr.xml @@ -10,7 +10,7 @@ (uInt8 addr[6]) PACK_STRUCT_FIELD - uInt8 + uInt8 addr [6] diff --git a/doc/xml/structeth__hdr.xml b/doc/xml/structeth__hdr.xml index 3ae821e..2419079 100644 --- a/doc/xml/structeth__hdr.xml +++ b/doc/xml/structeth__hdr.xml @@ -10,7 +10,7 @@ (uInt16 type) PACK_STRUCT_FIELD - uInt16 + uInt16 type diff --git a/doc/xml/structethernetif.xml b/doc/xml/structethernetif.xml index 3528111..caccb7a 100644 --- a/doc/xml/structethernetif.xml +++ b/doc/xml/structethernetif.xml @@ -25,14 +25,14 @@ - + - + - + ethaddr diff --git a/doc/xml/structfcntl__args.xml b/doc/xml/structfcntl__args.xml index 3a579e1..40f19c9 100644 --- a/doc/xml/structfcntl__args.xml +++ b/doc/xml/structfcntl__args.xml @@ -15,8 +15,8 @@ - - fcntl + + fcntl char @@ -29,7 +29,7 @@ - + char @@ -42,7 +42,7 @@ - + int @@ -55,8 +55,8 @@ - - fcntl + + fcntl char @@ -69,7 +69,7 @@ - + char @@ -82,7 +82,7 @@ - + int @@ -95,8 +95,8 @@ - - fcntl + + fcntl char @@ -109,7 +109,7 @@ - + char @@ -122,14 +122,14 @@ - + - + fcntl_argsarg fcntl_argsarg_l_ diff --git a/doc/xml/structfile.xml b/doc/xml/structfile.xml index f49cfd5..41e5e2e 100644 --- a/doc/xml/structfile.xml +++ b/doc/xml/structfile.xml @@ -15,19 +15,150 @@ - - fcntl + + fcntl pipe schedNewTask + + fileDescriptor * + fileDescriptor* file::fd + + fd + + + + + + + + pipe + read + sys_open + + + char + char file::path[1024] + [1024] + path + + + + + + + + sys_open + - + + + + + + + + + + devRec + + + devInfo + + + prev +next + + + + + + + prev +next +parent +fileListTail +fileListHead + + + + + + + partitions + + + + + + + + + + + cacheNode + + + dmadat + + + mp + + + prev +next + + + + + + + fd + + + + + + + diskLabel + + + device + + + fs + + + prev +next + + + + + + + + + + + + + + + prev +next + + + + filef_flag + filefd + filepath diff --git a/doc/xml/structfileDescriptor.xml b/doc/xml/structfileDescriptor.xml index 2b2e6bb..64f2a0f 100644 --- a/doc/xml/structfileDescriptor.xml +++ b/doc/xml/structfileDescriptor.xml @@ -35,8 +35,8 @@ - fclose - fopen + fclose + fopen off_t @@ -51,15 +51,15 @@ addDirEntry - fgetc - fopen - fputc - fread - fseek - fsfind - fsread - fwrite - ufs_openFile + fgetc + fopen + fputc + fread + fseek + fsfind + fsread + fwrite + ufs_openFile UbixFS::vfs_open @@ -74,8 +74,8 @@ - fclose - fopen + fclose + fopen size_t @@ -91,7 +91,7 @@ addDirEntry devfs_open - fsread + fsread openFileUbixFS readUbixFS UbixFS::vfs_open @@ -103,10 +103,10 @@ - + - + prev next diff --git a/doc/xml/structfileDescriptorStruct.xml b/doc/xml/structfileDescriptorStruct.xml index 25a71e3..3810a63 100644 --- a/doc/xml/structfileDescriptorStruct.xml +++ b/doc/xml/structfileDescriptorStruct.xml @@ -2,7 +2,7 @@ fileDescriptorStruct - file.h + file.h char * @@ -16,6 +16,11 @@ + devfs_read + devfs_write + fclose + fopen + writeUbixFS cacheNode * @@ -29,6 +34,8 @@ + openFileUbixFS + readUbixFS dmadat * @@ -42,6 +49,9 @@ + ffs_read + fsread + ufs_openFile int @@ -55,6 +65,7 @@ + fsread char @@ -68,9 +79,11 @@ + fopen + writeUbixFS - uInt32 + uInt32 uInt32 fileDescriptorStruct::ino ino @@ -81,9 +94,11 @@ + ufs_openFile + ufs_readFile - uInt16 + uInt16 uInt16 fileDescriptorStruct::length length @@ -96,7 +111,7 @@ - uInt16 + uInt16 uInt16 fileDescriptorStruct::mode mode @@ -107,6 +122,9 @@ + devfs_open + fopen + openFileUbixFS vfs_mountPoint * @@ -120,6 +138,22 @@ + devfs_open + dskread + fgetc + fopen + fputc + fread + freeBlocks + fwrite + getFreeBlocks + openFileUbixFS + readUbixFS + sysMkDir + ubixfs_loadData + ubixFSmkDir + writeFileByte + writeUbixFS fileDescriptorStruct * @@ -133,9 +167,11 @@ + fclose + fopen - uInt32 + uInt32 uInt32 fileDescriptorStruct::offset offset @@ -146,10 +182,20 @@ + addDirEntry + fgetc + fopen + fputc + fread + fseek + fsfind + fsread + fwrite sysFseek + ufs_openFile - uInt32 + uInt32 uInt32 fileDescriptorStruct::perms perms @@ -160,6 +206,10 @@ + execFile + openFileUbixFS + sysExec + ufs_openFile fileDescriptorStruct * @@ -173,9 +223,11 @@ + fclose + fopen - uInt32 + uInt32 uInt32 fileDescriptorStruct::resid resid @@ -188,7 +240,7 @@ - uInt32 + uInt32 uInt32 fileDescriptorStruct::size size @@ -199,10 +251,16 @@ + addDirEntry + devfs_open + fsread + openFileUbixFS + readUbixFS sysFopen + writeUbixFS - uInt32 + uInt32 uInt32 fileDescriptorStruct::start start @@ -213,9 +271,15 @@ + devfs_open + devfs_read + devfs_write + openFileUbixFS + writeFileByte + writeUbixFS - uInt16 + uInt16 uInt16 fileDescriptorStruct::status status @@ -226,6 +290,10 @@ + feof + fopen + readUbixFS + writeFileByte @@ -233,31 +301,28 @@ - + - + - + devRec - + devInfo - - devInfo - - + prev next - + - + prev next parent @@ -265,67 +330,63 @@ fileListHead - + - + partitions - + - + - + cacheNode - + dmadat - + mp - + prev next - + - + diskLabel - + device - + fs - + prev next - + - - - - - + - + - + prev next diff --git a/doc/xml/structfileSystem.xml b/doc/xml/structfileSystem.xml index 20fe27f..3864132 100644 --- a/doc/xml/structfileSystem.xml +++ b/doc/xml/structfileSystem.xml @@ -2,7 +2,7 @@ fileSystem - vfs.h + vfs.h fileSystem * @@ -16,9 +16,8 @@ - bTree::Verify - vfsFindFS - vfsRegisterFS + vfsFindFS + vfsRegisterFS fileSystem * @@ -32,7 +31,7 @@ - vfsRegisterFS + vfsRegisterFS int(* @@ -60,6 +59,7 @@ + sysMkDir int(* @@ -73,6 +73,7 @@ + fopen int(* @@ -86,6 +87,8 @@ + fgetc + fread int(* @@ -125,8 +128,8 @@ - vfsFindFS - vfsRegisterFS + vfsFindFS + vfsRegisterFS int(* @@ -140,7 +143,7 @@ - unlink + unlink int(* @@ -154,6 +157,8 @@ + fputc + fwrite @@ -161,10 +166,10 @@ not sure if we should allow function to point to NULL - + - + prev next diff --git a/doc/xml/structfs.xml b/doc/xml/structfs.xml index 388d365..73b846b 100644 --- a/doc/xml/structfs.xml +++ b/doc/xml/structfs.xml @@ -5,7 +5,7 @@ ufs.h - u_int * + u_int * u_int* fs::fs_active fs_active @@ -18,7 +18,7 @@ - int32_t + int32_t int32_t fs::fs_avgfilesize fs_avgfilesize @@ -31,7 +31,7 @@ - int32_t + int32_t int32_t fs::fs_avgfpdir fs_avgfpdir @@ -44,7 +44,7 @@ - int32_t + int32_t int32_t fs::fs_bmask fs_bmask @@ -57,7 +57,7 @@ - int32_t + int32_t int32_t fs::fs_bshift fs_bshift @@ -70,7 +70,7 @@ - int32_t + int32_t int32_t fs::fs_bsize fs_bsize @@ -83,7 +83,7 @@ - int32_t + int32_t int32_t fs::fs_cblkno fs_cblkno @@ -96,7 +96,7 @@ - int32_t + int32_t int32_t fs::fs_cgrotor fs_cgrotor @@ -109,7 +109,7 @@ - int32_t + int32_t int32_t fs::fs_cgsize fs_cgsize @@ -122,7 +122,7 @@ - int8_t + int8_t int8_t fs::fs_clean fs_clean @@ -135,7 +135,7 @@ - u_int8_t * + u_int8_t * u_int8_t* fs::fs_contigdirs fs_contigdirs @@ -148,7 +148,7 @@ - int32_t + int32_t int32_t fs::fs_contigsumsize fs_contigsumsize @@ -187,7 +187,7 @@ - int32_t + int32_t int32_t fs::fs_cssize fs_cssize @@ -213,7 +213,7 @@ - int32_t + int32_t int32_t fs::fs_dblkno fs_dblkno @@ -226,7 +226,7 @@ - int64_t + int64_t int64_t fs::fs_dsize fs_dsize @@ -239,7 +239,7 @@ - int32_t + int32_t int32_t fs::fs_firstfield fs_firstfield @@ -252,7 +252,7 @@ - int32_t + int32_t int32_t fs::fs_flags fs_flags @@ -265,7 +265,7 @@ - int32_t + int32_t int32_t fs::fs_fmask fs_fmask @@ -278,7 +278,7 @@ - int8_t + int8_t int8_t fs::fs_fmod fs_fmod @@ -291,7 +291,7 @@ - int32_t + int32_t int32_t fs::fs_fpg fs_fpg @@ -304,7 +304,7 @@ - int32_t + int32_t int32_t fs::fs_frag fs_frag @@ -317,7 +317,7 @@ - int32_t + int32_t int32_t fs::fs_fragshift fs_fragshift @@ -330,7 +330,7 @@ - int32_t + int32_t int32_t fs::fs_fsbtodb fs_fsbtodb @@ -343,7 +343,7 @@ - int32_t + int32_t int32_t fs::fs_fshift fs_fshift @@ -356,7 +356,7 @@ - int32_t + int32_t int32_t fs::fs_fsize fs_fsize @@ -369,7 +369,7 @@ - u_char + u_char u_char fs::fs_fsmnt[MAXMNTLEN] [MAXMNTLEN] fs_fsmnt @@ -382,7 +382,7 @@ - int32_t + int32_t int32_t fs::fs_iblkno fs_iblkno @@ -395,7 +395,7 @@ - int32_t + int32_t int32_t fs::fs_id[2] [2] fs_id @@ -408,7 +408,7 @@ - int32_t + int32_t int32_t fs::fs_inopb fs_inopb @@ -421,7 +421,7 @@ - int32_t + int32_t int32_t fs::fs_ipg fs_ipg @@ -434,7 +434,7 @@ - int32_t + int32_t int32_t fs::fs_magic fs_magic @@ -445,10 +445,10 @@ - fsread + fsread - int32_t + int32_t int32_t fs::fs_maxbpg fs_maxbpg @@ -461,7 +461,7 @@ - int32_t + int32_t int32_t fs::fs_maxbsize fs_maxbsize @@ -474,7 +474,7 @@ - int32_t * + int32_t * int32_t* fs::fs_maxcluster fs_maxcluster @@ -487,7 +487,7 @@ - int32_t + int32_t int32_t fs::fs_maxcontig fs_maxcontig @@ -500,7 +500,7 @@ - u_int64_t + u_int64_t u_int64_t fs::fs_maxfilesize fs_maxfilesize @@ -514,7 +514,7 @@ ffs_read - int32_t + int32_t int32_t fs::fs_maxsymlinklen fs_maxsymlinklen @@ -527,7 +527,7 @@ - int32_t + int32_t int32_t fs::fs_minfree fs_minfree @@ -540,7 +540,7 @@ - int32_t + int32_t int32_t fs::fs_ncg fs_ncg @@ -553,7 +553,7 @@ - int32_t + int32_t int32_t fs::fs_nindir fs_nindir @@ -579,7 +579,7 @@ - int32_t + int32_t int32_t fs::fs_old_cgmask fs_old_cgmask @@ -592,7 +592,7 @@ - int32_t + int32_t int32_t fs::fs_old_cgoffset fs_old_cgoffset @@ -605,7 +605,7 @@ - int32_t + int32_t int32_t fs::fs_old_cpc fs_old_cpc @@ -618,7 +618,7 @@ - int32_t + int32_t int32_t fs::fs_old_cpg fs_old_cpg @@ -631,7 +631,7 @@ - int32_t + int32_t int32_t fs::fs_old_csaddr fs_old_csaddr @@ -657,7 +657,7 @@ - int32_t + int32_t int32_t fs::fs_old_dsize fs_old_dsize @@ -670,7 +670,7 @@ - int8_t + int8_t int8_t fs::fs_old_flags fs_old_flags @@ -683,7 +683,7 @@ - int32_t + int32_t int32_t fs::fs_old_inodefmt fs_old_inodefmt @@ -696,7 +696,7 @@ - int32_t + int32_t int32_t fs::fs_old_interleave fs_old_interleave @@ -709,7 +709,7 @@ - int32_t + int32_t int32_t fs::fs_old_ncyl fs_old_ncyl @@ -722,7 +722,7 @@ - int32_t + int32_t int32_t fs::fs_old_npsect fs_old_npsect @@ -735,7 +735,7 @@ - int32_t + int32_t int32_t fs::fs_old_nrpos fs_old_nrpos @@ -748,7 +748,7 @@ - int32_t + int32_t int32_t fs::fs_old_nsect fs_old_nsect @@ -761,7 +761,7 @@ - int32_t + int32_t int32_t fs::fs_old_nspf fs_old_nspf @@ -774,7 +774,7 @@ - int32_t + int32_t int32_t fs::fs_old_postblformat fs_old_postblformat @@ -787,7 +787,7 @@ - int32_t + int32_t int32_t fs::fs_old_rotdelay fs_old_rotdelay @@ -800,7 +800,7 @@ - int32_t + int32_t int32_t fs::fs_old_rps fs_old_rps @@ -813,7 +813,7 @@ - int32_t + int32_t int32_t fs::fs_old_size fs_old_size @@ -826,7 +826,7 @@ - int32_t + int32_t int32_t fs::fs_old_spc fs_old_spc @@ -839,7 +839,7 @@ - int32_t + int32_t int32_t fs::fs_old_time fs_old_time @@ -852,7 +852,7 @@ - int32_t + int32_t int32_t fs::fs_old_trackskew fs_old_trackskew @@ -865,7 +865,7 @@ - int32_t + int32_t int32_t fs::fs_optim fs_optim @@ -878,7 +878,7 @@ - int32_t + int32_t int32_t fs::fs_pad fs_pad @@ -891,7 +891,7 @@ - int64_t + int64_t int64_t fs::fs_pendingblocks fs_pendingblocks @@ -904,7 +904,7 @@ - int32_t + int32_t int32_t fs::fs_pendinginodes fs_pendinginodes @@ -917,7 +917,7 @@ - int64_t + int64_t int64_t fs::fs_qbmask fs_qbmask @@ -930,7 +930,7 @@ - int64_t + int64_t int64_t fs::fs_qfmask fs_qfmask @@ -943,7 +943,7 @@ - int8_t + int8_t int8_t fs::fs_ronly fs_ronly @@ -956,7 +956,7 @@ - int32_t + int32_t int32_t fs::fs_save_cgsize fs_save_cgsize @@ -969,7 +969,7 @@ - int32_t + int32_t int32_t fs::fs_sblkno fs_sblkno @@ -982,7 +982,7 @@ - int64_t + int64_t int64_t fs::fs_sblockloc fs_sblockloc @@ -995,7 +995,7 @@ - int32_t + int32_t int32_t fs::fs_sbsize fs_sbsize @@ -1008,7 +1008,7 @@ - int64_t + int64_t int64_t fs::fs_size fs_size @@ -1021,7 +1021,7 @@ - int32_t + int32_t int32_t fs::fs_snapinum[FSMAXSNAP] [FSMAXSNAP] fs_snapinum @@ -1034,7 +1034,7 @@ - int32_t + int32_t int32_t fs::fs_spare1[2] [2] fs_spare1 @@ -1047,7 +1047,7 @@ - int32_t + int32_t int32_t fs::fs_spare2 fs_spare2 @@ -1060,7 +1060,7 @@ - int32_t + int32_t int32_t fs::fs_spare5[2] [2] fs_spare5 @@ -1073,7 +1073,7 @@ - int32_t + int32_t int32_t fs::fs_sparecon32[26] [26] fs_sparecon32 @@ -1086,7 +1086,7 @@ - int64_t + int64_t int64_t fs::fs_sparecon64[17] [17] fs_sparecon64 @@ -1099,7 +1099,7 @@ - int32_t + int32_t int32_t fs::fs_state fs_state @@ -1112,7 +1112,7 @@ - u_int64_t + u_int64_t u_int64_t fs::fs_swuid fs_swuid @@ -1138,7 +1138,7 @@ - int32_t + int32_t int32_t fs::fs_unused_1 fs_unused_1 @@ -1151,7 +1151,7 @@ - u_char + u_char u_char fs::fs_volname[MAXVOLLEN] [MAXVOLLEN] fs_volname @@ -1169,22 +1169,22 @@ - + - + - + - + fs_old_cstotal fs_csp - + fs_cstotal diff --git a/doc/xml/structfstat__args.xml b/doc/xml/structfstat__args.xml index ef5b84d..c83daf6 100644 --- a/doc/xml/structfstat__args.xml +++ b/doc/xml/structfstat__args.xml @@ -15,8 +15,8 @@ - - fstat + + fstat char @@ -29,7 +29,7 @@ - + char @@ -42,7 +42,7 @@ - + stat * @@ -55,8 +55,8 @@ - - fstat + + fstat char @@ -69,7 +69,7 @@ - + char @@ -82,7 +82,7 @@ - + @@ -90,19 +90,19 @@ - + - + sb - + - + fstat_argsfd fstat_argsfd_l_ diff --git a/doc/xml/structgdt__descr.xml b/doc/xml/structgdt__descr.xml index 5cd7b71..6475f1a 100644 --- a/doc/xml/structgdt__descr.xml +++ b/doc/xml/structgdt__descr.xml @@ -4,7 +4,7 @@ gdt_descr - uInt32 *base + uInt32 *base uInt32* base gdt_descr::__attribute__ ((packed)) __attribute__ @@ -22,7 +22,7 @@ - uInt16 + uInt16 uInt16 gdt_descr::limit limit diff --git a/doc/xml/structgetdtablesize__args.xml b/doc/xml/structgetdtablesize__args.xml index ae8a85c..0037b14 100644 --- a/doc/xml/structgetdtablesize__args.xml +++ b/doc/xml/structgetdtablesize__args.xml @@ -15,14 +15,14 @@ - + - + getdtablesize_argsdummy diff --git a/doc/xml/structgetgid__args.xml b/doc/xml/structgetgid__args.xml index cb6677a..9f6821c 100644 --- a/doc/xml/structgetgid__args.xml +++ b/doc/xml/structgetgid__args.xml @@ -15,14 +15,14 @@ - + - + getgid_argsdummy diff --git a/doc/xml/structgetpid__args.xml b/doc/xml/structgetpid__args.xml index 7a198cf..2c9c3a4 100644 --- a/doc/xml/structgetpid__args.xml +++ b/doc/xml/structgetpid__args.xml @@ -15,14 +15,14 @@ - + - + getpid_argsdummy diff --git a/doc/xml/structgettimeofday__args.xml b/doc/xml/structgettimeofday__args.xml index 2c4f986..85bcd04 100644 --- a/doc/xml/structgettimeofday__args.xml +++ b/doc/xml/structgettimeofday__args.xml @@ -15,7 +15,7 @@ - + char @@ -28,7 +28,7 @@ - + char @@ -41,7 +41,7 @@ - + timezone * @@ -54,7 +54,7 @@ - + char @@ -67,7 +67,7 @@ - + char @@ -80,7 +80,7 @@ - + @@ -88,26 +88,26 @@ - + - + - + tzp - + tp - + - + gettimeofday_argstp gettimeofday_argstp_l_ diff --git a/doc/xml/structgetuid__args.xml b/doc/xml/structgetuid__args.xml index 5ab98c1..f36379d 100644 --- a/doc/xml/structgetuid__args.xml +++ b/doc/xml/structgetuid__args.xml @@ -15,14 +15,14 @@ - + - + getuid_argsdummy diff --git a/doc/xml/structhostRingEntry.xml b/doc/xml/structhostRingEntry.xml index 1cef903..1d18d2f 100644 --- a/doc/xml/structhostRingEntry.xml +++ b/doc/xml/structhostRingEntry.xml @@ -49,14 +49,14 @@ - + - + - + md diff --git a/doc/xml/structi386__frame.xml b/doc/xml/structi386__frame.xml index d81418a..257634c 100644 --- a/doc/xml/structi386__frame.xml +++ b/doc/xml/structi386__frame.xml @@ -5,7 +5,7 @@ tss.h - uInt32 + uInt32 uInt32 i386_frame::cs cs @@ -18,7 +18,7 @@ - uInt32 + uInt32 uInt32 i386_frame::ds ds @@ -31,7 +31,7 @@ - uInt32 + uInt32 uInt32 i386_frame::eax eax @@ -44,7 +44,7 @@ - uInt32 + uInt32 uInt32 i386_frame::ebp ebp @@ -55,9 +55,10 @@ + sysExec - uInt32 + uInt32 uInt32 i386_frame::ebx ebx @@ -70,7 +71,7 @@ - uInt32 + uInt32 uInt32 i386_frame::ecx ecx @@ -83,7 +84,7 @@ - uInt32 + uInt32 uInt32 i386_frame::edi edi @@ -96,7 +97,7 @@ - uInt32 + uInt32 uInt32 i386_frame::edx edx @@ -109,7 +110,7 @@ - uInt32 + uInt32 uInt32 i386_frame::eip eip @@ -120,9 +121,10 @@ + sysExec - uInt32 + uInt32 uInt32 i386_frame::es es @@ -135,7 +137,7 @@ - uInt32 + uInt32 uInt32 i386_frame::esi esi @@ -148,7 +150,7 @@ - uInt32 + uInt32 uInt32 i386_frame::esp esp @@ -161,7 +163,7 @@ - uInt32 + uInt32 uInt32 i386_frame::flags flags @@ -174,7 +176,7 @@ - uInt32 + uInt32 uInt32 i386_frame::fs fs @@ -187,7 +189,7 @@ - uInt32 + uInt32 uInt32 i386_frame::gs gs @@ -200,7 +202,7 @@ - uInt32 + uInt32 uInt32 i386_frame::ss ss @@ -213,7 +215,7 @@ - uInt32 + uInt32 uInt32 i386_frame::user_esp user_esp @@ -224,9 +226,10 @@ + sysExec - uInt32 + uInt32 uInt32 i386_frame::user_ss user_ss diff --git a/doc/xml/structicmp__dur__hdr.xml b/doc/xml/structicmp__dur__hdr.xml index 72953c0..fe3caba 100644 --- a/doc/xml/structicmp__dur__hdr.xml +++ b/doc/xml/structicmp__dur__hdr.xml @@ -10,7 +10,7 @@ (uInt32 unused) PACK_STRUCT_FIELD - uInt32 + uInt32 unused @@ -27,7 +27,7 @@ (uInt16 chksum) PACK_STRUCT_FIELD - uInt16 + uInt16 chksum @@ -44,7 +44,7 @@ (uInt16 _type_code) PACK_STRUCT_FIELD - uInt16 + uInt16 _type_code diff --git a/doc/xml/structicmp__echo__hdr.xml b/doc/xml/structicmp__echo__hdr.xml index 7872c5c..16c479b 100644 --- a/doc/xml/structicmp__echo__hdr.xml +++ b/doc/xml/structicmp__echo__hdr.xml @@ -10,7 +10,7 @@ (uInt16 seqno) PACK_STRUCT_FIELD - uInt16 + uInt16 seqno @@ -27,7 +27,7 @@ (uInt16 id) PACK_STRUCT_FIELD - uInt16 + uInt16 id @@ -44,7 +44,7 @@ (uInt16 chksum) PACK_STRUCT_FIELD - uInt16 + uInt16 chksum @@ -61,7 +61,7 @@ (uInt16 _type_code) PACK_STRUCT_FIELD - uInt16 + uInt16 _type_code diff --git a/doc/xml/structicmp__te__hdr.xml b/doc/xml/structicmp__te__hdr.xml index f65e25e..101710e 100644 --- a/doc/xml/structicmp__te__hdr.xml +++ b/doc/xml/structicmp__te__hdr.xml @@ -10,7 +10,7 @@ (uInt32 unused) PACK_STRUCT_FIELD - uInt32 + uInt32 unused @@ -27,7 +27,7 @@ (uInt16 chksum) PACK_STRUCT_FIELD - uInt16 + uInt16 chksum @@ -44,7 +44,7 @@ (uInt16 _type_code) PACK_STRUCT_FIELD - uInt16 + uInt16 _type_code diff --git a/doc/xml/structin__addr.xml b/doc/xml/structin__addr.xml index 1326d68..a702f11 100644 --- a/doc/xml/structin__addr.xml +++ b/doc/xml/structin__addr.xml @@ -5,7 +5,7 @@ sockets.h - uInt32 + uInt32 uInt32 in_addr::s_addr s_addr diff --git a/doc/xml/structinitBlock.xml b/doc/xml/structinitBlock.xml index b3aba48..2dbfe2d 100644 --- a/doc/xml/structinitBlock.xml +++ b/doc/xml/structinitBlock.xml @@ -5,7 +5,7 @@ lnc.h - uInt8 + uInt8 uInt8 initBlock::ladrf[8] [8] ladrf @@ -18,7 +18,7 @@ - uInt16 + uInt16 uInt16 initBlock::mode mode @@ -31,7 +31,7 @@ - uInt8 + uInt8 uInt8 initBlock::padr[6] [6] padr @@ -44,7 +44,7 @@ - uInt16 + uInt16 uInt16 initBlock::rdra rdra @@ -57,7 +57,7 @@ - uInt16 + uInt16 uInt16 initBlock::rlen rlen @@ -70,7 +70,7 @@ - uInt16 + uInt16 uInt16 initBlock::tdra tdra @@ -83,7 +83,7 @@ - uInt16 + uInt16 uInt16 initBlock::tlen tlen diff --git a/doc/xml/structioctl__args.xml b/doc/xml/structioctl__args.xml index 1168e94..3c779f4 100644 --- a/doc/xml/structioctl__args.xml +++ b/doc/xml/structioctl__args.xml @@ -5,7 +5,7 @@ sysproto.h - u_long + u_long u_long ioctl_args::com com @@ -15,7 +15,7 @@ - + char @@ -28,7 +28,7 @@ - + char @@ -41,10 +41,10 @@ - + - caddr_t + caddr_t caddr_t ioctl_args::data data @@ -54,7 +54,7 @@ - + char @@ -67,7 +67,7 @@ - + char @@ -80,7 +80,7 @@ - + int @@ -93,7 +93,7 @@ - + char @@ -106,7 +106,7 @@ - + char @@ -119,14 +119,14 @@ - + - + ioctl_argscom ioctl_argscom_l_ diff --git a/doc/xml/structip__addr.xml b/doc/xml/structip__addr.xml index db4628e..e10a655 100644 --- a/doc/xml/structip__addr.xml +++ b/doc/xml/structip__addr.xml @@ -10,7 +10,7 @@ (uInt32 addr) PACK_STRUCT_FIELD - uInt32 + uInt32 addr diff --git a/doc/xml/structip__hdr.xml b/doc/xml/structip__hdr.xml index a3533cf..9375fd4 100644 --- a/doc/xml/structip__hdr.xml +++ b/doc/xml/structip__hdr.xml @@ -44,7 +44,7 @@ (uInt16 _chksum) PACK_STRUCT_FIELD - uInt16 + uInt16 _chksum @@ -61,7 +61,7 @@ (uInt16 _ttl_proto) PACK_STRUCT_FIELD - uInt16 + uInt16 _ttl_proto @@ -78,7 +78,7 @@ (uInt16 _offset) PACK_STRUCT_FIELD - uInt16 + uInt16 _offset @@ -95,7 +95,7 @@ (uInt16 _id) PACK_STRUCT_FIELD - uInt16 + uInt16 _id @@ -112,7 +112,7 @@ (uInt16 _len) PACK_STRUCT_FIELD - uInt16 + uInt16 _len @@ -129,7 +129,7 @@ (uInt16 _v_hl_tos) PACK_STRUCT_FIELD - uInt16 + uInt16 _v_hl_tos @@ -269,14 +269,14 @@ - + - + - + dest diff --git a/doc/xml/structissetugid__args.xml b/doc/xml/structissetugid__args.xml index 68598d4..1d6193c 100644 --- a/doc/xml/structissetugid__args.xml +++ b/doc/xml/structissetugid__args.xml @@ -15,14 +15,14 @@ - + - + issetugid_argsdummy diff --git a/doc/xml/structkmod__struct.xml b/doc/xml/structkmod__struct.xml index 8a4455d..ab29887 100644 --- a/doc/xml/structkmod__struct.xml +++ b/doc/xml/structkmod__struct.xml @@ -5,7 +5,7 @@ kmod.h - uInt32 + uInt32 uInt32 kmod_struct::address address @@ -18,7 +18,7 @@ - uInt16 + uInt16 uInt16 kmod_struct::id id @@ -70,7 +70,7 @@ - uInt16 + uInt16 uInt16 kmod_struct::refs refs @@ -88,10 +88,10 @@ - + - + prev next diff --git a/doc/xml/structlncInfo.xml b/doc/xml/structlncInfo.xml index 16145c8..f3207cf 100644 --- a/doc/xml/structlncInfo.xml +++ b/doc/xml/structlncInfo.xml @@ -162,43 +162,43 @@ - + - + - + - + arpcom - + nic - + recvRing transRings - + initBloack - + - + - + md - + diff --git a/doc/xml/structlwip__socket.xml b/doc/xml/structlwip__socket.xml index b6e61bd..083401b 100644 --- a/doc/xml/structlwip__socket.xml +++ b/doc/xml/structlwip__socket.xml @@ -44,7 +44,7 @@ lwip_recvfrom - uInt16 + uInt16 uInt16 lwip_socket::lastoffset lastoffset @@ -65,124 +65,124 @@ - + - + mutex mail - + - + - + ptr p - + fromaddr - + - + lastdata - + conn - + - + - + - + next - + tcphdr - + p - + - + next - + - + remote_ip - + next - + - + recvmbox acceptmbox mbox - + sem - + udp - + tcp - + - + mutex - + cond - + - + - + unsent unacked - + recv_data - + local_ip remote_ip - + next diff --git a/doc/xml/structmMap.xml b/doc/xml/structmMap.xml index 35040b4..ffa7a8d 100644 --- a/doc/xml/structmMap.xml +++ b/doc/xml/structmMap.xml @@ -21,7 +21,7 @@ vmmFreeProcessPages - uInt32 + uInt32 uInt32 mMap::pageAddr pageAddr @@ -35,7 +35,7 @@ vmmMemMapInit - pid_t + pid_t pid_t mMap::pid pid @@ -53,7 +53,7 @@ vmmMemMapInit - uInt16 + uInt16 uInt16 mMap::reserved reserved @@ -66,7 +66,7 @@ - uInt16 + uInt16 uInt16 mMap::status status diff --git a/doc/xml/structmds.xml b/doc/xml/structmds.xml index 12ba029..ce790d9 100644 --- a/doc/xml/structmds.xml +++ b/doc/xml/structmds.xml @@ -5,7 +5,7 @@ lnc.h - uInt16 + uInt16 uInt16 mds::md0 md0 @@ -18,7 +18,7 @@ - uInt16 + uInt16 uInt16 mds::md1 md1 @@ -44,7 +44,7 @@ - uInt16 + uInt16 uInt16 mds::md3 md3 diff --git a/doc/xml/structmemDescriptor.xml b/doc/xml/structmemDescriptor.xml index 44f14c7..f48f777 100644 --- a/doc/xml/structmemDescriptor.xml +++ b/doc/xml/structmemDescriptor.xml @@ -21,7 +21,7 @@ mergeMemBlocks - uInt32 + uInt32 uInt32 memDescriptor::limit limit @@ -79,10 +79,10 @@ - + - + prev next diff --git a/doc/xml/structmmap__args.xml b/doc/xml/structmmap__args.xml index 1bcefe1..7a66669 100644 --- a/doc/xml/structmmap__args.xml +++ b/doc/xml/structmmap__args.xml @@ -5,7 +5,7 @@ sysproto.h - caddr_t + caddr_t caddr_t mmap_args::addr addr @@ -15,8 +15,8 @@ - - mmap + + mmap char @@ -29,7 +29,7 @@ - + char @@ -42,7 +42,7 @@ - + int @@ -55,8 +55,8 @@ - - mmap + + mmap char @@ -69,7 +69,7 @@ - + char @@ -82,7 +82,7 @@ - + int @@ -95,7 +95,8 @@ - + + mmap char @@ -108,7 +109,7 @@ - + char @@ -121,10 +122,10 @@ - + - size_t + size_t size_t mmap_args::len len @@ -134,8 +135,8 @@ - - mmap + + mmap char @@ -148,7 +149,7 @@ - + char @@ -161,7 +162,7 @@ - + int @@ -174,7 +175,8 @@ - + + mmap char @@ -187,7 +189,7 @@ - + char @@ -200,10 +202,10 @@ - + - off_t + off_t off_t mmap_args::pos pos @@ -213,7 +215,8 @@ - + + mmap char @@ -226,7 +229,7 @@ - + char @@ -239,7 +242,7 @@ - + int @@ -252,7 +255,8 @@ - + + mmap char @@ -265,7 +269,7 @@ - + char @@ -278,14 +282,14 @@ - + - + mmap_argsaddr mmap_argsaddr_l_ diff --git a/doc/xml/structmpi__mbox.xml b/doc/xml/structmpi__mbox.xml index 872fe9c..0e65f6f 100644 --- a/doc/xml/structmpi__mbox.xml +++ b/doc/xml/structmpi__mbox.xml @@ -57,7 +57,7 @@ - pidType + pidType pidType mpi_mbox::pid pid @@ -89,21 +89,21 @@ - + - + next - + - + msgLast msg - + prev next diff --git a/doc/xml/structmpi__message.xml b/doc/xml/structmpi__message.xml index 60dac09..1d62e56 100644 --- a/doc/xml/structmpi__message.xml +++ b/doc/xml/structmpi__message.xml @@ -22,7 +22,7 @@ systemTask - uInt32 + uInt32 uInt32 mpi_message::header header @@ -55,7 +55,7 @@ mpi_spam - pidType + pidType pidType mpi_message::pid pid @@ -76,10 +76,10 @@ - + - + next diff --git a/doc/xml/structmunmap__args.xml b/doc/xml/structmunmap__args.xml index 2777075..e2f09e2 100644 --- a/doc/xml/structmunmap__args.xml +++ b/doc/xml/structmunmap__args.xml @@ -15,7 +15,7 @@ - + char @@ -28,7 +28,7 @@ - + char @@ -41,10 +41,10 @@ - + - size_t + size_t size_t munmap_args::len len @@ -54,7 +54,7 @@ - + char @@ -67,7 +67,7 @@ - + char @@ -80,14 +80,14 @@ - + - + munmap_argsaddr munmap_argsaddr_l_ diff --git a/doc/xml/structnetbuf.xml b/doc/xml/structnetbuf.xml index 8249fc6..8ee1fc1 100644 --- a/doc/xml/structnetbuf.xml +++ b/doc/xml/structnetbuf.xml @@ -35,7 +35,7 @@ recv_udp - uInt16 + uInt16 uInt16 netbuf::fromport fromport @@ -105,25 +105,25 @@ - + - + - + ptr p - + fromaddr - + - + next diff --git a/doc/xml/structnetconn.xml b/doc/xml/structnetconn.xml index 1ed0d75..a56be18 100644 --- a/doc/xml/structnetconn.xml +++ b/doc/xml/structnetconn.xml @@ -266,103 +266,103 @@ - + - + mutex mail - + - + - + - + - + next - + tcphdr - + p - + - + next - + - + remote_ip - + next - + - + recvmbox acceptmbox mbox - + sem - + udp - + tcp - + - + mutex - + cond - + - + - + unsent unacked - + recv_data - + local_ip remote_ip - + next diff --git a/doc/xml/structnetif.xml b/doc/xml/structnetif.xml index 9adc677..8538e0c 100644 --- a/doc/xml/structnetif.xml +++ b/doc/xml/structnetif.xml @@ -122,7 +122,7 @@ - uInt8 + uInt8 uInt8 netif::num num @@ -172,17 +172,17 @@ - + - + - + next - + netmask ip_addr gw diff --git a/doc/xml/structnicBuffer.xml b/doc/xml/structnicBuffer.xml index fe904a0..3f675b5 100644 --- a/doc/xml/structnicBuffer.xml +++ b/doc/xml/structnicBuffer.xml @@ -58,10 +58,10 @@ - + - + next diff --git a/doc/xml/structobreak__args.xml b/doc/xml/structobreak__args.xml index 6a4a47c..49ed904 100644 --- a/doc/xml/structobreak__args.xml +++ b/doc/xml/structobreak__args.xml @@ -15,8 +15,8 @@ - - obreak + + obreak char @@ -29,7 +29,7 @@ - + char @@ -42,14 +42,14 @@ - + - + obreak_argsnsize obreak_argsnsize_l_ diff --git a/doc/xml/structogModeInfo.xml b/doc/xml/structogModeInfo.xml index 971cc5d..a30a79d 100644 --- a/doc/xml/structogModeInfo.xml +++ b/doc/xml/structogModeInfo.xml @@ -5,7 +5,7 @@ ogDisplay_UbixOS.h - uInt8 paddington[461] + uInt8 paddington[461] uInt8 paddington [461] ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -21,7 +21,7 @@ - uInt16 offScreenMemSize + uInt16 offScreenMemSize uInt16 offScreenMemSize ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -53,7 +53,7 @@ - uInt32 physBasePtr + uInt32 physBasePtr uInt32 physBasePtr ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -69,7 +69,7 @@ - uInt8 directColourMode + uInt8 directColourMode uInt8 directColourMode ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -85,7 +85,7 @@ - uInt8 alphaFieldPosition + uInt8 alphaFieldPosition uInt8 alphaFieldPosition ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -101,7 +101,7 @@ - uInt8 alphaMaskSize + uInt8 alphaMaskSize uInt8 alphaMaskSize ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -117,7 +117,7 @@ - uInt8 blueFieldPosition + uInt8 blueFieldPosition uInt8 blueFieldPosition ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -133,7 +133,7 @@ - uInt8 blueMaskSize + uInt8 blueMaskSize uInt8 blueMaskSize ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -149,7 +149,7 @@ - uInt8 greenFieldPosition + uInt8 greenFieldPosition uInt8 greenFieldPosition ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -165,7 +165,7 @@ - uInt8 greenMaskSize + uInt8 greenMaskSize uInt8 greenMaskSize ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -181,7 +181,7 @@ - uInt8 redFieldPosition + uInt8 redFieldPosition uInt8 redFieldPosition ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -197,7 +197,7 @@ - uInt8 redMaskSize + uInt8 redMaskSize uInt8 redMaskSize ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -213,7 +213,7 @@ - uInt8 reserved + uInt8 reserved uInt8 reserved ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -229,7 +229,7 @@ - uInt8 numOfImagePages + uInt8 numOfImagePages uInt8 numOfImagePages ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -245,7 +245,7 @@ - uInt8 bankSize + uInt8 bankSize uInt8 bankSize ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -261,7 +261,7 @@ - uInt8 memoryModel + uInt8 memoryModel uInt8 memoryModel ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -277,7 +277,7 @@ - uInt8 numberOfBanks + uInt8 numberOfBanks uInt8 numberOfBanks ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -293,7 +293,7 @@ - uInt8 bitsPerPixel + uInt8 bitsPerPixel uInt8 bitsPerPixel ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -309,7 +309,7 @@ - uInt8 numBitPlanes + uInt8 numBitPlanes uInt8 numBitPlanes ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -325,7 +325,7 @@ - uInt8 charHeight + uInt8 charHeight uInt8 charHeight ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -341,7 +341,7 @@ - uInt8 charWidth + uInt8 charWidth uInt8 charWidth ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -357,7 +357,7 @@ - uInt16 yRes + uInt16 yRes uInt16 yRes ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -373,7 +373,7 @@ - uInt16 xRes + uInt16 xRes uInt16 xRes ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -389,7 +389,7 @@ - uInt16 bytesPerLine + uInt16 bytesPerLine uInt16 bytesPerLine ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -421,7 +421,7 @@ - uInt16 windowBSeg + uInt16 windowBSeg uInt16 windowBSeg ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -437,7 +437,7 @@ - uInt16 windowASeg + uInt16 windowASeg uInt16 windowASeg ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -453,7 +453,7 @@ - uInt16 windowSize + uInt16 windowSize uInt16 windowSize ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -469,7 +469,7 @@ - uInt16 granularity + uInt16 granularity uInt16 granularity ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -485,7 +485,7 @@ - uInt8 windowBFlags + uInt8 windowBFlags uInt8 windowBFlags ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -501,7 +501,7 @@ - uInt8 windowAFlags + uInt8 windowAFlags uInt8 windowAFlags ogModeInfo::__attribute__ ((packed)) __attribute__ @@ -517,7 +517,7 @@ - uInt16 modeAttributes + uInt16 modeAttributes uInt16 modeAttributes ogModeInfo::__attribute__ ((packed)) __attribute__ diff --git a/doc/xml/structogVESAInfo.xml b/doc/xml/structogVESAInfo.xml index 6f81615..fa4eb67 100644 --- a/doc/xml/structogVESAInfo.xml +++ b/doc/xml/structogVESAInfo.xml @@ -5,7 +5,7 @@ ogDisplay_UbixOS.h - uInt8 paddington[474] + uInt8 paddington[474] uInt8 paddington [474] ogVESAInfo::__attribute__ ((packed)) __attribute__ @@ -21,7 +21,7 @@ - uInt32 OEMProductRevPtr + uInt32 OEMProductRevPtr uInt32 OEMProductRevPtr ogVESAInfo::__attribute__ ((packed)) __attribute__ @@ -37,7 +37,7 @@ - uInt32 OEMProductNamePtr + uInt32 OEMProductNamePtr uInt32 OEMProductNamePtr ogVESAInfo::__attribute__ ((packed)) __attribute__ @@ -53,7 +53,7 @@ - uInt32 OEMVendorNamePtr + uInt32 OEMVendorNamePtr uInt32 OEMVendorNamePtr ogVESAInfo::__attribute__ ((packed)) __attribute__ @@ -69,7 +69,7 @@ - uInt16 OEMSoftwareRev + uInt16 OEMSoftwareRev uInt16 OEMSoftwareRev ogVESAInfo::__attribute__ ((packed)) __attribute__ @@ -85,7 +85,7 @@ - uInt16 totalMemory + uInt16 totalMemory uInt16 totalMemory ogVESAInfo::__attribute__ ((packed)) __attribute__ @@ -101,7 +101,7 @@ - uInt32 videoModePtr + uInt32 videoModePtr uInt32 videoModePtr ogVESAInfo::__attribute__ ((packed)) __attribute__ @@ -117,7 +117,7 @@ - uInt32 capabilities + uInt32 capabilities uInt32 capabilities ogVESAInfo::__attribute__ ((packed)) __attribute__ @@ -133,7 +133,7 @@ - uInt32 OEMStringPtr + uInt32 OEMStringPtr uInt32 OEMStringPtr ogVESAInfo::__attribute__ ((packed)) __attribute__ @@ -149,7 +149,7 @@ - uInt8 majVersion + uInt8 majVersion uInt8 majVersion ogVESAInfo::__attribute__ ((packed)) __attribute__ @@ -165,7 +165,7 @@ - uInt8 minVersion + uInt8 minVersion uInt8 minVersion ogVESAInfo::__attribute__ ((packed)) __attribute__ diff --git a/doc/xml/structosInfo.xml b/doc/xml/structosInfo.xml index 73c3adf..7e10acd 100644 --- a/doc/xml/structosInfo.xml +++ b/doc/xml/structosInfo.xml @@ -5,7 +5,7 @@ sched.h - uInt32 + uInt32 uInt32 osInfo::controlKeys controlKeys @@ -32,7 +32,7 @@ fork_copyProcess sysChDir sysGetCwd - sysMkDir + sysMkDir char * @@ -48,7 +48,7 @@ - uInt32 + uInt32 uInt32 osInfo::stdinSize stdinSize @@ -61,7 +61,7 @@ - uInt8 + uInt8 uInt8 osInfo::timer timer @@ -75,7 +75,7 @@ _int13 - bool + bool bool osInfo::v86If v86If @@ -89,7 +89,7 @@ _int13 - uInt8 + uInt8 uInt8 osInfo::v86Task v86Task @@ -103,7 +103,7 @@ biosCall - uInt32 + uInt32 uInt32 osInfo::vmStart vmStart @@ -117,7 +117,7 @@ execFile execThread fork_copyProcess - sysExec + sysExec vmmGetFreeVirtualPage vmmMapFromTask diff --git a/doc/xml/structpartitionInformation.xml b/doc/xml/structpartitionInformation.xml index 6cdcf6e..2e63fee 100644 --- a/doc/xml/structpartitionInformation.xml +++ b/doc/xml/structpartitionInformation.xml @@ -2,10 +2,10 @@ partitionInformation - ubixfs.h + ubixfs.h - uInt32 + uInt32 uInt32 partitionInformation::blockAllocationTable blockAllocationTable @@ -18,7 +18,7 @@ - uInt32 + uInt32 uInt32 partitionInformation::rootDirectory rootDirectory @@ -31,7 +31,7 @@ - uInt32 + uInt32 uInt32 partitionInformation::size size @@ -44,7 +44,7 @@ - uInt32 + uInt32 uInt32 partitionInformation::startSector startSector diff --git a/doc/xml/structpbuf.xml b/doc/xml/structpbuf.xml index b68c508..b3d0aa5 100644 --- a/doc/xml/structpbuf.xml +++ b/doc/xml/structpbuf.xml @@ -5,7 +5,7 @@ pbuf.h - uInt8 + uInt8 uInt8 pbuf::flags flags @@ -18,7 +18,7 @@ - uInt16 + uInt16 uInt16 pbuf::len len @@ -80,7 +80,7 @@ netbuf_ref - uInt8 + uInt8 uInt8 pbuf::ref ref @@ -93,7 +93,7 @@ - uInt16 + uInt16 uInt16 pbuf::tot_len tot_len @@ -118,10 +118,10 @@ - + - + next diff --git a/doc/xml/structpciConfig.xml b/doc/xml/structpciConfig.xml index 4a1d220..c8be4bb 100644 --- a/doc/xml/structpciConfig.xml +++ b/doc/xml/structpciConfig.xml @@ -5,7 +5,7 @@ pci.h - uInt32 + uInt32 uInt32 pciConfig::base[6] [6] base @@ -19,7 +19,7 @@ pciProbe - uInt8 + uInt8 uInt8 pciConfig::baseClass baseClass @@ -34,7 +34,7 @@ pciProbe - uInt8 + uInt8 uInt8 pciConfig::bist bist @@ -48,7 +48,7 @@ pciProbe - uInt8 + uInt8 uInt8 pciConfig::bus bus @@ -62,7 +62,7 @@ pciProbe - uInt8 + uInt8 uInt8 pciConfig::cacheLineSize cacheLineSize @@ -76,7 +76,7 @@ pciProbe - uInt16 + uInt16 uInt16 pciConfig::command command @@ -90,7 +90,7 @@ pciProbe - uInt8 + uInt8 uInt8 pciConfig::dev dev @@ -104,7 +104,7 @@ pciProbe - uInt16 + uInt16 uInt16 pciConfig::deviceId deviceId @@ -118,7 +118,7 @@ pciProbe - uInt8 + uInt8 uInt8 pciConfig::func func @@ -132,7 +132,7 @@ pciProbe - uInt8 + uInt8 uInt8 pciConfig::headerType headerType @@ -146,7 +146,7 @@ pciProbe - uInt8 + uInt8 uInt8 pciConfig::interface interface @@ -161,7 +161,7 @@ pciProbe - uInt8 + uInt8 uInt8 pciConfig::irq irq @@ -176,7 +176,7 @@ pciProbe - uInt8 + uInt8 uInt8 pciConfig::latencyTimer latencyTimer @@ -190,7 +190,7 @@ pciProbe - uInt8 + uInt8 uInt8 pciConfig::revisionId revisionId @@ -203,7 +203,7 @@ - uInt32 + uInt32 uInt32 pciConfig::size[6] [6] size @@ -217,7 +217,7 @@ pciProbe - uInt16 + uInt16 uInt16 pciConfig::status status @@ -231,7 +231,7 @@ pciProbe - uInt8 + uInt8 uInt8 pciConfig::subClass subClass @@ -246,7 +246,7 @@ pciProbe - uInt16 + uInt16 uInt16 pciConfig::subsys subsys @@ -260,7 +260,7 @@ pciProbe - uInt16 + uInt16 uInt16 pciConfig::subsysVendor subsysVendor @@ -274,7 +274,7 @@ pciProbe - uInt16 + uInt16 uInt16 pciConfig::vendorId vendorId diff --git a/doc/xml/structpipe__args.xml b/doc/xml/structpipe__args.xml index 990be95..1eed31f 100644 --- a/doc/xml/structpipe__args.xml +++ b/doc/xml/structpipe__args.xml @@ -15,14 +15,14 @@ - + - + pipe_argsdummy diff --git a/doc/xml/structreadlink__args.xml b/doc/xml/structreadlink__args.xml index d2f2c28..728bbf7 100644 --- a/doc/xml/structreadlink__args.xml +++ b/doc/xml/structreadlink__args.xml @@ -15,7 +15,7 @@ - + char @@ -28,7 +28,7 @@ - + char @@ -41,7 +41,7 @@ - + int @@ -54,8 +54,8 @@ - - readlink + + readlink char @@ -68,7 +68,7 @@ - + char @@ -81,7 +81,7 @@ - + char * @@ -94,8 +94,8 @@ - - readlink + + readlink char @@ -108,7 +108,7 @@ - + char @@ -121,14 +121,14 @@ - + - + readlink_argsbuf readlink_argsbuf_l_ diff --git a/doc/xml/structsdeWindows.xml b/doc/xml/structsdeWindows.xml index fb7fb7f..4ed7b06 100644 --- a/doc/xml/structsdeWindows.xml +++ b/doc/xml/structsdeWindows.xml @@ -31,7 +31,7 @@ - pidType + pidType pidType sdeWindows::pid pid @@ -57,7 +57,7 @@ - uInt8 + uInt8 uInt8 sdeWindows::status status @@ -75,10 +75,10 @@ - + - + prev next diff --git a/doc/xml/structsigaction__args.xml b/doc/xml/structsigaction__args.xml index 1f60b72..18c618d 100644 --- a/doc/xml/structsigaction__args.xml +++ b/doc/xml/structsigaction__args.xml @@ -15,7 +15,7 @@ - + char @@ -28,7 +28,7 @@ - + char @@ -41,7 +41,7 @@ - + sigaction * @@ -54,7 +54,7 @@ - + char @@ -67,7 +67,7 @@ - + char @@ -80,7 +80,7 @@ - + int @@ -93,7 +93,7 @@ - + char @@ -106,7 +106,7 @@ - + char @@ -119,14 +119,14 @@ - + - + sigaction_argsact sigaction_argsact_l_ diff --git a/doc/xml/structsigprocmask__args.xml b/doc/xml/structsigprocmask__args.xml index 9ab05c7..c8729b7 100644 --- a/doc/xml/structsigprocmask__args.xml +++ b/doc/xml/structsigprocmask__args.xml @@ -15,7 +15,7 @@ - + char @@ -28,7 +28,7 @@ - + char @@ -41,7 +41,7 @@ - + sigset_t * @@ -54,7 +54,7 @@ - + char @@ -67,7 +67,7 @@ - + char @@ -80,7 +80,7 @@ - + const sigset_t * @@ -93,7 +93,7 @@ - + char @@ -106,7 +106,7 @@ - + char @@ -119,7 +119,7 @@ - + @@ -127,20 +127,20 @@ - + - + oset set - + - + sigprocmask_argshow sigprocmask_argshow_l_ diff --git a/doc/xml/structsockaddr.xml b/doc/xml/structsockaddr.xml index b8df700..650cd8a 100644 --- a/doc/xml/structsockaddr.xml +++ b/doc/xml/structsockaddr.xml @@ -18,7 +18,7 @@ - uInt8 + uInt8 uInt8 sockaddr::sa_family sa_family @@ -31,7 +31,7 @@ - uInt8 + uInt8 uInt8 sockaddr::sa_len sa_len diff --git a/doc/xml/structsockaddr__in.xml b/doc/xml/structsockaddr__in.xml index 51671f5..4193eda 100644 --- a/doc/xml/structsockaddr__in.xml +++ b/doc/xml/structsockaddr__in.xml @@ -18,7 +18,7 @@ - uInt8 + uInt8 uInt8 sockaddr_in::sin_family sin_family @@ -31,7 +31,7 @@ - uInt8 + uInt8 uInt8 sockaddr_in::sin_len sin_len @@ -44,7 +44,7 @@ - uInt16 + uInt16 uInt16 sockaddr_in::sin_port sin_port @@ -75,14 +75,14 @@ - + - + sin_addr - + diff --git a/doc/xml/structstat.xml b/doc/xml/structstat.xml index 8139ae5..c9def37 100644 --- a/doc/xml/structstat.xml +++ b/doc/xml/structstat.xml @@ -15,7 +15,7 @@ - + long @@ -28,7 +28,7 @@ - + long @@ -41,7 +41,7 @@ - + unsigned @@ -55,10 +55,10 @@ - + - time_t + time_t time_t stat::st_atime st_atime @@ -68,10 +68,10 @@ - + - time_t + time_t time_t stat::st_birthtime st_birthtime @@ -81,7 +81,7 @@ - + long @@ -94,10 +94,10 @@ - + - blksize_t + blksize_t blksize_t stat::st_blksize st_blksize @@ -107,11 +107,11 @@ - - fstat + + fstat - blkcnt_t + blkcnt_t blkcnt_t stat::st_blocks st_blocks @@ -121,10 +121,10 @@ - + - time_t + time_t time_t stat::st_ctime st_ctime @@ -134,7 +134,7 @@ - + __dev_t @@ -147,10 +147,10 @@ - + - fflags_t + fflags_t fflags_t stat::st_flags st_flags @@ -160,7 +160,7 @@ - + __uint32_t @@ -173,10 +173,10 @@ - + - gid_t + gid_t gid_t stat::st_gid st_gid @@ -186,10 +186,10 @@ - + - ino_t + ino_t ino_t stat::st_ino st_ino @@ -199,7 +199,7 @@ - + __int32_t @@ -212,7 +212,7 @@ - + mode_t @@ -225,11 +225,11 @@ - - fstat + + fstat - time_t + time_t time_t stat::st_mtime st_mtime @@ -239,7 +239,7 @@ - + nlink_t @@ -252,7 +252,7 @@ - + __dev_t @@ -265,10 +265,10 @@ - + - off_t + off_t off_t stat::st_size st_size @@ -278,10 +278,10 @@ - + - uid_t + uid_t uid_t stat::st_uid st_uid @@ -291,14 +291,14 @@ - + - + stat__st_atimensec stat__st_ctimensec diff --git a/doc/xml/structsys__mbox.xml b/doc/xml/structsys__mbox.xml index 70539fb..8fbdb5c 100644 --- a/doc/xml/structsys__mbox.xml +++ b/doc/xml/structsys__mbox.xml @@ -4,7 +4,7 @@ sys_mbox - uInt16 + uInt16 uInt16 sys_mbox::first first @@ -20,7 +20,7 @@ sys_mbox_post - uInt16 + uInt16 uInt16 sys_mbox::last last @@ -90,29 +90,29 @@ - + - + mutex mail - + - + - + - + mutex - + cond diff --git a/doc/xml/structsys__mbox__msg.xml b/doc/xml/structsys__mbox__msg.xml index 341c84f..a440d01 100644 --- a/doc/xml/structsys__mbox__msg.xml +++ b/doc/xml/structsys__mbox__msg.xml @@ -35,10 +35,10 @@ - + - + next diff --git a/doc/xml/structsys__sem.xml b/doc/xml/structsys__sem.xml index 1d5e515..7d5bd15 100644 --- a/doc/xml/structsys__sem.xml +++ b/doc/xml/structsys__sem.xml @@ -59,21 +59,21 @@ - + - + - + - + mutex - + cond diff --git a/doc/xml/structsys__thread.xml b/doc/xml/structsys__thread.xml index dda2d1d..171ceb5 100644 --- a/doc/xml/structsys__thread.xml +++ b/doc/xml/structsys__thread.xml @@ -54,84 +54,166 @@ - + - + - + - + + + + + + + + + devRec + + + devInfo + + + prev +next + + + - + + + + + prev +next +parent +fileListTail +fileListHead + + + + + + + partitions + + + + + + + + + + + cacheNode + + + dmadat + + + mp + + + prev +next + + + - + next - + ubthread - + timeouts - - - - + + + + + diskLabel + + + device + + + fs + + prev next - + + + + + + prev +next + + i387 - + td - - imageFd - - + term - + + imageFd + + oInfo - + tss - - - - + + + + + + + + + next + + + + + + + + + + + + + + prev next - - - - - next - - - - - - - + - + next diff --git a/doc/xml/structsys__timeout.xml b/doc/xml/structsys__timeout.xml index 2046992..26e08ce 100644 --- a/doc/xml/structsys__timeout.xml +++ b/doc/xml/structsys__timeout.xml @@ -44,7 +44,7 @@ - uInt16 + uInt16 uInt16 sys_timeout::time time @@ -62,10 +62,10 @@ - + - + next diff --git a/doc/xml/structsys__timeouts.xml b/doc/xml/structsys__timeouts.xml index e0663c5..ce4fce6 100644 --- a/doc/xml/structsys__timeouts.xml +++ b/doc/xml/structsys__timeouts.xml @@ -24,17 +24,17 @@ - + - + next - + - + next diff --git a/doc/xml/structsysctl__args.xml b/doc/xml/structsysctl__args.xml index cb61c92..5253aac 100644 --- a/doc/xml/structsysctl__args.xml +++ b/doc/xml/structsysctl__args.xml @@ -15,8 +15,8 @@ - - __sysctl + + __sysctl char @@ -29,7 +29,7 @@ - + char @@ -42,10 +42,10 @@ - + - u_int + u_int u_int sysctl_args::namelen namelen @@ -55,8 +55,8 @@ - - __sysctl + + __sysctl char @@ -69,7 +69,7 @@ - + char @@ -82,7 +82,7 @@ - + void * @@ -95,7 +95,7 @@ - + char @@ -108,7 +108,7 @@ - + char @@ -121,10 +121,10 @@ - + - size_t + size_t size_t sysctl_args::newlen newlen @@ -134,8 +134,8 @@ - - __sysctl + + __sysctl char @@ -148,7 +148,7 @@ - + char @@ -161,7 +161,7 @@ - + void * @@ -174,8 +174,8 @@ - - __sysctl + + __sysctl char @@ -188,7 +188,7 @@ - + char @@ -201,10 +201,10 @@ - + - size_t * + size_t * size_t* sysctl_args::oldlenp oldlenp @@ -214,8 +214,8 @@ - - __sysctl + + __sysctl char @@ -228,7 +228,7 @@ - + char @@ -241,14 +241,14 @@ - + - + sysctl_argsname sysctl_argsname_l_ diff --git a/doc/xml/structsysctl__entry.xml b/doc/xml/structsysctl__entry.xml index 99cf25d..d89291c 100644 --- a/doc/xml/structsysctl__entry.xml +++ b/doc/xml/structsysctl__entry.xml @@ -16,8 +16,8 @@ - sysctl_add - sysctl_find + sysctl_add + sysctl_find sysctl_init @@ -32,8 +32,8 @@ - sysctl_add - sysctl_find + sysctl_add + sysctl_find sysctl_init @@ -48,7 +48,7 @@ - sysctl_add + sysctl_add sysctl_init @@ -63,8 +63,8 @@ - sysctl_add - sysctl_find + sysctl_add + sysctl_find sysctl_init @@ -79,7 +79,7 @@ - sysctl_add + sysctl_add sysctl_init @@ -94,8 +94,8 @@ - __sysctl - sysctl_add + __sysctl + sysctl_add void * @@ -109,8 +109,8 @@ - __sysctl - sysctl_add + __sysctl + sysctl_add @@ -118,10 +118,10 @@ - + - + prev next children diff --git a/doc/xml/structtaskStruct.xml b/doc/xml/structtaskStruct.xml index 5505f5c..e8848df 100644 --- a/doc/xml/structtaskStruct.xml +++ b/doc/xml/structtaskStruct.xml @@ -5,7 +5,7 @@ sched.h - uInt32 + uInt32 uInt32 taskStruct::gid gid @@ -18,7 +18,7 @@ execFile fork_copyProcess - getgid + getgid sysGetGid sysSetGid @@ -37,7 +37,7 @@ mathStateRestore - pidType + pidType pidType taskStruct::id id @@ -48,7 +48,7 @@ - __sysctl + __sysctl _int0 _int1 _int10 @@ -66,24 +66,24 @@ execFile execThread fork_copyProcess - getpid + getpid intNull kmod_load ldEnable - mmap + mmap mpi_createMbox mpi_destroyMbox mpi_fetchMessage mpi_postMessage netMainThread - obreak + obreak sched sched_deleteTask sched_init schedEndTask schedFindTask schedNewTask - sysExec + sysExec sysExit sysGetFreePage sysGetpid @@ -95,7 +95,7 @@ vmmGetFreeVirtualPage - fileDescriptor * + fileDescriptor * fileDescriptor* taskStruct::imageFd imageFd @@ -107,7 +107,7 @@ execThread - sysExec + sysExec systemTask @@ -147,9 +147,9 @@ execThread fork_copyProcess sysChDir - sysExec + sysExec sysGetCwd - sysMkDir + sysMkDir vmmGetFreeVirtualPage vmmMapFromTask @@ -202,15 +202,15 @@ execFile - fstat - getgid - getpid - getuid - read - readlink + fstat + getgid + getpid + getuid + readlink schedNewTask + sys_write syscall - sysExec + sysExec vmm_pageFault vmmGetFreeVirtualPage @@ -249,11 +249,11 @@ execFile execThread fork_copyProcess - sysExec + sysExec vmmMapFromTask - uInt32 + uInt32 uInt32 taskStruct::uid uid @@ -266,13 +266,13 @@ execFile fork_copyProcess - getuid + getuid sysGetUid sysPasswd sysSetUid - uInt16 + uInt16 uInt16 taskStruct::usedMath usedMath @@ -292,60 +292,142 @@ - + - + - + - - - - - - + + + + + + - prev -next + devRec - i387 + devInfo - - td - - - imageFd - - - term - - - oInfo - - - tss + + prev +next - - - + + + + + + + + prev +next +parent +fileListTail +fileListHead + + + + + + + partitions + + + + + + + + + + + cacheNode + + + dmadat + + + mp + + prev next - + + + + + diskLabel + + + device + + + fs + + + prev +next + + + + + + + prev +next + + + i387 + + + td + + + term + + + imageFd + + + oInfo + + + tss + + + + + + + + + + + + + + + + prev +next + + diff --git a/doc/xml/structtcp__hdr.xml b/doc/xml/structtcp__hdr.xml index 4735438..bb0b9f1 100644 --- a/doc/xml/structtcp__hdr.xml +++ b/doc/xml/structtcp__hdr.xml @@ -10,7 +10,7 @@ (uInt16 urgp) PACK_STRUCT_FIELD - uInt16 + uInt16 urgp @@ -27,7 +27,7 @@ (uInt16 chksum) PACK_STRUCT_FIELD - uInt16 + uInt16 chksum @@ -44,7 +44,7 @@ (uInt16 wnd) PACK_STRUCT_FIELD - uInt16 + uInt16 wnd @@ -61,7 +61,7 @@ (uInt16 _offset_flags) PACK_STRUCT_FIELD - uInt16 + uInt16 _offset_flags @@ -78,7 +78,7 @@ (uInt32 ackno) PACK_STRUCT_FIELD - uInt32 + uInt32 ackno @@ -95,7 +95,7 @@ (uInt32 seqno) PACK_STRUCT_FIELD - uInt32 + uInt32 seqno @@ -112,7 +112,7 @@ (uInt16 dest) PACK_STRUCT_FIELD - uInt16 + uInt16 dest @@ -129,7 +129,7 @@ (uInt16 src) PACK_STRUCT_FIELD - uInt16 + uInt16 src diff --git a/doc/xml/structtcp__pcb.xml b/doc/xml/structtcp__pcb.xml index 3341f23..04446f4 100644 --- a/doc/xml/structtcp__pcb.xml +++ b/doc/xml/structtcp__pcb.xml @@ -18,7 +18,7 @@ - uInt16 + uInt16 uInt16 tcp_pcb::acked acked @@ -57,7 +57,7 @@ - uInt16 + uInt16 uInt16 tcp_pcb::cwnd cwnd @@ -70,7 +70,7 @@ - uInt8 + uInt8 uInt8 tcp_pcb::dupacks dupacks @@ -96,7 +96,7 @@ - uInt8 + uInt8 uInt8 tcp_pcb::flags flags @@ -109,7 +109,7 @@ - uInt32 + uInt32 uInt32 tcp_pcb::lastack lastack @@ -136,7 +136,7 @@ netconn_addr - uInt16 + uInt16 uInt16 tcp_pcb::local_port local_port @@ -150,7 +150,7 @@ netconn_addr - uInt16 + uInt16 uInt16 tcp_pcb::mss mss @@ -176,7 +176,7 @@ - uInt8 + uInt8 uInt8 tcp_pcb::nrtx nrtx @@ -202,7 +202,7 @@ - uInt8 + uInt8 uInt8 tcp_pcb::pollinterval pollinterval @@ -215,7 +215,7 @@ - uInt8 + uInt8 uInt8 tcp_pcb::polltmr polltmr @@ -228,7 +228,7 @@ - uInt32 + uInt32 uInt32 tcp_pcb::rcv_nxt rcv_nxt @@ -241,7 +241,7 @@ - uInt16 + uInt16 uInt16 tcp_pcb::rcv_wnd rcv_wnd @@ -294,7 +294,7 @@ netconn_peer - uInt16 + uInt16 uInt16 tcp_pcb::remote_port remote_port @@ -308,7 +308,7 @@ netconn_peer - uInt8 + uInt8 uInt8 tcp_pcb::rtime rtime @@ -321,7 +321,7 @@ - uInt16 + uInt16 uInt16 tcp_pcb::rto rto @@ -334,7 +334,7 @@ - uInt32 + uInt32 uInt32 tcp_pcb::rtseq rtseq @@ -347,7 +347,7 @@ - uInt16 + uInt16 uInt16 tcp_pcb::rttest rttest @@ -360,7 +360,7 @@ - Int32 + Int32 Int32 tcp_pcb::sa sa @@ -386,7 +386,7 @@ - uInt16 + uInt16 uInt16 tcp_pcb::snd_buf snd_buf @@ -399,7 +399,7 @@ - uInt32 + uInt32 uInt32 tcp_pcb::snd_lbb snd_lbb @@ -412,7 +412,7 @@ - uInt32 + uInt32 uInt32 tcp_pcb::snd_max snd_max @@ -425,7 +425,7 @@ - uInt32 + uInt32 uInt32 tcp_pcb::snd_nxt snd_nxt @@ -438,7 +438,7 @@ - uInt8 + uInt8 uInt8 tcp_pcb::snd_queuelen snd_queuelen @@ -451,7 +451,7 @@ - uInt32 + uInt32 uInt32 tcp_pcb::snd_wl1 snd_wl1 @@ -464,7 +464,7 @@ - uInt32 + uInt32 uInt32 tcp_pcb::snd_wl2 snd_wl2 @@ -477,7 +477,7 @@ - uInt32 + uInt32 uInt32 tcp_pcb::snd_wnd snd_wnd @@ -490,7 +490,7 @@ - uInt16 + uInt16 uInt16 tcp_pcb::ssthresh ssthresh @@ -520,7 +520,7 @@ netconn_recv - Int32 + Int32 Int32 tcp_pcb::sv sv @@ -533,7 +533,7 @@ - uInt16 + uInt16 uInt16 tcp_pcb::tmr tmr @@ -578,49 +578,49 @@ - + - + - + next - + tcphdr - + p - + - + next - + - + - + unsent unacked - + recv_data - + local_ip remote_ip - + next diff --git a/doc/xml/structtcp__pcb__listen.xml b/doc/xml/structtcp__pcb__listen.xml index 9eb8280..c44d051 100644 --- a/doc/xml/structtcp__pcb__listen.xml +++ b/doc/xml/structtcp__pcb__listen.xml @@ -44,7 +44,7 @@ - uInt16 + uInt16 uInt16 tcp_pcb_listen::local_port local_port @@ -88,17 +88,17 @@ - + - + - + next - + local_ip diff --git a/doc/xml/structtcp__seg.xml b/doc/xml/structtcp__seg.xml index f6676b5..7fff47c 100644 --- a/doc/xml/structtcp__seg.xml +++ b/doc/xml/structtcp__seg.xml @@ -18,7 +18,7 @@ - uInt16 + uInt16 uInt16 tcp_seg::len len @@ -75,27 +75,27 @@ - + - + next - + tcphdr - + p - + - + next - + diff --git a/doc/xml/structtcpip__msg.xml b/doc/xml/structtcpip__msg.xml index 9b3fda7..ea7ce48 100644 --- a/doc/xml/structtcpip__msg.xml +++ b/doc/xml/structtcpip__msg.xml @@ -107,152 +107,152 @@ - + - + mutex mail - + - + - + - + - - next - - - tcphdr - - - p - - - - - - - netif - - - p - - - apimsg - - - sem - - - - - - - next - - - - - - - remote_ip - next + + tcphdr + + + p + - + + + + + netif + + + p + + + apimsg + + + sem + + + + + + + next + + + + + + + remote_ip + + + next + + + - + recvmbox acceptmbox mbox - + sem - + udp - + tcp - + - + mbox - + p - + ipaddr - + conn - + - + mutex - + cond - + - + - + unsent unacked - + recv_data - + local_ip remote_ip - + next - + - + msg - + - + next - + netmask ip_addr gw diff --git a/doc/xml/structthread.xml b/doc/xml/structthread.xml index 1e6d6fa..6abd52c 100644 --- a/doc/xml/structthread.xml +++ b/doc/xml/structthread.xml @@ -4,10 +4,10 @@ thread thread.h - - uInt32 - uInt32 thread::o_files[64] - [64] + + u_int32_t + u_int32_t thread::o_files[O_FILES] + [O_FILES] o_files @@ -15,11 +15,12 @@ - - close - falloc - fcntl - fstat + + close + falloc + fcntl + fstat + getfd schedNewTask @@ -33,19 +34,21 @@ - - __sysctl - close - fcntl - getdtablesize - getgid - getpid - getuid - ioctl - mmap + + __sysctl + close + fcntl + getdtablesize + getgid + getpid + getuid + ioctl + mmap pipe - read - readlink + read + readlink + sys_open + sys_write syscall @@ -59,15 +62,15 @@ - + execFile - obreak - sysExec + obreak + sysExec vmm_pageFault vmmGetFreeVirtualPage - int32_t + int32_t int32_t thread::vm_dsize vm_dsize @@ -77,9 +80,9 @@ - - obreak - sysExec + + obreak + sysExec vmm_pageFault vmmGetFreeVirtualPage @@ -88,9 +91,9 @@ - + - threado_files + threado_files threadtd_retval threadvm_daddr threadvm_dsize diff --git a/doc/xml/structthread__start__param.xml b/doc/xml/structthread__start__param.xml index 9430123..3f29ed5 100644 --- a/doc/xml/structthread__start__param.xml +++ b/doc/xml/structthread__start__param.xml @@ -48,91 +48,173 @@ - + - + - + - + + + + + + + + + devRec + + + devInfo + + + prev +next + + + - - - - - next - - - ubthread - - - timeouts - - - - - - - prev -next - - - i387 - - - td - - - imageFd - - - term - - - oInfo - - - tss - - - - - - - thread - - - - + + prev -next +next +parent +fileListTail +fileListHead + + + + + + + partitions + + + + + + + + cacheNode + + + dmadat + + + mp + + + prev +next + + + + + + + next + + + ubthread + + + timeouts + + + + + + + diskLabel + + + device + + + fs + + + prev +next + + + + + + + prev +next + + + i387 + + + td + + + term + + + imageFd + + + oInfo + + + tss + + + + + + + thread + + + + + + + - + next - + + + + + - + + + + + prev +next + + + - + next diff --git a/doc/xml/structtimespec.xml b/doc/xml/structtimespec.xml index d521879..521edff 100644 --- a/doc/xml/structtimespec.xml +++ b/doc/xml/structtimespec.xml @@ -19,7 +19,7 @@ cond_wait - time_t + time_t time_t timespec::tv_sec tv_sec diff --git a/doc/xml/structtssStruct.xml b/doc/xml/structtssStruct.xml index 4bf6be3..5596f93 100644 --- a/doc/xml/structtssStruct.xml +++ b/doc/xml/structtssStruct.xml @@ -347,7 +347,7 @@ execThread fork_copyProcess idt_init - sysExec + sysExec long diff --git a/doc/xml/structtty__termNode.xml b/doc/xml/structtty__termNode.xml index fc6b284..19bbfa3 100644 --- a/doc/xml/structtty__termNode.xml +++ b/doc/xml/structtty__termNode.xml @@ -5,7 +5,7 @@ tty.h - pidType + pidType pidType tty_termNode::owner owner @@ -65,7 +65,7 @@ tty_init - uInt8 + uInt8 uInt8 tty_termNode::tty_colour tty_colour @@ -96,7 +96,7 @@ tty_print - uInt16 + uInt16 uInt16 tty_termNode::tty_x tty_x @@ -113,7 +113,7 @@ tty_print - uInt16 + uInt16 uInt16 tty_termNode::tty_y tty_y diff --git a/doc/xml/structubixDiskLabel.xml b/doc/xml/structubixDiskLabel.xml index 384502b..da61c3c 100644 --- a/doc/xml/structubixDiskLabel.xml +++ b/doc/xml/structubixDiskLabel.xml @@ -2,11 +2,11 @@ ubixDiskLabel - ubixfs.h + ubixfs.h ubixDiskLabel::ubixPartitions - uInt16 + uInt16 uInt16 ubixDiskLabel::driveType driveType @@ -19,7 +19,7 @@ - uInt32 + uInt32 uInt32 ubixDiskLabel::magicNum magicNum @@ -33,7 +33,7 @@ ubixfs_initialize - uInt32 + uInt32 uInt32 ubixDiskLabel::magicNum2 magicNum2 @@ -47,7 +47,7 @@ ubixfs_initialize - uInt16 + uInt16 uInt16 ubixDiskLabel::numPartitions numPartitions @@ -73,7 +73,11 @@ syncBat ubixfs_initialize + ubixfs_loadData + ubixFSmkDir ubixFSUnlink + writeFileByte + writeUbixFS @@ -81,14 +85,14 @@ - + - + partitions - + diff --git a/doc/xml/structubixDiskLabel_1_1ubixPartitions.xml b/doc/xml/structubixDiskLabel_1_1ubixPartitions.xml index eff2819..9d3c351 100644 --- a/doc/xml/structubixDiskLabel_1_1ubixPartitions.xml +++ b/doc/xml/structubixDiskLabel_1_1ubixPartitions.xml @@ -2,10 +2,10 @@ ubixDiskLabel::ubixPartitions - ubixfs.h + ubixfs.h - uInt32 + uInt32 uInt32 ubixDiskLabel::ubixPartitions::pBatSize pBatSize @@ -17,9 +17,10 @@ ubixfs_initialize + writeFileByte - uInt8 + uInt8 uInt8 ubixDiskLabel::ubixPartitions::pFrag pFrag @@ -32,7 +33,7 @@ - uInt32 + uInt32 uInt32 ubixDiskLabel::ubixPartitions::pFsSize pFsSize @@ -45,7 +46,7 @@ - uInt8 + uInt8 uInt8 ubixDiskLabel::ubixPartitions::pFsType pFsType @@ -58,7 +59,7 @@ - uInt32 + uInt32 uInt32 ubixDiskLabel::ubixPartitions::pOffset pOffset @@ -71,7 +72,7 @@ - uInt32 + uInt32 uInt32 ubixDiskLabel::ubixPartitions::pSize pSize diff --git a/doc/xml/structubixFSInfo.xml b/doc/xml/structubixFSInfo.xml index cc79c87..32c642a 100644 --- a/doc/xml/structubixFSInfo.xml +++ b/doc/xml/structubixFSInfo.xml @@ -2,10 +2,10 @@ ubixFSInfo - ubixfs.h + ubixfs.h - uInt32 + uInt32 uInt32 ubixFSInfo::batEntries batEntries @@ -57,7 +57,7 @@ ubixfs_initialize - uInt32 + uInt32 uInt32 ubixFSInfo::rootDir rootDir diff --git a/doc/xml/structubthread.xml b/doc/xml/structubthread.xml index 11ecd26..11be555 100644 --- a/doc/xml/structubthread.xml +++ b/doc/xml/structubthread.xml @@ -23,67 +23,149 @@ - + - + - + - + + + + + + + + + devRec + + + devInfo + + + prev +next + + + - + + + + + prev +next +parent +fileListTail +fileListHead + + + + + + + partitions + + + - + task - - - - + + + + + + + + + cacheNode + + + dmadat + + + mp + + prev next - - i387 + + + + + + diskLabel - - td + + device - - imageFd - - - term + + fs + prev +next + + + + + + + prev +next + + + i387 + + + td + + + term + + + imageFd + + oInfo - + tss - - - - + + + + + + + + + + + + + + + + prev next - - - - diff --git a/doc/xml/structubthread__cond.xml b/doc/xml/structubthread__cond.xml index 7770c3f..b96fa27 100644 --- a/doc/xml/structubthread__cond.xml +++ b/doc/xml/structubthread__cond.xml @@ -19,7 +19,7 @@ ubthread_cond_init - uInt8 + uInt8 uInt8 ubthread_cond::locked locked diff --git a/doc/xml/structubthread__cond__list.xml b/doc/xml/structubthread__cond__list.xml index 26eb920..59cf9eb 100644 --- a/doc/xml/structubthread__cond__list.xml +++ b/doc/xml/structubthread__cond__list.xml @@ -36,17 +36,17 @@ - + - + next - + cond - + diff --git a/doc/xml/structubthread__list.xml b/doc/xml/structubthread__list.xml index 9a986dc..a17af2a 100644 --- a/doc/xml/structubthread__list.xml +++ b/doc/xml/structubthread__list.xml @@ -36,77 +36,159 @@ - + - + - + - + + + + + + + + + devRec + + + devInfo + + + prev +next + + + - + + + + + prev +next +parent +fileListTail +fileListHead + + + + + + + partitions + + + - + next - + thread - + - + task - - - - + + + + + + + + + cacheNode + + + dmadat + + + mp + + prev next - + + + + + + diskLabel + + + device + + + fs + + + prev +next + + + + + + + prev +next + + i387 - + td - - imageFd - - + term - + + imageFd + + oInfo - + tss - - - - + + + + + + + + + + + + + + + + prev next - - - - diff --git a/doc/xml/structubthread__mutex.xml b/doc/xml/structubthread__mutex.xml index 13a08bb..169843f 100644 --- a/doc/xml/structubthread__mutex.xml +++ b/doc/xml/structubthread__mutex.xml @@ -19,7 +19,7 @@ ubthread_mutex_init - uInt8 + uInt8 uInt8 ubthread_mutex::locked locked @@ -37,7 +37,7 @@ ubthread_mutex_unlock - pidType + pidType pidType ubthread_mutex::pid pid diff --git a/doc/xml/structubthread__mutex__list.xml b/doc/xml/structubthread__mutex__list.xml index 43ca911..737f182 100644 --- a/doc/xml/structubthread__mutex__list.xml +++ b/doc/xml/structubthread__mutex__list.xml @@ -36,17 +36,17 @@ - + - + mutex - + next - + diff --git a/doc/xml/structudp__hdr.xml b/doc/xml/structudp__hdr.xml index 7d4703d..29e2811 100644 --- a/doc/xml/structudp__hdr.xml +++ b/doc/xml/structudp__hdr.xml @@ -10,7 +10,7 @@ (uInt16 chksum) PACK_STRUCT_FIELD - uInt16 + uInt16 chksum @@ -27,7 +27,7 @@ (uInt16 len) PACK_STRUCT_FIELD - uInt16 + uInt16 len @@ -44,7 +44,7 @@ (uInt16 dest) PACK_STRUCT_FIELD - uInt16 + uInt16 dest @@ -61,7 +61,7 @@ (uInt16 src) PACK_STRUCT_FIELD - uInt16 + uInt16 src diff --git a/doc/xml/structudp__pcb.xml b/doc/xml/structudp__pcb.xml index aa5a3ab..f2305f0 100644 --- a/doc/xml/structudp__pcb.xml +++ b/doc/xml/structudp__pcb.xml @@ -5,7 +5,7 @@ udp.h - uInt16 + uInt16 uInt16 udp_pcb::chksum_len chksum_len @@ -18,7 +18,7 @@ - uInt8 + uInt8 uInt8 udp_pcb::flags flags @@ -31,7 +31,7 @@ - uInt16 + uInt16 uInt16 udp_pcb::local_port local_port @@ -99,7 +99,7 @@ netconn_peer - uInt16 + uInt16 uInt16 udp_pcb::remote_port remote_port @@ -118,17 +118,17 @@ - + - + - + remote_ip - + next diff --git a/doc/xml/structufs1__dinode.xml b/doc/xml/structufs1__dinode.xml index dc7cbee..21c283d 100644 --- a/doc/xml/structufs1__dinode.xml +++ b/doc/xml/structufs1__dinode.xml @@ -5,7 +5,7 @@ ufs.h - int32_t + int32_t int32_t ufs1_dinode::di_atime di_atime @@ -18,7 +18,7 @@ - int32_t + int32_t int32_t ufs1_dinode::di_atimensec di_atimensec @@ -31,7 +31,7 @@ - int32_t + int32_t int32_t ufs1_dinode::di_blocks di_blocks @@ -44,7 +44,7 @@ - int32_t + int32_t int32_t ufs1_dinode::di_ctime di_ctime @@ -57,7 +57,7 @@ - int32_t + int32_t int32_t ufs1_dinode::di_ctimensec di_ctimensec @@ -83,7 +83,7 @@ - u_int32_t + u_int32_t u_int32_t ufs1_dinode::di_flags di_flags @@ -96,7 +96,7 @@ - int32_t + int32_t int32_t ufs1_dinode::di_gen di_gen @@ -109,7 +109,7 @@ - u_int32_t + u_int32_t u_int32_t ufs1_dinode::di_gid di_gid @@ -135,7 +135,7 @@ - u_int16_t + u_int16_t u_int16_t ufs1_dinode::di_mode di_mode @@ -148,7 +148,7 @@ - int32_t + int32_t int32_t ufs1_dinode::di_mtime di_mtime @@ -161,7 +161,7 @@ - int32_t + int32_t int32_t ufs1_dinode::di_mtimensec di_mtimensec @@ -174,7 +174,7 @@ - int16_t + int16_t int16_t ufs1_dinode::di_nlink di_nlink @@ -187,7 +187,7 @@ - u_int64_t + u_int64_t u_int64_t ufs1_dinode::di_size di_size @@ -200,7 +200,7 @@ - int32_t + int32_t int32_t ufs1_dinode::di_spare[2] [2] di_spare @@ -226,7 +226,7 @@ - u_int32_t + u_int32_t u_int32_t ufs1_dinode::di_uid di_uid @@ -239,7 +239,7 @@ - u_int16_t + u_int16_t u_int16_t ufs1_dinode::oldids[2] [2] oldids diff --git a/doc/xml/structufs2__dinode.xml b/doc/xml/structufs2__dinode.xml index 36a02f6..542f541 100644 --- a/doc/xml/structufs2__dinode.xml +++ b/doc/xml/structufs2__dinode.xml @@ -18,7 +18,7 @@ - int32_t + int32_t int32_t ufs2_dinode::di_atimensec di_atimensec @@ -31,7 +31,7 @@ - int32_t + int32_t int32_t ufs2_dinode::di_birthnsec di_birthnsec @@ -57,7 +57,7 @@ - u_int32_t + u_int32_t u_int32_t ufs2_dinode::di_blksize di_blksize @@ -70,7 +70,7 @@ - u_int64_t + u_int64_t u_int64_t ufs2_dinode::di_blocks di_blocks @@ -96,7 +96,7 @@ - int32_t + int32_t int32_t ufs2_dinode::di_ctimensec di_ctimensec @@ -120,7 +120,7 @@ - fsread + fsread ufs2_daddr_t @@ -136,7 +136,7 @@ - int32_t + int32_t int32_t ufs2_dinode::di_extsize di_extsize @@ -149,7 +149,7 @@ - u_int32_t + u_int32_t u_int32_t ufs2_dinode::di_flags di_flags @@ -162,7 +162,7 @@ - int32_t + int32_t int32_t ufs2_dinode::di_gen di_gen @@ -175,7 +175,7 @@ - u_int32_t + u_int32_t u_int32_t ufs2_dinode::di_gid di_gid @@ -199,10 +199,10 @@ - fsread + fsread - u_int32_t + u_int32_t u_int32_t ufs2_dinode::di_kernflags di_kernflags @@ -215,7 +215,7 @@ - u_int16_t + u_int16_t u_int16_t ufs2_dinode::di_mode di_mode @@ -241,7 +241,7 @@ - int32_t + int32_t int32_t ufs2_dinode::di_mtimensec di_mtimensec @@ -254,7 +254,7 @@ - int16_t + int16_t int16_t ufs2_dinode::di_nlink di_nlink @@ -267,7 +267,7 @@ - u_int64_t + u_int64_t u_int64_t ufs2_dinode::di_size di_size @@ -278,10 +278,10 @@ - fsread + fsread - int64_t + int64_t int64_t ufs2_dinode::di_spare[3] [3] di_spare @@ -294,7 +294,7 @@ - u_int32_t + u_int32_t u_int32_t ufs2_dinode::di_uid di_uid diff --git a/doc/xml/structuserFileDescriptorStruct.xml b/doc/xml/structuserFileDescriptorStruct.xml index aa0d36b..b559e12 100644 --- a/doc/xml/structuserFileDescriptorStruct.xml +++ b/doc/xml/structuserFileDescriptorStruct.xml @@ -2,7 +2,7 @@ userFileDescriptorStruct - file.h + file.h fileDescriptorStruct * @@ -24,7 +24,7 @@ sysFwrite - uInt32 + uInt32 uInt32 userFileDescriptorStruct::fdSize fdSize @@ -43,31 +43,28 @@ - + - + - + devRec - + devInfo - - devInfo - - + prev next - + - + prev next parent @@ -75,74 +72,70 @@ fileListHead - + - + partitions - + - + - + cacheNode - + dmadat - + mp - + prev next - + - + diskLabel - + device - + fs - + prev next - + - - - - - + - + fd - + - + - + prev next diff --git a/doc/xml/structvfs__mountPoint.xml b/doc/xml/structvfs__mountPoint.xml index e3c4f25..b3aafa7 100644 --- a/doc/xml/structvfs__mountPoint.xml +++ b/doc/xml/structvfs__mountPoint.xml @@ -16,10 +16,15 @@ + dskread + openFileUbixFS syncBat ubixfs_initialize + ubixfs_loadData + ubixFSmkDir ubixFSUnlink vfs_mount + writeUbixFS ubixDiskLabel * @@ -35,7 +40,11 @@ syncBat ubixfs_initialize + ubixfs_loadData + ubixFSmkDir ubixFSUnlink + writeFileByte + writeUbixFS fileSystem * @@ -49,7 +58,13 @@ - unlink + fgetc + fopen + fputc + fread + fwrite + sysMkDir + unlink vfs_mount @@ -66,9 +81,18 @@ devfs_initialize devfs_makeNode + devfs_open + freeBlocks + getFreeBlocks + openFileUbixFS + readUbixFS syncBat ubixfs_initialize + ubixfs_loadData + ubixFSmkDir ubixFSUnlink + writeFileByte + writeUbixFS char @@ -82,7 +106,7 @@ - unlink + unlink vfs_findMount vfs_mount @@ -115,8 +139,12 @@ syncBat ubixfs_initialize + ubixfs_loadData + ubixFSmkDir ubixFSUnlink vfs_mount + writeFileByte + writeUbixFS char @@ -152,67 +180,60 @@ - + - + - + devRec - + devInfo - - devInfo - - + prev next - + - + partitions - + - + - + diskLabel - + device - + fs - + prev next - + - - - - - + - + prev next diff --git a/doc/xml/structvitalsStruct.xml b/doc/xml/structvitalsStruct.xml index 2e2666e..1c2a094 100644 --- a/doc/xml/structvitalsStruct.xml +++ b/doc/xml/structvitalsStruct.xml @@ -5,7 +5,7 @@ vitals.h - uInt32 + uInt32 uInt32 vitalsStruct::dQuantum dQuantum @@ -30,9 +30,9 @@ - vfs_init - vfsFindFS - vfsRegisterFS + vfs_init + vfsFindFS + vfsRegisterFS void * @@ -49,7 +49,7 @@ ogPrintf - uInt32 + uInt32 uInt32 vitalsStruct::freePages freePages @@ -83,7 +83,7 @@ vfs_findMount - uInt32 + uInt32 uInt32 vitalsStruct::openFiles openFiles @@ -94,8 +94,8 @@ - fclose - fopen + fclose + fopen char * @@ -111,7 +111,7 @@ - uInt32 + uInt32 uInt32 vitalsStruct::packetLength packetLength @@ -124,7 +124,7 @@ - uInt32 + uInt32 uInt32 vitalsStruct::quantum quantum @@ -152,7 +152,7 @@ ogPrintf - uInt32 + uInt32 uInt32 vitalsStruct::sysTicks sysTicks @@ -167,7 +167,7 @@ systemTask - uInt32 + uInt32 uInt32 vitalsStruct::sysUptime sysUptime @@ -183,7 +183,7 @@ ubthread_cond_timedwait - uInt32 + uInt32 uInt32 vitalsStruct::timeStart timeStart @@ -203,77 +203,70 @@ - + - + - + devRec - - devInfo - - - devInfo - + devInfo + + prev next - + - + partitions - + - + - + diskLabel - + device - + fs - + prev next - + - + fileSystems - + mountPoints - + - - - - - + - + prev next diff --git a/doc/xml/structwrite__args.xml b/doc/xml/structwrite__args.xml index bd8729e..7fda8e9 100644 --- a/doc/xml/structwrite__args.xml +++ b/doc/xml/structwrite__args.xml @@ -15,8 +15,8 @@ - - sys_write + + sys_write char @@ -29,7 +29,7 @@ - + char @@ -42,7 +42,7 @@ - + int @@ -55,8 +55,8 @@ - - sys_write + + sys_write char @@ -69,7 +69,7 @@ - + char @@ -82,10 +82,10 @@ - + - size_t + size_t size_t write_args::nbyte nbyte @@ -95,8 +95,8 @@ - - sys_write + + sys_write char @@ -109,7 +109,7 @@ - + char @@ -122,14 +122,14 @@ - + - + write_argsbuf write_argsbuf_l_ diff --git a/doc/xml/sys_8h.xml b/doc/xml/sys_8h.xml index a78c6e0..5e83548 100644 --- a/doc/xml/sys_8h.xml +++ b/doc/xml/sys_8h.xml @@ -14,122 +14,104 @@ src/sys/net/net/udpecho.c src/sys/net/netif/ethernetif.c - + - + - + - + - + - + - + - + - + - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -137,18 +119,36 @@ - + + + + + + + + + + + + + + + + + - + + + - + - + @@ -172,7 +172,7 @@ - uInt16 + uInt16 uInt16 sys_arch_mbox_fetch (sys_mbox_t mbox, void **msg, uInt16 timeout) sys_arch_mbox_fetch @@ -185,7 +185,7 @@ msg - uInt16 + uInt16 timeout @@ -198,7 +198,7 @@ netconn_delete - uInt16 + uInt16 uInt16 sys_arch_sem_wait (sys_sem_t sem, uInt16 timeout) sys_arch_sem_wait @@ -207,7 +207,7 @@ sem - uInt16 + uInt16 timeout @@ -415,7 +415,7 @@ (uInt8 count) sys_sem_new - uInt8 + uInt8 count @@ -521,7 +521,7 @@ (uInt16 msecs, sys_timeout_handler h, void *arg) sys_timeout - uInt16 + uInt16 msecs @@ -594,7 +594,7 @@ structsys_timeout{ structsys_timeout*next; -uInt16time; +uInt16time; sys_timeout_handlerh; void*arg; }; @@ -615,13 +615,13 @@ *called. * */ -voidsys_timeout(uInt16msecs,sys_timeout_handlerh,void*arg); +voidsys_timeout(uInt16msecs,sys_timeout_handlerh,void*arg); structsys_timeouts*sys_arch_timeouts(void); /*Semaphorefunctions.*/ -sys_sem_tsys_sem_new(uInt8count); +sys_sem_tsys_sem_new(uInt8count); voidsys_sem_signal(sys_sem_tsem); -uInt16sys_arch_sem_wait(sys_sem_tsem,uInt16timeout); +uInt16sys_arch_sem_wait(sys_sem_tsem,uInt16timeout); voidsys_sem_free(sys_sem_tsem); voidsys_sem_wait(sys_sem_tsem); @@ -629,7 +629,7 @@ /*Mailboxfunctions.*/ sys_mbox_tsys_mbox_new(void); voidsys_mbox_post(sys_mbox_tmbox,void*msg); -uInt16sys_arch_mbox_fetch(sys_mbox_tmbox,void**msg,uInt16timeout); +uInt16sys_arch_mbox_fetch(sys_mbox_tmbox,void**msg,uInt16timeout); voidsys_mbox_free(sys_mbox_tmbox); voidsys_mbox_fetch(sys_mbox_tmbox,void**msg); diff --git a/doc/xml/sys__arch_8c.xml b/doc/xml/sys__arch_8c.xml index a005fc4..1d7bdf6 100644 --- a/doc/xml/sys__arch_8c.xml +++ b/doc/xml/sys__arch_8c.xml @@ -2,7 +2,7 @@ sys_arch.c - ubixos/types.h + ubixos/types.h ubixos/sched.h ubixos/ubthread.h ubixos/kpanic.h @@ -14,225 +14,227 @@ net/stats.h ubixos/spinlock.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + - + @@ -272,7 +274,7 @@ - uInt16 + uInt16 static uInt16 cond_wait (ubthread_cond_t *cond, ubthread_mutex_t *mutex, uInt16 timeout) cond_wait @@ -285,7 +287,7 @@ mutex - uInt16 + uInt16 timeout @@ -332,7 +334,7 @@ sys_arch_timeouts - uInt16 + uInt16 uInt16 sys_arch_mbox_fetch (struct sys_mbox *mbox, void **msg, uInt16 timeout) sys_arch_mbox_fetch @@ -345,7 +347,7 @@ msg - uInt16 + uInt16 timeout @@ -367,7 +369,7 @@ sys_sem_signal - uInt16 + uInt16 uInt16 sys_arch_sem_wait (struct sys_sem *sem, uInt16 timeout) sys_arch_sem_wait @@ -376,7 +378,7 @@ sem - uInt16 + uInt16 timeout @@ -558,7 +560,7 @@ (uInt8 count) sys_sem_new - uInt8 + uInt8 count @@ -579,7 +581,7 @@ (uInt8 count) sys_sem_new_ - uInt8 + uInt8 count @@ -815,7 +817,7 @@ *$Id$ */ -#include<ubixos/types.h> +#include<ubixos/types.h> #include<ubixos/sched.h> #include<ubixos/ubthread.h> #include<ubixos/kpanic.h> @@ -842,7 +844,7 @@ #defineSYS_MBOX_SIZE100 structsys_mbox{ -uInt16first,last; +uInt16first,last; void*msgs[SYS_MBOX_SIZE]; structsys_sem*mail; structsys_sem*mutex; @@ -863,10 +865,10 @@ staticstructtimevalstarttime; -staticstructsys_sem*sys_sem_new_(uInt8count); +staticstructsys_sem*sys_sem_new_(uInt8count); staticvoidsys_sem_free_(structsys_sem*sem); -staticuInt16cond_wait(ubthread_cond_t*cond,ubthread_mutex_t*mutex,uInt16timeout); +staticuInt16cond_wait(ubthread_cond_t*cond,ubthread_mutex_t*mutex,uInt16timeout); staticstructsys_thread*current_thread(void){ structsys_thread*st; @@ -961,7 +963,7 @@ } voidsys_mbox_post(structsys_mbox*mbox,void*msg){ -uInt8first; +uInt8first; sys_sem_wait(mbox->mutex); @@ -987,8 +989,8 @@ sys_sem_signal(mbox->mutex); } -uInt16sys_arch_mbox_fetch(structsys_mbox*mbox,void**msg,uInt16timeout){ -uInt16time=1; +uInt16sys_arch_mbox_fetch(structsys_mbox*mbox,void**msg,uInt16timeout){ +uInt16time=1; /*Themutexlockisquicksowedon'tbotherwiththetimeout stuffhere.*/ @@ -1028,11 +1030,11 @@ return(time); } -structsys_sem*sys_sem_new(uInt8count){ +structsys_sem*sys_sem_new(uInt8count){ returnsys_sem_new_(count); } -staticstructsys_sem*sys_sem_new_(uInt8count){ +staticstructsys_sem*sys_sem_new_(uInt8count){ structsys_sem*sem; sem=kmalloc(sizeof(structsys_sem)); @@ -1044,7 +1046,7 @@ returnsem; } -staticuInt16cond_wait(ubthread_cond_t*cond,ubthread_mutex_t*mutex,uInt16timeout){ +staticuInt16cond_wait(ubthread_cond_t*cond,ubthread_mutex_t*mutex,uInt16timeout){ unsignedinttdiff; unsignedlongsec,usec; structtimevalrtime1,rtime2; @@ -1084,8 +1086,8 @@ } } -uInt16sys_arch_sem_wait(structsys_sem*sem,uInt16timeout){ -uInt16time=1; +uInt16sys_arch_sem_wait(structsys_sem*sem,uInt16timeout){ +uInt16time=1; ubthread_mutex_lock(&(sem->mutex)); while(sem->c<=0){ if(timeout>0){ diff --git a/doc/xml/sys__arch_8h.xml b/doc/xml/sys__arch_8h.xml index 74895a8..f6c28b7 100644 --- a/doc/xml/sys__arch_8h.xml +++ b/doc/xml/sys__arch_8h.xml @@ -4,110 +4,92 @@ sys_arch.h src/sys/include/net/sys.h - + - + - + - + - + - + - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -115,18 +97,36 @@ - + + + + + + + + + + + + + + + + + - + + + - + - + diff --git a/doc/xml/sys__call_8S.xml b/doc/xml/sys__call_8S.xml index 6faebfc..6d8c30a 100644 --- a/doc/xml/sys__call_8S.xml +++ b/doc/xml/sys__call_8S.xml @@ -68,8 +68,8 @@ popl%ecx popl%edx/*RestoreRegisters*/ -iret - +iret + invalidSysCall: movl$-1,%eax iret diff --git a/doc/xml/sys__call__new_8S.xml b/doc/xml/sys__call__new_8S.xml index 6c8a894..c421868 100644 --- a/doc/xml/sys__call__new_8S.xml +++ b/doc/xml/sys__call__new_8S.xml @@ -32,7 +32,7 @@ idt_init - globl _sysCall_new text code32 esp pushal pushl ds pushl es pushl fs movl eax movl ds movl es movl fs call syscall popl fs popl es popl ds popal + globl _sysCall_new text code32 esp pushal pushl ds pushl es pushl fs movl eax movl ds movl es movl fs call syscall popl fs popl es popl ds popal globl _sysCall_new text code32 esp pushal pushl ds pushl es pushl fs movl eax movl ds movl es movl fs call syscall popl fs popl es popl ds popal addl addl @@ -45,7 +45,7 @@ - globl _sysCall_new text code32 esp pushal pushl ds pushl es pushl fs movl eax movl ds movl es movl + globl _sysCall_new text code32 esp pushal pushl ds pushl es pushl fs movl eax movl ds movl es movl globl _sysCall_new text code32 esp pushal pushl ds pushl es pushl fs movl eax movl ds movl es movl eax eax @@ -58,7 +58,7 @@ - globl _sysCall_new text code32 esp pushal pushl ds pushl es pushl fs movl eax movl ds movl + globl _sysCall_new text code32 esp pushal pushl ds pushl es pushl fs movl eax movl ds movl globl _sysCall_new text code32 esp pushal pushl ds pushl es pushl fs movl eax movl ds movl eax eax @@ -71,7 +71,7 @@ - globl _sysCall_new text code32 esp pushal pushl ds pushl es pushl fs movl eax movl + globl _sysCall_new text code32 esp pushal pushl ds pushl es pushl fs movl eax movl globl _sysCall_new text code32 esp pushal pushl ds pushl es pushl fs movl eax movl eax eax @@ -84,7 +84,7 @@ - globl _sysCall_new text code32 esp pushal pushl ds pushl es pushl fs movl eax movl ds movl es movl fs call syscall popl fs popl es popl ds popal esp iret + globl _sysCall_new text code32 esp pushal pushl ds pushl es pushl fs movl eax movl ds movl es movl fs call syscall popl fs popl es popl ds popal esp iret globl _sysCall_new text code32 esp pushal pushl ds pushl es pushl fs movl eax movl ds movl es movl fs call syscall popl fs popl es popl ds popal esp iret invalidSysCall invalidSysCall diff --git a/doc/xml/syscall_8c.xml b/doc/xml/syscall_8c.xml index 15cdcd7..880e244 100644 --- a/doc/xml/syscall_8c.xml +++ b/doc/xml/syscall_8c.xml @@ -5,15 +5,15 @@ ubixos/syscall.h ubixos/syscalls.h ubixos/sched.h - ubixos/types.h + ubixos/types.h ubixos/exec.h ubixos/elf.h ubixos/endtask.h ubixos/time.h sys/video.h sys/trap.h - vfs/file.h - ubixfs/ubixfs.h + vfs/file.h + ubixfs/ubixfs.h lib/string.h lib/kprintf.h lib/kmalloc.h @@ -21,281 +21,283 @@ mpi/mpi.h vmm/vmm.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - - + + - + @@ -327,7 +329,7 @@ totalCalls - %eax\n""jae invalidSysCallNew\n""mov% + %eax\n""jae invalidSysCallNew\n""mov% esp @@ -335,7 +337,7 @@ 12 - %ebx\n""push(%ebx)\n""call *systemCalls(,%eax, 4)\n""add $ + %ebx\n""push(%ebx)\n""call *systemCalls(,%eax, 4)\n""add $ 4 @@ -520,7 +522,7 @@ (uInt32 *ptr) sysGetDrives - uInt32 * + uInt32 * ptr @@ -605,7 +607,7 @@ (uInt32 *ptr) sysGetTime - uInt32 * + uInt32 * ptr @@ -644,7 +646,7 @@ (uInt32 *ptr) sysGetUptime - uInt32 * + uInt32 * ptr @@ -801,15 +803,15 @@ #include<ubixos/syscall.h> #include<ubixos/syscalls.h> #include<ubixos/sched.h> -#include<ubixos/types.h> +#include<ubixos/types.h> #include<ubixos/exec.h> #include<ubixos/elf.h> #include<ubixos/endtask.h> #include<ubixos/time.h> #include<sys/video.h> #include<sys/trap.h> -#include<vfs/file.h> -#include<ubixfs/ubixfs.h> +#include<vfs/file.h> +#include<ubixfs/ubixfs.h> #include<lib/string.h> #include<lib/kprintf.h> #include<lib/kmalloc.h> @@ -974,21 +976,21 @@ return; } -voidsysGetDrives(uInt32*ptr) +voidsysGetDrives(uInt32*ptr) { if(ptr) *ptr=0x0;//(uInt32)devices; return; } -voidsysGetUptime(uInt32*ptr) +voidsysGetUptime(uInt32*ptr) { if(ptr) *ptr=systemVitals->sysTicks; return; } -voidsysGetTime(uInt32*ptr) +voidsysGetTime(uInt32*ptr) { if(ptr) *ptr=systemVitals->sysUptime+systemVitals->timeStart; diff --git a/doc/xml/syscall_8h.xml b/doc/xml/syscall_8h.xml index 088741c..7645fee 100644 --- a/doc/xml/syscall_8h.xml +++ b/doc/xml/syscall_8h.xml @@ -2,41 +2,41 @@ syscall.h - ubixos/types.h + ubixos/types.h src/sys/kernel/syscall.c src/sys/sys/idt.c - + - + - + - - + + - + - + - + - + - + - + @@ -119,7 +119,7 @@ #ifndef_SYSCALL_H #define_SYSCALL_H -#include<ubixos/types.h> +#include<ubixos/types.h> void_sysCall(); void_sysCall_new(); diff --git a/doc/xml/syscall__new_8c.xml b/doc/xml/syscall__new_8c.xml index 7bede6e..afaa832 100644 --- a/doc/xml/syscall__new_8c.xml +++ b/doc/xml/syscall__new_8c.xml @@ -4,164 +4,168 @@ syscall_new.c ubixos/syscalls_new.h ubixos/sched.h - ubixos/types.h + ubixos/types.h ubixos/endtask.h ubixos/spinlock.h sys/trap.h lib/string.h lib/kprintf.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - - + + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + @@ -189,16 +193,16 @@ kprintf memcpy PSL_C - systemCalls_new + systemCalls_new taskStruct::td - thread::td_retval + thread::td_retval trapframe::tf_eax trapframe::tf_edx trapframe::tf_eflags trapframe::tf_eip trapframe::tf_err trapframe::tf_esp - totalCalls_new + totalCalls_new @@ -253,7 +257,7 @@ #include<ubixos/syscalls_new.h> #include<ubixos/sched.h> -#include<ubixos/types.h> +#include<ubixos/types.h> #include<ubixos/endtask.h> #include<ubixos/spinlock.h> #include<sys/trap.h> @@ -263,25 +267,25 @@ spinLock_tMaster=SPIN_LOCK_INITIALIZER; voidsyscall(structtrapframeframe){ -uInt32code=0x0; -caddr_tparams; +uInt32code=0x0; +caddr_tparams; structthread*td=&_current->td; intargs[8]; interror=0x0; -params=(caddr_t)frame.tf_esp+sizeof(int); +params=(caddr_t)frame.tf_esp+sizeof(int); code=frame.tf_eax; if(code==198){ memcpy(&code,params,sizeof(int)); -params+=sizeof(quad_t); +params+=sizeof(quad_t); } if(code>totalCalls_new){ kprintf("InvalidCall:[%i]\n",frame.tf_eax); } -elseif((uInt32)systemCalls_new[code]==0x0){ -kprintf("InvalidCall:[%i][0x%X]\n",code,(uInt32)systemCalls_new[code]); +elseif((uInt32)systemCalls_new[code]==0x0){ +kprintf("InvalidCall:[%i][0x%X]\n",code,(uInt32)systemCalls_new[code]); frame.tf_eax=-1; frame.tf_edx=0x0; } diff --git a/doc/xml/syscalls_8h.xml b/doc/xml/syscalls_8h.xml index 5fd15da..aae6201 100644 --- a/doc/xml/syscalls_8h.xml +++ b/doc/xml/syscalls_8h.xml @@ -3,127 +3,129 @@ syscalls.h ubixos/sched.h - vfs/file.h + vfs/file.h src/sys/kernel/syscall.c - + - + - + - + - + - + - + - + - + - + - - + + - + - + - - + + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + @@ -738,7 +740,7 @@ #define_SYSCALLS_H #include<ubixos/sched.h> -#include<vfs/file.h> +#include<vfs/file.h> voidsysAuth(); voidsysPasswd(); diff --git a/doc/xml/syscalls__new_8h.xml b/doc/xml/syscalls__new_8h.xml index aed6085..1065ed1 100644 --- a/doc/xml/syscalls__new_8h.xml +++ b/doc/xml/syscalls__new_8h.xml @@ -2,16 +2,55 @@ syscalls_new.h + sys/sysproto.h src/sys/kernel/syscall_new.c + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + @@ -91,7 +130,7 @@ - + int @@ -117,7 +156,7 @@ - + int @@ -156,7 +195,7 @@ - + int @@ -169,7 +208,7 @@ - + int @@ -195,7 +234,7 @@ - + int @@ -221,7 +260,7 @@ - + int @@ -262,19 +301,6 @@ - - int - int open - () - open - - - - - - - - int int pipe @@ -286,7 +312,7 @@ - + int @@ -299,7 +325,7 @@ - + int @@ -312,7 +338,7 @@ - + int @@ -340,19 +366,6 @@ - - int - int sys_write - () - sys_write - - - - - - - - int int sysExit @@ -364,7 +377,7 @@ - + @@ -374,12 +387,12 @@ [] systemCalls_new - +Mast System Call List. - + syscall @@ -394,7 +407,7 @@ - + syscall @@ -435,18 +448,18 @@ #ifndef_SYSCALLS_NEW_H #define_SYSCALLS_NEW_H -intsysExit(); -intread(); -intsys_write(); -intgetpid(); -intfcntl(); -intissetugid(); -int__sysctl(); -intpipe(); -intreadlink(); -intgetuid(); -intgetgid(); -intopen(); +#include<sys/sysproto.h> + +intsysExit(); +intread(); +intgetpid(); +intfcntl(); +intissetugid(); +int__sysctl(); +intpipe(); +intreadlink(); +intgetuid(); +intgetgid(); intclose(); intmmap(); intobreak(); @@ -465,17 +478,14 @@ typedefint(*functionPTR)(); -functionPTRsystemCalls_new[]={ -invalid_call, -sysExit, -invalid_call, -read, -sys_write, -open, -close, -invalid_call, -invalid_call, -invalid_call, +functionPTRsystemCalls_new[]={ +invalid_call, +sysExit, +invalid_call, +read, +sys_write, +sys_open, +close, invalid_call, invalid_call, invalid_call, @@ -483,17 +493,17 @@ invalid_call, invalid_call, invalid_call, -obreak, +invalid_call, invalid_call, invalid_call, -getpid, +obreak, invalid_call, invalid_call, -invalid_call, -getuid, +getpid, +invalid_call, invalid_call, invalid_call, -invalid_call, +getuid, invalid_call, invalid_call, invalid_call, @@ -508,26 +518,26 @@ invalid_call, invalid_call, invalid_call, -pipe, +invalid_call, invalid_call, invalid_call, -invalid_call, +pipe, invalid_call, -getgid, +invalid_call, invalid_call, invalid_call, -invalid_call, +getgid, invalid_call, invalid_call, invalid_call, -ioctl, +invalid_call, invalid_call, invalid_call, -invalid_call, -readlink, +ioctl, +invalid_call, invalid_call, invalid_call, -invalid_call, +readlink, invalid_call, invalid_call, invalid_call, @@ -539,10 +549,10 @@ invalid_call, invalid_call, invalid_call, -munmap, +invalid_call, invalid_call, invalid_call, -invalid_call, +munmap, invalid_call, invalid_call, invalid_call, @@ -552,16 +562,16 @@ invalid_call, invalid_call, invalid_call, -invalid_call, +setitimer, invalid_call, invalid_call, -getdtablesize, +invalid_call, invalid_call, invalid_call, -fcntl, +getdtablesize, invalid_call, invalid_call, -invalid_call, +fcntl, invalid_call, invalid_call, invalid_call, @@ -582,10 +592,10 @@ invalid_call, invalid_call, invalid_call, -gettimeofday_new, +invalid_call, invalid_call, invalid_call, -invalid_call, +gettimeofday_new, invalid_call, invalid_call, invalid_call, @@ -655,23 +665,23 @@ invalid_call, invalid_call, invalid_call, -fstat, +invalid_call, invalid_call, invalid_call, -invalid_call, +fstat, invalid_call, invalid_call, invalid_call, invalid_call, -mmap, +invalid_call, invalid_call, invalid_call, -invalid_call, +mmap, invalid_call, -__sysctl, +invalid_call, invalid_call, invalid_call, -invalid_call, +__sysctl, invalid_call, invalid_call, invalid_call, @@ -719,10 +729,10 @@ invalid_call, invalid_call, invalid_call, -issetugid, +invalid_call, invalid_call, invalid_call, -invalid_call, +issetugid, invalid_call, invalid_call, invalid_call, @@ -806,10 +816,10 @@ invalid_call, invalid_call, invalid_call, -sigprocmask, +invalid_call, invalid_call, invalid_call, -invalid_call, +sigprocmask, invalid_call, invalid_call, invalid_call, @@ -882,10 +892,10 @@ invalid_call, invalid_call, invalid_call, -sigaction, +invalid_call, invalid_call, invalid_call, -invalid_call, +sigaction, invalid_call, invalid_call, invalid_call, @@ -922,16 +932,19 @@ invalid_call, invalid_call, invalid_call, -}; - -inttotalCalls_new=sizeof(systemCalls_new)/sizeof(functionPTR); - -#endif - -/*** -END -***/ - +invalid_call, +invalid_call, +invalid_call, +}; + +inttotalCalls_new=sizeof(systemCalls_new)/sizeof(functionPTR); + +#endif + +/*** +END +***/ + diff --git a/doc/xml/sysproto_8h.xml b/doc/xml/sysproto_8h.xml index e51e746..557a06a 100644 --- a/doc/xml/sysproto_8h.xml +++ b/doc/xml/sysproto_8h.xml @@ -3,514 +3,214 @@ sysproto.h sys/signal.h + sys/thread.h src/sys/include/sys/gen_calls.h src/sys/include/sys/kern_descrip.h src/sys/include/sys/kern_sig.h src/sys/include/sys/kern_sysctl.h src/sys/include/sys/pipe.h - src/sys/include/vfs/vfs.h + src/sys/include/ubixos/syscalls_new.h + src/sys/include/vfs/vfs.h src/sys/include/vmm/paging.h src/sys/kernel/kern_descrip.c src/sys/kernel/kern_sig.c src/sys/kernel/kern_sysctl.c src/sys/kernel/pipe.c - - - - + + + + - + + + + + + + - + - + + + - + - + - + - + + + - - - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - + - + - + - + - - - - - - - - - - - - - - - - - - - + - + - + + + + + + + + + + + + + + + + + - - - - - - - - - + - + + + + + + + + + + + + + + + + + + + + + + + @@ -518,207 +218,531 @@ + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + - - - + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - - - - + - - - - + + - + + + + + - - - - - - - - - - - - - - - - + + + + - - - - - - - - - - - - - - - + - + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - - - - + + + + - + + + + + + + - + - - - - - + + + + + close_args fcntl_args @@ -737,6 +761,7 @@ pipe_args read_args readlink_args + setitimer_args sigaction_args sigprocmask_args sysctl_args @@ -753,7 +778,7 @@ - + PADL_ @@ -765,7 +790,7 @@ - + PADR_ @@ -777,7 +802,7 @@ - + @@ -792,7 +817,105 @@ - + + + + + + int + int setitimer + (struct thread *td, struct setitimer_args *uap) + setitimer + + struct thread * + td + + + struct setitimer_args * + uap + + +place holder for now functionality to be added later + + + + + + + + int + int sys_open + (struct thread *td, struct open_args *uap) + sys_open + + struct thread * + td + + + struct open_args * + uap + + +entry point for open syscall + + + +*td + + +pointer to callers thread + + + +*uap + + +pointer to user space arguements for call + + +index to file descriptor + + + + + falloc + file::fd + fopen + file::path + open_args::path + strcpy + thread::td_retval + + + int + int sys_write + (struct thread *td, struct write_args *uap) + sys_write + + struct thread * + td + + + struct write_args * + uap + + + + + + + + + write_args::buf + buffer + write_args::fd + kfree + kmalloc + kprintf + memcpy + write_args::nbyte + taskStruct::td + thread::td_retval @@ -833,134 +956,149 @@ #define_SYSPROTO_H #include<sys/signal.h> - -typedefintregister_t; - -#definePAD_(t)(sizeof(register_t)<=sizeof(t)?\ -0:sizeof(register_t)-sizeof(t)) - -#ifBYTE_ORDER==LITTLE_ENDIAN -#definePADL_(t)0 -#definePADR_(t)PAD_(t) -#else -#definePADL_(t)PAD_(t) -#definePADR_(t)0 -#endif - - -structwrite_args{ -charfd_l_[PADL_(int)];intfd;charfd_r_[PADR_(int)]; -charbuf_l_[PADL_(constvoid*)];constvoid*buf;charbuf_r_[PADR_(constvoid*)]; -charnbyte_l_[PADL_(size_t)];size_tnbyte;charnbyte_r_[PADR_(size_t)]; -}; - -structsysctl_args{ -charname_l_[PADL_(int*)];int*name;charname_r_[PADR_(int*)]; -charnamelen_l_[PADL_(u_int)];u_intnamelen;charnamelen_r_[PADR_(u_int)]; -charold_l_[PADL_(void*)];void*old;charold_r_[PADR_(void*)]; -charoldlenp_l_[PADL_(size_t*)];size_t*oldlenp;charoldlenp_r_[PADR_(size_t*)]; -charnew_l_[PADL_(void*)];void*new;charnew_r_[PADR_(void*)]; -charnewlen_l_[PADL_(size_t)];size_tnewlen;charnewlen_r_[PADR_(size_t)]; -}; - -structgetpid_args{ -register_tdummy; -}; -structissetugid_args{ -register_tdummy; -}; -structfcntl_args{ -charfd_l_[PADL_(int)];intfd;charfd_r_[PADR_(int)]; -charcmd_l_[PADL_(int)];intcmd;charcmd_r_[PADR_(int)]; -chararg_l_[PADL_(long)];longarg;chararg_r_[PADR_(long)]; -}; - -structpipe_args{ -register_tdummy; -}; - -structreadlink_args{ -charpath_l_[PADL_(char*)];char*path;charpath_r_[PADR_(char*)]; -charbuf_l_[PADL_(char*)];char*buf;charbuf_r_[PADR_(char*)]; -charcount_l_[PADL_(int)];intcount;charcount_r_[PADR_(int)]; +#include<sys/thread.h> + +typedefintregister_t; + +#definePAD_(t)(sizeof(register_t)<=sizeof(t)?\ +0:sizeof(register_t)-sizeof(t)) + +#ifBYTE_ORDER==LITTLE_ENDIAN +#definePADL_(t)0 +#definePADR_(t)PAD_(t) +#else +#definePADL_(t)PAD_(t) +#definePADR_(t)0 +#endif + +//Protos +structwrite_args{ +charfd_l_[PADL_(int)];intfd;charfd_r_[PADR_(int)]; +charbuf_l_[PADL_(constvoid*)];constvoid*buf;charbuf_r_[PADR_(constvoid*)]; +charnbyte_l_[PADL_(size_t)];size_tnbyte;charnbyte_r_[PADR_(size_t)]; +}; + +structopen_args{ +charpath_l_[PADL_(char*)];char*path;charpath_r_[PADR_(char*)]; +charflags_l_[PADL_(int)];intflags;charflags_r_[PADR_(int)]; +charmode_l_[PADL_(int)];intmode;charmode_r_[PADR_(int)]; +}; + +structsetitimer_args{ +charwhich_l_[PADL_(u_int)];u_intwhich;charwhich_r_[PADR_(u_int)]; +charitv_l_[PADL_(structitimerval*)];structitimerval*itv;charitv_r_[PADR_(structitimerval*)]; +charoitv_l_[PADL_(structitimerval*)];structitimerval*oitv;charoitv_r_[PADR_(structitimerval*)]; +}; + +//Old + +structsysctl_args{ +charname_l_[PADL_(int*)];int*name;charname_r_[PADR_(int*)]; +charnamelen_l_[PADL_(u_int)];u_intnamelen;charnamelen_r_[PADR_(u_int)]; +charold_l_[PADL_(void*)];void*old;charold_r_[PADR_(void*)]; +charoldlenp_l_[PADL_(size_t*)];size_t*oldlenp;charoldlenp_r_[PADR_(size_t*)]; +charnew_l_[PADL_(void*)];void*new;charnew_r_[PADR_(void*)]; +charnewlen_l_[PADL_(size_t)];size_tnewlen;charnewlen_r_[PADR_(size_t)]; +}; + +structgetpid_args{ +register_tdummy; +}; +structissetugid_args{ +register_tdummy; }; - -structgetuid_args{ -register_tdummy; -}; - -structgetgid_args{ -register_tdummy; -}; -structclose_args{ -charfd_l_[PADL_(int)];intfd;charfd_r_[PADR_(int)]; -}; - -structmmap_args{ -charaddr_l_[PADL_(caddr_t)];caddr_taddr;charaddr_r_[PADR_(caddr_t)]; -charlen_l_[PADL_(size_t)];size_tlen;charlen_r_[PADR_(size_t)]; -charprot_l_[PADL_(int)];intprot;charprot_r_[PADR_(int)]; -charflags_l_[PADL_(int)];intflags;charflags_r_[PADR_(int)]; -charfd_l_[PADL_(int)];intfd;charfd_r_[PADR_(int)]; -charpad_l_[PADL_(int)];intpad;charpad_r_[PADR_(int)]; -charpos_l_[PADL_(off_t)];off_tpos;charpos_r_[PADR_(off_t)]; -}; - -structobreak_args{ -charnsize_l_[PADL_(char*)];char*nsize;charnsize_r_[PADR_(char*)]; -}; - -structsigaction_args{ -charsig_l_[PADL_(int)];intsig;charsig_r_[PADR_(int)]; -charact_l_[PADL_(conststructsigaction*)];conststructsigaction*act;charact_r_[PADR_(conststructsigaction*)]; -charoact_l_[PADL_(structsigaction*)];structsigaction*oact;charoact_r_[PADR_(structsigaction*)]; -}; - -structgetdtablesize_args{ -register_tdummy; -}; - -structmunmap_args{ -charaddr_l_[PADL_(void*)];void*addr;charaddr_r_[PADR_(void*)]; -charlen_l_[PADL_(size_t)];size_tlen;charlen_r_[PADR_(size_t)]; -}; +structfcntl_args{ +charfd_l_[PADL_(int)];intfd;charfd_r_[PADR_(int)]; +charcmd_l_[PADL_(int)];intcmd;charcmd_r_[PADR_(int)]; +chararg_l_[PADL_(long)];longarg;chararg_r_[PADR_(long)]; +}; + +structpipe_args{ +register_tdummy; +}; + +structreadlink_args{ +charpath_l_[PADL_(char*)];char*path;charpath_r_[PADR_(char*)]; +charbuf_l_[PADL_(char*)];char*buf;charbuf_r_[PADR_(char*)]; +charcount_l_[PADL_(int)];intcount;charcount_r_[PADR_(int)]; +}; + +structgetuid_args{ +register_tdummy; +}; + +structgetgid_args{ +register_tdummy; +}; +structclose_args{ +charfd_l_[PADL_(int)];intfd;charfd_r_[PADR_(int)]; +}; + +structmmap_args{ +charaddr_l_[PADL_(caddr_t)];caddr_taddr;charaddr_r_[PADR_(caddr_t)]; +charlen_l_[PADL_(size_t)];size_tlen;charlen_r_[PADR_(size_t)]; +charprot_l_[PADL_(int)];intprot;charprot_r_[PADR_(int)]; +charflags_l_[PADL_(int)];intflags;charflags_r_[PADR_(int)]; +charfd_l_[PADL_(int)];intfd;charfd_r_[PADR_(int)]; +charpad_l_[PADL_(int)];intpad;charpad_r_[PADR_(int)]; +charpos_l_[PADL_(off_t)];off_tpos;charpos_r_[PADR_(off_t)]; +}; + +structobreak_args{ +charnsize_l_[PADL_(char*)];char*nsize;charnsize_r_[PADR_(char*)]; +}; -structsigprocmask_args{ -charhow_l_[PADL_(int)];inthow;charhow_r_[PADR_(int)]; -charset_l_[PADL_(constsigset_t*)];constsigset_t*set;charset_r_[PADR_(constsigset_t*)]; -charoset_l_[PADL_(sigset_t*)];sigset_t*oset;charoset_r_[PADR_(sigset_t*)]; +structsigaction_args{ +charsig_l_[PADL_(int)];intsig;charsig_r_[PADR_(int)]; +charact_l_[PADL_(conststructsigaction*)];conststructsigaction*act;charact_r_[PADR_(conststructsigaction*)]; +charoact_l_[PADL_(structsigaction*)];structsigaction*oact;charoact_r_[PADR_(structsigaction*)]; }; -structgettimeofday_args{ -chartp_l_[PADL_(structtimeval*)];structtimeval*tp;chartp_r_[PADR_(structtimeval*)]; -chartzp_l_[PADL_(structtimezone*)];structtimezone*tzp;chartzp_r_[PADR_(structtimezone*)]; -}; -structfstat_args{ -charfd_l_[PADL_(int)];intfd;charfd_r_[PADR_(int)]; -charsb_l_[PADL_(structstat*)];structstat*sb;charsb_r_[PADR_(structstat*)]; -}; -structioctl_args{ -charfd_l_[PADL_(int)];intfd;charfd_r_[PADR_(int)]; -charcom_l_[PADL_(u_long)];u_longcom;charcom_r_[PADR_(u_long)]; -chardata_l_[PADL_(caddr_t)];caddr_tdata;chardata_r_[PADR_(caddr_t)]; -}; -structopen_args{ -charpath_l_[PADL_(char*)];char*path;charpath_r_[PADR_(char*)]; -charflags_l_[PADL_(int)];intflags;charflags_r_[PADR_(int)]; -charmode_l_[PADL_(int)];intmode;charmode_r_[PADR_(int)]; -}; -structread_args{ -charfd_l_[PADL_(int)];intfd;charfd_r_[PADR_(int)]; -charbuf_l_[PADL_(void*)];void*buf;charbuf_r_[PADR_(void*)]; -charnbyte_l_[PADL_(size_t)];size_tnbyte;charnbyte_r_[PADR_(size_t)]; + +structgetdtablesize_args{ +register_tdummy; +}; + +structmunmap_args{ +charaddr_l_[PADL_(void*)];void*addr;charaddr_r_[PADR_(void*)]; +charlen_l_[PADL_(size_t)];size_tlen;charlen_r_[PADR_(size_t)]; +}; + +structsigprocmask_args{ +charhow_l_[PADL_(int)];inthow;charhow_r_[PADR_(int)]; +charset_l_[PADL_(constsigset_t*)];constsigset_t*set;charset_r_[PADR_(constsigset_t*)]; +charoset_l_[PADL_(sigset_t*)];sigset_t*oset;charoset_r_[PADR_(sigset_t*)]; +}; +structgettimeofday_args{ +chartp_l_[PADL_(structtimeval*)];structtimeval*tp;chartp_r_[PADR_(structtimeval*)]; +chartzp_l_[PADL_(structtimezone*)];structtimezone*tzp;chartzp_r_[PADR_(structtimezone*)]; +}; +structfstat_args{ +charfd_l_[PADL_(int)];intfd;charfd_r_[PADR_(int)]; +charsb_l_[PADL_(structstat*)];structstat*sb;charsb_r_[PADR_(structstat*)]; }; - - -#endif - -/*** -END -***/ - +structioctl_args{ +charfd_l_[PADL_(int)];intfd;charfd_r_[PADR_(int)]; +charcom_l_[PADL_(u_long)];u_longcom;charcom_r_[PADR_(u_long)]; +chardata_l_[PADL_(caddr_t)];caddr_tdata;chardata_r_[PADR_(caddr_t)]; +}; + +structread_args{ +charfd_l_[PADL_(int)];intfd;charfd_r_[PADR_(int)]; +charbuf_l_[PADL_(void*)];void*buf;charbuf_r_[PADR_(void*)]; +charnbyte_l_[PADL_(size_t)];size_tnbyte;charnbyte_r_[PADR_(size_t)]; +}; + +//FuncDefs +intsys_write(structthread*td,structwrite_args*uap); +intsys_open(structthread*td,structopen_args*uap); +intsetitimer(structthread*td,structsetitimer_args*uap); + +#endif + +/*** +END +***/ + diff --git a/doc/xml/system_8c.xml b/doc/xml/system_8c.xml index 56687d2..a1258ba 100644 --- a/doc/xml/system_8c.xml +++ b/doc/xml/system_8c.xml @@ -7,142 +7,144 @@ lib/string.h ubixos/spinlock.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + @@ -202,7 +204,7 @@ mpiSpinLock spinLock spinUnlock - strcmp + strcmp sysMpiDestroyMbox @@ -260,7 +262,7 @@ mbox mboxList - strcmp + strcmp mpi_createMbox mpi_fetchMessage mpi_postMessage @@ -275,7 +277,7 @@ name - uInt32 + uInt32 type @@ -312,7 +314,7 @@ (uInt32 type, void *data) mpi_spam - uInt32 + uInt32 type @@ -491,7 +493,7 @@ Notes: *****************************************************************************************/ -intmpi_spam(uInt32type,void*data){ +intmpi_spam(uInt32type,void*data){ mpi_mbox_t*mbox=0x0; mpi_message_t*message=0x0; @@ -526,7 +528,7 @@ Notes: *****************************************************************************************/ -intmpi_postMessage(char*name,uInt32type,mpi_message_t*msg){ +intmpi_postMessage(char*name,uInt32type,mpi_message_t*msg){ mpi_mbox_t*mbox=0x0; mpi_message_t*message=0x0; diff --git a/doc/xml/systemtask_8c.xml b/doc/xml/systemtask_8c.xml index 011b9a2..da018ac 100644 --- a/doc/xml/systemtask_8c.xml +++ b/doc/xml/systemtask_8c.xml @@ -17,243 +17,245 @@ mpi/mpi.h string.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + @@ -273,7 +275,7 @@ biosCall mpi_message::data - fclose + fclose mpi_message::header taskStruct::id taskStruct::imageFd @@ -289,7 +291,7 @@ sched_getDelTask sched_yield schedFindTask - strcmp + strcmp systemVitals vitalsStruct::sysTicks vitalsStruct::sysUptime @@ -375,7 +377,7 @@ voidsystemTask(){ mpi_message_tmyMsg; -uInt32counter=0x0; +uInt32counter=0x0; inti=0x0; int*x=0x0; kTask_t*tmpTask=0x0; @@ -434,7 +436,7 @@ tmpTask=sched_getDelTask(); if(tmpTask!=0x0){ if(tmpTask->imageFd!=0x0) -fclose(tmpTask->imageFd); +fclose(tmpTask->imageFd); vmmFreeProcessPages(tmpTask->id); kfree(tmpTask); } diff --git a/doc/xml/systemtask_8h.xml b/doc/xml/systemtask_8h.xml index d3b8f05..e6a60f0 100644 --- a/doc/xml/systemtask_8h.xml +++ b/doc/xml/systemtask_8h.xml @@ -2,41 +2,41 @@ systemtask.h - ubixos/types.h + ubixos/types.h src/sys/init/main.c src/sys/kernel/systemtask.c - + - + - + - - + + - + - + - + - + - + - + @@ -56,7 +56,7 @@ biosCall mpi_message::data - fclose + fclose mpi_message::header taskStruct::id taskStruct::imageFd @@ -72,7 +72,7 @@ sched_getDelTask sched_yield schedFindTask - strcmp + strcmp systemVitals vitalsStruct::sysTicks vitalsStruct::sysUptime @@ -121,7 +121,7 @@ #ifndef_SYSTEMTASK_H #define_SYSTEMTASK_H -#include<ubixos/types.h> +#include<ubixos/types.h> voidsystemTask(); diff --git a/doc/xml/tcp_8h.xml b/doc/xml/tcp_8h.xml index 3915ca7..cc1c733 100644 --- a/doc/xml/tcp_8h.xml +++ b/doc/xml/tcp_8h.xml @@ -15,265 +15,265 @@ src/sys/net/netif/loopif.c src/sys/net/netif/tcpdump.c - + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - + - + - + - + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + - - - - - + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + + + - - - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + - + - + - - - - - - - + + + - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + @@ -467,7 +467,7 @@ TCP_SEQ_GEQ a b - ((Int32)((a)-(b)) >= 0) + ((Int32)((a)-(b)) >= 0) @@ -480,7 +480,7 @@ TCP_SEQ_GT a b - ((Int32)((a)-(b)) > 0) + ((Int32)((a)-(b)) > 0) @@ -493,7 +493,7 @@ TCP_SEQ_LEQ a b - ((Int32)((a)-(b)) <= 0) + ((Int32)((a)-(b)) <= 0) @@ -506,7 +506,7 @@ TCP_SEQ_LT a b - ((Int32)((a)-(b)) < 0) + ((Int32)((a)-(b)) < 0) @@ -895,7 +895,7 @@ ipaddr - uInt16 + uInt16 port @@ -940,7 +940,7 @@ ipaddr - uInt16 + uInt16 port @@ -970,23 +970,23 @@ dataptr - uInt16 + uInt16 len - uInt8 + uInt8 flags - uInt8 + uInt8 copy - uInt8 * + uInt8 * optdata - uInt8 + uInt8 optlen @@ -1111,7 +1111,7 @@ do_connect - uInt32 + uInt32 uInt32 tcp_next_iss (void) tcp_next_iss @@ -1213,7 +1213,7 @@ poll - uInt8 + uInt8 interval @@ -1259,7 +1259,7 @@ pcb - uInt16 + uInt16 len @@ -1298,11 +1298,11 @@ (uInt32 seqno, uInt32 ackno, struct ip_addr *local_ip, struct ip_addr *remote_ip, uInt16 local_port, uInt16 remote_port) tcp_rst - uInt32 + uInt32 seqno - uInt32 + uInt32 ackno @@ -1314,11 +1314,11 @@ remote_ip - uInt16 + uInt16 local_port - uInt16 + uInt16 remote_port @@ -1347,7 +1347,7 @@ - uInt8 + uInt8 uInt8 tcp_seg_free (struct tcp_seg *seg) tcp_seg_free @@ -1364,7 +1364,7 @@ - uInt8 + uInt8 uInt8 tcp_segs_free (struct tcp_seg *seg) tcp_segs_free @@ -1390,7 +1390,7 @@ pcb - uInt8 + uInt8 flags @@ -1411,7 +1411,7 @@ pcb - err_t(*)(void *arg, struct tcp_pcb *tpcb, uInt16 len) + err_t(*)(void *arg, struct tcp_pcb *tpcb, uInt16 len) sent @@ -1471,11 +1471,11 @@ dataptr - uInt16 + uInt16 len - uInt8 + uInt8 copy @@ -1529,7 +1529,7 @@ - uInt32 + uInt32 uInt32 tcp_ticks tcp_ticks @@ -1646,27 +1646,27 @@ structpbuf*p,err_terr)); voidtcp_sent(structtcp_pcb*pcb, err_t(*sent)(void*arg,structtcp_pcb*tpcb, -uInt16len)); +uInt16len)); voidtcp_poll(structtcp_pcb*pcb, err_t(*poll)(void*arg,structtcp_pcb*tpcb), -uInt8interval); +uInt8interval); voidtcp_err(structtcp_pcb*pcb, void(*err)(void*arg,err_terr)); #definetcp_sndbuf(pcb)((pcb)->snd_buf) -voidtcp_recved(structtcp_pcb*pcb,uInt16len); +voidtcp_recved(structtcp_pcb*pcb,uInt16len); err_ttcp_bind(structtcp_pcb*pcb,structip_addr*ipaddr, -uInt16port); +uInt16port); err_ttcp_connect(structtcp_pcb*pcb,structip_addr*ipaddr, -uInt16port,err_t(*connected)(void*arg, +uInt16port,err_t(*connected)(void*arg, structtcp_pcb*tpcb, err_terr)); structtcp_pcb*tcp_listen(structtcp_pcb*pcb); voidtcp_abort(structtcp_pcb*pcb); err_ttcp_close(structtcp_pcb*pcb); -err_ttcp_write(structtcp_pcb*pcb,constvoid*dataptr,uInt16len, -uInt8copy); +err_ttcp_write(structtcp_pcb*pcb,constvoid*dataptr,uInt16len, +uInt8copy); /*Itisalsopossibletocallthesetwofunctionsattheright intervals(insteadofcallingtcp_tmr()).*/ @@ -1712,14 +1712,14 @@ #defineTCP_MSL60000/*Themaximumsegmentlifetimeinmicroseconds*/ structtcp_hdr{ -PACK_STRUCT_FIELD(uInt16src); -PACK_STRUCT_FIELD(uInt16dest); -PACK_STRUCT_FIELD(uInt32seqno); -PACK_STRUCT_FIELD(uInt32ackno); -PACK_STRUCT_FIELD(uInt16_offset_flags); -PACK_STRUCT_FIELD(uInt16wnd); -PACK_STRUCT_FIELD(uInt16chksum); -PACK_STRUCT_FIELD(uInt16urgp); +PACK_STRUCT_FIELD(uInt16src); +PACK_STRUCT_FIELD(uInt16dest); +PACK_STRUCT_FIELD(uInt32seqno); +PACK_STRUCT_FIELD(uInt32ackno); +PACK_STRUCT_FIELD(uInt16_offset_flags); +PACK_STRUCT_FIELD(uInt16wnd); +PACK_STRUCT_FIELD(uInt16chksum); +PACK_STRUCT_FIELD(uInt16urgp); }PACK_STRUCT_STRUCT; #defineTCPH_OFFSET(hdr)(NTOHS((hdr)->_offset_flags)>>8) @@ -1758,24 +1758,24 @@ err_t(*accept)(void*arg,structtcp_pcb*newpcb,err_terr); structip_addrlocal_ip; -uInt16local_port; +uInt16local_port; structip_addrremote_ip; -uInt16remote_port; +uInt16remote_port; /*receivervarables*/ -uInt32rcv_nxt;/*nextseqnoexpected*/ -uInt16rcv_wnd;/*receiverwindow*/ +uInt32rcv_nxt;/*nextseqnoexpected*/ +uInt16rcv_wnd;/*receiverwindow*/ /*Timers*/ -uInt16tmr; +uInt16tmr; /*Retransmissiontimer.*/ -uInt8rtime; +uInt8rtime; -uInt16mss;/*maximumsegmentsize*/ +uInt16mss;/*maximumsegmentsize*/ -uInt8flags; +uInt8flags; #defineTF_ACK_DELAY0x01/*DelayedACK.*/ #defineTF_ACK_NOW0x02/*ImmediateACK.*/ #defineTF_INFR0x04/*Infastrecovery.*/ @@ -1784,34 +1784,34 @@ #defineTF_GOT_FIN0x20/*Connectionwasclosedbytheremoteend.*/ /*RTTestimationvariables.*/ -uInt16rttest;/*RTTestimatein500msticks*/ -uInt32rtseq;/*sequencenumberbeingtimed*/ -Int32sa,sv; +uInt16rttest;/*RTTestimatein500msticks*/ +uInt32rtseq;/*sequencenumberbeingtimed*/ +Int32sa,sv; -uInt16rto;/*retransmissiontime-out*/ -uInt8nrtx;/*numberofretransmissions*/ +uInt16rto;/*retransmissiontime-out*/ +uInt8nrtx;/*numberofretransmissions*/ /*fastretransmit/recovery*/ -uInt32lastack;/*Highestacknowledgedseqno.*/ -uInt8dupacks; +uInt32lastack;/*Highestacknowledgedseqno.*/ +uInt8dupacks; /*congestionavoidance/controlvariables*/ -uInt16cwnd; -uInt16ssthresh; +uInt16cwnd; +uInt16ssthresh; /*sendervariables*/ -uInt32snd_nxt,/*nextseqnotobesent*/ +uInt32snd_nxt,/*nextseqnotobesent*/ snd_max,/*Highestseqnosent.*/ snd_wnd,/*senderwindow*/ snd_wl1,snd_wl2, snd_lbb; -uInt16snd_buf;/*Avaliablebufferspaceforsending.*/ -uInt8snd_queuelen; +uInt16snd_buf;/*Avaliablebufferspaceforsending.*/ +uInt8snd_queuelen; /*Functiontobecalledwhenmoresendbufferspaceisavaliable.*/ -err_t(*sent)(void*arg,structtcp_pcb*pcb,uInt16space); -uInt16acked; +err_t(*sent)(void*arg,structtcp_pcb*pcb,uInt16space); +uInt16acked; /*Functiontobecalledwhen(in-sequence)datahasarrived.*/ err_t(*recv)(void*arg,structtcp_pcb*pcb,structpbuf*p,err_terr); @@ -1826,7 +1826,7 @@ /*Functiontobecalledwheneverafatalerroroccurs.*/ void(*errf)(void*arg,err_terr); -uInt8polltmr,pollinterval; +uInt8polltmr,pollinterval; /*Theseareorderedbysequencenumber:*/ structtcp_seg*unsent;/*Unsent(queued)segments.*/ @@ -1848,7 +1848,7 @@ void(*accept)(void*arg,structtcp_pcb*newpcb); structip_addrlocal_ip; -uInt16local_port; +uInt16local_port; }; /*ThisstructureisusedtorepressentTCPsegments.*/ @@ -1856,7 +1856,7 @@ structtcp_seg*next;/*usedwhenputtingsegementsonaqueue*/ structpbuf*p;/*buffercontainingdata+TCPheader*/ void*dataptr;/*pointertotheTCPdatainthepbuf*/ -uInt16len;/*theTCPlengthofthissegment*/ +uInt16len;/*theTCPlengthofthissegment*/ structtcp_hdr*tcphdr;/*theTCPheader*/ }; @@ -1865,8 +1865,8 @@ voidtcp_pcb_purge(structtcp_pcb*pcb); voidtcp_pcb_remove(structtcp_pcb**pcblist,structtcp_pcb*pcb); -uInt8tcp_segs_free(structtcp_seg*seg); -uInt8tcp_seg_free(structtcp_seg*seg); +uInt8tcp_segs_free(structtcp_seg*seg); +uInt8tcp_seg_free(structtcp_seg*seg); structtcp_seg*tcp_seg_copy(structtcp_seg*seg); #definetcp_ack(pcb)if((pcb)->flags&TF_ACK_DELAY){\ @@ -1879,24 +1879,24 @@ #definetcp_ack_now(pcb)(pcb)->flags|=TF_ACK_NOW;\ tcp_output(pcb) -err_ttcp_send_ctrl(structtcp_pcb*pcb,uInt8flags); -err_ttcp_enqueue(structtcp_pcb*pcb,void*dataptr,uInt16len, -uInt8flags,uInt8copy, -uInt8*optdata,uInt8optlen); +err_ttcp_send_ctrl(structtcp_pcb*pcb,uInt8flags); +err_ttcp_enqueue(structtcp_pcb*pcb,void*dataptr,uInt16len, +uInt8flags,uInt8copy, +uInt8*optdata,uInt8optlen); voidtcp_rexmit_seg(structtcp_pcb*pcb,structtcp_seg*seg); -voidtcp_rst(uInt32seqno,uInt32ackno, +voidtcp_rst(uInt32seqno,uInt32ackno, structip_addr*local_ip,structip_addr*remote_ip, -uInt16local_port,uInt16remote_port); +uInt16local_port,uInt16remote_port); -uInt32tcp_next_iss(void); +uInt32tcp_next_iss(void); -externuInt32tcp_ticks; +externuInt32tcp_ticks; #ifTCP_DEBUG||TCP_INPUT_DEBUG||TCP_OUTPUT_DEBUG voidtcp_debug_print(structtcp_hdr*tcphdr); -voidtcp_debug_print_flags(uInt8flags); +voidtcp_debug_print_flags(uInt8flags); voidtcp_debug_print_state(enumtcp_states); voidtcp_debug_print_pcbs(void); inttcp_pcbs_sane(void); diff --git a/doc/xml/tcpdump_8c.xml b/doc/xml/tcpdump_8c.xml index 555b541..d6ee305 100644 --- a/doc/xml/tcpdump_8c.xml +++ b/doc/xml/tcpdump_8c.xml @@ -2,7 +2,7 @@ tcpdump.c - vfs/file.h + vfs/file.h ubixos/kpanic.h netif/tcpdump.h net/ipv4/ip.h @@ -10,271 +10,273 @@ net/udp.h net/ipv4/inet.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -316,14 +318,14 @@ file - fopen + fopen kpanic NULL - fileDescriptor * + fileDescriptor * fileDescriptor* file file @@ -379,7 +381,7 @@ *$Id$ */ -#include<vfs/file.h> +#include<vfs/file.h> #include<ubixos/kpanic.h> #include"netif/tcpdump.h" @@ -388,13 +390,13 @@ #include"net/udp.h" #include"net/ipv4/inet.h" -fileDescriptor*file=NULL; +fileDescriptor*file=NULL; voidtcpdump_init(void){ char*fname; fname="tcpdump"; -file=fopen(fname,"wb"); +file=fopen(fname,"wb"); if(file==NULL){ kpanic("tcpdump_init:fopen\n"); } diff --git a/doc/xml/tcpdump_8h.xml b/doc/xml/tcpdump_8h.xml index f2d7e3f..64f6bd0 100644 --- a/doc/xml/tcpdump_8h.xml +++ b/doc/xml/tcpdump_8h.xml @@ -7,62 +7,62 @@ src/sys/net/netif/loopif.c src/sys/net/netif/tcpdump.c - + - + - + - - - - - - - - - - - - + + + + - + + + + + + + + + - + - + - + - + - + - + - + - + @@ -103,7 +103,7 @@ file - fopen + fopen kpanic NULL diff --git a/doc/xml/tcpip_8c.xml b/doc/xml/tcpip_8c.xml index d7f5444..aa9f651 100644 --- a/doc/xml/tcpip_8c.xml +++ b/doc/xml/tcpip_8c.xml @@ -14,373 +14,375 @@ net/tcp.h net/tcpip.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - + + + - + - + - - - - - - - - - - - - - - - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/doc/xml/tcpip_8h.xml b/doc/xml/tcpip_8h.xml index 3512fb3..5e05553 100644 --- a/doc/xml/tcpip_8h.xml +++ b/doc/xml/tcpip_8h.xml @@ -8,255 +8,255 @@ src/sys/net/api/tcpip.c src/sys/net/net/init.c - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + - - - - + + + + + + + + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - - - - - + - - - - - + + + - + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - + diff --git a/doc/xml/thread_8c.xml b/doc/xml/thread_8c.xml index 75639e0..37f6abd 100644 --- a/doc/xml/thread_8c.xml +++ b/doc/xml/thread_8c.xml @@ -2,159 +2,161 @@ thread.c - ubixfs/ubixfs.h + ubixfs/ubixfs.h ubixos/kpanic.h - vfs/vfs.h + vfs/vfs.h lib/kprintf.h - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - - + + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - - + + @@ -246,16 +248,16 @@ *****************************************************************************************/ -#include<ubixfs/ubixfs.h> +#include<ubixfs/ubixfs.h> #include<ubixos/kpanic.h> -#include<vfs/vfs.h> +#include<vfs/vfs.h> #include<lib/kprintf.h> staticstruct{ intmounts; }ubixFS_Info; -voidubixfs_thread(structvfs_mountPoint*mp){ +voidubixfs_thread(structvfs_mountPoint*mp){ mpi_message_tmyMsg; ubixFS_Info.mounts=0; diff --git a/doc/xml/thread_8h.xml b/doc/xml/thread_8h.xml index 9effac2..3d5bd4f 100644 --- a/doc/xml/thread_8h.xml +++ b/doc/xml/thread_8h.xml @@ -2,14 +2,15 @@ thread.h - ubixos/types.h + ubixos/types.h src/sys/include/sys/gen_calls.h src/sys/include/sys/kern_descrip.h src/sys/include/sys/kern_sig.h src/sys/include/sys/kern_sysctl.h src/sys/include/sys/pipe.h + src/sys/include/sys/sysproto.h src/sys/include/ubixos/sched.h - src/sys/include/vfs/vfs.h + src/sys/include/vfs/vfs.h src/sys/include/vmm/paging.h src/sys/kernel/gen_calls.c src/sys/kernel/kern_descrip.c @@ -17,710 +18,766 @@ src/sys/kernel/kern_sysctl.c src/sys/kernel/pipe.c - + - + - + - - + + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - + + + + - + - + - + - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + - + - + - + + + + + + + - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - + - + - - - - - - - - - - - - - - - - - - - + - - - + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - - - - - + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - + + + + + + + + + + + + + - - - + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + - + + + + + + + + + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - + - - - + + + - - - - + + + + + + + + + + + + - + - + - + - - - - - - - + - - - - - - - - - - - - + + + + - - - - - - + + + + + + + + - - - + + + - - - - + + + + + + + + + + + + - - - - - - - - - + - + - + - + - + - + - - - - + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - + + + + + thread + + + O_FILES + 64 + + + + + + + + getdtablesize + + @@ -758,21 +815,23 @@ #ifndef_THREAD_H #define_THREAD_H -#include<ubixos/types.h> +#include<ubixos/types.h> -structthread{ -inttd_retval[2]; -uInt32o_files[64]; -char*vm_daddr; -int32_tvm_dsize; -}; - -#endif - -/*** -END -***/ - +#defineO_FILES64 + +structthread{ +inttd_retval[2]; +u_int32_to_files[O_FILES]; +char*vm_daddr; +int32_tvm_dsize; +}; + +#endif + +/*** +END +***/ + diff --git a/doc/xml/time_8c.xml b/doc/xml/time_8c.xml index e0a4224..742b7e0 100644 --- a/doc/xml/time_8c.xml +++ b/doc/xml/time_8c.xml @@ -2,167 +2,169 @@ time.c - ubixos/types.h + ubixos/types.h ubixos/time.h ubixos/vitals.h lib/kprintf.h assert.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - - + + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -240,7 +242,7 @@ time_init - uInt32 + uInt32 uInt32 timeMake (struct timeStruct *time) timeMake @@ -333,7 +335,7 @@ *****************************************************************************************/ -#include<ubixos/types.h> +#include<ubixos/types.h> #include<ubixos/time.h> #include<ubixos/vitals.h> #include<lib/kprintf.h> @@ -395,8 +397,8 @@ return(0x0); } -uInt32timeMake(structtimeStruct*time){ -uInt32res; +uInt32timeMake(structtimeStruct*time){ +uInt32res; intyear; year=(time->year+100)-70; diff --git a/doc/xml/time_8h.xml b/doc/xml/time_8h.xml index bcfbeb5..ba3930e 100644 --- a/doc/xml/time_8h.xml +++ b/doc/xml/time_8h.xml @@ -2,7 +2,7 @@ time.h - ubixos/types.h + ubixos/types.h sys/io.h src/sys/include/ubixos/init.h src/sys/include/ubixos/ubthread.h @@ -10,155 +10,155 @@ src/sys/kernel/time.c src/sys/kernel/ubthread.c - + - - + + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - + - + - + - + - + @@ -311,7 +311,7 @@ timeStruct::year - uInt32 + uInt32 uInt32 timeMake (struct timeStruct *time) timeMake @@ -377,7 +377,7 @@ #ifndef_TIME_H #define_TIME_H -#include<ubixos/types.h> +#include<ubixos/types.h> #include<sys/io.h> typedeflongsuseconds_t; @@ -426,7 +426,7 @@ inttime_init(); -uInt32timeMake(structtimeStruct*time); +uInt32timeMake(structtimeStruct*time); #endif diff --git a/doc/xml/timer_8S.xml b/doc/xml/timer_8S.xml index 386902b..2a6a7bc 100644 --- a/doc/xml/timer_8S.xml +++ b/doc/xml/timer_8S.xml @@ -36,7 +36,7 @@ - globl timerInt text code32 dx mov ax outb dx movl ecx eax ebx xor edx div ebx test + globl timerInt text code32 dx mov ax outb dx movl ecx eax ebx xor edx div ebx test globl timerInt text code32 dx mov ax outb dx movl ecx eax ebx xor edx div ebx test edx edx @@ -49,7 +49,7 @@ - globl timerInt text code32 dx mov ax outb dx movl ecx eax ebx xor + globl timerInt text code32 dx mov ax outb dx movl ecx eax ebx xor globl timerInt text code32 dx mov ax outb dx movl ecx eax ebx xor edx edx @@ -62,7 +62,7 @@ - globl timerInt text code32 dx mov ax outb dx movl ecx eax + globl timerInt text code32 dx mov ax outb dx movl ecx eax globl _vmm_pageFault text code32 esp eax pushl ebx movl movl diff --git a/doc/xml/times_8h.xml b/doc/xml/times_8h.xml index e77a46e..bf4a6fc 100644 --- a/doc/xml/times_8h.xml +++ b/doc/xml/times_8h.xml @@ -2,38 +2,38 @@ times.h - ubixos/types.h + ubixos/types.h sys/_types.h src/sys/include/net/arch/perf.h - + - - + + - + - + - + - + - + - + - + @@ -90,7 +90,7 @@ #ifndef_TIMES_H #define_TIMES_H -#include<ubixos/types.h> +#include<ubixos/types.h> #include<sys/_types.h> #ifndef_CLOCK_T_DECLARED diff --git a/doc/xml/trap_8h.xml b/doc/xml/trap_8h.xml index ad7b382..50a1a3b 100644 --- a/doc/xml/trap_8h.xml +++ b/doc/xml/trap_8h.xml @@ -5,20 +5,20 @@ src/sys/kernel/syscall.c src/sys/kernel/syscall_new.c - + - + - + - + - + diff --git a/doc/xml/tss_8h.xml b/doc/xml/tss_8h.xml index 8810083..6d6925b 100644 --- a/doc/xml/tss_8h.xml +++ b/doc/xml/tss_8h.xml @@ -2,296 +2,102 @@ tss.h - ubixos/types.h + ubixos/types.h src/sys/include/ubixos/sched.h src/sys/init/main.c src/sys/kernel/bioscall.c - + - - + + - + - + - + - + - + - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + + + + + + + + + + + + + @@ -300,130 +106,324 @@ + + + + + + + + + + + + - - - + + + - - - - - - - - - + + + + + + + + + + + - - + + - - - + + + - - - + + + - - - - - + - + - + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -468,7 +468,7 @@ #ifndef_TSS_H #define_TSS_H -#include<ubixos/types.h> +#include<ubixos/types.h> structtssStruct{ shortback_link; @@ -521,28 +521,28 @@ }; structi386_frame{ -uInt32gs; -uInt32fs; -uInt32es; -uInt32ds; -uInt32ss; -uInt32edi; -uInt32esi; -uInt32ebp; -uInt32esp; -uInt32ebx; -uInt32edx; -uInt32ecx; -uInt32eax; +uInt32gs; +uInt32fs; +uInt32es; +uInt32ds; +uInt32ss; +uInt32edi; +uInt32esi; +uInt32ebp; +uInt32esp; +uInt32ebx; +uInt32edx; +uInt32ecx; +uInt32eax; /* uInt32vector; uInt32error_code; */ -uInt32eip; -uInt32cs; -uInt32flags; -uInt32user_esp; -uInt32user_ss; +uInt32eip; +uInt32cs; +uInt32flags; +uInt32user_esp; +uInt32user_ss; }; #endif diff --git a/doc/xml/tty_8c.xml b/doc/xml/tty_8c.xml index 3cb6862..0a546ae 100644 --- a/doc/xml/tty_8c.xml +++ b/doc/xml/tty_8c.xml @@ -10,69 +10,69 @@ sys/io.h string.h - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + @@ -84,7 +84,7 @@ (uInt16 tty) tty_change - uInt16 + uInt16 tty @@ -112,7 +112,7 @@ (uInt16 tty) tty_find - uInt16 + uInt16 tty @@ -335,7 +335,7 @@ totheforegroundbuffercopiesthenewttysbuffertothescreenand adjustsacouplepointersandwearegoodtogo. */ -inttty_change(uInt16tty){ +inttty_change(uInt16tty){ if(tty>TTY_MAX_TERMS) kpanic("Error:Changingtoaninvalidtty.File:%s,Line:%i\n",__FILE__,__LINE__); @@ -418,7 +418,7 @@ return(0x0); } -tty_term*tty_find(uInt16tty){ +tty_term*tty_find(uInt16tty){ return(&terms[tty]); } diff --git a/doc/xml/tty_8h.xml b/doc/xml/tty_8h.xml index 5b17444..7049f21 100644 --- a/doc/xml/tty_8h.xml +++ b/doc/xml/tty_8h.xml @@ -2,7 +2,7 @@ tty.h - ubixos/types.h + ubixos/types.h src/sys/include/ubixos/init.h src/sys/include/ubixos/sched.h src/sys/isa/atkbd.c @@ -12,445 +12,445 @@ src/sys/kernel/tty.c src/sys/sys/video.c - + - - + + - + - + - + - + - + + + + + + + + + + + - + + + + + + + + + - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + - + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + - - - - - - - - - + - + + + + + - + - + - + - + - + - + - + @@ -493,7 +493,7 @@ (uInt16) tty_change - uInt16 + uInt16 @@ -520,7 +520,7 @@ (uInt16) tty_find - uInt16 + uInt16 @@ -653,24 +653,24 @@ #ifndef_TTY_H #define_TTY_H -#include<ubixos/types.h> +#include<ubixos/types.h> #defineTTY_MAX_TERMS5 typedefstructtty_termNode{ char*tty_buffer; char*tty_pointer; -uInt8tty_colour; -uInt16tty_x; -uInt16tty_y; -pidTypeowner; +uInt8tty_colour; +uInt16tty_x; +uInt16tty_y; +pidTypeowner; charstdin[512]; intstdinSize; }tty_term; inttty_init(); -inttty_change(uInt16); -tty_term*tty_find(uInt16); +inttty_change(uInt16); +tty_term*tty_find(uInt16); inttty_print(char*,tty_term*); externtty_term*tty_foreground; diff --git a/doc/xml/ubixfs_8c.xml b/doc/xml/ubixfs_8c.xml index 3513bd7..e7adb82 100644 --- a/doc/xml/ubixfs_8c.xml +++ b/doc/xml/ubixfs_8c.xml @@ -2,10 +2,10 @@ ubixfs.c - ubixfs/ubixfs.h + ubixfs/ubixfs.h ubixfs/dirCache.h - vfs/vfs.h - ubixos/types.h + vfs/vfs.h + ubixos/types.h ubixos/sched.h ubixos/kpanic.h ubixos/exec.h @@ -14,192 +14,194 @@ lib/kprintf.h assert.h - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - - + + @@ -214,7 +216,7 @@ file - fileDescriptor * + fileDescriptor * fd @@ -225,19 +227,28 @@ assert - ubixFSInfo::dirCache - fileRead - fileWrite + fileDescriptorStruct::cacheNode + vfs_mountPoint::device + device_node::devInfo + ubixFSInfo::dirCache + fileRead + fileWrite + vfs_mountPoint::fsInfo cacheNode::info kmalloc kprintf + fileDescriptorStruct::mode + fileDescriptorStruct::mp NULL cacheNode::permissions + fileDescriptorStruct::perms cacheNode::present - fileDescriptor::size + device_interface::read + fileDescriptorStruct::size cacheNode::size + fileDescriptorStruct::start cacheNode::startCluster - UBIXFS_ALIGN + UBIXFS_ALIGN ubixfs_cacheFind ubixfs_loadData x1 @@ -249,7 +260,7 @@ (fileDescriptor *fd, char *data, uInt32 offset, long size) readUbixFS - fileDescriptor * + fileDescriptor * fd @@ -257,7 +268,7 @@ data - uInt32 + uInt32 offset @@ -273,10 +284,16 @@ assert buffer - fdEof + fileDescriptorStruct::cacheNode + fdEof + vfs_mountPoint::fsInfo + cacheNode::info kpanic + fileDescriptorStruct::mp NULL - fileDescriptor::size + cacheNode::present + fileDescriptorStruct::size + fileDescriptorStruct::status addDirEntry ubixfs_init @@ -295,12 +312,12 @@ kpanic NULL openFileUbixFS - readUbixFS - ubixfs_initialize - ubixFSmkDir - ubixFSUnlink - vfsRegisterFS - writeUbixFS + readUbixFS + ubixfs_initialize + ubixFSmkDir + ubixFSUnlink + vfsRegisterFS + writeUbixFS x1 @@ -321,29 +338,29 @@ assert cacheNode::attributes - ubixFSInfo::batEntries - ubixFSInfo::blockAllocationTable + ubixFSInfo::batEntries + ubixFSInfo::blockAllocationTable vfs_mountPoint::device - device_node::devInfo - ubixFSInfo::dirCache + device_node::devInfo + ubixFSInfo::dirCache vfs_mountPoint::diskLabel vfs_mountPoint::fsInfo cacheNode::info - device_interface::info + device_interface::info kmalloc kprintf - ubixDiskLabel::magicNum - ubixDiskLabel::magicNum2 + ubixDiskLabel::magicNum + ubixDiskLabel::magicNum2 vfs_mountPoint::partition ubixDiskLabel::partitions - ubixDiskLabel::ubixPartitions::pBatSize + ubixDiskLabel::ubixPartitions::pBatSize cacheNode::permissions cacheNode::present device_interface::read - ubixFSInfo::rootDir + ubixFSInfo::rootDir cacheNode::size cacheNode::startCluster - UBIXDISKMAGIC + UBIXDISKMAGIC ubixfs_cacheNew x1 @@ -353,7 +370,7 @@ (fileDescriptor *fd, char *data, uInt32 size, uInt32 batIndex) ubixfs_loadData - fileDescriptor * + fileDescriptor * fd @@ -361,11 +378,11 @@ data - uInt32 + uInt32 size - uInt32 + uInt32 batIndex @@ -376,13 +393,22 @@ assert - ubixFSInfo::blockAllocationTable - blockSize - blockAllocationTableEntry::nextBlock + ubixFSInfo::blockAllocationTable + blockSize + vfs_mountPoint::device + device_node::devInfo + vfs_mountPoint::diskLabel + vfs_mountPoint::fsInfo + device_interface::info + fileDescriptorStruct::mp + blockAllocationTableEntry::nextBlock NULL - blockAllocationTableEntry::realSector - UBIXFS_ALIGN - UBIXFS_BLOCKSIZE_BYTES + vfs_mountPoint::partition + ubixDiskLabel::partitions + device_interface::read + blockAllocationTableEntry::realSector + UBIXFS_ALIGN + UBIXFS_BLOCKSIZE_BYTES openFileUbixFS @@ -405,21 +431,21 @@ - ubixFSInfo::blockAllocationTable + ubixFSInfo::blockAllocationTable vfs_mountPoint::device - device_node::devInfo + device_node::devInfo vfs_mountPoint::diskLabel - directoryEntry::fileName + directoryEntry::fileName vfs_mountPoint::fsInfo - device_interface::info + device_interface::info kmalloc kprintf vfs_mountPoint::partition ubixDiskLabel::partitions device_interface::read - ubixFSInfo::rootDir - strcmp - typeDeleted + ubixFSInfo::rootDir + strcmp + typeDeleted device_interface::write x1000 ubixfs_init @@ -434,7 +460,7 @@ ch - fileDescriptor * + fileDescriptor * fd @@ -449,11 +475,19 @@ assert - ubixFSInfo::blockAllocationTable - fdOpen - fdRead - blockAllocationTableEntry::nextBlock + ubixFSInfo::blockAllocationTable + vfs_mountPoint::diskLabel + fdOpen + fdRead + vfs_mountPoint::fsInfo + fileDescriptorStruct::mp + blockAllocationTableEntry::nextBlock NULL + vfs_mountPoint::partition + ubixDiskLabel::partitions + ubixDiskLabel::ubixPartitions::pBatSize + fileDescriptorStruct::start + fileDescriptorStruct::status int @@ -461,7 +495,7 @@ (fileDescriptor *fd, char *data, long offset, long size) writeUbixFS - fileDescriptor * + fileDescriptor * fd @@ -484,20 +518,33 @@ assert - ubixFSInfo::blockAllocationTable - blockSize - EOBC - directoryEntry::fileName - getFreeBlocks + ubixFSInfo::blockAllocationTable + blockSize + fileDescriptorStruct::buffer + vfs_mountPoint::device + device_node::devInfo + vfs_mountPoint::diskLabel + EOBC + fileDescriptorStruct::fileName + directoryEntry::fileName + vfs_mountPoint::fsInfo + getFreeBlocks + device_interface::info kfree kmalloc - blockAllocationTableEntry::nextBlock + fileDescriptorStruct::mp + blockAllocationTableEntry::nextBlock NULL - blockAllocationTableEntry::realSector - directoryEntry::size - fileDescriptor::size - directoryEntry::startCluster - strcmp + vfs_mountPoint::partition + ubixDiskLabel::partitions + device_interface::read + blockAllocationTableEntry::realSector + directoryEntry::size + fileDescriptorStruct::size + fileDescriptorStruct::start + directoryEntry::startCluster + strcmp + device_interface::write x1000 addDirEntry ubixfs_init @@ -537,10 +584,10 @@ *****************************************************************************************/ -#include<ubixfs/ubixfs.h> +#include<ubixfs/ubixfs.h> #include<ubixfs/dirCache.h> -#include<vfs/vfs.h> -#include<ubixos/types.h> +#include<vfs/vfs.h> +#include<ubixos/types.h> #include<ubixos/sched.h> #include<ubixos/kpanic.h> #include<ubixos/exec.h> @@ -550,15 +597,15 @@ #include<assert.h> /*Staticdefines*/ -staticintubixfs_loadData(fileDescriptor*fd,char*data,uInt32size,uInt32batIndex); +staticintubixfs_loadData(fileDescriptor*fd,char*data,uInt32size,uInt32batIndex); -staticintopenFileUbixFS(constchar*file,fileDescriptor*fd){ +staticintopenFileUbixFS(constchar*file,fileDescriptor*fd){ //intx=0; /*mjistructdirectoryEntry*dirEntry=(structdirectoryEntry*)kmalloc(0x4000);*/ structcacheNode*cacheNode=NULL; //structdirectoryEntry*dirEntry=NULL; -structubixFSInfo*fsInfo=fd->mp->fsInfo; +structubixFSInfo*fsInfo=fd->mp->fsInfo; @@ -566,15 +613,15 @@ //if(fsInfo->dirCache==NULL)kprintf("dirCacheisnull!\n"); assert(fd); -assert(fd->mp); -assert(fd->mp->device); -assert(fd->mp->device->devInfo); -assert(fd->mp->device->devInfo->read); +assert(fd->mp); +assert(fd->mp->device); +assert(fd->mp->device->devInfo); +assert(fd->mp->device->devInfo->read); assert(fsInfo); assert(fsInfo->dirCache); assert(file); -if((fd->mode&fileRead)==fileRead){ +if((fd->mode&fileRead)==fileRead){ do{ cacheNode=ubixfs_cacheFind(fsInfo->dirCache,(char*)file); if(cacheNode==NULL)return0; @@ -582,8 +629,8 @@ assert(cacheNode->size); if(*cacheNode->size!=0&&cacheNode->info==NULL){ //kprintf("cachingname(size):%s(%d)\n",cacheNode->name,*cacheNode->size); -cacheNode->info=kmalloc(UBIXFS_ALIGN(*cacheNode->size)); -fd->size=*cacheNode->size; +cacheNode->info=kmalloc(UBIXFS_ALIGN(*cacheNode->size)); +fd->size=*cacheNode->size; assert(cacheNode->startCluster); ubixfs_loadData(fd, cacheNode->info, @@ -596,10 +643,10 @@ assert(cacheNode); if(cacheNode==NULL)return0;/*thisshouldbecaughtabove*/ -fd->start=*cacheNode->startCluster; -fd->size=*cacheNode->size; -fd->perms=*cacheNode->permissions; -fd->cacheNode=cacheNode;/*DirectoryStartSector*/ +fd->start=*cacheNode->startCluster; +fd->size=*cacheNode->size; +fd->perms=*cacheNode->permissions; +fd->cacheNode=cacheNode;/*DirectoryStartSector*/ /* if(cacheNode->size!=0x0&&cacheNode->info==NULL){ cacheNode->info=kmalloc(UBIXFS_ALIGN(*cacheNode->size)); @@ -610,12 +657,12 @@ return(0x1); } else -if((fd->mode&fileWrite)==fileWrite){ +if((fd->mode&fileWrite)==fileWrite){ kprintf("Ouch!infilewrite!\n"); #if0 -fd->start=dirEntry->startCluster; -fd->size=dirEntry->size; -fd->perms=dirEntry->permissions; +fd->start=dirEntry->startCluster; +fd->size=dirEntry->size; +fd->perms=dirEntry->permissions; //fd->dirBlock=0x0;/*DirectoryStartSector*/ #endif return(0x1); @@ -625,25 +672,25 @@ } -intwriteFileByte(intch,fileDescriptor*fd,longoffset){ +intwriteFileByte(intch,fileDescriptor*fd,longoffset){ intblockCount=0x0,batIndex=0x0,batIndexPrev=0x0; -uInt32i=0x0; +uInt32i=0x0; structdirectoryEntry*dirEntry=0x0; structubixFSInfo*fsInfo=NULL; assert(fd); -assert(fd->mp); -assert(fd->mp->diskLabel); +assert(fd->mp); +assert(fd->mp->diskLabel); -batIndexPrev=fd->start; -fsInfo=fd->mp->fsInfo; +batIndexPrev=fd->start; +fsInfo=fd->mp->fsInfo; /*FindOutHowManyBlocksLongThisFileIs*/ blockCount=(offset/4096); /*FindTheBlockIfItDoesn'tExistWeWillHaveToAllocateOne*/ -for(i=0x0;i<=fd->mp->diskLabel->partitions[fd->mp->partition].pBatSize; +for(i=0x0;i<=fd->mp->diskLabel->partitions[fd->mp->partition].pBatSize; i++){ batIndex=fsInfo->blockAllocationTable[batIndexPrev].nextBlock; if(batIndex==0x0){ @@ -652,8 +699,8 @@ batIndexPrev=batIndex; } -if((offset%4096==0)&&(fd->status==fdRead)){ -fd->status=fdOpen; +if((offset%4096==0)&&(fd->status==fdRead)){ +fd->status=fdOpen; } /*IfbatIndex==0x0ThenWeMustAllocateANewBlock*/ @@ -672,14 +719,14 @@ fd->mp->device->devInfo->write(fd->mp->device->devInfo->info,fd->buffer,fd->mp->diskLabel->partitions[fd->mp->partition].pOffset+fsInfo->blockAllocationTable[batIndex].realSector,8); } else{ -if(fd->status!=fdRead){ +if(fd->status!=fdRead){ fd->mp->device->devInfo->read(fd->mp->device->devInfo->info,fd->buffer,fd->mp->diskLabel->partitions[fd->mp->partition].pOffset+fsInfo->blockAllocationTable[batIndex].realSector,8); -fd->status=fdRead; +fd->status=fdRead; } fd->buffer[offset-(blockCount*4096)]=ch; fd->mp->device->devInfo->write(fd->mp->device->devInfo->info,fd->buffer,fd->mp->diskLabel->partitions[fd->mp->partition].pOffset+fsInfo->blockAllocationTable[batIndex].realSector,8); } -if((uInt32)offset>fd->size){ +if((uInt32)offset>fd->size){ fd->size=offset; dirEntry=(structdirectoryEntry*)kmalloc(4096); /* @@ -701,27 +748,27 @@ /*VerifiedFunctions*/ -intreadUbixFS(fileDescriptor*fd,char*data,uInt32offset,longsize){ +intreadUbixFS(fileDescriptor*fd,char*data,uInt32offset,longsize){ inti=0x0; char*buffer=0x0; structubixFSInfo*fsInfo=NULL; assert(fd); -assert(fd->mp); -assert(fd->mp->fsInfo); +assert(fd->mp); +assert(fd->mp->fsInfo); -fsInfo=fd->mp->fsInfo; +fsInfo=fd->mp->fsInfo; -if(fd->cacheNode->present!=1) +if(fd->cacheNode->present!=1) kpanic("ERRORwithcachenode\n"); -buffer=(char*)fd->cacheNode->info; +buffer=(char*)fd->cacheNode->info; for(i=0x0;i<size;i++){ -if(offset>fd->size){ +if(offset>fd->size){ /*SetFileEOFIfThereIsNothingToDo*/ /*data[i]='\0';Isthissafe?*/ -fd->status=fdEof; +fd->status=fdEof; return(size); } /*CopyDataFromBufferToData*/ @@ -739,74 +786,74 @@ Notes: ************************************************************************/ -intwriteUbixFS(fileDescriptor*fd,char*data,longoffset,longsize){ -uInt32blockOffset=0x0; -uInt32blockIndex; -uInt32blockIndexPrev; -uInt32i=0x0; +intwriteUbixFS(fileDescriptor*fd,char*data,longoffset,longsize){ +uInt32blockOffset=0x0; +uInt32blockIndex; +uInt32blockIndexPrev; +uInt32i=0x0; structubixFSInfo*fsInfo=NULL; structdirectoryEntry*dirEntry=0x0; assert(fd); -assert(fd->mp); -assert(fd->mp->fsInfo); -assert(fd->mp->device); -assert(fd->mp->device->devInfo); +assert(fd->mp); +assert(fd->mp->fsInfo); +assert(fd->mp->device); +assert(fd->mp->device->devInfo); -blockIndex=blockIndexPrev=fd->start; -fsInfo=fd->mp->fsInfo; +blockIndex=blockIndexPrev=fd->start; +fsInfo=fd->mp->fsInfo; blockOffset=(offset/0x1000); -if(fd->size!=0x0){ +if(fd->size!=0x0){ for(i=0x0;i<blockOffset;i++){ blockIndex=fsInfo->blockAllocationTable[blockIndexPrev].nextBlock; -if((int)blockIndex==EOBC){ -blockIndex=getFreeBlocks(1,fd); +if((int)blockIndex==EOBC){ +blockIndex=getFreeBlocks(1,fd); fsInfo->blockAllocationTable[blockIndexPrev].nextBlock=blockIndex; -fsInfo->blockAllocationTable[blockIndex].nextBlock=EOBC; +fsInfo->blockAllocationTable[blockIndex].nextBlock=EOBC; break; } blockIndexPrev=blockIndex; } } -fd->mp->device->devInfo->read(fd->mp->device->devInfo->info,fd->buffer,fd->mp->diskLabel->partitions[fd->mp->partition].pOffset+fsInfo->blockAllocationTable[blockIndex].realSector,blockSize); -for(i=0x0;i<(uInt32)size;i++){ +fd->mp->device->devInfo->read(fd->mp->device->devInfo->info,fd->buffer,fd->mp->diskLabel->partitions[fd->mp->partition].pOffset+fsInfo->blockAllocationTable[blockIndex].realSector,blockSize); +for(i=0x0;i<(uInt32)size;i++){ -fd->buffer[(offset-(blockOffset*0x1000))]=data[i]; +fd->buffer[(offset-(blockOffset*0x1000))]=data[i]; offset++; if(offset%4096==0x0){ blockOffset++; -fd->mp->device->devInfo->write(fd->mp->device->devInfo->info,fd->buffer,fd->mp->diskLabel->partitions[fd->mp->partition].pOffset+fsInfo->blockAllocationTable[blockIndex].realSector,blockSize); +fd->mp->device->devInfo->write(fd->mp->device->devInfo->info,fd->buffer,fd->mp->diskLabel->partitions[fd->mp->partition].pOffset+fsInfo->blockAllocationTable[blockIndex].realSector,blockSize); -if(fsInfo->blockAllocationTable[blockIndex].nextBlock==EOBC){ +if(fsInfo->blockAllocationTable[blockIndex].nextBlock==EOBC){ blockIndexPrev=blockIndex; -blockIndex=getFreeBlocks(1,fd); +blockIndex=getFreeBlocks(1,fd); fsInfo->blockAllocationTable[blockIndexPrev].nextBlock=blockIndex; -fsInfo->blockAllocationTable[blockIndex].nextBlock=EOBC; +fsInfo->blockAllocationTable[blockIndex].nextBlock=EOBC; } else{ blockIndex=fsInfo->blockAllocationTable[blockIndex].nextBlock; -fd->mp->device->devInfo->read(fd->mp->device->devInfo->info,fd->buffer,fd->mp->diskLabel->partitions[fd->mp->partition].pOffset+fsInfo->blockAllocationTable[blockIndex].realSector,blockSize); +fd->mp->device->devInfo->read(fd->mp->device->devInfo->info,fd->buffer,fd->mp->diskLabel->partitions[fd->mp->partition].pOffset+fsInfo->blockAllocationTable[blockIndex].realSector,blockSize); } } } -fd->mp->device->devInfo->write(fd->mp->device->devInfo->info,fd->buffer,fd->mp->diskLabel->partitions[fd->mp->partition].pOffset+fsInfo->blockAllocationTable[blockIndex].realSector,blockSize); +fd->mp->device->devInfo->write(fd->mp->device->devInfo->info,fd->buffer,fd->mp->diskLabel->partitions[fd->mp->partition].pOffset+fsInfo->blockAllocationTable[blockIndex].realSector,blockSize); -if((uInt32)offset>fd->size){ -fd->size=offset; +if((uInt32)offset>fd->size){ +fd->size=offset; dirEntry=(structdirectoryEntry*)kmalloc(4096); /* fd->mp->device->devInfo->read(fd->mp->device->devInfo->info,dirEntry,(fd->mp->diskLabel->partitions[fd->mp->partition].pOffset+fsInfo->blockAllocationTable[fd->dirBlock].realSector),blockSize); */ for(i=0x0;i<(4096/sizeof(structdirectoryEntry));i++){ -if((int)!strcmp(dirEntry[i].fileName,fd->fileName)) +if((int)!strcmp(dirEntry[i].fileName,fd->fileName)) break; } -dirEntry[i].size=fd->size; -dirEntry[i].startCluster=fd->start; +dirEntry[i].size=fd->size; +dirEntry[i].startCluster=fd->start; /* fd->mp->device->devInfo->write(fd->mp->device->devInfo->info,dirEntry,(fd->mp->diskLabel->partitions[fd->mp->partition].pOffset+fsInfo->blockAllocationTable[fd->dirBlock].realSector),blockSize); */ @@ -816,16 +863,16 @@ return(size); } -voidubixFSUnlink(char*path,structvfs_mountPoint*mp){ +voidubixFSUnlink(char*path,structvfs_mountPoint*mp){ intx=0; structdirectoryEntry*dirEntry=(structdirectoryEntry*)kmalloc(0x1000); structubixFSInfo*fsInfo=mp->fsInfo; mp->device->devInfo->read(mp->device->devInfo->info,dirEntry,(mp->diskLabel->partitions[mp->partition].pOffset+fsInfo->blockAllocationTable[fsInfo->rootDir].realSector),8); -for(x=0;(uInt32)x<(4096/sizeof(structdirectoryEntry));x++){ +for(x=0;(uInt32)x<(4096/sizeof(structdirectoryEntry));x++){ if((int)!strcmp(dirEntry[x].fileName,path)){ -dirEntry[x].attributes|=typeDeleted; +dirEntry[x].attributes|=typeDeleted; dirEntry[x].fileName[0]='?'; mp->device->devInfo->write(mp->device->devInfo->info,dirEntry,(mp->diskLabel->partitions[mp->partition].pOffset+fsInfo->blockAllocationTable[fsInfo->rootDir].realSector),8); return; @@ -848,26 +895,26 @@ actualfilesize *****************************************************************************************/ -staticintubixfs_loadData(fileDescriptor*fd,char*data,uInt32size,uInt32batIndex){ -uInt32i=0x0; +staticintubixfs_loadData(fileDescriptor*fd,char*data,uInt32size,uInt32batIndex){ +uInt32i=0x0; structubixFSInfo*fsInfo=NULL; assert(fd); -assert(fd->mp); -assert(fd->mp->fsInfo); +assert(fd->mp); +assert(fd->mp->fsInfo); -fsInfo=fd->mp->fsInfo; +fsInfo=fd->mp->fsInfo; -size=UBIXFS_ALIGN(size); +size=UBIXFS_ALIGN(size); /*Loopbyblocksize*/ -for(i=0x0;i<size;i+=(UBIXFS_BLOCKSIZE_BYTES)){ +for(i=0x0;i<size;i+=(UBIXFS_BLOCKSIZE_BYTES)){ /*Getnextblockifwearereadyforit*/ if(i!=0x0) batIndex=fsInfo->blockAllocationTable[batIndex].nextBlock; /*Readdatainfrommedia*/ -fd->mp->device->devInfo->read(fd->mp->device->devInfo->info,data+i,fd->mp->diskLabel->partitions[fd->mp->partition].pOffset+fsInfo->blockAllocationTable[batIndex].realSector,blockSize); +fd->mp->device->devInfo->read(fd->mp->device->devInfo->info,data+i,fd->mp->diskLabel->partitions[fd->mp->partition].pOffset+fsInfo->blockAllocationTable[batIndex].realSector,blockSize); } /*Return*/ return(0x0); @@ -883,7 +930,7 @@ Notes: *****************************************************************************************/ -intubixfs_initialize(structvfs_mountPoint*mp){ +intubixfs_initialize(structvfs_mountPoint*mp){ structubixFSInfo*fsInfo=0x0; assert(mp); @@ -899,7 +946,7 @@ /* CheckthedisklabeltoensurethisisanUbixFSpartition */ -if((mp->diskLabel->magicNum==UBIXDISKMAGIC)&&(mp->diskLabel->magicNum2==UBIXDISKMAGIC)){ +if((mp->diskLabel->magicNum==UBIXDISKMAGIC)&&(mp->diskLabel->magicNum2==UBIXDISKMAGIC)){ /*AllocatememoryforBAT*/ fsInfo->blockAllocationTable=(structblockAllocationTableEntry*)kmalloc(mp->diskLabel->partitions[mp->partition].pBatSize*512); @@ -963,24 +1010,24 @@ Notes: *****************************************************************************************/ -intubixfs_init(){ +intubixfs_init(){ /*Setupourfilesystemstructure*/ structfileSystemubixFileSystem= {NULL,/*prev*/ NULL,/*next*/ -(void*)ubixfs_initialize,/*vfsInitFS*/ -(void*)readUbixFS,/*vfsRead*/ -(void*)writeUbixFS,/*vfsWrite*/ +(void*)ubixfs_initialize,/*vfsInitFS*/ +(void*)readUbixFS,/*vfsRead*/ +(void*)writeUbixFS,/*vfsWrite*/ (void*)openFileUbixFS,/*vfsOpenFile*/ -(void*)ubixFSUnlink,/*vfsUnlink*/ -(void*)ubixFSmkDir,/*vfsMakeDir*/ +(void*)ubixFSUnlink,/*vfsUnlink*/ +(void*)ubixFSmkDir,/*vfsMakeDir*/ NULL,/*vfsRemDir*/ NULL,/*vfsSync*/ 0/*vfsType*/ };/*ubixFileSystem*/ /*AddUbixFS*/ -if(vfsRegisterFS(ubixFileSystem)!=0x0){ +if(vfsRegisterFS(ubixFileSystem)!=0x0){ kpanic("UnableToEnableUbixFS"); return(0x1); } diff --git a/doc/xml/ubixfs_8cpp.xml b/doc/xml/ubixfs_8cpp.xml index 748b6ed..36cd065 100644 --- a/doc/xml/ubixfs_8cpp.xml +++ b/doc/xml/ubixfs_8cpp.xml @@ -11,127 +11,127 @@ ubixfs.h btree.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -297,7 +297,7 @@ //batSizeisinsectors batSect=blocks*8; -strcpy(sb->name,"UbixFS"); +strcpy(sb->name,"UbixFS"); sb->magic1=UBIXFS_MAGIC1; sb->fsByteOrder=0; sb->blockSize=4096; @@ -394,7 +394,7 @@ inode->blocks.maxDirectRange=sizeof(bTreeHeader); inode->blocks.size=sizeof(bTreeHeader); -strcpy(inode->name,"/"); +strcpy(inode->name,"/"); inode->uid=getuid(); inode->gid=getgid(); //inode->mode @@ -1041,7 +1041,7 @@ memset(&name,0,sizeof(name)); //findthedirname -len=strlen(path); +len=strlen(path); assert(path[0]=='/');//badinput:vfsisn'tdoingitsjob assert(len>1);//badinput:mkdir/ diff --git a/doc/xml/ubixfsv2_2device_8h.xml b/doc/xml/ubixfsv2_2device_8h.xml index 8087bdf..fed6b76 100644 --- a/doc/xml/ubixfsv2_2device_8h.xml +++ b/doc/xml/ubixfsv2_2device_8h.xml @@ -9,94 +9,94 @@ src/sys/ubixfsv2/ramdrive.h src/sys/ubixfsv2/ramdrive.cpp - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + - - - + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/xml/ubixfsv2_2file_8h.xml b/doc/xml/ubixfsv2_2file_8h.xml index fb6bc5a..5578ccd 100644 --- a/doc/xml/ubixfsv2_2file_8h.xml +++ b/doc/xml/ubixfsv2_2file_8h.xml @@ -7,115 +7,115 @@ src/sys/ubixfsv2/ubixfs.h src/sys/ubixfsv2/btree.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/doc/xml/ubixfsv2_2types_8h.xml b/doc/xml/ubixfsv2_2types_8h.xml index a30893f..a5100ec 100644 --- a/doc/xml/ubixfsv2_2types_8h.xml +++ b/doc/xml/ubixfsv2_2types_8h.xml @@ -5,85 +5,85 @@ src/sys/ubixfsv2/ubixfs.h src/sys/ubixfsv2/device.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/doc/xml/ubixfsv2_2ubixfs_8h.xml b/doc/xml/ubixfsv2_2ubixfs_8h.xml index 31ff95a..2bbc1dc 100644 --- a/doc/xml/ubixfsv2_2ubixfs_8h.xml +++ b/doc/xml/ubixfsv2_2ubixfs_8h.xml @@ -13,115 +13,115 @@ src/sys/ubixfsv2/main.cpp src/sys/ubixfsv2/ubixfs.cpp - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + diff --git a/doc/xml/ubixfsv2_2vfs_8h.xml b/doc/xml/ubixfsv2_2vfs_8h.xml index 10c9dbc..916bc91 100644 --- a/doc/xml/ubixfsv2_2vfs_8h.xml +++ b/doc/xml/ubixfsv2_2vfs_8h.xml @@ -7,35 +7,35 @@ src/sys/ubixfsv2/main.cpp src/sys/ubixfsv2/vfs.cpp - + - + - + - + - + - + - + - + - + - + diff --git a/doc/xml/ubixos_2init_8h.xml b/doc/xml/ubixos_2init_8h.xml index f0c98a9..4927325 100644 --- a/doc/xml/ubixos_2init_8h.xml +++ b/doc/xml/ubixos_2init_8h.xml @@ -3,7 +3,7 @@ init.h vmm/vmm.h - vfs/vfs.h + vfs/vfs.h isa/8259.h sys/idt.h ubixos/sched.h @@ -14,7 +14,7 @@ isa/ne2k.h devfs/devfs.h pci/pci.h - ubixfs/ubixfs.h + ubixfs/ubixfs.h isa/fdc.h ubixos/tty.h ufs/ufs.h @@ -24,334 +24,336 @@ ubixos/vitals.h src/sys/init/main.c - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - + + - + - + + + - - - - - - - - - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + @@ -461,7 +463,7 @@ #define_INIT_H #include<vmm/vmm.h> -#include<vfs/vfs.h> +#include<vfs/vfs.h> #include<isa/8259.h> #include<sys/idt.h> #include<ubixos/sched.h> @@ -472,7 +474,7 @@ #include<isa/ne2k.h> #include<devfs/devfs.h> #include<pci/pci.h> -#include<ubixfs/ubixfs.h> +#include<ubixfs/ubixfs.h> #include<isa/fdc.h> #include<ubixos/tty.h> #include<ufs/ufs.h> @@ -490,7 +492,7 @@ idt_init, vitals_init, sysctl_init, -vfs_init, +vfs_init, sched_init, pit_init, atkbd_init, diff --git a/doc/xml/ubthread_8c.xml b/doc/xml/ubthread_8c.xml index ec1fdaf..5581d3f 100644 --- a/doc/xml/ubthread_8c.xml +++ b/doc/xml/ubthread_8c.xml @@ -11,183 +11,185 @@ lib/kmalloc.h lib/kprintf.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + @@ -222,7 +224,7 @@ cond - const uInt32 + const uInt32 attr @@ -329,7 +331,7 @@ thread - const uInt32 * + const uInt32 * attr @@ -382,7 +384,7 @@ mutex - const uInt32 + const uInt32 attr @@ -555,7 +557,7 @@ return(_current); } -intubthread_cond_init(ubthread_cond_t*cond,constuInt32attr){ +intubthread_cond_init(ubthread_cond_t*cond,constuInt32attr){ ubthread_cond_tubcond=kmalloc(sizeof(structubthread_cond)); ubcond->id=(int)cond; ubcond->locked=UNLOCKED; @@ -563,7 +565,7 @@ return(0x0); } -intubthread_mutex_init(ubthread_mutex_t*mutex,constuInt32attr){ +intubthread_mutex_init(ubthread_mutex_t*mutex,constuInt32attr){ ubthread_mutex_tubmutex=kmalloc(sizeof(structubthread_mutex)); ubmutex->id=(int)mutex; ubmutex->locked=UNLOCKED; @@ -583,7 +585,7 @@ return(0x0); } -intubthread_create(kTask_t**thread,constuInt32*attr,void(*tproc)(void),void*arg){ +intubthread_create(kTask_t**thread,constuInt32*attr,void(*tproc)(void),void*arg){ *thread=(void*)execThread(tproc,(int)(kmalloc(0x2000)+0x2000),arg); return(0x0); } @@ -615,7 +617,7 @@ intubthread_cond_timedwait(ubthread_cond_t*cond,ubthread_mutex_t*mutex,conststructtimespec*abstime){ ubthread_cond_tubcond=*cond; ubthread_mutex_tubmutex=*mutex; -uInt32enterTime=systemVitals->sysUptime+20; +uInt32enterTime=systemVitals->sysUptime+20; while(enterTime>systemVitals->sysUptime){ if(ubcond->locked==UNLOCKED)break; sched_yield(); diff --git a/doc/xml/ubthread_8h.xml b/doc/xml/ubthread_8h.xml index 9af17b6..9edfbd8 100644 --- a/doc/xml/ubthread_8h.xml +++ b/doc/xml/ubthread_8h.xml @@ -2,248 +2,250 @@ ubthread.h - ubixos/types.h + ubixos/types.h ubixos/sched.h ubixos/time.h src/sys/include/ubixos/vitals.h src/sys/kernel/ubthread.c src/sys/net/net/sys_arch.c - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - - + + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -369,7 +371,7 @@ cond - const uInt32 + const uInt32 attr @@ -476,7 +478,7 @@ thread - const uInt32 * + const uInt32 * attr @@ -529,7 +531,7 @@ mutex - const uInt32 + const uInt32 attr @@ -650,7 +652,7 @@ #ifndef_UBTHREAD_H #define_UBTHREAD_H -#include<ubixos/types.h> +#include<ubixos/types.h> #include<ubixos/sched.h> #include<ubixos/time.h> @@ -669,13 +671,13 @@ structubthread_cond{ intid; -uInt8locked; +uInt8locked; }; structubthread_mutex{ intid; -uInt8locked; -pidTypepid; +uInt8locked; +pidTypepid; }; structubthread_list{ @@ -695,11 +697,11 @@ kTask_t*ubthread_self(); -intubthread_cond_init(ubthread_cond_t*cond,constuInt32attr); -intubthread_mutex_init(ubthread_mutex_t*mutex,constuInt32attr); +intubthread_cond_init(ubthread_cond_t*cond,constuInt32attr); +intubthread_mutex_init(ubthread_mutex_t*mutex,constuInt32attr); intubthread_cond_destroy(ubthread_cond_t*cond); intubthread_mutex_destroy(ubthread_mutex_t*mutex); -intubthread_create(kTask_t**thread,constuInt32*attr,void(*tproc)(void),void*arg); +intubthread_create(kTask_t**thread,constuInt32*attr,void(*tproc)(void),void*arg); intubthread_mutex_lock(ubthread_mutex_t*mutex); intubthread_mutex_unlock(ubthread_mutex_t*mutex); intubthread_cond_timedwait(ubthread_cond_t*cond,ubthread_mutex_t*mutex,conststructtimespec*abstime); diff --git a/doc/xml/udp_8h.xml b/doc/xml/udp_8h.xml index 53c630b..fdb27a3 100644 --- a/doc/xml/udp_8h.xml +++ b/doc/xml/udp_8h.xml @@ -12,219 +12,219 @@ src/sys/net/api/tcpip.c src/sys/net/netif/tcpdump.c - + - + - + - + + + - - - + - + - + - + - + - + - + - + - + - + - + + + - - - + - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - + + + - - - - + + + + - - - - - - - - - + - - - - - + + + + + + + - - + + + + - - - + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + + + + + + + + + + + + + + + + + + + + + + + - + + + + + - + + + - - - - - - - + + + - - + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + @@ -312,7 +312,7 @@ ipaddr - uInt16 + uInt16 port @@ -338,7 +338,7 @@ ipaddr - uInt16 + uInt16 port @@ -389,7 +389,7 @@ - uInt8 + uInt8 uInt8 udp_lookup (struct ip_hdr *iphdr, struct netif *inp) udp_lookup @@ -437,7 +437,7 @@ pcb - void(*)(void *arg, struct udp_pcb *upcb, struct pbuf *p, struct ip_addr *addr, uInt16 port) + void(*)(void *arg, struct udp_pcb *upcb, struct pbuf *p, struct ip_addr *addr, uInt16 port) recv @@ -565,10 +565,10 @@ #defineUDP_HLEN8 structudp_hdr{ -PACK_STRUCT_FIELD(uInt16src); -PACK_STRUCT_FIELD(uInt16dest);/*src/destUDPports*/ -PACK_STRUCT_FIELD(uInt16len); -PACK_STRUCT_FIELD(uInt16chksum); +PACK_STRUCT_FIELD(uInt16src); +PACK_STRUCT_FIELD(uInt16dest);/*src/destUDPports*/ +PACK_STRUCT_FIELD(uInt16len); +PACK_STRUCT_FIELD(uInt16chksum); }PACK_STRUCT_STRUCT; #defineUDP_FLAGS_NOCHKSUM0x01 @@ -578,13 +578,13 @@ structudp_pcb*next; structip_addrlocal_ip,remote_ip; -uInt16local_port,remote_port; +uInt16local_port,remote_port; -uInt8flags; -uInt16chksum_len; +uInt8flags; +uInt16chksum_len; void(*recv)(void*arg,structudp_pcb*pcb,structpbuf*p, -structip_addr*addr,uInt16port); +structip_addr*addr,uInt16port); void*recv_arg; }; @@ -593,14 +593,14 @@ structudp_pcb*udp_new(void); voidudp_remove(structudp_pcb*pcb); err_tudp_bind(structudp_pcb*pcb,structip_addr*ipaddr, -uInt16port); +uInt16port); err_tudp_connect(structudp_pcb*pcb,structip_addr*ipaddr, -uInt16port); +uInt16port); voidudp_recv(structudp_pcb*pcb, void(*recv)(void*arg,structudp_pcb*upcb, structpbuf*p, structip_addr*addr, -uInt16port), +uInt16port), void*recv_arg); err_tudp_send(structudp_pcb*pcb,structpbuf*p); @@ -609,7 +609,7 @@ /*ThefollowingfunctionsisthelowerlayerinterfacetoUDP.*/ -uInt8udp_lookup(structip_hdr*iphdr,structnetif*inp); +uInt8udp_lookup(structip_hdr*iphdr,structnetif*inp); voidudp_input(structpbuf*p,structnetif*inp); voidudp_init(void); diff --git a/doc/xml/udpecho_8c.xml b/doc/xml/udpecho_8c.xml index 7b7512f..0033159 100644 --- a/doc/xml/udpecho_8c.xml +++ b/doc/xml/udpecho_8c.xml @@ -2,228 +2,228 @@ udpecho.c - ubixos/types.h + ubixos/types.h lib/kprintf.h net/api.h net/sys.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -321,7 +321,7 @@ *$Id$ */ -#include<ubixos/types.h> +#include<ubixos/types.h> #include<lib/kprintf.h> #include"net/api.h" diff --git a/doc/xml/ufs_8c.xml b/doc/xml/ufs_8c.xml index b447355..a8e817d 100644 --- a/doc/xml/ufs_8c.xml +++ b/doc/xml/ufs_8c.xml @@ -2,7 +2,7 @@ ufs.c - vfs/vfs.h + vfs/vfs.h ufs/ufs.h ufs/ffs.h lib/kprintf.h @@ -10,136 +10,138 @@ ubixos/kpanic.h lib/string.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - - + + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - - + + @@ -154,7 +156,7 @@ - fsread + fsread DIP @@ -167,7 +169,7 @@ - fsread + fsread INDIRPERVBLK @@ -180,7 +182,7 @@ - fsread + fsread INO_TO_VBA @@ -196,7 +198,7 @@ - fsread + fsread INO_TO_VBO @@ -210,7 +212,7 @@ - fsread + fsread INOPB @@ -235,7 +237,7 @@ - fsread + fsread VBLKMASK @@ -247,7 +249,7 @@ - fsread + fsread VBLKSHIFT @@ -283,15 +285,15 @@ buf - u_int64_t + u_int64_t block - size_t + size_t count - fileDescriptor * + fileDescriptor * fd @@ -301,7 +303,12 @@ - fsread + vfs_mountPoint::device + device_node::devInfo + device_interface::info + fileDescriptorStruct::mp + device_interface::read + fsread __inline int @@ -313,11 +320,11 @@ name - ino_t * + ino_t * ino - fileDescriptor * + fileDescriptor * fd @@ -326,24 +333,24 @@ - + dirent::d_fileno dirent::d_name dirent::d_reclen dirent::d_type DEV_BSIZE - fsread - fileDescriptor::offset - strcmp - lookup + fsread + fileDescriptorStruct::offset + strcmp + lookup - ssize_t + ssize_t static ssize_t fsread (ino_t inode, void *buf, size_t nbyte, fileDescriptor *fd) fsread - ino_t + ino_t inode @@ -351,11 +358,11 @@ buf - size_t + size_t nbyte - fileDescriptor * + fileDescriptor * fd @@ -364,7 +371,8 @@ - + + dmadat::blkbuf blkoff DBPERVBLK DEV_BSHIFT @@ -373,11 +381,14 @@ ufs2_dinode::di_ib ufs2_dinode::di_size DIP + fileDescriptorStruct::dmadat + fileDescriptorStruct::dsk_meta dskread fs::fs_magic FS_UFS1_MAGIC FS_UFS2_MAGIC fsbtodb + dmadat::indbuf INDIRPERVBLK INO_TO_VBA INO_TO_VBO @@ -388,19 +399,20 @@ memcpy NDADDR NINDIR - fileDescriptor::offset + fileDescriptorStruct::offset + dmadat::sbbuf sblksize sblock_try - fileDescriptor::size + fileDescriptorStruct::size VBLKMASK - VBLKSHIFT - VBLKSIZE - fsfind - ufs_openFile - ufs_readFile + VBLKSHIFT + VBLKSIZE + fsfind + ufs_openFile + ufs_readFile - ino_t + ino_t static ino_t lookup (const char *path, fileDescriptor *fd) lookup @@ -409,7 +421,7 @@ path - fileDescriptor * + fileDescriptor * fd @@ -418,16 +430,16 @@ - + DT_DIR DT_REG - fsfind + fsfind kprintf MAXNAMLEN memcpy name ROOTINO - ufs_openFile + ufs_openFile int @@ -440,14 +452,14 @@ - + kpanic NULL ufs_initialize - ufs_openFile - ufs_readFile - ufs_writeFile - vfsRegisterFS + ufs_openFile + ufs_readFile + ufs_writeFile + vfsRegisterFS x1 @@ -465,7 +477,7 @@ - + x1 @@ -478,7 +490,7 @@ file - fileDescriptor * + fileDescriptor * fd @@ -487,13 +499,16 @@ - - fsread + + fileDescriptorStruct::dmadat + fsread + fileDescriptorStruct::ino kmalloc - lookup - fileDescriptor::offset + lookup + fileDescriptorStruct::offset + fileDescriptorStruct::perms x1 - ufs_init + ufs_init int @@ -501,7 +516,7 @@ (fileDescriptor *fd, char *data, uInt32 offset, long size) ufs_readFile - fileDescriptor * + fileDescriptor * fd @@ -509,7 +524,7 @@ data - uInt32 + uInt32 offset @@ -522,9 +537,10 @@ - - fsread - ufs_init + + fsread + fileDescriptorStruct::ino + ufs_init int @@ -532,7 +548,7 @@ (fileDescriptor *fd, char *data, uInt32 offset, long size) ufs_writeFile - fileDescriptor * + fileDescriptor * fd @@ -540,7 +556,7 @@ data - uInt32 + uInt32 offset @@ -553,9 +569,9 @@ - + kprintf - ufs_init + ufs_init @@ -572,7 +588,7 @@ - fsread + fsread @@ -609,7 +625,7 @@ *****************************************************************************************/ -#include<vfs/vfs.h> +#include<vfs/vfs.h> #include<ufs/ufs.h> #include<ufs/ffs.h> #include<lib/kprintf.h> @@ -630,8 +646,8 @@ #defineINO_TO_VBO(ipervblk,x)((x)%ipervblk) -staticintdskread(void*buf,u_int64_tblock,size_tcount,fileDescriptor*fd){ -fd->mp->device->devInfo->read(fd->mp->device->devInfo->info,buf,block,count); +staticintdskread(void*buf,u_int64_tblock,size_tcount,fileDescriptor*fd){ +fd->mp->device->devInfo->read(fd->mp->device->devInfo->info,buf,block,count); return(0x0); } @@ -656,266 +672,272 @@ #endif -staticssize_tfsread(ino_tinode,void*buf,size_tnbyte,fileDescriptor*fd){ +staticssize_tfsread(ino_tinode,void*buf,size_tnbyte,fileDescriptor*fd){ #ifndefUFS2_ONLY staticstructufs1_dinodedp1; #endif #ifndefUFS1_ONLY staticstructufs2_dinodedp2; #endif -staticino_tinomap; +staticino_tinomap; char*blkbuf; void*indbuf; structfs*fs; char*s; -size_tn,nb,size,off,vboff; +size_tn,nb,size,off,vboff; ufs_lbn_tlbn; ufs2_daddr_taddr,vbaddr; staticufs2_daddr_tblkmap,indmap; -u_intu; +u_intu; -blkbuf=fd->dmadat->blkbuf; -indbuf=fd->dmadat->indbuf; -fs=(structfs*)fd->dmadat->sbbuf; -if(!fd->dsk_meta){ -inomap=0; -for(n=0;sblock_try[n]!=-1;n++){ -if(dskread(fs,sblock_try[n]/DEV_BSIZE,16,fd)) -return-1; -if(( -#ifdefined(UFS1_ONLY) -fs->fs_magic==FS_UFS1_MAGIC -#elifdefined(UFS2_ONLY) -(fs->fs_magic==FS_UFS2_MAGIC&& -fs->fs_sblockloc==sblock_try[n]) -#else -fs->fs_magic==FS_UFS1_MAGIC|| -(fs->fs_magic==FS_UFS2_MAGIC&& -fs->fs_sblockloc==sblock_try[n]) -#endif -)&& -fs->fs_bsize<=MAXBSIZE&& -fs->fs_bsize>=sizeof(structfs)) -break; -} -if(sblock_try[n]==-1){ -kprintf("Notufs\n"); -return-1; -} -fd->dsk_meta++; -} -if(!inode) -return0; -if(inomap!=inode){ -n=IPERVBLK(fs); -if(dskread(blkbuf,INO_TO_VBA(fs,n,inode),DBPERVBLK,fd)) -return-1; -n=INO_TO_VBO(n,inode); -#ifdefined(UFS1_ONLY) -dp1=((structufs1_dinode*)blkbuf)[n]; -#elifdefined(UFS2_ONLY) -dp2=((structufs2_dinode*)blkbuf)[n]; -#else -if(fs->fs_magic==FS_UFS1_MAGIC) -dp1=((structufs1_dinode*)blkbuf)[n]; -else -dp2=((structufs2_dinode*)blkbuf)[n]; -#endif -inomap=inode; -fd->offset=0; -blkmap=indmap=0; -} -s=buf; -size=DIP(di_size); -fd->size=size; -//kprintf("Size:[%i]\n",size); -n=size-fd->offset; -if(nbyte>n) -nbyte=n; -nb=nbyte; -while(nb){ -lbn=lblkno(fs,fd->offset); -off=blkoff(fs,fd->offset); -if(lbn<NDADDR){ -addr=DIP(di_db[lbn]); -}elseif(lbn<NDADDR+NINDIR(fs)){ -n=INDIRPERVBLK(fs); -addr=DIP(di_ib[0]); -u=(u_int)(lbn-NDADDR)/(n*DBPERVBLK); -vbaddr=fsbtodb(fs,addr)+u; -if(indmap!=vbaddr){ -if(dskread(indbuf,vbaddr,DBPERVBLK,fd)) -return-1; -indmap=vbaddr; -} -n=(lbn-NDADDR)&(n-1); -#ifdefined(UFS1_ONLY) -addr=((ufs1_daddr_t*)indbuf)[n]; -#elifdefined(UFS2_ONLY) -addr=((ufs2_daddr_t*)indbuf)[n]; -#else -if(fs->fs_magic==FS_UFS1_MAGIC) -addr=((ufs1_daddr_t*)indbuf)[n]; -else -addr=((ufs2_daddr_t*)indbuf)[n]; -#endif -}else{ -return-1; -} -vbaddr=fsbtodb(fs,addr)+(off>>VBLKSHIFT)*DBPERVBLK; -vboff=off&VBLKMASK; -n=sblksize(fs,size,lbn)-(off&~VBLKMASK); -if(n>VBLKSIZE) -n=VBLKSIZE; -if(blkmap!=vbaddr){ -if(dskread(blkbuf,vbaddr,n>>DEV_BSHIFT,fd)) -return-1; -blkmap=vbaddr; -} -n-=vboff; -if(n>nb) -n=nb; -memcpy(s,blkbuf+vboff,n); -s+=n; -fd->offset+=n; -nb-=n; -} -returnnbyte; -} - - - - -static__inlineintfsfind(constchar*name,ino_t*ino,fileDescriptor*fd){ -charbuf[DEV_BSIZE]; -structdirent*d; -char*s; -ssize_tn; + +blkbuf=fd->dmadat->blkbuf; +indbuf=fd->dmadat->indbuf; +fs=(structfs*)fd->dmadat->sbbuf; + +if(!fd->dsk_meta){ +inomap=0; +for(n=0;sblock_try[n]!=-1;n++){ +if(dskread(fs,sblock_try[n]/DEV_BSIZE,16,fd)) +return-1; +if(( +#ifdefined(UFS1_ONLY) +fs->fs_magic==FS_UFS1_MAGIC +#elifdefined(UFS2_ONLY) +(fs->fs_magic==FS_UFS2_MAGIC&& +fs->fs_sblockloc==sblock_try[n]) +#else +fs->fs_magic==FS_UFS1_MAGIC|| +(fs->fs_magic==FS_UFS2_MAGIC&& +fs->fs_sblockloc==sblock_try[n]) +#endif +)&& +fs->fs_bsize<=MAXBSIZE&& +fs->fs_bsize>=sizeof(structfs)) +break; +} +if(sblock_try[n]==-1){ +kprintf("Notufs\n"); +return-1; +} +fd->dsk_meta++; +} + +if(!inode) +return(0x0); + +if(inomap!=inode){ +n=IPERVBLK(fs); +if(dskread(blkbuf,INO_TO_VBA(fs,n,inode),DBPERVBLK,fd)) +return-1; +n=INO_TO_VBO(n,inode); +#ifdefined(UFS1_ONLY) +dp1=((structufs1_dinode*)blkbuf)[n]; +#elifdefined(UFS2_ONLY) +dp2=((structufs2_dinode*)blkbuf)[n]; +#else +if(fs->fs_magic==FS_UFS1_MAGIC) +dp1=((structufs1_dinode*)blkbuf)[n]; +else +dp2=((structufs2_dinode*)blkbuf)[n]; +#endif +inomap=inode; +fd->offset=0; +blkmap=indmap=0; +} + +s=buf; +size=DIP(di_size); +fd->size=size; +n=size-fd->offset; +//Why? +if(n<0) +return(0x0); +if(nbyte>n) +nbyte=n; +nb=nbyte; +while(nb){ +lbn=lblkno(fs,fd->offset); +off=blkoff(fs,fd->offset); +if(lbn<NDADDR){ +addr=DIP(di_db[lbn]); +}elseif(lbn<NDADDR+NINDIR(fs)){ +n=INDIRPERVBLK(fs); +addr=DIP(di_ib[0]); +u=(u_int)(lbn-NDADDR)/(n*DBPERVBLK); +vbaddr=fsbtodb(fs,addr)+u; +if(indmap!=vbaddr){ +if(dskread(indbuf,vbaddr,DBPERVBLK,fd)) +return-1; +indmap=vbaddr; +} +n=(lbn-NDADDR)&(n-1); +#ifdefined(UFS1_ONLY) +addr=((ufs1_daddr_t*)indbuf)[n]; +#elifdefined(UFS2_ONLY) +addr=((ufs2_daddr_t*)indbuf)[n]; +#else +if(fs->fs_magic==FS_UFS1_MAGIC) +addr=((ufs1_daddr_t*)indbuf)[n]; +else +addr=((ufs2_daddr_t*)indbuf)[n]; +#endif +}else{ +return-1; +} +vbaddr=fsbtodb(fs,addr)+(off>>VBLKSHIFT)*DBPERVBLK; +vboff=off&VBLKMASK; +n=sblksize(fs,size,lbn)-(off&~VBLKMASK); +if(n>VBLKSIZE) +n=VBLKSIZE; +if(blkmap!=vbaddr){ +if(dskread(blkbuf,vbaddr,n>>DEV_BSHIFT,fd)) +return-1; +blkmap=vbaddr; +} +n-=vboff; +if(n>nb) +n=nb; +memcpy(s,blkbuf+vboff,n); +s+=n; +fd->offset+=n; +nb-=n; +} +returnnbyte; +} + + -fd->offset=0; -while((n=fsread(*ino,buf,DEV_BSIZE,fd))>0) -for(s=buf;s<buf+DEV_BSIZE;){ -d=(void*)s; -if(!strcmp(name,d->d_name)){ -*ino=d->d_fileno; -returnd->d_type; -} -s+=d->d_reclen; -} -//if(n!=-1&&ls) -//kprintf("\n"); -return0; -} - - -staticino_tlookup(constchar*path,fileDescriptor*fd){ -charname[MAXNAMLEN+1]; -constchar*s; -ino_tino; -ssize_tn; -intdt; + +static__inlineintfsfind(constchar*name,ino_t*ino,fileDescriptor*fd){ +charbuf[DEV_BSIZE]; +structdirent*d; +char*s; +ssize_tn; + +fd->offset=0; +while((n=fsread(*ino,buf,DEV_BSIZE,fd))>0) +for(s=buf;s<buf+DEV_BSIZE;){ +d=(void*)s; +if(!strcmp(name,d->d_name)){ +*ino=d->d_fileno; +returnd->d_type; +} +s+=d->d_reclen; +} +//if(n!=-1&&ls) +//kprintf("\n"); +return0; +} + -ino=ROOTINO; -dt=DT_DIR; -name[0]='/'; -name[1]='\0'; -for(;;){ -if(*path=='/') -path++; -if(!*path) -break; -for(s=path;*s&&*s!='/';s++); -if((n=s-path)>MAXNAMLEN) -return0; -//ls=*path=='?'&&n==1&&!*s; -memcpy(name,path,n); -name[n]=0; -if(dt!=DT_DIR){ -kprintf("%s:notadirectory.\n",name); -return(0); -} -if((dt=fsfind(name,&ino,fd))<=0) -break; -path=s; -} - - -returndt==DT_REG?ino:0; -} - - -staticintufs_openFile(constchar*file,fileDescriptor*fd){ -chartmp[2]; -intino=0; -fd->dmadat=(structdmadat*)kmalloc(sizeof(structdmadat)); -ino=lookup(file,fd); -fd->offset=0x0; -fd->ino=ino; -if(ino==0x0){ -return(-1); -} - -/*QuickHackforfilesize*/ -fsread(fd->ino,&tmp,1,fd); -fd->offset=0; -/*Return*/ -fd->perms=0x1; -return(0x1); -} - -intufs_readFile(fileDescriptor*fd,char*data,uInt32offset,longsize){ -fsread(fd->ino,data,size,fd); -return(0x0); -} - -intufs_writeFile(fileDescriptor*fd,char*data,uInt32offset,longsize){ -kprintf("Writing:)\n"); -return(0x0); -} - -/***************************************************************************************** - -Function:intufs_initialize() - -Description:ThiswillinitializeamountpointitloadstheBATandCachestherootDir - -Notes: +staticino_tlookup(constchar*path,fileDescriptor*fd){ +charname[MAXNAMLEN+1]; +constchar*s; +ino_tino; +ssize_tn; +intdt; + +ino=ROOTINO; +dt=DT_DIR; +name[0]='/'; +name[1]='\0'; +for(;;){ +if(*path=='/') +path++; +if(!*path) +break; +for(s=path;*s&&*s!='/';s++); +if((n=s-path)>MAXNAMLEN) +return0; +//ls=*path=='?'&&n==1&&!*s; +memcpy(name,path,n); +name[n]=0; +if(dt!=DT_DIR){ +kprintf("%s:notadirectory.\n",name); +return(0); +} +if((dt=fsfind(name,&ino,fd))<=0) +break; +path=s; +} + + +returndt==DT_REG?ino:0; +} + + +staticintufs_openFile(constchar*file,fileDescriptor*fd){ +chartmp[2]; +intino=0; +fd->dmadat=(structdmadat*)kmalloc(sizeof(structdmadat)); +ino=lookup(file,fd); +fd->offset=0x0; +fd->ino=ino; +if(ino==0x0){ +return(-1); +} + +/*QuickHackforfilesize*/ +fsread(fd->ino,&tmp,1,fd); +fd->offset=0; +/*Return*/ +fd->perms=0x1; +return(0x1); +} + +intufs_readFile(fileDescriptor*fd,char*data,uInt32offset,longsize){ +return(fsread(fd->ino,data,size,fd)); +} + +intufs_writeFile(fileDescriptor*fd,char*data,uInt32offset,longsize){ +kprintf("Writing:)\n"); +return(0x0); +} + +/***************************************************************************************** -*****************************************************************************************/ -intufs_initialize(structvfs_mountPoint*mp){ -/*Return*/ -return(0x1); -} - -intufs_init(){ -/*Buildourufsstruct*/ -structfileSystemufs= -{NULL,/*prev*/ -NULL,/*next*/ -(void*)ufs_initialize,/*vfsInitFS*/ -(void*)ufs_readFile,/*vfsRead*/ -(void*)ufs_writeFile,/*vfsWrite*/ -(void*)ufs_openFile,/*vfsOpenFile*/ -NULL,/*vfsUnlink*/ -NULL,/*vfsMakeDir*/ -NULL,/*vfsRemDir*/ -NULL,/*vfsSync*/ -0xAA,/*vfsType*/ -};/*UFS*/ - -if(vfsRegisterFS(ufs)!=0x0){ -kpanic("UnableToEnableUFS"); -return(0x1); -} -//dmadat=(structdmadat*)kmalloc(sizeof(structdmadat)); -/*Return*/ -return(0x0); -} - -/*** -END -***/ - +Function:intufs_initialize() + +Description:ThiswillinitializeamountpointitloadstheBATandCachestherootDir + +Notes: + +*****************************************************************************************/ +intufs_initialize(structvfs_mountPoint*mp){ +/*Return*/ +return(0x1); +} + +intufs_init(){ +/*Buildourufsstruct*/ +structfileSystemufs= +{NULL,/*prev*/ +NULL,/*next*/ +(void*)ufs_initialize,/*vfsInitFS*/ +(void*)ufs_readFile,/*vfsRead*/ +(void*)ufs_writeFile,/*vfsWrite*/ +(void*)ufs_openFile,/*vfsOpenFile*/ +NULL,/*vfsUnlink*/ +NULL,/*vfsMakeDir*/ +NULL,/*vfsRemDir*/ +NULL,/*vfsSync*/ +0xAA,/*vfsType*/ +};/*UFS*/ + +if(vfsRegisterFS(ufs)!=0x0){ +kpanic("UnableToEnableUFS"); +return(0x1); +} +//dmadat=(structdmadat*)kmalloc(sizeof(structdmadat)); +/*Return*/ +return(0x0); +} + +/*** +END +***/ + diff --git a/doc/xml/ufs_8h.xml b/doc/xml/ufs_8h.xml index ffe0003..762e46f 100644 --- a/doc/xml/ufs_8h.xml +++ b/doc/xml/ufs_8h.xml @@ -2,123 +2,125 @@ ufs.h - ubixos/types.h - vfs/vfs.h - sys/device.h + ubixos/types.h + vfs/vfs.h + sys/device.h src/sys/include/ubixos/init.h src/sys/ufs/ffs.c src/sys/ufs/ufs.c - + - + - + - + - + - + - + - - + + - + - + - - + + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - - + + - + - + - + - + - + - + - + - + - + @@ -142,7 +144,7 @@ - fsread + fsread cgbase @@ -246,7 +248,7 @@ - fsread + fsread DEV_BSIZE @@ -258,8 +260,8 @@ - fsfind - fsread + fsfind + fsread DT_DIR @@ -271,7 +273,7 @@ - lookup + lookup DT_REG @@ -283,7 +285,7 @@ - lookup + lookup fragroundup @@ -309,7 +311,7 @@ - fsread + fsread FS_UFS2_MAGIC @@ -321,7 +323,7 @@ - fsread + fsread fsbtodb @@ -335,7 +337,7 @@ - fsread + fsread FSMAXSNAP @@ -401,7 +403,7 @@ - fsread + fsread MAXBSIZE @@ -413,7 +415,7 @@ - fsread + fsread MAXMNTLEN @@ -436,7 +438,7 @@ - lookup + lookup MAXVOLLEN @@ -459,7 +461,7 @@ - fsread + fsread NIADDR @@ -483,7 +485,7 @@ - fsread + fsread NOCSPTRS @@ -509,7 +511,7 @@ ROOTINO - ((ino_t)2) + ((ino_t)2) @@ -517,7 +519,7 @@ - lookup + lookup sblksize @@ -534,7 +536,7 @@ - fsread + fsread SBLOCK_FLOPPY @@ -618,7 +620,7 @@ - int32_t + int32_t typedef int32_t ufs1_daddr_t ufs1_daddr_t @@ -631,7 +633,7 @@ - int64_t + int64_t typedef int64_t ufs2_daddr_t ufs2_daddr_t @@ -644,7 +646,7 @@ - int64_t + int64_t typedef int64_t ufs_lbn_t ufs_lbn_t @@ -657,7 +659,7 @@ - int64_t + int64_t typedef int64_t ufs_time_t ufs_time_t @@ -682,14 +684,14 @@ - + kpanic NULL ufs_initialize - ufs_openFile - ufs_readFile - ufs_writeFile - vfsRegisterFS + ufs_openFile + ufs_readFile + ufs_writeFile + vfsRegisterFS x1 @@ -704,7 +706,7 @@ - ufs_init + ufs_init @@ -744,9 +746,9 @@ #ifndef_UFS_H #define_UFS_H -#include<ubixos/types.h> -#include<vfs/vfs.h> -#include<sys/device.h> +#include<ubixos/types.h> +#include<vfs/vfs.h> +#include<sys/device.h> #defineDT_REG8 @@ -817,10 +819,10 @@ -typedefint32_tufs1_daddr_t; -typedefint64_tufs2_daddr_t; -typedefint64_tufs_lbn_t; -typedefint64_tufs_time_t; +typedefint32_tufs1_daddr_t; +typedefint64_tufs2_daddr_t; +typedefint64_tufs_lbn_t; +typedefint64_tufs_time_t; typedef__int64_tdaddr_t; structdirent{ @@ -836,171 +838,171 @@ #defineNIADDR3/*Indirectaddressesininode.*/ structufs2_dinode{ -u_int16_tdi_mode;/*0:IFMT,permissions;seebelow.*/ -int16_tdi_nlink;/*2:Filelinkcount.*/ -u_int32_tdi_uid;/*4:Fileowner.*/ -u_int32_tdi_gid;/*8:Filegroup.*/ -u_int32_tdi_blksize;/*12:Inodeblocksize.*/ -u_int64_tdi_size;/*16:Filebytecount.*/ -u_int64_tdi_blocks;/*24:Bytesactuallyheld.*/ +u_int16_tdi_mode;/*0:IFMT,permissions;seebelow.*/ +int16_tdi_nlink;/*2:Filelinkcount.*/ +u_int32_tdi_uid;/*4:Fileowner.*/ +u_int32_tdi_gid;/*8:Filegroup.*/ +u_int32_tdi_blksize;/*12:Inodeblocksize.*/ +u_int64_tdi_size;/*16:Filebytecount.*/ +u_int64_tdi_blocks;/*24:Bytesactuallyheld.*/ ufs_time_tdi_atime;/*32:Lastaccesstime.*/ ufs_time_tdi_mtime;/*40:Lastmodifiedtime.*/ ufs_time_tdi_ctime;/*48:Lastinodechangetime.*/ ufs_time_tdi_birthtime;/*56:Inodecreationtime.*/ -int32_tdi_mtimensec;/*64:Lastmodifiedtime.*/ -int32_tdi_atimensec;/*68:Lastaccesstime.*/ -int32_tdi_ctimensec;/*72:Lastinodechangetime.*/ -int32_tdi_birthnsec;/*76:Inodecreationtime.*/ -int32_tdi_gen;/*80:Generationnumber.*/ -u_int32_tdi_kernflags;/*84:Kernelflags.*/ -u_int32_tdi_flags;/*88:Statusflags(chflags).*/ -int32_tdi_extsize;/*92:Externalattributesblock.*/ +int32_tdi_mtimensec;/*64:Lastmodifiedtime.*/ +int32_tdi_atimensec;/*68:Lastaccesstime.*/ +int32_tdi_ctimensec;/*72:Lastinodechangetime.*/ +int32_tdi_birthnsec;/*76:Inodecreationtime.*/ +int32_tdi_gen;/*80:Generationnumber.*/ +u_int32_tdi_kernflags;/*84:Kernelflags.*/ +u_int32_tdi_flags;/*88:Statusflags(chflags).*/ +int32_tdi_extsize;/*92:Externalattributesblock.*/ ufs2_daddr_tdi_extb[NXADDR];/*96:Externalattributesblock.*/ ufs2_daddr_tdi_db[NDADDR];/*112:Directdiskblocks.*/ ufs2_daddr_tdi_ib[NIADDR];/*208:Indirectdiskblocks.*/ -int64_tdi_spare[3];/*232:Reserved;currentlyunused*/ +int64_tdi_spare[3];/*232:Reserved;currentlyunused*/ }; structufs1_dinode{ -u_int16_tdi_mode;/*0:IFMT,permissions;seebelow.*/ -int16_tdi_nlink;/*2:Filelinkcount.*/ +u_int16_tdi_mode;/*0:IFMT,permissions;seebelow.*/ +int16_tdi_nlink;/*2:Filelinkcount.*/ union{ -u_int16_toldids[2];/*4:Ffs:olduserandgroupids.*/ +u_int16_toldids[2];/*4:Ffs:olduserandgroupids.*/ }di_u; -u_int64_tdi_size;/*8:Filebytecount.*/ -int32_tdi_atime;/*16:Lastaccesstime.*/ -int32_tdi_atimensec;/*20:Lastaccesstime.*/ -int32_tdi_mtime;/*24:Lastmodifiedtime.*/ -int32_tdi_mtimensec;/*28:Lastmodifiedtime.*/ -int32_tdi_ctime;/*32:Lastinodechangetime.*/ -int32_tdi_ctimensec;/*36:Lastinodechangetime.*/ +u_int64_tdi_size;/*8:Filebytecount.*/ +int32_tdi_atime;/*16:Lastaccesstime.*/ +int32_tdi_atimensec;/*20:Lastaccesstime.*/ +int32_tdi_mtime;/*24:Lastmodifiedtime.*/ +int32_tdi_mtimensec;/*28:Lastmodifiedtime.*/ +int32_tdi_ctime;/*32:Lastinodechangetime.*/ +int32_tdi_ctimensec;/*36:Lastinodechangetime.*/ ufs1_daddr_tdi_db[NDADDR];/*40:Directdiskblocks.*/ ufs1_daddr_tdi_ib[NIADDR];/*88:Indirectdiskblocks.*/ -u_int32_tdi_flags;/*100:Statusflags(chflags).*/ -int32_tdi_blocks;/*104:Blocksactuallyheld.*/ -int32_tdi_gen;/*108:Generationnumber.*/ -u_int32_tdi_uid;/*112:Fileowner.*/ -u_int32_tdi_gid;/*116:Filegroup.*/ -int32_tdi_spare[2];/*120:Reserved;currentlyunused*/ +u_int32_tdi_flags;/*100:Statusflags(chflags).*/ +int32_tdi_blocks;/*104:Blocksactuallyheld.*/ +int32_tdi_gen;/*108:Generationnumber.*/ +u_int32_tdi_uid;/*112:Fileowner.*/ +u_int32_tdi_gid;/*116:Filegroup.*/ +int32_tdi_spare[2];/*120:Reserved;currentlyunused*/ }; structcsum{ -int32_tcs_ndir;/*numberofdirectories*/ -int32_tcs_nbfree;/*numberoffreeblocks*/ -int32_tcs_nifree;/*numberoffreeinodes*/ -int32_tcs_nffree;/*numberoffreefrags*/ +int32_tcs_ndir;/*numberofdirectories*/ +int32_tcs_nbfree;/*numberoffreeblocks*/ +int32_tcs_nifree;/*numberoffreeinodes*/ +int32_tcs_nffree;/*numberoffreefrags*/ }; structcsum_total{ -int64_tcs_ndir;/*numberofdirectories*/ -int64_tcs_nbfree;/*numberoffreeblocks*/ -int64_tcs_nifree;/*numberoffreeinodes*/ -int64_tcs_nffree;/*numberoffreefrags*/ -int64_tcs_numclusters;/*numberoffreeclusters*/ -int64_tcs_spare[3];/*futureexpansion*/ +int64_tcs_ndir;/*numberofdirectories*/ +int64_tcs_nbfree;/*numberoffreeblocks*/ +int64_tcs_nifree;/*numberoffreeinodes*/ +int64_tcs_nffree;/*numberoffreefrags*/ +int64_tcs_numclusters;/*numberoffreeclusters*/ +int64_tcs_spare[3];/*futureexpansion*/ }; structfs{ -int32_tfs_firstfield;/*historicfilesystemlinkedlist,*/ -int32_tfs_unused_1;/*usedforincoresuperblocks*/ -int32_tfs_sblkno;/*offsetofsuper-blockinfilesys*/ -int32_tfs_cblkno;/*offsetofcyl-blockinfilesys*/ -int32_tfs_iblkno;/*offsetofinode-blocksinfilesys*/ -int32_tfs_dblkno;/*offsetoffirstdataaftercg*/ -int32_tfs_old_cgoffset;/*cylindergroupoffsetincylinder*/ -int32_tfs_old_cgmask;/*usedtocalcmodfs_ntrak*/ -int32_tfs_old_time;/*lasttimewritten*/ -int32_tfs_old_size;/*numberofblocksinfs*/ -int32_tfs_old_dsize;/*numberofdatablocksinfs*/ -int32_tfs_ncg;/*numberofcylindergroups*/ -int32_tfs_bsize;/*sizeofbasicblocksinfs*/ -int32_tfs_fsize;/*sizeoffragblocksinfs*/ -int32_tfs_frag;/*numberoffragsinablockinfs*/ +int32_tfs_firstfield;/*historicfilesystemlinkedlist,*/ +int32_tfs_unused_1;/*usedforincoresuperblocks*/ +int32_tfs_sblkno;/*offsetofsuper-blockinfilesys*/ +int32_tfs_cblkno;/*offsetofcyl-blockinfilesys*/ +int32_tfs_iblkno;/*offsetofinode-blocksinfilesys*/ +int32_tfs_dblkno;/*offsetoffirstdataaftercg*/ +int32_tfs_old_cgoffset;/*cylindergroupoffsetincylinder*/ +int32_tfs_old_cgmask;/*usedtocalcmodfs_ntrak*/ +int32_tfs_old_time;/*lasttimewritten*/ +int32_tfs_old_size;/*numberofblocksinfs*/ +int32_tfs_old_dsize;/*numberofdatablocksinfs*/ +int32_tfs_ncg;/*numberofcylindergroups*/ +int32_tfs_bsize;/*sizeofbasicblocksinfs*/ +int32_tfs_fsize;/*sizeoffragblocksinfs*/ +int32_tfs_frag;/*numberoffragsinablockinfs*/ /*theseareconfigurationparameters*/ -int32_tfs_minfree;/*minimumpercentageoffreeblocks*/ -int32_tfs_old_rotdelay;/*numofmsforoptimalnextblock*/ -int32_tfs_old_rps;/*diskrevolutionspersecond*/ +int32_tfs_minfree;/*minimumpercentageoffreeblocks*/ +int32_tfs_old_rotdelay;/*numofmsforoptimalnextblock*/ +int32_tfs_old_rps;/*diskrevolutionspersecond*/ /*thesefieldscanbecomputedfromtheothers*/ -int32_tfs_bmask;/*``blkoff''calcofblkoffsets*/ -int32_tfs_fmask;/*``fragoff''calcoffragoffsets*/ -int32_tfs_bshift;/*``lblkno''calcoflogicalblkno*/ -int32_tfs_fshift;/*``numfrags''calcnumberoffrags*/ +int32_tfs_bmask;/*``blkoff''calcofblkoffsets*/ +int32_tfs_fmask;/*``fragoff''calcoffragoffsets*/ +int32_tfs_bshift;/*``lblkno''calcoflogicalblkno*/ +int32_tfs_fshift;/*``numfrags''calcnumberoffrags*/ /*theseareconfigurationparameters*/ -int32_tfs_maxcontig;/*maxnumberofcontiguousblks*/ -int32_tfs_maxbpg;/*maxnumberofblkspercylgroup*/ +int32_tfs_maxcontig;/*maxnumberofcontiguousblks*/ +int32_tfs_maxbpg;/*maxnumberofblkspercylgroup*/ /*thesefieldscanbecomputedfromtheothers*/ -int32_tfs_fragshift;/*blocktofragshift*/ -int32_tfs_fsbtodb;/*fsbtodbanddbtofsbshiftconstant*/ -int32_tfs_sbsize;/*actualsizeofsuperblock*/ -int32_tfs_spare1[2];/*oldfs_csmask*/ +int32_tfs_fragshift;/*blocktofragshift*/ +int32_tfs_fsbtodb;/*fsbtodbanddbtofsbshiftconstant*/ +int32_tfs_sbsize;/*actualsizeofsuperblock*/ +int32_tfs_spare1[2];/*oldfs_csmask*/ /*oldfs_csshift*/ -int32_tfs_nindir;/*valueofNINDIR*/ -int32_tfs_inopb;/*valueofINOPB*/ -int32_tfs_old_nspf;/*valueofNSPF*/ +int32_tfs_nindir;/*valueofNINDIR*/ +int32_tfs_inopb;/*valueofINOPB*/ +int32_tfs_old_nspf;/*valueofNSPF*/ /*yetanotherconfigurationparameter*/ -int32_tfs_optim;/*optimizationpreference,seebelow*/ -int32_tfs_old_npsect;/*#sectors/trackincludingspares*/ -int32_tfs_old_interleave;/*hardwaresectorinterleave*/ -int32_tfs_old_trackskew;/*sector0skew,pertrack*/ -int32_tfs_id[2];/*uniquefilesystemid*/ +int32_tfs_optim;/*optimizationpreference,seebelow*/ +int32_tfs_old_npsect;/*#sectors/trackincludingspares*/ +int32_tfs_old_interleave;/*hardwaresectorinterleave*/ +int32_tfs_old_trackskew;/*sector0skew,pertrack*/ +int32_tfs_id[2];/*uniquefilesystemid*/ /*sizesdeterminedbynumberofcylindergroupsandtheirsizes*/ -int32_tfs_old_csaddr;/*blkaddrofcylgrpsummaryarea*/ -int32_tfs_cssize;/*sizeofcylgrpsummaryarea*/ -int32_tfs_cgsize;/*cylindergroupsize*/ -int32_tfs_spare2;/*oldfs_ntrak*/ -int32_tfs_old_nsect;/*sectorspertrack*/ -int32_tfs_old_spc;/*sectorspercylinder*/ -int32_tfs_old_ncyl;/*cylindersinfilesystem*/ -int32_tfs_old_cpg;/*cylinderspergroup*/ -int32_tfs_ipg;/*inodespergroup*/ -int32_tfs_fpg;/*blockspergroup*fs_frag*/ +int32_tfs_old_csaddr;/*blkaddrofcylgrpsummaryarea*/ +int32_tfs_cssize;/*sizeofcylgrpsummaryarea*/ +int32_tfs_cgsize;/*cylindergroupsize*/ +int32_tfs_spare2;/*oldfs_ntrak*/ +int32_tfs_old_nsect;/*sectorspertrack*/ +int32_tfs_old_spc;/*sectorspercylinder*/ +int32_tfs_old_ncyl;/*cylindersinfilesystem*/ +int32_tfs_old_cpg;/*cylinderspergroup*/ +int32_tfs_ipg;/*inodespergroup*/ +int32_tfs_fpg;/*blockspergroup*fs_frag*/ /*thisdatamustbere-computedaftercrashes*/ structcsumfs_old_cstotal;/*cylindersummaryinformation*/ /*thesefieldsareclearedatmounttime*/ -int8_tfs_fmod;/*superblockmodifiedflag*/ -int8_tfs_clean;/*filesystemiscleanflag*/ -int8_tfs_ronly;/*mountedread-onlyflag*/ -int8_tfs_old_flags;/*oldFS_flags*/ -u_charfs_fsmnt[MAXMNTLEN];/*namemountedon*/ -u_charfs_volname[MAXVOLLEN];/*volumename*/ -u_int64_tfs_swuid;/*system-wideuid*/ -int32_tfs_pad;/*duetoalignmentoffs_swuid*/ +int8_tfs_fmod;/*superblockmodifiedflag*/ +int8_tfs_clean;/*filesystemiscleanflag*/ +int8_tfs_ronly;/*mountedread-onlyflag*/ +int8_tfs_old_flags;/*oldFS_flags*/ +u_charfs_fsmnt[MAXMNTLEN];/*namemountedon*/ +u_charfs_volname[MAXVOLLEN];/*volumename*/ +u_int64_tfs_swuid;/*system-wideuid*/ +int32_tfs_pad;/*duetoalignmentoffs_swuid*/ /*thesefieldsretainthecurrentblockallocationinfo*/ -int32_tfs_cgrotor;/*lastcgsearched*/ +int32_tfs_cgrotor;/*lastcgsearched*/ void*fs_ocsp[NOCSPTRS];/*padding;waslistoffs_csbuffers*/ -u_int8_t*fs_contigdirs;/*(u)#ofcontig.allocateddirs*/ +u_int8_t*fs_contigdirs;/*(u)#ofcontig.allocateddirs*/ structcsum*fs_csp;/*(u)cgsummaryinfobuffer*/ -int32_t*fs_maxcluster;/*(u)maxclusterineachcylgroup*/ -u_int*fs_active;/*(u)usedbysnapshotstotrackfs*/ -int32_tfs_old_cpc;/*cylpercycleinpostbl*/ -int32_tfs_maxbsize;/*maximumblockingfactorpermitted*/ -int64_tfs_sparecon64[17];/*oldrotationblocklisthead*/ -int64_tfs_sblockloc;/*byteoffsetofstandardsuperblock*/ +int32_t*fs_maxcluster;/*(u)maxclusterineachcylgroup*/ +u_int*fs_active;/*(u)usedbysnapshotstotrackfs*/ +int32_tfs_old_cpc;/*cylpercycleinpostbl*/ +int32_tfs_maxbsize;/*maximumblockingfactorpermitted*/ +int64_tfs_sparecon64[17];/*oldrotationblocklisthead*/ +int64_tfs_sblockloc;/*byteoffsetofstandardsuperblock*/ structcsum_totalfs_cstotal;/*(u)cylindersummaryinformation*/ ufs_time_tfs_time;/*lasttimewritten*/ -int64_tfs_size;/*numberofblocksinfs*/ -int64_tfs_dsize;/*numberofdatablocksinfs*/ +int64_tfs_size;/*numberofblocksinfs*/ +int64_tfs_dsize;/*numberofdatablocksinfs*/ ufs2_daddr_tfs_csaddr;/*blkaddrofcylgrpsummaryarea*/ -int64_tfs_pendingblocks;/*(u)blocksbeingfreed*/ -int32_tfs_pendinginodes;/*(u)inodesbeingfreed*/ -int32_tfs_snapinum[FSMAXSNAP];/*listofsnapshotinodenumbers*/ -int32_tfs_avgfilesize;/*expectedaveragefilesize*/ -int32_tfs_avgfpdir;/*expected#offilesperdirectory*/ -int32_tfs_save_cgsize;/*saverealcgsizetousefs_bsize*/ -int32_tfs_sparecon32[26];/*reservedforfutureconstants*/ -int32_tfs_flags;/*seeFS_flagsbelow*/ -int32_tfs_contigsumsize;/*sizeofclustersummaryarray*/ -int32_tfs_maxsymlinklen;/*maxlengthofaninternalsymlink*/ -int32_tfs_old_inodefmt;/*formatofon-diskinodes*/ -u_int64_tfs_maxfilesize;/*maximumrepresentablefilesize*/ -int64_tfs_qbmask;/*~fs_bmaskforusewith64-bitsize*/ -int64_tfs_qfmask;/*~fs_fmaskforusewith64-bitsize*/ -int32_tfs_state;/*validatefs_cleanfield*/ -int32_tfs_old_postblformat;/*formatofpositionallayouttables*/ -int32_tfs_old_nrpos;/*numberofrotationalpositions*/ -int32_tfs_spare5[2];/*oldfs_postbloff*/ +int64_tfs_pendingblocks;/*(u)blocksbeingfreed*/ +int32_tfs_pendinginodes;/*(u)inodesbeingfreed*/ +int32_tfs_snapinum[FSMAXSNAP];/*listofsnapshotinodenumbers*/ +int32_tfs_avgfilesize;/*expectedaveragefilesize*/ +int32_tfs_avgfpdir;/*expected#offilesperdirectory*/ +int32_tfs_save_cgsize;/*saverealcgsizetousefs_bsize*/ +int32_tfs_sparecon32[26];/*reservedforfutureconstants*/ +int32_tfs_flags;/*seeFS_flagsbelow*/ +int32_tfs_contigsumsize;/*sizeofclustersummaryarray*/ +int32_tfs_maxsymlinklen;/*maxlengthofaninternalsymlink*/ +int32_tfs_old_inodefmt;/*formatofon-diskinodes*/ +u_int64_tfs_maxfilesize;/*maximumrepresentablefilesize*/ +int64_tfs_qbmask;/*~fs_bmaskforusewith64-bitsize*/ +int64_tfs_qfmask;/*~fs_fmaskforusewith64-bitsize*/ +int32_tfs_state;/*validatefs_cleanfield*/ +int32_tfs_old_postblformat;/*formatofpositionallayouttables*/ +int32_tfs_old_nrpos;/*numberofrotationalpositions*/ +int32_tfs_spare5[2];/*oldfs_postbloff*/ /*oldfs_rotbloff*/ -int32_tfs_magic;/*magicnumber*/ +int32_tfs_magic;/*magicnumber*/ }; diff --git a/doc/xml/uniondescriptorTableUnion.xml b/doc/xml/uniondescriptorTableUnion.xml index b0d342d..fa35ed9 100644 --- a/doc/xml/uniondescriptorTableUnion.xml +++ b/doc/xml/uniondescriptorTableUnion.xml @@ -51,21 +51,21 @@ - + - + - + - + gate - + descriptor diff --git a/doc/xml/unionuPtr.xml b/doc/xml/unionuPtr.xml index 07caeb3..507045a 100644 --- a/doc/xml/unionuPtr.xml +++ b/doc/xml/unionuPtr.xml @@ -88,90 +88,90 @@ - + - + - + superBlock - - root - - - - - - - - - - - iAddr - - - btPtr - - iPtr - - - bPtr - - - - - - - - - - - - - - - - - - - - - - - prev -next + root - - + + + + + + + iAddr + + + btPtr + + + iPtr + + + bPtr + + + + + + + + + + + + + + + + + + + + + + prev next - + + + + + + prev +next + + device - + - + - + fs - + fd - + root - + header diff --git a/doc/xml/unmappage_8c.xml b/doc/xml/unmappage_8c.xml index 05cbb99..b909bd9 100644 --- a/doc/xml/unmappage_8c.xml +++ b/doc/xml/unmappage_8c.xml @@ -4,56 +4,58 @@ unmappage.c vmm/vmm.h - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + @@ -64,7 +66,7 @@ (uInt32 pageAddr, int flags) vmmUnmapPage - uInt32 + uInt32 pageAddr @@ -95,7 +97,7 @@ ptr - uInt32 + uInt32 size @@ -162,10 +164,10 @@ ************************************************************************/ void -vmmUnmapPage(uInt32pageAddr,intflags) +vmmUnmapPage(uInt32pageAddr,intflags) { intpageDirectoryIndex=0,pageTableIndex=0; -uInt32*pageTable=0x0; +uInt32*pageTable=0x0; /*GetTheIndexToThePageDirectory*/ pageDirectoryIndex=(pageAddr>>22); @@ -174,7 +176,7 @@ pageTableIndex=((pageAddr>>12)&0x3FF); /*SetpageTableToTheVirtualAddressOfTable*/ -pageTable=(uInt32*)(tablesBaseAddress+(0x1000*pageDirectoryIndex)); +pageTable=(uInt32*)(tablesBaseAddress+(0x1000*pageDirectoryIndex)); /*FreeThePhysicalPageIfFlagsIs0*/ if(flags==0){ @@ -213,15 +215,15 @@ ToCreateANewVirtualSpaceSoNowItHasAFlag ************************************************************************/ -voidvmmUnmapPages(void*ptr,uInt32size){ -uInt32baseAddr=(uInt32)ptr&0xFFFFF000; -uInt32dI=0x0,tI=0x0; -uInt32y=0x0; -uInt32*pageTable=0x0; +voidvmmUnmapPages(void*ptr,uInt32size){ +uInt32baseAddr=(uInt32)ptr&0xFFFFF000; +uInt32dI=0x0,tI=0x0; +uInt32y=0x0; +uInt32*pageTable=0x0; dI=(baseAddr/(1024*4096)); tI=((baseAddr-(dI*(1024*4096)))/4096); -pageTable=(uInt32*)(tablesBaseAddress+(4096*dI)); +pageTable=(uInt32*)(tablesBaseAddress+(4096*dI)); for(y=tI;y<(tI+((size+4095)/4096));y++){ pageTable[y]=0x0; } diff --git a/doc/xml/vfs_8c.xml b/doc/xml/vfs_8c.xml index f5af5be..a5ca529 100644 --- a/doc/xml/vfs_8c.xml +++ b/doc/xml/vfs_8c.xml @@ -2,185 +2,200 @@ vfs.c - vfs/vfs.h + vfs/vfs.h ubixos/vitals.h lib/kmalloc.h lib/kprintf.h lib/string.h + sys/kern_descrip.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + int - int open + int sys_open (struct thread *td, struct open_args *uap) - open + sys_open struct thread * td @@ -190,15 +205,35 @@ uap - +entry point for open syscall - + + +*td + + +pointer to callers thread + + + +*uap + + +pointer to user space arguements for call + + +index to file descriptor + - - falloc - kprintf - open_args::path + + falloc + file::fd + fopen + open_args::path + file::path + strcpy + thread::td_retval int @@ -211,7 +246,7 @@ - + vitalsStruct::fileSystems kprintf systemVitals @@ -231,13 +266,13 @@ - + vitalsStruct::fileSystems - fileSystem::next + fileSystem::next systemVitals - fileSystem::vfsType + fileSystem::vfsType vfs_mount - vfsRegisterFS + vfsRegisterFS int @@ -262,21 +297,21 @@ - + vitalsStruct::fileSystems kmalloc kprintf memcpy - fileSystem::next + fileSystem::next NULL - fileSystem::prev + fileSystem::prev systemVitals - vfsFindFS - fileSystem::vfsType + vfsFindFS + fileSystem::vfsType x1 devfs_init ubixfs_init - ufs_init + ufs_init @@ -313,124 +348,134 @@ *****************************************************************************************/ -#include<vfs/vfs.h> +#include<vfs/vfs.h> #include<ubixos/vitals.h> #include<lib/kmalloc.h> #include<lib/kprintf.h> #include<lib/string.h> - -/************************************************************************ - -Function:voidvfs_init(); - -Description:ThisFunctionInitializesTheVFSLayer - -Notes: - -02/20/2004-Approvedforquality - -************************************************************************/ -intvfs_init(){ -/*SetupdefaultfileSystemslist*/ -systemVitals->fileSystems=0x0; - -/*Printinformation*/ -kprintf("vfs0:loadedataddress:[0x%X]\n",systemVitals->fileSystems); - -/*Returnsoweknowthingswentwell*/ -return(0x0); -} - -structfileSystem*vfsFindFS(intvfsType){ -structfileSystem*tmp=0x0; - -/*SearchForFileSystem*/ -for(tmp=systemVitals->fileSystems;tmp;tmp=tmp->next){ -/*IfFoundReturnFileSystem*/ -if(tmp->vfsType==vfsType){ -return(tmp); -} -} - -/*IfFSNotFoundReturnNULL*/ -return(0x0); -} - -intvfsRegisterFS(structfileSystemnewFS){ -/* -intvfsType, -void*vfsInitFS, -void*vfsRead, -void*vfsWrite, -void*vfsOpenFile, -void*vfsUnlink, -void*vfsMakeDir, -void*vfsRemDir, -void*vfsSync){ -*/ -structfileSystem*tmpFs=0x0; - -if(vfsFindFS(newFS.vfsType)!=0x0){ -kprintf("FSIsalreadyRegistered\n"); -return(0x1); -} - -/*AllocateMemory*/ -tmpFs=(structfileSystem*)kmalloc(sizeof(structfileSystem)); -if(tmpFs==NULL){ -kprintf("vfsRegisterFS:memoryallocationfailed\n"); -/*MemoryAllocationFailed*/ -return(0x1); -} - -/*SetUpFSDefaults*/ - -/*20047-16-2004mji -*Oldmethod: -*tmpFs->vfsType=newFS.vfsType; -*tmpFs->vfsInitFS=newFS.vfsInitFS; -*tmpFs->vfsRead=newFS.vfsRead; -*tmpFs->vfsWrite=newFS.vfsWrite; -*tmpFs->vfsOpenFile=newFS.vfsOpenFile; -*tmpFs->vfsUnlink=newFS.vfsUnlink; -*tmpFs->vfsMakeDir=newFS.vfsMakeDir; -*tmpFs->vfsRemDir=newFS.vfsRemDir; -*tmpFs->vfsSync=newFS.vfsSync; -*/ -/*newmethod:*/ - -memcpy(tmpFs,&newFS,sizeof(structfileSystem)); -if(!systemVitals->fileSystems){ -tmpFs->prev=0x0; -tmpFs->next=0x0; -systemVitals->fileSystems=tmpFs; -} -else{ -tmpFs->prev=0x0; -tmpFs->next=systemVitals->fileSystems; -systemVitals->fileSystems->prev=tmpFs; -systemVitals->fileSystems=tmpFs; -} - -return(0x0); -} - -intopen(structthread*td,structopen_args*uap){ -interror; -intindex; -structfile*nfp=0x0; -error=falloc(td,&nfp,&index); -if(error) -return(error); -kprintf("fd:[%i][%s]\n",index,uap->path); -return(error); -} - - -/*** -END -***/ +#include<sys/kern_descrip.h> + +/************************************************************************ + +Function:voidvfs_init(); + +Description:ThisFunctionInitializesTheVFSLayer + +Notes: + +02/20/2004-Approvedforquality + +************************************************************************/ +intvfs_init(){ +/*SetupdefaultfileSystemslist*/ +systemVitals->fileSystems=0x0; + +/*Printinformation*/ +kprintf("vfs0:loadedataddress:[0x%X]\n",systemVitals->fileSystems); + +/*Returnsoweknowthingswentwell*/ +return(0x0); +} + +structfileSystem*vfsFindFS(intvfsType){ +structfileSystem*tmp=0x0; + +/*SearchForFileSystem*/ +for(tmp=systemVitals->fileSystems;tmp;tmp=tmp->next){ +/*IfFoundReturnFileSystem*/ +if(tmp->vfsType==vfsType){ +return(tmp); +} +} + +/*IfFSNotFoundReturnNULL*/ +return(0x0); +} + +intvfsRegisterFS(structfileSystemnewFS){ +/* +intvfsType, +void*vfsInitFS, +void*vfsRead, +void*vfsWrite, +void*vfsOpenFile, +void*vfsUnlink, +void*vfsMakeDir, +void*vfsRemDir, +void*vfsSync){ +*/ +structfileSystem*tmpFs=0x0; + +if(vfsFindFS(newFS.vfsType)!=0x0){ +kprintf("FSIsalreadyRegistered\n"); +return(0x1); +} + +/*AllocateMemory*/ +tmpFs=(structfileSystem*)kmalloc(sizeof(structfileSystem)); +if(tmpFs==NULL){ +kprintf("vfsRegisterFS:memoryallocationfailed\n"); +/*MemoryAllocationFailed*/ +return(0x1); +} + +/*SetUpFSDefaults*/ + +/*20047-16-2004mji +*Oldmethod: +*tmpFs->vfsType=newFS.vfsType; +*tmpFs->vfsInitFS=newFS.vfsInitFS; +*tmpFs->vfsRead=newFS.vfsRead; +*tmpFs->vfsWrite=newFS.vfsWrite; +*tmpFs->vfsOpenFile=newFS.vfsOpenFile; +*tmpFs->vfsUnlink=newFS.vfsUnlink; +*tmpFs->vfsMakeDir=newFS.vfsMakeDir; +*tmpFs->vfsRemDir=newFS.vfsRemDir; +*tmpFs->vfsSync=newFS.vfsSync; +*/ +/*newmethod:*/ + +memcpy(tmpFs,&newFS,sizeof(structfileSystem)); +if(!systemVitals->fileSystems){ +tmpFs->prev=0x0; +tmpFs->next=0x0; +systemVitals->fileSystems=tmpFs; +} +else{ +tmpFs->prev=0x0; +tmpFs->next=systemVitals->fileSystems; +systemVitals->fileSystems->prev=tmpFs; +systemVitals->fileSystems=tmpFs; +} + +return(0x0); +} + +intsys_open(structthread*td,structopen_args*uap){ +interror=0x0; +intindex=0x0; +structfile*nfp=0x0; + +error=falloc(td,&nfp,&index); +if(error) +return(error); + +strcpy(nfp->path,uap->path); + +nfp->fd=fopen(uap->path,"r"); +if(nfp->fd==0x0) +td->td_retval[0]=-1; +else +td->td_retval[0]=index; +return(error); +} + + +/*** +END +***/ + diff --git a/doc/xml/vfs_8cpp.xml b/doc/xml/vfs_8cpp.xml index ed2ea88..ea706f9 100644 --- a/doc/xml/vfs_8cpp.xml +++ b/doc/xml/vfs_8cpp.xml @@ -5,26 +5,26 @@ stdio.h vfs.h - + - + - + - + - + - + - + - + diff --git a/doc/xml/video_8c.xml b/doc/xml/video_8c.xml index 4fde634..81edc14 100644 --- a/doc/xml/video_8c.xml +++ b/doc/xml/video_8c.xml @@ -4,53 +4,53 @@ video.c sys/io.h sys/video.h - ubixos/types.h + ubixos/types.h ubixos/spinlock.h ubixos/tty.h - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + @@ -193,7 +193,7 @@ #include<sys/io.h> #include<sys/video.h> -#include<ubixos/types.h> +#include<ubixos/types.h> #include<ubixos/spinlock.h> #include<ubixos/tty.h> @@ -202,7 +202,7 @@ voidbackSpace(){ -uInt32bufferOffset=0x0; +uInt32bufferOffset=0x0; outportByte(0x3d4,0x0e); bufferOffset=inportByte(0x3d5); bufferOffset<<=0x8;/*ShiftAddressLeft8Bits*/ diff --git a/doc/xml/video_8h.xml b/doc/xml/video_8h.xml index 137073f..4f051c3 100644 --- a/doc/xml/video_8h.xml +++ b/doc/xml/video_8h.xml @@ -2,7 +2,7 @@ video.h - ubixos/types.h + ubixos/types.h src/sys/init/main.c src/sys/isa/atkbd.c src/sys/isa/fdc.c @@ -15,91 +15,91 @@ src/sys/pci/lnc.c src/sys/sys/video.c - + - - + + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + - + - + - + - + - + - + - + @@ -242,7 +242,7 @@ #ifndef_VIDEO_H #define_VIDEO_H -#include<ubixos/types.h> +#include<ubixos/types.h> #definedefaultColor0x0F diff --git a/doc/xml/vitals_8c.xml b/doc/xml/vitals_8c.xml index c33052c..353fed4 100644 --- a/doc/xml/vitals_8c.xml +++ b/doc/xml/vitals_8c.xml @@ -8,173 +8,175 @@ lib/kmalloc.h string.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + @@ -216,8 +218,8 @@ adjustCowCounter - fclose - fopen + fclose + fopen freePage keyboardHandler kmain @@ -229,9 +231,9 @@ ubthread_cond_timedwait vfs_addMount vfs_findMount - vfs_init - vfsFindFS - vfsRegisterFS + vfs_init + vfsFindFS + vfsRegisterFS vitals_init vmmFindFreePage vmmFreeProcessPages diff --git a/doc/xml/vitals_8h.xml b/doc/xml/vitals_8h.xml index b47553f..f142804 100644 --- a/doc/xml/vitals_8h.xml +++ b/doc/xml/vitals_8h.xml @@ -2,10 +2,10 @@ vitals.h - ubixos/types.h + ubixos/types.h ubixos/ubthread.h vfs/mount.h - vfs/vfs.h + vfs/vfs.h src/sys/include/ubixos/init.h src/sys/isa/atkbd.c src/sys/isa/ne2k.c @@ -22,239 +22,241 @@ src/sys/vfs/vfs.c src/sys/vmm/vmm_memory.c - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - - + + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -311,8 +313,8 @@ adjustCowCounter - fclose - fopen + fclose + fopen freePage keyboardHandler kmain @@ -324,9 +326,9 @@ ubthread_cond_timedwait vfs_addMount vfs_findMount - vfs_init - vfsFindFS - vfsRegisterFS + vfs_init + vfsFindFS + vfsRegisterFS vitals_init vmmFindFreePage vmmFreeProcessPages @@ -369,25 +371,25 @@ #ifndef_VITALS_H #define_VITALS_H -#include<ubixos/types.h> +#include<ubixos/types.h> #include<ubixos/ubthread.h> #include<vfs/mount.h> -#include<vfs/vfs.h> +#include<vfs/vfs.h> typedefstructvitalsStruct{ -uInt32openFiles; -uInt32sysTicks; -uInt32sysUptime; -uInt32quantum; -uInt32dQuantum; -uInt32freePages; +uInt32openFiles; +uInt32sysTicks; +uInt32sysUptime; +uInt32quantum; +uInt32dQuantum; +uInt32freePages; structfileSystem*fileSystems; structvfs_mountPoint*mountPoints; -uInt32timeStart; +uInt32timeStart; void*screen; void*font; char*packet; -uInt32packetLength; +uInt32packetLength; }vitalsNode; externvitalsNode*systemVitals; diff --git a/doc/xml/vmm_8h.xml b/doc/xml/vmm_8h.xml index 3a59f94..079ea3f 100644 --- a/doc/xml/vmm_8h.xml +++ b/doc/xml/vmm_8h.xml @@ -3,7 +3,7 @@ vmm.h vmm/paging.h - ubixos/types.h + ubixos/types.h src/sys/include/ubixos/init.h src/sys/kernel/bioscall.c src/sys/kernel/endtask.c @@ -28,199 +28,201 @@ src/sys/vmm/vmm_init.c src/sys/vmm/vmm_memory.c - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -290,7 +292,7 @@ (uInt32 baseAddr, int adjustment) adjustCowCounter - uInt32 + uInt32 baseAddr @@ -345,7 +347,7 @@ (uInt32 pageAddr) freePage - uInt32 + uInt32 pageAddr @@ -387,12 +389,12 @@ vmmMemMapInit - u_int32_t + u_int32_t u_int32_t vmmFindFreePage (pidType pid) vmmFindFreePage - pidType + pidType pid @@ -419,8 +421,8 @@ execFile kmod_load ldEnable - obreak - sysExec + obreak + sysExec vmm_getFreeMallocPage vmm_pageFault vmm_pagingInit @@ -435,7 +437,7 @@ (pidType pid) vmmFreeProcessPages - pidType + pidType pid @@ -571,7 +573,7 @@ #define_VMM_H #include<vmm/paging.h> -#include<ubixos/types.h> +#include<ubixos/types.h> #definememAvail1 #definememNotavail2 @@ -579,10 +581,10 @@ #definevmmMemoryMapAddr0xE6667000 typedefstruct{ -uInt32pageAddr; -uInt16status; -uInt16reserved; -pid_tpid; +uInt32pageAddr; +uInt16status; +uInt16reserved; +pid_tpid; intcowCounter; }mMap; @@ -592,10 +594,10 @@ intvmm_init(); intvmmMemMapInit(); intcountMemory(); -u_int32_tvmmFindFreePage(pidTypepid); -intfreePage(uInt32pageAddr); -intadjustCowCounter(uInt32baseAddr,intadjustment); -voidvmmFreeProcessPages(pidTypepid); +u_int32_tvmmFindFreePage(pidTypepid); +intfreePage(uInt32pageAddr); +intadjustCowCounter(uInt32baseAddr,intadjustment); +voidvmmFreeProcessPages(pidTypepid); #endif diff --git a/doc/xml/vmm__init_8c.xml b/doc/xml/vmm__init_8c.xml index 498729c..1efbcfb 100644 --- a/doc/xml/vmm__init_8c.xml +++ b/doc/xml/vmm__init_8c.xml @@ -5,62 +5,64 @@ vmm/vmm.h ubixos/kpanic.h - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + diff --git a/doc/xml/vmm__memory_8c.xml b/doc/xml/vmm__memory_8c.xml index 99e4a05..e1d6c59 100644 --- a/doc/xml/vmm__memory_8c.xml +++ b/doc/xml/vmm__memory_8c.xml @@ -11,201 +11,203 @@ ubixos/spinlock.h assert.h - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -217,7 +219,7 @@ (uInt32 baseAddr, int adjustment) adjustCowCounter - uInt32 + uInt32 baseAddr @@ -272,7 +274,7 @@ (uInt32 pageAddr) freePage - uInt32 + uInt32 pageAddr @@ -298,12 +300,12 @@ vmm_remapPage - uInt32 + uInt32 uInt32 vmmFindFreePage (pidType pid) vmmFindFreePage - pidType + pidType pid @@ -330,8 +332,8 @@ execFile kmod_load ldEnable - obreak - sysExec + obreak + sysExec vmm_getFreeMallocPage vmm_pageFault vmm_pagingInit @@ -346,7 +348,7 @@ (pidType pid) vmmFreeProcessPages - pidType + pidType pid @@ -407,7 +409,7 @@ - uInt32 + uInt32 uInt32 freePages freePages @@ -540,7 +542,7 @@ #include<ubixos/spinlock.h> #include<assert.h> -staticuInt32freePages=0; +staticuInt32freePages=0; staticspinLock_tvmmSpinLock=SPIN_LOCK_INITIALIZER; staticspinLock_tvmmCowSpinLock=SPIN_LOCK_INITIALIZER; @@ -606,7 +608,7 @@ ************************************************************************/ intcountMemory(){ -registeruInt32*mem=0x0; +registeruInt32*mem=0x0; unsignedlongmemCount=-1,tempMemory=0x0; unsignedshortmemKb=0; unsignedcharirq1State,irq2State; @@ -644,7 +646,7 @@ if(memCount==-1) memCount=0; memCount+=1024*1024; -mem=(uInt32*)memCount; +mem=(uInt32*)memCount; tempMemory=*mem; *mem=0x55AA55AA; asm("":::"memory"); @@ -687,7 +689,7 @@ Notes: ************************************************************************/ -uInt32vmmFindFreePage(pidTypepid){ +uInt32vmmFindFreePage(pidTypepid){ inti=0x0; /*LetsLookForAFreePage*/ @@ -729,7 +731,7 @@ Notes: ************************************************************************/ -intfreePage(uInt32pageAddr){ +intfreePage(uInt32pageAddr){ intpageIndex=0x0; assert((pageAddr&0xFFF)==0x0); spinLock(&vmmSpinLock); @@ -748,7 +750,7 @@ } else{ /*AdjustTheCOWCounter*/ -adjustCowCounter(((uInt32)vmmMemoryMap[pageIndex].pageAddr),-1); +adjustCowCounter(((uInt32)vmmMemoryMap[pageIndex].pageAddr),-1); } spinUnlock(&vmmSpinLock); /*Return*/ @@ -767,7 +769,7 @@ 08/01/02-IThinkIfCounterGetsTo0IShouldFreeThePage ************************************************************************/ -intadjustCowCounter(uInt32baseAddr,intadjustment){ +intadjustCowCounter(uInt32baseAddr,intadjustment){ intvmmMemoryMapIndex=(baseAddr/4096); assert((baseAddr&0xFFF)==0x0); spinLock(&vmmCowSpinLock); @@ -797,20 +799,20 @@ 08/04/02-AddedCheckingForCOWPagesFirst ************************************************************************/ -voidvmmFreeProcessPages(pidTypepid){ +voidvmmFreeProcessPages(pidTypepid){ inti=0,x=0; -uInt32*tmpPageTable=0x0; -uInt32*tmpPageDir=(uInt32*)parentPageDirAddr; +uInt32*tmpPageTable=0x0; +uInt32*tmpPageDir=(uInt32*)parentPageDirAddr; spinLock(&vmmSpinLock); /*CheckPageDirectoryForAnAvailPageTable*/ for(i=0;i<=0x300;i++){ if(tmpPageDir[i]!=0){ /*SetUpPageTablePointer*/ -tmpPageTable=(uInt32*)(tablesBaseAddress+(i*0x1000)); +tmpPageTable=(uInt32*)(tablesBaseAddress+(i*0x1000)); /*CheckThePageTableForCOWPages*/ for(x=0;x<pageEntries;x++){ /*IfThePageIsCOWAdjustCOWCounter*/ -if(((uInt32)tmpPageTable[x]&PAGE_COW)==PAGE_COW){ +if(((uInt32)tmpPageTable[x]&PAGE_COW)==PAGE_COW){ adjustCowCounter(((uInt32)tmpPageTable[x]&0xFFFFF000),-1); } } diff --git a/doc/xml/vsprintf_8c.xml b/doc/xml/vsprintf_8c.xml index 90c902d..47044e6 100644 --- a/doc/xml/vsprintf_8c.xml +++ b/doc/xml/vsprintf_8c.xml @@ -5,32 +5,32 @@ stdarg.h lib/string.h - + - + - - + + - + - + - + - + - + - + @@ -257,7 +257,7 @@ SMALL SPACE SPECIAL - strlen + strlen vaArg ZEROPAD kpanic @@ -487,7 +487,7 @@ case's': s=vaArg(args,char*); -len=strlen(s); +len=strlen(s); if(precision<0) precision=len; elseif(len>precision) diff --git a/src/bin/Makefile b/src/bin/Makefile index c9dfa4b..e4576f5 100644 --- a/src/bin/Makefile +++ b/src/bin/Makefile @@ -1,7 +1,7 @@ # $Id$ # The System Makefile (C) 2002 The UbixOS Project -all: init-bin login-bin shell-bin clock-bin cp-bin fdisk-bin format-bin disklabel-bin ubistry-bin edit-bin ld-bin ttyd-bin stat-bin +all: init-bin login-bin shell-bin clock-bin cp-bin fdisk-bin format-bin disklabel-bin ubistry-bin edit-bin ld-bin ttyd-bin stat-bin cat-bin # test-bin pwd-bin cat-bin de-bin ls-bin goofball-bin mount-bin init-bin: init diff --git a/src/bin/clock/main.c b/src/bin/clock/main.c index 75fb3af..45dcb2e 100644 --- a/src/bin/clock/main.c +++ b/src/bin/clock/main.c @@ -92,7 +92,9 @@ sec = sysTime; printf("[%s][%02d/%02d/%i, %02d:%02d.%02d]\n",argv[0],month,day,year,hour,min,sec); - printf("[0x%X][%s][%i]\n",argv[1],__progname,argc); + for (i = 0x0;i < argc;i++) { + printf("argv[%i](0x%X:%s),__progrname(%s), argc: %i\n",i,argv[i],argv[i],__progname,argc); + } return(0); } diff --git a/src/bin/edit/main.c b/src/bin/edit/main.c index 3262664..a48874b 100644 --- a/src/bin/edit/main.c +++ b/src/bin/edit/main.c @@ -30,9 +30,20 @@ #include int main(int argc,char **argv) { + char in[1024]; FILE *out; + size_t count = 0x0; printf("UbixOS Text Editor\n"); printf("V1.0\n"); + printf("ARGC: [%i]\n",argc); + printf("ARGV[0]: [%s]\n",argv[0]); + + out = fopen("/test.txt","r"); + + while (!feof(out)) { + printf("%c",fgetc(out)); + } + return(0); } diff --git a/src/bin/init/main.c b/src/bin/init/main.c index 86d6144..65b2107 100644 --- a/src/bin/init/main.c +++ b/src/bin/init/main.c @@ -57,7 +57,7 @@ i = fork(); if (0x0 == i) { - exec("sys:/ttyd",0x0,0x0); + exec("sys:/ttyd",0x0); printf("Error: Could not start TTYD\n"); exit(0x0); } @@ -70,7 +70,7 @@ i = fork(); if (0x0 == i) { printf("Starting Ubix Registry (ubistry)\n"); - exec("sys:/ubistry",0x0,0x0); + exec("sys:/ubistry",0x0); printf("Error: Error Starting ubistry\n"); exit(0x0); } @@ -83,7 +83,7 @@ i = fork(); if (0 == i) { printf("Starting Login Daemon.\n"); - exec("sys:/bin/login",0x0,0x0); + exec("sys:/bin/login",0x0); printf("Error Starting System\n"); exit(0x0); } diff --git a/src/bin/ld/findfunc.c b/src/bin/ld/findfunc.c index d0d4516..527000c 100644 --- a/src/bin/ld/findfunc.c +++ b/src/bin/ld/findfunc.c @@ -26,7 +26,7 @@ } } - printf("ERROR COULDN'T FIND FUNCTION\n"); + printf("ERROR COULDN'T FIND FUNCTION: %s:%s\n",func,lib); return(0x0); } diff --git a/src/bin/ld/main.c b/src/bin/ld/main.c index d1d3a70..7ae884b 100644 --- a/src/bin/ld/main.c +++ b/src/bin/ld/main.c @@ -33,21 +33,24 @@ #include "ld.h" ldLibrary *libs = 0x0; -int lib_c = 0x0; -int lib_s[10]; +int lib_c = 0x0; +int lib_s[10]; static elfHeader *binaryHeader = 0x0; static elfSectionHeader *binarySectionHeader = 0x0; static char *binaryShStr = 0x0; static char *binaryDynStr = 0x0; static elfDynSym *binaryRelSymTab = 0x0; -static elfPltInfo *binaryElfRel = 0x0; static Elf32_Dyn *binaryElf32_Dyn = 0x0; +static elfPltInfo *binaryElfRelDyn = 0x0; +static elfPltInfo *binaryElfRel = 0x0; uInt32 ld(uInt32 got2,uInt32 entry) { int i = 0x0; int x = 0x0; + int y = 0x0; int rel = 0x0; + int relDyn = 0x0; uInt32 *reMap = 0x0; FILE *binaryFd = 0x0; @@ -90,10 +93,13 @@ lib_s[lib_c] = binaryElf32_Dyn[x].d_un.d_ptr; lib_c++; } - } + } break; - case 9: - rel = i; + case SHT_REL: + // if (!strcmp(binaryShStr + binarySectionHeader[i].shName,".rel.dyn")) + // relDyn = i; + // else + rel = i; break; case 11: if (binaryRelSymTab == 0x0) { @@ -106,18 +112,43 @@ } } +/* + if ((binaryElfRelDyn == 0x0) && (relDyn != 0)) { + binaryElfRelDyn = (elfPltInfo *)malloc(binarySectionHeader[i].shSize); + fseek(binaryFd,binarySectionHeader[relDyn].shOffset,0x0); + fread(binaryElfRelDyn,binarySectionHeader[relDyn].shSize,1,binaryFd); + + for (x = 0;x < binarySectionHeader[relDyn].shSize / sizeof(elfPltInfo);x++) { + switch (ELF32_R_TYPE(binaryElfRelDyn[x].pltInfo)) { + case R_386_COPY: + printf("COPY"); + reMap = (uInt32 *)binaryElfRelDyn[x].pltOffset; + *reMap = 0x1; + break; + default: + //printf("UNHANDLED THING"); + break; + } + printf("y: [%i:0x%X]",y,binaryElfRelDyn[x].pltOffset); + } + } +*/ + if (binaryElfRel == 0x0) { - fseek(binaryFd,binarySectionHeader[rel].shOffset,0x0); binaryElfRel = (elfPltInfo *)malloc(binarySectionHeader[rel].shSize); + fseek(binaryFd,binarySectionHeader[rel].shOffset,0x0); fread(binaryElfRel,binarySectionHeader[rel].shSize,1,binaryFd); } + i = (entry/sizeof(elfPltInfo)); x = ELF32_R_SYM(binaryElfRel[i].pltInfo); reMap = (uInt32 *)binaryElfRel[i].pltOffset; *reMap = ldFindFunc(binaryDynStr + binaryRelSymTab[x].dynName,binaryDynStr); +printf("\nld(%s)",binaryDynStr + binaryRelSymTab[x].dynName); //*reMap = ldFindFunc(binaryDynStr + binaryRelSymTab[x].dynName,(char *)(binaryDynStr + 1)); + if (binaryFd) { fclose(binaryFd); } @@ -126,62 +157,5 @@ } /*** - $Log$ - Revision 1.1.1.1 2006/06/01 12:46:09 reddawg - ubix2 - - Revision 1.2 2005/10/12 00:13:28 reddawg - Removed - - Revision 1.1.1.1 2005/09/26 17:14:01 reddawg - no message - - Revision 1.13 2004/06/18 15:18:04 reddawg - bug fixes: did some double checking on pointers and 0x0 out memory - - Revision 1.12 2004/06/17 14:14:44 reddawg - Fixed some potential problems - - Revision 1.11 2004/06/17 13:05:14 reddawg - dynamic linking: fixed int6 issue problem was multiple rel's - - Revision 1.10 2004/06/17 12:32:11 reddawg - the machine should just hlt - - Revision 1.9 2004/06/17 11:58:10 reddawg - ld.so: Made a few changes to the way it functions hopefully it will - improve some of its performance. - - Revision 1.8 2004/06/17 02:58:49 reddawg - Cleaned Out Dead Code - - Revision 1.7 2004/06/17 01:09:24 reddawg - TCA: cvs update make and give me output - - Revision 1.6 2004/06/16 23:11:34 reddawg - ld.so: now adds librarys it is a little more efficient does the lazy binding - - Revision 1.5 2004/06/16 18:04:15 reddawg - Fixed typo printf <--> kprintf - - Revision 1.4 2004/06/16 16:31:58 reddawg - ld.so: the dynamic linker works and has been tested - - Revision 1.3 2004/06/16 13:52:51 reddawg - Start of userland LD - - Revision 1.2 2004/06/01 01:30:43 reddawg - No more warnings and organized make files - - Revision 1.1 2004/04/26 21:16:03 reddawg - Initial addition of the ubix LD - - Revision 1.2 2004/04/26 13:20:42 reddawg - Turn off muffin - - Revision 1.1 2004/04/26 13:13:25 reddawg - Initial Introduction of the UbixOS Format Utility into the source tree - END ***/ - diff --git a/src/bin/login/main.c b/src/bin/login/main.c index 65af73f..e1bb267 100644 --- a/src/bin/login/main.c +++ b/src/bin/login/main.c @@ -127,7 +127,7 @@ fclose(fd); //chdir(data[i].path); chdir("sys:/bin/"); - exec(data[i].shell,0x0,0x0); + exec(data[i].shell,0x0); printf("Error: Problem Starting Shell\n"); exit(-1); } diff --git a/src/bin/sh/Makefile b/src/bin/sh/Makefile index a9250e8..e2e25b7 100644 --- a/src/bin/sh/Makefile +++ b/src/bin/sh/Makefile @@ -9,25 +9,26 @@ LD = ld #Binary File Name -BINARY = sh +BINARY = sh #Delete Program REMOVE = rm -f #Objects -OBJS = +OBJS = sh1.o -LIBRARIES = ../../lib/libc_old/libc_old.so +INCLUDES = -I../../include.new + +LIBRARIES = ../../lib/libc/libc.so + +STARTUP = ../../lib/csu/*.o # Link The Binary $(BINARY) : $(OBJS) $(CC) $(CFLAGS) -o $@ $(STARTUP) $(LIBRARIES) $(OBJS) - strip $(BINARY) + #strip $(BINARY) # Compile the source files -.cpp.o: - $(CXX) -Wall -O $(CFLAGS) $(INCLUDES) -c -o $@ $< - .cc.o: $(CXX) -Wall -O $(CFLAGS) $(INCLUDES) -c -o $@ $< diff --git a/src/bin/shell/commands.c b/src/bin/shell/commands.c index a87e380..033f97b 100644 --- a/src/bin/shell/commands.c +++ b/src/bin/shell/commands.c @@ -40,6 +40,7 @@ int commands(inputBuffer *data) { int cPid = 0x0,i = 0x0,x = 0x0; + char **argv = &data->argv; mpi_message_t cmdMsg; @@ -64,7 +65,7 @@ /* printf("Starting Clock\n"); */ cPid = fork(); if (cPid == 0x0) { - exec("clock",0x0,0x0); + exec("clock",0x0); exit(0x1); } else { printf("Childs Pid: [%i]\n",cPid); @@ -73,7 +74,7 @@ } cPid = fork(); if (cPid == 0x0) { - exec("ls", 0x0, 0x0); + exec("ls", 0x0); exit(0x1); } else { printf("Childs Pid: [%i]\n",cPid); @@ -87,7 +88,7 @@ cPid = fork(); if (cPid == 0x0) { printf("Pid: [%i:%i]\n",cPid,i); - exec("clock",0x0,0x0); + exec("clock",0x0); exit(0x1); } else { @@ -111,7 +112,7 @@ } else if (memcmp(data->args->arg,"echo",4) == 0) { for (i=1;iargc;i++) { - printf("%s ",data->argv[i]); + printf("%s ",argv[i]); } printf("\n"); } @@ -120,31 +121,31 @@ printf("Base Command Line Interface\n"); } else if (memcmp(data->args->arg,"cd",2) == 0) { - if (data->argv[1]) { - chdir(data->argv[1]); + if (argv[1]) { + chdir(argv[1]); getcwd(cwd,1024); } } else if (memcmp(data->args->arg,"unlink",6) == 0) { - if (data->argv[1]) { - unlink(data->argv[1]); + if (argv[1]) { + unlink(argv[1]); } } else if (memcmp(data->args->arg,"msg",3) == 0x0) { printf("Posting Message\n"); - cmdMsg.header = atoi(data->argv[2]); - sprintf(cmdMsg.data,data->argv[3]); - mpi_postMessage(data->argv[1],0x1,&cmdMsg); + cmdMsg.header = atoi(argv[2]); + sprintf(cmdMsg.data,argv[3]); + mpi_postMessage(argv[1],0x1,&cmdMsg); } else if (memcmp(data->args->arg,"mkdir",5) == 0x0) { - if (data->argv[1]) { - mkdir(data->argv[1],0xEAA); + if (argv[1]) { + mkdir(argv[1],0xEAA); } } else if (memcmp(data->args->arg,"id",2) == 0x0) { printf("UID: %i, GID: %i\n",getuid(),getgid()); } - else if (!strcmp(data->argv[1],"reboot")) { + else if (!strcmp(argv[1],"reboot")) { cmdMsg.header = 1000; cmdMsg.data[0] = '\0'; mpi_postMessage("system",0x1,&cmdMsg); diff --git a/src/bin/shell/exec.c b/src/bin/shell/exec.c index 8fff6f4..28c0fc8 100644 --- a/src/bin/shell/exec.c +++ b/src/bin/shell/exec.c @@ -30,12 +30,16 @@ void execProgram(inputBuffer *data) { char file[1024]; + char **argv = &data->argv; int cPid = 0x0; + + printf("Executing App\n"); + cPid = fork(); if (!cPid) { - sprintf(file,"%s%s",cwd,data->argv[1]); - exec(file,data->argc,data->argv+1); - printf("%s: Command Not Found.\n",data->argv[1]); + sprintf(file,"%s%s",cwd,argv[1]); + exec(file,&data->argv); + printf("%s: Command Not Found.\n",argv[1]); exit(-1); } else { diff --git a/src/bin/shell/input.c b/src/bin/shell/input.c index 66651b2..cbc7736 100644 --- a/src/bin/shell/input.c +++ b/src/bin/shell/input.c @@ -27,22 +27,27 @@ #include "shell.h" void parseInput(inputBuffer *buffer,char *data) { - int i = 0x0; - char *arg = 0x0; - struct argsStruct *tmpArgs = 0x0; - + int i = 0x0; + char *arg = 0x0; + char **argv = 0x0; + struct argsStruct *tmpArgs = 0x0; + while (data[0] == ' ') { data++; } - if (*data == '\0') return; + if (*data == '\0') + return; buffer->args = (struct argsStruct *)malloc(sizeof(struct argsStruct)); + tmpArgs = buffer->args; - while(data != 0x0) { + while(data != 0x0) { arg = strtok(data," "); data = strtok(NULL,"\n"); + + printf("sh[%s:%s]",arg,data); if (arg[0] == '&') { buffer->bg = 0x1; } @@ -56,16 +61,24 @@ } } - buffer->argv = (char **)malloc(4*(buffer->argc * 1)); - buffer->envp = (char **)malloc(sizeof(char)); - buffer->envp[0] = 0x1; + /* Alloc memory for argv[] */ + buffer->argv = (char *)malloc(sizeof(char *) * (buffer->argc + 1)); + //buffer->envp = (char **)malloc(sizeof(char)); + + //buffer->envp[0] = 0x1; + tmpArgs = buffer->args; - for (i=1;i<=buffer->argc;i++) { - buffer->argv[i] = tmpArgs->arg; + argv = &buffer->argv; + + printf("argc: [%i]\n",buffer->argc); + + for (i=0x1;i <= buffer->argc;i++) { + argv[i] = tmpArgs->arg; + printf("argv[%i]: %s\n",i,argv[i]); tmpArgs = tmpArgs->next; } - buffer->argv[0] = buffer->argc; - buffer->argv[buffer->argc+1] = buffer->envp; + argv[0] = buffer->argc; + //argv[buffer->argc+1] = buffer->envp; } void freeArgs(inputBuffer *ptr) { diff --git a/src/bin/shell/main.c b/src/bin/shell/main.c index 326b74d..3c7ca76 100644 --- a/src/bin/shell/main.c +++ b/src/bin/shell/main.c @@ -32,9 +32,9 @@ char *machine = 0x0; char *cwd = 0x0; char *cwc = 0x0; - + int main() { - char *data = 0x0; + char *buffer = (char *)malloc(512); inputBuffer *inBuf = (inputBuffer *)malloc(sizeof(inputBuffer)); @@ -44,25 +44,31 @@ sprintf(machine,"uBixCube"); getcwd(cwd,1024); - printf("Oh\n"); - printf("[0x%X]\n",ubix_test()); while (1) { aGain: printf("%s@%s> ",machine,cwd); gets((char *)buffer); - data = (uInt8 *)buffer; + if (buffer[0] == 0x0) goto aGain; - parseInput(inBuf,data); - if (inBuf->args->arg != 0x0) { - if (!commands(inBuf)) execProgram(inBuf); - } - freeArgs(inBuf); + inBuf->argc = 0x0; inBuf->args = 0x0; inBuf->bg = 0x0; + + parseInput(inBuf,buffer); + + if (inBuf->args->arg != 0x0) { + execProgram(inBuf); + /* + if (!commands(inBuf)) + execProgram(inBuf); + */ + } + + freeArgs(inBuf); } return(0x0); } diff --git a/src/bin/shell/shell.h b/src/bin/shell/shell.h index e140799..32db4fe 100644 --- a/src/bin/shell/shell.h +++ b/src/bin/shell/shell.h @@ -9,7 +9,7 @@ typedef struct { int argc; - char **argv; + char *argv; char **envp; uInt8 bg; struct argsStruct *args; diff --git a/src/bin/ubistry/message.c b/src/bin/ubistry/message.c index 9132f04..587e12d 100644 --- a/src/bin/ubistry/message.c +++ b/src/bin/ubistry/message.c @@ -70,7 +70,7 @@ mpi_destroyMbox("ubistry"); if (fork() == 0x0) { printf("ubistry: Restarting\n"); - exec("ubistry@sys",0x0,0x0); + exec("ubistry@sys",0x0); } else { exit(0x0); @@ -87,6 +87,9 @@ /*** $Log$ + Revision 1.1.1.1 2006/06/01 12:46:09 reddawg + ubix2 + Revision 1.2 2005/10/12 00:13:28 reddawg Removed diff --git a/src/include.new/osreldate.h b/src/include.new/osreldate.h index 0d7396b..d262840 100644 --- a/src/include.new/osreldate.h +++ b/src/include.new/osreldate.h @@ -28,6 +28,6 @@ #ifdef _KERNEL #error " cannot be used in the kernel, use " #else -#undef __FreeBSD_version -#define __FreeBSD_version 602100 +#undef __UbixOS_version +#define __UbixOS_version 1 #endif diff --git a/src/include.new/sys/param.h b/src/include.new/sys/param.h index 079e74a..86ce421 100644 --- a/src/include.new/sys/param.h +++ b/src/include.new/sys/param.h @@ -56,8 +56,8 @@ * 'R' is 0 if release branch or x.0-CURRENT before RELENG_*_0 * is created, otherwise 1. */ -#undef __FreeBSD_version -#define __FreeBSD_version 602100 /* Master, propagated to newvers */ +#undef __UbixOS_version +#define __UbixOS_version 1 /* Master, propagated to newvers */ #ifndef LOCORE #include diff --git a/src/lib/csu/Makefile b/src/lib/csu/Makefile index defae41..00aecd9 100644 --- a/src/lib/csu/Makefile +++ b/src/lib/csu/Makefile @@ -5,9 +5,9 @@ include ../../Makefile.inc include ../Makefile.inc -CFLAGS = -fno-builtin -Wno-uninitialized -O2 -fno-strict-aliasing -pipe -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls +CFLAGS = -nostdlib -nostdinc -fno-builtin -Wno-uninitialized -O2 -fno-strict-aliasing -pipe -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls #-DGCRT -INCLUDES = -I../libc/include +INCLUDES = -I../libc/include -I../../include.new #Objects OBJS = crtn.o crti.o crt1.o diff --git a/src/lib/csu/crtbrand.c b/src/lib/csu/crtbrand.c index 7e90144..f17a450 100644 --- a/src/lib/csu/crtbrand.c +++ b/src/lib/csu/crtbrand.c @@ -24,11 +24,10 @@ */ #include -__FBSDID("$FreeBSD: src/lib/csu/common/crtbrand.c,v 1.4 2003/10/17 15:43:13 peter Exp $"); #include -#define ABI_VENDOR "FreeBSD" +#define ABI_VENDOR "UbixOS" #define ABI_SECTION ".note.ABI-tag" #define ABI_NOTETYPE 1 @@ -48,5 +47,5 @@ sizeof(int32_t), ABI_NOTETYPE, ABI_VENDOR, - __FreeBSD_version + __UbixOS_version }; diff --git a/src/lib/libc/gen/getprogname.c b/src/lib/libc/gen/getprogname.c index e029630..456477b 100644 --- a/src/lib/libc/gen/getprogname.c +++ b/src/lib/libc/gen/getprogname.c @@ -9,11 +9,6 @@ __weak_reference(_getprogname, getprogname); -const char * -_getprogname(void) -{ - /*HACK*/ - return("HACK"); - - return (__progname); -} +const char *_getprogname(void) { + return (__progname); + } diff --git a/src/lib/libc/stdlib/getopt.c b/src/lib/libc/stdlib/getopt.c index efcfa0a..5e28400 100644 --- a/src/lib/libc/stdlib/getopt.c +++ b/src/lib/libc/stdlib/getopt.c @@ -70,23 +70,29 @@ { static char *place = EMSG; /* option letter processing */ char *oli; /* option letter list index */ - + char tmp[32]; +sprintf(tmp,"0x%X:%i",&optind,optind); +__sys_write(1,tmp,32); if (optreset || *place == 0) { /* update scanning pointer */ +__sys_write(1,"opt",3); optreset = 0; place = nargv[optind]; if (optind >= nargc || *place++ != '-') { +__sys_write(1,"moo",3); /* Argument is absent or is not an option */ place = EMSG; return (-1); } optopt = *place++; if (optopt == '-' && *place == 0) { +__sys_write(1,"woo",3); /* "--" => end of options */ ++optind; place = EMSG; return (-1); } if (optopt == 0) { +__sys_write(1,"boo",3); /* Solitary '-', treat as a '-' option if the program (eg su) is looking for it. */ place = EMSG; @@ -135,5 +141,10 @@ place = EMSG; ++optind; } +tmp[0] = '0' + optind; +tmp[1] = 'a' + *place; +tmp[2] = '\0'; +__sys_write(1,tmp,3); + return (optopt); /* return option letter */ } diff --git a/src/lib/libc/stdlib/getopt_long.c b/src/lib/libc/stdlib/getopt_long.c index 668d322..736d6ca 100644 --- a/src/lib/libc/stdlib/getopt_long.c +++ b/src/lib/libc/stdlib/getopt_long.c @@ -228,7 +228,6 @@ second_partial_match = 0; optind++; - if ((has_equal = strchr(current_argv, '=')) != NULL) { /* argument found (--option=arg) */ current_argv_len = has_equal - current_argv; diff --git a/src/lib/libc/uthread/uthread_open.c b/src/lib/libc/uthread/uthread_open.c index 486c859..650f5a4 100644 --- a/src/lib/libc/uthread/uthread_open.c +++ b/src/lib/libc/uthread/uthread_open.c @@ -79,7 +79,7 @@ va_list ap; _thread_enter_cancellation_point(); - + /* Check if the file is being created: */ if (flags & O_CREAT) { /* Get the creation mode: */ diff --git a/src/lib/ubix/sstart.c b/src/lib/ubix/sstart.c index ae293db..bca8101 100644 --- a/src/lib/ubix/sstart.c +++ b/src/lib/ubix/sstart.c @@ -1,18 +1,25 @@ char **environ; const char *__progname = ""; -void _start(char **argv,...) { +void _start(char *ap, ...) { int argc; - // char **argv; + char **argv; char **env; const char *s; - exit(main(argc, argv, env)); -// argv = ≈ -// printf("(ap: 0x%X)",&ap); + argv = ≈ argc = *(long *)(void *)(argv - 1); + + /* + printf("(&ap: 0x%X)\n",&ap); + printf("(argv[0]: 0x%X\n",argv[0]); + printf("(argv[-1]: 0x%X:0x%X)\n",argv[-1],*(argv - 1)); + */ + env = argv + argc + 1; + environ = env; + if (argc > 0 && argv[0] != 0x0) { __progname = argv[0]; for (s = __progname; *s != '\0'; s++) diff --git a/src/sys/include/string.h b/src/sys/include/string.h index be6fb07..2f52ea3 100644 --- a/src/sys/include/string.h +++ b/src/sys/include/string.h @@ -32,7 +32,9 @@ #include -void * memcpy(void * dst, const void * src, size_t length); +char *strcpy(char *dst,const char *src); + +void *memcpy(void * dst, const void * src, size_t length); void *memset(void * dst, int c, size_t length); int strlen(const char * string); int strcmp(const char *,const char *); @@ -44,37 +46,5 @@ #endif /*** - $Log$ - Revision 1.2 2005/10/12 00:13:36 reddawg - Removed - - Revision 1.1.1.1 2005/09/26 17:23:38 reddawg - no message - - Revision 1.5 2004/07/21 10:02:09 reddawg - devfs: renamed functions - device system: renamed functions - fdc: fixed a few potential bugs and cleaned up some unused variables - strol: fixed definition - endtask: made it print out freepage debug info - kmalloc: fixed a huge memory leak we had some unhandled descriptor insertion so some descriptors were lost - ld: fixed a pointer conversion - file: cleaned up a few unused variables - sched: broke task deletion - kprintf: fixed ogPrintf definition - - Revision 1.4 2004/07/05 23:06:32 reddawg - Fixens - - Revision 1.3 2004/06/04 13:29:56 reddawg - libc: modified mkdir(); interface - kpanic: kPanic(); now says kPanic: %s - system: now reboots when receives message for reboot - also when command start sde is received by system the STD is started - - Revision 1.2 2004/05/21 15:22:35 reddawg - Cleaned up - - END ***/ diff --git a/src/sys/include/sys/gen_calls.h b/src/sys/include/sys/gen_calls.h index 28fb59c..c8e827b 100644 --- a/src/sys/include/sys/gen_calls.h +++ b/src/sys/include/sys/gen_calls.h @@ -34,7 +34,7 @@ #include int read(struct thread *td,struct read_args *uap); -int sys_write(struct thread *, struct write_args *); + int getpid(struct thread *, struct getpid_args *); int issetugid(register struct thread *, struct issetugid_args *); int readlink(struct thread *,struct readlink_args *); diff --git a/src/sys/include/sys/kern_descrip.h b/src/sys/include/sys/kern_descrip.h index e57b761..aca6f92 100644 --- a/src/sys/include/sys/kern_descrip.h +++ b/src/sys/include/sys/kern_descrip.h @@ -33,6 +33,8 @@ #include #include +#include + typedef __mode_t mode_t; typedef __nlink_t nlink_t; @@ -90,6 +92,8 @@ struct file { int f_flag; + char path[1024]; + fileDescriptor *fd; }; /* TEMP */ @@ -151,6 +155,7 @@ int getdtablesize(struct thread *, struct getdtablesize_args *); int fstat(struct thread *, struct fstat_args *); int ioctl(struct thread *, struct ioctl_args *); +int getfd(struct thread *td,struct file **fp,int fd); #endif @@ -158,4 +163,3 @@ /*** END ***/ - diff --git a/src/sys/include/sys/sysproto.h b/src/sys/include/sys/sysproto.h index c30d26b..0608232 100644 --- a/src/sys/include/sys/sysproto.h +++ b/src/sys/include/sys/sysproto.h @@ -31,6 +31,7 @@ #define _SYSPROTO_H #include +#include typedef int register_t; @@ -45,12 +46,26 @@ #define PADR_(t) 0 #endif - +//Protos struct write_args { - char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; - char buf_l_[PADL_(const void *)]; const void * buf; char buf_r_[PADR_(const void *)]; - char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; -}; + char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; + char buf_l_[PADL_(const void *)]; const void * buf; char buf_r_[PADR_(const void *)]; + char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; + }; + +struct open_args { + char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; + char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; + char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; + }; + +struct setitimer_args { + char which_l_[PADL_(u_int)]; u_int which; char which_r_[PADR_(u_int)]; + char itv_l_[PADL_(struct itimerval *)]; struct itimerval * itv; char itv_r_[PADR_(struct itimerval *)]; + char oitv_l_[PADL_(struct itimerval *)]; struct itimerval * oitv; char oitv_r_[PADR_(struct itimerval *)]; + }; + +//Old struct sysctl_args { char name_l_[PADL_(int *)]; int * name; char name_r_[PADR_(int *)]; @@ -141,17 +156,17 @@ char com_l_[PADL_(u_long)]; u_long com; char com_r_[PADR_(u_long)]; char data_l_[PADL_(caddr_t)]; caddr_t data; char data_r_[PADR_(caddr_t)]; }; -struct open_args { - char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; - char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; - char mode_l_[PADL_(int)]; int mode; char mode_r_[PADR_(int)]; -}; + struct read_args { char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char buf_l_[PADL_(void *)]; void * buf; char buf_r_[PADR_(void *)]; char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; }; +//Func Defs +int sys_write(struct thread *td, struct write_args *uap); +int sys_open(struct thread *td, struct open_args *uap); +int setitimer(struct thread *td, struct setitimer_args *uap); #endif diff --git a/src/sys/include/sys/thread.h b/src/sys/include/sys/thread.h index edfe5ea..c5f83e7 100644 --- a/src/sys/include/sys/thread.h +++ b/src/sys/include/sys/thread.h @@ -32,11 +32,13 @@ #include +#define O_FILES 64 + struct thread { - int td_retval[2]; - uInt32 o_files[64]; - char * vm_daddr; - int32_t vm_dsize; + int td_retval[2]; + u_int32_t o_files[O_FILES]; + char * vm_daddr; + int32_t vm_dsize; }; #endif diff --git a/src/sys/include/ubixos/syscalls_new.h b/src/sys/include/ubixos/syscalls_new.h index 81e20d9..affe4aa 100644 --- a/src/sys/include/ubixos/syscalls_new.h +++ b/src/sys/include/ubixos/syscalls_new.h @@ -30,9 +30,10 @@ #ifndef _SYSCALLS_NEW_H #define _SYSCALLS_NEW_H +#include + int sysExit(); int read(); -int sys_write(); int getpid(); int fcntl(); int issetugid(); @@ -41,7 +42,6 @@ int readlink(); int getuid(); int getgid(); -int open(); int close(); int mmap(); int obreak(); @@ -60,15 +60,18 @@ typedef int (*functionPTR)(); +/*! + * \brief Mast System Call List + */ functionPTR systemCalls_new[] = { - invalid_call, /** 0 **/ + invalid_call, /** 0 **/ sysExit, /** 1 **/ invalid_call, /** 2 **/ read, /** 3 **/ sys_write, /** 4 **/ - open, /** 5 **/ - close, /** 6 **/ - invalid_call, /** 7 **/ + sys_open, /** 5 **/ + close, /** 6 **/ + invalid_call, /** 7 **/ invalid_call, /** 8 **/ invalid_call, /** 9 **/ invalid_call, /** 10 **/ @@ -144,7 +147,7 @@ invalid_call, /** 80 **/ invalid_call, /** 81 **/ invalid_call, /** 82 **/ - invalid_call, /** 83 **/ + setitimer, /** 83 **/ invalid_call, /** 84 **/ invalid_call, /** 85 **/ invalid_call, /** 86 **/ diff --git a/src/sys/include/vfs/file.h b/src/sys/include/vfs/file.h index cb02441..9614d81 100644 --- a/src/sys/include/vfs/file.h +++ b/src/sys/include/vfs/file.h @@ -63,7 +63,7 @@ uInt32 resid; } fileDescriptor; - + typedef struct userFileDescriptorStruct { struct fileDescriptorStruct *fd; uInt32 fdSize; @@ -80,7 +80,7 @@ int unlink(const char *path); int feof(fileDescriptor *fd); int fgetc(fileDescriptor *fd); -size_t fread(void *ptr, size_t size, size_t nmemb,fileDescriptor *fd); +size_t fread(void *ptr,size_t size,size_t nmemb,fileDescriptor *fd); size_t fwrite(void *ptr,int size,int nmemb,fileDescriptor *fd); int fseek(fileDescriptor *,long,int); diff --git a/src/sys/include/vfs/vfs.h b/src/sys/include/vfs/vfs.h index c926e59..ac4d84a 100644 --- a/src/sys/include/vfs/vfs.h +++ b/src/sys/include/vfs/vfs.h @@ -71,7 +71,6 @@ /* VFS Functions */ int vfs_init(); int vfsRegisterFS(struct fileSystem); -int open(struct thread *td, struct open_args *uap); struct fileSystem *vfs_findFS(int); #endif diff --git a/src/sys/kernel/exec.c b/src/sys/kernel/exec.c index 87eaf92..772f540 100644 --- a/src/sys/kernel/exec.c +++ b/src/sys/kernel/exec.c @@ -330,20 +330,25 @@ 04-22-03 - It Now Loads Sections Not The Full File *****************************************************************************************/ -void sysExec(char *file,int argc,char **argv) { - int i = 0x0; - int x = 0x0; - uInt32 *tmp = 0x0; - uInt32 ldAddr = 0x0; - uInt32 seg_size = 0x0; - uInt32 seg_addr = 0x0; - char *interp = 0x0; +void sysExec(char *file,char *ap) { + int i = 0x0; + int x = 0x0; + int argc = 0x0; + uInt32 *tmp = 0x0; + uInt32 ldAddr = 0x0; + uInt32 seg_size = 0x0; + uInt32 seg_addr = 0x0; + char *interp = 0x0; + char **argv = 0x0; + char **argvNew = 0x0; + char *args = 0x0; - fileDescriptor *tmpFd = 0x0; - elfHeader *binaryHeader = 0x0; - elfProgramHeader *programHeader = 0x0; - elfSectionHeader *sectionHeader = 0x0; - elfDynamic *elfDynamicS = 0x0; + fileDescriptor *tmpFd = 0x0; + elfHeader *binaryHeader = 0x0; + elfProgramHeader *programHeader = 0x0; + elfSectionHeader *sectionHeader = 0x0; + elfDynamic *elfDynamicS = 0x0; + struct i386_frame *iFrame = 0x0; tmpFd = fopen(file,"r"); _current->imageFd = tmpFd; @@ -467,23 +472,62 @@ tmp[1] = (uInt32)tmpFd; break; } +/* + else { + kprintf("dyn_val: %i",elfDynamicS[i].dynVal); + } +*/ } } _current->td.vm_dsize = seg_size >> PAGE_SHIFT; _current->td.vm_daddr = (char *)seg_addr; + argv = ap; + + if (argv[1] != 0x0) { + argc = argv[0]; + args = (char *)vmmGetFreeVirtualPage(_current->id,1,VM_TASK); +memset(args,0x0,0x1000); + x = 0x0; + argvNew = (char **)kmalloc(sizeof(char *) * argc); + for (i = 0x0;i < argc;i++) { + strcpy(args + x,argv[i + 1]); + argvNew[i] = args + x; + x += strlen(argv[i + 1]) + 1; + //args[x] = '\0'; + //x++; + } + argv = argvNew; + } + + //! Clean the virtual of COW pages left over from the fork vmm_cleanVirtualSpace(_current->td.vm_daddr + (_current->td.vm_dsize << PAGE_SIZE)); - /* Adjust iframe */ - tmp = (uInt32 *)_current->tss.esp0 - 5; - tmp[0] = binaryHeader->eEntry; - tmp[3] = STACK_ADDR - 12; - tmp = (uInt32 *)STACK_ADDR - 2; - kprintf("argv: [0x%X]\n",argv); - tmp[0] = (u_int32_t)argv; - tmp[1] = (u_int32_t)argv; + //! Adjust iframe + iFrame = _current->tss.esp0 - sizeof(struct i386_frame); + iFrame->ebp = STACK_ADDR; + iFrame->eip = binaryHeader->eEntry; + iFrame->user_esp = STACK_ADDR - 12; + //if (_current->id > 3) { + + iFrame->user_esp = ((u_int32_t)STACK_ADDR) - (sizeof(u_int32_t) * (x + 1)); + tmp = iFrame->user_esp; + + //! build argc and argv[] + tmp[0] = argc; + for (i = 0;i < argc;i++) { + tmp[i + 1] = argv[i]; + } + //} + //else { + //tmp = (u_int32_t *)STACK_ADDR - 2; + //tmp[0] = 0x1; + //tmp[1] = 0x0; + //tmp[1] = (u_int32_t)argv; + //} + kfree(argvNew); /* Now That We Relocated The Binary We Can Unmap And Free Header Info */ kfree(binaryHeader); kfree(programHeader); diff --git a/src/sys/kernel/gen_calls.c b/src/sys/kernel/gen_calls.c index df45106..54fe35a 100644 --- a/src/sys/kernel/gen_calls.c +++ b/src/sys/kernel/gen_calls.c @@ -30,24 +30,36 @@ #include #include #include +#include #include #include +#include +#include #include /* return the process id */ int getpid(struct thread *td, struct getpid_args *uap) { + #ifdef DEBUG + kprintf("[%s:%i]",__FILE__,__LINE__); + #endif td->td_retval[0] = _current->id; return (0); } /* return the process user id */ int getuid(struct thread *td, struct getuid_args *uap) { + #ifdef DEBUG + kprintf("[%s:%i]",__FILE__,__LINE__); + #endif td->td_retval[0] = _current->uid; return (0); } /* return the process group id */ int getgid(struct thread *td, struct getgid_args *uap) { + #ifdef DEBUG + kprintf("[%s:%i]",__FILE__,__LINE__); + #endif td->td_retval[0] = _current->gid; return (0); } @@ -56,29 +68,47 @@ char *buffer = 0x0; char *in = 0x0; + #ifdef DEBUG + kprintf("[%s:%i]",__FILE__,__LINE__); + #endif +kprintf("sw[%i]",uap->fd); + if (uap->fd == 2) { kprintf("stderr: %s",uap->buf); } if (uap->fd == 1) { - in = uap->buf; + in = (char *)uap->buf; buffer = kmalloc(1024); memcpy(buffer,uap->buf,uap->nbyte); kprintf("%s",buffer); kfree(buffer); + td->td_retval[0] = uap->nbyte; } else { + kprintf("[%i]",uap->nbyte); + buffer = kmalloc(uap->nbyte); + memcpy(buffer,uap->buf,uap->nbyte); + //kprint(buffer); + kfree(buffer); kprintf("(%i) %s",uap->fd,uap->buf); + td->td_retval[0] = uap->nbyte; } return(0x0); } int issetugid(register struct thread *td, struct issetugid_args *uap) { + #ifdef DEBUG + kprintf("[%s:%i]",__FILE__,__LINE__); + #endif td->td_retval[0] = 0; return (0); } int readlink(struct thread *td,struct readlink_args *uap) { + #ifdef DEBUG + kprintf("[%s:%i]",__FILE__,__LINE__); + #endif kprintf("readlink: [%s:%i]\n",uap->path,uap->count); td->td_retval[0] = -1; td->td_retval[1] = 0x0; @@ -86,21 +116,41 @@ } int gettimeofday_new(struct thread *td, struct gettimeofday_args *uap) { + #ifdef DEBUG + kprintf("[%s:%i]",__FILE__,__LINE__); + #endif return(0x0); } int read(struct thread *td,struct read_args *uap) { - int error = 0x0; - int i = 0x0; + int error = 0x0; + size_t count = 0x0; + struct file *fd = 0x0; - for (i = 0x0;i < 20;i++) { - ((char *)uap->buf)[i] = 'a'; - } - ((char *)uap->buf)[i] = '\0'; - td->td_retval[0] = 20; + #ifdef DEBUG + kprintf("[%s:%i]",__FILE__,__LINE__); + #endif + + error = getfd(td,&fd,uap->fd); + + if (error) + return(error); + + count = fread(uap->buf,uap->nbyte,0x1,fd->fd); + kprintf("count: %i\n",count); + td->td_retval[0] = count; + return(error); } +/*! + * \brief place holder for now functionality to be added later + */ +int setitimer(struct thread *td, struct setitimer_args *uap) { + int error = 0x0; + + return(error); + } /*** END diff --git a/src/sys/kernel/kern_descrip.c b/src/sys/kernel/kern_descrip.c index 01ceaa6..6077c2d 100644 --- a/src/sys/kernel/kern_descrip.c +++ b/src/sys/kernel/kern_descrip.c @@ -39,6 +39,10 @@ int fcntl(struct thread *td, struct fcntl_args *uap) { struct file *fp = 0x0; + #ifdef DEBUG + kprintf("[%s:%i]",__FILE__,__LINE__); + #endif + if (td->o_files[uap->fd] == 0x0) { kprintf("ERROR!!!\n"); return(-1); @@ -64,6 +68,10 @@ struct file *fp = 0x0; int i = 0; + #ifdef DEBUG + kprintf("[%s:%i]",__FILE__,__LINE__); + #endif + fp = (struct file *)kmalloc(sizeof(struct file)); /* First 5 Descriptors Are Reserved */ for (i = 5;i<1024;i++) { @@ -80,15 +88,23 @@ } int close(struct thread *td,struct close_args *uap) { + #ifdef DEBUG + kprintf("[%s:%i]",__FILE__,__LINE__); + #endif kfree((void *)td->o_files[uap->fd]); td->o_files[uap->fd] = 0x0; td->td_retval[0] = 0x0; return(0x0); } - /* HACK */ +/*! + * \brief return data table size + */ int getdtablesize(struct thread *td, struct getdtablesize_args *uap) { - td->td_retval[0] = 20; + #ifdef DEBUG + kprintf("[%s:%i]",__FILE__,__LINE__); + #endif + td->td_retval[0] = O_FILES; return (0); } @@ -96,21 +112,46 @@ int fstat(struct thread *td,struct fstat_args *uap) { struct file *fp = 0x0; - fp = _current->td.o_files[uap->fd]; + #ifdef DEBUG + kprintf("[%s:%i]",__FILE__,__LINE__); + #endif + + fp = (struct file *)_current->td.o_files[uap->fd]; uap->sb->st_mode = 0x2180; uap->sb->st_blksize = 0x1000; + kprintf("fstat: %i",uap->fd); return(0x0); } -/** - HACK -*/ +/*! + * \brief ioctl functionality not implimented yet + * + * \returns NULL for now + */ int ioctl(struct thread *td, struct ioctl_args *uap) { td->td_retval[0] = 0x0; return(0x0); } +/*! + * \brief get pointer to file fd in specified thread + * + * \return returns fp + */ +int getfd(struct thread *td,struct file **fp,int fd) { + int error = 0x0; + #ifdef DEBUG + kprintf("[%s:%i]",__FILE__,__LINE__); + #endif + + *fp = (struct file *)td->o_files[fd]; + + if (fp == 0x0) + error = -1; + + return(error); + } /*** END diff --git a/src/sys/kernel/sched.c b/src/sys/kernel/sched.c index 7b601b2..cbd4c1a 100644 --- a/src/sys/kernel/sched.c +++ b/src/sys/kernel/sched.c @@ -155,7 +155,7 @@ /* HACK */ for (i=0;i<3;i++) { fp = kmalloc(sizeof(struct file)); - tmpTask->td.o_files[i] = fp; + tmpTask->td.o_files[i] = (u_int32_t)fp; fp->f_flag = 0x4; } diff --git a/src/sys/kernel/sys_call.S b/src/sys/kernel/sys_call.S index 068d92b..271abfb 100644 --- a/src/sys/kernel/sys_call.S +++ b/src/sys/kernel/sys_call.S @@ -43,8 +43,8 @@ popl %ecx popl %edx /* Restore Registers */ - iret - + iret + invalidSysCall: movl $-1,%eax iret diff --git a/src/sys/lib/Makefile b/src/sys/lib/Makefile index e978031..a5e443b 100644 --- a/src/sys/lib/Makefile +++ b/src/sys/lib/Makefile @@ -8,7 +8,7 @@ INCLUDES += -I../../lib/objgfx40/ # Objects -OBJS = memcpy.o memset.o assert.o sqrt.o atan.o divdi3.o libcpp.o strtok.o kmalloc.o kprintf.o vsprintf.o string.o net.o strtol.o +OBJS = strcpy.o strlen.o memcpy.o memset.o assert.o sqrt.o atan.o divdi3.o libcpp.o strtok.o kmalloc.o kprintf.o vsprintf.o string.o net.o strtol.o #ogprintf.o all: $(OBJS) diff --git a/src/sys/lib/string.c b/src/sys/lib/string.c index c98aa0f..6c80093 100644 --- a/src/sys/lib/string.c +++ b/src/sys/lib/string.c @@ -29,16 +29,6 @@ #include -char * -strcpy(char * dst, const char * src) { - char * tmp = dst; - do { - *dst = *src; - dst++; - } while (*src++ != '\0'); - return tmp; -} /* strcpy */ - int strcmp(const char *str1,const char *str2) { while ((*str1 == *str2) && (*str1 != 0x0) && (*str2 != 0x0)) { str1++; @@ -87,18 +77,6 @@ return((void *)dst); } - -int strlen(const char * string) { - int i = 0; - - while (1) { - if (string[i] == '\0') - return i; - i++; - } - return 0; - } - int memcmp(const void * dst, const void * src, size_t length) { size_t x = length >> 2; @@ -157,6 +135,9 @@ /*** $Log$ + Revision 1.2 2006/12/05 14:10:21 reddawg + Workign Distro + Revision 1.1.1.1 2006/06/01 12:46:16 reddawg ubix2 diff --git a/src/sys/ufs/ufs.c b/src/sys/ufs/ufs.c index 43518c2..cefc362 100644 --- a/src/sys/ufs/ufs.c +++ b/src/sys/ufs/ufs.c @@ -92,9 +92,11 @@ static ufs2_daddr_t blkmap, indmap; u_int u; + blkbuf = fd->dmadat->blkbuf; indbuf = fd->dmadat->indbuf; fs = (struct fs *)fd->dmadat->sbbuf; + if (!fd->dsk_meta) { inomap = 0; for (n = 0; sblock_try[n] != -1; n++) { @@ -122,8 +124,10 @@ } fd->dsk_meta++; } - if (!inode) - return 0; + + if (!inode) + return(0x0); + if (inomap != inode) { n = IPERVBLK(fs); if (dskread(blkbuf, INO_TO_VBA(fs, n, inode), DBPERVBLK,fd)) @@ -143,11 +147,14 @@ fd->offset = 0; blkmap = indmap = 0; } + s = buf; size = DIP(di_size); fd->size = size; - //kprintf("Size: [%i]\n",size); n = size - fd->offset; + //Why? + if (n < 0) + return(0x0); if (nbyte > n) nbyte = n; nb = nbyte; @@ -282,8 +289,7 @@ } int ufs_readFile(fileDescriptor *fd,char *data,uInt32 offset,long size) { - fsread(fd->ino,data,size,fd); - return(0x0); + return(fsread(fd->ino,data,size,fd)); } int ufs_writeFile(fileDescriptor *fd, char *data,uInt32 offset,long size) { diff --git a/src/sys/vfs/file.c b/src/sys/vfs/file.c index 2ad3501..ee5e0c6 100644 --- a/src/sys/vfs/file.c +++ b/src/sys/vfs/file.c @@ -175,19 +175,26 @@ /* KERNEL */ -size_t fread(void *ptr,int size,int nmemb,fileDescriptor *fd) { - +size_t fread(void *ptr,size_t size,size_t nmemb,fileDescriptor *fd) { + size_t i = 0x0; + if (fd == 0x0) return(0x0); - - if (nmemb == 0x0) nmemb = 1; //Temp Fix - assert(fd); - //kprintf("fd->fileName: %s:%i\n",fd->fileName,_current->id); - assert(fd->mp); - assert(fd->mp->fs); - fd->mp->fs->vfsRead(fd,ptr,fd->offset,size * nmemb); - fd->offset += size * nmemb; - return(size * nmemb); + + if (nmemb == 0x0) + nmemb = 1; //Temp Fix + + assert(fd); + assert(fd->mp); + assert(fd->mp->fs); + + i = fd->mp->fs->vfsRead(fd,ptr,fd->offset,size * nmemb); + + fd->offset += size * nmemb; + + //kprintf("fread: %i:%i",i,size *nmemb); + + return(i); } size_t fwrite(void *ptr,int size,int nmemb,fileDescriptor *fd) { @@ -270,43 +277,39 @@ char *mountPoint = 0x0; char fileName[1024]; fileDescriptor *tmpFd = 0x0; - + /* Allocate Memory For File Descriptor */ if((tmpFd = (fileDescriptor *)kmalloc(sizeof(fileDescriptor))) == 0x0) { kprintf("Error: tmpFd == NULL, File: %s, Line: %i\n",__FILE__,__LINE__); return(NULL); } - - sprintf(fileName,"%s",file); + + strcpy(fileName,file); + if (strstr(fileName,":")) { mountPoint = (char *)strtok((char *)&fileName,":"); path = strtok(NULL,"\n"); } else { path = fileName; - //path = &fileName; } - if (path[0] == '/') { - sprintf(tmpFd->fileName,"%s", path); - } - else { + if (path[0] == '/') + strcpy(tmpFd->fileName, path); + else sprintf(tmpFd->fileName,"/%s",path); - } /* Find our mount point or set default to sys */ - if (mountPoint == 0x0) { + if (mountPoint == 0x0) tmpFd->mp = vfs_findMount("sys"); - } - else { + else tmpFd->mp = vfs_findMount(mountPoint); - } - + if (tmpFd->mp == 0x0) { kprintf("Mount Point Bad\n"); return(0x0); } - + /* This Will Set Up The Descriptor Modes */ tmpFd->mode = 0; for (i = 0; '\0' != flags[i] ;i++ ) { @@ -349,7 +352,7 @@ } /* Set Its Status To Open */ tmpFd->status = fdOpen; - + /* Initial File Offset Is Zero */ tmpFd->offset = 0; tmpFd->prev = 0x0; @@ -360,17 +363,16 @@ /* Increment Number Of Open Files */ systemVitals->openFiles++; - + tmpFd->next = fdTable; - + if (fdTable != 0x0) fdTable->prev = tmpFd; fdTable = tmpFd; spinUnlock(&fdTable_lock); - - + /* Return The FD */ return(tmpFd); } @@ -378,10 +380,10 @@ kfree(tmpFd->buffer); kfree(tmpFd); spinUnlock(&fdTable_lock); - kprintf("File Not Found?\n"); + kprintf("File Not Found? %s\n",file); return (NULL); } - + /* Return NULL */ return(0x0); } diff --git a/src/sys/vfs/vfs.c b/src/sys/vfs/vfs.c index 2fd8b87..72154d5 100644 --- a/src/sys/vfs/vfs.c +++ b/src/sys/vfs/vfs.c @@ -32,6 +32,7 @@ #include #include #include +#include /************************************************************************ @@ -136,14 +137,31 @@ return(0x0); } -int open(struct thread *td, struct open_args *uap) { - int error; - int index; - struct file *nfp = 0x0; +/*! + * \brief entry point for open syscall + * + * \param *td pointer to callers thread + * \param *uap pointer to user space arguements for call + * + * \return index to file descriptor + */ +int sys_open(struct thread *td, struct open_args *uap) { + int error = 0x0; + int index = 0x0; + struct file *nfp = 0x0; + error = falloc(td,&nfp,&index); + if (error) return(error); - kprintf("fd: [%i][%s]\n",index,uap->path); + + strcpy(nfp->path,uap->path); + + nfp->fd = fopen(uap->path,"r"); + if (nfp->fd == 0x0) + td->td_retval[0] = -1; + else + td->td_retval[0] = index; return (error); } diff --git a/src/sys/vmm/getfreevirtualpage.c b/src/sys/vmm/getfreevirtualpage.c index f4b3056..3f9537d 100644 --- a/src/sys/vmm/getfreevirtualpage.c +++ b/src/sys/vmm/getfreevirtualpage.c @@ -94,7 +94,7 @@ for (y = 0; y < 1024; y++) { /* Loop Through The Page Table Find An UnAllocated Page */ if ((pageTableSrc[y] & PAGE_COW) == PAGE_COW) { - kprintf("COW"); + kprintf("PAGE_COW"); //_current->td.vm_dsize += btoc(0x1000); /* HACK MEMORY LEAK */ //pageTableSrc[y] = 0x0; @@ -104,7 +104,7 @@ for (c = 0; c < count; c++) { if (y + c < 1024) { if ((pageTableSrc[y + c] & PAGE_COW) == PAGE_COW) { - kprintf("COW"); + kprintf("PAGE-COW"); //_current->td.vm_dsize += btoc(0x1000); /* HACK MEMORY LEAK */ //pageTableSrc[y + c] = 0x0; diff --git a/src/sys/vmm/paging.c b/src/sys/vmm/paging.c index cd5db7e..f59abd6 100644 --- a/src/sys/vmm/paging.c +++ b/src/sys/vmm/paging.c @@ -455,10 +455,10 @@ addr = (vm_offset_t) uap->addr; + #ifdef DEBUG if (uap->addr != 0x0) { kprintf("Address hints are not supported yet.\n"); } - /* kprintf("uap->flags: [0x%X]\n",uap->flags); kprintf("uap->addr: [0x%X]\n",uap->addr); kprintf("uap->len: [0x%X]\n",uap->len); @@ -466,7 +466,8 @@ kprintf("uap->fd: [%i]\n",uap->fd); kprintf("uap->pad: [0x%X]\n",uap->pad); kprintf("uap->pos: [0x%X]\n",uap->pos); - */ + #endif + if (uap->fd == -1) td->td_retval[0] = vmmGetFreeVirtualPage(_current->id,uap->len/0x1000,VM_TASK); else @@ -479,27 +480,24 @@ vm_offset_t old = 0x0; vm_offset_t base = 0x0; vm_offset_t new = 0x0; - - /* + + #ifdef DEBUG kprintf("vm_offset_t: [%i]\n",sizeof(vm_offset_t)); kprintf("nsize: [0x%X]\n",uap->nsize); kprintf("vm_daddr: [0x%X]\n",td->vm_daddr); kprintf("vm_dsize: [0x%X]\n",td->vm_dsize); kprintf("total: [0x%X]\n",td->vm_daddr + td->vm_dsize); - */ + #endif new = round_page((vm_offset_t)uap->nsize); base = round_page((vm_offset_t)td->vm_daddr); old = base + ctob(td->vm_dsize); - //kprintf("ctob: [0x%X]\n",ctob(td->vm_dsize)); - //kprintf("Base: [0x%x], Old: [0x%x], New: [0x%x]\n",base,old,new); if (new < base) K_PANIC("EINVAL"); - //kprintf("obreak: [0x%X:0x%X]",new,old); if (new > old) { for (i = old;i < new;i+= 0x1000) { if (vmm_remapPage(vmmFindFreePage(_current->id),i,PAGE_DEFAULT) == 0x0) @@ -508,14 +506,10 @@ td->vm_dsize += btoc(new - old); } else if (new < old) { - /* - for (i = old; i > new;i -= 0x1000) { - kprintf("[0x%X]",i); - } - */ K_PANIC("new < old"); td->vm_dsize -= btoc(old - new); } + return(0x0); } @@ -533,7 +527,9 @@ pageDir = (uInt32 *) parentPageDirAddr; + #ifdef DEBUG kprintf("CVS: [0x%X]\n",addr); + #endif for (x = (addr / (1024 * 4096)); x < 770; x++) { if ((pageDir[x] & PAGE_PRESENT) == PAGE_PRESENT) { @@ -549,17 +545,19 @@ //kprintf("STACK: (%i:%i)",x,y); } else { - kprintf("+"); + //kprintf("+"); } } } } } - + asm( + "movl %cr3,%eax\n" + "movl %eax,%cr3\n" + ); return(0x0); } - /*** END ***/ diff --git a/src/tools/Makefile b/src/tools/Makefile index 1b3866b..2ec8056 100644 --- a/src/tools/Makefile +++ b/src/tools/Makefile @@ -44,6 +44,7 @@ (cp ../bin/clock/clock /mnts/ubix/bin) (cp ../bin/fdisk/fdisk /mnts/ubix/bin) (cp ../bin/edit/edit /mnts/ubix/bin) + (cp ../bin/cat/cat /mnts/ubix/bin) (cp ../bin/ld/ld.so /mnts/ubix/lib) (cp ../lib/libc_old/libc_old.so /mnts/ubix/lib) (cp ../lib/libc/libc.so /mnts/ubix/lib) diff --git a/ubix2.kdevelop b/ubix2.kdevelop index 05ec39d..0ba277f 100644 --- a/ubix2.kdevelop +++ b/ubix2.kdevelop @@ -15,7 +15,7 @@ kdevcvsservice . false - + @@ -34,27 +34,27 @@ make - + true 1 false - + 0 - - + + default executable / - - + + false true @@ -147,10 +147,10 @@ false 3 - + - + set m_,_ theValue @@ -190,12 +190,12 @@ - - - - - - + + + + + + true false false diff --git a/ubix2.kdevses b/ubix2.kdevses index 11fb667..f6e6542 100644 --- a/ubix2.kdevses +++ b/ubix2.kdevses @@ -1,7 +1,23 @@ - + + + + + + + + + + + + + + + + +