Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
215 commits
Select commit Hold shift + click to select a range
6a1867b
created files needed
gwoplock Aug 31, 2017
5ad277e
read registers for OHCI device
gwoplock Sep 4, 2017
c698609
Merge branch 'usb_OHCI' of github.com:gwoplock/ExOS into usb_OHCI
gwoplock Sep 5, 2017
9b518a8
small fix to PCI device base class. didn't impliment the destrctor
gwoplock Sep 5, 2017
6b8667a
Merge pull request #13 from gwoplock/master
gwoplock Sep 5, 2017
31676b6
Merge branch 'master' into usb_OHCI
gwoplock Sep 9, 2017
4c51972
Merge pull request #21 from gwoplock/master
gwoplock Sep 10, 2017
f1fdb88
Merge remote-tracking branch 'refs/remotes/origin/usb_OHCI' into usb_…
gwoplock Sep 10, 2017
b92d554
Merge pull request #26 from gwoplock/master
gwoplock Sep 11, 2017
099e798
Merge pull request #25 from gwoplock/master
xxc3nsoredxx Sep 11, 2017
545d962
Merge branch 'master' into usb_OHCI
gwoplock Sep 12, 2017
8063e0a
builds and runs (#30)
gwoplock Sep 12, 2017
69ecd11
fixed stuff from changes in refactor
gwoplock Sep 12, 2017
a33206f
removed unneeded files
gwoplock Sep 13, 2017
47e9e1a
better link flags in makefile
gwoplock Sep 22, 2017
078f3e8
Update README.MD
gwoplock Sep 22, 2017
1b3bb1c
Merge pull request #31 from gwoplock/readme_updates
xxc3nsoredxx Sep 22, 2017
ca69338
Update README.MD
gwoplock Sep 23, 2017
7f07110
Update README.MD
gwoplock Sep 23, 2017
fe1c818
Update README.MD
gwoplock Sep 23, 2017
0d5a6bd
Merge pull request #32 from gwoplock/readme_updates
xxc3nsoredxx Sep 24, 2017
874b9d9
Update README.MD
gwoplock Oct 13, 2017
e03ac90
Merge pull request #33 from gwoplock/readme_updates
xxc3nsoredxx Oct 13, 2017
5367329
Update README.MD
gwoplock Oct 25, 2017
8b023f3
Update CODE_OF_CONDUCT.md
gwoplock Oct 25, 2017
c13216a
Update CODE_OF_CONDUCT.md
gwoplock Oct 25, 2017
c1ddb04
Merge pull request #34 from gwoplock/gwoplock-patch-1
xxc3nsoredxx Oct 25, 2017
80d4dc3
Merge pull request #35 from gwoplock/gwoplock-patch-2
xxc3nsoredxx Oct 25, 2017
2a4680c
Merge pull request #36 from gwoplock/gwoplock-patch-3
xxc3nsoredxx Oct 25, 2017
06e3cee
Merge branch 'master' of github.com:gwoplock/ExOS into readme_updates
xxc3nsoredxx Oct 31, 2017
8593b4c
basic structure of usb poll
gwoplock Jan 16, 2018
a4c0b09
Merge branch 'master' into usb
gwoplock Jan 16, 2018
741d40a
added to git ignore
gwoplock Jan 17, 2018
bcb52db
FAT BIOS Parameter Block
gwoplock Jan 17, 2018
66ff66e
file open sig
gwoplock Jan 17, 2018
cff3039
makefile updates
gwoplock Jan 17, 2018
357303f
forgot a level
gwoplock Jan 17, 2018
ca6e0f5
fuck
gwoplock Jan 17, 2018
2dc3968
makefiles are hard
gwoplock Jan 17, 2018
9d369b1
class vars that we probly need
gwoplock Jan 17, 2018
59dd5ea
read from file
gwoplock Jan 17, 2018
0badad6
read from disk
gwoplock Jan 18, 2018
5a685ad
fixed some issues
gwoplock Jan 18, 2018
12edb63
assert
gwoplock Jan 18, 2018
60140bb
file reading loop to fill buffer
gwoplock Jan 18, 2018
227e771
part of the fix for issue #38
gwoplock Jan 19, 2018
fd14e25
read from fat12FS
gwoplock Jan 20, 2018
ae8f16d
fixed more of issue #38
gwoplock Jan 20, 2018
8e8b0ac
Fat12File constructor
gwoplock Jan 20, 2018
965bcce
slight refactor
gwoplock Jan 20, 2018
eeb811b
basic node class for a file system
gwoplock Jan 20, 2018
defdbe7
new base class for file systems
gwoplock Jan 20, 2018
2c97acd
fixed some compile errors
gwoplock Jan 20, 2018
27fa492
building fat12 dir structure
gwoplock Jan 21, 2018
1cc6a93
FSNode for fat
gwoplock Jan 21, 2018
1181f6b
few small issue fixes
gwoplock Jan 21, 2018
236fefc
removed old malloc
gwoplock Jan 22, 2018
b0f19b7
malloc init code
gwoplock Jan 22, 2018
e952ff9
this should work as the new malloc
gwoplock Jan 23, 2018
08c5b76
this "should" add the headers
gwoplock Jan 23, 2018
2e631a8
i forgot to return after the header
gwoplock Jan 23, 2018
5922108
i moved the start of the header to after the requested space
gwoplock Jan 23, 2018
ce47717
most of free
gwoplock Jan 23, 2018
e84fa5c
this should combine free space
gwoplock Jan 23, 2018
38921b6
realloc should work
gwoplock Jan 23, 2018
7c208fc
fixed some compiler erros
gwoplock Jan 23, 2018
2a0eceb
test code
gwoplock Jan 25, 2018
8e4fd4a
malloc structure
gwoplock Jan 27, 2018
760a2bc
forloop i forgot
gwoplock Jan 27, 2018
b21ec89
that might acctually work
gwoplock Jan 27, 2018
27971d1
merge in (#39)
gwoplock Feb 2, 2018
e5a23f7
Merge pull request #41 from gwoplock/better-memory-manager
gwoplock Feb 2, 2018
bf654b0
Merge branch 'fat11' of github.com:gwoplock/exos into fat12
gwoplock Feb 2, 2018
af46c1b
basic parsing structure
gwoplock Feb 4, 2018
03add34
standard 8.3 filename structs
gwoplock Feb 4, 2018
fcf6b2a
long file name struct
gwoplock Feb 4, 2018
741f787
forgot to pack structs
gwoplock Feb 4, 2018
b838ef9
pointer incrimentor
gwoplock Feb 4, 2018
1452642
read long file name
gwoplock Feb 4, 2018
2827f0f
create entry in the dag
gwoplock Feb 4, 2018
38fdf63
add entry to the dag
gwoplock Feb 4, 2018
1f4992d
better add algro
gwoplock Feb 4, 2018
d6b4b1e
find file and open it
gwoplock Feb 4, 2018
f98ce9b
Merge branch 'known_good' into master
gwoplock Feb 4, 2018
00a318d
Merge branch 'master' into fat12
gwoplock Feb 4, 2018
7edb51d
Merge pull request #44 from gwoplock/fat12
gwoplock Feb 4, 2018
d73361f
basic device class
gwoplock Feb 4, 2018
c8c5a4a
im really dumb
gwoplock Feb 4, 2018
15fb6b7
Merge remote-tracking branch 'origin/master' into device
gwoplock Feb 4, 2018
b95fab2
base device types
gwoplock Feb 4, 2018
16c26cb
keyboard is now a char device
gwoplock Feb 4, 2018
f179b32
continuing device refactor
gwoplock Feb 6, 2018
9b4e6a6
more device stuff
gwoplock Feb 6, 2018
08d9833
added some functions to the device classes
gwoplock Feb 6, 2018
94028eb
forgot to make them pure virtual
gwoplock Feb 6, 2018
9be10a1
makefile updates
gwoplock Feb 6, 2018
9e02512
Fat12 warnings
gwoplock Feb 6, 2018
7c33bb4
somrthing to FSNode
gwoplock Feb 6, 2018
3689124
sign warning issues
gwoplock Feb 6, 2018
9e1b3cc
no return warnings fixed
gwoplock Feb 6, 2018
1799b42
delete done
gwoplock Feb 6, 2018
3cbabd3
unsigned var comp again
gwoplock Feb 6, 2018
1bf280a
Merge pull request #45 from gwoplock/fix-warning
gwoplock Feb 14, 2018
a850b4d
Merge branch 'master' into device
gwoplock Feb 18, 2018
13d51a6
Merge pull request #46 from gwoplock/device
gwoplock Feb 18, 2018
26b0779
removed test prints
gwoplock Feb 19, 2018
168c565
Merge pull request #47 from gwoplock/boot-proc
gwoplock Feb 19, 2018
7494898
removed all old PCI code
gwoplock Feb 19, 2018
8a06e7e
read pci config word
gwoplock Feb 19, 2018
71ab8df
enum all pci devices struct
gwoplock Feb 20, 2018
46a5ebc
get vender ID
gwoplock Feb 20, 2018
00e1ee9
check PCI bus's devices
gwoplock Feb 20, 2018
95607f0
check devices and functions on a bus
gwoplock Feb 20, 2018
bcb8ea2
fixed a thing and started checking devices
gwoplock Feb 20, 2018
f4ef835
read the config and print it
gwoplock Feb 20, 2018
be3c440
fixed a few things
gwoplock Feb 20, 2018
05e5a35
this should scan all buses for all devices
gwoplock Feb 20, 2018
ce59b17
protection
gwoplock Feb 20, 2018
b3be116
hex not dec
gwoplock Feb 20, 2018
918e60d
more prints
gwoplock Feb 20, 2018
0e3a2e8
oups
gwoplock Feb 20, 2018
2f99578
handle devies based on class
gwoplock Feb 27, 2018
cd1172c
basic structure for creating a USB HCI
gwoplock Feb 27, 2018
8e89163
fixed a few syntax errors
gwoplock Mar 1, 2018
d1623db
fixed issue #49
gwoplock Mar 2, 2018
6311024
fixed commented issue in #48
gwoplock Mar 2, 2018
7bd2a98
Merge pull request #52 from gwoplock/fix-pci
gwoplock Mar 2, 2018
293a78c
Merge remote-tracking branch 'origin/master' into usb
gwoplock Mar 2, 2018
3ff7b55
abort
gwoplock Mar 2, 2018
a7440d1
fat 12y
gwoplock Mar 2, 2018
4fb1b39
Update README.MD
gwoplock Mar 2, 2018
96381dd
Update README.MD
gwoplock Mar 2, 2018
040e09c
Revert "Added some more floppy constants"
gwoplock Mar 2, 2018
659956c
Revert "Added things for floppy stuffs"
gwoplock Mar 2, 2018
208cf23
Revert "Detects proper floppy drives"
gwoplock Mar 2, 2018
8e6bff4
Revert "Start floppy stuff"
gwoplock Mar 2, 2018
974bd62
Merge branch 'master' into readme_updates
gwoplock Mar 2, 2018
d424f6f
Merge pull request #53 from gwoplock/readme_updates
gwoplock Mar 2, 2018
74e38d5
Merge remote-tracking branch 'origin/master' into clean-up
gwoplock Mar 2, 2018
bfa2108
PCI devices clean up
gwoplock Mar 5, 2018
a7457de
PCI base functions clean up
gwoplock Mar 5, 2018
0248b58
mem alloc
gwoplock Mar 5, 2018
7849499
mem clean up
gwoplock Mar 5, 2018
c0f5ffc
rest of clean up
gwoplock Mar 5, 2018
0de3436
Merge pull request #54 from gwoplock/clean-up
gwoplock Mar 5, 2018
4372af2
Merge branch 'usb' of ssh://github.com/gwoplock/exos into usb
gwoplock Mar 5, 2018
aff5d7c
moving comps
gwoplock Mar 6, 2018
3f06911
i did a dumb
gwoplock Mar 6, 2018
fad722c
USBPeripheral contructor
gwoplock Mar 6, 2018
7204797
i really should make before i commit
gwoplock Mar 6, 2018
5a996f8
USBPer add
gwoplock Mar 6, 2018
e297e46
remove
gwoplock Mar 6, 2018
18ac264
other USB device types classes
gwoplock Mar 6, 2018
b6f625f
I put the cart before the horse
gwoplock Mar 7, 2018
5bc37cc
forgot to remove old refrences
gwoplock Mar 7, 2018
f5e377d
Update README.MD
gwoplock Mar 19, 2018
03f2c7b
Merge pull request #56 from gwoplock/readme_updates
gwoplock Mar 19, 2018
efdaf25
basic structure for usb device constructor
gwoplock Mar 19, 2018
edc03a8
start of USB init code
gwoplock Mar 20, 2018
ffe478d
forgot include gaurds...
gwoplock Mar 20, 2018
6b87960
start of host controller constructor, more to come later
gwoplock Mar 20, 2018
6fd291b
moved hubs to own folder
gwoplock Mar 21, 2018
2469cb9
ehci root hub class start
gwoplock Mar 21, 2018
dfd0e13
start of EHCI root hub
gwoplock Mar 21, 2018
86c2f34
structs for reading EHCI fields
gwoplock Mar 21, 2018
d86fa74
basic structure for the op registers
gwoplock Mar 22, 2018
6387f5e
EHCI USB command register struct
gwoplock Mar 22, 2018
1fd992b
EHCI status register struct
gwoplock Mar 22, 2018
7840627
finished structs for the host controller
gwoplock Mar 24, 2018
d3b0e9b
init EHCI controller
gwoplock Mar 25, 2018
9daf13e
packed structs
gwoplock Mar 26, 2018
c170f9b
init EHCI root hub
gwoplock Mar 26, 2018
e2c952c
debugging prints
gwoplock Mar 26, 2018
abde585
page in 1 page for each BAR
gwoplock Mar 29, 2018
64991d0
debugging issue #60/#61
gwoplock Mar 30, 2018
47e232d
fixed issue #61.
gwoplock Mar 30, 2018
2d6c6b0
fix for issue #61
gwoplock Apr 2, 2018
8c462fc
fixed issue #62
gwoplock Apr 2, 2018
78c8c5e
removed all debug prints and breaks
gwoplock Apr 2, 2018
781fd77
Update README.MD
gwoplock Apr 2, 2018
258d873
Merge pull request #63 from gwoplock/readme_updates
gwoplock Apr 2, 2018
ac811ff
looks like the device detection code works
gwoplock Apr 2, 2018
9b62c28
Merge pull request #64 from gwoplock/usb
gwoplock Apr 2, 2018
c9a4ffb
Delete org.eclipse.cdt.core.prefs
gwoplock Apr 2, 2018
1b94bd9
Delete language.settings.xml
gwoplock Apr 2, 2018
eb42576
Delete org.eclipse.cdt.codan.core.prefs
gwoplock Apr 2, 2018
68d2329
Delete #.bochsrc#
gwoplock Apr 2, 2018
01412c5
Delete .cproject
gwoplock Apr 2, 2018
1377b86
Delete .project
gwoplock Apr 2, 2018
9d405c9
Delete syscall numbers.ods
gwoplock Apr 2, 2018
440c600
Merge pull request #65 from gwoplock/repoCleanUp
gwoplock Apr 2, 2018
be3b39f
base files for the PIT
gwoplock Apr 2, 2018
9aed524
created interval timer
gwoplock Apr 3, 2018
ee752fd
milisleep
gwoplock Apr 3, 2018
b75e6aa
tiemr done and tested
gwoplock Apr 3, 2018
7780bd7
Merge pull request #66 from gwoplock/timer
gwoplock Apr 3, 2018
4a79e3a
reset and enable port
gwoplock Apr 3, 2018
64d1c49
refactor hub tree
gwoplock Apr 3, 2018
5f7358f
got rid of all old makefiles
gwoplock May 21, 2018
8392b94
improved makefile
gwoplock May 21, 2018
20fa32d
cleaned up makefile
gwoplock May 21, 2018
fed9fc0
fixed link command
gwoplock May 21, 2018
5c175be
trimed line length
gwoplock May 21, 2018
f1dbd42
Merge pull request #67 from gwoplock/even-better-makefiles
gwoplock May 21, 2018
de6dde5
Merge branch 'master' of github.com:gwoplock/exos
gwoplock May 22, 2018
d957b22
Update README.MD
gwoplock Aug 26, 2018
72c4b61
Merge pull request #69 from gwoplock/readme_updates
gwoplock Aug 26, 2018
bd3e4c9
Delete CODE_OF_CONDUCT.md
gwoplock Sep 20, 2018
24c7606
Merge pull request #70 from gwoplock/master
gwoplock Oct 30, 2018
767eb50
Update README.MD
gwoplock Oct 30, 2018
4a67a9c
Merge pull request #71 from gwoplock/readme_updates
gwoplock Oct 30, 2018
9844841
fixed multiboot header
gwoplock Dec 9, 2018
bf71c5c
fixed loading
gwoplock Dec 9, 2018
438af28
Update README.MD
gwoplock Apr 15, 2019
544949c
Merge pull request #72 from gwoplock/readme_updates
gwoplock Apr 15, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 22 additions & 21 deletions .bochsrc
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
# configuration file generated by Bochs
plugin_ctrl: unmapped=1, biosdev=1, speaker=1, extfpuirq=1, parallel=1, serial=1, iodebug=1

#plugin_ctrl: unmapped=true, biosdev=true, speaker=true, extfpuirq=true, parallel=true, serial=true, iodebug=1, gameport=true, usb_ehci=true
config_interface: textconfig
display_library: x, options="gui_debug"
memory: host=32, guest=32
romimage: file="/usr/share/bochs/BIOS-bochs-latest", address=0x0, options=none
romimage: file="/usr/share/bochs/BIOS-bochs-latest", address=0x00000000, options=none
vgaromimage: file="/usr/share/bochs/VGABIOS-lgpl-latest"
boot: floppy
floppy_bootsig_check: disabled=0
floppya: type=1_44, 1_44="/dev/sdc", status=inserted, write_protected=0
floppya: type=1_44, 1_44="/dev/sdd", status=inserted, write_protected=0
# no floppyb
ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
ata0: enabled=true, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
ata0-master: type=none
ata0-slave: type=none
ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15
ata1: enabled=true, ioaddr1=0x170, ioaddr2=0x370, irq=15
ata1-master: type=none
ata1-slave: type=none
ata2: enabled=0
ata3: enabled=0
ata2: enabled=false
ata3: enabled=false
optromimage1: file=none
optromimage2: file=none
optromimage3: file=none
Expand All @@ -25,33 +26,33 @@ optramimage1: file=none
optramimage2: file=none
optramimage3: file=none
optramimage4: file=none
pci: enabled=1, chipset=i440fx, slot1=usb_uhci, slot2=usb_ehci, slot3=usb_xhci
pci: enabled=1, chipset=i440fx, slot2=usb_ehci
vga: extension=vbe, update_freq=5, realtime=1
cpu: count=1:1:1, ips=4000000, quantum=16, model=bx_generic, reset_on_triple_fault=0, cpuid_limit_winnt=0, ignore_bad_msrs=1, mwait_is_nop=0
cpuid: level=6, stepping=3, model=3, family=6, vendor_string="AuthenticAMD", brand_string="AMD Athlon(tm) processor"
cpuid: mmx=1, apic=xapic, simd=sse2, sse4a=0, misaligned_sse=0, sep=1, movbe=0, adx=0
cpuid: aes=0, sha=0, xsave=0, xsaveopt=0, avx_f16c=0, avx_fma=0, bmi=0, xop=0, fma4=0
cpuid: tbm=0, x86_64=1, 1g_pages=0, pcid=0, fsgsbase=0, smep=0, smap=0, mwait=1
cpuid: level=6, stepping=3, model=3, family=6, vendor_string="GenuineIntel", brand_string=" Intel(R) Pentium(R) 4 CPU "
cpuid: mmx=true, apic=xapic, simd=sse2, sse4a=false, misaligned_sse=false, sep=true
cpuid: movbe=false, adx=false, aes=false, sha=false, xsave=false, xsaveopt=false, x86_64=true
cpuid: 1g_pages=false, pcid=false, fsgsbase=false, smep=false, smap=false, mwait=true
print_timestamps: enabled=0
debugger_log: -
magic_break: enabled=1
port_e9_hack: enabled=0
private_colormap: enabled=0
clock: sync=none, time0=local, rtc_sync=0
# no cmosimage
# no loader
log: -
logprefix: %t%e%d
debug: action=ignore
info: action=report
error: action=report
panic: action=ask
keyboard: type=mf, serial_delay=250, paste_delay=100000, user_shortcut=none
mouse: type=ps2, enabled=0, toggle=ctrl+mbutton
speaker: enabled=1, mode=system
parport1: enabled=1, file=none
parport2: enabled=0
com1: enabled=1, mode=null
com2: enabled=0
com3: enabled=0
com4: enabled=0
mouse: type=ps2, enabled=false, toggle=ctrl+mbutton
speaker: enabled=true, mode=system
parport1: enabled=true, file=none
parport2: enabled=false
com1: enabled=true, mode=null
com2: enabled=false
com3: enabled=false
com4: enabled=false
#usb_ehci: enabled=1, port1=none, options1=none, port2=none, options2=none, port3=none, options3=none, port4=none, options4=none, port5=none, options5=none, port6=none, options6=none
450 changes: 0 additions & 450 deletions .cproject

This file was deleted.

11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,14 @@
.~lock.*
*.swp
*.swo
.idea/
.vscode/
cmake-build-debug/
kernel.bin
bx_enh_dbg.ini
.vscode/
.idea/
cmake-build-debug/
kernel.bin
.idea/
cmake-build-debug/
27 changes: 0 additions & 27 deletions .project

This file was deleted.

91 changes: 0 additions & 91 deletions .settings/language.settings.xml

This file was deleted.

Loading