[kernel] remove critical_section, move everything to spinlocks

This commit is contained in:
Travis Geiselbrecht
2014-05-10 21:35:49 -07:00
parent bf1d680063
commit 8fb2c54304
18 changed files with 194 additions and 173 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013 Travis Geiselbrecht
* Copyright (c) 2013-2014 Travis Geiselbrecht
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files
@@ -67,8 +67,6 @@ static void call_constructors(void)
void lk_main(ulong arg0, ulong arg1, ulong arg2, ulong arg3) __NO_RETURN __EXTERNALLY_VISIBLE;
void lk_main(ulong arg0, ulong arg1, ulong arg2, ulong arg3)
{
inc_critical_section();
// save the boot args
lk_boot_args[0] = arg0;
lk_boot_args[1] = arg1;