-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slm #421
Open
gparmer
wants to merge
460
commits into
loader
Choose a base branch
from
slm
base: loader
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Slm #421
Changes from 4 commits
Commits
Show all changes
460 commits
Select commit
Hold shift + click to select a range
cde63ba
add deps setting script for 64 bit composite
betahxy 0a0c290
fix compiling problem
betahxy 55f6b40
update env deps script
betahxy dc6955f
remove interp section definition in comp.ld
betahxy f9b1d6e
fix booter switch into components
betahxy 3793443
fix simple pingpong sinv call
betahxy a3b9a4a
fix pingpong sinv call stubs
betahxy bfb0991
infrastructure for creating shared pgtbl node, cons
ldierksheide 4f69f5d
finish fixing pingpong tests
betahxy 4642559
revert back to use gwsystem ps repo
betahxy d2c1ef8
fix compiling warnings
betahxy 62b200b
fix run code within kvm
betahxy e0ac0e6
add some comments
betahxy 8a03f0a
fix -O3 optimization errors and some warnings
betahxy 90107bc
fix i386 port pingpong
betahxy 484da5c
fix pingpong test in x86_64 port
betahxy d59f58c
improve cos script
betahxy c0aba92
improve build scripts
betahxy cd4111c
fix i386 bug
betahxy f542dfd
remove unnecessary file
betahxy 3ac4f70
fix x86_64 compiling problems
betahxy 7e9aaea
improve init_env script
betahxy 54eaeaf
Merge branch 'gwsystems:loaderarm' into loaderarm
betahxy d2f6658
remove unnecessary files
betahxy c650c72
multi-core bootup support in cos script
betahxy 267e596
fix smp booting in loader.S
betahxy cfc219f
fix code format of loader.S
betahxy c1a9ea2
fix sched.toml tests bugs for x86_64
betahxy 7bd548c
fix issues according to PR's suggestions
betahxy 8575d0a
line up code
betahxy ce8bec3
fix some issues
betahxy eac791b
add __WORD_SIZE_64__ and __WORD_SIZE_32__
betahxy 5e68126
fix compiler warnings
betahxy 0342699
Merge branch 'loaderarm' into debug_user_level
betahxy 2b5fb5e
change captbl and pgtbl size to be 4 on both i386 and x86_64
betahxy a846806
small fix of run.sh
betahxy 7bb82bb
Merge branch 'loaderarm' into loader
betahxy 0b82acc
remove inb() and outb() in pci io.h
betahxy abfb202
loader arm fix
betahxy 1464ebe
fix arm sinv bug
betahxy 8a33d44
fix compiling error
betahxy 56b70ef
shmem ping pong helloworld
evanstella 80399be
memmgr shared alloc now returns mapped vaddr
evanstella 07f119e
shmem testing
evanstella 4c91114
shmem testing
evanstella 125656a
testing
evanstella d3fdf92
memmgr shmem r/w test
evanstella 634b06c
small changes to statisfy pr
evanstella 8108fb8
shm_bm allocator w/o alignment
evanstella a058902
typos
evanstella fff9c69
shm_bm_map updates shmem's refcnt
evanstella c81bb76
linux impl of obj_free
evanstella e7db5c2
shm_bm uses memmgr
evanstella 98e8115
small alloc bug fixes and unit tests
evanstella 2cdbcf7
minor fix
betahxy 917369a
fix a script minor bug
betahxy 6c87eb9
shmem metadata does not use a whole a page anymore b/c we cant make i…
evanstella 2214670
formatting and minor test case changes
evanstella 4726dbe
change to unallocated object check in obj_use
evanstella 5863aa5
shm dependencies
evanstella 92f93f7
removed modulo calculation
evanstella ef10776
aligned memory allocation implemented
evanstella 92b4627
Merge branch 'evan/lib/shmem' into evan/patch/memmgr-alignment
evanstella d83d5f3
Merge pull request #1 from evanstella/evan/patch/memmgr-alignment
evanstella 517238e
small bug fix
evanstella d2b78dc
added faa implementation for byte sized values
evanstella ea34331
testing refcnts and small bug fix
evanstella 0725bed
typos
evanstella 094c3d6
tabs < spaces
evanstella 0b2b18c
added message passing benchmark
evanstella df502c1
Merge pull request #2 from evanstella/evan/lib/shmem
evanstella 5cdb45c
preliminary implementation of crt_ns ds/functions
ldierksheide fef8e47
compiles
ldierksheide be67d0d
identation
evanstella 785993f
moved interface comments to header file
evanstella 0fb6d82
minor performance tweaks
evanstella 2b15689
Merge branch 'loader' of github.com:evanstella/composite into loader
evanstella b9fcbab
name change and documentation
evanstella bf06b90
wenyuan: make dpdk using the build system of composite. Haven't fix t…
WenyuanShao bcf2c96
wenyuan: delete fix a file which is not useful
WenyuanShao 89fe11b
use private DPDK repo first
betahxy 426db81
make dpdk lib work
betahxy a120aee
ar dpdk libs to libdpdk
betahxy b873502
test simple dpdk function in llbooter
betahxy c1eaaf5
compiling DPDK with musl libc in composite
betahxy 50c23c0
compile DPDK witt musl in Composite automatically
betahxy 58c03df
namespace init, comp alloc working within NSs
ldierksheide 4556106
pr updates
evanstella fd1a381
renovated shm_bm_clz
evanstella d10e270
power of 2 allocator
evanstella b261080
fix present bit not correctly set in page directory entry
betahxy f0b6eef
pr fixes
evanstella b9fbab5
Merge branch 'loader' into dpdk-dev
betahxy 70917bd
add posix lib into llbooter
betahxy 69c80b1
fix kernel_test sinv syscall path bug
betahxy 820a117
Merge branch 'loader' into dpdk-dev
betahxy 071882a
make tls set fs register correctly in x86_64
betahxy 838e0f3
improve dpdk Makefile
betahxy ae1c995
init tls space when init libc
betahxy db07f17
merge upstream and resolve conflicts
betahxy bd08938
Merge remote-tracking branch 'upstream/main'
betahxy e7abc9a
display progress when updating submodule
betahxy f589338
update doc
betahxy ab508f0
update doc
betahxy 31565ac
Merge branch 'main' into dpdk-dev
betahxy 7781ed7
Cons into shared pgtbl works simple test
ldierksheide 67e6a40
compile DPDK drivers and change linker script
betahxy d07d0cd
add DPDK_COMPOSITE macro to DPDK lib
betahxy 2e571ff
make rte_eal_init to begin rte_bus_scan
betahxy 19367ba
add cos print in lib musl
betahxy 7915954
more complex test for allocing comps, hardcoded in booter
ldierksheide d9ce4e0
bug fixes
evanstella 061ead9
benchmarking regular sync inv
evanstella bc273ab
Merge branch 'lib/shmem' into main
evanstella 9699632
Merge pull request #4 from evanstella/main
evanstella 08bf7e4
documentation for shm_bm
evanstella c125b83
size_t -> ulong
evanstella f8e6163
fix multiple cores booting bugs
betahxy 8260612
automatically update BOOT_CAPTBL_FREE in rust code
betahxy 00af50d
add simple multi processor test
betahxy 82ff4f7
Merge remote-tracking branch 'origin/main' into dpdk-dev
betahxy 7956866
remove warnings
betahxy 4f113db
Merge pull request #441 from betahxy/main
gparmer ee69de4
static bm started
evanstella 31d7152
bug hunting
evanstella a7aff12
working ping/pong test with function pointer
ldierksheide 409ddc5
it was a dword to word conversion problem lol
evanstella 4b6f883
added an assert in bench to make sure its actually working
evanstella d412b27
merged in main
evanstella 0d908d3
Merge branch 'lib/shmem' of github.com:evanstella/composite into lib/…
evanstella 1bc6c0b
getting x64 running
evanstella 686946e
updated submodules
evanstella e33593f
add cos_dpdk_adapter
betahxy b974cbd
server-client implementation
evanstella 65c24b4
Merge branch 'lib/shmem' of github.com:evanstella/composite into lib/…
evanstella 27d51a8
create new comp cap within compinfo for shared VAS
ldierksheide 8131899
full client-server implementation
evanstella b901e2f
some leftover i386 files
evanstella 7ae482d
some leftover i386 files
evanstella d234afd
broken thread stuff
ldierksheide 8e35814
update ps
evanstella 3a7b755
Merge branch 'feature/pku' of github.com:evanstella/composite into li…
evanstella c22119e
fix weird bug with threads
ldierksheide a1369d1
added flags parameter to pt cpy op
evanstella b2ed814
make RO portion of component ELF actually RO
evanstella c014d15
shared thread creation
ldierksheide 6333ae2
name change for flags param
evanstella 7ac0ab7
Merge pull request #444 from evanstella/patch/pgtbl-mapping-add-flags
gparmer a41b954
Merge branch 'main' of https://github.com/gwsystems/composite into li…
evanstella 762128e
simpler interface and pr comments
evanstella 5234db3
removed misc i386 files
evanstella 90409f5
typo in header guard
evanstella 5a0b323
Merge pull request #443 from evanstella/lib/shmem
gparmer a96fa22
make eal init work and probe e1000 pmd
betahxy 2840caa
alias all allocations on VAS split, still buggy
ldierksheide 4c5fbac
alias working test
ldierksheide 86c5287
enable receiving packets
betahxy 274fd6a
attempt merge to 64 bit
ldierksheide ab19128
fix compiling problem of x86_64
betahxy 889601e
use a larger stack size in user level
betahxy 634fca7
Qemu e1000 NIC rx/tx simple test OK
betahxy 96da460
compiles and runs for 64 bit!
ldierksheide 74107e5
cleanup
ldierksheide 26a6caf
cleanup pt 2
ldierksheide 933b099
alias aliased components on split
ldierksheide 74aafde
enable libc_init and override defautl __init_tls
betahxy fe6b266
cleanup, move pingpong vas test to unit_pingshvas
ldierksheide a880063
cleanup, remove pingpong2
ldierksheide a8862e4
enable r/w fs gs base register
betahxy 7ce8a24
add crt_comp_create_in_vas func
ldierksheide 04e2072
pong update
ldierksheide 643bf08
move vas pong functions to own interface pongshvas
ldierksheide d85c8a6
remove compiling warnings and improve the dpdk build makefile
betahxy a2a5275
support log level in dpdk
betahxy 28872b1
improve the dpdk build system
betahxy 3ffb469
cleanup, small bug fixes from PR review
ldierksheide 2c765c3
remove autogenerated musl files
ldierksheide dfcfeaf
cleanup autogenerated musl file
ldierksheide edfbf85
copy of booter for namespace API usage
ldierksheide f3220f8
Merge branch 'shared_pgtbl' of github.com:ldierksheide/composite into…
ldierksheide f37312d
add simple version of cos dpdk api
betahxy cb62e24
fix rx bug
betahxy dd5e8a5
change DPDK's Composite specific macro
betahxy ebbee4f
provide get cpu freq interface in dpdk adapter
betahxy c00b39f
remove compiling warnings
betahxy 786d668
remove mmap2 and improve dpdk makefile
betahxy 1fad07a
fix the makefile build system
betahxy 31a494c
fix the makefile build system
betahxy c3f0732
move sinv_create_shared into regular sinve_create
ldierksheide d3e8fee
switch to bits for name state
ldierksheide 0471684
initializing ns state bug fix
ldierksheide 970d598
cleanup bitmap check
ldierksheide 8768620
add dpdk component
betahxy 84c453c
Merge branch 'dpdk-dev'
betahxy fbb6c9c
remove test code
betahxy 52c065c
Merge pull request #447 from ldierksheide/shared_pgtbl
gparmer 94d574e
Adding Composer support for address spaces.
gparmer 4c73aa0
address space parsing tweaks
gparmer 6340d95
AS Composer support: debugged and properly checking the 6 invariants
gparmer 6e05952
fix bug in crt_ns_vas_shared to check for null vas
ldierksheide 064d6ac
style fix
ldierksheide 5bc2a1c
Merge pull request #450 from ldierksheide/shared_pgtbl
gparmer e9227a2
Merge branch 'main' of github.com:gparmer/composite.local into main
gparmer 336057e
Merge branch 'main' into composer_vas
gparmer 56cbc7e
add set tls sinv call
betahxy 7f10ea9
tls bug fix
betahxy 53d4f92
minor fixes according to PR feedback
betahxy f7fb0f0
fix minor bugs
betahxy 2fa624a
update dpdk submodule
betahxy 1452049
minor fixes
betahxy 7e3b615
add get_virt_to_phys_addr through memmgr
betahxy 0940bfa
reserve 256MB memory to memmgr
betahxy 5589508
add memmgr_map_phys_to_virt to memmgr interface
betahxy 1713e27
minor bug fixes
betahxy be7d3dc
minor fixes
betahxy e768f15
clean lib posix
betahxy f5bfcfc
add nic interface
betahxy 9535cf3
Merge remote-tracking branch 'upstream/main'
betahxy db23356
change dpdk url to GW's repo
betahxy e357580
update dpdk submodule
betahxy 5b8fa8e
add init_env dependencies
betahxy 8b67159
minor fix
betahxy cc8e98c
keep posix legacy as its original content
betahxy 8c34fa5
add lwip submodule
betahxy ba66857
add lwip submodule
betahxy e307303
Merge branch 'main' of github.com:betahxy/composite
betahxy 0950f94
add lwip submodule and successfully compile it
betahxy 0868465
enable avx feature
betahxy f1c74a1
test lwip within nic component
betahxy 8bd5569
enable lwip debug message
betahxy 187b371
Step 1 & 2 in adding address space support to the composer: parsing a…
gparmer ff5cd1c
Add the pass structures to access ordered address spaces for initiali…
gparmer 3ef7a71
Steps:
gparmer 8d11d13
Steps:
gparmer fe7001a
Synthesize the composer's `initargs` based on the address space speci…
gparmer 7915890
WARNING: does not build. Transient commit
gparmer 052b284
WARNING: does not build. Transient commit
gparmer 92585ca
add DPDK bench test and some minor changes
betahxy c1fb10c
change lwip submodule url to gwsystem
betahxy e68d887
minor fix
betahxy 8a77c31
Updated booter to use the VAS specification.
gparmer d2b231b
Fixed last bug, ready to go forward!
gparmer ca2f9f2
fix format
betahxy 22d5f9a
minor fixes
betahxy b42e20c
Merge pull request #451 from betahxy/main
gparmer 2f68b0a
Merge branch 'main' of github.com:gparmer/composite.local into main
gparmer 6748528
Comment update
gparmer b94fe2c
Merge branch 'main' into composer_vas
gparmer 0da657c
Merge pull request #453 from gparmer/composer_vas
gparmer 7182995
Merge conflict resolution: removing symbol issues in the sl-based sch…
gparmer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Required variables used to drive the compilation process. It is OK | ||
# for many of these to be empty. | ||
# | ||
# The set of interfaces that this component exports for use by other | ||
# components. This is a list of the interface names. | ||
INTERFACE_EXPORTS = | ||
# The interfaces this component is dependent on for compilation (this | ||
# is a list of directory names in interface/) | ||
INTERFACE_DEPENDENCIES = | ||
# The library dependencies this component is reliant on for | ||
# compilation/linking (this is a list of directory names in lib/) | ||
LIBRARY_DEPENDENCIES = component slm util crt | ||
# Note: Both the interface and library dependencies should be | ||
# *minimal*. That is to say that removing a dependency should cause | ||
# the build to fail. The build system does not validate this | ||
# minimality; that's on you! | ||
|
||
include Makefile.subsubdir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
## tests | ||
|
||
This is the skeleton interface used by the `mkcomponent.sh` script to aid in the creation of a new component. | ||
It provides no functionality, and should never be depended on! | ||
This documentation should be *replaced* in the documentation for a new component. | ||
|
||
### Description | ||
|
||
### Usage and Assumptions |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: add documentation here.